Peach: Local-first video metadata scraper and media manager.
feat(web): 搜索推荐每组各有「换一批」,在取到的池里翻页
longmeidao2b0cf4f0eb3b
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 103d2065d..e84e85840 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -29,7 +29,7 @@ Removed / Fixed / Security。- **界面**:任务中心的资源读数为 0 时显示「GPU 未使用」「网络 未使用」等,不再写 0% 或 0 B/s;从网盘挂载读文件的任务显示「网络 网盘读取」。播放文件头修复的任务卡列出正在修复的视频,点文件名可打开作品详情,写法与数据管理问题清单的视频名一致。- **界面**:任务卡标题前按任务类别加图标(关注、馆藏、资料、图片、人物、视频修复、链接、云下载、口味、维护);「问题详情」「错误详情」与「任务明细」「技术详情」一样排在卡片底部。- **界面**:后续任务改用「对象 + 动作」的名字,如「取新作资料」改为「新作资料采集」、「补全女优资料」改为「女优资料补全」、「查创作者身份」改为「创作者身份查找」。-- **界面**:空搜索框的推荐在页面空闲时提前取好,点开就是整栏;还没取到的组先按最终版式占位,取到一组填一组,不再先显示一整屏搜索记录、过几秒再换版式;搜索记录排在左栏最下面。下拉栏开着时不再当场换一批封面,新的一批留到下次打开。女优一行写「最新作 番号 · 发行日」,关注作者写「最新更新于 日期」;右栏作品格的署名前加了头像。「作品推荐」标题旁加了「换一批」图标,点一下整栏换一批,备好的那批当场换上。+- **界面**:空搜索框的推荐在页面空闲时提前取好,点开就是整栏;还没取到的组先按最终版式占位,取到一组填一组,不再先显示一整屏搜索记录、过几秒再换版式;搜索记录排在左栏最下面。下拉栏开着时不再当场换一批封面,新的一批留到下次打开。女优一行写「最新作 番号 · 发行日」,关注作者写「最新更新于 日期」;右栏作品格的署名前加了头像。每一组标题旁都有自己的「换一批」图标,只换这一组、当场换上;JAV 推荐和订阅新作也换得出不同的作品。- **界面**:搜索框空着且没点进去时,占位里的推荐词每隔几秒换一句,旧词往上淡出、新词从下方浮上;点进搜索框、打字或用输入法组字时停下。- **界面**:搜索结果页的大标题写搜索词,不再是「首页」。diff --git a/frontend/src/react/search/recommendations.ts b/frontend/src/react/search/recommendations.tsindex 21ed2b5ee..79a602ef6 100644--- a/frontend/src/react/search/recommendations.ts+++ b/frontend/src/react/search/recommendations.ts@@ -10,17 +10,24 @@ import type { SuggestCard, SuggestGroup, SuggestItem } from './search';type Request = (url: string) => Promise<any>;type Latest = { id: number; code: string; release_date: string };-/** 推荐栏的分组与次序固定:还没取到的那组照样占着位置(`pending`),取到一组填一组,栏不改版式。 */+/** 推荐栏的分组与次序固定:还没取到的那组照样占着位置(`pending`),取到一组填一组,栏不改版式。+ * `size` 是一页摆几条:人三行、作品一排五格。 */const GROUPS = [- { kind: 'performer', label: '艺人与新作', href: '/subscriptions?tab=add', action: '订阅新作' },- { kind: 'author', label: '关注作者', href: '/subscriptions?tab=add', action: '添加关注' },- { kind: 'asset', label: '作品推荐', href: '/', action: '全部作品' },- { kind: 'jav', label: 'JAV 推荐', href: '/jav?tab=discover', action: '发现 JAV' },- { kind: 'post', label: '关注作品', href: '/follow', action: '全部关注作品' },- { kind: 'photo', label: '关注图片', href: '/follow?media=images', action: '全部关注图片' },- { kind: 'release', label: '订阅新作', href: '/subscriptions', action: '管理订阅' },+ { kind: 'performer', label: '艺人与新作', href: '/subscriptions?tab=add', action: '订阅新作', size: 3 },+ { kind: 'author', label: '关注作者', href: '/subscriptions?tab=add', action: '添加关注', size: 3 },+ { kind: 'asset', label: '作品推荐', href: '/', action: '全部作品', size: 5 },+ { kind: 'jav', label: 'JAV 推荐', href: '/jav?tab=discover', action: '发现 JAV', size: 5 },+ { kind: 'post', label: '关注作品', href: '/follow', action: '全部关注作品', size: 5 },+ { kind: 'photo', label: '关注图片', href: '/follow?media=images', action: '全部关注图片', size: 5 },+ { kind: 'release', label: '订阅新作', href: '/subscriptions', action: '管理订阅', size: 5 },] as const;+/* 每组一次多取一池,「换一批」在池里翻页,不再发请求。JAV 推荐按口味分排、订阅新作按发行日排,+ 同一个请求每次回同样的几部:只取一页的话这两组换不出东西。多取到二十条,耗时与取五条相当。 */+const POOL = 20;+/** 作者名册有缓存,多取几位不加成本;头一页是条目最多的三位。 */+const AUTHOR_POOL = 24;+/** 一组都还没取到时的推荐栏:版式与取齐之后相同。 */export function pendingRecommendations(): SuggestGroup[] {return GROUPS.map(group => ({ ...group, items: [], pending: true }));@@ -37,8 +44,10 @@ const byline = (names: string[], total = names.length) => total > 1 ? `${names[0export async function searchRecommendations(request: Request,update?: (groups: SuggestGroup[]) => void): Promise<SuggestGroup[]> {const filled = new Map<string, SuggestItem[]>();- const build = (): SuggestGroup[] => GROUPS.map(group => filled.has(group.kind)- ? { ...group, items: filled.get(group.kind)! } : { ...group, items: [], pending: true });+ const build = (): SuggestGroup[] => GROUPS.map(group => {+ const pool = filled.get(group.kind);+ return pool ? { ...group, items: pool.slice(0, group.size), pool, offset: 0 } : { ...group, items: [], pending: true };+ });const fill = (groups: Record<string, SuggestItem[]>) => {for (const [kind, items] of Object.entries(groups)) filled.set(kind, items);update?.(build());@@ -65,11 +74,11 @@ export async function searchRecommendations(request: Request,};await Promise.all([- settle('/api/items?sort=rand&limit=5').then(data => fill({- asset: ((data?.items || []) as SuggestCard[]).slice(0, 5).map(library),+ settle(`/api/items?sort=rand&limit=${POOL}`).then(data => fill({+ asset: ((data?.items || []) as SuggestCard[]).map(library),})),- settle('/api/jav/discoveries?scope=library&limit=5').then(async data => {- const jav: Discovery[] = (data?.items || []).slice(0, 5);+ settle(`/api/jav/discoveries?scope=library&limit=${POOL}`).then(async data => {+ const jav: Discovery[] = data?.items || [];fill({ jav: jav.map(card => discovered(card, `/assets/${card.asset_id || card.id}`)) });const people = new Map<string, SuggestItem>();for (const card of jav) {@@ -82,7 +91,7 @@ export async function searchRecommendations(request: Request,});}}- const picked = [...people.values()].slice(0, 3);+ const picked = [...people.values()].slice(0, POOL);const latest: Record<string, Latest> = picked.length? (await settle(`/api/entity/latest?ids=${picked.map(item => item.entity_id).join(',')}`))?.items || {} : {};fill({ performer: picked.map(item => {@@ -109,14 +118,14 @@ export async function searchRecommendations(request: Request,});}}- fill({ post: posts.slice(0, 5), photo: photos.slice(0, 5) });+ fill({ post: posts, photo: photos });}),- settle('/api/feeds/discoveries?limit=5').then(data => fill({+ settle(`/api/feeds/discoveries?limit=${POOL}`).then(data => fill({release: ((data?.items || []) as Discovery[]).filter(card => card.code).map(card => discovered({ ...card, sourceWork: true } as Discovery, `/works/${encodeURIComponent(card.code)}`)),})),// 头像与更新时间都用名册那一行自己的:头像官方优先、归档兜底,同艺人页「在线」那一档。- settle('/api/follow/authors?limit=3').then(data => fill({+ settle(`/api/follow/authors?limit=${AUTHOR_POOL}`).then(data => fill({author: ((data?.items || []) as OnlineAuthor[]).map(row => ({value: row.k, href: row.entity_id ? `/creators/${row.entity_id}` : `/follow?author=${encodeURIComponent(row.key)}`,avatarHtml: onlineAuthorRingHtml(row),diff --git a/frontend/src/react/search/search-page.tsx b/frontend/src/react/search/search-page.tsxindex 523e8c2b3..4562cc775 100644--- a/frontend/src/react/search/search-page.tsx+++ b/frontend/src/react/search/search-page.tsx@@ -17,7 +17,7 @@ import { useEntityNames } from '../use-entity-names';import { TabCount } from '../components/board-tabs';import { PillTabList } from '../components/pill-tabs';import {- menuModel, shufflePicks, SUGGEST_DEBOUNCE, SUGGEST_EACH, SUGGEST_ONE_KIND, SUGGEST_PROFILE_KINDS, SUGGEST_RIGHT_KINDS, fold,+ menuModel, nextPage, shufflePicks, SUGGEST_DEBOUNCE, SUGGEST_EACH, SUGGEST_ONE_KIND, SUGGEST_PROFILE_KINDS, SUGGEST_RIGHT_KINDS, fold,type MenuModel, type MenuSection, type SearchApi, type SearchOption, type SearchProps, type SuggestCard,type SuggestGroup, type SuggestItem, type SuggestResponse, type SuggestTab,} from './search';@@ -37,10 +37,8 @@ interface Store {recommendationRequest: number;/** 排在空闲时的那次推荐预取;卸载时撤掉。 */cancelIdle: () => void;- /** 点了「换一批」、手上没有备好的那份:这一次取到就换上。 */- reshuffling: boolean;- /** 「换一批」那枚图标的描线至少走完一圈,到这一刻为止。 */- shuffleUntil: number;+ /** 每组「换一批」那枚图标的描线走到这一刻为止,按组记。 */+ shuffled: Record<string, number>;/** 正在换的那句占位字;开始打字就收掉。 */cancelRoll: () => void;/** 画的那一刻输入框里的词与洗好的推荐。 */@@ -62,7 +60,7 @@ interface Store {}const emptyStore = (): Store => ({- dismissed: false, history: [], pool: [], poolRequest: 0, recommendations: [], nextRecommendations: null, recommendationsFilling: false, recommendationLoading: false, recommendationRequest: 0, cancelIdle: () => {}, reshuffling: false, shuffleUntil: 0, cancelRoll: () => {}, query: '', picks: [], suggestFor: '', groups: [], tabs: [],+ dismissed: false, history: [], pool: [], poolRequest: 0, recommendations: [], nextRecommendations: null, recommendationsFilling: false, recommendationLoading: false, recommendationRequest: 0, cancelIdle: () => {}, shuffled: {}, cancelRoll: () => {}, query: '', picks: [], suggestFor: '', groups: [], tabs: [],suggestRequest: 0, asked: '', timer: 0, kind: '', active: -1, reveal: false, rewind: false,});@@ -162,14 +160,15 @@ export function SearchPage(props: SearchProps) {event.preventDefault(); op.openPath(group.href!);}}>{group.action || '查看全部'}</a>) : null;- // 「换一批」只是一枚图标:等新的一批时、以及每点一次,图标的两股线各描一圈(首页换批键那一副)。- const shuffling = s.reshuffling || Date.now() < s.shuffleUntil;+ // 「换一批」只是一枚图标:每点一次,图标的两股线各描一圈(首页换批键那一副)。+ const shuffling = (kind = '') => Date.now() < (s.shuffled[kind] ?? 0);const section = (group: MenuSection) => (<section key={group.kind ?? group.label} data-search-group="" data-kind={group.kind}><h3>{group.label}{group.shuffle ? (<span data-search-head="">- <button type="button" data-search-shuffle="" aria-label="换一批" title="换一批"- aria-busy={shuffling || undefined} onMouseDown={keep} onClick={op.reshuffle}><Sprite name="shuffle" /></button>+ <button type="button" data-search-shuffle="" aria-label={`${group.label}换一批`} title="换一批"+ aria-busy={shuffling(group.kind) || undefined} onMouseDown={keep}+ onClick={() => op.reshuffle(group.kind!)}><Sprite name="shuffle" /></button>{link(group)}</span>) : link(group)}</h3>@@ -290,25 +289,16 @@ function createOps(props: () => SearchProps, s: Store, menu: () => HTMLElement |const request = s.recommendationRequest;const take = (groups: SuggestGroup[], done: boolean) => {if (request !== s.recommendationRequest) return;- if (done && s.reshuffling) {- s.reshuffling = false;- s.recommendations = groups;- if (focused() && !input().value.trim()) paint();- else bump();- prefetch();- return;- }if (!s.recommendationsFilling) {if (done) { s.nextRecommendations = groups; preloadImages(groups, props().helpers) }return;}s.recommendations = groups;- if (done) s.recommendationsFilling = false;+ if (done) { s.recommendationsFilling = false; preloadImages(groups.map(nextPage), props().helpers) }if (focused() && !input().value.trim()) paint();};void helpers.recommendations(groups => take(groups, false)).then(groups => take(groups, true), () => {- if (request === s.recommendationRequest && s.reshuffling) { s.reshuffling = false; bump() }// 推荐读取失败仍可搜索:占位收掉,退回搜索记录与推荐词。if (request !== s.recommendationRequest || !s.recommendationsFilling) return;s.recommendations = [];@@ -325,13 +315,14 @@ function createOps(props: () => SearchProps, s: Store, menu: () => HTMLElement |if (s.nextRecommendations) {s.recommendations = s.nextRecommendations;s.nextRecommendations = null;+ preloadImages(s.recommendations.map(nextPage), helpers);}if (s.recommendations.length) return;s.recommendations = helpers.pendingRecommendations?.() ?? [];s.recommendationsFilling = true;loadRecommendations();};- /** 空闲时备好下一份:下次打开或点「换一批」直接换上。收起往往紧跟着打开详情,不跟它抢请求。 */+ /** 空闲时备好下一份:下次打开直接换上。收起往往紧跟着打开详情,不跟它抢请求。 */const prefetch = () => {s.cancelIdle();s.cancelIdle = whenIdle(() => { if (!s.nextRecommendations) loadRecommendations() });@@ -344,20 +335,14 @@ function createOps(props: () => SearchProps, s: Store, menu: () => HTMLElement |if (!s.pool.length) void loadPool();});};- /** 「换一批」:备好了就当场换,没备好就等这次取到再换,栏里先留着旧的这批。 */- const reshuffle = () => {- s.shuffleUntil = Date.now() + SHUFFLE_SPIN;+ /** 一组「换一批」:在这一组取到的池里翻下一页,当场换,不发请求;再下一页的图顺手先拉进缓存。 */+ const reshuffle = (kind: string) => {+ s.recommendations = s.recommendations.map(group => group.kind === kind ? nextPage(group) : group);+ s.shuffled = { ...s.shuffled, [kind]: Date.now() + SHUFFLE_SPIN };window.setTimeout(bump, SHUFFLE_SPIN);- if (s.nextRecommendations) {- s.recommendations = s.nextRecommendations;- s.nextRecommendations = null;- paint();- prefetch();- return;- }- s.reshuffling = true;+ const shown = s.recommendations.find(group => group.kind === kind);+ if (shown) preloadImages([nextPage(shown)], props().helpers);bump();- loadRecommendations();};/* 分组顺序和每组的名字都由 `/api/suggest` 给出,这里照抄。慢的旧响应不许盖掉新的:连敲两个字时先发的那次完全可能后回来。 */diff --git a/frontend/src/react/search/search.ts b/frontend/src/react/search/search.tsindex e25a0f6ea..1cca831ba 100644--- a/frontend/src/react/search/search.ts+++ b/frontend/src/react/search/search.ts@@ -48,6 +48,10 @@ export interface SuggestGroup {action?: string;/** 推荐栏里这一组还没取到:照最终版式先占位。 */pending?: boolean;+ /** 推荐栏一组取到的整池;`items` 是从 `offset` 起的一页,一页 `size` 条。「换一批」在池里翻页。 */+ pool?: SuggestItem[];+ offset?: number;+ size?: number;}export interface SuggestTab {@@ -120,6 +124,15 @@ export const SUGGEST_ONE_KIND = 20;export const SUGGEST_PROFILE_KINDS = new Set(['performer', 'creator', 'studio', 'agency', 'series']);/** 下拉栏按宽度分两栏:左栏是身份和词,右栏是作品封面格。 */export const SUGGEST_RIGHT_KINDS = new Set(['asset', 'jav', 'post', 'photo', 'release']);+/** 推荐栏一组翻到下一页;翻到头接着从池首取,一页总是摆满。 */+export function nextPage(group: SuggestGroup): SuggestGroup {+ const pool = group.pool ?? [];+ const size = Math.min(group.size ?? group.items.length, pool.length);+ if (pool.length <= size) return group;+ const offset = ((group.offset ?? 0) + size) % pool.length;+ return { ...group, offset, items: Array.from({ length: size }, (_, index) => pool[(offset + index) % pool.length]!) };+}+/** 推荐栏人物那几组取到之前占几行。 */export const PENDING_PEOPLE = 3;/** 空输入时推荐几条。 */@@ -188,17 +201,17 @@ export function menuModel({ query, history, picks, suggestFor, groups, tabs, kinif (!query) {if (recommendations.length) {// 还没取到的那组按最终条数占位:人三行、作品一排五格,取到时原地填上,栏不跳。- const section = ({ pending, ...group }: SuggestGroup): MenuSection => ({ ...group,+ // 池里比一页多才有「换一批」:翻不出别的就不摆这枚图标。+ const section = ({ pending, pool, offset: _offset, size: _size, ...group }: SuggestGroup): MenuSection => ({ ...group,options: group.items.map(item => add({ type: 'suggest', value: item.value, kind: group.kind, item })),pending: pending ? (SUGGEST_RIGHT_KINDS.has(group.kind) ? SUGGEST_EACH : PENDING_PEOPLE) : undefined,+ shuffle: (pool?.length ?? 0) > group.items.length || undefined,});// 搜索记录排在左栏最下面:它比推荐晚到,排在末尾到了也不把上面的往下推。键盘上下按画出来的// 次序走,左栏走完再到右栏,所以编号也按这个次序给。const left = recommendations.filter(group => !SUGGEST_RIGHT_KINDS.has(group.kind)).map(section);if (matching.length) left.push({ label: '搜索记录', options: matching.map(value => add({ type: 'history', value })) });const right = recommendations.filter(group => SUGGEST_RIGHT_KINDS.has(group.kind)).map(section);- // 「换一批」换的是整栏,挂在右栏第一组的标题上,和「全部作品」并排。- if (right[0]) right[0] = { ...right[0], shuffle: true };return { tabs: null, recent: null, left, right, empty: false, options };}const recent = matching.length ? { label: '搜索记录', options: matching.map((value) => add({ type: 'history', value })) } : null;diff --git a/frontend/test/react/search-recommendations.test.ts b/frontend/test/react/search-recommendations.test.tsindex 3d376f959..9a94c3393 100644--- a/frontend/test/react/search-recommendations.test.ts+++ b/frontend/test/react/search-recommendations.test.ts@@ -40,6 +40,10 @@ describe('搜索图片推荐', () => {expect(entry('performer').entity_id).toBe(15);expect(entry('performer').subtitle).toBe('最新作 ABW-099 · 2025-02-01');expect(request).toHaveBeenCalledWith('/api/entity/latest?ids=15');+ // 每组多取一池,「换一批」在池里翻页;作者名册的池更大,头一页是条目最多的几位。+ expect(request).toHaveBeenCalledWith('/api/jav/discoveries?scope=library&limit=20');+ expect(request).toHaveBeenCalledWith('/api/follow/authors?limit=24');+ expect(groups.find(group => group.kind === 'jav')).toMatchObject({ offset: 0, size: 5 });expect(entry('jav').who).toBe('女优');expect(entry('post').whoAvatarHtml).toContain('/avatar-fixture');expect(request.mock.calls.every(([url]) => !url.includes('scope=external'))).toBe(true);diff --git a/frontend/test/react/search.test.tsx b/frontend/test/react/search.test.tsxindex 597ab33d2..122d80e34 100644--- a/frontend/test/react/search.test.tsx+++ b/frontend/test/react/search.test.tsx@@ -222,41 +222,28 @@ describe('输入框上的时序', () => {expect(s.input.placeholder).toBe(typed);});- it('「换一批」有备好的就当场换,没备好就留着旧的等新的一批', async () => {- const answers = [pending<SuggestGroup[]>(), pending<SuggestGroup[]>(), pending<SuggestGroup[]>()];- const idle: (() => void)[] = [];- vi.stubGlobal('requestIdleCallback', (task: () => void) => idle.push(task));- vi.stubGlobal('cancelIdleCallback', (id: number) => { idle[id - 1] = () => {} });- onTestFinished(() => { vi.unstubAllGlobals() });- const flushIdle = () => act(async () => { idle.splice(0).forEach(task => task()) });+ it('每组「换一批」在自己取到的池里翻页:当场换、不发请求,翻到头接着从池首取', async () => {let asked = 0;- const batch = (value: string): SuggestGroup[] => [{ kind: 'asset', label: '作品推荐', items: [{ value, id: 11 }] }];- const s = await stage({ recommendations: () => answers[asked++]!.answer,- pendingRecommendations: () => [{ kind: 'asset', label: '作品推荐', items: [], pending: true }] });- const shown = () => [...s.menu.querySelectorAll('[data-search-option="work"]:not([data-search-placeholder])')]- .map(row => row.textContent);- const shuffle = () => s.menu.querySelector<HTMLButtonElement>('[data-search-shuffle]')!;+ const pool = Array.from({ length: 7 }, (_, index) => ({ value: `作品${index + 1}`, id: index + 1 }));+ const people = [{ value: '七海ひな' }];+ const s = await stage({ recommendations: async () => { asked++; return [+ { kind: 'performer', label: '艺人与新作', items: people, pool: people, offset: 0, size: 3 },+ { kind: 'asset', label: '作品推荐', items: pool.slice(0, 5), pool, offset: 0, size: 5 },+ ] } });+ const shown = () => [...s.menu.querySelectorAll('[data-kind="asset"] [data-search-option="work"]')].map(row => row.textContent);await act(async () => s.input.focus());- await answers[0]!.release(batch('作品一'));await settle();- expect(shuffle().getAttribute('aria-label')).toBe('换一批');-- await act(async () => shuffle().click());- expect(asked).toBe(2);- expect(shown()).toEqual(['作品一']);- expect(shuffle().getAttribute('aria-busy')).toBe('true');- await answers[1]!.release(batch('作品二'));- await settle();- expect(shown()).toEqual(['作品二']);-- // 换上之后空闲时备好下一批,再点就不用等。- await flushIdle();- expect(asked).toBe(3);- await answers[2]!.release(batch('作品三'));- await settle();- expect(shown()).toEqual(['作品二']);- await act(async () => shuffle().click());- expect(shown()).toEqual(['作品三']);+ expect(shown()).toEqual(['作品1', '作品2', '作品3', '作品4', '作品5']);+ // 池里只有一页的那组不摆这枚图标。+ expect(s.menu.querySelector('[data-kind="performer"] [data-search-shuffle]')).toBeNull();+ const shuffle = s.menu.querySelector<HTMLButtonElement>('[data-kind="asset"] [data-search-shuffle]')!;+ expect(shuffle.getAttribute('aria-label')).toBe('作品推荐换一批');+ await act(async () => shuffle.click());+ expect(shown()).toEqual(['作品6', '作品7', '作品1', '作品2', '作品3']);+ expect(shuffle.getAttribute('aria-busy')).toBe('true');+ await act(async () => shuffle.click());+ expect(shown()).toEqual(['作品4', '作品5', '作品6', '作品7', '作品1']);+ expect(asked).toBe(1);expect(s.menu.hidden).toBe(false);});diff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex 0a72bfcb4..a81abc729 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] = "eaaa8f3a-679e-41e3-af44-284c54e8a4f8", e._sentryDebugIdIdentifier = "sentry-dbid-eaaa8f3a-679e-41e3-af44-284c54e8a4f8");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3efe6716-d805-40c3-8afe-1e3c6db3f4f4", e._sentryDebugIdIdentifier = "sentry-dbid-3efe6716-d805-40c3-8afe-1e3c6db3f4f4");} 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 pe = Array.isArray, me = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, he = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ge = {+ var pe = Array.isArray, me = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, L = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, he = {pending: !1,data: null,method: null,action: null- }, _e = [], ve = -1;- function ye(e) {+ }, ge = [], _e = -1;+ function ve(e) {return { current: e };}- function be(e) {- 0 > ve || (e.current = _e[ve], _e[ve] = null, ve--);+ function ye(e) {+ 0 > _e || (e.current = ge[_e], ge[_e] = null, _e--);}- function xe(e, t) {- ve++, _e[ve] = e.current, e.current = t;+ function be(e, t) {+ _e++, ge[_e] = 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 xe = ve(null), Se = ve(null), Ce = ve(null), we = ve(null);+ function Te(e, t) {+ switch (be(Ce, t), be(Se, e), be(xe, null), t.nodeType) {case 9:case 11:- e = (e = t.documentElement) && (e = e.namespaceURI) ? bp(e) : 0;+ e = (e = t.documentElement) && (e = e.namespaceURI) ? yp(e) : 0;break;- default: if (e = t.tagName, t = t.namespaceURI) t = bp(t), e = xp(t, e);+ default: if (e = t.tagName, t = t.namespaceURI) t = yp(t), e = bp(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);+ ye(xe), be(xe, e);}- function De() {- be(Se), be(Ce), be(we);+ function Ee() {+ ye(xe), ye(Se), ye(Ce);}- function Oe(e) {+ function De(e) {var t = e.memoizedState;- t !== null && (gh._currentValue = t.memoizedState, xe(Te, e)), t = Se.current;- var n = xp(t, e.type);- t !== n && (xe(Ce, e), xe(Se, n));+ t !== null && (gh._currentValue = t.memoizedState, be(we, e)), t = xe.current;+ var n = bp(t, e.type);+ t !== n && (be(Se, e), be(xe, n));}- function ke(e) {- Ce.current === e && (be(Se), be(Ce)), Te.current === e && (be(Te), gh._currentValue = ge);+ function Oe(e) {+ Se.current === e && (ye(xe), ye(Se)), we.current === e && (ye(we), gh._currentValue = he);}- var Ae, je;- function Me(e) {- if (Ae === void 0) try {+ var ke, Ae;+ function je(e) {+ if (ke === 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" : "";+ ke = t && t[1] || "", Ae = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";}- return "\n" + Ae + e + je;+ return "\n" + ke + e + Ae;}- var Ne = !1;- function Pe(e, t) {- if (!e || Ne) return "";- Ne = !0;+ var Me = !1;+ function Ne(e, t) {+ if (!e || Me) return "";+ Me = !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;+ Me = !1, Error.prepareStackTrace = n;}- return (n = e ? e.displayName || e.name : "") ? Me(n) : "";+ return (n = e ? e.displayName || e.name : "") ? je(n) : "";}- function Fe(e, t) {+ function Pe(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 je(e.type);+ case 16: return je("Lazy");+ case 13: return e.child !== t && t !== null ? je("Suspense Fallback") : je("Suspense");+ case 19: return je("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 Ne(e.type, !1);+ case 11: return Ne(e.type.render, !1);+ case 1: return Ne(e.type, !0);+ case 31: return je("Activity");+ case 30: return je("ViewTransition");default: return "";}}- function Ie(e) {+ function Fe(e) {try {var t = "", n = null;do- t += Fe(e, n), n = e, e = e.return;+ t += Pe(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 Ie = Object.prototype.hasOwnProperty, Le = t.unstable_scheduleCallback, Re = t.unstable_cancelCallback, ze = t.unstable_shouldYield, Be = t.unstable_requestPaint, Ve = t.unstable_now, He = t.unstable_getCurrentPriorityLevel, Ue = t.unstable_ImmediatePriority, We = t.unstable_UserBlockingPriority, Ge = t.unstable_NormalPriority, Ke = t.unstable_LowPriority, qe = t.unstable_IdlePriority, Je = t.log, Ye = t.unstable_setDisableYieldValue, Xe = null, Ze = null;+ function Qe(e) {+ if (typeof Je == "function" && Ye(e), Ze && typeof Ze.setStrictMode == "function") try {+ Ze.setStrictMode(Xe, 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 $e = Math.clz32 ? Math.clz32 : nt, et = Math.log, tt = Math.LN2;+ function nt(e) {+ return e >>>= 0, e === 0 ? 32 : 31 - (et(e) / tt | 0) | 0;}- var it = 256, at = 262144, ot = 4194304;- function st(e) {+ var rt = 256, it = 262144, at = 4194304;+ function ot(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 st(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 = ot(n))) : i = ot(o) : i = ot(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = ot(n))) : i = ot(o)) : i = ot(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 ct(e, t) {return (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0;}- function ut(e, t) {+ function lt(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 - $e(n), i = 1 << r;t |= e[r], n &= ~i;}return t;}- function dt(e, t) {+ function ut(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 dt() {+ var e = at;+ return at <<= 1, !(at & 62914560) && (at = 4194304), e;}- function pt(e) {+ function ft(e) {for (var t = [], n = 0; 31 > n; n++) t.push(e);return t;}- function mt(e, t) {+ function pt(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 mt(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 - $e(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 && ht(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));}- function gt(e, t, n) {+ function ht(e, t, n) {e.pendingLanes |= t, e.suspendedLanes &= ~t;- var r = 31 - et(t);+ var r = 31 - $e(t);e.entangledLanes |= t, e.entanglements[r] = e.entanglements[r] | 1073741824 | n & 261930;}- function _t(e, t) {+ function gt(e, t) {var n = e.entangledLanes |= t;for (e = e.entanglements; n;) {- var r = 31 - et(n), i = 1 << r;+ var r = 31 - $e(n), i = 1 << r;i & t | e[r] & t && (e[r] |= t), n &= ~i;}}- function vt(e, t) {+ function _t(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 : vt(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;}- function yt(e) {+ function vt(e) {switch (e) {case 2:e = 1;@@ -1424,32 +1424,32 @@ var k = /* @__PURE__ */ o(((e) => {}return e;}- function bt(e) {+ function yt(e) {return e &= -e, 2 < e ? 8 < e ? e & 134217727 ? 32 : 268435456 : 8 : 2;}- function xt() {- var e = he.p;+ function bt() {+ var e = L.p;return e === 0 ? (e = window.event, e === void 0 ? 32 : Mh(e.type)) : e;}- function St(e, t) {- var n = he.p;+ function xt(e, t) {+ var n = L.p;try {- return he.p = e, t();+ return L.p = e, t();} finally {- he.p = n;+ L.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 St = Math.random().toString(36).slice(2), Ct = "__reactFiber$" + St, wt = "__reactProps$" + St, Tt = "__reactContainer$" + St, Et = "__reactEvents$" + St, Dt = "__reactListeners$" + St, Ot = "__reactHandles$" + St, kt = "__reactResources$" + St, At = "__reactMarker$" + St, jt = "__reactLoad$" + St;+ function Mt(e) {+ delete e[Ct], delete e[wt], delete e[Dt], delete e[Ot];}- function Pt(e) {+ function Nt(e) {var t;- if (t = e[wt]) return t;+ if (t = e[Ct]) return t;for (var n = e.parentNode; n;) {- if (t = n[Et] || n[wt]) {+ if (t = n[Tt] || n[Ct]) {if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = xm(e); e !== null;) {- if (n = e[wt]) return n;+ if (n = e[Ct]) return n;e = xm(e);}return t;@@ -1458,49 +1458,49 @@ var k = /* @__PURE__ */ o(((e) => {}return null;}- function Ft(e) {- if (e = e[wt] || e[Et]) {+ function Pt(e) {+ if (e = e[Ct] || e[Tt]) {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 Ft(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 It(e) {+ var t = e[kt];+ return t ||= e[kt] = {hoistableStyles: /* @__PURE__ */ new Map(),hoistableScripts: /* @__PURE__ */ new Map()}, t;}+ function Lt(e) {+ e[At] = !0;+ }function Rt(e) {- e[jt] = !0;+ e[jt] = void 0;}- function zt(e) {- e[Mt] = void 0;+ var zt = /* @__PURE__ */ new Set(), Bt = {};+ function Vt(e, t) {+ Ht(e, t), Ht(e + "Capture", t);}- var Bt = /* @__PURE__ */ new Set(), Vt = {};function Ht(e, t) {- Ut(e, t), Ut(e + "Capture", t);- }- function Ut(e, t) {- for (Vt[e] = t, e = 0; e < t.length; e++) Bt.add(t[e]);+ for (Bt[e] = t, e = 0; e < t.length; e++) zt.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 Ut = 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]*$"), Wt = {}, Gt = {};+ function Kt(e) {+ return Ie.call(Gt, e) ? !0 : Ie.call(Wt, e) ? !1 : Ut.test(e) ? Gt[e] = !0 : (Wt[e] = !0, !1);}- var Jt = !1;- function Yt() {- var e = Jt;- return Jt = !1, e;+ var qt = !1;+ function Jt() {+ var e = qt;+ return qt = !1, e;}- function Xt(e, t, n) {- if (qt(t)) {+ function Yt(e, t, n) {+ if (Kt(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 Xt(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 Zt(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 Qt(e) {switch (typeof e) {case "bigint":case "boolean":@@ -1559,11 +1559,11 @@ var k = /* @__PURE__ */ o(((e) => {default: return "";}}- function en(e) {+ function $t(e) {var t = e.type;return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");}- function tn(e, t, n) {+ function en(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 tn(e) {if (!e._valueTracker) {- var t = en(e) ? "checked" : "value";- e._valueTracker = tn(e, t, "" + e[t]);+ var t = $t(e) ? "checked" : "value";+ e._valueTracker = en(e, t, "" + e[t]);}}- function rn(e) {+ function nn(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 = $t(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);}- var an = /[\n"\\]/g;- function on(e) {- return e.replace(an, function(e) {+ var rn = /[\n"\\]/g;+ function an(e) {+ return e.replace(rn, function(e) {return "\\" + e.charCodeAt(0).toString(16) + " ";});}- function sn(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") : ln(e, $t(n)) : o === "number" && e.value == t ? ln(e, $t(e.value)) : ln(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 on(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 = "" + Qt(t)) : e.value !== "" + Qt(t) && (e.value = "" + Qt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : cn(e, Qt(n)) : o === "number" && e.value == t ? cn(e, Qt(e.value)) : cn(e, Qt(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 = "" + Qt(s) : e.removeAttribute("name");}- function cn(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);+ tn(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 ? "" : "" + Qt(n), t = t == null ? n : "" + Qt(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), tn(e);}- function ln(e, t) {+ function cn(e, t) {e.defaultValue !== "" + t && (e.defaultValue = "" + t);}- function un(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 = "" + Qt(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 dn(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 = "" + Qt(t), t !== e.value && (e.value = t), n == null) ? e.defaultValue !== t && (e.defaultValue = t) : e.defaultValue = n == null ? "" : "" + Qt(n);}- function fn(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 = Qt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), tn(e);}- function pn(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 mn = 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 hn(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 || mn.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 gn(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 && (hn(e, a, r), Jt = !0);- } else for (var o in t) t.hasOwnProperty(o) && hn(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] = "", qt = !0);+ for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (mn(e, a, r), qt = !0);+ } else for (var o in t) t.hasOwnProperty(o) && mn(e, o, t[o]);}- function _n(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 vn = /* @__PURE__ */ new Map([+ var _n = /* @__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"]- ]), yn = /^[\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 bn(e) {- return yn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;+ ]), vn = /^[\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 yn(e) {+ return vn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;}- function xn() {}- var Sn = null;- function Cn(e) {+ function bn() {}+ var xn = null;+ function Sn(e) {return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e;}- var L = null, R = null;- function wn(e) {- var t = Ft(e);+ var R = null, z = null;+ function Cn(e) {+ var t = Pt(e);if (t && (e = t.stateNode)) {- var n = e[Tt] || null;+ var n = e[wt] || null;a: switch (e = t.stateNode, t.type) {case "input":- if (sn(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {+ if (on(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=\"" + on("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {+ for (n = n.querySelectorAll("input[name=\"" + an("" + 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[wt] || null;if (!a) throw Error(i(90));- sn(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);+ on(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 && nn(r);}break a;case "textarea":- dn(e, n.value, n.defaultValue);+ un(e, n.value, n.defaultValue);break a;- case "select": t = n.value, t != null && un(e, !!n.multiple, t, !1);+ case "select": t = n.value, t != null && ln(e, !!n.multiple, t, !1);}}}- var Tn = !1;- function En(e, t, n) {- if (Tn) return e(t, n);- Tn = !0;+ var wn = !1;+ function Tn(e, t, n) {+ if (wn) return e(t, n);+ wn = !0;try {return e(t);} finally {- if (Tn = !1, (L !== null || R !== null) && (Kd(), L && (t = L, e = R, R = L = null, wn(t), e))) for (t = 0; t < e.length; t++) wn(e[t]);+ if (wn = !1, (R !== null || z !== null) && (Gd(), R && (t = R, e = z, z = R = null, Cn(t), e))) for (t = 0; t < e.length; t++) Cn(e[t]);}}- function Dn(e, t) {+ function En(e, t) {var n = e.stateNode;if (n === null) return null;- var r = n[Tt] || null;+ var r = n[wt] || 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 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);+ var Dn = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, On = !1;+ if (Dn) try {+ var kn = {};+ Object.defineProperty(kn, "passive", { get: function() {+ On = !0;+ } }), window.addEventListener("test", kn, kn), window.removeEventListener("test", kn, kn);} catch {- kn = !1;+ On = !1;}- var jn = null, Mn = null, Nn = null;- function z() {- if (Nn) return Nn;- var e, t = Mn, n = t.length, r, i = "value" in jn ? jn.value : jn.textContent, a = i.length;+ var An = null, jn = null, Mn = null;+ function B() {+ if (Mn) return Mn;+ var e, t = jn, n = t.length, r, i = "value" in An ? An.value : An.textContent, a = i.length;for (e = 0; e < n && t[e] === i[e]; e++);var o = n - e;for (r = 1; r <= o && t[n - r] === i[a - r]; r++);- return Nn = i.slice(e, 1 < r ? 1 - r : void 0);+ return Mn = i.slice(e, 1 < r ? 1 - r : void 0);}- function Pn(e) {+ function Nn(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 Pn() {return !0;}- function In() {+ function Fn() {return !1;}- function Ln(e) {+ function In(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) ? Pn : Fn, this.isPropagationStopped = Fn, 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 = Pn);},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 = Pn);},persist: function() {},- isPersistent: Fn+ isPersistent: Pn}), t;}- var Rn = {+ var Ln = {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, {+ }, Rn = In(Ln), zn = w({}, Ln, {view: 0,detail: 0- }), Vn = Ln(Bn), Hn, Un, Wn, Gn = w({}, Bn, {+ }), Bn = In(zn), Vn, Hn, Un, Wn = w({}, zn, {screenX: 0,screenY: 0,clientX: 0,@@ -1914,25 +1914,25 @@ var k = /* @__PURE__ */ o(((e) => {shiftKey: 0,altKey: 0,metaKey: 0,- getModifierState: nr,+ getModifierState: tr,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 !== Un && (Un && e.type === "mousemove" ? (Vn = e.screenX - Un.screenX, Hn = e.screenY - Un.screenY) : Hn = Vn = 0, Un = e), Vn);},movementY: function(e) {- return "movementY" in e ? e.movementY : Un;+ return "movementY" in e ? e.movementY : Hn;}- }), Kn = Ln(Gn), qn = Ln(w({}, Gn, { dataTransfer: 0 })), Jn = Ln(w({}, Bn, { relatedTarget: 0 })), Yn = Ln(w({}, Rn, {+ }), Gn = In(Wn), Kn = In(w({}, Wn, { dataTransfer: 0 })), qn = In(w({}, zn, { relatedTarget: 0 })), Jn = In(w({}, Ln, {animationName: 0,elapsedTime: 0,pseudoElement: 0- })), Xn = Ln(w({}, Rn, { clipboardData: function(e) {+ })), Yn = In(w({}, Ln, { clipboardData: function(e) {return "clipboardData" in e ? e.clipboardData : window.clipboardData;- } })), Zn = Ln(w({}, Rn, { data: 0 })), Qn = {+ } })), Xn = In(w({}, Ln, { data: 0 })), Zn = {Esc: "Escape",Spacebar: " ",Left: "ArrowLeft",@@ -1945,7 +1945,7 @@ var k = /* @__PURE__ */ o(((e) => {Apps: "ContextMenu",Scroll: "ScrollLock",MozPrintableKey: "Unidentified"- }, $n = {+ }, Qn = {8: "Backspace",9: "Tab",12: "Clear",@@ -1982,26 +1982,26 @@ var k = /* @__PURE__ */ o(((e) => {144: "NumLock",145: "ScrollLock",224: "Meta"- }, er = {+ }, $n = {Alt: "altKey",Control: "ctrlKey",Meta: "metaKey",Shift: "shiftKey"};- function tr(e) {+ function er(e) {var t = this.nativeEvent;- return t.getModifierState ? t.getModifierState(e) : (e = er[e]) ? !!t[e] : !1;+ return t.getModifierState ? t.getModifierState(e) : (e = $n[e]) ? !!t[e] : !1;}- function nr() {- return tr;+ function tr() {+ return er;}- var rr = Ln(w({}, Bn, {+ var nr = In(w({}, zn, {key: function(e) {if (e.key) {- var t = Qn[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" ? $n[e.keyCode] || "Unidentified" : "";+ return e.type === "keypress" ? (e = Nn(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: nr,+ getModifierState: tr,charCode: function(e) {- return e.type === "keypress" ? Pn(e) : 0;+ return e.type === "keypress" ? Nn(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" ? Nn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;}- })), ir = Ln(w({}, Gn, {+ })), rr = In(w({}, Wn, {pointerId: 0,width: 0,height: 0,@@ -2032,7 +2032,7 @@ var k = /* @__PURE__ */ o(((e) => {twist: 0,pointerType: 0,isPrimary: 0- })), ar = Ln(w({}, Rn, { submitter: 0 })), or = Ln(w({}, Bn, {+ })), ir = In(w({}, Ln, { submitter: 0 })), ar = In(w({}, zn, {touches: 0,targetTouches: 0,changedTouches: 0,@@ -2040,12 +2040,12 @@ var k = /* @__PURE__ */ o(((e) => {metaKey: 0,ctrlKey: 0,shiftKey: 0,- getModifierState: nr- })), sr = Ln(w({}, Rn, {+ getModifierState: tr+ })), or = In(w({}, Ln, {propertyName: 0,elapsedTime: 0,pseudoElement: 0- })), cr = Ln(w({}, Gn, {+ })), sr = In(w({}, Wn, {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- })), B = Ln(w({}, Rn, {+ })), V = In(w({}, Ln, {newState: 0,oldState: 0,source: 0- })), V = [+ })), H = [9,13,27,32- ], 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) {+ ], 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) {switch (e) {- case "keyup": return V.indexOf(t.keyCode) !== -1;+ case "keyup": return H.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 gr(e) {+ function hr(e) {return e = e.detail, typeof e == "object" && "data" in e ? e.data : null;}- var H = !1;- function _r(e, t) {+ var U = !1;+ function gr(e, t) {switch (e) {- case "compositionend": return gr(t);- case "keypress": return t.which === 32 ? (mr = !0, pr) : null;- case "textInput": return e = t.data, e === pr && mr ? null : e;+ case "compositionend": return hr(t);+ case "keypress": return t.which === 32 ? (pr = !0, fr) : null;+ case "textInput": return e = t.data, e === fr && pr ? null : e;default: return null;}}- function vr(e, t) {- if (H) return e === "compositionend" || !lr && hr(e, t) ? (e = z(), Nn = Mn = jn = null, H = !1, e) : null;+ function _r(e, t) {+ if (U) return e === "compositionend" || !cr && mr(e, t) ? (e = B(), Mn = jn = An = null, U = !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 fr && t.locale !== "ko" ? null : t.data;+ case "compositionend": return dr && t.locale !== "ko" ? null : t.data;default: return null;}}- var yr = {+ var vr = {color: !0,date: !0,datetime: !0,@@ -2119,76 +2119,76 @@ var k = /* @__PURE__ */ o(((e) => {url: !0,week: !0};- function br(e) {+ function yr(e) {var t = e && e.nodeName && e.nodeName.toLowerCase();- return t === "input" ? !!yr[e.type] : t === "textarea";+ return t === "input" ? !!vr[e.type] : t === "textarea";}- function xr(e, t, n, r) {- L ? R ? R.push(r) : R = [r] : L = r, t = rp(t, "onChange"), 0 < t.length && (n = new zn("onChange", "change", null, n, r), e.push({+ function br(e, t, n, r) {+ R ? z ? z.push(r) : z = [r] : R = r, t = np(t, "onChange"), 0 < t.length && (n = new Rn("onChange", "change", null, n, r), e.push({event: n,listeners: t}));}- var Sr = null, Cr = null;- function wr(e) {- Yf(e, 0);+ var xr = null, Sr = null;+ function Cr(e) {+ Jf(e, 0);}- function Tr(e) {- if (rn(It(e))) return e;+ function wr(e) {+ if (nn(Ft(e))) return e;}- function Er(e, t) {+ function Tr(e, t) {if (e === "change") return t;}- var Dr = !1;- if (On) {- var Or;- if (On) {- var kr = "oninput" in document;- if (!kr) {- var Ar = document.createElement("div");- Ar.setAttribute("oninput", "return;"), kr = typeof Ar.oninput == "function";+ var Er = !1;+ if (Dn) {+ var Dr;+ if (Dn) {+ var Or = "oninput" in document;+ if (!Or) {+ var kr = document.createElement("div");+ kr.setAttribute("oninput", "return;"), Or = typeof kr.oninput == "function";}- Or = kr;- } else Or = !1;- Dr = Or && (!document.documentMode || 9 < document.documentMode);+ Dr = Or;+ } else Dr = !1;+ Er = Dr && (!document.documentMode || 9 < document.documentMode);}- function jr() {- Sr && (Sr.detachEvent("onpropertychange", Mr), Cr = Sr = null);+ function Ar() {+ xr && (xr.detachEvent("onpropertychange", jr), Sr = xr = null);}- function Mr(e) {- if (e.propertyName === "value" && Tr(Cr)) {+ function jr(e) {+ if (e.propertyName === "value" && wr(Sr)) {var t = [];- xr(t, Cr, e, Cn(e)), En(wr, t);+ br(t, Sr, e, Sn(e)), Tn(Cr, t);}}- function Nr(e, t, n) {- e === "focusin" ? (jr(), Sr = t, Cr = n, Sr.attachEvent("onpropertychange", Mr)) : e === "focusout" && jr();+ function Mr(e, t, n) {+ e === "focusin" ? (Ar(), xr = t, Sr = n, xr.attachEvent("onpropertychange", jr)) : e === "focusout" && Ar();}- function Pr(e) {- if (e === "selectionchange" || e === "keyup" || e === "keydown") return Tr(Cr);+ function Nr(e) {+ if (e === "selectionchange" || e === "keyup" || e === "keydown") return wr(Sr);+ }+ function Pr(e, t) {+ if (e === "click") return wr(t);}function Fr(e, t) {- if (e === "click") return Tr(t);+ if (e === "input" || e === "change") return wr(t);}function Ir(e, t) {- if (e === "input" || e === "change") return Tr(t);- }- function Lr(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 Lr = typeof Object.is == "function" ? Object.is : Ir;+ function Rr(e, t) {+ if (Lr(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 (!Ie.call(t, i) || !Lr(e[i], t[i])) return !1;}return !0;}- function Br(e) {+ function zr(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 Br(e) {for (; e && e.firstChild;) e = e.firstChild;return e;}- function Hr(e, t) {- var n = Vr(e);+ function Vr(e, t) {+ var n = Br(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 = Br(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 Hr(e, t) {+ return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Hr(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;}- function Wr(e) {+ function Ur(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 = zr(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 = zr(e.document);}return t;}- function Gr(e) {+ function Wr(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 = On && "documentMode" in document && 11 >= document.documentMode, qr = null, Jr = null, Yr = null, Xr = !1;- function Zr(e, t, n) {+ var Gr = Dn && "documentMode" in document && 11 >= document.documentMode, Kr = null, qr = null, Jr = null, Yr = !1;+ function Xr(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 = {+ Yr || Kr == null || Kr !== zr(r) || (r = Kr, "selectionStart" in r && Wr(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 = rp(Jr, "onSelect"), 0 < r.length && (t = new zn("onSelect", "select", null, t, n), e.push({+ }), Jr && Rr(Jr, r) || (Jr = r, r = np(qr, "onSelect"), 0 < r.length && (t = new Rn("onSelect", "select", null, t, n), e.push({event: t,listeners: r- }), t.target = qr)));+ }), t.target = Kr)));}- function Qr(e, t) {+ function Zr(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 = {};- On && (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 Qr = {+ animationend: Zr("Animation", "AnimationEnd"),+ animationiteration: Zr("Animation", "AnimationIteration"),+ animationstart: Zr("Animation", "AnimationStart"),+ transitionrun: Zr("Transition", "TransitionRun"),+ transitionstart: Zr("Transition", "TransitionStart"),+ transitioncancel: Zr("Transition", "TransitionCancel"),+ transitionend: Zr("Transition", "TransitionEnd")+ }, $r = {}, ei = {};+ Dn && (ei = document.createElement("div").style, "AnimationEvent" in window || (delete Qr.animationend.animation, delete Qr.animationiteration.animation, delete Qr.animationstart.animation), "TransitionEvent" in window || delete Qr.transitionend.transition);+ function ti(e) {+ if ($r[e]) return $r[e];+ if (!Qr[e]) return e;+ var t = Qr[e], n;+ for (n in t) if (t.hasOwnProperty(n) && n in ei) return $r[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 ni = ti("animationend"), ri = ti("animationiteration"), ii = ti("animationstart"), ai = ti("transitionrun"), oi = ti("transitionstart"), si = ti("transitioncancel"), ci = ti("transitionend"), li = /* @__PURE__ */ new Map(), ui = "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(" ");+ ui.push("scrollEnd");+ function di(e, t) {+ li.set(e, t), Vt(t, [e]);}- var pi = 0;- function mi(e, t) {+ var fi = 0;+ function pi(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 = Ed.identifierPrefix;+ var n = fi++;return e = "_" + e + "t_" + n.toString(32) + "_", t.autoName = e;}- function hi(e) {+ function mi(e) {if (e == null || typeof e == "string") return e;- var t = null, n = Fd;+ var t = null, n = Pd;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 hi(e, t) {+ return e = mi(e), t = mi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;}- var _i = typeof reportError == "function" ? reportError : function(e) {+ var gi = 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) {+ }, _i = [], vi = 0, yi = 0;+ function bi() {+ for (var e = vi, t = yi = vi = 0; t < e;) {+ var n = _i[t];+ _i[t++] = null;+ var r = _i[t];+ _i[t++] = null;+ var i = _i[t];+ _i[t++] = null;+ var a = _i[t];+ if (_i[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 && wi(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 xi(e, t, n, r) {+ _i[vi++] = e, _i[vi++] = t, _i[vi++] = n, _i[vi++] = r, yi |= 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);+ function Si(e, t, n, r) {+ return xi(e, t, n, r), Ti(e);}- function wi(e, t) {- return Si(e, null, null, t), Ei(e);+ function Ci(e, t) {+ return xi(e, null, null, t), Ti(e);}- function Ti(e, t, n) {+ function wi(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 - $e(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 < Id) throw Id = 0, Ld = null, Error(i(185));+ function Ti(e) {+ if (50 < Fd) throw Fd = 0, Id = 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 Ei = {};+ function Di(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 Oi(e, t, n, r) {+ return new Di(e, t, n, r);}- function Ai(e) {+ function ki(e) {return e = e.prototype, !(!e || !e.isReactComponent);}- function ji(e, t) {+ function Ai(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 = Oi(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 ji(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 Mi(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") ki(r) && (s = 1);+ else if (typeof r == "string") s = nh(e, n, xe.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;else a: switch (r) {- case ie: return e = ki(31, n, t, a), e.elementType = ie, e.lanes = o, e;- case O: return Pi(n.children, a, o, t);+ case ie: return e = Oi(31, n, t, a), e.elementType = ie, e.lanes = o, e;+ case O: return Ni(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 ne: return e = ki(13, n, t, a), e.elementType = ne, e.lanes = o, e;- case re: return e = ki(19, n, t, a), e.elementType = re, e.lanes = o, e;+ case j: return e = Oi(12, n, t, a | 2), e.elementType = j, e.lanes = o, e;+ case ne: return e = Oi(13, n, t, a), e.elementType = ne, e.lanes = o, e;+ case re: return e = Oi(19, n, t, a), e.elementType = re, e.lanes = o, e;case ae:- case se: return e = a | 32, e = ki(30, n, t, e), e.elementType = se, e.lanes = o, e.stateNode = {+ case se: return e = a | 32, e = Oi(30, n, t, e), e.elementType = se, 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 = Oi(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 Ni(e, t, n, r) {+ return e = Oi(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 Pi(e, t, n) {+ return e = Oi(6, e, null, t), e.lanes = n, e;}- function Ii(e) {- var t = ki(18, null, null, 0);+ function Fi(e) {+ var t = Oi(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 Ii(e, t, n) {+ return t = Oi(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 Li = /* @__PURE__ */ new WeakMap();+ function Ri(e, t) {if (typeof e == "object" && e) {- var n = Ri.get(e);+ var n = Li.get(e);return n === void 0 ? (t = {value: e,source: t,- stack: Ie(t)- }, Ri.set(e, t), t) : n;+ stack: Fe(t)+ }, Li.set(e, t), t) : n;}return {value: e,source: t,- stack: Ie(t)+ stack: Fe(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 zi = [], Bi = 0, Vi = null, Hi = 0, Ui = [], Wi = 0, Gi = null, Ki = 1, qi = "";+ function Ji(e, t) {+ zi[Bi++] = Hi, zi[Bi++] = Vi, Vi = e, Hi = 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 Yi(e, t, n) {+ Ui[Wi++] = Ki, Ui[Wi++] = qi, Ui[Wi++] = Gi, Gi = e;+ var r = Ki;+ e = qi;+ var i = 32 - $e(r) - 1;r &= ~(1 << i), n += 1;- var a = 32 - et(t) + i;+ var a = 32 - $e(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;+ a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, Ki = 1 << 32 - $e(t) + i | n << i | r, qi = a + e;+ } else Ki = 1 << a | n << i | r, qi = e;+ }+ function Xi(e) {+ e.return !== null && (Ji(e, 1), Yi(e, 1, 0));}function Zi(e) {- e.return !== null && (Yi(e, 1), Xi(e, 1, 0));+ for (; e === Vi;) Vi = zi[--Bi], zi[Bi] = null, Hi = zi[--Bi], zi[Bi] = null;+ for (; e === Gi;) Gi = Ui[--Wi], Ui[Wi] = null, qi = Ui[--Wi], Ui[Wi] = null, Ki = Ui[--Wi], Ui[Wi] = null;}- 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;+ function Qi(e, t) {+ Ui[Wi++] = Ki, Ui[Wi++] = qi, Ui[Wi++] = Gi, Ki = t.id, qi = t.overflow, Gi = e;}- function $i(e, t) {- Wi[Gi++] = qi, Wi[Gi++] = Ji, Wi[Gi++] = Ki, qi = t.id, Ji = t.overflow, Ki = e;+ var $i = null, ea = null, ta = !1, na = null, ra = !1, ia = Error(i(519));+ function aa(e) {+ throw da(Ri(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), ia;}- 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 sa(e) {var t = e.stateNode, n = e.type, r = e.memoizedProps;- switch (t[wt] = e, t[Tt] = r, n) {+ switch (t[Ct] = e, t[wt] = r, n) {case "dialog":- Xf("cancel", t), Xf("close", t);+ Yf("cancel", t), Yf("close", t);break;case "iframe":case "object":case "embed":- Xf("load", t);+ Yf("load", t);break;case "video":case "audio":- for (n = 0; n < qf.length; n++) Xf(qf[n], t);+ for (n = 0; n < Kf.length; n++) Yf(Kf[n], t);break;case "source":- Xf("error", t);+ Yf("error", t);break;case "img":case "image":case "link":- Xf("error", t), Xf("load", t);+ Yf("error", t), Yf("load", t);break;case "details":- Xf("toggle", t);+ Yf("toggle", t);break;case "input":- Xf("invalid", t), cn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);+ Yf("invalid", t), sn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);break;case "select":- Xf("invalid", t);+ Yf("invalid", t);break;- case "textarea": Xf("invalid", t), fn(t, r.value, r.defaultValue, r.children);+ case "textarea": Yf("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 || 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 = xn), 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 || 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 = bn), t = !0) : t = !1, t || aa(e, !0);}- function ca(e) {- for (ea = e.return; ea;) switch (ea.tag) {+ function sa(e) {+ for ($i = e.return; $i;) switch ($i.tag) {case 5:case 31:case 13:- ia = !1;+ ra = !1;return;case 27:case 3:- ia = !0;+ ra = !0;return;- default: ea = ea.return;+ default: $i = $i.return;}}- function la(e) {- if (e !== ea) return !1;- if (!na) return ca(e), na = !0, !1;+ function ca(e) {+ if (e !== $i) return !1;+ if (!ta) return sa(e), ta = !0, !1;var t = e.tag, n;- if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || Cp(e.type, e.memoizedProps)), n = !n), n && ta && oa(e), ca(e), t === 13) {+ if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || Sp(e.type, e.memoizedProps)), n = !n), n && ea && aa(e), sa(e), t === 13) {if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));- ta = bm(e);+ ea = bm(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;+ ea = bm(e);+ } else t === 27 ? (t = ea, jp(e.type) ? (e = ym, ym = null, ea = e) : ea = t) : ea = $i ? vm(e.stateNode.nextSibling) : null;return !0;}- function ua() {- ta = ea = null, na = !1;+ function la() {+ ea = $i = null, ta = !1;}- function da() {- var e = ra;- return e !== null && (yd === null ? yd = e : yd.push.apply(yd, e), ra = null), e;+ function ua() {+ var e = na;+ return e !== null && (vd === null ? vd = e : vd.push.apply(vd, e), na = null), e;}- function fa(e) {- ra === null ? ra = [e] : ra.push(e);+ function da(e) {+ na === null ? na = [e] : na.push(e);}- var pa = ye(null), ma = null, ha = null;- function ga(e, t, n) {- xe(pa, t._currentValue), t._currentValue = n;+ var fa = ve(null), pa = null, ma = null;+ function ha(e, t, n) {+ be(fa, t._currentValue), t._currentValue = n;}- function _a(e) {- e._currentValue = pa.current, be(pa);+ function ga(e) {+ e._currentValue = fa.current, ye(fa);}- function va(e, t, n) {+ function _a(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 va(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), _a(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), _a(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), _a(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 ya(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));+ Lr(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));}- } else if (a === Te.current) {+ } else if (a === we.current) {if (s = a.alternate, s === null) throw Error(i(387));s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [gh] : e.push(gh));}a = a.return;}- return e !== null && ya(t, e, n, r), t.flags |= 262144, e !== null;+ return e !== null && va(t, e, n, r), t.flags |= 262144, e !== null;}- function xa(e) {+ function ba(e) {for (e = e.firstContext; e !== null;) {- if (!Rr(e.context._currentValue, e.memoizedValue)) return !0;+ if (!Lr(e.context._currentValue, e.memoizedValue)) return !0;e = e.next;}return !1;}+ function xa(e) {+ pa = e, ma = null, e = e.dependencies, e !== null && (e.firstContext = null);+ }function Sa(e) {- ma = e, ha = null, e = e.dependencies, e !== null && (e.firstContext = null);+ return wa(pa, e);}- function Ca(e) {- return Ta(ma, e);+ function Ca(e, t) {+ return pa === null && xa(e), wa(e, t);}function wa(e, t) {- return ma === null && Sa(e), Ta(e, t);- }- function Ta(e, t) {var n = t._currentValue;if (t = {context: t,memoizedValue: n,next: null- }, ha === null) {+ }, ma === null) {if (e === null) throw Error(i(308));- ha = t, e.dependencies = {+ ma = t, e.dependencies = {lanes: 0,firstContext: t}, e.flags |= 524288;- } else ha = ha.next = t;+ } else ma = ma.next = t;return n;}- var Ea = typeof AbortController < "u" ? AbortController : function() {+ var Ta = 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 = {+ }, Ea = t.unstable_scheduleCallback, Da = t.unstable_NormalPriority, Oa = {$$typeof: te,Consumer: null,Provider: null,@@ -2687,19 +2687,19 @@ var k = /* @__PURE__ */ o(((e) => {_currentValue2: null,_threadCount: 0};- function Aa() {+ function ka() {return {- controller: new Ea(),+ controller: new Ta(),data: /* @__PURE__ */ new Map(),refCount: 0};}- function ja(e) {- e.refCount--, e.refCount === 0 && Da(Oa, function() {+ function Aa(e) {+ e.refCount--, e.refCount === 0 && Ea(Da, function() {e.controller.abort();});}- function Ma(e, t) {+ function ja(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 Ma = null;+ function Na(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 = Hf(), Ra = {+ var Pa = null, Fa = 0, Ia = 0, La = null;+ function Ra(e, t) {+ if (Pa === null) {+ var n = Pa = [];+ Fa = 0, Ia = Vf(), La = {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 Fa++, t.then(za, za), 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 za() {+ if (--Fa === 0 && (Ma = null, Pa !== null)) {+ La !== null && (La.status = "fulfilled");+ var e = Pa;+ Pa = null, Ia = 0, La = null;for (var t = 0; t < e.length; t++) (0, e[t])();}}- function Va(e, t) {+ function Ba(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 = me.S;+ var Va = me.S;me.S = function(e, t) {- if (Sd = He(), typeof t == "object" && t && typeof t.then == "function" && za(e, t), Na !== null) for (var n = Of; n !== null;) Ma(n, Na), n = n.next;+ if (xd = Ve(), typeof t == "object" && t && typeof t.then == "function" && Ra(e, t), Ma !== null) for (var n = Df; n !== null;) ja(n, Ma), n = n.next;if (n = e.types, n !== null) {- for (var r = Of; r !== null;) Ma(r, n), r = r.next;- if (La !== 0) {- r = Na, r === null && (r = Na = []);+ for (var r = Df; r !== null;) ja(r, n), r = r.next;+ if (Ia !== 0) {+ r = Ma, r === null && (r = Ma = []);for (var i = 0; i < n.length; i++) {var a = n[i];r.indexOf(a) === -1 && r.push(a);}}}- Ha !== null && Ha(e, t);+ Va !== null && Va(e, t);};- var Ua = ye(null);- function Wa() {- var e = Ua.current;- return e === null ? rd.pooledCache : e;+ var Ha = ve(null);+ function Ua() {+ var e = Ha.current;+ return e === null ? nd.pooledCache : e;}- function Ga(e, t) {- t === null ? xe(Ua, Ua.current) : xe(Ua, t.pool);+ function Wa(e, t) {+ t === null ? be(Ha, Ha.current) : be(Ha, t.pool);}- function Ka() {- var e = Wa();+ function Ga() {+ var e = Ua();return e === null ? null : {- parent: ka._currentValue,+ parent: Oa._currentValue,pool: e};}- var qa = Error(i(460)), Ja = Error(i(474)), Ya = Error(i(542)), Xa = { then: function() {} };- function Za(e) {+ var Ka = Error(i(460)), qa = Error(i(474)), Ja = Error(i(542)), Ya = { then: function() {} };+ function Xa(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(xn, xn), t = n), t.status) {+ function Za(e, t, n) {+ switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(bn, bn), 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, to(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;default:- if (typeof t.status == "string") t.then(xn, xn);+ if (typeof t.status == "string") t.then(bn, bn);else {- if (e = rd, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));+ if (e = nd, 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, to(e), e;}- throw eo = t, qa;+ throw $a = t, Ka;}}- function $a(e) {+ function Qa(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" ? ($a = e, Ka) : e;}}- var eo = null;- function to() {- if (eo === null) throw Error(i(459));- var e = eo;- return eo = null, e;+ var $a = null;+ function eo() {+ if ($a === null) throw Error(i(459));+ var e = $a;+ return $a = null, e;}- function no(e) {- if (e === qa || e === Ya) throw Error(i(483));+ function to(e) {+ if (e === Ka || e === Ja) 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 no = null, ro = 0;+ function io(e) {+ var t = ro;+ return ro += 1, no === null && (no = []), Za(no, e, t);}- function oo(e, t) {+ function ao(e, t) {t = t.props.ref, e.ref = t === void 0 ? null : t;}- function so(e, t) {+ function oo(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 so(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 = Ai(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 = Pi(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 === I && $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), ao(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === I && Qa(i) === t.type) ? (t = a(t, n.props), ao(t, n), t.return = e, t) : (t = Mi(n.type, n.key, n.props, null, e.mode, r), ao(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 = Ii(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 = Ni(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 = Pi("" + 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 I: return t = $a(t), f(e, t, n);+ case E: return n = Mi(t.type, t.key, t.props, null, e.mode, n), ao(n, t), n.return = e, n;+ case D: return t = Ii(t, e.mode, n), t.return = e, t;+ case I: return t = Qa(t), f(e, t, n);}- if (pe(t) || ue(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 === te) return f(e, wa(e, t), n);- so(e, t);+ if (pe(t) || ue(t)) return t = Ni(t, e.mode, n, null), t.return = e, t;+ if (typeof t.then == "function") return f(e, io(t), n);+ if (t.$$typeof === te) return f(e, Ca(e, t), n);+ oo(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 I: return n = $a(n), p(e, t, n, r);+ case I: return n = Qa(n), p(e, t, n, r);}if (pe(n) || ue(n)) return i === null ? d(e, t, n, r, null) : null;- if (typeof n.then == "function") return p(e, t, ao(n), r);- if (n.$$typeof === te) return p(e, t, wa(e, n), r);- so(e, n);+ if (typeof n.then == "function") return p(e, t, io(n), r);+ if (n.$$typeof === te) return p(e, t, Ca(e, n), r);+ oo(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 I: return r = $a(r), m(e, t, n, r, i);+ case I: return r = Qa(r), m(e, t, n, r, i);}if (pe(r) || ue(r)) return e = e.get(n) || null, d(t, e, r, i, null);- if (typeof r.then == "function") return m(e, t, n, ao(r), i);- if (r.$$typeof === te) return m(e, t, n, wa(t, r), i);- so(t, r);+ if (typeof r.then == "function") return m(e, t, n, io(r), i);+ if (r.$$typeof === te) return m(e, t, n, Ca(t, r), i);+ oo(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), ta && Ji(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 ta && Ji(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;+ }), ta && Ji(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), ta && Ji(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 ta && Ji(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;+ }), ta && Ji(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), ao(c, o), c.return = e, e = c;break a;}- } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === I && $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 === I && Qa(l) === r.type) {+ n(e, r.sibling), c = a(r, o.props), ao(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 = Ni(o.props.children, e.mode, c, o.key), ao(c, o), c.return = e, e = c) : (c = Mi(o.type, o.key, o.props, null, e.mode, c), ao(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 = Ii(o, e.mode, c), c.return = e, e = c;}return s(e);- case I: return o = $a(o), _(e, r, o, c);+ case I: return o = Qa(o), _(e, r, o, c);}if (pe(o)) return h(e, r, o, c);if (ue(o)) {if (l = ue(o), typeof l != "function") throw Error(i(150));return o = l.call(o), g(e, r, o, c);}- if (typeof o.then == "function") return _(e, r, ao(o), c);- if (o.$$typeof === te) return _(e, r, wa(e, o), c);- so(e, o);+ if (typeof o.then == "function") return _(e, r, io(o), c);+ if (o.$$typeof === te) return _(e, r, Ca(e, o), c);+ oo(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 = Pi(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);}return function(e, t, n, r) {try {- io = 0;+ ro = 0;var i = _(e, t, n, r);- return ro = null, i;+ return no = null, i;} catch (t) {- if (t === qa || t === Ya) throw t;- var a = ki(29, t, null, e.mode);+ if (t === Ka || t === Ja) throw t;+ var a = Oi(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 co = so(!0), lo = so(!1), uo = !1;+ function fo(e) {e.updateQueue = {baseState: e.memoizedState,firstBaseUpdate: null,@@ -3044,7 +3044,7 @@ var k = /* @__PURE__ */ o(((e) => {callbacks: null};}- function mo(e, t) {+ function po(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 mo(e) {return {lane: e,tag: 0,@@ -3062,22 +3062,22 @@ var k = /* @__PURE__ */ o(((e) => {next: null};}- function go(e, t, n) {+ function ho(e, t, n) {var r = e.updateQueue;if (r === null) return null;- if (r = r.shared, nd & 2) {+ if (r = r.shared, td & 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 = Ti(e), wi(e, null, n), t;}- return Si(e, r, t, n), Ei(e);+ return xi(e, r, t, n), Ti(e);}- function _o(e, t, n) {+ function go(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, gt(e, n);}}- function vo(e, t) {+ function _o(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 vo = !1;+ function yo() {+ if (vo) {+ var e = La;if (e !== null) throw e;}}- function xo(e, t, n, r) {- yo = !1;+ function bo(e, t, n, r) {+ vo = !1;var i = e.updateQueue;- fo = !1;+ uo = !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 ? (id & f) === f : (r & f) === f) {+ f !== 0 && f === Ia && (vo = !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: uo = !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,52 +3168,52 @@ 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), fd |= o, e.lanes = o, e.memoizedState = d;}}- function So(e, t) {+ function xo(e, t) {if (typeof e != "function") throw Error(i(191, e));e.call(t);}- function Co(e, t) {+ function So(e, t) {var n = e.callbacks;- if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) So(n[e], t);+ if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) xo(n[e], t);+ }+ var Co = ve(null), wo = ve(0);+ function To(e, t) {+ e = ud, be(wo, e), be(Co, t), ud = e | t.baseLanes;}- var wo = ye(null), To = ye(0);- function Eo(e, t) {- e = dd, xe(To, e), xe(wo, t), dd = e | t.baseLanes;+ function Eo() {+ be(wo, ud), be(Co, Co.current);}function Do() {- xe(To, dd), xe(wo, wo.current);+ ud = wo.current, ye(Co), ye(wo);}- function Oo() {- dd = To.current, be(wo), be(To);+ var Oo = ve(null), ko = null;+ function Ao(e) {+ var t = e.alternate;+ be(Fo, Fo.current & 1), be(Oo, e), ko === null && (t === null || Co.current !== null || t.memoizedState !== null) && (ko = e);}- 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);+ be(Fo, Fo.current), be(Oo, e), ko === null && (ko = e);}function Mo(e) {- xe(Io, Io.current), xe(ko, e), Ao === null && (Ao = e);+ e.tag === 22 ? (be(Fo, Fo.current), be(Oo, e), ko === null && (ko = e)) : No();}- function No(e) {- e.tag === 22 ? (xe(Io, Io.current), xe(ko, e), Ao === null && (Ao = e)) : Po();+ function No() {+ be(Fo, Fo.current), be(Oo, Oo.current);}- function Po() {- xe(Io, Io.current), xe(ko, ko.current);+ function Po(e) {+ ye(Oo), ko === e && (ko = null), ye(Fo);}- function Fo(e) {- be(ko), Ao === e && (Ao = null), be(Io);+ var Fo = ve(0);+ function Io(e, t) {+ be(Oo, Oo.current), be(Fo, t);}- var Io = ye(0);- function Lo(e, t) {- xe(ko, ko.current), xe(Io, t);+ function Lo(e) {+ ye(Fo), ye(Oo), ko === e && (ko = null);}function Ro(e) {- be(Io), be(ko), Ao === e && (Ao = null);- }- function zo(e) {for (var t = e; t !== null;) {if (t.tag === 13) {var n = t.memoizedState;@@ -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 zo = 0, Bo = null, Vo = null, Ho = null, Uo = !1, Wo = !1, Go = !1, Ko = 0, qo = 0, Jo = null, Yo = 0;+ function Xo() {throw Error(i(321));}- function Qo(e, t) {+ function Zo(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 (!Lr(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, me.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 Qo(e, t, n, r, i, a) {+ return zo = a, Bo = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, me.H = e === null || e.memoizedState === null ? hc : gc, Go = !1, a = n(r, i), Go = !1, Wo && (a = es(t, n, r, i)), $o(e), a;}- function es(e) {- me.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 $o(e) {+ me.H = mc;+ var t = Vo !== null && Vo.next !== null;+ if (zo = 0, Ho = Vo = Bo = null, Uo = !1, qo = 0, Jo = null, t) throw Error(i(300));+ e === null || Nc || (e = e.dependencies, e !== null && ba(e) && (Nc = !0));}- function ts(e, t, n, r) {- Vo = e;+ function es(e, t, n, r) {+ Bo = 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 (Wo && (Jo = null), qo = 0, Wo = !1, 25 <= a) throw Error(i(301));+ if (a += 1, Ho = Vo = null, e.updateQueue != null) {var o = e.updateQueue;o.lastEffect = null, o.events = null, o.stores = null, o.memoCache != null && (o.memoCache.index = 0);}- me.H = vc, o = t(n, r);- } while (Go);+ me.H = _c, o = t(n, r);+ } while (Wo);return o;}- function ns() {+ function ts() {var e = me.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" ? cs(t) : t, e = e.useState()[0], (Vo === null ? null : Vo.memoizedState) !== e && (Bo.flags |= 1024), t;}- function rs() {- var e = qo !== 0;- return qo = 0, e;+ function ns() {+ var e = Ko !== 0;+ return Ko = 0, e;}- function is(e, t, n) {+ function rs(e, t, n) {t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~n;}- function as(e) {- if (Wo) {+ function is(e) {+ if (Uo) {for (e = e.memoizedState; e !== null;) {var t = e.queue;t !== null && (t.pending = null), e = e.next;}- Wo = !1;+ Uo = !1;}- Bo = 0, Uo = Ho = Vo = null, Go = !1, Jo = qo = 0, Yo = null;+ zo = 0, Ho = Vo = Bo = null, Wo = !1, qo = Ko = 0, Jo = null;}- function os() {+ function as() {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 Ho === null ? Bo.memoizedState = Ho = e : Ho = Ho.next = e, Ho;}- function ss() {- if (Ho === null) {- var e = Vo.alternate;+ function os() {+ if (Vo === null) {+ var e = Bo.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 = Vo.next;+ var t = Ho === null ? Bo.memoizedState : Ho.next;+ if (t !== null) Ho = t, Vo = 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 Bo.alternate === null ? Error(i(467)) : Error(i(310));+ Vo = e, e = {+ memoizedState: Vo.memoizedState,+ baseState: Vo.baseState,+ baseQueue: Vo.baseQueue,+ queue: Vo.queue,next: null- }, Uo === null ? Vo.memoizedState = Uo = e : Uo = Uo.next = e;+ }, Ho === null ? Bo.memoizedState = Ho = e : Ho = Ho.next = e;}- return Uo;+ return Ho;}- function cs() {+ function ss() {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, me.H = t === null || t.memoizedState === null ? gc : _c), e;+ function cs(e) {+ var t = qo;+ return qo += 1, Jo === null && (Jo = []), e = Za(Jo, e, t), t = Bo, (Ho === null ? t.memoizedState : Ho.next) === null && (t = t.alternate, me.H = t === null || t.memoizedState === null ? hc : gc), e;}- function us(e) {+ function ls(e) {if (typeof e == "object" && e) {- if (typeof e.then == "function") return ls(e);+ if (typeof e.then == "function") return cs(e);if (e.$$typeof === ce) return;- if (e.$$typeof === te) return Ca(e);+ if (e.$$typeof === te) return Sa(e);}throw Error(i(438, String(e)));}- function ds(e) {- var t = null, n = Vo.updateQueue;+ function us(e) {+ var t = null, n = Bo.updateQueue;if (n !== null && (t = n.memoCache), t == null) {- var r = Vo.alternate;+ var r = Bo.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] = oe;+ }, n === null && (n = ss(), Bo.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0) for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = oe;return t.index++, n;}- function fs(e, t) {+ function ds(e, t) {return typeof t == "function" ? t(e) : t;}- function ps(e) {- return ms(ss(), Ho, e);+ function fs(e) {+ return ps(os(), Vo, e);}- function ms(e, t, n) {+ function ps(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 ? (zo & f) === f : (id & 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 === Ia && (d = !0);+ else if ((zo & p) === p) {+ u = u.next, p === Ia && (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, Bo.lanes |= p, fd |= p;+ f = u.action, Go && 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, Bo.lanes |= f, fd |= 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, !Lr(o, e.memoizedState) && (Nc = !0, d && (n = La, 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 ms(e) {+ var t = os(), 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;+ Lr(o, t.memoizedState) || (Nc = !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 hs(e, t, n) {+ var r = Bo, a = os(), o = ta;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 = !Lr((Vo || a).memoizedState, n);+ if (s && (a.memoizedState = n, Nc = !0), a = a.queue, Bs(vs.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Ho !== null && !!(Ho.memoizedState.tag & 1), Fs(e ? 9 : 8, { destroy: void 0 }, _s.bind(null, r, a, n, t), null), e) {+ if (r.flags |= 2048, nd === null) throw Error(i(349));+ o || zo & 127 || gs(r, t, n);}return n;}- function _s(e, t, n) {+ function gs(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 = Bo.updateQueue, t === null ? (t = ss(), Bo.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 _s(e, t, n, r) {+ t.value = n, t.getSnapshot = r, ys(t) && bs(e);}- function ys(e, t, n) {+ function vs(e, t, n) {return n(function() {- bs(t) && xs(e);+ ys(t) && bs(e);});}- function bs(e) {+ function ys(e) {var t = e.getSnapshot;e = e.value;try {var n = t();- return !Rr(e, n);+ return !Lr(e, n);} catch {return !0;}}- function xs(e) {- var t = wi(e, 2);- t !== null && Vd(t, e, 2);+ function bs(e) {+ var t = Ci(e, 2);+ t !== null && Bd(t, e, 2);}- function Ss(e) {- var t = os();+ function xs(e) {+ var t = as();if (typeof e == "function") {var n = e;- if (e = n(), Ko) {- $e(!0);+ if (e = n(), Go) {+ Qe(!0);try {n();} finally {- $e(!1);+ Qe(!1);}}}@@ -3488,15 +3488,15 @@ var k = /* @__PURE__ */ o(((e) => {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: fs,+ lastRenderedReducer: ds,lastRenderedState: e}, t;}- function Cs(e, t, n, r) {- return e.baseState = n, ms(e, Ho, typeof r == "function" ? r : fs);+ function Ss(e, t, n, r) {+ return e.baseState = n, ps(e, Vo, typeof r == "function" ? r : ds);}- function ws(e, t, n, r, a) {- if (fc(e)) throw Error(i(485));+ function Cs(e, t, n, r, a) {+ if (dc(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);}};- me.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);+ me.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, ws(t, o)) : (o.next = n.next, t.pending = n.next = o);}}- function Ts(e, t) {+ function ws(e, t) {var n = t.action, r = t.payload, i = e.state;if (t.isTransition) {var a = me.T, o = {};o.types = a === null ? null : a.types, me.T = o;try {var s = n(i, r), c = me.S;- c !== null && c(o, s), Es(e, t, s);+ c !== null && c(o, s), Ts(e, t, s);} catch (n) {- Os(e, t, n);+ Ds(e, t, n);} finally {a !== null && o.types !== null && (a.types = o.types), me.T = a;}} else try {- a = n(i, r), Es(e, t, a);+ a = n(i, r), Ts(e, t, a);} catch (n) {- Os(e, t, n);+ Ds(e, t, n);}}- function Es(e, t, n) {+ function Ts(e, t, n) {typeof n == "object" && n && typeof n.then == "function" ? n.then(function(n) {- Ds(e, t, n);+ Es(e, t, n);}, function(n) {- return Os(e, t, n);- }) : Ds(e, t, n);+ return Ds(e, t, n);+ }) : Es(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)));+ function Es(e, t, n) {+ t.status = "fulfilled", t.value = n, Os(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, ws(e, n)));}- function Os(e, t, n) {+ function Ds(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, Os(t), t = t.next;while (t !== r);}e.action = null;}- function ks(e) {+ function Os(e) {e = e.listeners;for (var t = 0; t < e.length; t++) (0, e[t])();}- function As(e, t) {+ function ks(e, t) {return t;}- function js(e, t) {- if (na) {- var n = rd.formState;+ function As(e, t) {+ if (ta) {+ var n = nd.formState;if (n !== null) {a: {- var r = Vo;- if (na) {- if (ta) {+ var r = Bo;+ if (ta) {+ if (ea) {b: {- for (var i = ta, a = ia; i.nodeType !== 8;) if (!a || (i = vm(i.nextSibling), i === null)) {+ for (var i = ea, a = ra; i.nodeType !== 8;) if (!a || (i = vm(i.nextSibling), i === null)) {i = null;break b;}a = i.data, i = a === "F!" || a === "F" ? i : null;}if (i) {- ta = vm(i.nextSibling), r = i.data === "F!";+ ea = vm(i.nextSibling), r = i.data === "F!";break a;}}- oa(r);+ aa(r);}r = !1;}r && (t = n[0]);}}- return n = os(), n.memoizedState = n.baseState = t, r = {+ return n = as(), n.memoizedState = n.baseState = t, r = {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: As,+ lastRenderedReducer: ks,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 = cc.bind(null, Bo, r), r.dispatch = n, r = xs(!1), a = uc.bind(null, Bo, !1, r.queue), r = as(), 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 = Cs.bind(null, Bo, i, a, n), i.dispatch = n, r.memoizedState = e, [t,n,!1];}- function Ms(e) {- return Ns(ss(), Ho, e);+ function js(e) {+ return Ms(os(), Vo, 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 Ms(e, t, n) {+ if (t = ps(e, t, ks)[0], e = fs(ds)[0], typeof t == "object" && t && typeof t.then == "function") try {+ var r = cs(t);} catch (e) {- throw e === qa ? Ya : e;+ throw e === Ka ? Ja : e;}else r = t;- t = ss();+ t = os();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 && (Bo.flags |= 2048, Fs(9, { destroy: void 0 }, Ns.bind(null, i, n), null)), [r,a,e];}- function Ps(e, t) {+ function Ns(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 Ps(e) {+ var t = os(), n = Vo;+ if (n !== null) return Ms(t, n, e);+ os(), t = t.memoizedState, n = os();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 Fs(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;+ }, t = Bo.updateQueue, t === null && (t = ss(), Bo.updateQueue = t), n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e), e;}- function Ls() {- return ss().memoizedState;+ function Is() {+ return os().memoizedState;+ }+ function Ls(e, t, n, r) {+ var i = as();+ Bo.flags |= e, i.memoizedState = Fs(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);}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 zs(e, t, n, r) {- var i = ss();r = r === void 0 ? null : r;var a = i.memoizedState.inst;- Ho !== null && r !== null && Qo(r, Ho.memoizedState.deps) ? i.memoizedState = Is(t, a, n, r) : (Vo.flags |= e, i.memoizedState = Is(1 | t, a, n, r));+ Vo !== null && r !== null && Zo(r, Vo.memoizedState.deps) ? i.memoizedState = Fs(t, a, n, r) : (Bo.flags |= e, i.memoizedState = Fs(1 | t, a, n, r));}- function Bs(e, t) {- Rs(8390656, 8, e, t);+ function zs(e, t) {+ Ls(8390656, 8, e, t);}- function Vs(e, t) {- zs(2048, 8, e, t);+ function Bs(e, t) {+ Rs(2048, 8, e, t);}- function Hs(e) {- Vo.flags |= 4;- var t = Vo.updateQueue;- if (t === null) t = cs(), Vo.updateQueue = t, t.events = [e];+ function Vs(e) {+ Bo.flags |= 4;+ var t = Bo.updateQueue;+ if (t === null) t = ss(), Bo.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 Hs(e) {+ var t = os().memoizedState;+ return Vs({ref: t,nextImpl: e}), function() {- if (nd & 2) throw Error(i(440));+ if (td & 2) throw Error(i(440));return t.impl.apply(void 0, arguments);};}+ function Us(e, t) {+ return Rs(4, 2, e, t);+ }function Ws(e, t) {- return zs(4, 2, e, t);+ return Rs(4, 4, e, t);}function Gs(e, t) {- return zs(4, 4, e, t);- }- function Ks(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 Ks(e, t, n) {+ n = n == null ? null : n.concat([e]), Rs(4, 4, Gs.bind(null, t, e), n);}- function Js() {}- function Ys(e, t) {- var n = ss();+ function qs() {}+ function Js(e, t) {+ var n = os();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 && Zo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);}- function Xs(e, t) {- var n = ss();+ function Ys(e, t) {+ var n = os();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 && Zo(t, r[1])) return r[0];+ if (r = e(), Go) {+ Qe(!0);try {e();} finally {- $e(!1);+ Qe(!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 = zd(), Vo.lanes |= e, pd |= e, n);+ function Xs(e, t, n) {+ return n === void 0 || zo & 1073741824 && !(id & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Rd(), Bo.lanes |= e, fd |= 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 = zd(), Vo.lanes |= e, pd |= e, t) : (e = Zs(e, n, r), Rr(e, t) || (Pc = !0), e);+ function Zs(e, t, n, r) {+ return Lr(n, t) ? n : Co.current === null ? !(zo & 106) || zo & 1073741824 && !(id & 261930) ? (Nc = !0, e.memoizedState = n) : (e = Rd(), Bo.lanes |= e, fd |= e, t) : (e = Xs(e, n, r), Lr(e, t) || (Nc = !0), e);}- function $s(e, t, n, r, i) {- var a = he.p;- he.p = a !== 0 && 8 > a ? a : 8;+ function Qs(e, t, n, r, i) {+ var a = L.p;+ L.p = a !== 0 && 8 > a ? a : 8;var o = me.T, s = {};- s.types = o === null ? null : o.types, me.T = s, dc(e, !1, t, n);+ s.types = o === null ? null : o.types, me.T = s, uc(e, !1, t, n);try {var c = i(), l = me.S;- l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? uc(e, t, Va(c, r), Rd(e)) : uc(e, t, r, Rd(e));+ l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? lc(e, t, Ba(c, r), Ld(e)) : lc(e, t, r, Ld(e));} catch (n) {- uc(e, t, {+ lc(e, t, {then: function() {},status: "rejected",reason: n- }, Rd());+ }, Ld());} finally {- he.p = a, o !== null && s.types !== null && (o.types = s.types), me.T = o;+ L.p = a, o !== null && s.types !== null && (o.types = s.types), me.T = o;}}- function ec() {}- function tc(e, t, n, r) {+ function $s() {}+ function ec(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 = tc(e).queue;+ Qs(e, a, t, he, n === null ? $s : function() {+ return nc(e), n(r);});}- function nc(e) {+ function tc(e) {var t = e.memoizedState;if (t !== null) return t;t = {- memoizedState: ge,- baseState: ge,+ memoizedState: he,+ baseState: he,baseQueue: null,queue: {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: fs,- lastRenderedState: ge+ lastRenderedReducer: ds,+ lastRenderedState: he},next: null};@@ -3783,41 +3783,41 @@ var k = /* @__PURE__ */ o(((e) => {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: fs,+ lastRenderedReducer: ds,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, {}, Rd());+ function nc(e) {+ var t = tc(e);+ t.next === null && (t = e.alternate.memoizedState), lc(e, t.next.queue, {}, Ld());+ }+ function rc() {+ return Sa(gh);}function ic() {- return Ca(gh);+ return os().memoizedState;}function ac() {- return ss().memoizedState;+ return os().memoizedState;}- function oc() {- return ss().memoizedState;- }- function sc(e) {+ function oc(e) {for (var t = e.return; t !== null;) {switch (t.tag) {case 24:case 3:- var n = Rd();- e = ho(n);- var r = go(t, e, n);- r !== null && (Vd(r, t, n), _o(r, t, n)), t = { cache: Aa() }, e.payload = t;+ var n = Ld();+ e = mo(n);+ var r = ho(t, e, n);+ r !== null && (Bd(r, t, n), go(r, t, n)), t = { cache: ka() }, e.payload = t;return;}t = t.return;}}- function cc(e, t, n) {- var r = Rd();+ function sc(e, t, n) {+ var r = Ld();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 && (Vd(n, e, r), mc(n, t, r)));+ }, dc(e) ? fc(t, n) : (n = Si(e, t, n, r), n !== null && (Bd(n, e, r), pc(n, t, r)));}- function lc(e, t, n) {- uc(e, t, n, Rd());+ function cc(e, t, n) {+ lc(e, t, n, Ld());}- function uc(e, t, n, r) {+ function lc(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 (dc(e)) fc(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, Lr(s, o)) return xi(e, t, i, 0), nd === null && bi(), !1;} catch {}- if (n = Ci(e, t, i, r), n !== null) return Vd(n, e, r), mc(n, t, r), !0;+ if (n = Si(e, t, i, r), n !== null) return Bd(n, e, r), pc(n, t, r), !0;}return !1;}- function dc(e, t, n, r) {+ function uc(e, t, n, r) {if (r = {lane: 2,- revertLane: Hf(),+ revertLane: Vf(),gesture: null,action: r,hasEagerState: !1,eagerState: null,next: null- }, fc(e)) {+ }, dc(e)) {if (t) throw Error(i(479));- } else t = Ci(e, n, r, 2), t !== null && Vd(t, e, 2);+ } else t = Si(e, n, r, 2), t !== null && Bd(t, e, 2);}- function fc(e) {+ function dc(e) {var t = e.alternate;- return e === Vo || t !== null && t === Vo;+ return e === Bo || t !== null && t === Bo;}- function pc(e, t) {- Go = Wo = !0;+ function fc(e, t) {+ Wo = Uo = !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 pc(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, gt(e, n);+ }+ }+ var mc = {+ readContext: Sa,+ use: ls,+ useCallback: Xo,+ useContext: Xo,+ useEffect: Xo,+ useImperativeHandle: Xo,+ useLayoutEffect: Xo,+ useInsertionEffect: Xo,+ useMemo: Xo,+ useReducer: Xo,+ useRef: Xo,+ useState: Xo,+ useDebugValue: Xo,+ useDeferredValue: Xo,+ useTransition: Xo,+ useSyncExternalStore: Xo,+ useId: Xo,+ useHostTransitionStatus: Xo,+ useFormState: Xo,+ useActionState: Xo,+ useOptimistic: Xo,+ useMemoCache: Xo,+ useCacheRefresh: Xo,+ useEffectEvent: Xo+ }, hc = {+ readContext: Sa,+ use: ls,useCallback: function(e, t) {- return os().memoizedState = [e, t === void 0 ? null : t], e;+ return as().memoizedState = [e, t === void 0 ? null : t], e;},- useContext: Ca,- useEffect: Bs,+ useContext: Sa,+ useEffect: zs,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]), Ls(4194308, 4, Gs.bind(null, t, e), n);},useLayoutEffect: function(e, t) {- return Rs(4194308, 4, e, t);+ return Ls(4194308, 4, e, t);},useInsertionEffect: function(e, t) {- Rs(4, 2, e, t);+ Ls(4, 2, e, t);},useMemo: function(e, t) {- var n = os();+ var n = as();t = t === void 0 ? null : t;var r = e();- if (Ko) {- $e(!0);+ if (Go) {+ Qe(!0);try {e();} finally {- $e(!1);+ Qe(!1);}}return n.memoizedState = [r, t], r;},useReducer: function(e, t, n) {- var r = os();+ var r = as();if (n !== void 0) {var i = n(t);- if (Ko) {- $e(!0);+ if (Go) {+ Qe(!0);try {n(t);} finally {- $e(!1);+ Qe(!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 = sc.bind(null, Bo, e), [r.memoizedState, e];},useRef: function(e) {- var t = os();+ var t = as();return e = { current: e }, t.memoizedState = e;},useState: function(e) {- e = Ss(e);- var t = e.queue, n = lc.bind(null, Vo, t);+ e = xs(e);+ var t = e.queue, n = cc.bind(null, Bo, t);return t.dispatch = n, [e.memoizedState, n];},- useDebugValue: Js,+ useDebugValue: qs,useDeferredValue: function(e, t) {- return Zs(os(), e, t);+ return Xs(as(), 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 = xs(!1);+ return e = Qs.bind(null, Bo, e.queue, !0, !1), as().memoizedState = e, [!1, e];},useSyncExternalStore: function(e, t, n) {- var r = Vo, a = os();- if (na) {+ var r = Bo, a = as();+ if (ta) {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(), nd === null) throw Error(i(349));+ id & 127 || gs(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, zs(vs.bind(null, r, o, e), [e]), r.flags |= 2048, Fs(9, { destroy: void 0 }, _s.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 = as(), t = nd.identifierPrefix;+ if (ta) {+ var n = qi, r = Ki;+ n = (r & ~(1 << 32 - $e(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = Ko++, 0 < n && (t += "H" + n.toString(32)), t += "_";+ } else n = Yo++, t = "_" + t + "r_" + n.toString(32) + "_";return e.memoizedState = t;},- useHostTransitionStatus: ic,- useFormState: js,- useActionState: js,+ useHostTransitionStatus: rc,+ useFormState: As,+ useActionState: As,useOptimistic: function(e) {- var t = os();+ var t = as();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 = uc.bind(null, Bo, !0, n), n.dispatch = t, [e, t];},- useMemoCache: ds,+ useMemoCache: us,useCacheRefresh: function() {- return os().memoizedState = sc.bind(null, Vo);+ return as().memoizedState = oc.bind(null, Bo);},useEffectEvent: function(e) {- var t = os(), n = { impl: e };+ var t = as(), n = { impl: e };return t.memoizedState = n, function() {- if (nd & 2) throw Error(i(440));+ if (td & 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,+ }, gc = {+ readContext: Sa,+ use: ls,+ useCallback: Js,+ useContext: Sa,+ useEffect: Bs,+ useImperativeHandle: Ks,+ useInsertionEffect: Us,+ useLayoutEffect: Ws,+ useMemo: Ys,+ useReducer: fs,+ useRef: Is,useState: function() {- return ps(fs);+ return fs(ds);},- useDebugValue: Js,+ useDebugValue: qs,useDeferredValue: function(e, t) {- return Qs(ss(), Ho.memoizedState, e, t);+ return Zs(os(), Vo.memoizedState, e, t);},useTransition: function() {- var e = ps(fs)[0], t = ss().memoizedState;- return [typeof e == "boolean" ? e : ls(e), t];+ var e = fs(ds)[0], t = os().memoizedState;+ return [typeof e == "boolean" ? e : cs(e), t];},- useSyncExternalStore: gs,- useId: ac,- useHostTransitionStatus: ic,- useFormState: Ms,- useActionState: Ms,+ useSyncExternalStore: hs,+ useId: ic,+ useHostTransitionStatus: rc,+ useFormState: js,+ useActionState: js,useOptimistic: function(e, t) {- return Cs(ss(), Ho, e, t);+ return Ss(os(), Vo, 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: us,+ useCacheRefresh: ac,+ useEffectEvent: Hs+ }, _c = {+ readContext: Sa,+ use: ls,+ useCallback: Js,+ useContext: Sa,+ useEffect: Bs,+ useImperativeHandle: Ks,+ useInsertionEffect: Us,+ useLayoutEffect: Ws,+ useMemo: Ys,+ useReducer: ms,+ useRef: Is,useState: function() {- return hs(fs);+ return ms(ds);},- useDebugValue: Js,+ useDebugValue: qs,useDeferredValue: function(e, t) {- var n = ss();- return Ho === null ? Zs(n, e, t) : Qs(n, Ho.memoizedState, e, t);+ var n = os();+ return Vo === null ? Xs(n, e, t) : Zs(n, Vo.memoizedState, e, t);},useTransition: function() {- var e = hs(fs)[0], t = ss().memoizedState;- return [typeof e == "boolean" ? e : ls(e), t];+ var e = ms(ds)[0], t = os().memoizedState;+ return [typeof e == "boolean" ? e : cs(e), t];},- useSyncExternalStore: gs,- useId: ac,- useHostTransitionStatus: ic,- useFormState: Fs,- useActionState: Fs,+ useSyncExternalStore: hs,+ useId: ic,+ useHostTransitionStatus: rc,+ useFormState: Ps,+ useActionState: Ps,useOptimistic: function(e, t) {- var n = ss();- return Ho === null ? (n.baseState = e, [e, n.queue.dispatch]) : Cs(n, Ho, e, t);+ var n = os();+ return Vo === null ? (n.baseState = e, [e, n.queue.dispatch]) : Ss(n, Vo, e, t);},- useMemoCache: ds,- useCacheRefresh: oc,- useEffectEvent: Us+ useMemoCache: us,+ useCacheRefresh: ac,+ useEffectEvent: Hs};- function yc(e, t, n, r) {+ function vc(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 yc = {enqueueSetState: function(e, t, n) {e = e._reactInternals;- var r = Rd(), i = ho(r);- i.payload = t, n != null && (i.callback = n), t = go(e, i, r), t !== null && (Vd(t, e, r), _o(t, e, r));+ var r = Ld(), i = mo(r);+ i.payload = t, n != null && (i.callback = n), t = ho(e, i, r), t !== null && (Bd(t, e, r), go(t, e, r));},enqueueReplaceState: function(e, t, n) {e = e._reactInternals;- var r = Rd(), i = ho(r);- i.tag = 1, i.payload = t, n != null && (i.callback = n), t = go(e, i, r), t !== null && (Vd(t, e, r), _o(t, e, r));+ var r = Ld(), i = mo(r);+ i.tag = 1, i.payload = t, n != null && (i.callback = n), t = ho(e, i, r), t !== null && (Bd(t, e, r), go(t, e, r));},enqueueForceUpdate: function(e, t) {e = e._reactInternals;- var n = Rd(), r = ho(n);- r.tag = 2, t != null && (r.callback = t), t = go(e, r, n), t !== null && (Vd(t, e, n), _o(t, e, n));+ var n = Ld(), r = mo(n);+ r.tag = 2, t != null && (r.callback = t), t = ho(e, r, n), t !== null && (Bd(t, e, n), go(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 bc(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 ? !Rr(n, r) || !Rr(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 xc(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 && yc.enqueueReplaceState(t, t.state, null);}- function Cc(e, t) {+ function Sc(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 Cc(e) {+ gi(e);}- function Tc(e) {+ function wc(e) {console.error(e);}- function Ec(e) {- _i(e);+ function Tc(e) {+ gi(e);}- function Dc(e, t) {+ function Ec(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 Dc(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 Oc(e, t, n) {+ return n = mo(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {+ Ec(e, t);}, n;}- function Ac(e) {- return e = ho(e), e.tag = 3, e;+ function kc(e) {+ return e = mo(e), e.tag = 3, e;}- function jc(e, t, n, r) {+ function Ac(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);+ Dc(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));+ Dc(t, n, r), typeof i != "function" && (wd === null ? wd = /* @__PURE__ */ new Set([this]) : wd.add(this));var e = r.stack;this.componentDidCatch(r.value, { componentStack: e === null ? "" : e });});}- function Mc(e, t, n, r, a) {+ function jc(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 && ya(t, n, a, !0), n = Oo.current, n !== null) {switch (n.tag) {case 31:case 13:- case 19: return Ao === null ? $d() : 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), Sf(e, r, a)), !1;- case 22: return n.flags |= 65536, r === Xa ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {+ case 19: return ko === null ? Qd() : n.alternate === null && dd === 0 && (dd = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Ya ? 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 === Ya ? 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)), Sf(e, r, a)), !1;+ }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([r]) : n.add(r)), xf(e, r, a)), !1;}throw Error(i(435, n.tag));}- return Sf(e, r, a), $d(), !1;+ return xf(e, r, a), Qd(), !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 (ta) return t = Oo.current, t === null ? (r !== ia && (t = Error(i(423), { cause: r }), da(Ri(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = Ri(r, n), a = Oc(e.stateNode, r, a), _o(e, a), dd !== 4 && (dd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== ia && (e = Error(i(422), { cause: r }), da(Ri(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 = Ri(o, n), _d === null ? _d = [o] : _d.push(o), dd !== 4 && (dd = 2), t === null) return !0;+ r = Ri(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 = Oc(n.stateNode, r, e), _o(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" && (wd === null || !wd.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = kc(a), Ac(a, e, n, r), _o(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 Mc = Error(i(461)), Nc = !1;+ function Pc(e, t, n, r) {+ t.child = e === null ? lo(t, null, n, r) : co(t, e.child, n, r);}- function Ic(e, t, n, r, i) {+ function Fc(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 xa(t), r = Qo(e, t, n, o, a, i), s = ns(), e !== null && !Nc ? (rs(e, t, i), ll(e, t, i)) : (ta && s && Xi(t), t.flags |= 1, Pc(e, t, r, i), t.child);}- function Lc(e, t, n, r, i) {+ function Ic(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" && !ki(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Lc(e, t, a, r, i)) : (e = Mi(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, !ul(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 ? Rr : n, n(o, r) && e.ref === t.ref) return ll(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 = Ai(a, r), e.ref = t.ref, e.return = t, t.child = e;}- function Rc(e, t, n, r, i) {+ function Lc(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 (Rr(a, r) && e.ref === t.ref) {+ if (Nc = !1, t.pendingProps = r = a, ul(e, i)) e.flags & 131072 && (Nc = !0);+ else return t.lanes = e.lanes, ll(e, t, i);}}- return Kc(e, t, n, r, i);+ return Gc(e, t, n, r, i);}- function zc(e, t, n, r) {+ function Rc(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 Bc(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 && Wa(t, a === null ? null : a.cachePool), a === null ? Eo() : To(t, a), Mo(t);+ else return r = t.lanes = 536870912, Bc(e, t, a === null ? n : a.baseLanes | n, n, r);+ } else a === null ? (e !== null && Wa(t, null), Eo(), No()) : (Wa(t, a.cachePool), To(t, a), No(), t.memoizedState = null);+ return Pc(e, t, i, n), t.child;}- function Bc(e, t) {+ function zc(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 Bc(e, t, n, r, i) {+ var a = Ua();return a = a === null ? null : {- parent: ka._currentValue,+ parent: Oa._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 && Wa(t, null), Eo(), Mo(t), e !== null && ya(e, t, r, !0), t.childLanes = i, null;}- function Hc(e, t) {- return t = tl({+ function Vc(e, t) {+ return t = el({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 Hc(e, t, n) {+ return co(t, e.child, null, n), e = Vc(t, t.pendingProps), e.flags |= 2, Po(t), t.memoizedState = null, e;}- function Wc(e, t, n) {+ function Uc(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 (ta) {+ if (r.mode === "hidden") return e = Vc(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 = {+ }, zc(null, e);+ if (jo(t), (e = ea) ? (e = mm(e, ra), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {dehydrated: e,- treeContext: Ki === null ? null : {- id: qi,- overflow: Ji+ treeContext: Gi === null ? null : {+ id: Ki,+ overflow: qi},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 = Fi(e), n.return = t, t.child = n, $i = t, ea = null)) : e = null, e === null) throw aa(t);return t.lanes = 536870912, null;}- return Hc(t, r);+ return Vc(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 (jo(t), a) {+ if (t.flags & 256) t.flags &= -257, t = Hc(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), Vd(r, e, s), Nc;- $d();+ } else if (Nc || ya(e, t, n, !1), a = (n & e.childLanes) !== 0, Nc || a) {+ if (Co.current === null) {+ if (r = nd, r !== null && (s = _t(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Ci(e, s), Bd(r, e, s), Mc;+ Qd();}- 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 = Hc(e, t, n);+ } else e = o.treeContext, ea = vm(s.nextSibling), $i = t, ta = !0, na = null, ra = !1, e !== null && Qi(t, e), t = Vc(t, r), t.flags |= 134221824;return t;}- return e = ji(e.child, {+ return e = Ai(e.child, {mode: r.mode,children: r.children}), e.ref = t.ref, t.child = e, e.return = t, e;}- function Gc(e, t) {+ function Wc(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 Gc(e, t, n, r, i) {+ return xa(t), n = Qo(e, t, n, r, void 0, i), r = ns(), e !== null && !Nc ? (rs(e, t, i), ll(e, t, i)) : (ta && r && Xi(t), t.flags |= 1, Pc(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 Kc(e, t, n, r, i, a) {+ return xa(t), t.updateQueue = null, n = es(t, r, n, i), $o(e), r = ns(), e !== null && !Nc ? (rs(e, t, a), ll(e, t, a)) : (ta && r && Xi(t), t.flags |= 1, Pc(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 qc(e, t, n, r, i) {+ if (xa(t), t.stateNode === null) {+ var a = Ei, o = n.contextType;+ typeof o == "object" && o && (a = Sa(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = yc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, fo(t), o = n.contextType, a.context = typeof o == "object" && o ? Sa(o) : Ei, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (vc(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 && yc.enqueueReplaceState(a, a.state, null), bo(t, r, a, i), yo(), 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 = Sc(n, s);a.props = c;var l = a.context, u = n.contextType;- o = Di, typeof u == "object" && u && (o = Ca(u));+ o = Ei, typeof u == "object" && u && (o = Sa(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) && xc(t, a, r, o), uo = !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, bo(t, r, a, i), yo(), l = t.memoizedState, s || f !== l || uo ? (typeof d == "function" && (vc(t, n, d, r), l = t.memoizedState), (c = uo || bc(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, po(e, t), o = t.memoizedProps, u = Sc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Ei, typeof l == "object" && l && (c = Sa(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) && xc(t, a, r, c), uo = !1, f = t.memoizedState, a.state = f, bo(t, r, a, i), yo();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 || uo || e !== null && e.dependencies !== null && ba(e.dependencies) ? (typeof s == "function" && (vc(t, n, s, r), p = t.memoizedState), (u = uo || bc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && ba(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, Wc(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 = co(t, e.child, null, i), t.child = co(t, null, n, i)) : Pc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = ll(e, t, i), e;}- function Yc(e, t, n, r) {- return ua(), t.flags |= 256, Fc(e, t, n, r), t.child;+ function Jc(e, t, n, r) {+ return la(), t.flags |= 256, Pc(e, t, n, r), t.child;}- var Xc = {+ var Yc = {dehydrated: null,treeContext: null,retryLane: 0,hydrationErrors: null};- function Zc(e) {+ function Xc(e) {return {baseLanes: e,- cachePool: Ka()+ cachePool: Ga()};}- function Qc(e, t, n) {- return e = e === null ? 0 : e.childLanes & ~n, t && (e |= gd), e;+ function Zc(e, t, n) {+ return e = e === null ? 0 : e.childLanes & ~n, t && (e |= hd), e;}- function $c(e, t, n) {+ function Qc(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 : !!(Fo.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {+ if (ta) {+ if (i ? Ao(t) : No(), (e = ea) ? (e = mm(e, ra), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {dehydrated: e,- treeContext: Ki === null ? null : {- id: qi,- overflow: Ji+ treeContext: Gi === null ? null : {+ id: Ki,+ overflow: qi},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 = Fi(e), n.return = t, t.child = n, $i = t, ea = null)) : e = null, e === null) throw aa(t);return t.lanes = gm(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 ? (No(), i = t.mode, a = el({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 = Ni(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Xc(n), r.childLanes = Zc(e, o, n), t.memoizedState = Yc, zc(null, r)) : (Ao(t), $c(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 nl(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 ? (No(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = Ai(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 = Ni(i, a, n, null), i.flags |= 2) : i = Ai(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, zc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Xc(n) : (a = i.cachePool, a === null ? a = Ga() : (s = Oa._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 = Zc(e, o, n), t.memoizedState = Yc, zc(e.child, r)) : (Ao(t), n = e.child, e = n.sibling, n = Ai(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 $c(e, t) {+ return t = el({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 el(e, t) {+ return e = Oi(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 tl(e, t, n) {+ return co(t, e.child, null, n), e = $c(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 nl(e, t, n, r, a, o, s, c) {+ if (n) return t.flags & 256 ? (Ao(t), t.flags &= -257, tl(e, t, c)) : t.memoizedState === null ? (No(), o = a.fallback, s = t.mode, a = el({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 = Ni(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, co(t, e.child, null, c), a = t.child, a.memoizedState = Xc(c), a.childLanes = Zc(e, r, c), t.memoizedState = Yc, zc(null, a)) : (No(), t.child = e.child, t.flags |= 128, null);+ if (Ao(t), gm(o)) {if (r = o.nextSibling && o.nextSibling.dataset, r) var l = r.dgst;- return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, fa({+ return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, da({value: a,source: null,stack: null- })), nl(e, t, c);+ })), tl(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), Vd(r, e, a), Nc;- return hm(o) || $d(), nl(e, t, c);+ if (Nc || ya(e, t, c, !1), r = (c & e.childLanes) !== 0, Nc || r) {+ if (Co.current !== null) return tl(e, t, c);+ if (r = nd, r !== null && (a = _t(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Ci(e, a), Bd(r, e, a), Mc;+ return hm(o) || Qd(), tl(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 hm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, ea = vm(o.nextSibling), $i = t, ta = !0, na = null, ra = !1, e !== null && Qi(t, e), t = $c(t, a.children), t.flags |= 134221824, t);}- function il(e, t, n) {+ function rl(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), _a(e.return, t, n);}- function al(e) {+ function il(e) {for (var t = null; e !== null;) {var n = e.alternate;- n !== null && zo(n) === null && (t = e), e = e.sibling;+ n !== null && Ro(n) === null && (t = e), e = e.sibling;}return t;}- function ol(e, t, n, r, i, a) {+ function al(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 ol(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 sl(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 = Fo.current;+ if (t.flags & 128) return Io(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, Io(t, o), i === "backwards" && e !== null ? (ol(e), Pc(e, t, r, n), ol(e)) : Pc(e, t, r, n), r = ta ? Hi : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {+ if (e.tag === 13) e.memoizedState !== null && rl(e, n, t);+ else if (e.tag === 19) rl(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 = il(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, ol(t)), al(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 && Ro(e) === null) {t.child = i;break;}e = i.sibling, i.sibling = n, n = i, i = e;}- ol(t, !0, n, null, a, r);+ al(t, !0, n, null, a, r);break;case "together":- ol(t, !1, null, null, void 0, r);+ al(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 = il(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), al(t, !1, i, n, a, r);}return t.child;}- function ll(e, t, n) {+ function cl(e, t, n) {var r = t.pendingProps;- return ga(t, t.type, r.value), Fc(e, t, r.children, n), t.child;+ return ha(t, t.type, r.value), Pc(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 ll(e, t, n) {+ if (e !== null && (t.dependencies = e.dependencies), fd |= t.lanes, (n & t.childLanes) === 0) {if (e !== null) {- if (ba(e, t, n, !1), (n & t.childLanes) === 0) return null;+ if (ya(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 = Ai(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = Ai(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 ul(e, t) {+ return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && ba(e)));}- function fl(e, t, n) {+ function dl(e, t, n) {switch (t.tag) {case 3:- Ee(t, t.stateNode.containerInfo), ga(t, ka, e.memoizedState.cache), ua();+ Te(t, t.stateNode.containerInfo), ha(t, Oa, e.memoizedState.cache), la();break;case 27:case 5:- Oe(t);+ De(t);break;case 4:- Ee(t, t.stateNode.containerInfo);+ Te(t, t.stateNode.containerInfo);break;case 10:- ga(t, t.type, t.memoizedProps.value);+ ha(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, jo(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 Ao(t), t.flags |= 128, null;+ r = ya(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 ? Qc(e, t, n) : (Ao(t), e = ll(e, t, n), e === null ? null : e.sibling);}- jo(t);+ Ao(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 sl(e, t, n);+ if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (ya(e, t, n, !1), (n & t.childLanes) !== 0), i) {+ if (r) return sl(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), Io(t, Fo.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, Rc(e, t, n, t.pendingProps);+ case 24: ha(t, Oa, e.memoizedState.cache);}- return ul(e, t, n);+ return ll(e, t, n);}- function pl(e, t, n) {+ function fl(e, t, n) {if (e !== null) {- if (e.memoizedProps !== t.pendingProps) Pc = !0;+ if (e.memoizedProps !== t.pendingProps) Nc = !0;else {- if (!dl(e, n) && !(t.flags & 128)) return Pc = !1, fl(e, t, n);- Pc = !!(e.flags & 131072);+ if (!ul(e, n) && !(t.flags & 128)) return Nc = !1, dl(e, t, n);+ Nc = !!(e.flags & 131072);}- } else Pc = !1, na && t.flags & 1048576 && Xi(t, Ui, t.index);+ } else Nc = !1, ta && t.flags & 1048576 && Yi(t, Hi, 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 = Qa(t.elementType), t.type = e, typeof e == "function") ki(e) ? (r = Sc(e, r), t.tag = 1, t = qc(null, t, e, r, n)) : (t.tag = 0, t = Gc(null, t, e, r, n));else {if (e != null) {var a = e.$$typeof;if (a === P) {- t.tag = 11, t = Ic(null, t, e, r, n);+ t.tag = 11, t = Fc(null, t, e, r, n);break a;}if (a === F) {- t.tag = 14, t = Lc(null, t, e, r, n);+ t.tag = 14, t = Ic(null, t, e, r, n);break a;}if (a === te) {- t.tag = 10, t.type = e, t = ll(null, t, n);+ t.tag = 10, t.type = e, t = cl(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 Gc(e, t, t.type, t.pendingProps, n);+ case 1: return r = t.type, a = Sc(r, t.pendingProps), qc(e, t, r, a, n);case 3:a: {- if (Ee(t, t.stateNode.containerInfo), e === null) throw Error(i(387));+ if (Te(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, po(e, t), bo(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, ha(t, Oa, r), r !== o.cache && va(t, [Oa], n, !0), yo(), 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 = Jc(e, t, r, n);break a;}if (r !== a) {- a = zi(Error(i(424)), t), fa(a), t = Yc(e, t, r, n);+ a = Ri(Error(i(424)), t), da(a), t = Jc(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 (ea = vm(e.firstChild), $i = t, ta = !0, na = null, ra = !0, n = lo(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 (la(), r === a) {+ t = ll(e, t, n);break a;}- Fc(e, t, r, n);+ Pc(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 = Sp(t.type, t.pendingProps, we.current, t)) : t.memoizedState = Hm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;- case 27: return Oe(t), e === null && na && (r = t.stateNode = wm(t.type, t.pendingProps, we.current), ea = t, ia = !0, a = ta, 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, Cp(a, o) ? r = null : s !== null && Cp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = $o(e, t, ns, null, null, n), gh._currentValue = a), Gc(e, t), Fc(e, t, r, n), t.child;- case 6: return e === null && na && ((e = n = ta) && (n = pm(n, t.pendingProps, ia), n === null ? e = !1 : (t.stateNode = n, ea = t, ta = null, e = !0)), e || oa(t)), null;- case 13: return $c(e, t, n);- case 4: return Ee(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = lo(t, null, r, n) : Fc(e, t, r, n), t.child;- case 11: return Ic(e, t, t.type, t.pendingProps, n);- 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 Wc(e, t), e === null ? (n = Hm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : ta || (t.stateNode = xp(t.type, t.pendingProps, Ce.current, t)) : t.memoizedState = Hm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;+ case 27: return De(t), e === null && ta && (r = t.stateNode = wm(t.type, t.pendingProps, Ce.current), $i = t, ra = !0, a = ea, jp(t.type) ? (ym = a, ea = vm(r.firstChild)) : ea = a), Pc(e, t, t.pendingProps.children, n), Wc(e, t), e === null && (t.flags |= 4194304), t.child;+ case 5: return e === null && ta && ((a = r = ea) && (r = fm(r, t.type, t.pendingProps, ra), r === null ? a = !1 : (t.stateNode = r, $i = t, ea = vm(r.firstChild), ra = !1, a = !0)), a || aa(t)), De(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 = Qo(e, t, ts, null, null, n), gh._currentValue = a), Wc(e, t), Pc(e, t, r, n), t.child;+ case 6: return e === null && ta && ((e = n = ea) && (n = pm(n, t.pendingProps, ra), n === null ? e = !1 : (t.stateNode = n, $i = t, ea = null, e = !0)), e || aa(t)), null;+ case 13: return Qc(e, t, n);+ case 4: return Te(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = co(t, null, r, n) : Pc(e, t, r, n), t.child;+ case 11: return Fc(e, t, t.type, t.pendingProps, n);+ case 7: return r = t.pendingProps, Wc(e, t), Pc(e, t, r, n), t.child;+ case 8: return Pc(e, t, t.pendingProps.children, n), t.child;+ case 12: return Pc(e, t, t.pendingProps.children, n), t.child;+ case 10: return cl(e, t, n);+ case 9: return a = t.type._context, r = t.pendingProps.children, xa(t), a = Sa(a), r = r(a), t.flags |= 1, Pc(e, t, r, n), t.child;+ case 14: return Ic(e, t, t.type, t.pendingProps, n);+ case 15: return Lc(e, t, t.type, t.pendingProps, n);+ case 19: return sl(e, t, n);+ case 31: return Uc(e, t, n);+ case 22: return Rc(e, t, n, t.pendingProps);+ case 24: return xa(t), r = Sa(Oa), e === null ? (a = Ua(), a === null && (a = nd, o = ka(), 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 = {+ }, fo(t), ha(t, Oa, a)) : ((e.lanes & n) !== 0 && (po(e, t), bo(t, null, null, n), yo()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, ha(t, Oa, r), r !== a.cache && va(t, [Oa], 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), ha(t, Oa, r))), Pc(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 : ta && Xi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Wc(e, t), Pc(e, t, r.children, n), t.child;case 29: throw t.pendingProps;}throw Error(i(156, t.tag));}- function ml(e) {+ function pl(e) {e.flags |= 4;}- function hl(e, t, n, r, i) {+ function ml(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 (e.flags |= 16777216, (i & 335544128) === i) {if (e.stateNode.complete) e.flags |= 8192;- else if (Xd()) e.flags |= 8192;- else throw eo = Xa, Ja;+ else if (Yd()) e.flags |= 8192;+ else throw $a = Ya, qa;}} else e.flags &= -16777217;}- function gl(e, t) {+ function hl(e, t) {if (t.type !== "stylesheet" || t.state.loading & 4) e.flags &= -16777217;else if (e.flags |= 16777216, !ih(t)) {- if (Xd()) e.flags |= 8192;- else throw eo = Xa, Ja;+ if (Yd()) e.flags |= 8192;+ else throw $a = Ya, qa;}}- function _l(e, t) {- t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : ft(), e.lanes |= t, _d |= t);+ function gl(e, t) {+ t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : dt(), e.lanes |= t, gd |= t);}- function vl(e, t) {- if (!na) switch (e.tailMode) {+ function _l(e, t) {+ if (!ta) 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 vl(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 yl(e, t, n) {var r = t.pendingProps;- switch (Qi(t), t.tag) {+ switch (Zi(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 vl(t), null;+ case 1: return vl(t), null;+ case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), ga(Oa), Ee(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (ca(t) ? pl(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, ua())), vl(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 ? (pl(t), o === null ? (vl(t), ml(t, a, null, r, n)) : (vl(t), hl(t, o))) : o ? o === e.memoizedState ? (vl(t), t.flags &= -16777217) : (pl(t), vl(t), hl(t, o)) : (e = e.memoizedProps, e !== r && pl(t), vl(t), ml(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 (Oe(t), n = Ce.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && pl(t);else {if (!r) {if (t.stateNode === null) throw Error(i(166));- return yl(t), t.subtreeFlags &= -33554433, null;+ return vl(t), t.subtreeFlags &= -33554433, null;}- e = Se.current, la(t) ? sa(t, e) : (e = wm(a, r, n), t.stateNode = e, ml(t));+ e = xe.current, ca(t) ? oa(t, e) : (e = wm(a, r, n), t.stateNode = e, pl(t));}- return yl(t), t.subtreeFlags &= -33554433, null;+ return vl(t), t.subtreeFlags &= -33554433, null;case 5:- if (ke(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ml(t);+ if (Oe(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && pl(t);else {if (!r) {if (t.stateNode === null) throw Error(i(166));- return yl(t), t.subtreeFlags &= -33554433, null;+ return vl(t), t.subtreeFlags &= -33554433, null;}- if (o = Se.current, la(t)) sa(t, o);+ if (o = xe.current, ca(t)) oa(t, o);else {- var s = yp(we.current);+ var s = vp(Ce.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[Ct] = t, o[wt] = 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 (fp(o, a, r), a) {+ a: switch (dp(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 && pl(t);}}- return yl(t), t.subtreeFlags &= -33554433, hl(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;+ return vl(t), t.subtreeFlags &= -33554433, ml(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 && pl(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 = Ce.current, ca(t)) {+ if (e = t.stateNode, n = t.memoizedProps, r = null, a = $i, a !== null) switch (a.tag) {case 27:case 5: r = a.memoizedProps;}- e[wt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || lp(e.nodeValue, n)), e || oa(t, !0);- } else e = yp(e).createTextNode(r), e[wt] = t, t.stateNode = e;+ e[Ct] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || cp(e.nodeValue, n)), e || aa(t, !0);+ } else e = vp(e).createTextNode(r), e[Ct] = t, t.stateNode = e;}- return yl(t), null;+ return vl(t), null;case 31:if (n = t.memoizedState, e === null || e.memoizedState !== null) {- if (r = la(t), n !== null) {+ if (r = ca(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[Ct] = t;+ } else la(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;+ vl(t), e = !1;+ } else n = ua(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;+ if (!e) return t.flags & 256 ? (Po(t), t) : (Po(t), null);if (t.flags & 128) throw Error(i(558));}- return yl(t), null;+ return vl(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 = ca(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[Ct] = t;+ } else la(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;+ vl(t), a = !1;+ } else a = ua(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;+ if (!a) return t.flags & 256 ? (Po(t), t) : (Po(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 && $f(t.stateNode.containerInfo), t.flags |= 67108864, yl(t), null;- case 10: return _a(t.type), yl(t), null;+ return Po(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), gl(t, t.updateQueue), vl(t), null);+ case 4: return Ee(), e === null && Qf(t.stateNode.containerInfo), t.flags |= 67108864, vl(t), null;+ case 10: return ga(t.type), vl(t), null;case 19:- if (Ro(t), r = t.memoizedState, r === null) return yl(t), null;+ if (Lo(t), r = t.memoizedState, r === null) return vl(t), null;if (a = !!(t.flags & 128), o = r.rendering, o === null) {- if (a) vl(r, !1);+ if (a) _l(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 (dd !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {+ if (o = Ro(e), o !== null) {+ for (t.flags |= 128, _l(r, !1), e = o.updateQueue, t.updateQueue = e, gl(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) ji(n, e), n = n.sibling;+ return Io(t, Fo.current & 1 | 2), ta && Ji(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 && Ve() > Sd && (t.flags |= 128, a = !0, _l(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 = Ro(o), e !== null) {+ if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, gl(t, e), _l(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !ta) return vl(t), null;+ } else 2 * Ve() - r.renderingStartTime > Sd && n !== 536870912 && (t.flags |= 128, a = !0, _l(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 = Ve(), e.sibling = null, o = Fo.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || ta ? Io(t, o) : (n = o, be(Oo, t), be(Fo, n), ko === null && (ko = t)), ta && Ji(t, r.treeForkCount), e;}- return yl(t), null;+ return vl(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 Po(t), Do(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (vl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : vl(t), n = t.updateQueue, n !== null && gl(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 && ye(Ha), null;+ case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), ga(Oa), vl(t), null;case 25: return null;- case 30: return t.flags |= 33554432, yl(t), null;+ case 30: return t.flags |= 33554432, vl(t), null;}throw Error(i(156, t.tag));}- function xl(e, t) {- switch (Qi(t), t.tag) {+ function bl(e, t) {+ switch (Zi(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 ga(Oa), Ee(), 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 Oe(t), null;case 31:if (t.memoizedState !== null) {- if (Fo(t), t.alternate === null) throw Error(i(340));- ua();+ if (Po(t), t.alternate === null) throw Error(i(340));+ la();}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 (Po(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {if (t.alternate === null) throw Error(i(340));- ua();+ la();}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 Lo(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 Ee(), null;+ case 10: return ga(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 Po(t), Do(), e !== null && ye(Ha), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;+ case 24: return ga(Oa), null;case 25: return null;default: return null;}}- function Sl(e, t) {- switch (Qi(t), t.tag) {+ function xl(e, t) {+ switch (Zi(t), t.tag) {case 3:- _a(ka), De();+ ga(Oa), Ee();break;case 26:case 27:case 5:- ke(t);+ Oe(t);break;case 4:- De();+ Ee();break;case 31:- t.memoizedState !== null && Fo(t);+ t.memoizedState !== null && Po(t);break;case 13:- Fo(t);+ Po(t);break;case 19:- Ro(t);+ Lo(t);break;case 10:- _a(t.type);+ ga(t.type);break;case 22:case 23:- Fo(t), Oo(), e !== null && be(Ua);+ Po(t), Do(), e !== null && ye(Ha);break;- case 24: _a(ka);+ case 24: ga(Oa);}}- function Cl(e, t) {+ function Sl(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) {- xf(t, t.return, e);+ bf(t, t.return, e);}}- function wl(e, t, n) {+ function Cl(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) {- xf(i, c, e);+ bf(i, c, e);}}}@@ -5031,29 +5031,29 @@ var k = /* @__PURE__ */ o(((e) => {} while (r !== a);}} catch (e) {- xf(t, t.return, e);+ bf(t, t.return, e);}}- function Tl(e) {+ function wl(e) {var t = e.updateQueue;if (t !== null) {var n = e.stateNode;try {- Co(t, n);+ So(t, n);} catch (t) {- xf(e, e.return, t);+ bf(e, e.return, t);}}}- function El(e, t, n) {- n.props = Cc(e.type, e.memoizedProps), n.state = e.memoizedState;+ function Tl(e, t, n) {+ n.props = Sc(e.type, e.memoizedProps), n.state = e.memoizedState;try {n.componentWillUnmount();} catch (n) {- xf(e, t, n);+ bf(e, t, n);}}- function Dl(e, t) {+ function El(e, t) {try {var n = e.ref;if (n !== null) {@@ -5064,7 +5064,7 @@ var k = /* @__PURE__ */ o(((e) => {var r = e.stateNode;break;case 30:- var i = e.stateNode, a = mi(e.memoizedProps, i);+ var i = e.stateNode, a = pi(e.memoizedProps, i);(i.ref === null || i.ref.name !== a) && (i.ref = Up(a)), r = i.ref;break;case 7:@@ -5079,43 +5079,43 @@ var k = /* @__PURE__ */ o(((e) => {typeof n == "function" ? e.refCleanup = n(r) : n.current = r;}} catch (n) {- xf(e, t, n);+ bf(e, t, n);}}- function Ol(e, t) {+ function Dl(e, t) {var n = e.ref, r = e.refCleanup;if (n !== null) {if (typeof r == "function") try {r();} catch (n) {- xf(e, t, n);+ bf(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) {- xf(e, t, n);+ bf(e, t, n);}else n.current = null;}}- function kl(e, t) {+ function Ol(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 kl(e) {+ for (var t = e.return; t !== null && (Ml(t) && lm(e.stateNode, t.stateNode), !jl(t));) t = t.return;+ }function Al(e) {- for (var t = e.return; t !== null && (Nl(t) && lm(e.stateNode, t.stateNode), !Ml(t));) t = t.return;+ for (var t = e.return; t !== null && (Ml(t) && um(e.stateNode, t.stateNode), !jl(t));) t = t.return;}function jl(e) {- for (var t = e.return; t !== null && (Nl(t) && um(e.stateNode, t.stateNode), !Ml(t));) t = t.return;- }- function Ml(e) {return e.tag === 5 || e.tag === 3 || e.tag === 27;}- function Nl(e) {+ function Ml(e) {return e && e.tag === 7 && e.stateNode !== null;}- function Pl(e) {+ function Nl(e) {var t = e.type, n = e.memoizedProps, r = e.stateNode;try {a: switch (t) {@@ -5128,24 +5128,24 @@ var k = /* @__PURE__ */ o(((e) => {case "img": n.src ? r.src = n.src : n.srcSet && (r.srcset = n.srcSet);}} catch (t) {- xf(e, e.return, t);+ bf(e, e.return, t);}}- function Fl(e, t, n) {+ function Pl(e, t, n) {try {var r = e.stateNode;- mp(r, e.type, n, t), r[Tt] = t;+ pp(r, e.type, n, t), r[wt] = t;} catch (t) {- xf(e, e.return, t);+ bf(e, e.return, t);}}- function Il(e) {+ function Fl(e) {return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && jp(e.type) || e.tag === 4;}- function Ll(e) {+ function Il(e) {a: for (;;) {for (; e.sibling === null;) {- if (e.return === null || Il(e.return)) return null;+ if (e.return === null || Fl(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;) {@@ -5155,39 +5155,39 @@ var k = /* @__PURE__ */ o(((e) => {if (!(e.flags & 2)) return e.stateNode;}}- function Rl(e, t, n, r) {+ function Ll(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 = xn)), 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 = bn)), Ol(e, r), qt = !0;+ else if (i !== 4 && (i === 27 && (Ol(e, r), r = null, jp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Ll(e, t, n, r), e = e.sibling; e !== null;) Ll(e, t, n, r), e = e.sibling;}- function zl(e, t, n, r) {+ function Rl(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), Ol(e, r), qt = !0;+ else if (i !== 4 && (i === 27 && (Ol(e, r), r = null, jp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Rl(e, t, n, r), e = e.sibling; e !== null;) Rl(e, t, n, r), e = e.sibling;}- function Bl(e) {+ function zl(e) {var t = e.stateNode, n = e.memoizedProps;try {for (var r = e.type, i = t.attributes; i.length;) t.removeAttributeNode(i[0]);- fp(t, r, n), t[wt] = e, t[Tt] = n;+ dp(t, r, n), t[Ct] = e, t[wt] = n;} catch (t) {- xf(e, e.return, t);+ bf(e, e.return, t);}}- var Vl = !1, Hl = null;- function Ul(e) {- (e.tag === 30 || e.subtreeFlags & 33554432) && (Vl = !0);+ var Bl = !1, Vl = null;+ function Hl(e) {+ (e.tag === 30 || e.subtreeFlags & 33554432) && (Bl = !0);}- var Wl = null;- function Gl() {- var e = Wl;- return Wl = null, e;+ var Ul = null;+ function Wl() {+ var e = Ul;+ return Ul = null, e;}- var Kl = 0;- function U(e, t, n, r, i) {- return Kl = 0, ql(e.child, t, n, r, i);+ var Gl = 0;+ function W(e, t, n, r, i) {+ return Gl = 0, Kl(e.child, t, n, r, i);}- function ql(e, t, n, r, i) {+ function Kl(e, t, n, r, i) {for (var a = !1; e !== null;) {if (e.tag === 5) {var o = e.stateNode;@@ -5195,36 +5195,36 @@ var k = /* @__PURE__ */ o(((e) => {var s = Lp(o);r.push(s), s.view && (a = !0);} else a || Lp(o).view && (a = !0);- Vl = !0, Pp(o, Kl === 0 ? t : t + "_" + Kl, n), Kl++;- } else e.tag === 22 && e.memoizedState !== null || e.tag === 30 && i || ql(e.child, t, n, r, i) && (a = !0);+ Bl = !0, Pp(o, Gl === 0 ? t : t + "_" + Gl, n), Gl++;+ } else e.tag === 22 && e.memoizedState !== null || e.tag === 30 && i || Kl(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 ql(e, t) {+ for (; e !== null;) e.tag === 5 ? Fp(e.stateNode, e.memoizedProps) : e.tag === 22 && e.memoizedState !== null || e.tag === 30 && t || ql(e.child, t), e = e.sibling;}- function Yl(e) {+ function Jl(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) && (Jl(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" && (U(e, n, t, null, !1) || Jl(e.child, !1));+ t = hi(t.default, t.share), t !== "none" && (W(e, n, t, null, !1) || ql(e.child, !1));}e = e.sibling;}}- function Xl(e, t) {+ function Yl(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) : U(e, i, a, null, !1) ? (Yl(e), n.paired || t || Bd(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 = pi(r, n), a = hi(r.default, n.paired ? r.share : r.enter);+ a === "none" ? Jl(e) : W(e, i, a, null, !1) ? (Jl(e), n.paired || t || zd(e, r.onEnter)) : ql(e.child, !1);+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Yl(e, t), e = e.sibling;+ else Jl(e);+ }+ function Xl(e) {+ if (Vl !== null && Vl.size !== 0) {+ var t = Vl;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" && (U(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Bd(e, n.onShare)) : Jl(e.child, !1)), t.delete(r), t.size === 0) break;+ var a = hi(n.default, n.share);+ if (a !== "none" && (W(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, zd(e, n.onShare)) : ql(e.child, !1)), t.delete(r), t.size === 0) break;}}}- Zl(e);+ Xl(e);}e = e.sibling;}}}- function Ql(e) {+ function Zl(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" && (U(e, n, i, null, !1) ? r === void 0 ? Bd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Hl.delete(n), Bd(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 = pi(t, e.stateNode), r = Vl === null ? void 0 : Vl.get(n), i = hi(t.default, r === void 0 ? t.exit : t.share);+ i !== "none" && (W(e, n, i, null, !1) ? r === void 0 ? zd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Vl.delete(n), zd(e, t.onShare)) : ql(e.child, !1)), Vl !== null && Xl(e);+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Zl(e), e = e.sibling;+ else Vl !== null && Xl(e);}- function $l(e) {+ function Ql(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" && U(e, n, t, e.memoizedState = [], !1);- } else e.subtreeFlags & 33554432 && $l(e);+ var t = e.memoizedProps, n = pi(t, e.stateNode);+ t = hi(t.default, t.update), e.flags &= -5, t !== "none" && W(e, n, t, e.memoizedState = [], !1);+ } else e.subtreeFlags & 33554432 && Ql(e);e = e.sibling;}}- function eu(e) {+ function $l(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, ql(e.child, !1));}- eu(e);+ $l(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 eu(e) {+ if (e.tag === 30) e.stateNode.paired = null, ql(e.child, !1), $l(e);+ else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) eu(e), e = e.sibling;+ else $l(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;+ function tu(e) {+ for (e = e.child; e !== null;) e.tag === 30 ? ql(e.child, !1) : e.subtreeFlags & 33554432 && tu(e), e = e.sibling;}- function ru(e, t, n, r, i, a, o) {+ function nu(e, t, n, r, i, a, o) {for (var s = !1; t !== null;) {if (t.tag === 5) {var c = t.stateNode;- if (a !== null && Kl < a.length) {- var l = a[Kl], u = Lp(c);+ if (a !== null && Gl < a.length) {+ var l = a[Gl], u = Lp(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, 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 : ru(e, t.child, n, r, i, a, o) && (s = !0));+ 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 : nu(e, t.child, n, r, i, a, o) && (s = !0));t = t.sibling;}return s;}- function iu(e, t) {+ function ru(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 = pi(n, r), a = hi(n.default, n.update);if (t) {r = r.clones;var o = r === null ? null : r.map(Rp);} else o = e.memoizedState, e.memoizedState = null;r = e;var s = e.child;- Kl = 0, i = ru(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || Bd(e, n.onUpdate));- } else e.subtreeFlags & 33554432 && iu(e, t);+ Gl = 0, i = nu(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || zd(e, n.onUpdate));+ } else e.subtreeFlags & 33554432 && ru(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, _p = Th, e = Wr(e), Gr(e)) {+ var iu = !1, au = !1, ou = !1, su = !1, cu = typeof WeakSet == "function" ? WeakSet : Set, lu = null, uu = !1, du = !1, fu = !1, pu = !1;+ function mu(e, t, n) {+ if (e = e.containerInfo, gp = Th, e = Ur(e), Wr(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 (vp = {+ for (_p = {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 && Ul(e), gu(n);+ }, Th = !1, n = (n & 335544064) === n, lu = t, t = n ? 9270 : 1024; lu !== null;) {+ if (e = lu, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && Zl(r[a]);+ if (e.alternate === null && e.flags & 2) n && Hl(e), hu(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 && Zl(r), hu(n);continue;}if (r !== null && r.memoizedState !== null) {- n && Ul(e), gu(n);+ n && Hl(e), hu(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, lu = r) : (n && Ql(e), hu(n));}}- Hl = null;+ Vl = null;}- function gu(e) {- for (; uu !== null;) {- var t = uu, n = e, r = t.alternate, a = t.flags;+ function hu(e) {+ for (; lu !== null;) {+ var t = lu, n = e, r = t.alternate, a = t.flags;switch (t.tag) {case 0:case 11:@@ -5393,10 +5393,10 @@ 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 = Sc(t.type, a);n = o.getSnapshotBeforeUpdate(s, r), o.__reactInternalSnapshotBeforeUpdate = n;} catch (e) {- xf(t, t.return, e);+ bf(t, t.return, e);}}break;@@ -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" && U(r, n, a, r.memoizedState = [], !0));+ n && r !== null && (n = pi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = hi(a.default, a.update), a !== "none" && W(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, lu = r;break;}- uu = t.return;+ lu = t.return;}}- function _u(e, t, n) {+ function gu(e, t, n) {var r = n.flags;switch (n.tag) {case 0:case 11:case 15:- Lu(e, n), r & 4 && Cl(5, n);+ Iu(e, n), r & 4 && Sl(5, n);break;case 1:- if (Lu(e, n), r & 4) {+ if (Iu(e, n), r & 4) {if (e = n.stateNode, t === null) try {e.componentDidMount();} catch (e) {- xf(n, n.return, e);+ bf(n, n.return, e);}else {- var i = Cc(n.type, t.memoizedProps);+ var i = Sc(n.type, t.memoizedProps);t = t.memoizedState;try {e.componentDidUpdate(i, t, e.__reactInternalSnapshotBeforeUpdate);} catch (e) {- xf(n, n.return, e);+ bf(n, n.return, e);}}}- r & 64 && Tl(n), r & 512 && Dl(n, n.return);+ r & 64 && wl(n), r & 512 && El(n, n.return);break;case 3:- if (Lu(e, n), r & 64 && (e = n.updateQueue, e !== null)) {+ if (Iu(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);+ So(e, t);} catch (e) {- xf(n, n.return, e);+ bf(n, n.return, e);}}break;- case 27: t === null && r & 4 && Bl(n);+ case 27: t === null && r & 4 && zl(n);case 26:case 5:- Lu(e, n), t === null && r & 4 && Pl(n), r & 512 && Dl(n, n.return);+ Iu(e, n), t === null && r & 4 && Nl(n), r & 512 && El(n, n.return);break;case 12:- Lu(e, n);+ Iu(e, n);break;case 31:- Lu(e, n), r & 4 && Eu(e, n);+ Iu(e, n), r & 4 && Tu(e, n);break;case 13:- Lu(e, n), r & 4 && Du(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = Tf.bind(null, n), _m(e, n))));+ Iu(e, n), r & 4 && Eu(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = wf.bind(null, n), _m(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 || iu, !r) {+ var a = t !== null && t.memoizedState !== null || au;+ t = iu, i = au, iu = r, (au = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), Ru(e, n, r)) : Iu(e, n), iu = t, au = i;}break;case 30:- Lu(e, n), r & 512 && Dl(n, n.return);+ Iu(e, n), r & 512 && El(n, n.return);break;- case 7: r & 512 && Dl(n, n.return);- default: Lu(e, n);+ case 7: r & 512 && El(n, n.return);+ default: Iu(e, n);}}- function vu(e, t) {- for (e = e.child; e !== null;) yu(e, t), e = e.sibling;+ function _u(e, t) {+ for (e = e.child; e !== null;) vu(e, t), e = e.sibling;}- function yu(e, t) {+ function vu(e, t) {switch (e.tag) {case 5:case 26:@@ -5518,15 +5518,15 @@ var k = /* @__PURE__ */ o(((e) => {i.style.display = o == null || typeof o == "boolean" ? "" : ("" + o).trim();}} catch (t) {- xf(e, e.return, t);+ bf(e, e.return, t);}- bu(e, t);+ yu(e, t);break;case 6:try {- e.stateNode.nodeValue = t ? "" : e.memoizedProps, Jt = !0;+ e.stateNode.nodeValue = t ? "" : e.memoizedProps, qt = !0;} catch (t) {- xf(e, e.return, t);+ bf(e, e.return, t);}break;case 18:@@ -5534,138 +5534,138 @@ var k = /* @__PURE__ */ o(((e) => {var s = e.stateNode;t ? Np(s, !0) : Np(e.stateNode, !1);} catch (t) {- xf(e, e.return, t);+ bf(e, e.return, t);}break;case 22:case 23:- e.memoizedState === null && vu(e, t);+ e.memoizedState === null && _u(e, t);break;- default: vu(e, t);+ default: _u(e, t);}}- function bu(e, t) {+ function yu(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);+ vu(n, r);break a;case 22:- n.memoizedState === null && bu(n, r);+ n.memoizedState === null && yu(n, r);break a;- default: bu(n, r);+ default: yu(n, r);}}e = e.sibling;}}- function xu(e) {+ function bu(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;+ t !== null && (e.alternate = null, bu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && Mt(t)), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;}- var Su = null, Cu = !1;- function wu(e, t, n) {- for (n = n.child; n !== null;) Tu(e, t, n), n = n.sibling;+ var xu = null, Su = !1;+ function Cu(e, t, n) {+ for (n = n.child; n !== null;) wu(e, t, n), n = n.sibling;}- function Tu(e, t, n) {- if (Qe && typeof Qe.onCommitFiberUnmount == "function") try {- Qe.onCommitFiberUnmount(Ze, n);+ function wu(e, t, n) {+ if (Ze && typeof Ze.onCommitFiberUnmount == "function") try {+ Ze.onCommitFiberUnmount(Xe, 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));+ au || Dl(n, t), Cu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !au && (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;+ au || Dl(n, t), Al(n);+ var r = xu, i = Su;+ jp(n.type) && (xu = n.stateNode, Su = !1), Cu(e, t, n), Tm(n.stateNode, n.type, n.memoizedProps), xu = r, Su = i;break;- case 5: ou || Ol(n, t), jl(n);+ case 5: au || Dl(n, t), Al(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 && Al(n), r = xu, i = Su, xu = null, Cu(e, t, n), xu = r, Su = i, xu !== null) {+ if (Su) try {+ (xu.nodeType === 9 ? xu.body : xu.nodeName === "HTML" ? xu.ownerDocument.body : xu).removeChild(n.stateNode), qt = !0;} catch (e) {- xf(n, t, e);+ bf(n, t, e);}else try {- Su.removeChild(n.stateNode), Jt = !0;+ xu.removeChild(n.stateNode), qt = !0;} catch (e) {- xf(n, t, e);+ bf(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));+ xu !== null && (Su ? (e = xu, Mp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Zh(e)) : Mp(xu, n.stateNode));break;case 4:- r = Su, i = Cu, Su = n.stateNode.containerInfo, Cu = !0, wu(e, t, n), Su = r, Cu = i;+ r = xu, i = Su, xu = n.stateNode.containerInfo, Su = !0, Cu(e, t, n), xu = r, Su = i;break;case 0:case 11:case 14:case 15:- wl(2, n, t), ou || wl(4, n, t), wu(e, t, n);+ Cl(2, n, t), au || Cl(4, n, t), Cu(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);+ au || (Dl(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && Tl(n, t, r)), Cu(e, t, n);break;case 21:- wu(e, t, n);+ Cu(e, t, n);break;case 22:- ou = (r = ou) || n.memoizedState !== null, wu(e, t, n), ou = r;+ au = (r = au) || n.memoizedState !== null, Cu(e, t, n), au = r;break;case 30:- Ol(n, t), wu(e, t, n);+ Dl(n, t), Cu(e, t, n);break;case 7:- ou || Ol(n, t), wu(e, t, n);+ au || Dl(n, t), Cu(e, t, n);break;- default: wu(e, t, n);+ default: Cu(e, t, n);}}- function Eu(e, t) {+ function Tu(e, t) {if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null))) {e = e.dehydrated;try {Zh(e);} catch (e) {- xf(t, t.return, e);+ bf(t, t.return, e);}}}- function Du(e, t) {+ function Eu(e, t) {if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null && (e = e.dehydrated, e !== null)))) try {Zh(e);} catch (e) {- xf(t, t.return, e);+ bf(t, t.return, e);}}- function Ou(e) {+ function Du(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 cu()), t;+ case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new cu()), t;default: throw Error(i(435, e.tag));}}- function ku(e, t) {- var n = Ou(e);+ function Ou(e, t) {+ var n = Du(e);t.forEach(function(t) {if (!n.has(t)) {n.add(t);- var r = Ef.bind(null, e, t);+ var r = Tf.bind(null, e, t);t.then(r, r);}});}- function Au(e, t, n) {+ function ku(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;@@ -5673,27 +5673,27 @@ var k = /* @__PURE__ */ o(((e) => {switch (l.tag) {case 27:if (jp(l.type)) {- Su = l.stateNode, Cu = !1;+ xu = l.stateNode, Su = !1;break a;}break;case 5:- Su = l.stateNode, Cu = !1;+ xu = l.stateNode, Su = !1;break a;case 3:case 4:- Su = l.stateNode.containerInfo, Cu = !0;+ xu = l.stateNode.containerInfo, Su = !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 (xu === null) throw Error(i(160));+ wu(s, c, o), xu = null, Su = !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;) ju(t, e, n), t = t.sibling;}- var ju = null;- function Mu(e, t, n) {+ var Au = null;+ function ju(e, t, n) {var r = e.alternate, a = e.flags;switch (e.tag) {case 0:@@ -5704,23 +5704,23 @@ 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));+ ku(t, e, n), Mu(e), a & 4 && (Cl(3, e, e.return), Sl(3, e), Cl(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))));+ ku(t, e, n), Mu(e), a & 512 && (au || r === null || Dl(r, r.return)), a & 64 && iu && (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 = Au, ku(t, e, n), Mu(e), a & 512 && (au || r === null || Dl(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 = Sp(e.type, e.memoizedProps, t.containerInfo, e);+ if (iu) e.stateNode = xp(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"))), fp(r, t, n), r[wt] = e, Rt(r), t = r;+ r = a.getElementsByTagName("title")[0], (!r || r[At] || r[Ct] || 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[Ct] = e, Lt(r), t = r;break a;case "link":if (o = eh("link", "href", a).get(t + (n.href || ""))) {@@ -5729,7 +5729,7 @@ var k = /* @__PURE__ */ o(((e) => {break b;}}- r = a.createElement(t), fp(r, t, n), a.head.appendChild(r);+ r = a.createElement(t), dp(r, t, n), a.head.appendChild(r);break;case "meta":if (o = eh("meta", "content", a).get(t + (n.content || ""))) {@@ -5738,86 +5738,86 @@ var k = /* @__PURE__ */ o(((e) => {break b;}}- r = a.createElement(t), fp(r, t, n), a.head.appendChild(r);+ r = a.createElement(t), dp(r, t, n), a.head.appendChild(r);break;default: throw Error(i(468, t));}- r[wt] = e, Rt(r), t = r;+ r[Ct] = e, Lt(r), t = r;}e.stateNode = t;}- } else au || th(o, e.type, e.stateNode);+ } else iu || 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 a === n ? n === null && e.stateNode !== null && Pl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || au || t.parentNode.removeChild(t)) : a.count--, n === null ? iu || th(o, e.type, e.stateNode) : Ym(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);+ ku(t, e, n), Mu(e), a & 512 && (au || r === null || Dl(r, r.return)), r !== null && a & 4 && Pl(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 = ou, ou = !1, ku(t, e, n), ou = o, Mu(e), a & 512 && (au || r === null || Dl(r, r.return)), e.flags & 32) {t = e.stateNode;try {- pn(t, ""), Jt = !0;+ fn(t, ""), qt = !0;} catch (t) {- xf(e, e.return, t);+ bf(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, Pl(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (su = !0);break;case 6:- if (Au(t, e, n), Nu(e), a & 4) {+ if (ku(t, e, n), Mu(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, qt = !0;} catch (t) {- xf(e, e.return, t);+ bf(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 {+ if (qt = !1, $m = null, o = Au, Au = km(t.containerInfo), ku(t, e, n), Au = o, Mu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {Zh(t.containerInfo);} catch (t) {- xf(e, e.return, t);+ bf(e, e.return, t);}- cu && (cu = !1, Pu(e)), Jt = !1;+ su && (su = !1, Nu(e)), qt = !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 = ou, ou = iu, r = Jt(), o = Au, Au = km(e.stateNode.containerInfo), ku(t, e, n), Mu(e), Au = o, qt && du && (fu = !0), qt = r, ou = a;break;case 12:- Au(t, e, n), Nu(e);+ ku(t, e, n), Mu(e);break;case 31:- Au(t, e, n), Nu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ku(e, t)));+ ku(t, e, n), Mu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Ou(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)));+ ku(t, e, n), Mu(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (bd = Ve()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Ou(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 = iu, l = au, u = ou;+ iu = c || o, ou = u || o, au = l || s, ku(t, e, n), au = l, ou = u, iu = c, Mu(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || iu || au || (t = s || au, n = iu, r = au, iu = o || iu, au = t, Lu(e, 2), iu = n, au = r), !o && ou || _u(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, Ou(e, n))));break;case 19:- Au(t, e, n), Nu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ku(e, t)));+ ku(t, e, n), Mu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Ou(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 && (au || r === null || Dl(r, r.return)), a = Jt(), o = du, s = (n & 335544064) === n, c = e.memoizedProps, du = s && hi(c.default, c.update) !== "none", ku(t, e, n), Mu(e), s && r !== null && qt && (e.flags |= 4), du = o, qt = 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 && (au || r === null || Dl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);+ default: ku(t, e, n), Mu(e);}}- function Nu(e) {+ function Mu(e) {var t = e.flags;if (t & 2) {try {for (var n, r = e.return; r !== null;) {- if (Il(r)) {+ if (Fl(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 (Ml(a)) {var o = a.stateNode;r === null ? r = [o] : r.push(o);}- if (Ml(a)) break;+ if (jl(a)) break;a = a.return;}var s = r;@@ -5837,43 +5837,43 @@ var k = /* @__PURE__ */ o(((e) => {switch (n.tag) {case 27:var c = n.stateNode;- zl(e, Ll(e), c, s);+ Rl(e, Il(e), c, s);break;case 5:var l = n.stateNode;- n.flags & 32 && (pn(l, ""), n.flags &= -33), zl(e, Ll(e), l, s);+ n.flags & 32 && (fn(l, ""), n.flags &= -33), Rl(e, Il(e), l, s);break;case 3:case 4:var u = n.stateNode.containerInfo;- Rl(e, Ll(e), u, s);+ Ll(e, Il(e), u, s);break;default: throw Error(i(161));}} catch (t) {- xf(e, e.return, t);+ bf(e, e.return, t);}e.flags &= -3;}t & 4096 && (e.flags &= -4097);}- function Pu(e) {+ function Nu(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;+ Nu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, Th = !0, t.reset(), Th = !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 Pu(e, t) {+ if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Fu(t, e), t = t.sibling;+ else ru(t, !1);}- function Iu(e, t) {+ function Fu(e, t) {var n = e.alternate;- if (n === null) Xl(e, !1);+ if (n === null) Yl(e, !1);else switch (e.tag) {case 3:- if (mu = du = !1, Gl(), Fu(t, e), !du && !pu) {- if (e = Wl, e !== null) for (var r = 0; r < e.length; r += 3) {+ if (pu = uu = !1, Wl(), Pu(t, e), !uu && !fu) {+ if (e = Ul, 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({@@ -5899,33 +5899,33 @@ var k = /* @__PURE__ */ o(((e) => {duration: 0,fill: "forwards",pseudoElement: "::view-transition"- })), mu = !0;+ })), pu = !0;}- Wl = null;+ Ul = null;break;case 5:- Fu(t, e);+ Pu(t, e);break;case 4:- r = du, du = !1, Fu(t, e), du && (pu = !0), du = r;+ r = uu, uu = !1, Pu(t, e), uu && (fu = !0), uu = r;break;case 22:- e.memoizedState === null && (n.memoizedState === null ? Fu(t, e) : Xl(e, !1));+ e.memoizedState === null && (n.memoizedState === null ? Pu(t, e) : Yl(e, !1));break;case 30:- r = du, i = Gl(), du = !1, Fu(t, e), du && (e.flags |= 4);+ r = uu, i = Wl(), uu = !1, Pu(t, e), uu && (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, Kl = 0, t = ru(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), du = e.flags & 32 ? !0 : r;+ t = pi(a, o), o = pi(n.memoizedProps, o);+ var s = hi(a.default, a.update);+ s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Gl = 0, t = nu(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), uu = e.flags & 32 ? !0 : r;break;- default: Fu(t, e);+ default: Pu(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 Iu(e, t) {+ if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) gu(e, t.alternate, t), t = t.sibling;}- function Ru(e, t) {+ function Lu(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);+ Cl(4, n, n.return), Lu(n, r);break;case 1:- Ol(n, n.return);+ Dl(n, n.return);var i = n.stateNode;- typeof i.componentWillUnmount == "function" && El(n, n.return, i), Ru(n, r);+ typeof i.componentWillUnmount == "function" && Tl(n, n.return, i), Lu(n, r);break;case 27: r & 2 && Tm(n.stateNode, n.type, n.memoizedProps);case 5:- Ol(n, n.return), n.tag !== 5 && n.tag !== 27 || jl(n), Ru(n, r);+ Dl(n, n.return), n.tag !== 5 && n.tag !== 27 || Al(n), Lu(n, r);break;case 6:- jl(n);+ Al(n);break;case 26:- Ol(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || ou || i.parentNode.removeChild(i), Ru(n, r);+ Dl(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || au || i.parentNode.removeChild(i), Lu(n, r);break;case 22:- n.memoizedState === null && Ru(n, r);+ n.memoizedState === null && Lu(n, r);break;case 30:- Ol(n, n.return), Ru(n, r);+ Dl(n, n.return), Lu(n, r);break;- case 7: Ol(n, n.return);- default: Ru(n, r);+ case 7: Dl(n, n.return);+ default: Lu(n, r);}e = e.sibling;}}- function zu(e, t, n) {+ function Ru(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);+ Ru(i, a, n), Sl(4, a);break;case 1:- if (zu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {+ if (Ru(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {i.componentDidMount();} catch (e) {- xf(r, r.return, e);+ bf(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++) xo(l[i], c);} catch (e) {- xf(r, r.return, e);+ bf(r, r.return, e);}}- s && o & 64 && Tl(a), Dl(a, a.return);+ s && o & 64 && wl(a), El(a, a.return);break;- case 27: n & 2 && Bl(a);+ case 27: n & 2 && zl(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 || kl(a), Ru(i, a, n), s && r === null && o & 4 && Nl(a), El(a, a.return);break;case 6:- Al(a);+ kl(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 || iu || th(km(c.ownerDocument), a.type, c), Ru(i, a, n), s && r === null && o & 4 && Nl(a), El(a, a.return);break;case 12:- zu(i, a, n);+ Ru(i, a, n);break;case 31:- zu(i, a, n), s && o & 4 && Eu(i, a);+ Ru(i, a, n), s && o & 4 && Tu(i, a);break;case 13:- zu(i, a, n), s && o & 4 && Du(i, a);+ Ru(i, a, n), s && o & 4 && Eu(i, a);break;case 22:- a.memoizedState === null && zu(i, a, n), Dl(a, a.return);+ a.memoizedState === null && Ru(i, a, n), El(a, a.return);break;case 30:- zu(i, a, n), Dl(a, a.return);+ Ru(i, a, n), El(a, a.return);break;- case 7: Dl(a, a.return);- default: zu(i, a, n);+ case 7: El(a, a.return);+ default: Ru(i, a, n);}t = t.sibling;}}- function Bu(e, t) {+ function zu(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 && Aa(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 Bu(e, t) {+ e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && Aa(e));}- function Hu(e, t, n, r) {+ function Vu(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;) Hu(e, t, n, r), t = t.sibling;+ else i && tu(t);}- function Uu(e, t, n, r) {+ function Hu(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 && eu(t);var a = t.flags;switch (t.tag) {case 0:case 11:case 15:- Hu(e, t, n, r), a & 2048 && Cl(9, t);+ Vu(e, t, n, r), a & 2048 && Sl(9, t);break;case 1:- Hu(e, t, n, r);+ Vu(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)));+ Vu(e, t, n, r), i && pu && (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 && Aa(a)));break;case 12:if (a & 2048) {- Hu(e, t, n, r), a = t.stateNode;+ Vu(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) {- xf(t, t.return, e);+ bf(t, t.return, e);}- } else Hu(e, t, n, r);+ } else Vu(e, t, n, r);break;case 31:- Hu(e, t, n, r);+ Vu(e, t, n, r);break;case 13:- Hu(e, t, n, r);+ Vu(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 && eu(t), o._visibility & 2 ? Vu(e, t, n, r) : (o._visibility |= 2, Uu(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && eu(s), o._visibility & 2 ? Vu(e, t, n, r) : Wu(e, t)), a & 2048 && zu(s, t);break;case 24:- Hu(e, t, n, r), a & 2048 && Vu(t.alternate, t);+ Vu(e, t, n, r), a & 2048 && Bu(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 && (ql(a.child, !0), ql(t.child, !0))), Vu(e, t, n, r);break;- default: Hu(e, t, n, r);+ default: Vu(e, t, n, r);}}- function Wu(e, t, n, r, i) {+ function Uu(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);+ Uu(a, o, s, c, i), Sl(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, Uu(a, o, s, c, i)) : u._visibility & 2 ? Uu(a, o, s, c, i) : Wu(a, o), i && l & 2048 && zu(o.alternate, o);break;case 24:- Wu(a, o, s, c, i), i && l & 2048 && Vu(o.alternate, o);+ Uu(a, o, s, c, i), i && l & 2048 && Bu(o.alternate, o);break;- default: Wu(a, o, s, c, i);+ default: Uu(a, o, s, c, i);}t = t.sibling;}}- function Gu(e, t) {+ function Wu(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);+ Wu(n, r), i & 2048 && zu(r.alternate, r);break;case 24:- Gu(n, r), i & 2048 && Vu(r.alternate, r);+ Wu(n, r), i & 2048 && Bu(r.alternate, r);break;- default: Gu(n, r);+ default: Wu(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 Gu = 8192;+ function Ku(e, t, n) {+ if (e.subtreeFlags & Gu) for (e = e.child; e !== null;) qu(e, t, n), e = e.sibling;}- function Ju(e, t, n) {+ function qu(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));+ Ku(e, t, n), e.flags & Gu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && oh(n, e)) : sh(n, Au, e.memoizedState, e.memoizedProps));break;case 5:- qu(e, t, n), e.flags & Ku && (e = e.stateNode, (t & 335544128) === t && oh(n, e));+ Ku(e, t, n), e.flags & Gu && (e = e.stateNode, (t & 335544128) === t && oh(n, e));break;case 3:case 4:- var r = ju;- ju = km(e.stateNode.containerInfo), qu(e, t, n), ju = r;+ var r = Au;+ Au = km(e.stateNode.containerInfo), Ku(e, t, n), Au = 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 = Gu, Gu = 16777216, Ku(e, t, n), Gu = r) : Ku(e, t, n));break;case 30:- if ((e.flags & Ku) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {+ if ((e.flags & Gu) !== 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, Vl === null && (Vl = /* @__PURE__ */ new Map()), Vl.set(r, i);}- qu(e, t, n);+ Ku(e, t, n);break;- default: qu(e, t, n);+ default: Ku(e, t, n);}}- function Yu(e) {+ function Ju(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 Yu(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);+ lu = r, Qu(r, e);}- Yu(e);+ Ju(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;) Xu(e), e = e.sibling;}- function Zu(e) {+ function Xu(e) {switch (e.tag) {case 0:case 11:case 15:- Xu(e), e.flags & 2048 && wl(9, e, e.return);+ Yu(e), e.flags & 2048 && Cl(9, e, e.return);break;case 3:- Xu(e);+ Yu(e);break;case 12:- Xu(e);+ Yu(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, Zu(e)) : Yu(e);break;- default: Xu(e);+ default: Yu(e);}}- function Qu(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);+ lu = r, Qu(r, e);}- Yu(e);+ Ju(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);+ Cl(8, t, t.return), Zu(t);break;case 22:- n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, Qu(t));+ n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, Zu(t));break;- default: Qu(t);+ default: Zu(t);}e = e.sibling;}}- function $u(e, t) {- for (; uu !== null;) {- var n = uu;+ function Qu(e, t) {+ for (; lu !== null;) {+ var n = lu;switch (n.tag) {case 0:case 11:case 15:- wl(8, n, t);+ Cl(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: Aa(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, lu = r;+ else a: for (n = e; lu !== null;) {+ r = lu;var i = r.sibling, a = r.return;- if (xu(r), r === n) {- uu = null;+ if (bu(r), r === n) {+ lu = null;break a;}if (i !== null) {- i.return = a, uu = i;+ i.return = a, lu = i;break a;}- uu = a;+ lu = a;}}}- var ed = {+ var $u = {getCacheForType: function(e) {- var t = Ca(ka), n = t.data.get(e);+ var t = Sa(Oa), 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 Sa(Oa).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, Nd = null, Pd = null, Fd = null, Id = 0, Ld = null;- function Rd() {- return nd & 2 && ad !== 0 ? ad & -ad : me.T === null ? xt() : Hf();+ }, ed = typeof WeakMap == "function" ? WeakMap : Map, td = 0, nd = null, rd = null, id = 0, ad = 0, od = null, sd = !1, cd = !1, ld = !1, ud = 0, dd = 0, fd = 0, pd = 0, md = 0, hd = 0, gd = 0, _d = null, vd = null, yd = !1, bd = 0, xd = 0, Sd = Infinity, Cd = null, wd = null, Td = 0, Ed = null, Dd = null, Od = 0, kd = 0, Ad = null, jd = null, Md = null, Nd = null, Pd = null, Fd = 0, Id = null;+ function Ld() {+ return td & 2 && id !== 0 ? id & -id : me.T === null ? bt() : Vf();}- function zd() {- if (gd === 0) {- if (!(ad & 536870912) || na) {- var e = at;- at <<= 1, !(at & 3932160) && (at = 262144), gd = e;- } else gd = 536870912;+ function Rd() {+ if (hd === 0) {+ if (!(id & 536870912) || ta) {+ var e = it;+ it <<= 1, !(it & 3932160) && (it = 262144), hd = e;+ } else hd = 536870912;}- return e = ko.current, e !== null && (e.flags |= 32), gd;+ return e = Oo.current, e !== null && (e.flags |= 32), hd;}- function Bd(e, t) {+ function zd(e, t) {if (t != null) {var n = e.stateNode, r = n.ref;- r === null && (r = n.ref = Up(mi(e.memoizedProps, n))), Pd === null && (Pd = []), Pd.push(t.bind(null, r));+ r === null && (r = n.ref = Up(pi(e.memoizedProps, n))), Nd === null && (Nd = []), Nd.push(t.bind(null, r));}}- function Vd(e, t, n) {- (e === rd && (od === 2 || od === 9) || e.cancelPendingCommit !== null) && (Jd(e, 0), Gd(e, ad, gd, !1)), mt(e, n), nd & 2 && e === rd || (e === rd && (!(nd & 2) && (md |= n), fd === 4 && Gd(e, ad, gd, !1)), Pf(e));+ function Bd(e, t, n) {+ (e === nd && (ad === 2 || ad === 9) || e.cancelPendingCommit !== null) && (qd(e, 0), Wd(e, id, hd, !1)), pt(e, n), td & 2 && e === nd || (e === nd && (!(td & 2) && (pd |= n), dd === 4 && Wd(e, id, hd, !1)), Nf(e));}- function Hd(e, t, n) {- if (nd & 6) throw Error(i(327));- var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || lt(e, t), a = r ? nf(e, t) : ef(e, t, !0), o = r;+ function Vd(e, t, n) {+ if (td & 6) throw Error(i(327));+ var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || ct(e, t), a = r ? tf(e, t) : $d(e, t, !0), o = r;do {if (a === 0) {- ld && !r && Gd(e, t, 0, !1);+ cd && !r && Wd(e, t, 0, !1);break;}- if (n = e.current.alternate, o && !Wd(n)) a = ef(e, t, !1), o = !1;+ if (n = e.current.alternate, o && !Ud(n)) a = $d(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 = _d;var l = c.current.memoizedState.isDehydrated;- if (l && (Jd(c, s).flags |= 256), s = ef(c, s, !1), s !== 2 && s !== 6) {- if (ud && !l) {- c.errorRecoveryDisabledLanes |= o, md |= o, a = 4;+ if (l && (qd(c, s).flags |= 256), s = $d(c, s, !1), s !== 2 && s !== 6) {+ if (ld && !l) {+ c.errorRecoveryDisabledLanes |= o, pd |= o, a = 4;break a;}- o = yd, yd = a, o !== null && (yd === null ? yd = o : yd.push.apply(yd, o));+ o = vd, vd = a, o !== null && (vd === null ? vd = o : vd.push.apply(vd, o));}a = s;}@@ -6304,7 +6304,7 @@ var k = /* @__PURE__ */ o(((e) => {}}if (a === 1) {- Jd(e, 0), Gd(e, t, 0, !0);+ qd(e, 0), Wd(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:- Gd(r, t, gd, !cd);+ Wd(r, t, hd, !sd);break a;case 2:- yd = null;+ vd = null;break;case 3:case 5: break;default: throw Error(i(329));}- if ((t & 62914560) === t && (a = xd + 300 - He(), 10 < a)) {- if (Gd(r, t, gd, !cd), ct(r, 0, !0) !== 0) break a;- kd = t, r.timeoutHandle = Ep(Ud.bind(null, r, n, yd, wd, bd, t, gd, md, _d, cd, o, "Throttled", -0, 0), a);+ if ((t & 62914560) === t && (a = bd + 300 - Ve(), 10 < a)) {+ if (Wd(r, t, hd, !sd), st(r, 0, !0) !== 0) break a;+ Od = t, r.timeoutHandle = Tp(Hd.bind(null, r, n, vd, Cd, yd, t, hd, pd, gd, sd, o, "Throttled", -0, 0), a);break a;}- Ud(r, n, yd, wd, bd, t, gd, md, _d, cd, o, null, -0, 0);+ Hd(r, n, vd, Cd, yd, t, hd, pd, gd, sd, o, null, -0, 0);}break;}} while (1);- Pf(e);+ Nf(e);}- function Ud(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {+ function Hd(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: xn- }, Hl = null, Ju(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = dh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? xd - He() : (a & 4194048) === a ? Sd - He() : 0, m = lh(d, m), m !== null) ? (kd = a, e.cancelPendingCommit = m(uf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Gd(e, a, o, !l)) : uf(e, t, a, n, r, i, o, s, c, l, u, d);+ unsuspend: bn+ }, Vl = null, qu(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 ? bd - Ve() : (a & 4194048) === a ? xd - Ve() : 0, m = lh(d, m), m !== null) ? (Od = 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);}- function Wd(e) {+ function Ud(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 (!Lr(a(), i)) return !1;} catch {return !1;}@@ -6372,281 +6372,281 @@ var k = /* @__PURE__ */ o(((e) => {}return !0;}- function Gd(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 Wd(e, t, n, r) {+ t = lt(e, t), t &= ~md, t &= ~pd, 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 - $e(i), o = 1 << a;r[a] = -1, i &= ~o;}- n !== 0 && gt(e, n, t);+ n !== 0 && ht(e, n, t);}- function Kd() {- return nd & 6 ? !0 : (Ff(0, !1), !1);+ function Gd() {+ return td & 6 ? !0 : (Pf(0, !1), !1);}- function qd() {- 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;+ function Kd() {+ if (rd !== null) {+ if (ad === 0) var e = rd.return;+ else e = rd, ma = pa = null, is(e), no = null, ro = 0, e = rd;+ for (; e !== null;) xl(e.alternate, e), e = e.return;+ rd = null;}}- function Jd(e, t) {+ function qd(e, t) {var n = e.timeoutHandle;- return n !== -1 && (e.timeoutHandle = -1, Dp(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), kd = 0, qd(), 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;+ return n !== -1 && (e.timeoutHandle = -1, Ep(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Od = 0, Kd(), nd = e, rd = n = Ai(e.current, null), id = t, ad = 0, od = null, sd = !1, cd = ct(e, t), ld = !1, gd = hd = md = pd = fd = dd = 0, vd = _d = null, yd = !1, ud = lt(e, t), bi(), n;}- function Yd(e, t) {- Vo = null, me.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)));+ function Jd(e, t) {+ Bo = null, me.H = mc, t === Ka || t === Ja ? (t = eo(), ad = 3) : t === qa ? (t = eo(), ad = 4) : ad = t === Mc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, od = t, rd === null && (dd = 1, Ec(e, Ri(t, e.current)));}- function Xd() {- var e = ko.current;- return e === null ? !0 : (ad & 4194048) === ad ? Ao === null : (ad & 62914560) === ad || ad & 536870912 ? e === Ao : !1;+ function Yd() {+ var e = Oo.current;+ return e === null ? !0 : (id & 4194048) === id ? ko === null : (id & 62914560) === id || id & 536870912 ? e === ko : !1;}- function Zd() {+ function Xd() {var e = me.H;- return me.H = hc, e === null ? hc : e;+ return me.H = mc, e === null ? mc : e;}- function Qd() {+ function Zd() {var e = me.A;- return me.A = ed, e;+ return me.A = $u, e;}- function $d() {- fd = 4, cd || (ad & 4194048) !== ad && ko.current !== null || (ld = !0), !(pd & 134217727) && !(md & 134217727) || rd === null || Gd(rd, ad, gd, !1);- }- function ef(e, t, n) {- var r = nd;- nd |= 2;- var i = Zd(), a = Qd();- (rd !== e || ad !== t) && (wd = null, Jd(e, t)), t = !1;- var o = fd;+ function Qd() {+ dd = 4, sd || (id & 4194048) !== id && Oo.current !== null || (cd = !0), !(fd & 134217727) && !(pd & 134217727) || nd === null || Wd(nd, id, hd, !1);+ }+ function $d(e, t, n) {+ var r = td;+ td |= 2;+ var i = Xd(), a = Zd();+ (nd !== e || id !== t) && (Cd = null, qd(e, t)), t = !1;+ var o = dd;a: dotry {- if (od !== 0 && id !== null) {- var s = id, c = sd;- switch (od) {+ if (ad !== 0 && rd !== null) {+ var s = rd, c = od;+ switch (ad) {case 8:- qd(), o = 6;+ Kd(), 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, sf(e, s, c, l), n && ld) {+ Oo.current === null && (t = !0);+ var l = ad;+ if (ad = 0, od = null, of(e, s, c, l), n && cd) {o = 0;break a;}break;- default: l = od, od = 0, sd = null, sf(e, s, c, l);+ default: l = ad, ad = 0, od = null, of(e, s, c, l);}}- tf(), o = fd;+ ef(), o = dd;break;} catch (t) {- Yd(e, t);+ Jd(e, t);}while (1);- return t && e.shellSuspendCounter++, ha = ma = null, nd = r, me.H = i, me.A = a, id === null && (rd = null, ad = 0, xi()), o;+ return t && e.shellSuspendCounter++, ma = pa = null, td = r, me.H = i, me.A = a, rd === null && (nd = null, id = 0, bi()), o;}- function tf() {- for (; id !== null;) af(id);+ function ef() {+ for (; rd !== null;) rf(rd);}- function nf(e, t) {- var n = nd;- nd |= 2;- var r = Zd(), a = Qd();- rd !== e || ad !== t ? (wd = null, Cd = He() + 500, Jd(e, t)) : ld = lt(e, t);+ function tf(e, t) {+ var n = td;+ td |= 2;+ var r = Xd(), a = Zd();+ nd !== e || id !== t ? (Cd = null, Sd = Ve() + 500, qd(e, t)) : cd = ct(e, t);a: dotry {- if (od !== 0 && id !== null) {- t = id;- var o = sd;- b: switch (od) {+ if (ad !== 0 && rd !== null) {+ t = rd;+ var o = od;+ b: switch (ad) {case 1:- od = 0, sd = null, sf(e, t, o, 1);+ ad = 0, od = null, of(e, t, o, 1);break;case 2:case 9:- if (Za(o)) {- od = 0, sd = null, of(t);+ if (Xa(o)) {+ ad = 0, od = null, af(t);break;}t = function() {- od !== 2 && od !== 9 || rd !== e || (od = 7), Pf(e);+ ad !== 2 && ad !== 9 || nd !== e || (ad = 7), Nf(e);}, o.then(t, t);break a;case 3:- od = 7;+ ad = 7;break a;case 4:- od = 5;+ ad = 5;break a;case 7:- Za(o) ? (od = 0, sd = null, of(t)) : (od = 0, sd = null, sf(e, t, o, 7));+ Xa(o) ? (ad = 0, od = null, af(t)) : (ad = 0, od = null, of(e, t, o, 7));break;case 5:var s = null;- switch (id.tag) {- case 26: s = id.memoizedState;+ switch (rd.tag) {+ case 26: s = rd.memoizedState;case 5:case 27:- var c = id;+ var c = rd;if (s ? ih(s) : c.stateNode.complete) {- od = 0, sd = null;+ ad = 0, od = null;var l = c.sibling;- if (l !== null) id = l;+ if (l !== null) rd = l;else {var u = c.return;- u === null ? id = null : (id = u, cf(u));+ u === null ? rd = null : (rd = u, sf(u));}break b;}}- od = 0, sd = null, sf(e, t, o, 5);+ ad = 0, od = null, of(e, t, o, 5);break;case 6:- od = 0, sd = null, sf(e, t, o, 6);+ ad = 0, od = null, of(e, t, o, 6);break;case 8:- qd(), fd = 6;+ Kd(), dd = 6;break a;default: throw Error(i(462));}}- rf();+ nf();break;} catch (t) {- Yd(e, t);+ Jd(e, t);}while (1);- return ha = ma = null, me.H = r, me.A = a, nd = n, id === null ? (rd = null, ad = 0, xi(), fd) : 0;+ return ma = pa = null, me.H = r, me.A = a, td = n, rd === null ? (nd = null, id = 0, bi(), dd) : 0;}- function rf() {- for (; id !== null && !Be();) af(id);+ function nf() {+ for (; rd !== null && !ze();) rf(rd);}- function af(e) {- var t = pl(e.alternate, e, dd);- e.memoizedProps = e.pendingProps, t === null ? cf(e) : id = t;+ function rf(e) {+ var t = fl(e.alternate, e, ud);+ e.memoizedProps = e.pendingProps, t === null ? sf(e) : rd = t;}- function of(e) {+ function af(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 = Kc(n, t, t.pendingProps, t.type, void 0, id);break;case 11:- t = qc(n, t, t.pendingProps, t.type.render, t.ref, ad);+ t = Kc(n, t, t.pendingProps, t.type.render, t.ref, id);break;case 5:- as(t);+ is(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 === $i && (ta ? (sa(r), r.tag === 5 && r.stateNode != null && (ea = r.stateNode)) : (sa(r), ta = !0));+ default: xl(n, t), t = rd = ji(t, ud), t = fl(n, t, ud);}- e.memoizedProps = e.pendingProps, t === null ? cf(e) : id = t;+ e.memoizedProps = e.pendingProps, t === null ? sf(e) : rd = t;}- function sf(e, t, n, r) {- ha = ma = null, as(t), ro = null, io = 0;+ function of(e, t, n, r) {+ ma = pa = null, is(t), no = null, ro = 0;var i = t.return;try {- if (Mc(e, i, t, n, ad)) {- fd = 1, Dc(e, zi(n, e.current)), id = null;+ if (jc(e, i, t, n, id)) {+ dd = 1, Ec(e, Ri(n, e.current)), rd = 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 rd = i, t;+ dd = 1, Ec(e, Ri(n, e.current)), rd = 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))), lf(t, e)) : cf(t);+ t.flags & 32768 ? (ta || r === 1 ? e = !0 : cd || id & 536870912 ? e = !1 : (sd = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = Oo.current, r !== null && r.tag === 13 && (r.flags |= 16384))), cf(t, e)) : sf(t);}- function cf(e) {+ function sf(e) {var t = e;do {if (t.flags & 32768) {- lf(t, cd);+ cf(t, sd);return;}e = t.return;- var n = bl(t.alternate, t, dd);+ var n = yl(t.alternate, t, ud);if (n !== null) {- id = n;+ rd = n;return;}if (t = t.sibling, t !== null) {- id = t;+ rd = t;return;}- id = t = e;+ rd = t = e;} while (t !== null);- fd === 0 && (fd = 5);+ dd === 0 && (dd = 5);}- function lf(e, t) {+ function cf(e, t) {do {- var n = xl(e.alternate, e);+ var n = bl(e.alternate, e);if (n !== null) {- n.flags &= 32767, id = n;+ n.flags &= 32767, rd = 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;+ rd = e;return;}- id = e = n;+ rd = e = n;} while (e !== null);- fd = 6, id = null;+ dd = 6, rd = null;}- function uf(e, t, n, r, a, o, s, c, l, u, d, f) {+ function lf(e, t, n, r, a, o, s, c, l, u, d, f) {e.cancelPendingCommit = null;do- vf();- while (Ed !== 0);- if (nd & 6) throw Error(i(327));+ _f();+ while (Td !== 0);+ if (td & 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, df(e, t, n, s, c, l, f);+ e === nd && (rd = nd = null, id = 0), Dd = t, Ed = e, Od = n, Ad = a, jd = r, uf(e, t, n, s, c, l, f);}}- function df(e, t, n, r, i, a, o) {+ function uf(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), Pd = null, (n & 335544064) === n ? (Fd = Pa(e), r = 10262) : (Fd = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, Df(Ke, function() {- return yf(), null;- })) : (e.callbackNode = null, e.callbackPriority = 0), Vl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {- r = me.T, me.T = null, i = he.p, he.p = 2, a = nd, nd |= 4;+ if (kd = s, s |= yi, mt(e, n, s, r, i, a), Nd = null, (n & 335544064) === n ? (Pd = Na(e), r = 10262) : (Pd = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, Ef(Ge, function() {+ return vf(), null;+ })) : (e.callbackNode = null, e.callbackPriority = 0), Bl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {+ r = me.T, me.T = null, i = L.p, L.p = 2, a = td, td |= 4;try {- hu(e, t, n);+ mu(e, t, n);} finally {- nd = a, he.p = i, me.T = r;+ td = a, L.p = i, me.T = r;}}- Ed = 1, Vl ? Nd = Vp(o, e.containerInfo, Fd, mf, hf, pf, gf, yf, ff, null, null) : (mf(), hf(), gf());+ Td = 1, Bl ? Md = Vp(o, e.containerInfo, Pd, pf, mf, ff, hf, vf, df, null, null) : (pf(), mf(), hf());}- function ff(e) {- if (Ed !== 0) {- var t = Dd.onRecoverableError;+ function df(e) {+ if (Td !== 0) {+ var t = Ed.onRecoverableError;t(e, { componentStack: null });}}- function pf() {- Ed === 3 && (Ed = 0, Iu(Od, Dd), Ed = 4);+ function ff() {+ Td === 3 && (Td = 0, Fu(Dd, Ed), Td = 4);}- function mf() {- if (Ed === 1) {- Ed = 0;- var e = Dd, t = Od, n = kd, r = !!(t.flags & 13878);+ function pf() {+ if (Td === 1) {+ Td = 0;+ var e = Ed, t = Dd, n = Od, r = !!(t.flags & 13878);if (t.subtreeFlags & 13878 || r) {r = me.T, me.T = null;- var i = he.p;- he.p = 2;- var a = nd;- nd |= 4;+ var i = L.p;+ L.p = 2;+ var a = td;+ td |= 4;try {- fu = pu = !1, Mu(t, e, n), n = vp;- 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)) {+ du = fu = !1, ju(t, e, n), n = _p;+ var o = Ur(e.containerInfo), s = n.focusedElem, c = n.selectionRange;+ if (o !== s && s && s.ownerDocument && Hr(s.ownerDocument.documentElement, s)) {+ if (c !== null && Wr(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 _ = Vr(s, h), v = Vr(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 = !!_p, vp = _p = null;+ Th = !!gp, _p = gp = null;} finally {- nd = a, he.p = i, me.T = r;+ td = a, L.p = i, me.T = r;}}- e.current = t, Ed = 2;+ e.current = t, Td = 2;}}- function hf() {- if (Ed === 2) {- Ed = 0;- var e = Dd, t = Od, n = !!(t.flags & 8772);+ function mf() {+ if (Td === 2) {+ Td = 0;+ var e = Ed, t = Dd, n = !!(t.flags & 8772);if (t.subtreeFlags & 8772 || n) {n = me.T, me.T = null;- var r = he.p;- he.p = 2;- var i = nd;- nd |= 4;+ var r = L.p;+ L.p = 2;+ var i = td;+ td |= 4;try {- _u(e, t.alternate, t);+ gu(e, t.alternate, t);} finally {- nd = i, he.p = r, me.T = n;+ td = i, L.p = r, me.T = n;}}- Ed = 3;+ Td = 3;}}- function gf() {- if (Ed === 4 || Ed === 3) {- Ed = 0;- var e = Nd;- Nd = 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, _f(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 hf() {+ if (Td === 4 || Td === 3) {+ Td = 0;+ var e = Md;+ Md = null, Be();+ var t = Ed, n = Dd, r = Od, i = jd, a = (r & 335544064) === r ? 10262 : 10256;+ if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? Td = 5 : (Td = 0, Dd = Ed = null, gf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (wd = null), yt(r), n = n.stateNode, Ze && typeof Ze.onCommitFiberRoot == "function") try {+ Ze.onCommitFiberRoot(Xe, n, void 0, (n.current.flags & 128) == 128);} catch {}if (i !== null) {- n = me.T, a = he.p, he.p = 2, me.T = null;+ n = me.T, a = L.p, L.p = 2, me.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 {- me.T = n, he.p = a;+ me.T = n, L.p = a;}}- 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);- kd & 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);+ 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);+ Od & 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);}}- function _f(e, t) {- (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, ja(t)));+ function gf(e, t) {+ (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, Aa(t)));}- function vf() {- return Nd !== null && (Nd.skipTransition(), Nd = null), mf(), hf(), gf(), yf();+ function _f() {+ return Md !== null && (Md.skipTransition(), Md = null), pf(), mf(), hf(), vf();}- function yf() {- if (Ed !== 5) return !1;- var e = Dd, t = Ad;- Ad = 0;- var n = bt(kd), r = me.T, a = he.p;+ function vf() {+ if (Td !== 5) return !1;+ var e = Ed, t = kd;+ kd = 0;+ var n = yt(Od), r = me.T, a = L.p;try {- he.p = 32 > n ? 32 : n, me.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, Ff(0, !1), Qe && typeof Qe.onPostCommitFiberRoot == "function") try {- Qe.onPostCommitFiberRoot(Ze, o);+ L.p = 32 > n ? 32 : n, me.T = null, n = Ad, Ad = null;+ var o = Ed, s = Od;+ if (Td = 0, Dd = Ed = null, Od = 0, td & 6) throw Error(i(331));+ var c = td;+ if (td |= 4, Xu(o.current), Hu(o, o.current, s, n), td = c, Pf(0, !1), Ze && typeof Ze.onPostCommitFiberRoot == "function") try {+ Ze.onPostCommitFiberRoot(Xe, o);} catch {}return !0;} finally {- he.p = a, me.T = r, _f(e, t);+ L.p = a, me.T = r, gf(e, t);}}- function bf(e, t, n) {- t = zi(n, t), t = kc(e.stateNode, t, 2), e = go(e, t, 2), e !== null && (mt(e, 2), Pf(e));+ function yf(e, t, n) {+ t = Ri(n, t), t = Oc(e.stateNode, t, 2), e = ho(e, t, 2), e !== null && (pt(e, 2), Nf(e));}- function xf(e, t, n) {- if (e.tag === 3) bf(e, e, n);+ function bf(e, t, n) {+ if (e.tag === 3) yf(e, e, n);else for (; t !== null;) {if (t.tag === 3) {- bf(t, e, n);+ yf(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), Pf(r));+ if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (wd === null || !wd.has(r))) {+ e = Ri(n, e), n = kc(2), r = ho(t, n, 2), r !== null && (Ac(n, r, t, e), pt(r, 2), Nf(r));break;}}t = t.return;}}- function Sf(e, t, n) {+ function xf(e, t, n) {var r = e.pingCache;if (r === null) {- r = e.pingCache = new td();+ r = e.pingCache = new ed();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 = Cf.bind(null, e, t, n), t.then(e, e));+ i.has(n) || (ld = !0, i.add(n), e = Sf.bind(null, e, t, n), t.then(e, e));}- function Cf(e, t, n) {+ function Sf(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 : Jd(e, 0) : hd |= n, _d === ad && (_d = 0)), Pf(e);+ r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, nd === e && (id & n) === n && (dd === 4 || dd === 3 && (id & 62914560) === id && 300 > Ve() - bd ? td & 2 ? md |= n : qd(e, 0) : md |= n, gd === id && (gd = 0)), Nf(e);}- function wf(e, t) {- t === 0 && (t = ft()), e = wi(e, t), e !== null && (mt(e, t), Pf(e));+ function Cf(e, t) {+ t === 0 && (t = dt()), e = Ci(e, t), e !== null && (pt(e, t), Nf(e));}- function Tf(e) {+ function wf(e) {var t = e.memoizedState, n = 0;- t !== null && (n = t.retryLane), wf(e, n);+ t !== null && (n = t.retryLane), Cf(e, n);}- function Ef(e, t) {+ function Tf(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), wf(e, n);+ r !== null && r.delete(t), Cf(e, n);}- function Df(e, t) {- return Re(e, t);+ function Ef(e, t) {+ return Le(e, t);}- 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());+ 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());}- function Ff(e, t) {- if (!Mf && jf) {- Mf = !0;+ function Pf(e, t) {+ if (!jf && Af) {+ jf = !0;do- for (var n = !1, r = Of; r !== null;) {+ for (var n = !1, r = Df; 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 - $e(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;}- a !== 0 && (n = !0, Bf(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, Bf(r, a));+ a !== 0 && (n = !0, zf(r, a));+ } else a = id, a = st(r, r === nd ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || ct(r, a) || (n = !0, zf(r, a));}r = r.next;}while (n);- Mf = !1;+ jf = !1;}}- function If() {- Lf();+ function Ff() {+ If();}- function Lf() {- jf = Af = !1;+ function If() {+ Af = kf = !1;var e = 0;- Nf !== 0 && Tp() && (e = Nf);- for (var t = He(), 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;+ Mf !== 0 && wp() && (e = Mf);+ for (var t = Ve(), 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;}- Ed !== 0 && Ed !== 5 || Ff(e, !1), Nf !== 0 && (Nf = 0);+ Td !== 0 && Td !== 5 || Pf(e, !1), Mf !== 0 && (Mf = 0);}- function Rf(e, t) {+ function Lf(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 - $e(a), s = 1 << o, c = i[o];+ c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = ut(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 = nd, n = id, n = st(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (ad === 2 || ad === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Re(r), e.callbackNode = null, e.callbackPriority = 0;+ if (!(n & 3) || ct(e, n)) {if (t = n & -n, t === e.callbackPriority) return t;- switch (r !== null && ze(r), bt(n)) {+ switch (r !== null && Re(r), yt(n)) {case 2:case 8:- n = Ge;+ n = We;break;case 32:- n = Ke;+ n = Ge;break;case 268435456:- n = Je;+ n = qe;break;- default: n = Ke;+ default: n = Ge;}- return r = zf.bind(null, e), n = Re(n, r), e.callbackPriority = t, e.callbackNode = n, t;+ return r = Rf.bind(null, e), n = Le(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 && Re(r), e.callbackPriority = 2, e.callbackNode = null, 2;}- function zf(e, t) {- if (Ed !== 0 && Ed !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;+ function Rf(e, t) {+ if (Td !== 0 && Td !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;var n = e.callbackNode;- if (vf() && 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 : (Hd(e, r, t), Rf(e, He()), e.callbackNode != null && e.callbackNode === n ? zf.bind(null, e) : null);+ if (_f() && e.callbackNode !== n) return null;+ var r = id;+ return r = st(e, e === nd ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Vd(e, r, t), Lf(e, Ve()), e.callbackNode != null && e.callbackNode === n ? Rf.bind(null, e) : null);}- function Bf(e, t) {- if (vf()) return null;- Hd(e, t, !0);+ function zf(e, t) {+ if (_f()) return null;+ Vd(e, t, !0);}- function Vf() {+ function Bf() {kp(function() {- nd & 6 ? Re(We, If) : Lf();+ td & 6 ? Le(Ue, Ff) : If();});}- function Hf() {- if (Nf === 0) {- var e = La;- e === 0 && (e = it, it <<= 1, !(it & 261888) && (it = 256)), Nf = e;+ function Vf() {+ if (Mf === 0) {+ var e = Ia;+ e === 0 && (e = rt, rt <<= 1, !(rt & 261888) && (rt = 256)), Mf = e;}- return Nf;+ return Mf;}- function Uf(e) {- return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : bn(e);+ function Hf(e) {+ return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : yn(e);}- function Wf(e, t, n, r, i) {+ function Uf(e, t, n, r, i) {if (t === "submit" && n && n.stateNode === i) {- var a = Uf((i[Tt] || null).action), o = r.submitter;- o && (t = (t = o[Tt] || null) ? Uf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));- var s = new zn("action", "action", null, r, i);+ var a = Hf((i[wt] || null).action), o = r.submitter;+ o && (t = (t = o[wt] || null) ? Hf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));+ var s = new Rn("action", "action", null, r, i);e.push({event: s,listeners: [{instance: null,listener: function() {if (r.defaultPrevented) {- if (Nf !== 0) {+ if (Mf !== 0) {var e = new FormData(i, o);- tc(n, {+ ec(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), ec(n, {pending: !0,data: e,method: i.method,@@ -6930,18 +6930,18 @@ var k = /* @__PURE__ */ o(((e) => {});}}- for (var Gf = 0; Gf < di.length; Gf++) {- var Kf = di[Gf];- fi(Kf.toLowerCase(), "on" + (Kf[0].toUpperCase() + Kf.slice(1)));+ for (var Wf = 0; Wf < ui.length; Wf++) {+ var Gf = ui[Wf];+ di(Gf.toLowerCase(), "on" + (Gf[0].toUpperCase() + Gf.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", [+ di(ni, "onAnimationEnd"), di(ri, "onAnimationIteration"), di(ii, "onAnimationStart"), di("dblclick", "onDoubleClick"), di("focusin", "onFocus"), di("focusout", "onBlur"), di(ai, "onTransitionRun"), di(oi, "onTransitionStart"), di(si, "onTransitionCancel"), di(ci, "onTransitionEnd"), Ht("onMouseEnter", ["mouseout", "mouseover"]), Ht("onMouseLeave", ["mouseout", "mouseover"]), Ht("onPointerEnter", ["pointerout", "pointerover"]), Ht("onPointerLeave", ["pointerout", "pointerover"]), Vt("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Vt("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Vt("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 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) {+ ]), Vt("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Vt("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Vt("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) {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);+ gi(e);}i.currentTarget = null, a = c;}@@ -6965,34 +6965,34 @@ var k = /* @__PURE__ */ o(((e) => {try {a(i);} catch (e) {- _i(e);+ gi(e);}i.currentTarget = null, a = c;}}}}- function Xf(e, t) {- var n = t[Dt];- n === void 0 && (n = t[Dt] = /* @__PURE__ */ new Set());+ function Yf(e, t) {+ var n = t[Et];+ n === void 0 && (n = t[Et] = /* @__PURE__ */ new Set());var r = e + "__bubble";- n.has(r) || (ep(t, e, 2, !1), n.add(r));+ n.has(r) || ($f(t, e, 2, !1), n.add(r));}- function Zf(e, t, n) {+ function Xf(e, t, n) {var r = 0;- t && (r |= 4), ep(n, e, r, t);+ t && (r |= 4), $f(n, e, r, t);}- var Qf = "_reactListening" + Math.random().toString(36).slice(2);- function $f(e) {- if (!e[Qf]) {- e[Qf] = !0, Bt.forEach(function(t) {- t !== "selectionchange" && (Jf.has(t) || Zf(t, !1, e), Zf(t, !0, e));+ var Zf = "_reactListening" + Math.random().toString(36).slice(2);+ function Qf(e) {+ if (!e[Zf]) {+ e[Zf] = !0, zt.forEach(function(t) {+ t !== "selectionchange" && (qf.has(t) || Xf(t, !1, e), Xf(t, !0, e));});var t = e.nodeType === 9 ? e : e.ownerDocument;- t === null || t[Qf] || (t[Qf] = !0, Zf("selectionchange", !1, t));+ t === null || t[Zf] || (t[Zf] = !0, Xf("selectionchange", !1, t));}}- function ep(e, t, n, r) {+ function $f(e, t, n, r) {switch (Mh(t)) {case 2:var i = Eh;@@ -7002,12 +7002,12 @@ var k = /* @__PURE__ */ o(((e) => {break;default: i = Oh;}- n = i.bind(null, t, n, e), i = void 0, !kn || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i === void 0 ? e.addEventListener(t, n, !0) : e.addEventListener(t, n, {+ n = i.bind(null, t, n, e), i = void 0, !On || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i === void 0 ? e.addEventListener(t, n, !0) : e.addEventListener(t, n, {capture: !0,passive: i}) : i === void 0 ? e.addEventListener(t, n, !1) : e.addEventListener(t, n, { passive: i });}- function tp(e, t, n, r, i) {+ function ep(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 = Nt(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;}- En(function() {- var r = a, i = Cn(n), s = [];+ Tn(function() {+ var r = a, i = Sn(n), s = [];a: {- var c = ui.get(e);+ var c = li.get(e);if (c !== void 0) {- var l = zn, u = e;+ var l = Rn, u = e;switch (e) {- case "keypress": if (Pn(n) === 0) break a;+ case "keypress": if (Nn(n) === 0) break a;case "keydown":case "keyup":- l = rr;+ l = nr;break;case "focusin":- u = "focus", l = Jn;+ u = "focus", l = qn;break;case "focusout":- u = "blur", l = Jn;+ u = "blur", l = qn;break;case "beforeblur":case "afterblur":- l = Jn;+ 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 = Kn;+ l = Gn;break;case "drag":case "dragend":@@ -7072,33 +7072,33 @@ var k = /* @__PURE__ */ o(((e) => {case "dragover":case "dragstart":case "drop":- l = qn;+ l = Kn;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":- l = or;+ l = ar;break;+ case ni:case ri:case ii:- case ai:- l = Yn;+ l = Jn;break;- case li:- l = sr;+ case ci:+ l = or;break;case "scroll":case "scrollend":- l = Vn;+ l = Bn;break;case "wheel":- l = cr;+ l = sr;break;case "copy":case "cut":case "paste":- l = Xn;+ l = Yn;break;case "gotpointercapture":case "lostpointercapture":@@ -7108,19 +7108,19 @@ var k = /* @__PURE__ */ o(((e) => {case "pointerout":case "pointerover":case "pointerup":- l = ir;+ l = rr;break;case "submit":- l = ar;+ l = ir;break;case "toggle":- case "beforetoggle": l = B;+ case "beforetoggle": l = V;}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 = Dn(m, p), g != null && d.push(np(m, g, h))), f) break;+ if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = En(m, p), g != null && d.push(tp(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 !== Sn && (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 = Kn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = ir, 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, ip) : null, c !== null && ap(s, u, c, d, !1), l !== null && f !== null && ap(s, f, l, d, !0)));+ if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== xn && (u = n.relatedTarget || n.fromElement) && (Nt(u) || u[Tt])) break a;+ (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? Nt(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = Gn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = rr, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Ft(c), h = l == null ? u : Ft(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, Nt(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? C(c, l, rp) : null, c !== null && ip(s, u, c, d, !1), l !== null && f !== null && ip(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 ? Ft(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Tr;+ else if (yr(c)) {+ if (Er) _ = Fr;else {- _ = Pr;- var v = Nr;+ _ = Nr;+ var v = Mr;}- } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && _n(r.elementType) && (_ = Er) : _ = Fr;+ } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && gn(r.elementType) && (_ = Tr) : _ = Pr;if (_ &&= _(e, r)) {- xr(s, _, n, i);+ br(s, _, n, i);break a;}v && v(e, c, r);}- switch (v = r ? It(r) : window, e) {+ switch (v = r ? Ft(r) : window, e) {case "focusin":- (br(v) || v.contentEditable === "true") && (qr = v, Jr = r, Yr = null);+ (yr(v) || v.contentEditable === "true") && (Kr = v, qr = r, Jr = null);break;case "focusout":- Yr = Jr = qr = null;+ Jr = qr = Kr = null;break;case "mousedown":- Xr = !0;+ Yr = !0;break;case "contextmenu":case "mouseup":case "dragend":- Xr = !1, Zr(s, n, i);+ Yr = !1, Xr(s, n, i);break;- case "selectionchange": if (Kr) break;+ case "selectionchange": if (Gr) break;case "keydown":- case "keyup": Zr(s, n, i);+ case "keyup": Xr(s, n, i);}var y;- if (lr) b: {+ if (cr) b: {switch (e) {case "compositionstart":var b = "onCompositionStart";@@ -7183,83 +7183,83 @@ var k = /* @__PURE__ */ o(((e) => {}b = void 0;}- else H ? hr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");- b && (fr && n.locale !== "ko" && (H || b !== "onCompositionStart" ? b === "onCompositionEnd" && H && (y = z()) : (jn = i, Mn = "value" in jn ? jn.value : jn.textContent, H = !0)), v = rp(r, b), 0 < v.length && (b = new Zn(b, e, null, n, i), s.push({+ else U ? mr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");+ b && (dr && n.locale !== "ko" && (U || b !== "onCompositionStart" ? b === "onCompositionEnd" && U && (y = B()) : (An = i, jn = "value" in An ? An.value : An.textContent, U = !0)), v = np(r, b), 0 < v.length && (b = new Xn(b, e, null, n, i), s.push({event: b,listeners: v- }), y ? b.data = y : (y = gr(n), y !== null && (b.data = y)))), (y = dr ? _r(e, n) : vr(e, n)) && (b = rp(r, "onBeforeInput"), 0 < b.length && (v = new Zn("onBeforeInput", "beforeinput", null, n, i), s.push({+ }), y ? b.data = y : (y = hr(n), y !== null && (b.data = y)))), (y = ur ? gr(e, n) : _r(e, n)) && (b = np(r, "onBeforeInput"), 0 < b.length && (v = new Xn("onBeforeInput", "beforeinput", null, n, i), s.push({event: v,listeners: b- }), v.data = y)), Wf(s, e, r, n, i);+ }), v.data = y)), Uf(s, e, r, n, i);}- Yf(s, t);+ Jf(s, t);});}- function np(e, t, n) {+ function tp(e, t, n) {return {instance: e,listener: t,currentTarget: n};}- function rp(e, t) {+ function np(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 = 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;+ 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;e = e.return;}return [];}- function ip(e) {+ function rp(e) {if (e === null) return null;doe = e.return;while (e && e.tag !== 5 && e.tag !== 27);return e || null;}- function ap(e, t, n, r, i) {+ function ip(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 = 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;+ 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;}o.length !== 0 && e.push({event: t,listeners: o});}- var op = /\r\n?/g, sp = /\u0000|\uFFFD/g;- function cp(e) {- return (typeof e == "string" ? e : "" + e).replace(op, "\n").replace(sp, "");+ var ap = /\r\n?/g, op = /\u0000|\uFFFD/g;+ function sp(e) {+ return (typeof e == "string" ? e : "" + e).replace(ap, "\n").replace(op, "");}- function lp(e, t) {- return t = cp(t), cp(e) === t;+ function cp(e, t) {+ return t = sp(t), sp(e) === t;}- function up(e, t, n, r, a, o) {+ function lp(e, t, n, r, a, o) {switch (n) {case "children":- if (typeof r == "string") t === "body" || t === "textarea" && r === "" || pn(e, r);- else if (typeof r == "number" || typeof r == "bigint") t !== "body" && pn(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);+ Xt(e, "class", r);break;case "tabIndex":- Zt(e, "tabindex", r);+ Xt(e, "tabindex", r);break;case "dir":case "role":case "viewBox":case "width":case "height":- Zt(e, n, r);+ Xt(e, n, r);break;case "style":- gn(e, r, o);+ hn(e, r, o);return;case "data": if (t !== "object") {- Zt(e, "data", r);+ Xt(e, "data", r);break;}case "src":@@ -7268,7 +7268,7 @@ var k = /* @__PURE__ */ o(((e) => {e.removeAttribute(n);break;}- r = bn(r), e.setAttribute(n, r);+ r = yn(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" && 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") {+ 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") {e.removeAttribute(n);break;}- r = bn(r), e.setAttribute(n, r);+ r = yn(r), e.setAttribute(n, r);break;case "onClick":- r != null && (e.onclick = xn);+ r != null && (e.onclick = bn);return;case "onScroll":- r != null && Xf("scroll", e);+ r != null && Yf("scroll", e);return;case "onScrollEnd":- r != null && Xf("scrollend", e);+ r != null && Yf("scrollend", e);return;case "dangerouslySetInnerHTML":if (r != null) {@@ -7318,7 +7318,7 @@ var k = /* @__PURE__ */ o(((e) => {e.removeAttribute("xlink:href");break;}- n = bn(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);+ n = yn(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":- Xf("beforetoggle", e), Xf("toggle", e), Xt(e, "popover", r);+ Yf("beforetoggle", e), Yf("toggle", e), Yt(e, "popover", r);break;case "xlinkActuate":- Qt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);+ Zt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);break;case "xlinkArcrole":- Qt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);+ Zt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);break;case "xlinkRole":- Qt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);+ Zt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);break;case "xlinkShow":- Qt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);+ Zt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);break;case "xlinkTitle":- Qt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);+ Zt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);break;case "xlinkType":- Qt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);+ Zt(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);+ Zt(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);+ Zt(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);+ Zt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);break;case "is":- Xt(e, "is", r);+ Yt(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 = vn.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 = _n.get(n) || n, Yt(e, n, r);else return;}- Jt = !0;+ qt = !0;}- function dp(e, t, n, r, a, o) {+ function up(e, t, n, r, a, o) {switch (n) {case "style":- gn(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") pn(e, r);- else if (typeof r == "number" || typeof r == "bigint") pn(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 && Xf("scroll", e);+ r != null && Yf("scroll", e);return;case "onScrollEnd":- r != null && Xf("scrollend", e);+ r != null && Yf("scrollend", e);return;case "onClick":- r != null && (e.onclick = xn);+ r != null && (e.onclick = bn);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 (!Bt.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[wt] || 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);+ qt = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Yt(e, n, r);}return;}- Jt = !0;+ qt = !0;}- function fp(e, t, n) {+ function dp(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":- Xf("error", e), Xf("load", e);+ Yf("error", e), Yf("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: up(e, t, o, s, n, null);+ default: lp(e, t, o, s, n, null);}}- a && up(e, t, "srcSet", n.srcSet, n, null), r && up(e, t, "src", n.src, n, null);+ a && lp(e, t, "srcSet", n.srcSet, n, null), r && lp(e, t, "src", n.src, n, null);return;case "input":- Xf("invalid", e);+ Yf("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: up(e, t, r, d, n, null);+ default: lp(e, t, r, d, n, null);}}- cn(e, o, c, l, u, s, a, !1);+ sn(e, o, c, l, u, s, a, !1);return;case "select":- for (a in Xf("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {+ for (a in Yf("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: up(e, t, a, c, n, null);+ default: lp(e, t, a, c, n, null);}- t = o, n = s, e.multiple = !!r, t == null ? n != null && un(e, !!r, n, !0) : un(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 Xf("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {+ for (s in Yf("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: up(e, t, s, c, n, null);+ default: lp(e, t, s, c, n, null);}- fn(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: up(e, t, l, r, n, null);+ default: lp(e, t, l, r, n, null);}return;case "dialog":- Xf("beforetoggle", e), Xf("toggle", e), Xf("cancel", e), Xf("close", e);+ Yf("beforetoggle", e), Yf("toggle", e), Yf("cancel", e), Yf("close", e);break;case "iframe":case "object":- Xf("load", e);+ Yf("load", e);break;case "video":case "audio":- for (r = 0; r < qf.length; r++) Xf(qf[r], e);+ for (r = 0; r < Kf.length; r++) Yf(Kf[r], e);break;case "image":- Xf("error", e), Xf("load", e);+ Yf("error", e), Yf("load", e);break;case "details":- Xf("toggle", e);+ Yf("toggle", e);break;case "embed":case "source":- case "link": Xf("error", e), Xf("load", e);+ case "link": Yf("error", e), Yf("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: up(e, t, u, r, n, null);+ default: lp(e, t, u, r, n, null);}return;- default: if (_n(t)) {- for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && dp(e, t, d, r, n, void 0));+ default: if (gn(t)) {+ for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && up(e, t, d, r, n, void 0));return;}}- for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && up(e, t, c, r, n, null));+ for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && lp(e, t, c, r, n, null));}- var pp = {};- function mp(e, t, n, r) {+ var fp = {};+ function pp(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) || up(e, t, m, null, r, f);+ default: r.hasOwnProperty(m) || lp(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 && (qt = !0), o = m;break;case "name":- m !== f && (Jt = !0), a = m;+ m !== f && (qt = !0), a = m;break;case "checked":- m !== f && (Jt = !0), u = m;+ m !== f && (qt = !0), u = m;break;case "defaultChecked":- m !== f && (Jt = !0), d = m;+ m !== f && (qt = !0), d = m;break;case "value":- m !== f && (Jt = !0), s = m;+ m !== f && (qt = !0), s = m;break;case "defaultValue":- m !== f && (Jt = !0), c = m;+ m !== f && (qt = !0), c = m;break;case "children":case "dangerouslySetInnerHTML":if (m != null) throw Error(i(137, t));break;- default: m !== f && up(e, t, p, m, r, f);+ default: m !== f && lp(e, t, p, m, r, f);}}- sn(e, s, c, l, u, d, o, a);+ on(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) || up(e, t, o, null, r, l);+ default: r.hasOwnProperty(o) || lp(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 && (qt = !0), p = o;break;case "defaultValue":- o !== l && (Jt = !0), c = o;+ o !== l && (qt = !0), c = o;break;- case "multiple": o !== l && (Jt = !0), s = o;- default: o !== l && up(e, t, a, o, r, l);+ case "multiple": o !== l && (qt = !0), s = o;+ default: o !== l && lp(e, t, a, o, r, l);}- t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? un(e, !!n, n ? [] : "", !1) : un(e, !!n, t, !0)) : un(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: up(e, t, c, null, r, a);+ default: lp(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 && (qt = !0), p = a;break;case "defaultValue":- a !== o && (Jt = !0), m = a;+ a !== o && (qt = !0), m = a;break;case "children": break;case "dangerouslySetInnerHTML":if (a != null) throw Error(i(91));break;- default: a !== o && up(e, t, s, a, r, o);+ default: a !== o && lp(e, t, s, a, r, o);}- dn(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: up(e, t, h, null, r, p);+ default: lp(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 && (qt = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";break;- default: up(e, t, l, p, r, m);+ default: lp(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) && up(e, t, g, null, r, p);+ for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && lp(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: up(e, t, u, p, r, m);+ default: lp(e, t, u, p, r, m);}return;- default: if (_n(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);+ default: if (gn(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);return;}}- 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);+ 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);}- function hp(e) {+ function mp(e) {switch (e) {case "css":case "script":@@ -7751,16 +7751,16 @@ var k = /* @__PURE__ */ o(((e) => {default: return !1;}}- function gp() {+ function hp() {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 && hp(o)) {+ if (a && s && mp(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 && hp(d) && (c = c.responseEnd, o += u * (c < s ? 1 : (s - l) / (c - l)));+ u && mp(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 _p = null, vp = null;- function yp(e) {+ var gp = null, _p = null;+ function vp(e) {return e.nodeType === 9 ? e : e.ownerDocument;}- function bp(e) {+ function yp(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 xp(e, t) {+ function bp(e, t) {if (e === 0) switch (t) {case "svg": return 1;case "math": return 2;@@ -7788,19 +7788,19 @@ var k = /* @__PURE__ */ o(((e) => {}return e === 1 && t === "foreignObject" ? 0 : e;}- function Sp(e, t, n, r) {- return n = yp(n).createElement(e), n[wt] = r, n[Tt] = t, fp(n, e, t), Rt(n), n;+ function xp(e, t, n, r) {+ return n = vp(n).createElement(e), n[Ct] = r, n[wt] = t, dp(n, e, t), Lt(n), n;}- function Cp(e, t) {+ function Sp(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 wp = null;- function Tp() {+ var Cp = null;+ function wp() {var e = window.event;- return e && e.type === "popstate" ? e !== wp && (wp = e, !0) : (wp = null, !1);+ return e && e.type === "popstate" ? e !== Cp && (Cp = e, !0) : (Cp = null, !1);}- var Ep = typeof setTimeout == "function" ? setTimeout : void 0, Dp = typeof clearTimeout == "function" ? clearTimeout : void 0, W = typeof Promise == "function" ? Promise : void 0, Op = typeof requestAnimationFrame == "function" ? requestAnimationFrame : Ep, kp = typeof queueMicrotask == "function" ? queueMicrotask : W === void 0 ? Ep : function(e) {- return W.resolve(null).then(e).catch(Ap);+ 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);};function Ap(e) {setTimeout(function() {@@ -7827,7 +7827,7 @@ var k = /* @__PURE__ */ o(((e) => {n = e.ownerDocument.head, Em(n);for (var a = n.firstChild; a;) {var o = a.nextSibling, s = a.nodeName;- a[jt] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;+ a[At] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;}} else n === "body" && Em(e.ownerDocument.body);}@@ -8069,7 +8069,7 @@ var k = /* @__PURE__ */ o(((e) => {}Wp.prototype.blur = function() {var e = p(this._fragmentFiber);- e !== null && (e = _(e), e = yp(e).activeElement, e !== null && f(this._fragmentFiber.child, !1, Qp, e, void 0, void 0));+ e !== null && (e = _(e), e = vp(e).activeElement, e !== null && f(this._fragmentFiber.child, !1, Qp, e, void 0, void 0));};function Qp(e, t) {return e.tag !== 6 && (e = _(e), e === t || e.contains(t) ? (t.blur(), !0) : !1);@@ -8158,7 +8158,7 @@ var k = /* @__PURE__ */ o(((e) => {return s = r && a && o & Node.DOCUMENT_POSITION_FOLLOWING && s & Node.DOCUMENT_POSITION_PRECEDING, t = r && t === e || a && i === e || c || s ? Node.DOCUMENT_POSITION_CONTAINED_BY : !r && t === e || !a && i === e ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : o, t & Node.DOCUMENT_POSITION_DISCONNECTED || t & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC || am(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;};function am(e, t, n, r, i) {- var a = Pt(i);+ var a = Nt(i);if (e & Node.DOCUMENT_POSITION_CONTAINED_BY) {if (n = !!a) a: {for (; a !== null;) {@@ -8255,7 +8255,7 @@ var k = /* @__PURE__ */ o(((e) => {case "HTML":case "HEAD":case "BODY":- dm(n), Nt(n);+ dm(n), Mt(n);continue;case "SCRIPT":case "STYLE": continue;@@ -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[At]) switch (t) {case "meta":if (!e.hasAttribute("itemprop")) break;return e;@@ -8380,7 +8380,7 @@ var k = /* @__PURE__ */ o(((e) => {});}function wm(e, t, n) {- switch (t = yp(n), e) {+ switch (t = vp(n), e) {case "html":if (e = t.documentElement, !e) throw Error(i(452));return e;@@ -8396,13 +8396,13 @@ var k = /* @__PURE__ */ o(((e) => {function Tm(e, t, n) {for (var r in n) {var i = n[r];- n.hasOwnProperty(r) && i != null && up(e, t, r, null, pp, i);+ n.hasOwnProperty(r) && i != null && lp(e, t, r, null, fp, i);}- n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === xn && (e.onclick = null), Nt(e);+ n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === bn && (e.onclick = null), Mt(e);}function Em(e) {for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);- Nt(e);+ Mt(e);}var Dm = /* @__PURE__ */ new Map(), Om = /* @__PURE__ */ new Set();function km(e) {@@ -8412,8 +8412,8 @@ var k = /* @__PURE__ */ o(((e) => {}return e.nodeType === 9 ? e : e.ownerDocument;}- var Am = he.d;- he.d = {+ var Am = L.d;+ L.d = {f: jm,r: Mm,D: Fm,@@ -8425,23 +8425,23 @@ var k = /* @__PURE__ */ o(((e) => {M: Vm};function jm() {- var e = Am.f(), t = Kd();+ var e = Am.f(), t = Gd();return e || t;}function Mm(e) {- var t = Ft(e);- t !== null && t.tag === 5 && t.type === "form" ? rc(t) : Am.r(e);+ var t = Pt(e);+ t !== null && t.tag === 5 && t.type === "form" ? nc(t) : Am.r(e);}var Nm = typeof document > "u" ? null : document;function Pm(e, t, n) {var r = Nm;if (r && typeof t == "string" && t) {- var i = on(t);+ var i = an(t);i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), Om.has(i) || (Om.add(i), e = {rel: e,crossOrigin: n,href: t- }, r.querySelector(i) === null && (t = r.createElement("link"), fp(t, "link", e), Rt(t), r.head.appendChild(t)));+ }, r.querySelector(i) === null && (t = r.createElement("link"), dp(t, "link", e), Lt(t), r.head.appendChild(t)));}}function Fm(e) {@@ -8454,8 +8454,8 @@ var k = /* @__PURE__ */ o(((e) => {Am.L(e, t, n);var r = Nm;if (r && e && t) {- var i = "link[rel=\"preload\"][as=\"" + on(t) + "\"]";- t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + on(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + on(n.imageSizes) + "\"]")) : i += "[href=\"" + on(e) + "\"]";+ var i = "link[rel=\"preload\"][as=\"" + an(t) + "\"]";+ t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + an(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + an(n.imageSizes) + "\"]")) : i += "[href=\"" + an(e) + "\"]";var a = i;switch (t) {case "style":@@ -8469,9 +8469,9 @@ var k = /* @__PURE__ */ o(((e) => {as: t}, n), Dm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Wm(a)) || t === "script" && r.querySelector(Jm(a))))) {var o = r.createElement("link");- fp(o, "link", e), t === "style" && (o[Mt] = !0, o.onload = o.onerror = function() {- zt(o);- }), Rt(o), r.head.appendChild(o);+ dp(o, "link", e), t === "style" && (o[jt] = !0, o.onload = o.onerror = function() {+ Rt(o);+ }), Lt(o), r.head.appendChild(o);}}}@@ -8479,7 +8479,7 @@ var k = /* @__PURE__ */ o(((e) => {Am.m(e, t);var n = Nm;if (n && e) {- var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + on(r) + "\"][href=\"" + on(e) + "\"]", a = i;+ var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + an(r) + "\"][href=\"" + an(e) + "\"]", a = i;switch (r) {case "audioworklet":case "paintworklet":@@ -8500,7 +8500,7 @@ var k = /* @__PURE__ */ o(((e) => {case "worker":case "script": if (n.querySelector(Jm(a))) return;}- r = n.createElement("link"), fp(r, "link", e), Rt(r), n.head.appendChild(r);+ r = n.createElement("link"), dp(r, "link", e), Lt(r), n.head.appendChild(r);}}}@@ -8508,7 +8508,7 @@ var k = /* @__PURE__ */ o(((e) => {Am.S(e, t, n);var r = Nm;if (r && e) {- var i = Lt(r).hoistableStyles, a = Um(e);+ var i = It(r).hoistableStyles, a = Um(e);t ||= "default";var o = i.get(a);if (!o) {@@ -8524,7 +8524,7 @@ var k = /* @__PURE__ */ o(((e) => {"data-precedence": t}, n), (n = Dm.get(a)) && Zm(e, n);var c = o = r.createElement("link");- Rt(c), fp(c, "link", e), c._p = new Promise(function(e, t) {+ Lt(c), dp(c, "link", e), c._p = new Promise(function(e, t) {c.onload = e, c.onerror = t;}), c.addEventListener("load", function() {s.loading |= 1;@@ -8545,11 +8545,11 @@ var k = /* @__PURE__ */ o(((e) => {Am.X(e, t);var n = Nm;if (n && e) {- var r = Lt(n).hoistableScripts, i = qm(e), a = r.get(i);+ var r = It(n).hoistableScripts, i = qm(e), a = r.get(i);a || (a = n.querySelector(Jm(i)), a || (e = w({src: e,async: !0- }, t), (t = Dm.get(i)) && Qm(e, t), a = n.createElement("script"), Rt(a), fp(a, "link", e), n.head.appendChild(a)), a = {+ }, t), (t = Dm.get(i)) && Qm(e, t), a = n.createElement("script"), Lt(a), dp(a, "link", e), n.head.appendChild(a)), a = {type: "script",instance: a,count: 1,@@ -8561,12 +8561,12 @@ var k = /* @__PURE__ */ o(((e) => {Am.M(e, t);var n = Nm;if (n && e) {- var r = Lt(n).hoistableScripts, i = qm(e), a = r.get(i);+ var r = It(n).hoistableScripts, i = qm(e), a = r.get(i);a || (a = n.querySelector(Jm(i)), a || (e = w({src: e,async: !0,type: "module"- }, t), (t = Dm.get(i)) && Qm(e, t), a = n.createElement("script"), Rt(a), fp(a, "link", e), n.head.appendChild(a)), a = {+ }, t), (t = Dm.get(i)) && Qm(e, t), a = n.createElement("script"), Lt(a), dp(a, "link", e), n.head.appendChild(a)), a = {type: "script",instance: a,count: 1,@@ -8575,12 +8575,12 @@ var k = /* @__PURE__ */ o(((e) => {}}function Hm(e, t, n, r) {- var a = (a = we.current) ? km(a) : null;+ var a = (a = Ce.current) ? km(a) : null;if (!a) throw Error(i(446));switch (e) {case "meta":case "title": return null;- case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = 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 = Um(n.href), t = It(a).hoistableStyles, r = t.get(n), r || (r = {type: "style",instance: null,count: 0,@@ -8594,7 +8594,7 @@ 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);+ var o = It(a).hoistableStyles, s = o.get(e);if (s || (a = a.ownerDocument || a, s = {type: "stylesheet",instance: null,@@ -8617,7 +8617,7 @@ var k = /* @__PURE__ */ o(((e) => {}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 = qm(n), t = It(a).hoistableScripts, r = t.get(n), r || (r = {type: "script",instance: null,count: 0,@@ -8632,7 +8632,7 @@ var k = /* @__PURE__ */ o(((e) => {}}function Um(e) {- return "href=\"" + on(e) + "\"";+ return "href=\"" + an(e) + "\"";}function Wm(e) {return "link[rel=\"stylesheet\"][" + e + "]";@@ -8645,11 +8645,11 @@ var k = /* @__PURE__ */ o(((e) => {}function Km(e, t, n, r) {if (t = e.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {- if (!0 !== t[Mt]) {+ if (!0 !== t[jt]) {r.loading = 1;return;}- } else t = e.createElement("link"), t[Mt] = !0, t.onload = t.onerror = zt.bind(null, t), fp(t, "link", n), Rt(t), e.head.appendChild(t);+ } else t = e.createElement("link"), t[jt] = !0, t.onload = t.onerror = Rt.bind(null, t), dp(t, "link", n), Lt(t), e.head.appendChild(t);r.preload = t, t.addEventListener("load", function() {return r.loading |= 1;}), t.addEventListener("error", function() {@@ -8657,7 +8657,7 @@ var k = /* @__PURE__ */ o(((e) => {});}function qm(e) {- return "[src=\"" + on(e) + "\"]";+ return "[src=\"" + an(e) + "\"]";}function Jm(e) {return "script[async]" + e;@@ -8665,25 +8665,25 @@ var k = /* @__PURE__ */ o(((e) => {function Ym(e, t, n) {if (t.count++, t.instance === null) switch (t.type) {case "style":- var r = e.querySelector("style[data-href~=\"" + on(n.href) + "\"]");- if (r) return t.instance = r, Rt(r), r;+ var r = e.querySelector("style[data-href~=\"" + an(n.href) + "\"]");+ if (r) return t.instance = r, Lt(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), fp(r, "style", a), Xm(r, n.precedence, e), t.instance = r;+ return r = (e.ownerDocument || e).createElement("style"), Lt(r), dp(r, "style", a), Xm(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);+ if (o) return t.state.loading |= 4, t.instance = o, Lt(o), o;+ r = Gm(n), (a = Dm.get(a)) && Zm(r, a), o = (e.ownerDocument || e).createElement("link"), Lt(o);var s = o;return s._p = new Promise(function(e, t) {s.onload = e, s.onerror = t;- }), fp(o, "link", r), t.state.loading |= 4, Xm(o, n.precedence, e), t.instance = o;- case "script": return o = qm(n.src), (a = e.querySelector(Jm(o))) ? (t.instance = a, Rt(a), a) : (r = n, (a = Dm.get(o)) && (r = w({}, n), Qm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Rt(a), fp(a, "link", r), e.head.appendChild(a), t.instance = a);+ }), 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, Lt(a), a) : (r = n, (a = Dm.get(o)) && (r = w({}, n), Qm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Lt(a), dp(a, "link", r), e.head.appendChild(a), t.instance = a);case "void": return null;default: throw Error(i(443, t.type));}@@ -8713,7 +8713,7 @@ var k = /* @__PURE__ */ o(((e) => {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[At] || a[Ct] || 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);@@ -8760,14 +8760,14 @@ var k = /* @__PURE__ */ o(((e) => {if (n.instance === null) {var i = Um(r.href), a = t.querySelector(Wm(i));if (a) {- t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = 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 = dh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Lt(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 = Gm(r), (i = Dm.get(i)) && Zm(r, i), a = a.createElement("link"), Lt(a);var o = a;o._p = new Promise(function(e, t) {o.onload = e, o.onerror = t;- }), fp(a, "link", r), n.instance = a;+ }), dp(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));}@@ -8781,7 +8781,7 @@ var k = /* @__PURE__ */ o(((e) => {e.unsuspend = null, t();}}, 6e4 + t);- 0 < e.imgBytes && ch === 0 && (ch = 62500 * gp());+ 0 < e.imgBytes && ch === 0 && (ch = 62500 * hp());var i = setTimeout(function() {if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && mh(e, e.stylesheets), e.unsuspend)) {var t = e.unsuspend;@@ -8831,25 +8831,25 @@ var k = /* @__PURE__ */ o(((e) => {$$typeof: te,Provider: null,Consumer: null,- _currentValue: ge,- _currentValue2: ge,+ _currentValue: he,+ _currentValue2: he,_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();+ 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 = ft(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = ft(0), this.hiddenUpdates = ft(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 = {+ return e = new _h(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = Oi(3, null, null, t), e.current = a, a.stateNode = e, t = ka(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {element: r,isDehydrated: n,cache: t- }, po(a), e;+ }, fo(a), e;}function yh(e) {- return e ? (e = Di, e) : Di;+ return e ? (e = Ei, e) : Ei;}function bh(e, t, n, r, i, a) {- i = yh(i), r.context === null ? r.context = i : r.pendingContext = i, r = ho(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = go(e, r, t), n !== null && (Vd(n, e, t), _o(n, e, t));+ i = yh(i), r.context === null ? r.context = i : r.pendingContext = i, r = mo(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = ho(e, r, t), n !== null && (Bd(n, e, t), go(n, e, t));}function xh(e, t) {if (e = e.memoizedState, e !== null && e.dehydrated !== null) {@@ -8862,77 +8862,77 @@ var k = /* @__PURE__ */ o(((e) => {}function Ch(e) {if (e.tag === 13 || e.tag === 31) {- var t = wi(e, 67108864);- t !== null && Vd(t, e, 67108864), Sh(e, 67108864);+ var t = Ci(e, 67108864);+ t !== null && Bd(t, e, 67108864), Sh(e, 67108864);}}function wh(e) {if (e.tag === 13 || e.tag === 31) {- var t = Rd();- t = yt(t);- var n = wi(e, t);- n !== null && Vd(n, e, t), Sh(e, t);+ var t = Ld();+ t = vt(t);+ var n = Ci(e, t);+ n !== null && Bd(n, e, t), Sh(e, t);}}var Th = !0;function Eh(e, t, n, r) {var i = me.T;me.T = null;- var a = he.p;+ var a = L.p;try {- he.p = 2, Oh(e, t, n, r);+ L.p = 2, Oh(e, t, n, r);} finally {- he.p = a, me.T = i;+ L.p = a, me.T = i;}}function Dh(e, t, n, r) {var i = me.T;me.T = null;- var a = he.p;+ var a = L.p;try {- he.p = 8, Oh(e, t, n, r);+ L.p = 8, Oh(e, t, n, r);} finally {- he.p = a, me.T = i;+ L.p = a, me.T = i;}}function Oh(e, t, n, r) {if (Th) {var i = kh(r);- if (i === null) tp(e, t, r, Ah, n), Vh(e, 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)) {for (; i !== null;) {- var a = Ft(i);+ var a = Pt(i);if (a !== null) switch (a.tag) {case 3:if (a = a.stateNode, a.current.memoizedState.isDehydrated) {- var o = st(a.pendingLanes);+ var o = ot(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 - $e(o);s.entanglements[1] |= c, o &= ~c;}- Pf(a), !(nd & 6) && (Cd = He() + 500, Ff(0, !1));+ Nf(a), !(td & 6) && (Sd = Ve() + 500, Pf(0, !1));}}break;case 31:- case 13: s = wi(a, 2), s !== null && Vd(s, a, 2), Kd(), Sh(a, 2);+ case 13: s = Ci(a, 2), s !== null && Bd(s, a, 2), Gd(), Sh(a, 2);}- if (a = kh(r), a === null && tp(e, t, r, Ah, n), a === i) break;+ if (a = kh(r), a === null && ep(e, t, r, Ah, n), a === i) break;i = a;}i !== null && r.stopPropagation();- } else tp(e, t, r, null, n);+ } else ep(e, t, r, null, n);}}function kh(e) {- return e = Cn(e), jh(e);+ return e = Sn(e), jh(e);}var Ah = null;function jh(e) {- if (Ah = null, e = Pt(e), e !== null) {+ if (Ah = null, e = Nt(e), e !== null) {var t = o(e);if (t === null) e = null;else {@@ -9025,12 +9025,12 @@ 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 (He()) {+ case Ue: return 2;+ case We: return 8;+ case Ge:+ case Ke: return 32;+ case qe: return 268435456;default: return 32;}default: return 32;@@ -9066,7 +9066,7 @@ var k = /* @__PURE__ */ o(((e) => {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 = Pt(t), t !== null && Ch(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);}function Uh(e, t, n, r, i) {switch (t) {@@ -9081,20 +9081,20 @@ var k = /* @__PURE__ */ o(((e) => {return !1;}function Wh(e) {- var t = Pt(e.target);+ var t = Nt(e.target);if (t !== null) {var n = o(t);if (n !== null) {if (t = n.tag, t === 13) {if (t = s(n), t !== null) {- e.blockedOn = t, St(e.priority, function() {+ e.blockedOn = t, xt(e.priority, function() {wh(n);});return;}} else if (t === 31) {if (t = c(n), t !== null) {- e.blockedOn = t, St(e.priority, function() {+ e.blockedOn = t, xt(e.priority, function() {wh(n);});return;@@ -9114,8 +9114,8 @@ var k = /* @__PURE__ */ o(((e) => {if (n === null) {n = e.nativeEvent;var r = new n.constructor(n.type, n);- Sn = r, n.target.dispatchEvent(r), Sn = null;- } else return t = Ft(n), t !== null && Ch(t), e.blockedOn = n, !1;+ xn = r, n.target.dispatchEvent(r), xn = null;+ } else return t = Pt(n), t !== null && Ch(t), e.blockedOn = n, !1;t.shift();}return !0;@@ -9139,8 +9139,8 @@ var k = /* @__PURE__ */ o(((e) => {if (jh(r || n) === null) continue;break;}- var a = Ft(n);- a !== null && (e.splice(t, 3), t -= 3, tc(a, {+ var a = Pt(n);+ a !== null && (e.splice(t, 3), t -= 3, ec(a, {pending: !0,data: i,method: n.method,@@ -9160,12 +9160,12 @@ var k = /* @__PURE__ */ o(((e) => {}for (; 0 < zh.length && (n = zh[0], n.blockedOn === null);) Wh(n), n.blockedOn === null && zh.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;+ var i = n[r], a = n[r + 1], o = i[wt] || null;if (typeof a == "function") o || Xh(n);else if (o) {var s = null;if (a && a.hasAttribute("formAction")) {- if (i = a, o = a[Tt] || null) s = o.formAction;+ if (i = a, o = a[wt] || null) s = o.formAction;else if (jh(i) !== null) continue;} else s = o.action;typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Xh(n);@@ -9211,13 +9211,13 @@ var k = /* @__PURE__ */ o(((e) => {var t = this._internalRoot;if (t === null) throw Error(i(409));var n = t.current;- bh(n, Rd(), e, t, null, null);+ bh(n, Ld(), e, t, null, null);}, eg.prototype.unmount = $h.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), Kd(), t[Et] = null;+ bh(e.current, 2, null, e, null, null), Gd(), t[Tt] = null;}};function eg(e) {@@ -9225,7 +9225,7 @@ var k = /* @__PURE__ */ o(((e) => {}eg.prototype.unstable_scheduleHydration = function(e) {if (e) {- var t = xt();+ var t = bt();e = {blockedOn: null,target: e,@@ -9237,7 +9237,7 @@ var k = /* @__PURE__ */ o(((e) => {};var tg = n.version;if (tg !== "19.3.1") throw Error(i(527, tg, "19.3.1"));- he.findDOMNode = function(e) {+ L.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;@@ -9252,13 +9252,13 @@ var k = /* @__PURE__ */ o(((e) => {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;+ Xe = rg.inject(ng), Ze = rg;} 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, $f(e), new $h(t);+ var n = !1, r = "", o = Cc, s = wc, c = Tc;+ 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[Tt] = t.current, Qf(e), new $h(t);};})), P = /* @__PURE__ */ o(((e, t) => {function n() {@@ -9334,15 +9334,15 @@ function pe(e) {function me(e, t) {return Math.max(e + (t || 0) - Date.now(), 0);}-function he(e, t) {+function L(e, t) {return typeof e == "function" ? e(t) : e;}-function ge(e, t) {+function he(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 !== _e(o, t.options)) return !1;+ } else if (!ye(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 ge(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 (ve(t.options.mutationKey) !== ve(a)) return !1;+ } else if (!ye(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 _e(e, t) {+ return (t?.queryKeyHashFn || ve)(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 ve(e) {+ return JSON.stringify(e, (e, t) => we(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);}-function be(e, t) {+function ye(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 (!ye(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 (!ye(e[r], t[r])) return !1;return !0;}return !1;}-var xe = Object.prototype.hasOwnProperty;-function Se(e, t, n = 0) {+var be = Object.prototype.hasOwnProperty;+function xe(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 = Ce(e) && Ce(t);+ if (!r && !(we(e) && we(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 : be.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 = xe(u, d, n + 1);s[o] = f, f === u && c++;}return i === o && c === i ? e : s;}-function Ce(e, t) {+function Se(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 Ce(e) {return Array.isArray(e) && e.length === Object.keys(e).length;}-function Te(e) {- if (!Ee(e)) return !1;+function we(e) {+ if (!Te(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 !(!Te(r) || !r.hasOwnProperty("isPrototypeOf") || t !== Object.prototype);}-function Ee(e) {+function Te(e) {return Object.prototype.toString.call(e) === "[object Object]";}-function De(e) {+function Ee(e) {return new Promise((t) => {ce.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 De(e, t, n) {+ return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : xe(e, t);}-function ke(e) {+function Oe(e) {return e;}-function Ae(e, t, n = 0) {+function ke(e, t, n = 0) {let r = [...e, t];return n && r.length > n ? r.slice(1) : r;}-function je(e, t, n = 0) {+function Ae(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 je = Symbol();+function Me(e, t) {+ return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === je ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;}-function Pe(e, t) {+function Ne(e, t) {return typeof e == "function" ? e(...t) : !!e;}-function Fe(e, t, n) {+function Pe(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 = () => ue, Le = () => Ie(), Re = class {+var Fe = () => ue, Ie = () => Fe(), Le = class {constructor() {this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);}@@ -9470,7 +9470,7 @@ var Ie = () => ue, Le = () => Ie(), Re = class {}onSubscribe() {}onUnsubscribe() {}-}, ze = new class extends Re {+}, Re = new class extends Le {#e;#t;#n;@@ -9507,13 +9507,13 @@ var Ie = () => ue, Le = () => Ie(), Re = class {isFocused() {return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";}-}(), Be = le;-function Ve() {+}(), ze = le;+function Be() {let e = [], t = 0, n = (e) => {e();}, r = (e) => {e();- }, i = Be, a = (r) => {+ }, i = ze, a = (r) => {t ? e.push(r) : i(() => {n(r);});@@ -9555,7 +9555,7 @@ function Ve() {}};}-var He = Ve(), Ue = new class extends Re {+var Ve = Be(), He = new class extends Le {#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 Ue(e) {return Math.min(1e3 * 2 ** e, 3e4);}-function Ge(e) {- return (e ?? "online") !== "online" || Ue.isOnline();+function We(e) {+ return (e ?? "online") !== "online" || He.isOnline();}-var Ke = class extends Error {+var Ge = class extends Error {constructor(e) {super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;}};-function qe(e) {- return e instanceof Ke;+function Ke(e) {+ return e instanceof Ge;}-function Je(e) {+function qe(e) {let t = !1, n = 0, r, i = "pending", a, o, s = new Promise((e, t) => {a = e, o = t;});s.catch(de);let c = () => i !== "pending", l = (t) => {if (!c()) {- let n = new Ke(t);+ let n = new Ge(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 = () => Re.isFocused() && (e.networkMode === "always" || He.isOnline()) && e.canRun(), p = () => We(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 ?? (Ie() ? 0 : 3), a = e.retryDelay ?? Ue, 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), Ee(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 Je = 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 ?? (Ie() ? Infinity : 3e5));}clearGcTimeout() {this.#e !== void 0 && (ce.clearTimeout(this.#e), this.#e = void 0);}};// node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js-function Xe(e) {+function Ye(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) => {+ Pe(e, () => t.signal, () => n = !0);+ }, u = Me(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 ? Ae : ke;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 ? Ze : Xe, 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] : Xe(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 Xe(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 Ze(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 Qe(e, t) {+ return t ? Xe(e, t) != null : !1;}-function et(e, t) {- return !t || !e.getPreviousPageParam ? !1 : Qe(e, t) != null;+function $e(e, t) {+ return !t || !e.getPreviousPageParam ? !1 : Ze(e, t) != null;}// node_modules/@tanstack/query-core/build/modern/query.js-var tt = class extends Ye {+var et = class extends Je {#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 = rt(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 = rt(this.options);+ e.data !== void 0 && (this.setState(nt(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 = De(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) => he(e.options.enabled, this) !== !1);+ return this.observers.some((e) => L(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 === je || !this.isFetched();}isFetched() {return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;}isStatic() {- return this.getObserversCount() > 0 && this.observers.some((e) => he(e.options.staleTime, this) === "static");+ return this.getObserversCount() > 0 && this.observers.some((e) => L(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 = Me(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" ? Ye(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 = qe({initialPromise: t?.initialPromise,fn: a.fetchFn,onCancel: (e) => {- e instanceof Ke && e.revert && this.setState({+ e instanceof Ge && 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 Ge) {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),+ ...tt(t.data, this.options),fetchMeta: e.meta ?? null};case "success":let n = {...t,- ...rt(e.data, e.dataUpdatedAt),+ ...nt(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), Ve.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 tt(e, t) {return {fetchFailureCount: 0,fetchFailureReason: null,- fetchStatus: Ge(t.networkMode) ? "fetching" : "paused",+ fetchStatus: We(t.networkMode) ? "fetching" : "paused",...e === void 0 && {error: null,status: "pending"}};}-function rt(e, t) {+function nt(e, t) {return {data: e,dataUpdatedAt: t ?? Date.now(),@@ -10015,7 +10015,7 @@ function rt(e, t) {status: "success"};}-function it(e) {+function rt(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 it = class extends Le {#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), ot(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 st(this.#t, this.options, this.options.refetchOnReconnect);}shouldFetchOnWindowFocus() {- return ct(this.#t, this.options, this.options.refetchOnWindowFocus);+ return st(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 he(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 L(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 && !Se(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 || he(this.options.enabled, this.#t) !== he(t.enabled, this.#t) || he(this.options.staleTime, this.#t) !== he(t.staleTime, this.#t)) && this.#g();+ r && ct(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || L(this.options.enabled, this.#t) !== L(t.enabled, this.#t) || L(this.options.staleTime, this.#t) !== L(t.staleTime, this.#t)) && this.#g();let i = this.#_();- r && (this.#t !== n || he(this.options.enabled, this.#t) !== he(t.enabled, this.#t) || i !== this.#f) && this.#v(i);+ r && (this.#t !== n || L(this.options.enabled, this.#t) !== L(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 Se(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(de)), t;}#h(e) {- return !Le() && he(this.options.enabled, this.#t) !== !1 && pe(e);+ return !Ie() && L(this.options.enabled, this.#t) !== !1 && pe(e);}#g() {this.#b();- let e = he(this.options.staleTime, this.#t);+ let e = L(this.options.staleTime, this.#t);if (this.#r.isStale || !this.#h(e)) return;let t = me(this.#r.dataUpdatedAt, e) + 1;this.#u = ce.setTimeout(() => {@@ -10138,11 +10138,11 @@ var at = class extends Re {}, t);}#_() {- return he(this.options.refetchInterval, this.#t) ?? !1;+ return L(this.options.refetchInterval, this.#t) ?? !1;}#v(e) {this.#x(), this.#f = e, this.#f !== 0 && this.#h(this.#f) && (this.#d = ce.setInterval(() => {- (this.options.refetchIntervalInBackground || ze.isFocused()) && this.#m();+ (this.options.refetchIntervalInBackground || Re.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 && ot(e, t), o = i && ct(e, n, t, r);(a || o) && (l = {...l,- ...nt(c.data, e.options)+ ...tt(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 = De(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 = De(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: lt(e, t),refetch: this.refetch,- isEnabled: he(t.enabled, e) !== !1+ isEnabled: L(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), Se(t, e)) return;this.#r = t;let n = (() => {if (!e) return !0;@@ -10219,7 +10219,7 @@ var at = class extends Re {for (let t of n ?? this.#p) if (this.#r[t] !== e[t]) return !0;return !1;})();- He.batch(() => {+ Ve.batch(() => {n && this.listeners.forEach((e) => {e(this.#r);}), this.#e.getQueryCache().notify({@@ -10238,27 +10238,27 @@ var at = class extends Re {this.updateResult(), this.hasListeners() && this.#y();}};-function ot(e, t) {- return he(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || he(t.retryOnMount, e) !== !1);+function at(e, t) {+ return L(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || L(t.retryOnMount, e) !== !1);}-function st(e, t) {- return ot(e, t) || e.state.data !== void 0 && ct(e, t, t.refetchOnMount);+function ot(e, t) {+ return at(e, t) || e.state.data !== void 0 && st(e, t, t.refetchOnMount);}-function ct(e, t, n) {- if (he(t.enabled, e) !== !1 && he(t.staleTime, e) !== "static") {- let r = he(n, e);- return r === "always" || r !== !1 && ut(e, t);+function st(e, t, n) {+ if (L(t.enabled, e) !== !1 && L(t.staleTime, e) !== "static") {+ let r = L(n, e);+ return r === "always" || r !== !1 && lt(e, t);}return !1;}-function lt(e, t, n, r) {- return (e !== t || he(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && ut(e, n);+function ct(e, t, n, r) {+ return (e !== t || L(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && lt(e, n);}-function ut(e, t) {- return he(t.enabled, e) !== !1 && e.isStaleByTime(he(t.staleTime, e));+function lt(e, t) {+ return L(t.enabled, e) !== !1 && e.isStaleByTime(L(t.staleTime, e));}// node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.js-var dt = class extends at {+var ut = class extends it {constructor(e, t) {super(e, t);}@@ -10289,8 +10289,8 @@ var dt = class extends at {...r,fetchNextPage: this.fetchNextPage,fetchPreviousPage: this.fetchPreviousPage,- hasNextPage: $e(t, n.data),- hasPreviousPage: et(t, n.data),+ hasNextPage: Qe(t, n.data),+ hasPreviousPage: $e(t, n.data),isFetchNextPageError: l,isFetchingNextPage: u,isFetchPreviousPageError: d,@@ -10299,13 +10299,13 @@ var dt = class extends at {isRefetching: a && !u && !f};}-}, ft = class extends Ye {+}, dt = class extends Je {#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 || ft(), this.setOptions(e.options), this.scheduleGc();}setOptions(e) {this.options = e, this.updateGcTime(this.options.gcTime);@@ -10340,7 +10340,7 @@ var dt = class extends at {client: this.#e,meta: this.options.meta,mutationKey: this.options.mutationKey- }, r = this.#r = Je({+ }, r = this.#r = qe({fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),onFail: (e, t) => {this.#i({@@ -10456,7 +10456,7 @@ var dt = class extends at {};}};- this.state = t(this.state), He.batch(() => {+ this.state = t(this.state), Ve.batch(() => {this.#t.forEach((t) => {t.onMutationUpdate(e);}), this.#n.notify({@@ -10467,7 +10467,7 @@ var dt = class extends at {});}};-function pt() {+function ft() {return {context: void 0,data: void 0,@@ -10481,7 +10481,7 @@ function pt() {};}// node_modules/@tanstack/query-core/build/modern/mutationCache.js-var mt = class extends Re {+var pt = class extends Le {#e;#t;#n;@@ -10489,7 +10489,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 dt({client: e,mutationCache: this,mutationId: ++this.#n,@@ -10500,7 +10500,7 @@ var mt = class extends Re {}add(e) {this.#e.add(e);- let t = ht(e);+ let t = mt(e);if (typeof t == "string") {let n = this.#t.get(t);n ? n.push(e) : this.#t.set(t, [e]);@@ -10512,7 +10512,7 @@ var mt = class extends Re {}remove(e) {if (this.#e.delete(e)) {- let t = ht(e);+ let t = mt(e);if (typeof t == "string") {let n = this.#t.get(t);if (n) {@@ -10529,7 +10529,7 @@ var mt = class extends Re {});}canRun(e) {- let t = ht(e);+ let t = mt(e);if (typeof t == "string") {let n = this.#t.get(t)?.find((e) => e.state.status === "pending");return !n || n === e;@@ -10537,11 +10537,11 @@ var mt = class extends Re {return !0;}runNext(e) {- let t = ht(e);+ let t = mt(e);return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();}clear() {- He.batch(() => {+ Ve.batch(() => {let e = this.getAll();this.#e.clear(), this.#t.clear(), e.forEach((e) => {this.notify({@@ -10559,13 +10559,13 @@ var mt = class extends Re {exact: !0,...e};- return this.getAll().find((e) => _e(t, e));+ return this.getAll().find((e) => ge(t, e));}findAll(e = {}) {- return this.getAll().filter((t) => _e(e, t));+ return this.getAll().filter((t) => ge(e, t));}notify(e) {- He.batch(() => {+ Ve.batch(() => {this.listeners.forEach((t) => {t(e);});@@ -10573,14 +10573,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(de))));+ return Ve.batch(() => Promise.all(e.map((e) => e.continue().catch(de))));}};-function ht(e) {+function mt(e) {return e.options.scope?.id;}// node_modules/@tanstack/query-core/build/modern/mutationObserver.js-var gt = class extends Re {+var ht = class extends Le {#e;#t = void 0;#n;@@ -10593,11 +10593,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), Se(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 && ve(t.mutationKey) !== ve(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());@@ -10618,7 +10618,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 ?? ft();this.#t = {...e,isPending: e.status === "pending",@@ -10630,7 +10630,7 @@ var gt = class extends Re {};}#a(e) {- He.batch(() => {+ Ve.batch(() => {let t = this.#r;if (t && this.hasListeners()) {let n = this.#t.variables, r = this.#t.context, i = {@@ -10669,11 +10669,11 @@ var gt = class extends Re {}};// node_modules/@tanstack/query-core/build/modern/queriesObserver.js-function _t(e, t) {+function gt(e, t) {let n = new Set(t);return e.filter((e) => !n.has(e));}-var vt = class extends Re {+var _t = class extends Le {#e;#t;#n;@@ -10703,16 +10703,16 @@ var vt = class extends Re {});}setQueries(e, t) {- this.#n = e, this.#r = t, He.batch(() => {+ this.#n = e, this.#r = t, Ve.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 || !Se(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 && (gt(e, n).forEach((e) => {e.destroy();- }), _t(n, e).forEach((e) => {+ }), gt(n, e).forEach((e) => {e.subscribe((t) => {this.#m(e, t);});@@ -10750,7 +10750,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 = xe(this.#a, t(e))), this.#a;}return e;}@@ -10767,7 +10767,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 it(this.#e, r);n.push({defaultedQueryOptions: r,observer: i@@ -10781,21 +10781,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) && Ve.batch(() => {this.listeners.forEach((e) => {e(this.#t);});});}}-}, yt = class extends Re {+}, vt = class extends Le {#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 ?? _e(r, t), a = this.get(i);+ return a || (a = new et({client: e,queryKey: r,queryHash: i,@@ -10817,7 +10817,7 @@ var vt = class extends Re {}));}clear() {- He.batch(() => {+ Ve.batch(() => {this.getAll().forEach((e) => {this.remove(e);});@@ -10834,34 +10834,34 @@ var vt = class extends Re {exact: !0,...e};- return this.getAll().find((e) => ge(t, e));+ return this.getAll().find((e) => he(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) => he(e, t)) : t;}notify(e) {- He.batch(() => {+ Ve.batch(() => {this.listeners.forEach((t) => {t(e);});});}onFocus() {- He.batch(() => {+ Ve.batch(() => {this.getAll().forEach((e) => {e.onFocus();});});}onOnline() {- He.batch(() => {+ Ve.batch(() => {this.getAll().forEach((e) => {e.onOnline();});});}-}, bt = class {+}, yt = class {#e;#t;#n;@@ -10871,12 +10871,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 vt(), this.#t = e.mutationCache || new pt(), 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 = Re.subscribe(async (e) => {e && (await this.resumePausedMutations(), this.#e.onFocus());- }), this.#s = Ue.subscribe(async (e) => {+ }), this.#s = He.subscribe(async (e) => {e && (await this.resumePausedMutations(), this.#e.onOnline());}));}@@ -10901,7 +10901,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(he(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));+ return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(L(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));}getQueriesData(e) {return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);@@ -10914,7 +10914,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 Ve.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));}getQueryState(e) {let t = this.defaultQueryOptions({ queryKey: e });@@ -10922,7 +10922,7 @@ var vt = class extends Re {}removeQueries(e) {let t = this.#e;- He.batch(() => {+ Ve.batch(() => {t.findAll(e).forEach((e) => {t.remove(e);});@@ -10930,7 +10930,7 @@ var vt = class extends Re {}resetQueries(e, t) {let n = this.#e;- return He.batch(() => {+ return Ve.batch(() => {let r = n.findAll(e), i = new Set(r);return r.forEach((e) => {e.reset();@@ -10944,11 +10944,11 @@ var vt = class extends Re {let n = {revert: !0,...t- }, r = He.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));+ }, r = Ve.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));return Promise.all(r).then(de).catch(de);}invalidateQueries(e, t = {}) {- return He.batch(() => (this.#e.findAll(e).forEach((e) => {+ return Ve.batch(() => (this.#e.findAll(e).forEach((e) => {e.invalidate();}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({...e,@@ -10959,7 +10959,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 = Ve.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(de)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;}));@@ -10968,14 +10968,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(he(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;+ let n = this.#e.build(this, t), r = n.isStaleByTime(L(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(he(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);+ return n.isStaleByTime(L(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);}prefetchQuery(e) {return this.fetchQuery(e).then(de).catch(de);@@ -10993,7 +10993,7 @@ var vt = class extends Re {return e._type = "infinite", this.ensureQueryData(e);}resumePausedMutations() {- return Ue.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();+ return He.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();}getQueryCache() {return this.#e;@@ -11008,7 +11008,7 @@ var vt = class extends Re {this.#n = e;}setQueryDefaults(e, t) {- this.#r.set(ye(e), {+ this.#r.set(ve(e), {queryKey: e,defaultOptions: t});@@ -11016,11 +11016,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);+ ye(e, t.queryKey) && Object.assign(n, t.defaultOptions);}), n;}setMutationDefaults(e, t) {- this.#i.set(ye(e), {+ this.#i.set(ve(e), {mutationKey: e,defaultOptions: t});@@ -11028,7 +11028,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);+ ye(e, t.mutationKey) && Object.assign(n, t.defaultOptions);}), n;}defaultQueryOptions(e) {@@ -11039,7 +11039,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 ||= _e(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 === je && (t.enabled = !1), t;}defaultMutationOptions(e) {return e?._defaulted ? e : {@@ -11052,10 +11052,10 @@ var vt = class extends Re {clear() {this.#e.clear(), this.#t.clear();}-}, xt = F.createContext(!1), St = () => F.useContext(xt);-xt.Provider;+}, bt = F.createContext(!1), xt = () => F.useContext(bt);+bt.Provider;// node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js-function Ct() {+function St() {let e = !1;return {clearReset: () => {@@ -11067,24 +11067,24 @@ function Ct() {isReset: () => e};}-var wt = F.createContext(Ct()), Tt = () => F.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 Ct = F.createContext(St()), wt = () => F.useContext(Ct), Tt = (e, t, n) => {+ let r = n?.state.status === "error" && typeof e.throwOnError == "function" ? Ne(e.throwOnError, [n.state.error, n]) : e.throwOnError;(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));-}, Dt = (e) => {+}, Et = (e) => {F.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) => {+}, Dt = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || Ne(n, [e.error, r])), Ot = (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(() => {+}, kt = (e, t) => e?.suspense && t.isPending, At = (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 = ae(n), i = St(), a = Tt(), o = t.subscribed !== !1, s = F.useMemo(() => e.map((e) => {+function jt({ queries: e, ...t }, n) {+ let r = ae(n), i = xt(), a = wt(), o = t.subscribed !== !1, s = F.useMemo(() => e.map((e) => {let t = r.defaultQueryOptions(e);return t._optimisticResults = i ? "isRestoring" : o ? "optimistic" : void 0, t;}), [@@ -11094,26 +11094,26 @@ function Mt({ queries: e, ...t }, n) {o]);s.forEach((e) => {- kt(e);+ Ot(e);let t = r.getQueryCache().get(e.queryHash);- Et(e, a, t);- }), Dt(a);- let [c] = F.useState(() => new vt(r, s, t)), [l, u, d] = c.getOptimisticResult(s, t.combine), f = !i && o;- F.useSyncExternalStore(F.useCallback((e) => f ? c.subscribe(He.batchCalls(e)) : de, [c, f]), () => c.getCurrentResult(), () => c.getCurrentResult()), F.useEffect(() => {+ Tt(e, a, t);+ }), Et(a);+ let [c] = F.useState(() => new _t(r, s, t)), [l, u, d] = c.getOptimisticResult(s, t.combine), f = !i && o;+ F.useSyncExternalStore(F.useCallback((e) => f ? c.subscribe(Ve.batchCalls(e)) : de, [c, f]), () => c.getCurrentResult(), () => c.getCurrentResult()), F.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) => kt(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 && kt(n, e) ? At(n, new it(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 && Dt({result: e,errorResetBoundary: a,throwOnError: n.throwOnError,@@ -11125,17 +11125,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 = ae(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 Mt(e, t, n) {+ let r = xt(), i = wt(), a = ae(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;+ o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, Ot(o), Tt(o, i, s), Et(i);let [l] = F.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;if (F.useSyncExternalStore(F.useCallback((e) => {- let t = d ? l.subscribe(He.batchCalls(e)) : de;+ let t = d ? l.subscribe(Ve.batchCalls(e)) : de;return l.updateResult(), t;}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), F.useEffect(() => {l.setOptions(o);- }, [o, l]), At(o, u)) throw jt(o, l, i);- if (Ot({+ }, [o, l]), kt(o, u)) throw At(o, l, i);+ if (Dt({result: u,errorResetBoundary: i,throwOnError: o.throwOnError,@@ -11145,19 +11145,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 Nt(e, t) {+ return Mt(e, it, t);}// node_modules/@tanstack/react-query/build/modern/useMutation.js-function Ft(e, t) {- let n = ae(t), [r] = F.useState(() => new gt(n, e));+function Pt(e, t) {+ let n = ae(t), [r] = F.useState(() => new ht(n, e));F.useEffect(() => {r.setOptions(e);}, [r, e]);- let i = F.useSyncExternalStore(F.useCallback((e) => r.subscribe(He.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = F.useCallback((...e) => {+ let i = F.useSyncExternalStore(F.useCallback((e) => r.subscribe(Ve.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = F.useCallback((...e) => {r.mutate(e[0], e[1]).catch(de);}, [r]);- if (i.error && Pe(r.options.throwOnError, [i.error])) throw i.error;+ if (i.error && Ne(r.options.throwOnError, [i.error])) throw i.error;return {...i,mutate: a,@@ -11165,61 +11165,61 @@ function Ft(e, t) {};}// node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js-function It(e, t) {- return Nt(e, dt, t);+function Ft(e, t) {+ return Mt(e, ut, t);}// src/core/entity-names.ts-var Lt = /* @__PURE__ */ l(N(), 1), Rt = P(), zt = /* @__PURE__ */ new Map(), Bt = /* @__PURE__ */ new Map(), Vt = /* @__PURE__ */ new Map(), Ht = {}, Ut = /* @__PURE__ */ new Set(), Wt = "zh-CN", Gt = 0, Kt = () => {- Gt++, Ut.forEach((e) => e());-}, qt = () => Gt, Jt = (e) => (Ut.add(e), () => {- Ut.delete(e);-}), Yt = () => Wt;-function Xt(e) {- Wt !== e && (Wt = e, Kt());-}-function Zt(e, t = {}) {- zt.clear(), Bt.clear(), Vt.clear(), Ht = t;- for (let t of e) Qt(t);- Kt();-}-function Qt(e) {- Bt.set(`${e.kind}/${e.id}`, e), zt.set(`${e.kind}/${e.canonical_name}`, e);+var It = /* @__PURE__ */ l(N(), 1), Lt = P(), Rt = /* @__PURE__ */ new Map(), zt = /* @__PURE__ */ new Map(), Bt = /* @__PURE__ */ new Map(), Vt = {}, Ht = /* @__PURE__ */ new Set(), Ut = "zh-CN", Wt = 0, Gt = () => {+ Wt++, Ht.forEach((e) => e());+}, Kt = () => Wt, qt = (e) => (Ht.add(e), () => {+ Ht.delete(e);+}), Jt = () => Ut;+function Yt(e) {+ Ut !== e && (Ut = e, Gt());+}+function Xt(e, t = {}) {+ Rt.clear(), zt.clear(), Bt.clear(), Vt = t;+ for (let t of e) Zt(t);+ Gt();+}+function Zt(e) {+ zt.set(`${e.kind}/${e.id}`, e), Rt.set(`${e.kind}/${e.canonical_name}`, e);for (let t of [e.zh_cn, e.ja]) {if (!t) continue;- let n = `${e.kind}/${t}`, r = Vt.get(n) || /* @__PURE__ */ new Map();- r.set(e.id, e), Vt.set(n, r);+ let n = `${e.kind}/${t}`, r = Bt.get(n) || /* @__PURE__ */ new Map();+ r.set(e.id, e), Bt.set(n, r);}}-function $t(e) {- Qt(e), Kt();+function Qt(e) {+ Zt(e), Gt();}-function en(e, t, n) {- let r = n ? Bt.get(`${e}/${n}`) : void 0;+function $t(e, t, n) {+ let r = n ? zt.get(`${e}/${n}`) : void 0;if (r && [r.canonical_name,r.zh_cn,r.ja].includes(t)) return r;- let i = `${e}/${t}`, a = zt.get(i);+ let i = `${e}/${t}`, a = Rt.get(i);if (a) return a;- let o = Vt.get(i);+ let o = Bt.get(i);return n ? o?.get(n) : o?.size === 1 ? o.values().next().value : void 0;}-function tn(e, t, n) {- let r = en(e, t, n);- if (Wt === "ja") return r?.ja || t;+function en(e, t, n) {+ let r = $t(e, t, n);+ if (Ut === "ja") return r?.ja || t;if (r?.zh_cn) return r.zh_cn;if (e !== "performer" && e !== "creator" || !/^[\p{Script=Han}々\s]+$/u.test(t)) return t;let i = [];- for (let e of t) i.push(e === "々" ? i.at(-1) || e : Ht[e] || e);+ for (let e of t) i.push(e === "々" ? i.at(-1) || e : Vt[e] || e);return i.join("");}-function nn(e, t, n) {- let r = en(e, t, n);- return !r || (Wt === "ja" ? r.ja : r.zh_cn) ? "" : Wt === "ja" ? "暂无已核对的日文原文,保留当前名称" : "暂无已核对的中文写法,保留当前名称";+function tn(e, t, n) {+ let r = $t(e, t, n);+ return !r || (Ut === "ja" ? r.ja : r.zh_cn) ? "" : Ut === "ja" ? "暂无已核对的日文原文,保留当前名称" : "暂无已核对的中文写法,保留当前名称";}// src/core/entity-links.ts-var rn = /* @__PURE__ */ new Map(), an = /* @__PURE__ */ new Map(), on = /* @__PURE__ */ new Map(), sn = {+var nn = /* @__PURE__ */ new Map(), rn = /* @__PURE__ */ new Map(), an = /* @__PURE__ */ new Map(), on = {performers: "performer",studios: "studio",creators: "creator",@@ -11227,25 +11227,25 @@ var rn = /* @__PURE__ */ new Map(), an = /* @__PURE__ */ new Map(), on = /* @__Ptags: "tag",series: "series"};-function cn(e, t, n) {- typeof n == "number" && Number.isSafeInteger(n) && n > 0 && t && (rn.set(`${e}/${t}`, n), on.set(`${e}/${n}`, t));+function sn(e, t, n) {+ typeof n == "number" && Number.isSafeInteger(n) && n > 0 && t && (nn.set(`${e}/${t}`, n), an.set(`${e}/${n}`, t));}-var ln = (e, t) => on.get(`${e}/${t}`);-function un(e, t) {- let n = `${e}/${t}`, r = rn.get(n);+var cn = (e, t) => an.get(`${e}/${t}`);+function ln(e, t) {+ let n = `${e}/${t}`, r = nn.get(n);if (r) return r;- let i = an.get(n);+ let i = rn.get(n);return i?.size === 1 ? [...i][0] : void 0;}-function dn(e, t, n) {+function un(e, t, n) {if (typeof n != "number" || !Number.isSafeInteger(n) || n <= 0 || !t) return;- let r = `${e}/${t}`, i = an.get(r) || /* @__PURE__ */ new Set();- i.add(n), an.set(r, i);+ let r = `${e}/${t}`, i = rn.get(r) || /* @__PURE__ */ new Set();+ i.add(n), rn.set(r, i);}-function fn(e, t) {+function dn(e, t) {if (!t || typeof t != "object") return;let n = t, r = new URL(e, "https://peach.invalid");- if (r.pathname === "/api/entity/shapes" && Array.isArray(n.name_variants) && Zt(n.name_variants, n.name_glyphs), ![+ if (r.pathname === "/api/entity/shapes" && Array.isArray(n.name_variants) && Xt(n.name_variants, n.name_glyphs), !["/api/entity","/api/index","/api/entity/shapes",@@ -11253,26 +11253,26 @@ function fn(e, t) {"/api/facets","/api/suggest"].includes(r.pathname)) return;- let i = r.searchParams.get("kind") || r.pathname.slice(5), a = sn[i] || i;+ let i = r.searchParams.get("kind") || r.pathname.slice(5), a = on[i] || i;if (n.canonical_name && n.id) {- n.name_display?.current && $t({+ n.name_display?.current && Qt({...n.name_display.current,id: n.id,kind: n.kind || a});- for (let e of Array.isArray(n.aliases) ? n.aliases : []) dn(n.kind || a, e, n.id);- cn(n.kind || a, n.canonical_name, n.id);+ for (let e of Array.isArray(n.aliases) ? n.aliases : []) un(n.kind || a, e, n.id);+ sn(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)) dn(e.kind, t, e.id);- cn(e.kind, e.names?.[0], e.id);+ for (let t of (e.names || []).slice(1)) un(e.kind, t, e.id);+ sn(e.kind, e.names?.[0], e.id);}- for (let e of Array.isArray(n.items) ? n.items : []) a && cn(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(sn)) for (let r of Array.isArray(n[e]) ? n[e] : []) cn(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 : []) cn(e.kind, t.value, t.entity_id);+ for (let e of Array.isArray(n.items) ? n.items : []) a && sn(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(on)) for (let r of Array.isArray(n[e]) ? n[e] : []) sn(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 : []) sn(e.kind, t.value, t.entity_id);}// ../resources/media-sources.json-var pn = [+var fn = [{id: "local",name: "本地磁盘",@@ -11321,9 +11321,9 @@ var pn = [cloud: !0,icon: "database"}-], mn = pn, hn = pn.map((e) => [e.id, e.label]), gn = pn.map((e) => e.id), _n = pn.filter((e) => e.cloud).map((e) => e.id), vn = Object.fromEntries(pn.map((e) => [e.id, e.name])), yn = (e) => pn.find((t) => t.id === e)?.default_cost === "free" ? "free" : "metered";+], pn = fn, mn = fn.map((e) => [e.id, e.label]), hn = fn.map((e) => e.id), gn = fn.filter((e) => e.cloud).map((e) => e.id), _n = Object.fromEntries(fn.map((e) => [e.id, e.name])), vn = (e) => fn.find((t) => t.id === e)?.default_cost === "free" ? "free" : "metered";// src/core/request-error.ts-function bn(e, t = 0) {+function yn(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: "登录已失效,请刷新页面重新登录。",@@ -11341,19 +11341,19 @@ function bn(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 xn = {+var bn = {"text-aa": 1.435,"mark-javdb": 326 / 111};-function Sn(e) {- let t = xn[e];+function xn(e) {+ let t = bn[e];return {wide: !!t,viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24"};}// src/core/library-scope.ts-function Cn(e) {+function Sn(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;@@ -11361,11 +11361,11 @@ function Cn(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 } = Sn(e), i = [n ? "iconwide" : "", t].filter(Boolean).join(" ");+var R = (e) => document.querySelector(e), z = (e, t = "") => {+ let { wide: n, viewBox: r } = xn(e), i = [n ? "iconwide" : "", t].filter(Boolean).join(" ");return `<svg${i ? ` class="${i}"` : ""} viewBox="${r}" aria-hidden="true"><use href="#i-${e}"/></svg>`;-}, wn = async (e, t) => {- t?.method && t.method.toUpperCase() !== "GET" || (e = Cn(e));+}, Cn = async (e, t) => {+ t?.method && t.method.toUpperCase() !== "GET" || (e = Sn(e));let { signal: n = null, ...r } = t || {}, i = {headers: { "Content-Type": "application/json" },...r@@ -11375,7 +11375,7 @@ var L = (e) => document.querySelector(e), R = (e, t = "") => {try {a = await fetch(e, i);} catch (e) {- throw e?.name === "AbortError" ? e : Error(bn(e), { cause: e });+ throw e?.name === "AbortError" ? e : Error(yn(e), { cause: e });}let o = null;try {@@ -11383,10 +11383,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(bn(e, a.status));+ throw Error(yn(e, a.status));}- return fn(e, o), o;-}, Tn = (e) => e?.name === "AbortError", En = async (e, t, n) => {+ return dn(e, o), o;+}, wn = (e) => e?.name === "AbortError", Tn = async (e, t, n) => {let r = [...e], i = Array(r.length), a = 0, o = async () => {for (; a < r.length;) {let e = a++;@@ -11404,41 +11404,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;-}, Dn = {+}, En = {fresh: "/unseen",later: "/watch-later",flagged: "/flagged",ads: "/junk-files"-}, On = Object.fromEntries(Object.entries(Dn).map(([e, t]) => [t, e])), kn = {+}, Dn = Object.fromEntries(Object.entries(En).map(([e, t]) => [t, e])), On = {fresh: "没看过",later: "稍后看",flagged: "已标记",ads: "垃圾文件"-}, An = (e) => e === "/" || e === "/wall" || Object.prototype.hasOwnProperty.call(On, e), jn = {+}, kn = (e) => e === "/" || e === "/wall" || Object.prototype.hasOwnProperty.call(Dn, e), An = {performer: "performers",studio: "studios",creator: "creators",series: "series",agency: "agencies",tag: "tags"-}, Mn = {+}, jn = {performers: "performer",studios: "studio",creators: "creator",series: "series",agencies: "agency",tags: "tag"-}, Nn = (e, t, n) => {- n && cn(e, t, n);- let r = n || un(e, t);- return `/${jn[e] || e}/${r || encodeURIComponent(t)}`;-}, z = (e) => String(e ?? "").replace(/[&<>"']/g, (e) => ({+}, Mn = (e, t, n) => {+ n && sn(e, t, n);+ let r = n || ln(e, t);+ return `/${An[e] || e}/${r || encodeURIComponent(t)}`;+}, B = (e) => String(e ?? "").replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), Pn = [+})[e]), Nn = [["nax-pro.com", "NAX"],["t-powers.co.jp", "T-POWERS"],["dmm.co.jp", "DMM"],@@ -11476,16 +11476,16 @@ var L = (e) => document.querySelector(e), R = (e, t = "") => {["naturalhigh.co.jp", "Natural High"],["bangbros.com", "BangBros"],["dorcelclub.com", "Dorcel"]-], Fn = (e) => String(e).replace(/^www\./, "").toLowerCase(), In = (e) => {+], Pn = (e) => String(e).replace(/^www\./, "").toLowerCase(), Fn = (e) => {try {- return Fn(new URL(e).hostname);+ return Pn(new URL(e).hostname);} catch {return "";}-}, Ln = (e) => {- let t = In(e);- return t && Pn.find(([e]) => t === e || t.endsWith("." + e))?.[1] || "";-}, Rn = (e) => `/link-mark?id=${encodeURIComponent(e.link_id ?? "")}`, zn = (e) => `/site-mark?${new URLSearchParams(e)}`, Bn = [+}, In = (e) => {+ let t = Fn(e);+ return t && Nn.find(([e]) => t === e || t.endsWith("." + e))?.[1] || "";+}, Ln = (e) => `/link-mark?id=${encodeURIComponent(e.link_id ?? "")}`, Rn = (e) => `/site-mark?${new URLSearchParams(e)}`, zn = [[["x.com", "twitter.com"], "brand-x"],[["instagram.com"], "brand-instagram"],[["threads.com", "threads.net"], "brand-threads"],@@ -11493,65 +11493,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"]-], Vn = (e) => {- let t = In(e);- return t && Bn.find(([e]) => e.some((e) => t === e || t.endsWith("." + e)))?.[1] || "";-}, Hn = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase(), Un = ["web.archive.org"], Wn = (e) => Un.includes(In(e)), Gn = (e, t, n = []) => {- let r = Ln(e.url) || e.label || "";- if (t !== "studio" && t !== "agency" || Wn(e.url)) return r;- let i = [r, e.label].map(Hn).filter(Boolean);- return !i.length || i.includes("官方网站") || i.some((t) => Fn(t) === In(e.url) || n.some((e) => {- let n = Hn(e);+], Bn = (e) => {+ let t = Fn(e);+ return t && zn.find(([e]) => e.some((e) => t === e || t.endsWith("." + e)))?.[1] || "";+}, Vn = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase(), Hn = ["web.archive.org"], Un = (e) => Hn.includes(Fn(e)), Wn = (e, t, n = []) => {+ let r = In(e.url) || e.label || "";+ if (t !== "studio" && t !== "agency" || Un(e.url)) return r;+ let i = [r, e.label].map(Vn).filter(Boolean);+ return !i.length || i.includes("官方网站") || i.some((t) => Pn(t) === Fn(e.url) || n.some((e) => {+ let n = Vn(e);return !!n && (n.includes(t) || t.includes(n));})) ? "官方网站" : r;-}, Kn = (e) => {+}, Gn = (e) => {let t = Number(e);return Number.isFinite(t) && t > 0 ? t : 0;-}, qn = (e) => {- if (e = Kn(e), !e) return "—";+}, Kn = (e) => {+ if (e = Gn(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")}`;-}, Jn = (e) => {+}, qn = (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")}`;-}, Yn = (e) => {+}, Jn = (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";-}, Xn = typeof Intl < "u" && typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, Zn = (e) => Xn ? Array.from(Xn.segment(e), (e) => e.segment) : Array.from(e), Qn = (e, t) => {+}, Yn = typeof Intl < "u" && typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, Xn = (e) => Yn ? Array.from(Yn.segment(e), (e) => e.segment) : Array.from(e), Zn = (e, t) => {let n = String(e ?? "").trim(), r = [];if (!n || t <= 0) return "";- if (!Xn) return Array.from(n).slice(0, t).join("");- for (let e of Xn.segment(n)) if (r.push(e.segment), r.length >= t) break;+ if (!Yn) return Array.from(n).slice(0, t).join("");+ for (let e of Yn.segment(n)) if (r.push(e.segment), r.length >= t) break;return r.join("");-}, $n = (e, t = "?") => Qn(e, 1) || t, er = (e, t) => {- let n = Zn(String(e ?? ""));+}, Qn = (e, t = "?") => Zn(e, 1) || t, $n = (e, t) => {+ let n = Xn(String(e ?? ""));return n.length > t ? `${n.slice(0, Math.max(0, t - 1)).join("")}…` : n.join("");-}, tr = {- ...vn,+}, er = {+ ..._n,local: "本地",online: "在线"-}, nr = (e, t) => {+}, tr = (e, t) => {let n = 2166136261;for (let r of `${e}\u0000${t}`) n ^= r.codePointAt(0), n = Math.imul(n, 16777619) >>> 0;return n;-}, rr = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991), ir = /* @__PURE__ */ new Set([+}, nr = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991), rr = /* @__PURE__ */ new Set(["短片-2分内","中片-10分内","长片-30分内","超长片-30分上"-]), ar = (e) => String(e || "").split(",").filter((e) => e && !ir.has(e)).join(","), or = class extends Error {+]), ir = (e) => String(e || "").split(",").filter((e) => e && !rr.has(e)).join(","), ar = class extends Error {status;body;constructor(e, t, n = null) {- super(bn(e, t)), this.name = "ApiError", this.status = t, this.body = n;+ super(yn(e, t)), this.name = "ApiError", this.status = t, this.body = n;}-}, sr = (e) => {+}, or = (e) => {if (!e || typeof e != "object") return "";let t = e;for (let e of [@@ -11563,9 +11563,9 @@ var L = (e) => document.querySelector(e), R = (e, t = "") => {if (typeof n == "string" && n) return n;}return "";-}, cr = (e) => bn(e);-async function B(e, t) {- e = Cn(e);+}, sr = (e) => yn(e);+async function V(e, t) {+ e = Sn(e);let n = await fetch(e, {headers: { Accept: "application/json" },credentials: "same-origin",@@ -11576,10 +11576,10 @@ async function B(e, t) {} catch {t?.throwIfAborted();}- if (!n.ok) throw new or(sr(r) || `请求失败(${n.status})`, n.status);- return fn(e, r), r;+ if (!n.ok) throw new ar(or(r) || `请求失败(${n.status})`, n.status);+ return dn(e, r), r;}-async function V(e, t, n = "POST", r) {+async function H(e, t, n = "POST", r) {let i = await fetch(e, {method: n,...r ? { signal: r } : {},@@ -11595,11 +11595,11 @@ async function V(e, t, n = "POST", r) {} catch {r?.throwIfAborted();}- if (!i.ok) throw new or(sr(a) || `请求失败(${i.status})`, i.status, a);+ if (!i.ok) throw new ar(or(a) || `请求失败(${i.status})`, i.status, a);return a;}// src/follow-sort.ts-var lr = [+var cr = [["checked", "检查时间"],["added", "添加时间"],["name", "创作者名称"],@@ -11607,7 +11607,7 @@ var lr = [["source", "来源名称"],["provider", "站点"],["status", "状态"]-], ur = "checked", dr = {+], lr = "checked", ur = {checked: "desc",added: "desc",name: "asc",@@ -11615,15 +11615,15 @@ var lr = [source: "asc",provider: "asc",status: "asc"-}, fr = (e) => lr.some(([t]) => t === e);-function pr(e, t) {- let n = fr(e) ? e : ur;+}, dr = (e) => cr.some(([t]) => t === e);+function fr(e, t) {+ let n = dr(e) ? e : lr;return {sort: n,- dir: t === "asc" || t === "desc" ? t : dr[n]+ dir: t === "asc" || t === "desc" ? t : ur[n]};}-function mr(e, t, n = 1) {+function pr(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;@@ -11643,37 +11643,37 @@ function mr(e, t, n = 1) {t];}-function hr(e, t) {+function mr(e, t) {return Math.max(1, Math.ceil(e / t));}-function gr(e, t) {+function hr(e, t) {return Math.min(Math.max(1, Math.floor(e) || 1), t);}// src/query/client.ts-var H = new bt({ defaultOptions: { queries: {+var U = new yt({ defaultOptions: { queries: {gcTime: Infinity,networkMode: "always",retry: 0,refetchOnWindowFocus: !1,refetchOnMount: (e) => e.state.isInvalidated,retryOnMount: !1-} } }), _r = "/api/sources", vr = ["media-sources"], yr = (e) => B(_r, e), br = (e) => e?.name === "AbortError" || qe(e);-async function xr(e) {+} } }), gr = "/api/sources", _r = ["media-sources"], vr = (e) => V(gr, e), yr = (e) => e?.name === "AbortError" || Ke(e);+async function br(e) {e?.throwIfAborted();- let t = () => H.fetchQuery({- queryKey: vr,- queryFn: () => yr(e)+ let t = () => U.fetchQuery({+ queryKey: _r,+ queryFn: () => vr(e)});try {let n = await t();return e?.throwIfAborted(), n;} catch (n) {- if (e?.throwIfAborted(), !br(n)) throw n;+ if (e?.throwIfAborted(), !yr(n)) throw n;return await t();}}// src/react/time.ts-function Sr(e) {+function xr(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);@@ -11681,22 +11681,22 @@ function Sr(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 Cr = "/api/follow", wr = "/api/follow/credentials", Tr = "/api/follow/check", Er = "/api/follow/source", Dr = "/api/follow/resolve", Or = "/api/follow/suggest", kr = "/api/follow/author-alias", Ar = "/api/follow/credential", jr = "/api/follow/status", Mr = "/api/feeds", Nr = "/api/feeds/source", Pr = "/api/feeds/check", Fr = "/api/feeds/lookup", Ir = ["follow-manage"], Lr = ["follow-manage", "credentials"], Rr = ["follow-manage", "check"], zr = ["follow-manage", "resolve"], Br = ["follow-manage", "feeds"], Vr = (e) => [+var Sr = "/api/follow", Cr = "/api/follow/credentials", wr = "/api/follow/check", Tr = "/api/follow/source", Er = "/api/follow/resolve", Dr = "/api/follow/suggest", Or = "/api/follow/author-alias", kr = "/api/follow/credential", Ar = "/api/follow/status", jr = "/api/feeds", Mr = "/api/feeds/source", Nr = "/api/feeds/check", Pr = "/api/feeds/lookup", Fr = ["follow-manage"], Ir = ["follow-manage", "credentials"], Lr = ["follow-manage", "check"], Rr = ["follow-manage", "resolve"], zr = ["follow-manage", "feeds"], Br = (e) => ["follow-manage","suggest",e-], Hr = [["default", "默认视图"], ["table", "表格视图"]], Ur = [+], Vr = [["default", "默认视图"], ["table", "表格视图"]], Hr = [10,20,50,100-], Wr = Object.fromEntries(lr), Gr = {+], Ur = Object.fromEntries(cr), Wr = {author: "name",source: "source",provider: "provider",status: "status",checked: "checked"-}, Kr = (e) => Hr.some(([t]) => t === e), qr = (e) => Ur.includes(Number(e)) ? Number(e) : 20, Jr = {+}, Gr = (e) => Vr.some(([t]) => t === e), Kr = (e) => Hr.includes(Number(e)) ? Number(e) : 20, qr = {checked: ["从近到远", "从远到近"],added: ["从近到远", "从远到近"],name: ["倒序", "正序"],@@ -11704,34 +11704,34 @@ var Cr = "/api/follow", wr = "/api/follow/credentials", Tr = "/api/follow/check"source: ["倒序", "正序"],provider: ["倒序", "正序"],status: ["倒序", "正序"]-}, Yr = (e, t) => `按${Wr[e]}${Jr[e][t === "asc" ? 0 : 1]}排序`;-function Xr(e) {+}, Jr = (e, t) => `按${Ur[e]}${qr[e][t === "asc" ? 0 : 1]}排序`;+function Yr(e) {let t = e.last_status;return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;}-function Zr(e) {+function Xr(e) {return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";}-var Qr = (e) => e.last_status === "error" || e.last_status === "unauthorized";-function $r(e) {+var Zr = (e) => e.last_status === "error" || e.last_status === "unauthorized";+function Qr(e) {let t = Number(e) || 0;return t >= 2880 ? `每 ${Math.round(t / 1440).toLocaleString()} 天` : t >= 60 ? `每 ${Math.round(t / 60)} 小时` : `每 ${t} 分钟`;}-function ei(e) {+function $r(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 ti = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), ni = {- source: ti,- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || ti(e, t),- status: (e, t) => Xr(e) - Xr(t) || ti(e, t)-}, ri = (e) => Date.parse(e || "") || 0, ii = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();-function ai(e, t = []) {+var ei = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), ti = {+ source: ei,+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || ei(e, t),+ status: (e, t) => Yr(e) - Yr(t) || ei(e, t)+}, ni = (e) => Date.parse(e || "") || 0, ri = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();+function ii(e, t = []) {if (!e.length) return "";- let n = (e) => String(e.author_name || "").trim() || ii(e.label), r = e.find((e) => e.entity_name);+ let n = (e) => String(e.author_name || "").trim() || ri(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 ii(i.canonical_name);+ if (i) return ri(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);@@ -11739,18 +11739,18 @@ function ai(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 oi(e) {+function ai(e) {let t = e.trim().match(/[A-Za-z0-9]/);return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();}-function si(e) {+function oi(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 ci(e) {+function si(e) {let t = [], n = /* @__PURE__ */ new Map();for (let r of e) {let e = r.author_key || `source:${r.id}`;@@ -11758,32 +11758,32 @@ function ci(e) {}return t.map((e) => n.get(e));}-function li(e, t, n, r = []) {- let i = ci(e), a = n === dr[t] ? 1 : -1, o = (e) => ai(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = ni[t];+function ci(e, t, n, r = []) {+ let i = si(e), a = n === ur[t] ? 1 : -1, o = (e) => ii(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = ti[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) => ri(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => ri(e.created_at)));+ let l = (e) => Math.max(...e.map((e) => ni(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => ni(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 ui(e, t, n, r = []) {+function li(e, t, n, r = []) {let i = e.flatMap((e) => {- let t = ai(e, r);+ let t = ii(e, r);return e.map((n) => ({source: n,group: e,author: t}));- }), a = ni[t];+ }), a = ti[t];if (a) {- let e = n === dr[t] ? 1 : -1;+ let e = n === ur[t] ? 1 : -1;i.sort((t, n) => e * a(t.source, n.source));}return i;}-function di(e, t, n) {- let r = hr(e, t), i = gr(n, r), a = (i - 1) * t;+function ui(e, t, n) {+ let r = mr(e, t), i = hr(n, r), a = (i - 1) * t;return {page: i,pages: r,@@ -11792,95 +11792,95 @@ function di(e, t, n) {end: Math.min(a + t, e)};}-function fi(e, t) {+function di(e, t) {let n = new Set(t.map((e) => e.id));return new Set([...e].filter((e) => n.has(e)));}-function pi(e, t) {+function fi(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 mi(e, t, n) {+function pi(e, t, n) {let r = new Set(e);for (let e of t) n ? r.add(e) : r.delete(e);return r;}-var hi = (e) => B(`${Cr}?summary=1`, e), gi = (e) => B(wr, e), _i = (e) => B(Tr, e), vi = (e) => B(Dr, e), yi = (e, t) => B(`${Or}?q=${encodeURIComponent(e)}`, t), bi = (e) => V(Tr, {+var mi = (e) => V(`${Sr}?summary=1`, e), hi = (e) => V(Cr, e), gi = (e) => V(wr, e), _i = (e) => V(Er, e), vi = (e, t) => V(`${Dr}?q=${encodeURIComponent(e)}`, t), yi = (e) => H(wr, {...e?.length ? { sources: e } : {},background: !0-}), xi = (e) => V(Dr, {+}), bi = (e) => H(Er, {lines: e,background: !0-}), Si = (e, t) => V(Er, {+}), xi = (e, t) => H(Tr, {action: "enabled",id: e,enabled: t-}), Ci = (e) => V(Er, {+}), Si = (e) => H(Tr, {action: "remove",id: e-}), wi = (e) => V(Er, {+}), Ci = (e) => H(Tr, {action: "add",url: e.url,label: e.label,author: e.author || "",aliases: e.aliases || [],defer_check: !0-}), Ti = (e, t) => V(kr, {+}), wi = (e, t) => H(Or, {action: "add",canonical: e,alias: t-}), Ei = (e) => V(kr, {+}), Ti = (e) => H(Or, {action: "remove",alias: e-}), Di = (e, t, n) => V(kr, {+}), Ei = (e, t, n) => H(Or, {action: "rename",canonical_key: e,canonical: t-}, "POST", n), Oi = (e, t) => V(Ar, {+}, "POST", n), Di = (e, t) => H(kr, {provider: e,values: t-}), ki = (e, t) => V(jr, {+}), Oi = (e, t) => H(Ar, {item: e,to: t-}), Ai = () => B(`${Cr}?status=new&limit=1000`);-async function ji(e) {- let t = await B(Mr, e);+}), ki = () => V(`${Sr}?status=new&limit=1000`);+async function Ai(e) {+ let t = await V(jr, e);if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");return t;}-var Mi = (e, t, n) => V(Nr, {+var ji = (e, t, n) => H(Mr, {action: "enabled",id: e,enabled: t-}, "POST", n), Ni = (e, t) => V(Nr, {+}, "POST", n), Mi = (e, t) => H(Mr, {action: "remove",id: e-}, "POST", t), Pi = (e, t) => V(Pr, t?.length ? { sources: t } : { all: !0 }, "POST", e), Fi = (e, t) => B(`${Fr}?q=${encodeURIComponent(e)}`, t), Ii = (e, t, n) => V(Nr, {+}, "POST", t), Ni = (e, t) => H(Nr, t?.length ? { sources: t } : { all: !0 }, "POST", e), Pi = (e, t) => V(`${Pr}?q=${encodeURIComponent(e)}`, t), Fi = (e, t, n) => H(Mr, {action: "follow-name",name: e,ids: t}, "POST", n);-async function Li(e) {+async function Ii(e) {await Promise.all([- H.fetchQuery({+ U.fetchQuery({+ queryKey: Fr,+ queryFn: () => mi(e)+ }),+ U.fetchQuery({queryKey: Ir,queryFn: () => hi(e)}),- H.fetchQuery({- queryKey: Lr,- queryFn: () => gi(e)- }),- H.fetchQuery({- queryKey: Br,- queryFn: () => ji(e)+ U.fetchQuery({+ queryKey: zr,+ queryFn: () => Ai(e)})]);}-function Ri(e, t) {- H.setQueryData(Ir, (n) => n && {+function Li(e, t) {+ U.setQueryData(Fr, (n) => n && {...n,sources: n.sources.map((n) => n.id === e ? {...n,@@ -11888,28 +11888,28 @@ function Ri(e, t) {} : n)});}-function zi(e) {+function Ri(e) {let t = new Set(e);- H.setQueryData(Ir, (e) => e && {+ U.setQueryData(Fr, (e) => e && {...e,sources: e.sources.filter((e) => !t.has(e.id))});}-var Bi = () => H.invalidateQueries({- queryKey: Ir,+var zi = () => U.invalidateQueries({+ queryKey: Fr,exact: !0});-function Vi(e) {+function Bi(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 Hi(e) {+function Vi(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 Ui = (e) => (e?.results || []).filter((e) => !e.ok), Wi = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", Gi = (e) => e.last_checked_at ? Sr(e.last_checked_at) : "未检查", Ki = /* @__PURE__ */ new Set([+var Hi = (e) => (e?.results || []).filter((e) => !e.ok), Ui = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", Wi = (e) => e.last_checked_at ? xr(e.last_checked_at) : "未检查", Gi = /* @__PURE__ */ new Set(["fanbox","patreon","subscribestar",@@ -11923,53 +11923,53 @@ var Ui = (e) => (e?.results || []).filter((e) => !e.ok), Wi = (e) => (e?.results"gofile","f95zone","simpcity"-]), qi = (e) => Ki.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", Ji = {+]), Ki = (e) => Gi.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", qi = {required: "需要",optional: "可选",none: "不需要",blocked: "暂时无法连接"-}, Yi = (e) => !!e.present && !e.missing.length, Xi = [+}, Ji = (e) => !!e.present && !e.missing.length, Yi = [["", "全部"],["new", "未看"],["saved", "已保存"],["ignored", "已忽略"]-], Zi = [+], Xi = [["new", "更新时间"],["hot", "热度"],["dur", "时长"]-], Qi = {+], Zi = {new: ["从新到旧", "从旧到新"],hot: ["从高到低", "从低到高"],dur: ["从长到短", "从短到长"]-}, $i = "rand";-function ea(e, t) {+}, Qi = "rand";+function $i(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 ta = Infinity;-function na(e, t) {+var ea = Infinity;+function ta(e, t) {return {queryKey: ["follow-feed",- ea(e, 0),+ $i(e, 0),t],- queryFn: ({ pageParam: t, signal: n }) => B(ea(e, t), n),+ queryFn: ({ pageParam: t, signal: n }) => V($i(e, t), n),initialPageParam: 0,getNextPageParam: (e) => e.has_more ? (e.offset || 0) + 100 : void 0,- placeholderData: ke,- gcTime: ta+ placeholderData: Oe,+ gcTime: ea};}-var ra = ["follow-feed", "credentials"], ia = (e) => B(wr, e).catch(() => ({ providers: [] }));-async function aa(e, t) {- let n = na(e.view, e.revision);- H.removeQueries({- queryKey: ra,+var na = ["follow-feed", "credentials"], ra = (e) => V(Cr, e).catch(() => ({ providers: [] }));+async function ia(e, t) {+ let n = ta(e.view, e.revision);+ U.removeQueries({+ queryKey: na,exact: !0});- let r = H.getQueryData(n.queryKey) !== void 0;- await Promise.all([r ? null : H.fetchInfiniteQuery({+ let r = U.getQueryData(n.queryKey) !== void 0;+ await Promise.all([r ? null : U.fetchInfiniteQuery({queryKey: n.queryKey,queryFn: ({ pageParam: e }) => n.queryFn({pageParam: e,@@ -11977,13 +11977,13 @@ async function aa(e, t) {}),initialPageParam: 0,getNextPageParam: n.getNextPageParam,- gcTime: ta- }), H.fetchQuery({- queryKey: ra,- queryFn: () => ia(t)+ gcTime: ea+ }), U.fetchQuery({+ queryKey: na,+ queryFn: () => ra(t)})]);}-function oa(e) {+function aa(e) {if (!e?.pages.length) return null;let t = e.pages, n = t[t.length - 1];return {@@ -11992,10 +11992,10 @@ function oa(e) {groups: t.flatMap((e) => e.groups || [])};}-function sa(e, t, n) {- return [...e].sort((e, r) => nr(n, t(e)) - nr(n, t(r)) || String(t(e)).localeCompare(String(t(r))));+function oa(e, t, n) {+ return [...e].sort((e, r) => tr(n, t(e)) - tr(n, t(r)) || String(t(e)).localeCompare(String(t(r))));}-function ca(e) {+function sa(e) {let t = /* @__PURE__ */ new Set();return [e.primary,@@ -12003,14 +12003,14 @@ function ca(e) {...e.duplicates].filter((e) => !e || t.has(e.id) ? !1 : (t.add(e.id), !0));}-function la(e) {- let t = H.getQueryCache().findAll({ queryKey: ["follow-feed"] }).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt);+function ca(e) {+ let t = U.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 = ca(t).find((t) => t.id === e);+ let n = sa(t).find((t) => t.id === e);if (n) return {item: n,group: t,@@ -12021,8 +12021,8 @@ function la(e) {}return null;}-function ua(e) {- H.setQueriesData({+function la(e) {+ U.setQueriesData({queryKey: ["follow-feed"],predicate: (e) => Array.isArray(e.state.data?.pages)}, (t) => t && {@@ -12031,7 +12031,7 @@ function ua(e) {...t,groups: (t.groups || []).map((t) => {let n = (t) => t.id === e.id ? e : t;- return ca(t).some((t) => t.id === e.id) ? {+ return sa(t).some((t) => t.id === e.id) ? {...t,primary: n(t.primary),variants: t.variants.map(n),@@ -12041,30 +12041,30 @@ function ua(e) {}))});}-function da(e, t) {- H.setQueriesData({+function ua(e, t) {+ U.setQueriesData({queryKey: ["follow-feed"],predicate: (e) => Array.isArray(e.state.data?.pages)- }, (n) => n && Ca(n, null, e, t));+ }, (n) => n && Sa(n, null, e, t));}-function fa(e) {- return ca(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));+function da(e) {+ return sa(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));}-function pa(e) {+function fa(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 ma(e) {+function pa(e) {let t = /* @__PURE__ */ new Set();- return ca(e).forEach((e) => pa(e).forEach((e) => t.add(e))), t;+ return sa(e).forEach((e) => fa(e).forEach((e) => t.add(e))), t;}-function ha(e, t) {+function ma(e, t) {let n = t === "images" ? "image" : "video";- return fa(e).find((e) => pa(e).has(n)) || e.primary;+ return da(e).find((e) => fa(e).has(n)) || e.primary;}-function ga(e) {+function ha(e) {return {status: "",media: "videos",@@ -12079,16 +12079,16 @@ function ga(e) {seed: 0};}-function _a(e) {- return fa(e).filter((e) => e.playable && e.media_kind === "video");+function ga(e) {+ return da(e).filter((e) => e.playable && e.media_kind === "video");}-var va = {+var _a = {video: "个视频",image: "张图片",mixed: "个媒体"};-function ya({ 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} ${va[s] || va.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];+function va({ 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} ${_a[s] || _a.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,@@ -12097,14 +12097,14 @@ function ya({ cover: e = "", coverFace: t = null, stack: n = null, imageView: rfaces: d.length > 1 ? d.slice(0, i) : []};}-function ba(e) {+function ya(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 xa(e, t, n) {- return e === t ? Qi[e] ? {+function ba(e, t, n) {+ return e === t ? Zi[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {@@ -12112,13 +12112,13 @@ function xa(e, t, n) {dir: "desc"};}-function Sa(e, t, n, r) {- let i = xa(e, n, r);+function xa(e, t, n, r) {+ let i = ba(e, n, r);if (!i) return "";- let a = Qi[i.sort];+ let a = Zi[i.sort];return `按${t}${a ? a[+(i.dir === "asc")] : ""}排序`;}-function Ca(e, t, n, r) {+function Sa(e, t, n, r) {let i = "", a = e.pages.map((e) => ({...e,groups: (e.groups || []).flatMap((e) => {@@ -12148,7 +12148,7 @@ function Ca(e, t, n, r) {})};}-function wa(e, t) {+function Ca(e, t) {let n = [];return e.author && n.push({kind: "创作者",@@ -12168,7 +12168,7 @@ function wa(e, t) {label: e})), n;}-function Ta(e, t) {+function wa(e, t) {return t.kind === "创作者" ? {...e,author: ""@@ -12183,7 +12183,7 @@ function Ta(e, t) {tags: e.tags.filter((e) => e !== t.key)};}-function Ea(e, t) {+function Ta(e, t) {for (let n of e) {let e = n.primary?.tag_types?.[t];if (e) return e;@@ -12191,13 +12191,13 @@ function Ea(e, t) {return "general";}// src/react/follow-feed/follow-view.ts-function Da(e, t, n) {+function Ea(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: Xi.find(([e]) => e && e === o)?.[0] || "",+ status: Yi.find(([e]) => e && e === o)?.[0] || "",media: r.get("media") === "images" ? "images" : "videos",author: i("author")[0] || "",provider: i("provider")[0] || "",@@ -12205,16 +12205,16 @@ function Da(e, t, n) {tags: i("tag"),durMin: a("dur_min"),durMax: a("dur_max"),- sort: s === "rand" ? s : Zi.find(([e]) => e === s)?.[0] || "new",+ sort: s === "rand" ? s : Xi.find(([e]) => e === s)?.[0] || "new",seed: Number(r.get("seed")) >>> 0 || t || n(),dir: r.get("dir") === "asc" ? "asc" : "desc"};}-function Oa(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 ka(e, t) {+function Oa(e, t) {return {...e,author: t,@@ -12227,7 +12227,7 @@ function ka(e, t) {status: ""};}-function Aa(e, t) {+function ka(e, t) {return {...e,author: "",@@ -12240,14 +12240,14 @@ function Aa(e, t) {};}// src/react/follow-feed/follow-controller.ts-function ja(e, t, n) {+function Aa(e, t, n) {let r = () => {- let t = Da(e.location().search, e.view().seed, e.rollSeed);+ let t = Ea(e.location().search, e.view().seed, e.rollSeed);return e.adoptView(t), t;}, i = (t) => {e.live() && e.push(t);}, a = (t, n = {}) => {- e.adoptView(t), e.route(Oa(t)), i({+ e.adoptView(t), e.route(Da(t)), i({...n,view: e.view()}), e.syncPhotoWalls();@@ -12256,7 +12256,7 @@ function ja(e, t, n) {e.writeSession({ discoverySeed: t }), a({...e.view(),seed: t,- sort: $i+ sort: Qi}, { seed: e.session().discoverySeed });}, s = {...n,@@ -12297,25 +12297,25 @@ function ja(e, t, n) {discoverySeed: e.enterSeed(),scrollY: 0,revision: e.session().revision + 1- }), e.openPage("/follow")) : e.location().pathname !== "/follow" && e.openPage(Oa(e.view()));+ }), e.openPage("/follow")) : e.location().pathname !== "/follow" && e.openPage(Da(e.view()));}};}// src/card-art/face-frame.ts-var Ma = .32, Na = .6;-function Pa(e) {+var ja = .32, Ma = .6;+function Na(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 Fa(e, t, n = 1, r = Ma, i = Na) {- if (!Pa(e) || !(t && t.w > 0 && t.h > 0)) return 1;+function Pa(e, t, n = 1, r = ja, i = Ma) {+ if (!Na(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 Ia(e, t, n = 1, r = Ma, i = Na) {- let a = Fa(e, t, n, r, i);- if (a <= 1 || !Pa(e) || !t) return null;+function Fa(e, t, n = 1, r = ja, i = Ma) {+ let a = Pa(e, t, n, r, i);+ if (a <= 1 || !Na(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,@@ -12326,48 +12326,48 @@ function Ia(e, t, n = 1, r = Ma, i = Na) {};}// src/card-art/image-fallback.ts-var La = "|", Ra = "closest:";-function za(e) {- return String(e ?? "").split(La).map((e) => e.trim()).filter(Boolean);+var Ia = "|", La = "closest:";+function Ra(e) {+ return String(e ?? "").split(Ia).map((e) => e.trim()).filter(Boolean);}-function Ba({ drop: e = "self", fallbacks: t = [], initial: n = "", dropClass: r = "", dropStyle: i = !1 } = {}) {+function za({ 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(La))}"` : "",- n ? `data-initial="${z(n)}"` : "",- r ? `data-drop-class="${z(r)}"` : "",+ `data-drop="${B(e)}"`,+ a.length ? `data-fallbacks="${B(a.join(Ia))}"` : "",+ n ? `data-initial="${B(n)}"` : "",+ r ? `data-drop-class="${B(r)}"` : "",i ? "data-drop-style" : ""].filter(Boolean).join(" ");}-function Va(e) {+function Ba(e) {if (!e || !e.dataset || !e.dataset.drop) return "";- let t = za(e.dataset.fallbacks);+ let t = Ra(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(La) : 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(Ia) : 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(Ra)) return (e.closest(n.slice(8)) || e).remove(), "drop";+ if (n.startsWith(La)) 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 Ha = /* @__PURE__ */ new WeakSet();-function Ua(e) {- Ha.has(e) || (Ha.add(e), e.addEventListener("error", (e) => {- e.target instanceof HTMLImageElement && Va(e.target);+var Va = /* @__PURE__ */ new WeakSet();+function Ha(e) {+ Va.has(e) || (Va.add(e), e.addEventListener("error", (e) => {+ e.target instanceof HTMLImageElement && Ba(e.target);}, !0));}// src/card-art/native-image.ts-function Wa(e, t, n, r) {+function Ua(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 Ga(e, t, n, r, i = 1) {+function Wa(e, t, n, r, i = 1) {let a = Number.isFinite(i) && i > 0 ? i : 1;e /= a, t /= a;let o = [@@ -12382,15 +12382,15 @@ function Ga(e, t, n, r, i = 1) {height: t * c};}-var Ka = .1;-function qa(e, t, n, r) {+var Ga = .1;+function Ka(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) * Ka;+ let i = Math.min(n / e, r / t), a = e * i, o = t * i, s = Math.min(n, r) * Ga;return Math.min(a, o) >= s ? null : o < a ? {width: a,height: s@@ -12400,37 +12400,37 @@ function qa(e, t, n, r) {};}// src/card-art/representatives.ts-var Ja = /* @__PURE__ */ new Map();-function Ya(e) {+var qa = /* @__PURE__ */ new Map();+function Ja(e) {(e || []).forEach((e) => {- e.rep && e.has_avatar && Ja.set(e.k, e.rep);+ e.rep && e.has_avatar && qa.set(e.k, e.rep);});}-function Xa(e) {- return Ja.get(e);+function Ya(e) {+ return qa.get(e);}// src/jav-artwork.ts-function Za(e) {+function Xa(e) {return ["small","sleeve","preview"].includes(String(e)) ? "small" : "big";}-function Qa(e) {+function Za(e) {return {- javLayout: Za(e.javLayout),- javImage: $a(e.javLayout === "preview" ? "thumbnail" : e.javImage)+ javLayout: Xa(e.javLayout),+ javImage: Qa(e.javLayout === "preview" ? "thumbnail" : e.javImage)};}-function $a(e) {+function Qa(e) {return e === "thumbnail" ? "thumbnail" : "cover";}-function eo(e, t) {- return e.is_jav && e.code && e.has_cover && ($a(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";+function $a(e, t) {+ return e.is_jav && e.code && e.has_cover && (Qa(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";}-var to = .704, no = .85;-function ro(e, t, n = !1) {+var eo = .704, to = .85;+function no(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;@@ -12450,38 +12450,38 @@ function ro(e, t, n = !1) {height: g(i / f * m)};}-function io(e, t) {+function ro(e, t) {e.querySelectorAll("img[data-jav-image]").forEach((e) => {- let n = e.dataset.javCover || "", r = e.dataset.javThumb || "", i = !(!n || $a(t) !== "cover" && r), a = i ? n : r;+ let n = e.dataset.javCover || "", r = e.dataset.javThumb || "", i = !(!n || Qa(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 ao(e, t) {+function io(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 oo = "代表作画面,非本人", so = (e, t) => t ? `${e}&v=${encodeURIComponent(t)}` : e, co = (e, t = !1) => {+var ao = "代表作画面,非本人", oo = (e, t) => t ? `${e}&v=${encodeURIComponent(t)}` : e, so = (e, t = !1) => {let n = t === !0 ? 1 : t || 0;- return so(`/cover?code=${encodeURIComponent(e.cover_key || e.code || "")}${n ? `&thumb=${n}` : ""}`, e.cover_version);-}, lo = (e) => co(e, (window.devicePixelRatio || 1) <= 1.5 ? 2 : 1), uo = (e) => `/cover-image?code=${encodeURIComponent(e.code || "")}`, fo = (e, t, n) => so(`/logo?studio=${encodeURIComponent(e)}&variant=${t}`, n), po = (e) => e && typeof e == "object" ? e : null;-function mo(e) {+ return oo(`/cover?code=${encodeURIComponent(e.cover_key || e.code || "")}${n ? `&thumb=${n}` : ""}`, e.cover_version);+}, co = (e) => so(e, (window.devicePixelRatio || 1) <= 1.5 ? 2 : 1), lo = (e) => `/cover-image?code=${encodeURIComponent(e.code || "")}`, uo = (e, t, n) => oo(`/logo?studio=${encodeURIComponent(e)}&variant=${t}`, n), fo = (e) => e && typeof e == "object" ? e : null;+function po(e) {return e && e.is_jav ? "女优" : "艺人";}-function ho({ 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 ? so(`/entity-image?kind=${e}&id=${t}${m ? "&thumb=1" : ""}`, r) : "", v = i ? `/avatar?id=${i}` : "", y = !!o, b = y ? fo(o, c, s) : _ || v || (a ? `/link-mark?id=${a}` : "");+function mo({ 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 ? oo(`/entity-image?kind=${e}&id=${t}${m ? "&thumb=1" : ""}`, r) : "", v = i ? `/avatar?id=${i}` : "", y = !!o, b = y ? uo(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 ? bo(p) : "", w = d || yo(p);- return `<img src="${b}" width="128" height="128" alt="${l}"${h && b === v ? ` title="${oo}" aria-label="${oo}"` : ""}${h && x.includes(v) ? ` data-fallback-note-src="${z(v)}" data-fallback-note="${oo}"` : ""}${u ? " loading=\"lazy\"" : ""} decoding="async"${S ? w : ""} ${C}${Ba({+ let x = y ? [_, v].filter(Boolean) : g && v ? [v] : [], S = g && !y, C = S ? yo(p) : "", w = d || vo(p);+ return `<img src="${b}" width="128" height="128" alt="${l}"${h && b === v ? ` title="${ao}" aria-label="${ao}"` : ""}${h && x.includes(v) ? ` data-fallback-note-src="${B(v)}" data-fallback-note="${ao}"` : ""}${u ? " loading=\"lazy\"" : ""} decoding="async"${S ? w : ""} ${C}${za({dropStyle: (f || !!C || !!w) && S,fallbacks: x})}>`;}-function go(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" ${Ba({ fallbacks: t.source_avatar_fallbacks || [] })}>` : "";- return `<span class="ini">${z($n(tn(r, e, t?.id)))}</span>` + (u || ho({+function ho(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="${B(t.source_avatar_url)}" width="128" height="128" alt="" loading="lazy" decoding="async" ${za({ fallbacks: t.source_avatar_fallbacks || [] })}>` : "";+ return `<span class="ini">${B(Qn(en(r, e, t?.id)))}</span>` + (u || mo({kind: r,id: t && t.id,hasImage: !!(t && t.has_image),@@ -12496,19 +12496,19 @@ function go(e, t, n, r = "performer", i = null, a = "", o = "icon", s = void 0,standIn: !!(t && t.avatar_stand_in)}));}-function _o(e, t, n) {- return go(e, t, n ? Xa(e) : null, n || "performer");+function go(e, t, n) {+ return ho(e, t, n ? Ya(e) : null, n || "performer");}-function vo(e) {- let t = po(e);+function _o(e) {+ let t = fo(e);return t && t.axis === "x" ? `${t.pct}% 50%` : t && t.axis === "y" ? `50% ${t.pct}%` : "";}-function yo(e) {- let t = vo(e);+function vo(e) {+ let t = _o(e);return t ? ` style="object-position:${t}"` : "";}-function bo(e) {- let t = po(e)?.box;+function yo(e) {+ let t = fo(e)?.box;return t ? ` data-facebox="${[t.cx,t.cy,@@ -12517,8 +12517,8 @@ function bo(e) {t.imgH].map(Number).join(" ")}"` : "";}-function xo(e, t, n = !1) {- let r = lo(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 bo(e, t, n = !1) {+ let r = co(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],@@ -12527,47 +12527,47 @@ function xo(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="${B(e.code || "")}"${i ? " data-wide-sleeve=\"1\"" : ""}${o ? " data-cover-layout=\"still\"" : ""}${c}${u} data-drop="self">`;}-var So = {+var xo = {kind: "",html: ""};-function Co(e, t, n, r) {- let i = eo(e, r);- if (!i) return So;- let a = e.has_cover && e.code ? lo(e) : "", o = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "", s = xo(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 So(e, t, n, r) {+ let i = $a(e, r);+ if (!i) return xo;+ let a = e.has_cover && e.code ? co(e) : "", o = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "", s = bo(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="${B(a)}" data-jav-thumb="${B(o)}" data-jav-image-layout="${t}" `)};}-function wo(e, t, n, r) {- return e.is_jav ? Co(e, t, n, r) : e.follow_thumb_url ? {+function Co(e, t, n, r) {+ return e.is_jav ? So(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">`- } : To(e, t, n, r);+ html: `<img class="poster" src="${B(e.follow_thumb_url)}" width="640" height="360" alt="" loading="${n ? "eager" : "lazy"}" decoding="async" referrerpolicy="no-referrer">`+ } : wo(e, t, n, r);}-function To(e, t, n, r) {- return e.is_jav ? Co(e, t, n, r) : e.has_cover && e.cover_key ? {+function wo(e, t, n, r) {+ return e.is_jav ? So(e, t, n, r) : e.has_cover && e.cover_key ? {kind: "cover",- html: xo(e, t, n)- } : Eo(e, n);+ html: bo(e, t, n)+ } : To(e, n);}-function Eo(e, t) {- return !e.has_thumb && !e.has_local_poster ? So : {+function To(e, t) {+ return !e.has_thumb && !e.has_local_poster ? xo : {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 Do(e, t) {- return To(e, "small", !1, t).html || "<span class=\"nopic\">无预览</span>";+function Eo(e, t) {+ return wo(e, "small", !1, t).html || "<span class=\"nopic\">无预览</span>";}-function Oo(e, t) {+function Do(e, t) {let n = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "";- return e.is_jav ? eo(e, t) === "cover" ? co(e) : n : e.has_cover && e.cover_key ? co(e) : n;+ return e.is_jav ? $a(e, t) === "cover" ? so(e) : n : e.has_cover && e.cover_key ? so(e) : n;}-function ko(e) {+function Oo(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" : "",@@ -12578,33 +12578,33 @@ function ko(e) {total: e.performer_total || t.length};}-function Ao(e) {- let { kind: t, name: n, coStarred: r, performers: i, refs: a } = ko(e);- return r ? `<div class="mavstack">${i.slice(0, 5).map((e, t) => `<span class="mav">${go(e, a[t], Xa(e))}</span>`).join("")}</div>` : `<span class="mav">${go(n, t === "performer" ? a[0] : e.creator_entity ?? e.entity_refs?.creator?.[0], t ? Xa(n) : null, t || "performer")}</span>`;+function ko(e) {+ let { kind: t, name: n, coStarred: r, performers: i, refs: a } = Oo(e);+ return r ? `<div class="mavstack">${i.slice(0, 5).map((e, t) => `<span class="mav">${ho(e, a[t], Ya(e))}</span>`).join("")}</div>` : `<span class="mav">${ho(n, t === "performer" ? a[0] : e.creator_entity ?? e.entity_refs?.creator?.[0], t ? Ya(n) : null, t || "performer")}</span>`;}-function jo(e, t) {+function Ao(e, t) {let n = (e.performers || [])[0];- return e.is_jav && n ? tn("performer", n) : e.creator ? tn("creator", e.creator) : (n ? tn("performer", n) : "") || e.studio || e.code || t((e.tags || [])[0] || "") || "为你推荐";+ return e.is_jav && n ? en("performer", n) : e.creator ? en("creator", e.creator) : (n ? en("performer", n) : "") || e.studio || e.code || t((e.tags || [])[0] || "") || "为你推荐";}// src/ui-kit/overlay-scrollbar.ts-var Mo = /* @__PURE__ */ new Map();-function No(e) {- Mo.get(e)?.destroy();+var jo = /* @__PURE__ */ new Map();+function Mo(e) {+ jo.get(e)?.destroy();}-function Po() {- for (let [e, t] of Mo) e.isConnected ? t.repair() : t.destroy();+function No() {+ for (let [e, t] of jo) e.isConnected ? t.repair() : t.destroy();}-function Fo(e) {- for (let [t, n] of Mo) (t === e || e.contains(t)) && n.destroy();+function Po(e) {+ for (let [t, n] of jo) (t === e || e.contains(t)) && n.destroy();}-function Io(e) {- for (let [t, n] of Mo) (t === e || e.contains(t)) && n();+function Fo(e) {+ for (let [t, n] of jo) (t === e || e.contains(t)) && n();}-function Lo(e, { variant: t = "", axes: n } = {}) {+function Io(e, { variant: t = "", axes: n } = {}) {if (!e) return null;if (e.dataset.overlayScrollbar) {if (!n || e.dataset.overlayAxes === n.join("")) return null;- No(e);+ Mo(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;@@ -12740,54 +12740,54 @@ function Lo(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));+ jo.get(e) === O && (h = !0, jo.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" && ![...jo.keys()].some((e) => e.parentElement === s) && (s.style.position = c));}});- return Mo.set(e, O), O;+ return jo.set(e, O), O;}// src/ui-kit/collapse.ts-var Ro = /* @__PURE__ */ new WeakMap();-function zo(e, t, n) {- Vo(t, n, () => e.open, (t) => {+var Lo = /* @__PURE__ */ new WeakMap();+function Ro(e, t, n) {+ Bo(t, n, () => e.open, (t) => {e.open = t;});}-function Bo(e, t) {- Vo(e, t, () => !e.hidden, (t) => {+function zo(e, t) {+ Bo(e, t, () => !e.hidden, (t) => {e.hidden = !t;});}-function Vo(e, t, n, r) {+function Bo(e, t, n, r) {e.classList.add("ui-fcollapse");- let i = (Ro.get(e) || 0) + 1;- Ro.set(e, i);- let a = () => Ro.get(e) === i;+ let i = (Lo.get(e) || 0) + 1;+ Lo.set(e, i);+ let a = () => Lo.get(e) === i;if (t) {e.inert = !1;let t = n() ? e.getBoundingClientRect().height : 0;- r(!0), Uo(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", Ho(e, () => {+ r(!0), Ho(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", Vo(e, () => {a() && (r(!1), e.style.height = "");});}-function Ho(e, t) {+function Vo(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 Uo(e, t, n = () => !0) {- e.classList.remove("ui-fcollapse-settled"), e.style.height = t + "px", e.getBoundingClientRect(), e.style.height = e.scrollHeight + "px", Ho(e, () => {+function Ho(e, t, n = () => !0) {+ e.classList.remove("ui-fcollapse-settled"), e.style.height = t + "px", e.getBoundingClientRect(), e.style.height = e.scrollHeight + "px", Vo(e, () => {n() && (e.style.height = "auto", e.classList.add("ui-fcollapse-settled"));});}// src/ui-kit/sounds.ts-var Wo = null, Go = !1;-function Ko() {+var Uo = null, Wo = !1;+function Go() {let e = globalThis.AudioContext || globalThis.webkitAudioContext;- return e ? (Wo ||= new e(), Wo.state === "suspended" && Wo.resume()?.catch?.(() => {}), Wo) : null;+ return e ? (Uo ||= new e(), Uo.state === "suspended" && Uo.resume()?.catch?.(() => {}), Uo) : null;}-function qo(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;@@ -12797,7 +12797,7 @@ function qo(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 Jo(e, t, { duration: n, volume: r, filter: i, sweepTo: a = null, attack: o = 0 }) {+function qo(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();@@ -12809,8 +12809,8 @@ function Jo(e, t, { duration: n, volume: r, filter: i, sweepTo: a = null, attacku.disconnect(), d.disconnect(), f.disconnect();}, u.start(t);}-var Yo = {- click: (e, t) => Jo(e, t, {+var Jo = {+ click: (e, t) => qo(e, t, {duration: .06,volume: .12,filter: {@@ -12818,24 +12818,24 @@ var Yo = {Q: 1}}),- "toggle-on": (e, t) => qo(e, t, {+ "toggle-on": (e, t) => Ko(e, t, {from: 550,to: 650,duration: .08,volume: .15}),- "toggle-off": (e, t) => qo(e, t, {+ "toggle-off": (e, t) => Ko(e, t, {from: 650,to: 550,duration: .08,volume: .15}),success: (e, t) => {- qo(e, t, {+ Ko(e, t, {from: 523,duration: .12,volume: .18- }), qo(e, t, {+ }), Ko(e, t, {from: 653.75,duration: .12,volume: .18,@@ -12843,12 +12843,12 @@ var Yo = {});},warning: (e, t) => {- qo(e, t, {+ Ko(e, t, {type: "triangle",from: 600,duration: .08,volume: .15- }), qo(e, t, {+ }), Ko(e, t, {type: "triangle",from: 600,duration: .08,@@ -12856,7 +12856,7 @@ var Yo = {start: .16});},- error: (e, t) => qo(e, t, {+ error: (e, t) => Ko(e, t, {type: "sawtooth",from: 400,to: 200,@@ -12868,7 +12868,7 @@ var Yo = {Q: 1}}),- whoosh: (e, t) => Jo(e, t, {+ whoosh: (e, t) => qo(e, t, {duration: .12,volume: .08,attack: .036,@@ -12878,66 +12878,66 @@ var Yo = {},sweepTo: 6e3}),- pop: (e, t) => qo(e, t, {+ pop: (e, t) => Ko(e, t, {from: 1500,to: 500,duration: .04,volume: .15})};-Object.freeze(Object.keys(Yo));-function Xo(e) {- Go = e === !0;+Object.freeze(Object.keys(Jo));+function Yo(e) {+ Wo = e === !0;}-function Zo(e) {- let t = Yo[e];+function Xo(e) {+ let t = Jo[e];if (!t) throw Error(`没有「${e}」这种界面音效`);- if (!Go) return !1;- let n = Ko();+ if (!Wo) return !1;+ let n = Go();return n ? (t(n, n.currentTime), !0) : !1;}-var Qo = "button,[role=\"button\"],[role=\"tab\"],[role=\"menuitem\"],[role=\"menuitemradio\"],[role=\"menuitemcheckbox\"],[role=\"option\"],summary,a[href]", $o = "input[type=\"checkbox\"][role=\"switch\"]";-function es(e) {+var Zo = "button,[role=\"button\"],[role=\"tab\"],[role=\"menuitem\"],[role=\"menuitemradio\"],[role=\"menuitemcheckbox\"],[role=\"option\"],summary,a[href]", Qo = "input[type=\"checkbox\"][role=\"switch\"]";+function $o(e) {return e.disabled === !0 || e.getAttribute("aria-disabled") === "true";}-var ts = /* @__PURE__ */ new WeakSet();-function ns(e = document) {- ts.has(e) || (ts.add(e), e.addEventListener("click", (e) => {- let t = e.target?.closest?.(Qo);- t && !es(t) && Zo("click");+var es = /* @__PURE__ */ new WeakSet();+function ts(e = document) {+ es.has(e) || (es.add(e), e.addEventListener("click", (e) => {+ let t = e.target?.closest?.(Zo);+ t && !$o(t) && Xo("click");}, { capture: !0 }), e.addEventListener("change", (e) => {let t = e.target;- t?.matches?.($o) && !es(t) && Zo(t.checked ? "toggle-on" : "toggle-off");+ t?.matches?.(Qo) && !$o(t) && Xo(t.checked ? "toggle-on" : "toggle-off");}, { capture: !0 }));}// src/ui-kit/anchored-menu.ts-var rs = null, is = globalThis;-is.__peachMenuCloser || (is.__peachMenuCloser = !0, document.addEventListener("click", (e) => {- if (!rs) return;+var ns = null, rs = globalThis;+rs.__peachMenuCloser || (rs.__peachMenuCloser = !0, document.addEventListener("click", (e) => {+ if (!ns) return;let t = e.target;- rs.menu.contains(t) || rs.toggle.contains(t) || (!rs.mount.contains(t) || t instanceof Element && t.closest("a[href],button,input,select,textarea,summary,[role=button],[role=menuitem],[tabindex]")) && rs.setOpen(!1);+ ns.menu.contains(t) || ns.toggle.contains(t) || (!ns.mount.contains(t) || t instanceof Element && t.closest("a[href],button,input,select,textarea,summary,[role=button],[role=menuitem],[tabindex]")) && ns.setOpen(!1);}, !0));-function as() {- rs && rs.setOpen(!1);+function is() {+ ns && ns.setOpen(!1);}-var os = /* @__PURE__ */ new WeakMap();-function ss(e) {- os.delete(e), e.classList.remove("leaving"), e.hidden && Zo("whoosh"), e.hidden = !1;+var as = /* @__PURE__ */ new WeakMap();+function os(e) {+ as.delete(e), e.classList.remove("leaving"), e.hidden && Xo("whoosh"), e.hidden = !1;}-function cs(e, t) {- if (e.hidden || os.has(e)) return;+function ss(e, t) {+ if (e.hidden || as.has(e)) return;let n = () => {- os.get(e) === n && (os.delete(e), e.classList.remove("leaving"), e.hidden = !0, t && t());+ as.get(e) === n && (as.delete(e), e.classList.remove("leaving"), e.hidden = !0, t && t());};- os.set(e, n), e.classList.add("leaving"), getComputedStyle(e).animationName === "none" ? n() : (e.addEventListener("animationend", (t) => {+ as.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 ls = () => 8 + (parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 0);-function us(e, t) {+var cs = () => 8 + (parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 0);+function ls(e, t) {return e.target instanceof Node && e.target.contains(t);}-function ds(e, t, n, { side: r = !1, align: i = "end" } = {}) {+function us(e, t, n, { side: r = !1, align: i = "end" } = {}) {let a = null, o = () => {let e = t.getBoundingClientRect(), o = n.offsetWidth;if (a = {@@ -12947,26 +12947,26 @@ function ds(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 = ls(), 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 = cs(), 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 (!us(e, t) || !a) return;+ if (!ls(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 ? (rs && rs.mount !== e && rs.setOpen(!1), l = !0, ss(n), c && !n.matches(":popover-open") && n.showPopover(), o(), window.addEventListener("resize", o), window.addEventListener("scroll", s, {+ u || (r ? (ns && ns.mount !== e && ns.setOpen(!1), l = !0, os(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), cs(n, () => {+ })) : (l = !1, window.removeEventListener("resize", o), window.removeEventListener("scroll", s, !0), ss(n, () => {n.style.left = "", n.style.top = "", n.style.maxHeight = "", c && n.matches(":popover-open") && n.hidePopover();- })), t.setAttribute("aria-expanded", String(r)), rs = r ? {+ })), t.setAttribute("aria-expanded", String(r)), ns = r ? {mount: e,menu: n,toggle: t,setOpen: d- } : rs && rs.mount === e ? null : rs);+ } : ns && ns.mount === e ? null : ns);}, f = (e) => {e.stopPropagation(), d(!l);}, p = (e) => {@@ -12976,33 +12976,33 @@ function ds(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), rs?.menu === n && (rs = null), os.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), ns?.menu === n && (ns = null), as.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 fs(e) {- return e ? e.startsWith("data:image/png;base64,") ? `<img class="gselectmark" src="${z(e)}" alt="" width="16" height="16">` : R(e, "gselectmark") : "";+function ds(e) {+ return e ? e.startsWith("data:image/png;base64,") ? `<img class="gselectmark" src="${B(e)}" alt="" width="16" height="16">` : z(e, "gselectmark") : "";}-function ps(e, t, { label: n = "", attr: r = "", className: i = "" } = {}) {- let a = e.find(([e]) => String(e) === String(t)) || e[0] || ["", ""], o = ([, e, t]) => `${fs(t)}${z(e)}`, s = e.map(([e, t, n]) => `<button type="button" role="option" data-select-option="${z(e)}"+function fs(e, t, { label: n = "", attr: r = "", className: i = "" } = {}) {+ let a = e.find(([e]) => String(e) === String(t)) || e[0] || ["", ""], o = ([, e, t]) => `${ds(t)}${B(e)}`, s = e.map(([e, t, n]) => `<button type="button" role="option" data-select-option="${B(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 ? ` ${B(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="${B(n)}"><span data-select-label>${o(a)}</span>${z("chevron-down")}</button>+ <div class="popmenu gselectmenu" role="listbox" aria-label="${B(n)}" popover="manual" data-select-menu hidden>${s}</div></div>`;}-function ms(e) {+function ps(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 = ds(e, t, n);+ let o = us(e, t, n);t.addEventListener("click", () => {o.isOpen() && a()?.focus();});@@ -13037,44 +13037,44 @@ function ms(e) {}), e;}// src/ui-kit/media-source-icons.ts-var hs = {+var ms = {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"-}, gs = {- ...Object.fromEntries(mn.map((e) => [e.id, hs[e.id] || e.icon])),+}, hs = {+ ...Object.fromEntries(pn.map((e) => [e.id, ms[e.id] || e.icon])),online: "rss",smb: "network"-}, _s = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", vs = {+}, gs = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", _s = {medium: "h-9 rounded-2lg p-2 text-body-medium",small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"-}, ys = {- medium: vs.medium,+}, vs = {+ medium: _s.medium,small: "size-8 rounded-lg p-0 text-body-medium"-}, bs = {+}, ys = {medium: "size-5 shrink-0",small: "size-[18px] shrink-0"-}, xs = "size-(--icon-inline) shrink-0", Ss = {+}, bs = "size-(--icon-inline) shrink-0", xs = {medium: "inline-flex items-center justify-center px-1 shrink-0",small: "inline-flex items-center justify-center px-0.5 shrink-0"-}, Cs = {+}, Ss = {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"-}, ws = (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 Ts(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)">${ws("star", "size-4")}</button></span>`;+}, Cs = (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 ws(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)">${Cs("star", "size-4")}</button></span>`;}-function Es(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">${ws("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 Ts(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">${Cs("search", "size-5 shrink-0")}<input type="search" enterkeyhint="search" readonly tabindex="-1" aria-label="${B(n)}" value="${B(t)}" placeholder="${B(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 Ds({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {- let o = r ? vs[t] : ys[t], s = n ? ws(n, r ? xs : bs[t]) : "", c = r ? `<span class="${Ss[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";- return `<button type="button" class="${_s} ${o} ${Cs[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;+function Es({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {+ let o = r ? _s[t] : vs[t], s = n ? Cs(n, r ? bs : ys[t]) : "", c = r ? `<span class="${xs[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";+ return `<button type="button" class="${gs} ${o} ${Ss[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;}-var Os = {+var Ds = {md: {box: "gap-1.5 px-2.5 py-2 text-body-medium",value: "gap-[5px]",@@ -13086,66 +13086,66 @@ var Os = {chevron: "size-3.5"}};-function ks(e, { size: t = "md", className: n = "", attrs: r = "", prefix: i = "" } = {}) {- let a = Os[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}${ws("chevron-down", `shrink-0 text-text-secondary ${a.chevron}`)}</button></div>`;+function Os(e, { size: t = "md", className: n = "", attrs: r = "", prefix: i = "" } = {}) {+ let a = Ds[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}${Cs("chevron-down", `shrink-0 text-text-secondary ${a.chevron}`)}</button></div>`;}-var As = "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", js = "flex min-w-0 flex-col gap-2", Ms = "text-body-regular text-text-secondary", Ns = "text-display-4-medium tabular-nums text-text-primary", Ps = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";-function Fs(e) {- return `<div data-collection-summary="" class="${As}"><div class="${js}"><span class="${Ms}">${e}</span><strong class="${Ns}"><span data-skeleton="count" aria-hidden="true" class="${Ps}"></span></strong></div></div>`;+var ks = "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", As = "flex min-w-0 flex-col gap-2", js = "text-body-regular text-text-secondary", Ms = "text-display-4-medium tabular-nums text-text-primary", Ns = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";+function Ps(e) {+ return `<div data-collection-summary="" class="${ks}"><div class="${As}"><span class="${js}">${e}</span><strong class="${Ms}"><span data-skeleton="count" aria-hidden="true" class="${Ns}"></span></strong></div></div>`;}// src/ui-kit/markup.ts-var Is = /* @__PURE__ */ new Set([+var Fs = /* @__PURE__ */ new Set(["secondary","warning","error","success"]);-function Ls({ 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 Is({ label: e = "", items: t = [], footnote: n = "" } = {}) {+ return `<details class="geist-note-details"><summary>${B(e)}</summary>+ <ul>${t.map((e) => `<li>${e.href ? `<a href="${B(e.href)}">${B(e.label || "")}</a>` : `<b>${B(e.label || "")}</b>`}<span>${B(e.note || "")}</span>${e.hint ? `<code>${B(e.hint)}</code>` : ""}</li>`).join("")}</ul>${n ? `<p>${B(n)}</p>` : ""}</details>`;}-function Rs(e, { variant: t = "secondary", label: n = "", className: r = "", size: i = "medium", filled: a = !1, actionLabel: o = "", actionHref: s = "", details: c = null } = {}) {- let l = Is.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" ? bn(e) : e)}</span></p>${f}${c ? Ls(c) : ""}</div>`;+function Ls(e, { variant: t = "secondary", label: n = "", className: r = "", size: i = "medium", filled: a = !1, actionLabel: o = "", actionHref: s = "", details: c = null } = {}) {+ let l = Fs.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="${B(s)}" data-note-action>${B(o)}</a>` : `<button type="button" class="geist-button" data-note-action>${B(o)}</button>` : "";+ return `<div class="geist-note geist-note-${l}${r ? ` ${B(r)}` : ""}${i === "small" ? " geist-note-small" : ""}${a ? " geist-note-filled" : ""}"${d}>+ ${z(u)}<p>${n ? `<b>${B(n)}</b>` : ""}<span>${B(l === "error" ? yn(e) : e)}</span></p>${f}${c ? Is(c) : ""}</div>`;}-function zs(e = "加载中") {+function Rs(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="${B(e)}">${t}</span>`;}-var Bs = "载入中";-function Vs(e = "正在处理", { className: t = "" } = {}) {- return `<span class="ui-geist-loading${t ? ` ${z(t)}` : ""}" role="status">+var zs = "载入中";+function Bs(e = "正在处理", { className: t = "" } = {}) {+ return `<span class="ui-geist-loading${t ? ` ${B(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>${B(e)}</span></span>`;}-function Hs(e, { active: t = "", attr: n = "data-tab", label: r = "页面视图", className: i = "", panel: a = "" } = {}) {+function Vs(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">${B(Number(i).toLocaleString())}</span>`;+ return `<button type="button" role="tab" ${n}="${B(e)}" aria-selected="${s}"${a ? ` aria-controls="${B(a)}"` : ""}>${o ? z(o) : ""}${B(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 ? ` ${B(i)}` : ""}" role="tablist" aria-label="${B(r)}">${o}</div>`;}-function Us(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 Hs(e, t, n, { className: r = "", actions: i = "" } = {}) {+ return `<div class="ui-emptystate${r ? ` ${B(r)}` : ""}" data-geist-empty-state role="status">+ <div class="ui-es-icon" aria-hidden="true">${z(e)}</div>+ <div class="ui-es-copy"><h3>${B(t)}</h3><p>${B(n)}</p></div>${i ? `<div class="ui-es-actions">${i}</div>` : ""}</div>`;}-function Ws(e = "") {- return `<span class="ui-pcheck"><input type="checkbox" ${e}><span aria-hidden="true">${R("check")}</span></span>`;+function Us(e = "") {+ return `<span class="ui-pcheck"><input type="checkbox" ${e}><span aria-hidden="true">${z("check")}</span></span>`;}// src/ui-kit/motion.ts-function Gs(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 Ws(e, t, n = "a", { className: r = "", iconClass: i = "", label: a = "" } = {}) {+ return `<span class="iconswap${r ? " " + B(r) : ""}" data-icon-swap data-icon-state="${n === "b" ? "b" : "a"}"${a ? ` aria-label="${B(a)}"` : ""}><span data-icon="a">${z(e, i)}</span><span data-icon="b">${z(t, i)}</span></span>`;}-function Ks(e, t) {+function Gs(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 qs(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;@@ -13165,19 +13165,19 @@ function qs(e, t, { html: n = !1 } = {}) {e.classList.contains("leaving") && (e.removeEventListener("transitionend", s), o());}, 400);}-function Js(e, t) {+function qs(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)}">${B(e)}</span>`)).join("")}</span>`, r === void 0 || r === n) return;let a = e.firstElementChild;a.getBoundingClientRect(), a.classList.add("popping");}-function Ys(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 = Xs(e, t, "cleardissolve");+ let i = Ys(e, t, "cleardissolve");if (!i) return () => {};let a = document.createElement("span");a.dataset.dissolveValue = "", a.textContent = n, a.style.transform = `translateX(-${Math.max(0, r)}px)`, i.append(a), e.classList.add("dissolving"), t.append(i);@@ -13186,7 +13186,7 @@ function Ys(e, t = e && e.parentElement, { text: n = e && e.value, scrollLeft: r};return i.addEventListener("animationend", c), s = setTimeout(c, 1e3), c;}-function Xs(e, t, n) {+function Ys(e, t, n) {let r = e.getBoundingClientRect(), i = t.getBoundingClientRect();if (!r.width) return null;let a = document.createElement("span");@@ -13206,28 +13206,28 @@ function Xs(e, t, n) {direction: o.direction}), a;}-function Zs(e, t, n = e && e.parentElement) {+function Xs(e, t, n = e && e.parentElement) {if (!e) return () => {};let r = e.placeholder;if (n?.querySelectorAll(":scope > .placeholderroll").forEach((e) => e.remove()), e.classList.remove("placeholderrolling"), e.placeholder = t, !n || !r || r === t || e.value || !e.isConnected || window.matchMedia("(prefers-reduced-motion: reduce)").matches) return () => {};- let i = Xs(e, n, "placeholderroll");+ let i = Ys(e, n, "placeholderroll");if (!i) return () => {};i.style.color = getComputedStyle(e, "::placeholder").color;let a = document.createElement("span");- i.append(a), e.classList.add("placeholderrolling"), n.append(i), qs(a, r), a.getBoundingClientRect(), qs(a, t);+ i.append(a), e.classList.add("placeholderrolling"), n.append(i), Ks(a, r), a.getBoundingClientRect(), Ks(a, t);let o = !0, s = () => {o && (o = !1, clearTimeout(c), i.remove(), n.querySelector(":scope > .placeholderroll") || e.classList.remove("placeholderrolling"));}, c = setTimeout(s, 900);return s;}-var Qs = /* @__PURE__ */ new Map();-function $s(e, t = "") {+var Zs = /* @__PURE__ */ new Map();+function Qs(e, t = "") {e && e.querySelectorAll("[data-count-badge]").forEach((e) => {- let n = `${t}\u0000${e.dataset.countBadge}`, r = e.textContent || "", i = Qs.get(n);- Qs.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 = Zs.get(n);+ Zs.set(n, r), e.classList.add("countbadge"), i !== void 0 && i !== r && (e.classList.add("popped"), e.getBoundingClientRect(), e.classList.remove("popped"));});}-function ec(e, t = "[data-reveal-line]") {+function $s(e, t = "[data-reveal-line]") {if (!e) return;let n = [...e.querySelectorAll(t)];if (!n.length) return;@@ -13243,12 +13243,12 @@ function ec(e, t = "[data-reveal-line]") {i.classList.contains("revealline") && (i.removeEventListener("transitionend", a), r());}, 1200);}-var tc = [+var ec = [50,100,200];-function nc({ mode: e = "cloud", pageSize: t = 100 } = {}) {+function tc({ 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>`;@@ -13256,7 +13256,7 @@ function nc({ 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 rc(e, t) {+function nc(e, t) {if (!e) return;if (e.querySelector(".skeleton-awaiting") || !e.querySelector(".skeleton,[data-skeleton],.skeletoncard,.countskeleton") || !e.firstChild) {t();@@ -13274,7 +13274,7 @@ function rc(e, t) {n.isConnected && (n.removeEventListener("transitionend", i), r());}, 1e3);}-function ic(e = "正在读取内容", { className: t = "", variant: n = "panel", count: r = 6, fill: i = !0, gridClass: a = "", gridSize: o = "", cardRatio: s = 0 } = {}) {+function rc(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",@@ -13283,23 +13283,23 @@ function ic(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 ac({ kind: e, layout: t = "big", mode: n = "alphabet" } = {}) {- if (e === "tags") return nc({ 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 ? ` ${B(t)}` : ""}"+ data-skeleton="${B(c)}${t ? `/${B(t)}` : ""}"${c === "cards" && i ? " data-fill=\"\"" : ""}+ role="status" aria-label="${B(e)}"><span class="sr-only">${B(e)}</span>+ <div${a ? ` class="${B(a)}"` : ""}${o ? ` data-size="${B(o)}"` : ""}${c === "cards" && Number(s) > 0 ? ` style="--skeleton-card-ratio:${Number(s)}"` : ""} aria-hidden="true">${l}</div></div>`;+}+function ic({ kind: e, layout: t = "big", mode: n = "alphabet" } = {}) {+ if (e === "tags") return tc({ mode: n });+ let r = `<div class="igrid" data-cells="${e === "studios" || e === "agencies" || e === "series" ? "company" : "people"}" data-layout="${B(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/${B(e)}/${B(t)}/${B(n)}" data-fill=""role="status" aria-label="${i}"><span class="sr-only">${i}</span><section aria-hidden="true">${r}</section></div>`;}-var oc = {+var ac = {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>`-}, sc = {+}, oc = {av: [0],brandpill: [132,@@ -13342,41 +13342,41 @@ var oc = {76,84]-}, cc = "[data-skeleton],[data-skeleton-tier],.countskeleton";-function lc(e) {+}, sc = "[data-skeleton],[data-skeleton-tier],.countskeleton";+function cc(e) {if (!e) return;- let t = [...e.matches?.(cc) ? [e] : [], ...e.querySelectorAll(cc)], n = t.filter((e) => !t.some((t) => t !== e && t.contains(e)));+ let t = [...e.matches?.(sc) ? [e] : [], ...e.querySelectorAll(sc)], n = t.filter((e) => !t.some((t) => t !== e && t.contains(e)));for (let e of n) e.closest("[data-page-navigation-pending]") ? (e.dataset.skeletonReveal = "shown", e.classList.remove("skeleton-awaiting")) : 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 uc = 64;-function dc(e) {- e = e.filter((e) => e.row && oc[e.kind] && (!e.row.children.length || e.row.scrollWidth <= e.row.clientWidth)).map((e) => ({+var lc = 64;+function uc(e) {+ e = e.filter((e) => e.row && ac[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 = oc[e.kind], r = sc[e.kind], i = "";- for (let a = Math.min(uc, e.added + t); e.added < a; e.added++) i += n(r[e.added % r.length]);+ let n = ac[e.kind], r = oc[e.kind], i = "";+ for (let a = Math.min(lc, 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, sc[n.kind].length);+ for (let n of e) t(n, oc[n.kind].length);for (let n = 0; n < 4; n++) {- let n = e.filter((e) => e.added < uc && e.row.scrollWidth <= e.row.clientWidth).map((e) => {+ let n = e.filter((e) => e.added < lc && 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) lc(t.row);+ for (let t of e) cc(t.row);}-function fc(e) {+function dc(e) {if (!e) return;let t = (t) => [...e.matches?.(t) ? [e] : [], ...e.querySelectorAll(t)];- dc(t("[data-skeleton-tier]").map((e) => ({+ uc(t("[data-skeleton-tier]").map((e) => ({row: e,kind: e.dataset.skeletonTier})));@@ -13389,36 +13389,36 @@ function fc(e) {for (; e.children.length > s;) e.lastElementChild.remove();for (; e.children.length < s;) e.appendChild(t.cloneNode(!0));}- lc(e);+ cc(e);}// src/ui-kit/sweep-gate.ts-var pc = 1e4, mc = /* @__PURE__ */ new WeakMap(), hc = null;-function gc() {- return hc || typeof IntersectionObserver != "function" || (hc = new IntersectionObserver((e) => {+var fc = 1e4, pc = /* @__PURE__ */ new WeakMap(), mc = null;+function hc() {+ return mc || typeof IntersectionObserver != "function" || (mc = new IntersectionObserver((e) => {for (let { target: t, isIntersecting: n } of e) {if (!t.isConnected) {- vc(t);+ _c(t);continue;}let e = t;- e.dataset.sweep !== "stalled" && (n ? (delete e.dataset.sweep, mc.has(e) || mc.set(e, setTimeout(() => {- mc.delete(e), e.isConnected && (e.dataset.sweep = "stalled");- }, pc))) : (e.dataset.sweep = "idle", clearTimeout(mc.get(e)), mc.delete(e)));+ e.dataset.sweep !== "stalled" && (n ? (delete e.dataset.sweep, pc.has(e) || pc.set(e, setTimeout(() => {+ pc.delete(e), e.isConnected && (e.dataset.sweep = "stalled");+ }, fc))) : (e.dataset.sweep = "idle", clearTimeout(pc.get(e)), pc.delete(e)));}- })), hc;+ })), mc;}-function _c(e) {- gc()?.observe(e);+function gc(e) {+ hc()?.observe(e);}-function vc(e) {- hc?.unobserve(e), clearTimeout(mc.get(e)), mc.delete(e), e.dataset?.sweep && delete e.dataset.sweep;+function _c(e) {+ mc?.unobserve(e), clearTimeout(pc.get(e)), pc.delete(e), e.dataset?.sweep && delete e.dataset.sweep;}// src/ui-kit/scroll.ts-var yc = /* @__PURE__ */ new Map(), bc, xc = 240, Sc = 50, Cc = 70, wc = .55, Tc = .35, Ec = 480;-function Dc(e, t) {- return !e || !(t > 0) ? 0 : Math.sign(e) * (1 - 1 / (Math.abs(e) * wc / t + 1)) * t;+var vc = /* @__PURE__ */ new Map(), yc, bc = 240, xc = 50, Sc = 70, Cc = .55, wc = .35, Tc = 480;+function Ec(e, t) {+ return !e || !(t > 0) ? 0 : Math.sign(e) * (1 - 1 / (Math.abs(e) * Cc / t + 1)) * t;}-function Oc(e) {+function Dc(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) => {@@ -13426,11 +13426,11 @@ function Oc(e) {};return {drag(i) {- r() || (t?.cancel(), t = null, n = -Dc(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 = -Ec(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 = Hc();+ let t = n, r = Vc();n = 0, e.style.removeProperty("--edge-pull"), a([{"--edge-pull": `${t}px`,easing: r.easing@@ -13438,9 +13438,9 @@ function Oc(e) {},kick(t) {if (r() || n) return;- let i = -Dc(t * Tc, Math.min(e.clientWidth, Ec));+ let i = -Ec(t * wc, Math.min(e.clientWidth, Tc));if (!i) return;- let o = Hc();+ let o = Vc();a([{"--edge-pull": "0px",@@ -13456,10 +13456,10 @@ function Oc(e) {}};}-function kc(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dragIgnore: a = "" } = {}) {+function Oc(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dragIgnore: a = "" } = {}) {if (!e) return;n && (e.dataset.scrollGesture = "");- let o = yc.get(e);+ let o = vc.get(e);if (o) return o.options.drag ||= t, o.options.fade ||= n, o.update(), o;let s = {drag: t,@@ -13467,7 +13467,7 @@ function kc(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, drawheel: r,elastic: i,dragIgnore: a- }, c = new AbortController(), l = Oc(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 = Dc(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",@@ -13493,7 +13493,7 @@ function kc(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 / Cc)), Math.abs(p - _) < .5 && (_ = p), e.scrollLeft = _, _ !== p) h = requestAnimationFrame(O);+ if (g = t, _ += (p - _) * (1 - Math.exp(-n / Sc)), Math.abs(p - _) < .5 && (_ = p), e.scrollLeft = _, _ !== p) h = requestAnimationFrame(O);else if (h = 0, v) {let e = v;v = 0, E(e);@@ -13505,11 +13505,11 @@ function kc(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 + xc;+ r > f && (m = !1), f = r + bc;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 < Sc || 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 < xc || 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,@@ -13547,18 +13547,18 @@ function kc(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(), yc.delete(e), delete e.dataset.scrollGesture, e.style.cursor = "", yc.size || (bc?.disconnect(), bc = null);+ c.abort(), D(), cancelAnimationFrame(C), C = 0, A.disconnect(), M.disconnect(), vc.delete(e), delete e.dataset.scrollGesture, e.style.cursor = "", vc.size || (yc?.disconnect(), yc = null);}};- return yc.set(e, ee), bc || (bc = new MutationObserver(() => {- for (let [e, t] of yc) e.isConnected || t.destroy();- }), bc.observe(document.body, {+ return vc.set(e, ee), yc || (yc = new MutationObserver(() => {+ for (let [e, t] of vc) e.isConnected || t.destroy();+ }), yc.observe(document.body, {childList: !0,subtree: !0})), ee;}-function Ac(e) {- return kc(e, {+function kc(e) {+ return Oc(e, {drag: !0,fade: !1,wheel: !1,@@ -13566,9 +13566,9 @@ function Ac(e) {dragIgnore: "a,button,input,select,textarea,label,[role=\"button\"],[role=\"checkbox\"],[role=\"slider\"],.react-aria-ColumnResizer"});}-var jc = 24, Mc = 2e3, Nc = 3e3, Pc = /* @__PURE__ */ new Map(), Fc = /* @__PURE__ */ new Set(), Ic = null, Lc = null, Rc = /* @__PURE__ */ new Map();-function zc(e) {- if (!e || Pc.has(e) || matchMedia("(prefers-reduced-motion:reduce)").matches) return;+var Ac = 24, jc = 2e3, Mc = 3e3, Nc = /* @__PURE__ */ new Map(), Pc = /* @__PURE__ */ new Set(), Fc = null, Ic = null, Lc = /* @__PURE__ */ new Map();+function Rc(e) {+ if (!e || Nc.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@@ -13580,11 +13580,11 @@ function zc(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 * jc * o / 1e3)), e.scrollLeft = n, (n >= u || n <= 0) && (r = n >= u ? -1 : 1, l = t + Mc)));+ 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 * Ac * o / 1e3)), e.scrollLeft = n, (n >= u || n <= 0) && (r = n >= u ? -1 : 1, l = t + jc)));}, g = () => {e.isConnected ? !a && m() && (i = 0, a = requestAnimationFrame(h)) : b();}, _ = () => {- l = performance.now() + Nc;+ l = performance.now() + Mc;};f(e, "pointerenter", () => {o = !0;@@ -13604,41 +13604,41 @@ function zc(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), Fc.delete(g), Lc?.unobserve(e), Rc.delete(e), Pc.size || (Ic?.disconnect(), Ic = null, Lc?.disconnect(), Lc = null);+ cancelAnimationFrame(a), a = 0, t.abort(), v.disconnect(), y.disconnect(), Nc.delete(e), Pc.delete(g), Ic?.unobserve(e), Lc.delete(e), Nc.size || (Fc?.disconnect(), Fc = null, Ic?.disconnect(), Ic = null);}- Pc.set(e, b), Fc.add(g), Ic || (Ic = new MutationObserver(() => Fc.forEach((e) => e())), Ic.observe(document.body, {+ Nc.set(e, b), Pc.add(g), Fc || (Fc = new MutationObserver(() => Pc.forEach((e) => e())), Fc.observe(document.body, {attributes: !0,attributeFilter: ["data-detail-open", "data-wall-open"]- })), typeof IntersectionObserver == "function" && (Lc ??= new IntersectionObserver((e) => {- for (let t of e) Rc.get(t.target)?.(t.isIntersecting);- }), Rc.set(e, (e) => {+ })), typeof IntersectionObserver == "function" && (Ic ??= new IntersectionObserver((e) => {+ for (let t of e) Lc.get(t.target)?.(t.isIntersecting);+ }), Lc.set(e, (e) => {c = e, g();- }), Lc.observe(e));+ }), Ic.observe(e));}-function Bc(e) {- Pc.get(e)?.();+function zc(e) {+ Nc.get(e)?.();}-var Vc = null;-function Hc() {- if (!Vc) {+var Bc = null;+function Vc() {+ if (!Bc) {let e = getComputedStyle(document.documentElement);- Vc = {+ Bc = {easing: e.getPropertyValue("--spring-pane").trim() || "ease",duration: parseFloat(e.getPropertyValue("--spring-pane-ms")) || 300};}- return Vc;+ return Bc;}-function Uc(e, t, n, r = "x") {- Gc(e), e.style.width = `${n.w}px`, e.style.height = `${n.h}px`;+function Hc(e, t, n, r = "x") {+ Wc(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 = Hc(), c = [e.animate([{ translate: r === "y" ? `${n.x}px ${t.y}px` : `${t.x}px ${n.y}px` }, { translate: o }], {+ let s = Vc(), 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"})];- Wc.set(e, c);+ Uc.set(e, c);let l = 1 + Math.min(Math.abs(n[a] - t[a]) / n[i], 1.5) * .12;c.push(e.animate([{@@ -13661,18 +13661,18 @@ function Uc(e, t, n, r = "x") {}e.style.translate = o;}-var Wc = /* @__PURE__ */ new WeakMap();-function Gc(e) {- e && (Wc.get(e)?.forEach((e) => e.cancel()), Wc.delete(e));+var Uc = /* @__PURE__ */ new WeakMap();+function Wc(e) {+ e && (Uc.get(e)?.forEach((e) => e.cancel()), Uc.delete(e));}-var Kc = ".reviewtabs,.ftablewrap,.ui-board-local-nav,[data-manage-menu],.follow-workspace-switch,.fmanagenav";-function qc(e = document, t = !0) {+var Gc = ".reviewtabs,.ftablewrap,.ui-board-local-nav,[data-manage-menu],.follow-workspace-switch,.fmanagenav";+function Kc(e = document, t = !0) {let n = [...e instanceof HTMLElement ? [e] : [], ...t ? e.querySelectorAll("*") : []];- n.filter((e) => e instanceof HTMLElement && e.matches(Kc)).forEach((e) => kc(e));- let r = (e) => e.hasAttribute("data-horizontal-scroll") || yc.has(e) && yc.get(e).options.fade !== !1;+ n.filter((e) => e instanceof HTMLElement && e.matches(Gc)).forEach((e) => Oc(e));+ let r = (e) => e.hasAttribute("data-horizontal-scroll") || vc.has(e) && vc.get(e).options.fade !== !1;n.flatMap((e) => {if (!(e instanceof HTMLElement) || e === document.body || e === document.documentElement || e.closest(".ovtrack,.ui-ov-edges")) return [];- if (e.closest("[data-skeleton],[data-skeleton-tier]")) return No(e), [];+ if (e.closest("[data-skeleton],[data-skeleton-tier]")) return Mo(e), [];if (e.closest("[inert]")) return [];let t = r(e), n = t ? ["y"] : ["y", "x"];if (e.dataset.overlayScrollbar && e.dataset.overlayAxes === n.join("")) return [];@@ -13684,19 +13684,19 @@ function qc(e = document, t = !0) {el: e,axes: []}] : [];- }).forEach(({ el: e, axes: t }) => t.length ? Lo(e, { axes: t }) : No(e));+ }).forEach(({ el: e, axes: t }) => t.length ? Io(e, { axes: t }) : Mo(e));}-function Jc(e = document.body) {+function qc(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)) || qc(t, n);- Po();+ for (let [t, n] of e) e.some(([e, n]) => n && e !== t && e.contains(t)) || Kc(t, n);+ No();}, a = (e, a = !0) => {r(e) || (n.set(e, (n.get(e) ?? !1) || a), t ||= requestAnimationFrame(i));}, o = new MutationObserver((e) => {- for (let n of e) if (n.type === "attributes") n.target instanceof HTMLElement && (n.attributeName === "data-theater" && Io(n.target), a(n.target, n.attributeName !== "style"));+ for (let n of e) if (n.type === "attributes") n.target instanceof HTMLElement && (n.attributeName === "data-theater" && Fo(n.target), a(n.target, n.attributeName !== "style"));else {for (let e of n.addedNodes) e instanceof HTMLElement && a(e);n.removedNodes.length && !t && (t = requestAnimationFrame(i));@@ -13720,45 +13720,45 @@ function Jc(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(), Fo(e), Po();+ o.disconnect(), window.removeEventListener("resize", s), cancelAnimationFrame(t), n.clear(), Po(e), No();};}// src/ui-kit/controls.ts-function Yc(e, t = !0) {+function Jc(e, t = !0) {e && (t ? (e.setAttribute("aria-busy", "true"), e.setAttribute("aria-disabled", "true")) : (e.removeAttribute("aria-busy"), e.removeAttribute("aria-disabled")));}-var Xc = /* @__PURE__ */ new WeakSet();-function Zc(e = document) {- Xc.has(e) || (Xc.add(e), e.addEventListener("click", (t) => {+var Yc = /* @__PURE__ */ new WeakSet();+function Xc(e = document) {+ Yc.has(e) || (Yc.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 Qc(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 Zc(e, t, n, r, { attr: i = "", className: a = "", text: o = !1 } = {}) {+ let s = n.map(([t, n, a]) => `<label title="${B(n)}"><input type="radio" name="${B(e)}" value="${B(t)}" ${i}+ ${t === r ? "checked" : ""}><span aria-hidden="true">${o ? (a ? z(a) : "") + B(n) : z(a)}</span><span class="sr-only">${B(n)}</span></label>`).join("");+ return `<fieldset class="iconswitch${o ? " iconswitch-text" : ""}${a ? ` ${B(a)}` : ""}"><legend class="sr-only">${B(t)}</legend>${s}</fieldset>`;}-function $c(e, t, n) {+function Qc(e, t, n) {e?.querySelectorAll(`[${t}]`).forEach((e) => {e.onchange = () => {e.checked && n(e.value);};});}-var el = 9;-function tl({ value: e = 0, min: t = 0, max: n = 100, step: r = 1, label: i = "", suffix: a = "%", attr: o = "", className: s = "" } = {}) {+var $c = 9;+function el({ 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 ? ` ${B(s)}` : ""}" ${o}>+ <div class="ui-dial-slider" data-dial-slider role="slider" tabindex="0" aria-label="${B(i)}"+ aria-valuemin="${t}" aria-valuemax="${n}" aria-valuenow="${e}" aria-valuetext="${B(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(el)}</span>+ <span class="ui-dial-ticks" aria-hidden="true">${"<span></span>".repeat($c)}</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>${B(l)}</b></div>`;}-function nl(e, { onInput: t = () => {}, onChange: n = () => {}, suffix: r = "%" } = {}) {+function tl(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);@@ -13806,9 +13806,9 @@ function nl(e, { onInput: t = () => {}, onChange: n = () => {}, suffix: r = "%"}};}-function rl(e, t, n) {+function nl(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 = ds(e, t, n), i, a = () => {+ let r = us(e, t, n), i, a = () => {clearTimeout(i), r.setOpen(!1);}, o = () => {clearTimeout(i), i = setTimeout(() => {@@ -13828,7 +13828,7 @@ function rl(e, t, n) {hide: a};}-function il(e, { selector: t, attribute: n, onMove: r } = {}) {+function rl(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);@@ -13849,11 +13849,11 @@ function il(e, { selector: t, attribute: n, onMove: r } = {}) {});}// src/ui-kit/modal.ts-var al = 0;-function ol({ title: e, description: t = "", body: n = "", confirmLabel: r, cancelLabel: i = "取消", onConfirm: a = null, confirmDisabled: o = !1 } = {}) {+var il = 0;+function al({ 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-${++al}`;+ let l = `geist-form-title-${++il}`;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>" : ""}@@ -13877,31 +13877,31 @@ function ol({ 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, Yc(d);+ f.innerHTML = "", m = !0, Jc(d);try {p = {confirmed: !0,result: await a()}, c.close();} catch (e) {- f.innerHTML = Rs(e.message || "操作未完成", { variant: "error" }), Yc(d, !1);+ f.innerHTML = Ls(e.message || "操作未完成", { variant: "error" }), Jc(d, !1);} finally {m = !1;}}}- }, c.showModal(), Lo(c.querySelector(".ui-geist-modal-body")), Zo("pop"), (c.querySelector(".ui-geist-modal-fields input:not([type=\"checkbox\"])") || d).focus(), {+ }, c.showModal(), Io(c.querySelector(".ui-geist-modal-body")), Xo("pop"), (c.querySelector(".ui-geist-modal-fields input:not([type=\"checkbox\"])") || d).focus(), {dialog: c,confirmButton: d,done: h,close: () => c.close()};}-var sl = 0;-function cl({ title: e, body: t, items: n = [], confirmLabel: r, cancelLabel: i = "取消", onConfirm: a = null, danger: o = !1 } = {}) {+var ol = 0;+function sl({ 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-${++sl}`;+ let l = `geist-modal-title-${++ol}`;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>@@ -13936,25 +13936,25 @@ function cl({ title: e, body: t, items: n = [], confirmLabel: r, cancelLabel: iif (!n) {if (!a) t = { confirmed: !0 }, c.close();else {- p.innerHTML = "", n = !0, Yc(f);+ p.innerHTML = "", n = !0, Jc(f);try {t = {confirmed: !0,result: await a()}, c.close();} catch (e) {- p.innerHTML = Rs(e.message || "操作未完成", { variant: "error" }), Yc(f, !1);+ p.innerHTML = Ls(e.message || "操作未完成", { variant: "error" }), Jc(f, !1);} finally {n = !1;}}}- }, c.showModal(), Lo(c.querySelector(".ui-geist-modal-body")), Lo(u), Zo("pop"), (o ? d : f).focus();+ }, c.showModal(), Io(c.querySelector(".ui-geist-modal-body")), Io(u), Xo("pop"), (o ? d : f).focus();});}// src/card-art/framing.ts-var ll = () => window.devicePixelRatio || 1;-function ul(e) {+var cl = () => window.devicePixelRatio || 1;+function ll(e) {let t = e.parentElement;if (!t || (["position",@@ -13973,17 +13973,17 @@ function ul(e) {delete e.dataset.faceFramed;let n = new ResizeObserver(() => {let r = t.getBoundingClientRect();- r.width > 0 && r.height > 0 && (n.disconnect(), ul(e));+ r.width > 0 && r.height > 0 && (n.disconnect(), ll(e));});n.observe(t);return;}- let [r = NaN, i = NaN, a = NaN, o = NaN, s = NaN] = String(e.dataset.facebox).split(" ").map(Number), c = Wa(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 = Ua(e.naturalWidth, e.naturalHeight, o, s);if (!c) {e.style.objectPosition = "50% 50%";return;}- let l = Ia({+ let l = Fa({cx: r,cy: i,faceW: a * c,@@ -13992,13 +13992,13 @@ function ul(e) {}, {w: n.width,h: n.height- }, ll());+ }, cl());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 dl(e, t) {- let n = e.naturalWidth / e.naturalHeight, r = n ? t ?? gl(e) : 0;+function ul(e, t) {+ let n = e.naturalWidth / e.naturalHeight, r = n ? t ?? hl(e) : 0;if (e.closest(".pic,[data-media-pic]")?.style.removeProperty("--cover-blur"), !n) return;e.classList.remove("panel"), ["--panel-aspect",@@ -14010,58 +14010,58 @@ function dl(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" : ml(e) ? "sleeve" : n >= 1.65 ? "still" : n > 1.2 ? "sleeve" : "front";+ e.dataset.frame = e.dataset.coverLayout === "still" || /^FC2(?:-PPV)?-/i.test(i) ? "still" : pl(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", _l(e, "cx"), r / n), a("--cover-y", _l(e, "cy"), n / r), fl(e, r), e.dataset.frame !== "still" && (e.classList.contains("whole") || e.dataset.frame === "front") && Math.abs(n / r - 1) > .02 && pl(e);+ a("--cover-x", gl(e, "cx"), r / n), a("--cover-y", gl(e, "cy"), n / r), dl(e, r), e.dataset.frame !== "still" && (e.classList.contains("whole") || e.dataset.frame === "front") && Math.abs(n / r - 1) > .02 && fl(e);}-function fl(e, t) {+function dl(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 - (ml(e) ? no : to) * i), a = 0, o = r, s = i), !Wa(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 = ro({+ if (!e.dataset.posterbox && e.dataset.frame === "sleeve" && (r = e.naturalWidth, i = e.naturalHeight, n = Math.round(r - (pl(e) ? to : eo) * i), a = 0, o = r, s = i), !Ua(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 = no({x0: n,y0: a,x1: o,y1: s,px: [r, i]- }, t, ml(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 && pl(e));+ }, t, pl(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 && fl(e));}-function pl(e) {+function fl(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 ml(e) {+function pl(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 hl(e) {+function ml(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) * ll() > 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) * cl() > 1.01 && (e.dataset.thumbSrc ||= e.src, e.src = t === "2" ? e.src.replace(/([?&])thumb=2(?=&|$)/, "$1thumb=1") : e.src.replace(/[?&]thumb=1(?=&|$)/, ""));}-function gl(e) {+function hl(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 _l(e, t) {+function gl(e, t) {let n = parseFloat(e.dataset[t] ?? "");return Number.isFinite(n) ? n : null;}-var vl = ".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", yl = /* @__PURE__ */ new WeakMap();-function bl(e) {- let t = e.matches(vl) ? [e] : e.querySelectorAll(vl);- for (let e of t) !e.complete && e.parentElement && (e.parentElement.classList.add("imgwait"), yl.set(e.parentElement, performance.now()), _c(e.parentElement));+var _l = ".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", vl = /* @__PURE__ */ new WeakMap();+function yl(e) {+ let t = e.matches(_l) ? [e] : e.querySelectorAll(_l);+ for (let e of t) !e.complete && e.parentElement && (e.parentElement.classList.add("imgwait"), vl.set(e.parentElement, performance.now()), gc(e.parentElement));}-function xl(e) {+function bl(e) {let t = e.parentElement;if (!t?.classList.contains("imgwait")) return;- if (vc(t), performance.now() - (yl.get(t) ?? NaN) < 180) {+ if (_c(t), performance.now() - (vl.get(t) ?? NaN) < 180) {t.classList.remove("imgwait");return;}@@ -14071,90 +14071,90 @@ function xl(e) {};t.addEventListener("transitionend", r), n = setTimeout(r, 1e3);}-function Sl(e) {+function xl(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") ? dl(t) : (Cl(t), ul(t)));+ t.complete && t.naturalWidth && (t.classList.contains("cover") ? ul(t) : (Sl(t), ll(t)));}}-function Cl(e) {+function Sl(e) {let t = e.closest("[data-fit-native]");if (!t || !e.naturalWidth) return;- let n = t.dataset.fitNative === "mark" ? qa(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight) : null;+ let n = t.dataset.fitNative === "mark" ? Ka(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 } = Ga(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight, ll());+ let { small: r, width: i, height: a } = Wa(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight, cl());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 wl(e) {+function Cl(e) {(e || document).querySelectorAll("[data-fit-native] img").forEach((e) => {- Cl(e), e.dataset.facebox && ul(e);+ Sl(e), e.dataset.facebox && ll(e);});}-function Tl(e, t) {- for (let n of ao(e, t)) dl(n), hl(n);+function wl(e, t) {+ for (let n of io(e, t)) ul(n), ml(n);}-var El = !1;-function Dl() {- El || (El = !0, document.addEventListener("load", (e) => {+var Tl = !1;+function El() {+ Tl || (Tl = !0, document.addEventListener("load", (e) => {let t = e.target;- t instanceof HTMLImageElement && (xl(t), Cl(t), t.classList.contains("cover") ? (dl(t), hl(t)) : t.dataset.facebox && ul(t));+ t instanceof HTMLImageElement && (bl(t), Sl(t), t.classList.contains("cover") ? (ul(t), ml(t)) : t.dataset.facebox && ll(t));}, !0), new MutationObserver((e) => {- for (let t of e) for (let e of t.addedNodes) e.nodeType === Node.ELEMENT_NODE && (bl(e), Sl(e));+ for (let t of e) for (let e of t.addedNodes) e.nodeType === Node.ELEMENT_NODE && (yl(e), xl(e));}).observe(document.body, {childList: !0,subtree: !0}), document.addEventListener("error", (e) => {let t = e.target;- t instanceof HTMLImageElement && !t.dataset.fallbacks && xl(t);+ t instanceof HTMLImageElement && !t.dataset.fallbacks && bl(t);}, !0));}// src/card-art/hover.ts-var Ol = ".card,[data-media-card],[data-mix-card]", kl = {+var Dl = ".card,[data-media-card],[data-mix-card]", Ol = {selecting: () => !1,censored: () => !1,delaySeconds: () => 0};-function Al(e) {- kl = e;+function kl(e) {+ Ol = e;}-var jl = () => !!window.__scrolling;-function Ml(e = document, t = null) {- e && e.querySelectorAll && (e.querySelectorAll(Ol).forEach((e) => {+var Al = () => !!window.__scrolling;+function jl(e = document, t = null) {+ e && e.querySelectorAll && (e.querySelectorAll(Dl).forEach((e) => {e !== t && e._stopHover && e._stopHover();}), e.querySelectorAll("video.hv").forEach((e) => {- e.closest(Ol) !== t && (e._hop && clearInterval(e._hop), e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ e.closest(Dl) !== t && (e._hop && clearInterval(e._hop), e.pause(), e.removeAttribute("src"), e.load(), e.remove());}), e.querySelectorAll("img.ui-hvframes").forEach((e) => {- e.closest(Ol) !== t && (e.removeAttribute("src"), e.remove());+ e.closest(Dl) !== t && (e.removeAttribute("src"), e.remove());}));}-function Nl(e) {- e._stopHover?.(), Ml(e);+function Ml(e) {+ e._stopHover?.(), jl(e);}-function Pl(e, t, n) {+function Nl(e, t, n) {n ? e.dataset[t] = "" : delete e.dataset[t];}-function Fl(e, t) {+function Pl(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), kl.delaySeconds() && (Pl(e, "previewing", !0), i = setTimeout(() => {- kl.delaySeconds() && Pl(e, "longhover", !0);- }, kl.delaySeconds() * 1e3));+ clearTimeout(i), Ol.delaySeconds() && (Nl(e, "previewing", !0), i = setTimeout(() => {+ Ol.delaySeconds() && Nl(e, "longhover", !0);+ }, Ol.delaySeconds() * 1e3));}, o = () => {- clearTimeout(i), Pl(e, "previewing", !1), Pl(e, "longhover", !1);+ clearTimeout(i), Nl(e, "previewing", !1), Nl(e, "longhover", !1);};if (t.location !== "local") {if (!t.has_thumb) return;let i, s = 4, c = null, l = !1;e.addEventListener("mouseenter", () => {- if (!(kl.selecting() || kl.censored())) {+ if (!(Ol.selecting() || Ol.censored())) {if (a(), !c) {c = document.createElement("img"), c.className = "ui-hvframes", c.alt = "";let e = c;@@ -14181,9 +14181,9 @@ function Fl(e, t) {}let s, c = null;e.addEventListener("mouseenter", () => {- kl.selecting() || kl.censored() || jl() || (s = setTimeout(() => {- if (jl() || kl.censored()) return;- Ml(document, e);+ Ol.selecting() || Ol.censored() || Al() || (s = setTimeout(() => {+ if (Al() || Ol.censored()) return;+ jl(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 = [@@ -14218,20 +14218,20 @@ function Fl(e, t) {n._stopHover = l, e.addEventListener("mouseleave", l);}// src/core/tags.ts-var Il = (e) => e;+var Fl = (e) => e;// src/react/follow-feed/follow-helpers.ts-function Ll([e, t, , n, r]) {- return n ? `<img src="/work-icon?work=${encodeURIComponent(e)}" width="128" height="128" alt="" loading="lazy"${yo(r)}${bo(r)}>` : z(Qn(t, 2));+function Il([e, t, , n, r]) {+ return n ? `<img src="/work-icon?work=${encodeURIComponent(e)}" width="128" height="128" alt="" loading="lazy"${vo(r)}${yo(r)}>` : B(Zn(t, 2));}-function Rl(e) {+function Ll(e) {return {...e,- workMark: Ll,- tagLabel: Il+ workMark: Il,+ tagLabel: Fl};}// src/sidebar.ts-var zl = [+var Rl = ["","follow","jav",@@ -14240,7 +14240,7 @@ var zl = ["studios","flagged","manage"-], Bl = [+], zl = ["playlists","immerse","stats",@@ -14249,12 +14249,12 @@ var zl = ["trash","follow-manage","quality"-], Vl = /* @__PURE__ */ new Set([...zl, ...Bl]), Hl = (e) => e === "ads" || e === "dupes" ? "data-cleanup" : e;-function Ul(e) {- let t = Array.isArray(e) ? e.filter((e) => typeof e == "string") : [], n = [...new Set(t.map(Hl))].filter((e) => Vl.has(e));- return n.length ? n : [...zl];+], Bl = /* @__PURE__ */ new Set([...Rl, ...zl]), Vl = (e) => e === "ads" || e === "dupes" ? "data-cleanup" : e;+function Hl(e) {+ let t = Array.isArray(e) ? e.filter((e) => typeof e == "string") : [], n = [...new Set(t.map(Vl))].filter((e) => Bl.has(e));+ return n.length ? n : [...Rl];}-function Wl(e) {+function Ul(e) {return ["/","/unseen",@@ -14264,13 +14264,13 @@ function Wl(e) {"/junk-files"].includes(e) || /^\/assets\//.test(e) || /^\/(performers|studios|creators|series|agencies|tags)\/.+/.test(e);}-function Gl(e) {+function Wl(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 Kl(e, t) {+function Gl(e, t) {return {...t,close: () => e.close(),@@ -14283,40 +14283,40 @@ function Kl(e, t) {...n,tags: [...r]};- e.adoptView(i), e.rememberReturn(Oa(i)), e.close();+ e.adoptView(i), e.rememberReturn(Da(i)), e.close();},- present: (t) => e.drawer({ tags: Gl([{ tags: t.tags || [] }]) })+ present: (t) => e.drawer({ tags: Wl([{ tags: t.tags || [] }]) })};}// src/shell/index.ts-var U, ql, Jl = null, Yl = /* @__PURE__ */ new Set(), Xl = /* @__PURE__ */ new Set(), Zl = !1, Ql = null, $l = null, eu = "", tu = "/", nu = null, ru = !1, iu = !1, au = null, ou = null, su = null, cu = "/follow", lu = "", uu = null, du = !1, fu = 0, pu = 0, mu = !1, hu = Math.floor(Math.random() * 4294967295), gu = 0, _u = 0, vu = 0, yu = /* @__PURE__ */ new Set(), bu = 0;-function xu(e) {+var W, Kl, ql = null, Jl = /* @__PURE__ */ new Set(), Yl = /* @__PURE__ */ new Set(), Xl = !1, Zl = null, Ql = null, $l = "", eu = "/", tu = null, nu = !1, ru = !1, iu = null, au = null, ou = null, su = "/follow", cu = "", lu = null, uu = !1, du = 0, fu = 0, pu = !1, mu = Math.floor(Math.random() * 4294967295), hu = 0, gu = 0, _u = 0, vu = /* @__PURE__ */ new Set(), yu = 0;+function bu(e) {let t = (t) => Object.prototype.hasOwnProperty.call(e, t);- t("state") && (U = e.state), t("barsContext") && (ql = e.barsContext), t("detailReturnBarsContext") && (Jl = e.detailReturnBarsContext), t("selectMode") && (Zl = e.selectMode), t("lastSelectedId") && (Ql = e.lastSelectedId), t("followLastSelectedId") && ($l = e.followLastSelectedId), t("selectSurface") && (eu = e.selectSurface), t("detailReturnPath") && (tu = e.detailReturnPath), t("detailOriginAnchor") && (nu = e.detailOriginAnchor), t("detailOriginAbove") && (ru = e.detailOriginAbove), t("detailReturnNeedsRestore") && (iu = e.detailReturnNeedsRestore), t("activeQueue") && (au = e.activeQueue), t("pendingQueueRoute") && (ou = e.pendingQueueRoute), t("presentedItem") && (su = e.presentedItem), t("followDetailReturnPath") && (cu = e.followDetailReturnPath), t("configurationRequestedSection") && (lu = e.configurationRequestedSection), t("pageOpens") && (fu = e.pageOpens), t("queueOpens") && (pu = e.queueOpens), t("entityJavLayout") && (mu = e.entityJavLayout), t("followDiscoverySeed") && (hu = e.followDiscoverySeed), t("followRevision") && (gu = e.followRevision), t("followScrollY") && (_u = e.followScrollY), t("playlistsRevision") && (vu = e.playlistsRevision), t("runtimeConfigurable") && (uu = e.runtimeConfigurable), t("cameFromSetup") && (du = e.cameFromSetup), Su();+ t("state") && (W = e.state), t("barsContext") && (Kl = e.barsContext), t("detailReturnBarsContext") && (ql = e.detailReturnBarsContext), t("selectMode") && (Xl = e.selectMode), t("lastSelectedId") && (Zl = e.lastSelectedId), t("followLastSelectedId") && (Ql = e.followLastSelectedId), t("selectSurface") && ($l = e.selectSurface), t("detailReturnPath") && (eu = e.detailReturnPath), t("detailOriginAnchor") && (tu = e.detailOriginAnchor), t("detailOriginAbove") && (nu = e.detailOriginAbove), t("detailReturnNeedsRestore") && (ru = e.detailReturnNeedsRestore), t("activeQueue") && (iu = e.activeQueue), t("pendingQueueRoute") && (au = e.pendingQueueRoute), t("presentedItem") && (ou = e.presentedItem), t("followDetailReturnPath") && (su = e.followDetailReturnPath), t("configurationRequestedSection") && (cu = e.configurationRequestedSection), t("pageOpens") && (du = e.pageOpens), t("queueOpens") && (fu = e.queueOpens), t("entityJavLayout") && (pu = e.entityJavLayout), t("followDiscoverySeed") && (mu = e.followDiscoverySeed), t("followRevision") && (hu = e.followRevision), t("followScrollY") && (gu = e.followScrollY), t("playlistsRevision") && (_u = e.playlistsRevision), t("runtimeConfigurable") && (lu = e.runtimeConfigurable), t("cameFromSetup") && (uu = e.cameFromSetup), xu();}-function Su() {- bu += 1;- for (let e of [...yu]) e();+function xu() {+ yu += 1;+ for (let e of [...vu]) e();}-function Cu(e) {- return yu.add(e), () => {- yu.delete(e);+function Su(e) {+ return vu.add(e), () => {+ vu.delete(e);};}// node_modules/react-router/dist/production/lib/router/url.js-var wu = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, Tu = /^[\\/]{2}/;-function Eu(e, t) {+var Cu = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, wu = /^[\\/]{2}/;+function Tu(e, t) {return t + e.replace(/\\/g, "/");}// node_modules/react-router/dist/production/lib/router/history.js-var Du = "popstate";-function Ou(e) {+var Eu = "popstate";+function Du(e) {return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;}-function ku(e = {}) {+function Ou(e = {}) {function t(e, t) {let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;- return Pu("", {+ return Nu("", {pathname: r,search: i,hash: a@@ -14327,14 +14327,14 @@ function ku(e = {}) {} : void 0);}function n(e, t) {- return typeof t == "string" ? t : Fu(t);+ return typeof t == "string" ? t : Pu(t);}- return Lu(t, n, null, e);+ return Iu(t, n, null, e);}-function Au(e, t) {+function ku(e, t) {if (e === !1 || e == null) throw Error(t);}-function ju(e, t) {+function Au(e, t) {if (!e) {typeof console < "u" && console.warn(t);try {@@ -14342,10 +14342,10 @@ function ju(e, t) {} catch {}}}-function Mu() {+function ju() {return Math.random().toString(36).substring(2, 10);}-function Nu(e, t) {+function Mu(e, t) {return {usr: e.state,key: e.key,@@ -14357,21 +14357,21 @@ function Nu(e, t) {} : void 0};}-function Pu(e, t, n = null, r, i) {+function Nu(e, t, n = null, r, i) {return {pathname: typeof e == "string" ? e : e.pathname,search: "",hash: "",- ...typeof t == "string" ? Iu(t) : t,+ ...typeof t == "string" ? Fu(t) : t,state: n,- key: t && t.key || r || Mu(),+ key: t && t.key || r || ju(),mask: i};}-function Fu({ pathname: e = "/", search: t = "", hash: n = "" }) {+function Pu({ 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 Iu(e) {+function Fu(e) {let t = {};if (e) {let n = e.indexOf("#");@@ -14381,7 +14381,7 @@ function Iu(e) {}return t;}-function Lu(e, t, n, r = {}) {+function Iu(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,@@ -14401,9 +14401,9 @@ function Lu(e, t, n, r = {}) {}function f(e, t) {s = "PUSH";- let r = Ou(e) ? e : Pu(h.location, e, t);+ let r = Du(e) ? e : Nu(h.location, e, t);n && n(r, e), l = u() + 1;- let d = Nu(r, l), f = h.createHref(r.mask || r);+ let d = Mu(r, l), f = h.createHref(r.mask || r);try {o.pushState(d, "", f);} catch (e) {@@ -14418,9 +14418,9 @@ function Lu(e, t, n, r = {}) {}function p(e, t) {s = "REPLACE";- let r = Ou(e) ? e : Pu(h.location, e, t);+ let r = Du(e) ? e : Nu(h.location, e, t);n && n(r, e), l = u();- let i = Nu(r, l), d = h.createHref(r.mask || r);+ let i = Mu(r, l), d = h.createHref(r.mask || r);o.replaceState(i, "", d), a && c && c({action: s,location: h.location,@@ -14428,7 +14428,7 @@ function Lu(e, t, n, r = {}) {});}function m(e) {- return Ru(i, e);+ return Lu(i, e);}let h = {get action() {@@ -14439,8 +14439,8 @@ function Lu(e, t, n, r = {}) {},listen(e) {if (c) throw Error("A history only accepts one active listener");- return i.addEventListener(Du, d), c = e, () => {- i.removeEventListener(Du, d), c = null;+ return i.addEventListener(Eu, d), c = e, () => {+ i.removeEventListener(Eu, d), c = null;};},createHref(e) {@@ -14463,28 +14463,28 @@ function Lu(e, t, n, r = {}) {};return h;}-function Ru(e, t, n = !1) {+function Lu(e, t, n = !1) {let r = "http://localhost";- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), Au(r, "No window.location.(origin|href) available to create URL");- let i = typeof t == "string" ? t : Fu(t);- return i = i.replace(/ $/, "%20"), !n && Tu.test(i) && (i = r + i), new URL(i, r);+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), ku(r, "No window.location.(origin|href) available to create URL");+ let i = typeof t == "string" ? t : Pu(t);+ return i = i.replace(/ $/, "%20"), !n && wu.test(i) && (i = r + i), new URL(i, r);}// node_modules/react-router/dist/production/lib/router/utils.js-function zu(e, t, n = "/") {- return Bu(e, t, n, !1);+function Ru(e, t, n = "/") {+ return zu(e, t, n, !1);}-function Bu(e, t, n, r, i) {- let a = sd((typeof t == "string" ? Iu(t) : t).pathname || "/", n);+function zu(e, t, n, r, i) {+ let a = od((typeof t == "string" ? Fu(t) : t).pathname || "/", n);if (a == null) return null;- let o = i ?? Vu(e), s = null, c = od(a);- for (let e = 0; s == null && e < o.length; ++e) s = nd(o[e], c, r);+ let o = i ?? Bu(e), s = null, c = ad(a);+ for (let e = 0; s == null && e < o.length; ++e) s = td(o[e], c, r);return s;}-function Vu(e) {- let t = Hu(e);- return Wu(t), t;+function Bu(e) {+ let t = Vu(e);+ return Uu(t), t;}-function Hu(e, t = [], n = [], r = "", i = !1) {+function Vu(e, t = [], n = [], r = "", i = !1) {let a = (e, a, o = i, s) => {let c = {relativePath: s === void 0 ? e.path || "" : s,@@ -14494,14 +14494,14 @@ function Hu(e, t = [], n = [], r = "", i = !1) {};if (c.relativePath.startsWith("/")) {if (!c.relativePath.startsWith(r) && o) return;- Au(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);+ ku(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 = hd([r, c.relativePath]), u = n.concat(c);- e.children && e.children.length > 0 && (Au(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), Hu(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({+ let l = md([r, c.relativePath]), u = n.concat(c);+ e.children && e.children.length > 0 && (ku(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), Vu(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({path: l,- score: ed(l, e.index),+ score: $u(l, e.index),routesMeta: u.map((e, t) => {- let [n, r] = ad(e.relativePath, e.caseSensitive, t === u.length - 1);+ let [n, r] = id(e.relativePath, e.caseSensitive, t === u.length - 1);return {...e,matcher: n,@@ -14512,68 +14512,68 @@ function Hu(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 Uu(e.path)) a(e, t, !0, n);+ else for (let n of Hu(e.path)) a(e, t, !0, n);}), t;}-function Uu(e) {+function Hu(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 = Uu(r.join("/")), s = [];+ let o = Hu(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 Wu(e) {- e.sort((e, t) => e.score === t.score ? td(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);+function Uu(e) {+ e.sort((e, t) => e.score === t.score ? ed(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);}-var Gu = /^:[\w-]+$/, Ku = /^:[\w-]+/, qu = 3.5, Ju = 3, Yu = 2, Xu = 1, Zu = 10, Qu = -2, $u = (e) => e === "*";-function ed(e, t) {+var Wu = /^:[\w-]+$/, Gu = /^:[\w-]+/, Ku = 3.5, qu = 3, Ju = 2, Yu = 1, Xu = 10, Zu = -2, Qu = (e) => e === "*";+function $u(e, t) {let n = e.split("/"), r = n.length;- return n.some($u) && (r += Qu), t && (r += Yu), n.filter((e) => !$u(e)).reduce((e, t) => e + (Gu.test(t) ? Ju : Ku.test(t) ? qu : t === "" ? Xu : Zu), r);+ return n.some(Qu) && (r += Zu), t && (r += Ju), n.filter((e) => !Qu(e)).reduce((e, t) => e + (Wu.test(t) ? qu : Gu.test(t) ? Ku : t === "" ? Yu : Xu), r);}-function td(e, t) {+function ed(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 nd(e, t, n = !1) {+function td(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 ? id(u, l, s.matcher, s.compiledParams) : rd(u, l), f = s.route;- if (!d && c && n && !r[r.length - 1].route.index && (d = rd({+ }, d = s.matcher && s.compiledParams ? rd(u, l, s.matcher, s.compiledParams) : nd(u, l), f = s.route;+ if (!d && c && n && !r[r.length - 1].route.index && (d = nd({path: s.relativePath,caseSensitive: s.caseSensitive,end: !1}, l)), !d) return null;Object.assign(i, d.params), o.push({params: i,- pathname: hd([a, d.pathname]),- pathnameBase: _d(hd([a, d.pathnameBase])),+ pathname: md([a, d.pathname]),+ pathnameBase: gd(md([a, d.pathnameBase])),route: f- }), d.pathnameBase !== "/" && (a = hd([a, d.pathnameBase]));+ }), d.pathnameBase !== "/" && (a = md([a, d.pathnameBase]));}return o;}-function rd(e, t) {+function nd(e, t) {typeof e == "string" && (e = {path: e,caseSensitive: !1,end: !0});- let [n, r] = ad(e.path, e.caseSensitive, e.end);- return id(e, t, n, r);+ let [n, r] = id(e.path, e.caseSensitive, e.end);+ return rd(e, t, n, r);}-function id(e, t, n, r) {+function rd(e, t, n, r) {let i = t.match(n);if (!i) return null;- let a = i[0], o = gd(a, 1), s = i.slice(1);+ let a = i[0], o = hd(a, 1), s = i.slice(1);return {params: r.reduce((e, { paramName: t, isOptional: n }, r) => {if (t === "*") {let e = s[r] || "";- o = gd(a.slice(0, a.length - e.length), 1);+ o = hd(a.slice(0, a.length - e.length), 1);}let i = s[r];return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;@@ -14583,8 +14583,8 @@ function id(e, t, n, r) {pattern: e};}-function ad(e, t = !1, n = !0) {- ju(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 id(e, t = !1, n = !0) {+ Au(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,@@ -14597,46 +14597,46 @@ function ad(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 od(e) {+function ad(e) {try {return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");} catch (t) {- return ju(!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 Au(!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 sd(e, t) {+function od(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 cd(e, t = "/") {- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? Iu(e) : e, a;- return n ? (n = md(n), a = n.startsWith("/") || n.startsWith("\\") ? ld(n.substring(1), "/") : ld(n, t)) : a = t, {+function sd(e, t = "/") {+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? Fu(e) : e, a;+ return n ? (n = pd(n), a = n.startsWith("/") || n.startsWith("\\") ? cd(n.substring(1), "/") : cd(n, t)) : a = t, {pathname: a,- search: vd(r),- hash: yd(i)+ search: _d(r),+ hash: vd(i)};}-function ld(e, t) {- let n = gd(t).split("/");+function cd(e, t) {+ let n = hd(t).split("/");return e.split("/").forEach((e) => {e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);}), n.length > 1 ? n.join("/") : "/";}-function ud(e, t, n, r) {+function ld(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 dd(e) {+function ud(e) {return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);}-function fd(e) {- let t = dd(e);+function dd(e) {+ let t = ud(e);return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);}-function pd(e, t, n, r = !1) {+function fd(e, t, n, r = !1) {let i;- typeof e == "string" ? i = Iu(e) : (i = { ...e }, Au(!i.pathname || !i.pathname.includes("?"), ud("?", "pathname", "search", i)), Au(!i.pathname || !i.pathname.includes("#"), ud("#", "pathname", "hash", i)), Au(!i.search || !i.search.includes("#"), ud("#", "search", "hash", i)));+ typeof e == "string" ? i = Fu(e) : (i = { ...e }, ku(!i.pathname || !i.pathname.includes("?"), ld("?", "pathname", "search", i)), ku(!i.pathname || !i.pathname.includes("#"), ld("#", "pathname", "hash", i)), ku(!i.search || !i.search.includes("#"), ld("#", "search", "hash", i)));let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;if (o == null) s = n;else {@@ -14648,16 +14648,16 @@ function pd(e, t, n, r = !1) {}s = e >= 0 ? t[e] : "/";}- let c = cd(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");+ let c = sd(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;}-var md = (e) => e.replace(/[\\/]{2,}/g, "/"), hd = (e) => md(e.join("/"));-function gd(e, t = 0) {+var pd = (e) => e.replace(/[\\/]{2,}/g, "/"), md = (e) => pd(e.join("/"));+function hd(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 _d = (e) => gd(e).replace(/^\/*/, "/"), vd = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, yd = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, bd = class {+var gd = (e) => hd(e).replace(/^\/*/, "/"), _d = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, vd = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, yd = class {status;statusText;data;@@ -14667,26 +14667,26 @@ var _d = (e) => gd(e).replace(/^\/*/, "/"), vd = (e) => !e || e === "?" ? "" : ethis.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;}};-function xd(e) {+function bd(e) {return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;}-function Sd(e) {- return hd(e.map((e) => e.route.path).filter(Boolean)) || "/";+function xd(e) {+ return md(e.map((e) => e.route.path).filter(Boolean)) || "/";}-var Cd = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;-function wd(e, t) {+var Sd = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;+function Cd(e, t) {let n = e;- if (typeof n != "string" || !wu.test(n)) return {+ if (typeof n != "string" || !Cu.test(n)) return {absoluteURL: void 0,isExternal: !1,to: n};let r = n, i = !1;- if (Cd) try {- let e = new URL(window.location.href), r = Tu.test(n) ? new URL(Eu(n, e.protocol)) : new URL(n), a = sd(r.pathname, t);+ if (Sd) try {+ let e = new URL(window.location.href), r = wu.test(n) ? new URL(Tu(n, e.protocol)) : new URL(n), a = od(r.pathname, t);r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;} catch {- ju(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);+ Au(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);}return {absoluteURL: r,@@ -14695,44 +14695,44 @@ function wd(e, t) {};}// node_modules/react-router/dist/production/lib/router/navigation.js-var Td = new URL("http://localhost");-function Ed(e) {+var wd = new URL("http://localhost");+function Td(e) {if (e.createURL) return e.createURL("/");try {- return new URL(e.createHref("/"), Td);+ return new URL(e.createHref("/"), wd);} catch {- return Td;+ return wd;}}-function Dd(e, t) {+function Ed(e, t) {return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);}-function Od(e, t) {+function Dd(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 kd(e, t, n, r) {+function Od(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 && !Dd(i, n), s = !Dd(a, n);+ let a = new URL(t, n), o = i != null && !Ed(i, n), s = !Ed(a, n);if (r === "reject") {if (o || s) throw Error("External navigation is not allowed");- } else if (s && (i == null || !Od(e, i) || !Dd(i, a))) throw Error("External navigation is not allowed");+ } else if (s && (i == null || !Dd(e, i) || !Ed(i, a))) throw Error("External navigation is not allowed");}// node_modules/react-router/dist/production/lib/router/router.js-var Ad = [+var kd = ["POST","PUT","PATCH","DELETE"];+new Set(kd);+var Ad = ["GET", ...kd];new Set(Ad);-var jd = ["GET", ...Ad];-new Set(jd);-var Md = [+var jd = ["about:","blob:","chrome:",@@ -14744,82 +14744,82 @@ var Md = ["filesystem:","javascript:"];-function Nd(e) {+function Md(e) {try {- return Md.includes(new URL(e).protocol);+ return jd.includes(new URL(e).protocol);} catch {return !1;}}// node_modules/react-router/dist/production/lib/context.js+var Nd = F.createContext(null);+Nd.displayName = "DataRouter";var Pd = F.createContext(null);-Pd.displayName = "DataRouter";+Pd.displayName = "DataRouterState";var Fd = F.createContext(null);-Fd.displayName = "DataRouterState";+Fd.displayName = "DataRouterData";var Id = F.createContext(null);-Id.displayName = "DataRouterData";-var Ld = F.createContext(null);-Ld.displayName = "DataRouterNavigation";-var Rd = F.createContext(!1), zd = F.createContext({ isTransitioning: !1 });-zd.displayName = "ViewTransition";+Id.displayName = "DataRouterNavigation";+var Ld = F.createContext(!1), Rd = F.createContext({ isTransitioning: !1 });+Rd.displayName = "ViewTransition";+var zd = F.createContext(null);+zd.displayName = "Fetchers";var Bd = F.createContext(null);-Bd.displayName = "Fetchers";+Bd.displayName = "Await";var Vd = F.createContext(null);-Vd.displayName = "Await";+Vd.displayName = "Navigation";var Hd = F.createContext(null);-Hd.displayName = "Navigation";-var Ud = F.createContext(null);-Ud.displayName = "Location";-var Wd = F.createContext({+Hd.displayName = "Location";+var Ud = F.createContext({outlet: null,matches: [],isDataRoute: !1});-Wd.displayName = "Route";-var Gd = F.createContext(!1);-Gd.displayName = "IsDataRoute";-var Kd = F.createContext(void 0);-Kd.displayName = "RouteId";-var qd = F.createContext(null);-qd.displayName = "RouteError";+Ud.displayName = "Route";+var Wd = F.createContext(!1);+Wd.displayName = "IsDataRoute";+var Gd = F.createContext(void 0);+Gd.displayName = "RouteId";+var Kd = F.createContext(null);+Kd.displayName = "RouteError";// node_modules/react-router/dist/production/lib/errors.js-var Jd = "REACT_ROUTER_ERROR", Yd = "REDIRECT", Xd = "ROUTE_ERROR_RESPONSE";-function Zd(e) {- if (e.startsWith(`${Jd}:${Yd}:{`)) try {+var qd = "REACT_ROUTER_ERROR", Jd = "REDIRECT", Yd = "ROUTE_ERROR_RESPONSE";+function Xd(e) {+ if (e.startsWith(`${qd}:${Jd}:{`)) 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 Qd(e) {- if (e.startsWith(`${Jd}:${Xd}:{`)) try {+function Zd(e) {+ if (e.startsWith(`${qd}:${Yd}:{`)) try {let t = JSON.parse(e.slice(40));- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new bd(t.status, t.statusText, t.data);+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new yd(t.status, t.statusText, t.data);} catch {}}// node_modules/react-router/dist/production/lib/hooks.js+function Qd() {+ return F.useContext(Hd) != null;+}function $d() {- return F.useContext(Ud) != null;+ return ku(Qd(), "useLocation() may be used only in the context of a <Router> component."), F.useContext(Hd).location;}-function ef() {- return Au($d(), "useLocation() may be used only in the context of a <Router> component."), F.useContext(Ud).location;+var ef = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";+function tf() {+ return F.useContext(Wd) ? vf() : nf();}-var tf = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";function nf() {- return F.useContext(Gd) ? yf() : rf();-}-function rf() {- Au($d(), "useNavigate() may be used only in the context of a <Router> component.");- let e = F.useContext(Pd), { basename: t, navigator: n } = F.useContext(Hd), { matches: r } = F.useContext(Wd), { pathname: i } = ef(), a = JSON.stringify(fd(r)), o = F.useRef(!1);+ ku(Qd(), "useNavigate() may be used only in the context of a <Router> component.");+ let e = F.useContext(Nd), { basename: t, navigator: n } = F.useContext(Vd), { matches: r } = F.useContext(Ud), { pathname: i } = $d(), a = JSON.stringify(dd(r)), o = F.useRef(!1);return F.useLayoutEffect(() => {o.current = !0;}), F.useCallback((r, s = {}) => {- if (ju(o.current, tf), !o.current) return;+ if (Au(o.current, ef), !o.current) return;if (typeof r == "number") {n.go(r);return;}- let c = pd(r, JSON.parse(a), i, s.relative === "path");- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : hd([t, c.pathname])), kd(typeof r == "string" ? r : Fu(r), n.createHref(c), Ed(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);+ let c = fd(r, JSON.parse(a), i, s.relative === "path");+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : md([t, c.pathname])), Od(typeof r == "string" ? r : Pu(r), n.createHref(c), Td(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);}, [t,n,@@ -14829,19 +14829,19 @@ function rf() {]);}F.createContext(null);-function af(e, t) {- return of(e, t);+function rf(e, t) {+ return af(e, t);}-function of(e, t, n) {- Au($d(), "useRoutes() may be used only in the context of a <Router> component.");- let { navigator: r } = F.useContext(Hd), { matches: i } = F.useContext(Wd), a = i[i.length - 1], o = a ? a.params : {};+function af(e, t, n) {+ ku(Qd(), "useRoutes() may be used only in the context of a <Router> component.");+ let { navigator: r } = F.useContext(Vd), { matches: i } = F.useContext(Ud), a = i[i.length - 1], o = a ? a.params : {};a && a.pathname;let s = a ? a.pathnameBase : "/";a && a.route;- let c = ef(), l;+ let c = $d(), l;if (t) {- let e = typeof t == "string" ? Iu(t) : t;- Au(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" ? Fu(t) : t;+ ku(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 !== "/") {@@ -14849,13 +14849,13 @@ function of(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) : zu(e, { pathname: d });- let p = pf(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) : Ru(e, { pathname: d });+ let p = ff(f && f.map((e) => Object.assign({}, e, {params: Object.assign({}, o, e.params),- pathname: hd([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),- pathnameBase: e.pathnameBase === "/" ? s : hd([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])+ pathname: md([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),+ pathnameBase: e.pathnameBase === "/" ? s : md([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__ */ F.createElement(Ud.Provider, { value: {+ return t && p ? /* @__PURE__ */ F.createElement(Hd.Provider, { value: {location: {pathname: "/",search: "",@@ -14868,14 +14868,14 @@ function of(e, t, n) {navigationType: "POP"} }, p) : p;}-function sf() {- let e = vf(), t = xd(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;+function of() {+ let e = _f(), t = bd(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;return /* @__PURE__ */ F.createElement(F.Fragment, null, /* @__PURE__ */ F.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ F.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ F.createElement("pre", { style: {padding: "0.5rem",backgroundColor: "rgba(200,200,200, 0.5)"} }, n) : null, null);}-var cf = /* @__PURE__ */ F.createElement(sf, null), lf = class extends F.Component {+var sf = /* @__PURE__ */ F.createElement(of, null), cf = class extends F.Component {constructor(e) {super(e), this.state = {location: e.location,@@ -14883,7 +14883,7 @@ var cf = /* @__PURE__ */ F.createElement(sf, null), lf = class extends F.Componeerror: e.error};}- static contextType = Rd;+ static contextType = Ld;static getDerivedStateFromError(e) {return { error: e };}@@ -14904,30 +14904,30 @@ var cf = /* @__PURE__ */ F.createElement(sf, null), lf = class extends F.Componerender() {let e = this.state.error;if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {- let t = Qd(e.digest);+ let t = Zd(e.digest);t && (e = t);}- let t = e === void 0 ? this.props.children : /* @__PURE__ */ F.createElement(Wd.Provider, { value: this.props.routeContext }, /* @__PURE__ */ F.createElement(Gd.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ F.createElement(Kd.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ F.createElement(qd.Provider, {+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ F.createElement(Ud.Provider, { value: this.props.routeContext }, /* @__PURE__ */ F.createElement(Wd.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ F.createElement(Gd.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ F.createElement(Kd.Provider, {value: e,children: this.props.component}))));- return this.context ? /* @__PURE__ */ F.createElement(df, { error: e }, t) : t;+ return this.context ? /* @__PURE__ */ F.createElement(uf, { error: e }, t) : t;}-}, uf = /* @__PURE__ */ new WeakMap();-function df({ children: e, error: t }) {- let { basename: n, navigator: r } = F.useContext(Hd);+}, lf = /* @__PURE__ */ new WeakMap();+function uf({ children: e, error: t }) {+ let { basename: n, navigator: r } = F.useContext(Vd);if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {- let e = Zd(t.digest);+ let e = Xd(t.digest);if (e) {- let i = uf.get(t);+ let i = lf.get(t);if (i) throw i;- let a = wd(e.location, n), o = a.absoluteURL || a.to;- if (kd(e.location, o, Ed(r), "allow-explicit"), Nd(o)) throw Error("Invalid redirect location");- if (Cd && !uf.get(t)) {+ let a = Cd(e.location, n), o = a.absoluteURL || a.to;+ if (Od(e.location, o, Td(r), "allow-explicit"), Md(o)) throw Error("Invalid redirect location");+ if (Sd && !lf.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 uf.set(t, n), n;+ throw lf.set(t, n), n;}}return /* @__PURE__ */ F.createElement("meta", {@@ -14938,11 +14938,11 @@ function df({ children: e, error: t }) {}return e;}-function ff({ routeContext: e, match: t, children: n }) {- let r = F.useContext(Pd);- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ F.createElement(Wd.Provider, { value: e }, /* @__PURE__ */ F.createElement(Gd.Provider, { value: e.isDataRoute }, /* @__PURE__ */ F.createElement(Kd.Provider, { value: t.route.id }, n)));+function df({ routeContext: e, match: t, children: n }) {+ let r = F.useContext(Nd);+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ F.createElement(Ud.Provider, { value: e }, /* @__PURE__ */ F.createElement(Wd.Provider, { value: e.isDataRoute }, /* @__PURE__ */ F.createElement(Gd.Provider, { value: t.route.id }, n)));}-function pf(e, t = [], n) {+function ff(e, t = [], n) {let r = n?.state;if (e == null) {if (!r) return null;@@ -14953,7 +14953,7 @@ function pf(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);- Au(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));+ ku(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) {@@ -14973,16 +14973,16 @@ function pf(e, t = [], n) {c(e, {location: r.location,params: r.matches?.[0]?.params ?? {},- pattern: Sd(r.matches),+ pattern: xd(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 || cf, o && (s < 0 && c === 0 ? (xf("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 || sf, o && (s < 0 && c === 0 ? (bf("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__ */ F.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ F.createElement(ff, {+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ F.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ F.createElement(df, {match: n,routeContext: {outlet: e,@@ -14992,7 +14992,7 @@ function pf(e, t = [], n) {children: t});};- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ F.createElement(lf, {+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ F.createElement(cf, {location: r.location,revalidation: r.revalidation,component: f,@@ -15007,50 +15007,50 @@ function pf(e, t = [], n) {}) : h();}, null);}-function mf(e) {+function pf(e) {return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;}+function mf(e) {+ let t = F.useContext(Nd);+ return ku(t, pf(e)), t;+}function hf(e) {- let t = F.useContext(Pd);- return Au(t, mf(e)), t;+ let t = F.useContext(Fd);+ return ku(t, pf(e)), t;}function gf(e) {- let t = F.useContext(Id);- return Au(t, mf(e)), t;+ let t = F.useContext(Gd);+ return ku(t, `${e} can only be used on routes that contain a unique "id"`), t;}-function _f(e) {- let t = F.useContext(Kd);- return Au(t, `${e} can only be used on routes that contain a unique "id"`), t;-}-function vf() {- let e = F.useContext(qd), t = gf("useRouteError"), n = _f("useRouteError");+function _f() {+ let e = F.useContext(Kd), t = hf("useRouteError"), n = gf("useRouteError");return e === void 0 ? t.errors?.[n] : e;}-function yf() {- let { router: e } = hf("useNavigate"), t = _f("useNavigate"), n = F.useRef(!1);+function vf() {+ let { router: e } = mf("useNavigate"), t = gf("useNavigate"), n = F.useRef(!1);return F.useLayoutEffect(() => {n.current = !0;}), F.useCallback(async (r, i = {}) => {- ju(n.current, tf), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {+ Au(n.current, ef), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {fromRouteId: t,...i}));}, [e, t]);}-var bf = {};-function xf(e, t, n) {- !t && !bf[e] && (bf[e] = !0, ju(!1, n));+var yf = {};+function bf(e, t, n) {+ !t && !yf[e] && (yf[e] = !0, Au(!1, n));}// node_modules/react-router/dist/production/lib/dom/ssr/components.js-var Sf = F.createContext(void 0);-Sf.displayName = "FrameworkContext", F.memo(Cf);-function Cf({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {- let a = F.useContext(Pd);- Au(a, "You must render this element inside a <DataRouterContext.Provider> element");- let o = F.useContext(Sf)?.routeDiscoveryRuntime;+var xf = F.createContext(void 0);+xf.displayName = "FrameworkContext", F.memo(Sf);+function Sf({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {+ let a = F.useContext(Nd);+ ku(a, "You must render this element inside a <DataRouterContext.Provider> element");+ let o = F.useContext(xf)?.routeDiscoveryRuntime;return F.useEffect(() => {n.initialized && o?.markReady();- }, [n.initialized, o]), of(e, void 0, {+ }, [n.initialized, o]), af(e, void 0, {router: a.router,manifest: t,state: n,@@ -15058,11 +15058,11 @@ function Cf({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {onError: i});}-function wf(e) {- Au(!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 Cf(e) {+ ku(!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 Tf({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {- Au(!$d(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");+function wf({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {+ ku(!Qd(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s = e.replace(/^\/*/, "/"), c = F.useMemo(() => ({basename: s,navigator: i,@@ -15075,9 +15075,9 @@ function Tf({ basename: e = "/", children: t = null, location: n, navigationTypea,o]);- typeof n == "string" && (n = Iu(n));+ typeof n == "string" && (n = Fu(n));let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = F.useMemo(() => {- let e = sd(l, s);+ let e = od(l, s);return e == null ? null : {location: {pathname: e,@@ -15099,27 +15099,27 @@ function Tf({ basename: e = "/", children: t = null, location: n, navigationTyper,m]);- return ju(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__ */ F.createElement(Hd.Provider, { value: c }, /* @__PURE__ */ F.createElement(Ud.Provider, {+ return Au(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__ */ F.createElement(Vd.Provider, { value: c }, /* @__PURE__ */ F.createElement(Hd.Provider, {children: t,value: h}));}-function Ef({ children: e, location: t }) {- return af(Df(e), t);+function Tf({ children: e, location: t }) {+ return rf(Ef(e), t);}F.Component;-function Df(e, t = []) {+function Ef(e, t = []) {let n = [];return F.Children.forEach(e, (e, r) => {if (!F.isValidElement(e)) return;let i = [...t, r];if (e.type === F.Fragment) {- n.push.apply(n, Df(e.props.children, i));+ n.push.apply(n, Ef(e.props.children, i));return;}- Au(e.type === wf, `[${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>`);+ ku(e.type === Cf, `[${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;- Au(!a.index || !a.children, "An index route cannot have child routes.");+ ku(!a.index || !a.children, "An index route cannot have child routes.");let o = {id: a.id || i.join("-"),caseSensitive: a.caseSensitive,@@ -15138,17 +15138,17 @@ function Df(e, t = []) {handle: a.handle,lazy: a.lazy};- a.children && (o.children = Df(a.children, i)), n.push(o);+ a.children && (o.children = Ef(a.children, i)), n.push(o);}), n;}// src/history/settings-route.ts-var Of = {+var Df = {appearance: "外观与导航",playback: "浏览与播放",jav: "JAV 与新作",search: "搜索与推荐",content: "内容显示"-}, kf = {+}, Of = {library: "媒体库与入库",subscriptions: "来源与订阅",downloads: "下载渠道",@@ -15156,37 +15156,37 @@ var Of = {maintenance: "应用与维护",diagnostics: "系统诊断"};-function Af(e) {- return kf[e.split("/")[2]] || kf.library;+function kf(e) {+ return Of[e.split("/")[2]] || Of.library;}-var jf = ["/settings", ...Object.keys(Of).map((e) => `/settings/${e}`)], Mf = (e) => jf.includes(e);-function Nf(e) {- return Of[e.split("/")[2]] || Of.appearance;+var Af = ["/settings", ...Object.keys(Df).map((e) => `/settings/${e}`)], jf = (e) => Af.includes(e);+function Mf(e) {+ return Df[e.split("/")[2]] || Df.appearance;}-function Pf(e) {+function Nf(e) {return `/settings/${Object.entries({- ...Of,- ...kf+ ...Df,+ ...Of}).find(([, t]) => t === e)?.[0] || "appearance"}`;}-var Ff = (e) => {+var Pf = (e) => {let t = e?.settingsBackground;return t && typeof t.pathname == "string" ? t : null;-}, If = [+}, Ff = ["/assets/:id","/posts/:id","/works/:code"-], Lf = [+], If = ["mix","parts","editions","playlist"];-function Rf(e, t = "") {+function Lf(e, t = "") {let n = new URL(e, "https://peach.invalid");e = n.pathname, t ||= n.search;- for (let n of If) {- let r = rd(n, e);+ for (let n of Ff) {+ let r = nd(n, e);if (!r) continue;if (n === "/works/:code") {let e = r.params.code || "";@@ -15203,7 +15203,7 @@ function Rf(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 = Lf.filter((t) => e.has(t));+ let e = new URLSearchParams(t), r = If.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 {@@ -15227,8 +15227,8 @@ function Rf(e, t = "") {}return null;}-var zf = (e, t = "") => Rf(e, t)?.target ?? null, Bf = (e) => Mf(e.split(/[?#]/)[0]) || If.some((t) => rd(t, e.split(/[?#]/)[0]) !== null);-function Vf(e) {+var Rf = (e, t = "") => Lf(e, t)?.target ?? null, zf = (e) => jf(e.split(/[?#]/)[0]) || Ff.some((t) => nd(t, e.split(/[?#]/)[0]) !== null);+function Bf(e) {let t = e?.backgroundLocation;return typeof t?.pathname == "string" ? {pathname: t.pathname,@@ -15236,34 +15236,34 @@ function Vf(e) {...typeof t.hash == "string" && t.hash ? { hash: t.hash } : {}} : null;}-var Hf = null, Uf = null;-function Wf() {+var Vf = null, Hf = null;+function Uf() {let { pathname: e, search: t, hash: n } = window.location;- Bf(e) || (Hf = {+ zf(e) || (Vf = {pathname: e,search: t,...n ? { hash: n } : {}});}-function Gf() {- Hf = null, Uf = null;+function Wf() {+ Vf = null, Hf = null;}-function Kf(e) {- let t = Vf(e);- t && (Hf = t, Uf = t.pathname + t.search + (t.hash || ""));+function Gf(e) {+ let t = Bf(e);+ t && (Vf = t, Hf = t.pathname + t.search + (t.hash || ""));}-function qf() {- let e = Uf;- return Uf = null, e;+function Kf() {+ let e = Hf;+ return Hf = null, e;}-function Jf(e) {- return Hf ? {- backgroundLocation: { ...Hf },+function qf(e) {+ return Vf ? {+ backgroundLocation: { ...Vf },overlay: e} : void 0;}// src/cleanup-tools.ts-var Yf = [+var Jf = [{key: "organize",path: "/data-cleanup/organize",@@ -15306,7 +15306,7 @@ var Yf = [icon: "trash",description: "按女优勾选并永久删除关联影片,执行前确认范围与影响。"}-], Xf = Object.fromEntries(Yf.map((e) => [e.path, e.title])), Zf = {+], Yf = Object.fromEntries(Jf.map((e) => [e.path, e.title])), Xf = {"#organize": "/data-cleanup/organize","#mediaRepair": "/data-cleanup/media-repair","#link-manager": "/data-cleanup/links",@@ -15315,7 +15315,7 @@ var Yf = ["#batch-delete": "/data-cleanup/batch-delete"};// src/history/canonical-path.ts-function Qf(e) {+function Zf(e) {let t = new URL(e, "https://peach.invalid");for (let [e, n] of [[/^\/item\/(\d+)$/, "/assets/"],@@ -15336,19 +15336,19 @@ function Qf(e) {"/configuration": "/settings/library","/diagnostics": "/settings/diagnostics"}[t.pathname] || t.pathname;- let r = t.pathname === "/data-cleanup" ? Zf[t.hash] : void 0;+ let r = t.pathname === "/data-cleanup" ? Xf[t.hash] : void 0;return r && (t.pathname = r, t.hash = ""), t.pathname + t.search + t.hash;}-var $f = {+var Qf = {"/settings": {title: "设置",refresh: "skip"},- ...Object.fromEntries(Object.entries(Of).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(Df).map(([e, t]) => [`/settings/${e}`, {title: t,refresh: "skip"}])),- ...Object.fromEntries(Object.entries(kf).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(Of).map(([e, t]) => [`/settings/${e}`, {title: t,section: "configuration",refresh: "reopen"@@ -15376,7 +15376,7 @@ var $f = {section: "cleanup",title: "数据管理"},- ...Object.fromEntries(Object.entries(Xf).map(([e, t]) => [e, {+ ...Object.fromEntries(Object.entries(Yf).map(([e, t]) => [e, {section: "cleanup",title: t,refresh: "reopen"@@ -15489,13 +15489,13 @@ var $f = {title: "播放墙"}};-function ep(e) {- if (Object.hasOwn($f, e)) return $f[e];- let t = Rf(e);- if (t) return $f[t.path];+function $f(e) {+ if (Object.hasOwn(Qf, e)) return Qf[e];+ let t = Lf(e);+ if (t) return Qf[t.path];let [n, ...r] = e.split("/").filter(Boolean);if (!n) return null;- if (!r.length) return Object.hasOwn($f, `/${n}`) ? $f[`/${n}`] : null;+ if (!r.length) return Object.hasOwn(Qf, `/${n}`) ? Qf[`/${n}`] : null;let i = `/${n}/*`, a = {performers: "performer",studios: "studio",@@ -15503,132 +15503,132 @@ function ep(e) {agencies: "agency",series: "series",tags: "tag"- }, o = /^\d+$/.test(r.join("/")) ? ln(a[n] || "", Number(r[0])) : r.join("/");- return Object.hasOwn($f, i) ? {- ...$f[i],- title: o ? tn(a[n] || "", o) : "资料"+ }, o = /^\d+$/.test(r.join("/")) ? cn(a[n] || "", Number(r[0])) : r.join("/");+ return Object.hasOwn(Qf, i) ? {+ ...Qf[i],+ title: o ? en(a[n] || "", o) : "资料"} : null;}// src/history/managed.ts-var tp = () => {}, np = new Promise((e) => {- tp = e;+var ep = () => {}, tp = new Promise((e) => {+ ep = e;});-np.catch(() => {});-var rp = null, ip = /* @__PURE__ */ new Map(), ap = /* @__PURE__ */ new Map(), op = 0, sp = /* @__PURE__ */ new Set();+tp.catch(() => {});+var np = null, rp = /* @__PURE__ */ new Map(), ip = /* @__PURE__ */ new Map(), ap = 0, op = /* @__PURE__ */ new Set();+function sp(e) {+ ep(e);+}function cp(e) {- tp(e);+ return rp.get(e) ?? null;}function lp(e) {- return ip.get(e) ?? null;+ return !!e && (rp.has(e) || ip.has(e));}-function up(e) {- return !!e && (ip.has(e) || ap.has(e));-}-var dp = () => [...ip.values()];-function fp(e) {- return sp.add(e), () => {- sp.delete(e);+var up = () => [...rp.values()];+function dp(e) {+ return op.add(e), () => {+ op.delete(e);};}-function pp(e) {- let t = dp();- for (let n of [...sp]) n(t, e);+function fp(e) {+ let t = up();+ for (let n of [...op]) n(t, e);}-async function mp(e, t, n) {+async function pp(e, t, n) {let { container: r } = n;- if (ap.get(r)?.controller.abort(), ap.delete(r), !n.isCurrent()) return !1;- let i = ip.get(r);- if (n.reuse && i?.host.isConnected) return ip.set(r, {+ if (ip.get(r)?.controller.abort(), ip.delete(r), !n.isCurrent()) return !1;+ let i = rp.get(r);+ if (n.reuse && i?.host.isConnected) return rp.set(r, {...i,path: e,props: t- }), pp(!0), e.startsWith("/") && cm(`managed:${e}`, !0), !0;- op += 1;+ }), fp(!0), e.startsWith("/") && cm(`managed:${e}`, !0), !0;+ ap += 1;let a = {- revision: op,+ revision: ap,controller: new AbortController()};- ap.set(r, a);- let o = rp;- rp = null, o?.();- let s = await np;- if (ap.get(r) !== a) return !1;+ ip.set(r, a);+ let o = np;+ np = null, o?.();+ let s = await tp;+ if (ip.get(r) !== a) return !1;try {e.startsWith("/") && lm(`managed:${e}`) || await s(e, t, a.controller.signal);} catch {if (a.controller.signal.aborted) return !1;}- if (ap.get(r) !== a || (ap.delete(r), !n.isCurrent())) return !1;- n.beforePlace?.(), _p(r);- let c = n.place ? n.place(r) : hp(r);- return ip.set(r, {+ if (ip.get(r) !== a || (ip.delete(r), !n.isCurrent())) return !1;+ n.beforePlace?.(), gp(r);+ let c = n.place ? n.place(r) : mp(r);+ return rp.set(r, {path: e,props: t,revision: a.revision,container: r,host: c,resident: !!n.resident- }), pp(!0), e.startsWith("/") && cm(`managed:${e}`, !0), !0;+ }), fp(!0), e.startsWith("/") && cm(`managed:${e}`, !0), !0;}-function hp(e) {+function mp(e) {let t = e.ownerDocument.createElement("div");return t.className = "peach-react", e.replaceChildren(t), t;}-function gp(e, t) {- let n = e ? ip.get(e) : void 0;- n && (ip.set(n.container, {+function hp(e, t) {+ let n = e ? rp.get(e) : void 0;+ n && (rp.set(n.container, {...n,props: {...n.props,...t}- }), pp(!1));+ }), fp(!1));}-function _p(e, ...t) {+function gp(e, ...t) {let n = [];for (let r of /* @__PURE__ */ new Set([e, ...t])) {- let e = ap.get(r);- e && (e.controller.abort(), ap.delete(r));- let t = ip.get(r);- t && (ip.delete(r), n.push(t));+ let e = ip.get(r);+ e && (e.controller.abort(), ip.delete(r));+ let t = rp.get(r);+ t && (rp.delete(r), n.push(t));}if (n.length) {- pp(!0);+ fp(!0);for (let e of n) e.resident || e.host.remove();}}-function vp() {- let [e, ...t] = /* @__PURE__ */ new Set([...ip.keys(), ...ap.keys()]);- e && _p(e, ...t);+function _p() {+ let [e, ...t] = /* @__PURE__ */ new Set([...rp.keys(), ...ip.keys()]);+ e && gp(e, ...t);}-function yp(e, t) {- let n = ip.get(e);- n?.revision === t && (ip.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {- pp(!1);+function vp(e, t) {+ let n = rp.get(e);+ n?.revision === t && (rp.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {+ fp(!1);}));}// src/history/index.ts-var bp = ku({ v5Compat: !0 }), xp = 0, Sp = 0, Cp = {- action: bp.action,- location: bp.location,- seq: xp,- openEpoch: Sp,+var yp = Ou({ v5Compat: !0 }), bp = 0, xp = 0, Sp = {+ action: yp.action,+ location: yp.location,+ seq: bp,+ openEpoch: xp,claimed: !0-}, wp = /* @__PURE__ */ new Set(), Tp = !1, Ep = !0;-bp.listen(({ action: e, location: t }) => {- let n = t.pathname + t.search + t.hash, r = Qf(n);- r !== n && (window.history.replaceState(window.history.state, "", r), t = bp.location), xp += 1, Tp || (Sp += 1), e !== "REPLACE" && (Ep = !1), Cp = {+}, Cp = /* @__PURE__ */ new Set(), wp = !1, Tp = !0;+yp.listen(({ action: e, location: t }) => {+ let n = t.pathname + t.search + t.hash, r = Zf(n);+ r !== n && (window.history.replaceState(window.history.state, "", r), t = yp.location), bp += 1, wp || (xp += 1), e !== "REPLACE" && (Tp = !1), Sp = {action: e,location: t,- seq: xp,- openEpoch: Sp,- claimed: Tp+ seq: bp,+ openEpoch: xp,+ claimed: wp};- for (let e of [...wp]) e(Cp);+ for (let e of [...Cp]) e(Sp);});-function Dp(e) {- if (typeof e == "string") return Qf(new URL(e, window.location.href).href);- let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = Qf(t.href);+function Ep(e) {+ if (typeof e == "string") return Zf(new URL(e, window.location.href).href);+ let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = Zf(t.href);if (n === t.pathname + t.search + t.hash) return e;let r = new URL(n, window.location.origin);return {@@ -15638,38 +15638,38 @@ function Dp(e) {hash: r.hash};}-var W = {+var Dp = {get navigation() {- return Cp;+ return Sp;},listen(e) {- return wp.add(e), () => {- wp.delete(e);+ return Cp.add(e), () => {+ Cp.delete(e);};},- createHref: (e) => bp.createHref(e),- createURL: (e) => bp.createURL(e),- encodeLocation: (e) => bp.encodeLocation(e),- go: (e) => bp.go(e),- push: (e, t) => bp.push(Dp(e), t),- replace: (e, t) => bp.replace(Dp(e), t)+ createHref: (e) => yp.createHref(e),+ createURL: (e) => yp.createURL(e),+ encodeLocation: (e) => yp.encodeLocation(e),+ go: (e) => yp.go(e),+ push: (e, t) => yp.push(Ep(e), t),+ replace: (e, t) => yp.replace(Ep(e), t)};function Op(e, { replace: t = !1, state: n } = {}) {- let r = new URL(e, window.location.href), i = Qf(`${r.pathname}${r.search}${r.hash}`);- Tp = !0;+ let r = new URL(e, window.location.href), i = Zf(`${r.pathname}${r.search}${r.hash}`);+ wp = !0;try {- t ? bp.replace(i, n) : bp.push(i, n);+ t ? yp.replace(i, n) : yp.push(i, n);} finally {- Tp = !1;+ wp = !1;}}-var kp = () => Ep;+var kp = () => Tp;function Ap() {- if (Mf(Cp.location.pathname)) {- let e = Ep ? null : Ff(Cp.location.state);- return e ? Vf(e.state) || e : null;+ if (jf(Sp.location.pathname)) {+ let e = Tp ? null : Pf(Sp.location.state);+ return e ? Bf(e.state) || e : null;}- return Ep ? null : Vf(Cp.location.state);+ return Tp ? null : Bf(Sp.location.state);}// src/ui-kit/anchor-scroll.tsvar jp = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";@@ -15706,7 +15706,7 @@ function Jp() {}function Yp(e) {Kp && !qp && Wp !== void 0 && requestAnimationFrame(() => requestAnimationFrame(() => {- if (W.navigation.seq !== e || !Kp || qp || Wp === void 0) return;+ if (Dp.navigation.seq !== e || !Kp || qp || Wp === void 0) return;let t = document.documentElement;t.style.minHeight = Gp, t.style.overflowAnchor = Wp, t.removeAttribute("data-page-navigation-pending"), Gp = void 0, Wp = void 0;}));@@ -15722,7 +15722,7 @@ function Zp(e) {let t = parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop) || 0, n = parseFloat(getComputedStyle(e).scrollMarginTop) || 0, r = Math.max(0, Math.min(e.getBoundingClientRect().top + window.scrollY - t - n, document.documentElement.scrollHeight - window.innerHeight));qp = jp() === "smooth" && Math.abs(r - window.scrollY) > .5;}-var Qp = (e) => !Bf(e) && !Mf(e) && e !== "/immerse" && e !== "/wall", $p = (e) => {+var Qp = (e) => !zf(e) && !jf(e) && e !== "/immerse" && e !== "/wall", $p = (e) => {let t = new URLSearchParams(e.search);return `${e.pathname}:${t.get("jav") === "1"}:${t.get("orient") === "竖屏"}`;}, em = (e) => {@@ -15735,7 +15735,7 @@ function nm(e) {let t = new URLSearchParams(e.search);return [t.get("jav") === "1" ? "jav" : t.get("orient") === "竖屏" ? "shorts" : ""];}- let t = ep(e.pathname);+ let t = $f(e.pathname);return [...t?.nav ? [t.nav] : [], ...t?.section ? ["manage", t.section] : []];}function rm(e) {@@ -15755,9 +15755,9 @@ function om() {sm(), Hp = !0;}function sm() {- Up || (Up = !0, Ip = W.navigation, Lp = Ip.location, window.history.scrollRestoration = "manual", document.addEventListener("scrollend", (e) => {- e.target === document && (qp = !1, Yp(W.navigation.seq));- }), W.listen((e) => {+ Up || (Up = !0, Ip = Dp.navigation, Lp = Ip.location, window.history.scrollRestoration = "manual", document.addEventListener("scrollend", (e) => {+ e.target === document && (qp = !1, Yp(Dp.navigation.seq));+ }), Dp.listen((e) => {if (Lp = Ip.location, Rp = {left: window.scrollX,top: window.scrollY@@ -15795,14 +15795,14 @@ function lm(e) {}var um = () => (sm(), !!zp);function dm() {- sm(), Vp = W.navigation.seq, Bp === Vp && (Vp = -1, Xp({+ sm(), Vp = Dp.navigation.seq, Bp === Vp && (Vp = -1, Xp({top: 0,behavior: jp()}));}async function fm(e, t, { pending: n = !1 } = {}) {sm();- let r = W.navigation, i = r.seq, a = () => e() && W.navigation.seq === i;+ let r = Dp.navigation, i = r.seq, a = () => e() && Dp.navigation.seq === i;if (Qp(r.location.pathname) && a() && (im(), !(!n && zp && (await document.fonts?.ready, await new Promise((e) => requestAnimationFrame(() => e())), !a())))) {if (n || (Kp = !0), Bp === i) Yp(i);else if (!(n && zp)) {@@ -18732,77 +18732,77 @@ function Oy(e, t, n, r) {function ky(e, t, n, r, i) {return e -= t, e = ey(e, 1 / n, r), i !== void 0 && (e = ey(e, 1 / i, r)), e;}-function One(e, t = 0, n = 1, r = .5, i, a = e, o = e) {+function Ay(e, t = 0, n = 1, r = .5, i, a = e, o = e) {if (Eh.test(t) && (t = parseFloat(t), t = tg(o.min, o.max, t / 100) - o.min), typeof t != "number") return;let s = tg(a.min, a.max, r);e === a && (s -= t), e.min = ky(e.min, t, n, s, i), e.max = ky(e.max, t, n, s, i);}-function Ay(e, t, [n, r, i], a, o) {- One(e, t[n], t[r], t[i], t.scale, a, o);+function jy(e, t, [n, r, i], a, o) {+ Ay(e, t[n], t[r], t[i], t.scale, a, o);}-var kne = [+var One = ["x","scaleX","originX"-], Ane = [+], kne = ["y","scaleY","originY"];-function jy(e, t, n, r) {- Ay(e.x, t, kne, n?.x, r?.x), Ay(e.y, t, Ane, n?.y, r?.y);+function My(e, t, n, r) {+ jy(e.x, t, One, n?.x, r?.x), jy(e.y, t, kne, n?.y, r?.y);}// node_modules/motion-dom/dist/es/projection/geometry/round.mjs-var My = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Ny = My("applewebkit/") && !My("chrome/") ? Math.round : Tm;-function Py(e) {- e.min = Ny(e.min), e.max = Ny(e.max);+var Ny = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Py = Ny("applewebkit/") && !Ny("chrome/") ? Math.round : Tm;+function Fy(e) {+ e.min = Py(e.min), e.max = Py(e.max);}-function jne(e) {- Py(e.x), Py(e.y);+function Ane(e) {+ Fy(e.x), Fy(e.y);}// node_modules/motion-dom/dist/es/projection/geometry/models.mjs-var Fy = () => ({+var Iy = () => ({translate: 0,scale: 1,origin: 0,originPoint: 0-}), Iy = () => ({- x: Fy(),- y: Fy()}), Ly = () => ({+ x: Iy(),+ y: Iy()+}), Ry = () => ({min: 0,max: 0-}), Ry = () => ({- x: Ly(),- y: Ly()+}), zy = () => ({+ x: Ry(),+ y: Ry()});// node_modules/motion-dom/dist/es/projection/geometry/utils.mjs-function zy(e) {+function By(e) {return e.translate === 0 && e.scale === 1;}-function By(e) {- return zy(e.x) && zy(e.y);+function Vy(e) {+ return By(e.x) && By(e.y);}-function Vy(e, t) {+function Hy(e, t) {return e.min === t.min && e.max === t.max;}-function Mne(e, t) {- return Vy(e.x, t.x) && Vy(e.y, t.y);+function jne(e, t) {+ return Hy(e.x, t.x) && Hy(e.y, t.y);}-function Hy(e, t) {+function Uy(e, t) {return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);}-function Uy(e, t) {- return Hy(e.x, t.x) && Hy(e.y, t.y);+function Wy(e, t) {+ return Uy(e.x, t.x) && Uy(e.y, t.y);}-function Wy(e) {+function Gy(e) {return Cy(e.x) / Cy(e.y);}-function Gy(e, t) {+function Ky(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 Nne = class {+var Mne = class {constructor() {this.members = [];}@@ -18850,22 +18850,22 @@ var Nne = class {}};// node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs-function Ky(e, t) {+function qy(e, t) {return t.max === t.min ? 0 : e / (t.max - t.min) * 100;}-var qy = { correct: (e, t) => {+var Jy = { correct: (e, t) => {if (!t.target) return e;if (typeof e == "string") {if (Dh.test(e)) e = parseFloat(e);else return e;}- return `${Ky(e, t.target.x)}% ${Ky(e, t.target.y)}%`;-} }, Pne = {- borderRadius: /* @__PURE__ */ Object.assign({}, qy, { applyTo: /* @__PURE__ */ wv.slice() }),- borderTopLeftRadius: qy,- borderTopRightRadius: qy,- borderBottomLeftRadius: qy,- borderBottomRightRadius: qy,+ return `${qy(e, t.target.x)}% ${qy(e, t.target.y)}%`;+} }, Nne = {+ borderRadius: /* @__PURE__ */ Object.assign({}, Jy, { applyTo: /* @__PURE__ */ wv.slice() }),+ borderTopLeftRadius: Jy,+ borderTopRightRadius: Jy,+ borderBottomLeftRadius: Jy,+ borderBottomRightRadius: Jy,boxShadow: { correct: (e, { treeScale: t, projectionDelta: n }) => {let r = e, i = Zh.parse(e);if (i.length > 5) return r;@@ -18876,7 +18876,7 @@ var qy = { correct: (e, t) => {} }};// node_modules/motion-dom/dist/es/projection/styles/transform.mjs-function Fne(e, t, n) {+function Pne(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 } = n;@@ -18890,11 +18890,11 @@ function Fne(e, t, n) {return (s !== 1 || c !== 1) && (r += `scale(${s}, ${c})`), r || "none";}// node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs-function Jy(e) {+function Yy(e) {return [e("x"), e("y")];}// node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs-var Ine = (e, t) => e.depth - t.depth, Lne = class {+var Fne = (e, t) => e.depth - t.depth, Ine = class {constructor() {this.children = [], this.isDirty = !1;}@@ -18905,22 +18905,22 @@ var Ine = (e, t) => e.depth - t.depth, Lne = class {vm(this.children, e), this.isDirty = !0;}forEach(e) {- this.isDirty && this.children.sort(Ine), this.isDirty = !1, this.children.forEach(e);+ this.isDirty && this.children.sort(Fne), this.isDirty = !1, this.children.forEach(e);}-}, Yy = {+}, Xy = {hasAnimatedSinceResize: !0,hasEverUpdated: !1-}, Xy = [+}, Zy = ["z","skew","skewZ"-], Rne = 1e3, zne = 0;-function Zy(e, t, n, r) {+], Lne = 1e3, Rne = 0;+function Qy(e, t, n, r) {let { latestValues: i } = t;i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));}-var Qy = (e) => e.instance && G_.get(e.instance)?.demote() && e.resetSkewAndRotation();-function $y(e) {+var $y = (e) => e.instance && G_.get(e.instance)?.demote() && e.resetSkewAndRotation();+function eb(e) {if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;let { visualElement: t } = e.options;if (!t) return;@@ -18930,18 +18930,18 @@ function $y(e) {window.MotionCancelOptimisedAnimation(n, "transform", pg, !(t || r));}let { parent: r } = e;- r && !r.hasCheckedOptimisedAppear && $y(r);+ r && !r.hasCheckedOptimisedAppear && eb(r);}-function eb(e) {- if (e) return e.options.allowProjection === !1 ? eb(e.parent) : e.projection;+function tb(e) {+ if (e) return e.options.allowProjection === !1 ? tb(e.parent) : e.projection;}-function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {+function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {return Object.assign(py, {- ...Pne,+ ...Nne,...py}), class {static create(e, t, n) {- let { layoutId: r, layout: i, drag: a, dragConstraints: o, layoutScroll: s, layoutRoot: c, layoutAnchor: l, layoutCrossfade: u } = t, d = e.projection = new this(e.latestValues, t["data-framer-portal-id"] ? void 0 : eb(e.parent));+ let { layoutId: r, layout: i, drag: a, dragConstraints: o, layoutScroll: s, layoutRoot: c, layoutAnchor: l, layoutCrossfade: u } = t, d = e.projection = new this(e.latestValues, t["data-framer-portal-id"] ? void 0 : tb(e.parent));d.setOptions({layoutId: r,layout: i,@@ -18958,16 +18958,16 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkf && !d.root.isUpdateBlocked() && (f.willUpdate(), f.scheduleCheckAfterUnmount());}constructor(e = {}, n = t?.()) {- this.id = zne++, 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 = Rne++, 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 = () => {this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());}, this.updateProjection = () => {- this.projectionUpdateScheduled = !1, this.nodes.forEach(Hne), this.nodes.forEach(Xne), this.nodes.forEach(Zne), this.nodes.forEach(Une), my.countProjection?.();+ this.projectionUpdateScheduled = !1, this.nodes.forEach(Vne), this.nodes.forEach(Yne), this.nodes.forEach(Xne), this.nodes.forEach(Hne), my.countProjection?.();}, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;- this.root === this && (this.nodes = new Lne());+ this.root === this && (this.nodes = new Ine());}addEventListener(e, t) {return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Om()), this.eventHandlers.get(e).add(t);@@ -18988,7 +18988,7 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkr = window.innerWidth;}), e(t, () => {let e = window.innerWidth;- e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = hne(i, 250), Yy.hasAnimatedSinceResize && (Yy.hasAnimatedSinceResize = !1, this.nodes.forEach(ib)));+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = hne(i, 250), Xy.hasAnimatedSinceResize && (Xy.hasAnimatedSinceResize = !1, this.nodes.forEach(ab)));});}n && this.root.registerSharedNode(n, this), this.addLayoutListener();@@ -19000,7 +19000,7 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.target = void 0, this.relativeTarget = void 0;return;}- let a = this.options.transition || n.getDefaultTransition() || tre, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !Uy(this.targetLayout, i), l = !t && r;+ let a = this.options.transition || n.getDefaultTransition() || ere, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !Wy(this.targetLayout, i), l = !t && r;if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);let t = {@@ -19009,7 +19009,7 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkonComplete: s};(n.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);- } else t || ib(this), this.isLead() && this.options.onExitComplete?.();+ } else t || ab(this), this.isLead() && this.options.onExitComplete?.();this.targetLayout = i;}));}@@ -19026,7 +19026,7 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkreturn this.updateManuallyBlocked || this.updateBlockedByResize;}startUpdate() {- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes?.forEach(Qne), this.animationId++);+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes?.forEach(Zne), this.animationId++);}getTransformTemplate() {let { visualElement: e } = this.options;@@ -19037,11 +19037,11 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.options.onExitComplete?.();return;}- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && $y(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;- Qy(this), this.isLayoutDirty = !0;+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && eb(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;+ $y(this), this.isLayoutDirty = !0;for (let e = 0; e < this.path.length; e++) {let t = this.path[e];- t.shouldResetTransform = !0, Qy(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);+ t.shouldResetTransform = !0, $y(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);}let { layoutId: t, layout: n } = this.options;if (t === void 0 && !n) return;@@ -19051,14 +19051,14 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkupdate() {if (this.updateScheduled = !1, this.isUpdateBlocked()) {let e = this.updateBlockedByResize;- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Gne), this.nodes.forEach(nb);+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Wne), this.nodes.forEach(rb);return;}if (this.animationId <= this.animationCommitId) {- this.nodes.forEach(rb);+ this.nodes.forEach(ib);return;}- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(qne), this.nodes.forEach(Jne), this.nodes.forEach(Yne), this.nodes.forEach(Bne), this.nodes.forEach(Vne)) : this.nodes.forEach(rb), this.clearAllSnapshots();+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Kne), this.nodes.forEach(qne), this.nodes.forEach(Jne), this.nodes.forEach(zne), this.nodes.forEach(Bne)) : this.nodes.forEach(ib), this.clearAllSnapshots();let e = nh.now();$m.delta = ym(0, 1e3 / 60, e - $m.timestamp), $m.timestamp = e, $m.isProcessing = !0, hg.update.process($m), hg.preRender.process($m), hg.render.process($m), $m.isProcessing = !1;}@@ -19066,7 +19066,7 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.updateScheduled || (this.updateScheduled = !0, dy.read(this.scheduleUpdate));}clearAllSnapshots() {- this.nodes.forEach(Wne), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));+ this.nodes.forEach(Une), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));}scheduleUpdateProjection() {this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, pg.preRender(this.updateProjection, !1, !0));@@ -19083,7 +19083,7 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();let e = this.layout;- this.layout = this.measure(!1), this.layoutCorrected ||= Ry(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);+ this.layout = this.measure(!1), this.layoutCorrected ||= zy(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);let { visualElement: t } = this.options;t?.notify("LayoutMeasure", this.layout.layoutBox, e?.layoutBox);}@@ -19103,13 +19103,13 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkresetTransform() {if (!i) return;let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout;- e && Qy(this);- let t = this.projectionDelta && !By(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;+ e && $y(this);+ let t = this.projectionDelta && !Vy(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;e && this.instance && (t || Xv(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());}measure(e = !0) {let t = this.measurePageBox(), n = this.removeElementScroll(t);- return e && (n = this.removeTransform(n)), jne(n), {+ return e && (n = this.removeTransform(n)), Ane(n), {animationId: this.root.animationId,measuredBox: t,layoutBox: n,@@ -19119,16 +19119,16 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}measurePageBox() {let { visualElement: e } = this.options;- if (!e) return Ry();+ if (!e) return zy();let t = e.measureViewportBox();- if (!(this.scroll?.wasRoot || this.path.some(nre))) {+ if (!(this.scroll?.wasRoot || this.path.some(tre))) {let { scroll: e } = this.root;e && (oy(t.x, e.offset.x), oy(t.y, e.offset.y));}return t;}removeElementScroll(e) {- let t = Ry();+ let t = zy();if (xy(t, e), this.scroll?.wasRoot) return t;for (let n = 0; n < this.path.length; n++) {let r = this.path[n], { scroll: i, options: a } = r;@@ -19137,7 +19137,7 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkreturn t;}applyTransform(e, t = !1, n, r, i = 0) {- let a = n || Ry();+ let a = n || zy();xy(a, e);for (let e = i; e < this.path.length; e++) {let n = this.path[e];@@ -19146,15 +19146,15 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkreturn !r && Xv(this.latestValues) && ly(a, this.latestValues, this.layout?.layoutBox), a;}removeTransform(e) {- let t = Ry();+ let t = zy();xy(t, e);for (let e = 0; e < this.path.length; e++) {let n = this.path[e];if (!Xv(n.latestValues)) continue;let r;- n.instance && (Jv(n.latestValues) && n.updateSnapshot(), r = Ry(), xy(r, n.measurePageBox())), jy(t, n.latestValues, n.snapshot?.layoutBox, r);+ n.instance && (Jv(n.latestValues) && n.updateSnapshot(), r = zy(), xy(r, n.measurePageBox())), My(t, n.latestValues, n.snapshot?.layoutBox, r);}- return Xv(this.latestValues) && jy(t, this.latestValues), t;+ return Xv(this.latestValues) && My(t, this.latestValues), t;}setTargetDelta(e) {this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;@@ -19181,7 +19181,7 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (!this.layout || !(r || i)) return;this.resolvedRelativeTargetAt = $m.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 = Ry(), this.targetWithTransforms = Ry()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Dne(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) : xy(this.target, this.layout.layoutBox), ry(this.target, this.targetDelta)) : xy(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), my.countProjection?.(1));+ !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = zy(), this.targetWithTransforms = zy()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Dne(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) : xy(this.target, this.layout.layoutBox), ry(this.target, this.targetDelta)) : xy(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), my.countProjection?.(1));}getClosestProjectingParent() {if (!(!this.parent || Jv(this.parent.latestValues) || Qv(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();@@ -19190,7 +19190,7 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkreturn !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);}createRelativeTarget(e, t, n) {- this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Ry(), this.relativeTargetOrigin = Ry(), Oy(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), xy(this.relativeTarget, this.relativeTargetOrigin);+ this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = zy(), this.relativeTargetOrigin = zy(), Oy(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), xy(this.relativeTarget, this.relativeTargetOrigin);}removeRelativeTarget() {this.relativeParent = this.relativeTarget = void 0;@@ -19202,9 +19202,9 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (this.isTreeAnimating = !!(this.parent?.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;xy(this.layoutCorrected, this.layout.layoutBox);let a = this.treeScale.x, o = this.treeScale.y;- one(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = Ry());+ one(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = zy());let { target: s } = e;- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Sy(this.prevProjectionDelta.x, this.projectionDelta.x), Sy(this.prevProjectionDelta.y, this.projectionDelta.y)), Ty(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && Gy(this.projectionDelta.x, this.prevProjectionDelta.x) && Gy(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), my.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Sy(this.prevProjectionDelta.x, this.projectionDelta.x), Sy(this.prevProjectionDelta.y, this.projectionDelta.y)), Ty(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && Ky(this.projectionDelta.x, this.prevProjectionDelta.x) && Ky(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), my.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());}hide() {this.isVisible = !1;@@ -19216,22 +19216,22 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.options.visualElement?.scheduleRender(), e && this.getStack()?.scheduleRender(), this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);}createProjectionDeltas() {- this.prevProjectionDelta = Iy(), this.projectionDelta = Iy(), this.projectionDeltaWithTransform = Iy();+ this.prevProjectionDelta = Ly(), this.projectionDelta = Ly(), this.projectionDeltaWithTransform = Ly();}setAnimationOrigin(e, t = !1, n) {- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = Iy();+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = Ly();this.relativeParent && this.relativeParent.options.layoutRoot || (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;- let s = Ry(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(ere));+ let s = zy(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some($ne));this.animationProgress = 0;let f, p = n?.interpolateProjection(e);this.mixTargetDelta = (t) => {let n = t / 1e3, r = p?.(n);- ab(o.x, e.x, n), ab(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Oy(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), $ne(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Mne(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Ry(), xy(f, this.relativeTarget)), c && (this.animationValues = a, yne(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;+ ob(o.x, e.x, n), ob(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Oy(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Qne(this.relativeTarget, this.relativeTargetOrigin, s, n), f && jne(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= zy(), xy(f, this.relativeTarget)), c && (this.animationValues = a, yne(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);}startAnimation(e) {this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (mg(this.pendingAnimation), void 0), this.pendingAnimation = pg.update(() => {- Yy.hasAnimatedSinceResize = !0, this.motionValue ||= sv(0), this.motionValue.jump(0, !1), this.currentAnimation = fy(this.motionValue, [0, 1e3], {+ Xy.hasAnimatedSinceResize = !0, this.motionValue ||= sv(0), this.motionValue.jump(0, !1), this.currentAnimation = fy(this.motionValue, [0, 1e3], {...e,velocity: 0,isSync: !0,@@ -19250,20 +19250,20 @@ function tb({ 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?.(Rne), this.currentAnimation.stop()), this.completeAnimation();+ this.currentAnimation && (this.mixTargetDelta?.(Lne), this.currentAnimation.stop()), this.completeAnimation();}applyTransformsToTarget() {let e = this.getLead(), { targetWithTransforms: t, layout: n, latestValues: r } = e, { target: i } = e;if (t && i && n) {- if (this !== e && this.layout && n && cb(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {+ if (this !== e && this.layout && n && lb(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {let { layoutBox: e } = this.layout, t = i;- i = this.target || Ry(), sb(i.x, t.x, e.x), sb(i.y, t.y, e.y);+ i = this.target || zy(), cb(i.x, t.x, e.x), cb(i.y, t.y, e.y);}xy(t, i), ly(t, r), Ty(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);}}registerSharedNode(e, t) {- this.sharedNodes.has(e) || this.sharedNodes.set(e, new Nne()), this.sharedNodes.get(e).add(t);+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Mne()), this.sharedNodes.get(e).add(t);let n = t.options.initialPromotionConfig;t.promote({transition: n?.transition,@@ -19298,8 +19298,8 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checklet { latestValues: t } = e;if (!Zv(t)) return;let n = {};- for (let t = 0; t < Xy.length; t++) Zy(Xy[t], e, n, this.animationValues);- for (let t = 0; t < Yv.length; t++) Zy(Yv[t], e, n, this.animationValues);+ for (let t = 0; t < Zy.length; t++) Qy(Zy[t], e, n, this.animationValues);+ for (let t = 0; t < Yv.length; t++) Qy(Yv[t], e, n, this.animationValues);e.render();for (let t in n) e.setStaticValue(t, n[t]), this.animationValues && (this.animationValues[t] = n[t]);e.scheduleRender();@@ -19323,7 +19323,7 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checke.visibility = "";let i = n.animationValues || n.latestValues;this.applyTransformsToTarget();- let a = Fne(this.projectionDeltaWithTransform, this.treeScale, i);+ let a = Pne(this.projectionDeltaWithTransform, this.treeScale, i);r && (a = r(i, a)), e.transform = a;let { x: o, y: s } = this.projectionDelta;e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = n.animationValues ? n === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : n === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;@@ -19341,42 +19341,42 @@ function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.resumeFrom = this.snapshot = this.dragSnapshot = this.dragAncestor = void 0;}resetTree() {- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(nb), this.root.sharedNodes.clear();+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(rb), this.root.sharedNodes.clear();}};}-function Bne(e) {- e.updateLayout(), Kne(e);+function zne(e) {+ e.updateLayout(), Gne(e);}-function Vne(e) {+function Bne(e) {let t = e.resumeFrom?.snapshot || e.snapshot;if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source, o = (r, a) => {- if (i === "size") Jy((e) => {+ if (i === "size") Yy((e) => {let t = Cy(r[e]);r[e].min = a[e].min, r[e].max = r[e].min + t;});else if (i === "x" || i === "y") {let e = i === "x" ? "y" : "x";by(r[e], a[e]);- } else cb(i, t.layoutBox, n) && Jy((t) => {+ } else lb(i, t.layoutBox, n) && Yy((t) => {let n = Cy(a[t]);r[t].max = r[t].min + n, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[t].max = e.relativeTarget[t].min + n);});}, s = a ? t.measuredBox : t.layoutBox;o(s, n);- let c = Iy();+ let c = Ly();Ty(c, n, t.layoutBox);- let l = Iy();+ let l = Ly();Ty(l, a ? e.applyTransform(r, !0) : n, s);- let u = !By(c), d = !1, f = e.getClosestProjectingParent();+ let u = !Vy(c), d = !1, f = e.getClosestProjectingParent();if ((!e.resumeFrom || f?.options.layoutRoot && e.resumeFrom.path.includes(f)) && f && !f.resumeFrom) {let { snapshot: r, layout: i } = f;if (r && i) {- let s = e.options.layoutAnchor || void 0, c = Ry();+ let s = e.options.layoutAnchor || void 0, c = zy();Oy(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);- let l = Ry();- Oy(l, n, i.layoutBox, s), a && o(c, l), Uy(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);+ let l = zy();+ Oy(l, n, i.layoutBox, s), a && o(c, l), Wy(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);}}e.notifyListeners("didUpdate", {@@ -19390,65 +19390,65 @@ function Vne(e) {} else e.isLead() && e.options.onExitComplete?.();e.options.transition = void 0;}-function Hne(e) {+function Vne(e) {my.countProjection?.(0), e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);}-function Une(e) {+function Hne(e) {e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;}-function Wne(e) {+function Une(e) {e.clearSnapshot();}-function nb(e) {+function rb(e) {e.clearMeasurements();}-function Gne(e) {+function Wne(e) {e.isLayoutDirty = !0, e.updateLayout();}-function rb(e) {+function ib(e) {e.isLayoutDirty = !1;}-function Kne(e) {+function Gne(e) {let { snapshot: t, dragAncestor: n } = e, r = n?.isAnimationBlocked && n.layout;if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;let i = n.dragSnapshot;- Jy((e) => oy(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));+ Yy((e) => oy(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));}-function qne(e) {+function Kne(e) {e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);}-function Jne(e) {+function qne(e) {e.relativeTarget && e.relativeParent?.isLayoutDirty && (e.currentAnimation ? e.isLayoutDirty = !0 : (e.targetDelta = void 0, e.removeRelativeTarget()));}-function Yne(e) {+function Jne(e) {let { visualElement: t } = e.options;t?.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();}-function ib(e) {+function ab(e) {e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;}-function Xne(e) {+function Yne(e) {e.resolveTargetDelta();}-function Zne(e) {+function Xne(e) {e.calcProjection();}-function Qne(e) {+function Zne(e) {e.resetSkewAndRotation();}-function ab(e, t, n) {+function ob(e, t, n) {e.translate = tg(t.translate, 0, n), e.scale = tg(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;}-function ob(e, t, n, r) {+function sb(e, t, n, r) {e.min = tg(t.min, n.min, r), e.max = tg(t.max, n.max, r);}-function $ne(e, t, n, r) {- ob(e.x, t.x, n.x, r), ob(e.y, t.y, n.y, r);+function Qne(e, t, n, r) {+ sb(e.x, t.x, n.x, r), sb(e.y, t.y, n.y, r);}-function ere(e) {+function $ne(e) {return e.animationValues?.opacityExit !== void 0;}-var tre = {+var ere = {duration: .45,ease: [.4,@@ -19457,51 +19457,51 @@ var tre = {1]};-function sb(e, t, n) {+function cb(e, t, n) {e.max = Cy(n) + (e.min = t.min);}-function cb(e, t, n) {- return e === "position" || e === "preserve-aspect" && !Ene(Wy(t), Wy(n), .2);+function lb(e, t, n) {+ return e === "position" || e === "preserve-aspect" && !Ene(Gy(t), Gy(n), .2);}-function nre(e) {+function tre(e) {return e !== e.root && e.scroll?.wasRoot;}// node_modules/motion-dom/dist/es/events/add-dom-event.mjs-function lb(e, t, n, r = { passive: !0 }) {+function ub(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 rre = /* @__PURE__ */ tb({- attachResizeListener: (e, t) => lb(e, "resize", t),+var nre = /* @__PURE__ */ nb({+ attachResizeListener: (e, t) => ub(e, "resize", t),measureScroll: cne,checkIsScrollRoot: () => !0-}), ub = { current: void 0 }, db = /* @__PURE__ */ tb({+}), db = { current: void 0 }, fb = /* @__PURE__ */ nb({measureScroll: (e) => ({x: e.scrollLeft,y: e.scrollTop}),defaultParent: () => {- if (!ub.current) {- let e = new rre({});- e.mount(window), e.setOptions({ layoutScroll: !0 }), ub.current = e;+ if (!db.current) {+ let e = new nre({});+ e.mount(window), e.setOptions({ layoutScroll: !0 }), db.current = e;}- return ub.current;+ return db.current;},resetTransform: (e, t) => {e.style.transform = t === void 0 ? "none" : t;},checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"-}), fb = /* @__PURE__ */ new WeakMap();+}), pb = /* @__PURE__ */ new WeakMap();// node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs-function pb(e) {+function mb(e) {return typeof e == "object" && !!e && typeof e.start == "function";}// node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs-function mb(e) {+function hb(e) {return typeof e == "string" || Array.isArray(e);}// node_modules/motion-dom/dist/es/render/utils/variant-props.mjs-var hb = [+var gb = ["animate","whileInView","whileFocus",@@ -19509,18 +19509,18 @@ var hb = ["whileTap","whileDrag","exit"-], gb = /* @__PURE__ */ ["initial"].concat(hb);+], _b = /* @__PURE__ */ ["initial"].concat(gb);// node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs-function _b(e) {- if (pb(e.animate)) return !0;- for (let t = 0; t < gb.length; t++) if (mb(e[gb[t]])) return !0;+function vb(e) {+ if (mb(e.animate)) return !0;+ for (let t = 0; t < _b.length; t++) if (hb(e[_b[t]])) return !0;return !1;}-function vb(e) {- return !!(_b(e) || e.variants);+function yb(e) {+ return !!(vb(e) || e.variants);}// node_modules/motion-dom/dist/es/render/utils/motion-values.mjs-function ire(e, t, n) {+function rre(e, t, n) {for (let r in t) {let i = t[r], a = n[r];if (gv(i)) e.addValue(r, i);@@ -19539,17 +19539,17 @@ function ire(e, t, n) {return t;}// node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs-var yb = { current: null }, bb = { current: !1 }, are = typeof window < "u";-function xb() {- if (bb.current = !0, are) {+var bb = { current: null }, xb = { current: !1 }, ire = typeof window < "u";+function Sb() {+ if (xb.current = !0, ire) {if (window.matchMedia) {- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => yb.current = e.matches;+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => bb.current = e.matches;e.addEventListener("change", t), t();- } else yb.current = !1;+ } else bb.current = !1;}}// node_modules/motion-dom/dist/es/render/VisualElement.mjs-var Sb = [+var Cb = ["AnimationStart","AnimationComplete","Update",@@ -19557,14 +19557,14 @@ var Sb = ["LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"-], Cb = {};-function wb(e) {- Cb = e;+], wb = {};+function Tb(e) {+ wb = e;}-function ore() {- return Cb;+function are() {+ return wb;}-var sre = class {+var ore = class {scrapeMotionValuesFromProps(e, t, n) {return {};}@@ -19576,7 +19576,7 @@ var sre = class {this.renderScheduledAt < e && (this.renderScheduledAt = e, pg.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 = _b(t), this.isVariantNode = vb(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = vb(t), this.isVariantNode = yb(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];@@ -19585,7 +19585,7 @@ var sre = class {}mount(e) {if (this.hasBeenMounted && !this.presenceContext?.keepValuesOnRemount) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];- if (this.current = e, fb.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {+ if (this.current = e, pb.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {let e = this;doe = e.props.inherit !== !1 && e.parent;@@ -19595,7 +19595,7 @@ var sre = class {t.add(this), this.removeFromVariantTree = () => t.delete(this);}}- this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (bb.current || xb(), this.shouldReduceMotion = yb.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;+ this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (xb.current || Sb(), this.shouldReduceMotion = bb.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;}unmount() {this.projection?.unmount(), mg(this.notifyUpdate), mg(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree?.(), this.parent?.removeChild(this);@@ -19641,8 +19641,8 @@ var sre = class {}updateFeatures() {let e = "animation";- for (e in Cb) {- let t = Cb[e];+ for (e in wb) {+ let t = wb[e];if (!t) continue;let { isEnabled: n, Feature: r } = t;if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {@@ -19655,7 +19655,7 @@ var sre = class {this.build(this.renderState, this.latestValues, this.props);}measureViewportBox() {- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : Ry();+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : zy();}getStaticValue(e) {return this.latestValues[e];@@ -19666,13 +19666,13 @@ var sre = class {update(e, t) {let { transformTemplate: n, onUpdate: r } = this.props;(e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && G_.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;- for (let t = 0; t < Sb.length; t++) {- let n = Sb[t];+ for (let t = 0; t < Cb.length; t++) {+ let n = Cb[t];this.propEventSubscriptions[n]?.(), delete this.propEventSubscriptions[n];let r = e["on" + n];r && (this.propEventSubscriptions[n] = this.on(n, r));}- this.prevMotionValues = ire(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();+ this.prevMotionValues = rre(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();}getProps() {return this.props;@@ -19720,7 +19720,7 @@ var sre = class {scheduleRenderMicrotask() {dy.render(this.render);}-}, Tb = class extends sre {+}, Eb = class extends ore {constructor() {super(...arguments), this.KeyframeResolver = Cv;}@@ -19743,29 +19743,29 @@ var sre = class {}};// node_modules/motion-dom/dist/es/render/html/utils/render.mjs-function Eb(e, { style: t, vars: n }, r, i) {+function Db(e, { style: t, vars: n }, r, i) {let a = e.style, o;for (o in t) a[o] = t[o];for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);}// node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs-function Db(e, { layout: t, layoutId: n }) {+function Ob(e, { layout: t, layoutId: n }) {return f_.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!py[e] || e === "opacity");}// node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs-function Ob(e, t, n) {+function kb(e, t, n) {let r = e.style, i = t?.style, a = {};if (!r) return a;- for (let t in r) (gv(r[t]) || i && gv(i[t]) || Db(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);+ for (let t in r) (gv(r[t]) || i && gv(i[t]) || Ob(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 cre(e) {+function sre(e) {return window.getComputedStyle(e);}-var lre = class extends Tb {+var cre = class extends Eb {constructor() {- super(...arguments), this.type = "html", this.renderInstance = Eb;+ super(...arguments), this.type = "html", this.renderInstance = Db;}mount(e) {super.mount(e);@@ -19773,7 +19773,7 @@ var lre = class extends Tb {readValueFromInstance(e, t) {if (f_.has(t)) return this.projection?.isProjecting ? c_(t) : u_(e, t);{- let n = cre(e), r = (ah(t) ? n.getPropertyValue(t) : n[t]) || 0;+ let n = sre(e), r = (ah(t) ? n.getPropertyValue(t) : n[t]) || 0;return typeof r == "string" ? r.trim() : r;}}@@ -19784,58 +19784,58 @@ var lre = class extends Tb {Vv(e, t, n.transformTemplate);}scrapeMotionValuesFromProps(e, t, n) {- return Ob(e, t, n);+ return kb(e, t, n);}-}, kb = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;+}, Ab = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;// node_modules/motion-dom/dist/es/events/event-info.mjs-function Ab(e) {+function jb(e) {return { point: {x: e.pageX,y: e.pageY} };}-var ure = (e) => (t) => kb(t) && e(t, Ab(t));+var lre = (e) => (t) => Ab(t) && e(t, jb(t));// node_modules/motion-dom/dist/es/events/add-pointer-event.mjs-function jb(e, t, n, r) {- return lb(e, t, ure(n), r);+function Mb(e, t, n, r) {+ return ub(e, t, lre(n), r);}// node_modules/motion-dom/dist/es/resize/handle-element.mjs-var Mb = /* @__PURE__ */ new WeakMap(), Nb, Pb = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Av(r) && "getBBox" in r ? r.getBBox()[t] : r[n], dre = /*@__PURE__*/ Pb("inline", "width", "offsetWidth"), fre = /*@__PURE__*/ Pb("block", "height", "offsetHeight");-function pre({ target: e, borderBoxSize: t }) {- Mb.get(e)?.forEach((n) => {+var Nb = /* @__PURE__ */ new WeakMap(), Pb, Fb = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Av(r) && "getBBox" in r ? r.getBBox()[t] : r[n], ure = /*@__PURE__*/ Fb("inline", "width", "offsetWidth"), dre = /*@__PURE__*/ Fb("block", "height", "offsetHeight");+function fre({ target: e, borderBoxSize: t }) {+ Nb.get(e)?.forEach((n) => {n(e, {get width() {- return dre(e, t);+ return ure(e, t);},get height() {- return fre(e, t);+ return dre(e, t);}});});}-function mre(e) {- e.forEach(pre);+function pre(e) {+ e.forEach(fre);}-function hre() {- typeof ResizeObserver < "u" && (Nb = new ResizeObserver(mre));+function mre() {+ typeof ResizeObserver < "u" && (Pb = new ResizeObserver(pre));}-function gre(e, t) {- Nb || hre();+function hre(e, t) {+ Pb || mre();let n = Pv(e);return n.forEach((e) => {- let n = Mb.get(e);- n || (n = /* @__PURE__ */ new Set(), Mb.set(e, n)), n.add(t), Nb?.observe(e);+ let n = Nb.get(e);+ n || (n = /* @__PURE__ */ new Set(), Nb.set(e, n)), n.add(t), Pb?.observe(e);}), () => {n.forEach((e) => {- let n = Mb.get(e);- n?.delete(t), n?.size || Nb?.unobserve(e);+ let n = Nb.get(e);+ n?.delete(t), n?.size || Pb?.unobserve(e);});};}// node_modules/motion-dom/dist/es/resize/handle-window.mjs-var Fb = /* @__PURE__ */ new Set(), Ib;-function _re() {- Ib = () => {+var Ib = /* @__PURE__ */ new Set(), Lb;+function gre() {+ Lb = () => {let e = {get width() {return window.innerWidth;@@ -19844,26 +19844,26 @@ function _re() {return window.innerHeight;}};- Fb.forEach((t) => t(e));- }, window.addEventListener("resize", Ib);+ Ib.forEach((t) => t(e));+ }, window.addEventListener("resize", Lb);}-function vre(e) {- return Fb.add(e), Ib || _re(), () => {- Fb.delete(e), !Fb.size && typeof Ib == "function" && (window.removeEventListener("resize", Ib), Ib = void 0);+function _re(e) {+ return Ib.add(e), Lb || gre(), () => {+ Ib.delete(e), !Ib.size && typeof Lb == "function" && (window.removeEventListener("resize", Lb), Lb = void 0);};}// node_modules/motion-dom/dist/es/resize/index.mjs-function Lb(e, t) {- return Mv(typeof e == "function" ? vre(e) : gre(e, t));+function Rb(e, t) {+ return Mv(typeof e == "function" ? _re(e) : hre(e, t));}// node_modules/motion-dom/dist/es/utils/distance.mjs-var Rb = (e, t) => Math.abs(e - t);-function yre(e, t) {- let n = Rb(e.x, t.x), r = Rb(e.y, t.y);+var zb = (e, t) => Math.abs(e - t);+function vre(e, t) {+ let n = zb(e.x, t.x), r = zb(e.y, t.y);return Math.sqrt(n ** 2 + r ** 2);}// node_modules/motion-dom/dist/es/gestures/pan/PanSession.mjs-var zb = /*#__PURE__*/ new Set(["auto", "scroll"]), Bb = class {+var Bb = /*#__PURE__*/ new Set(["auto", "scroll"]), Vb = class {constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.onElementScroll = (e) => {this.handleScroll(e.target);@@ -19871,8 +19871,8 @@ var zb = /*#__PURE__*/ new Set(["auto", "scroll"]), Bb = class {this.handleScroll(window);}, this.updatePoint = () => {if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Hb(this.lastRawMoveEventInfo, this.transformPagePoint));- let e = Wb(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = yre(e.offset, {+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Ub(this.lastRawMoveEventInfo, this.transformPagePoint));+ let e = Gb(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = vre(e.offset, {x: 0,y: 0}) >= this.distanceThreshold;@@ -19885,40 +19885,40 @@ var zb = /*#__PURE__*/ new Set(["auto", "scroll"]), Bb = class {let { onStart: i, onMove: a } = this.handlers;t || (i?.(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a?.(this.lastMoveEvent, e);}, this.handlePointerMove = (e, t) => {- this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Hb(t, this.transformPagePoint), this.hasPendingMove = !0, pg.update(this.updatePoint, !0);+ this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Ub(t, this.transformPagePoint), this.hasPendingMove = !0, pg.update(this.updatePoint, !0);}, this.handlePointerUp = (e, t) => {this.hasPendingMove && this.updatePoint(), this.end();let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;if ((this.dragSnapToOrigin || !this.startEvent) && i?.(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;- let a = Wb(e.type === "pointercancel" ? this.lastMoveEventInfo : Hb(t, this.transformPagePoint), this.history);+ let a = Gb(e.type === "pointercancel" ? this.lastMoveEventInfo : Ub(t, this.transformPagePoint), this.history);this.startEvent && n?.(e, a), r?.(e, a);- }, !kb(e)) return;+ }, !Ab(e)) return;this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;- let s = Hb(Ab(e), this.transformPagePoint), { point: c } = s;+ let s = Ub(jb(e), this.transformPagePoint), { point: c } = s;this.history = [{...c,timestamp: nh.now()}];let { onSessionStart: l } = t;- l && l(e, Wb(s, this.history));+ l && l(e, Gb(s, this.history));let u = {passive: !0,capture: !0};- this.removeListeners = Em(jb(this.contextWindow, "pointermove", this.handlePointerMove, u), jb(this.contextWindow, "pointerup", this.handlePointerUp, u), jb(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);+ this.removeListeners = Em(Mb(this.contextWindow, "pointermove", this.handlePointerMove, u), Mb(this.contextWindow, "pointerup", this.handlePointerUp, u), Mb(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);}startScrollTracking(e) {let t = e.parentElement;for (; t;) {let e = getComputedStyle(t);- (zb.has(e.overflowX) || zb.has(e.overflowY)) && this.scrollPositions.set(t, Vb(t)), t = t.parentElement;+ (Bb.has(e.overflowX) || Bb.has(e.overflowY)) && this.scrollPositions.set(t, Hb(t)), t = t.parentElement;}- this.scrollPositions.set(window, Vb(window)), this.removeScrollListeners = Em(lb(window, "scroll", this.onElementScroll, { capture: !0 }), lb(window, "scroll", this.onWindowScroll, {}));+ this.scrollPositions.set(window, Hb(window)), this.removeScrollListeners = Em(ub(window, "scroll", this.onElementScroll, { capture: !0 }), ub(window, "scroll", this.onWindowScroll, {}));}handleScroll(e) {let t = this.scrollPositions.get(e);if (!t) return;- let n = e === window, r = Vb(e), i = {+ let n = e === window, r = Hb(e), i = {x: r.x - t.x,y: r.y - t.y};@@ -19930,42 +19930,42 @@ var zb = /*#__PURE__*/ new Set(["auto", "scroll"]), Bb = class {end() {this.removeListeners?.(), this.removeScrollListeners?.(), this.scrollPositions.clear(), mg(this.updatePoint);}-}, Vb = (e) => e === window ? {+}, Hb = (e) => e === window ? {x: window.scrollX,y: window.scrollY} : {x: e.scrollLeft,y: e.scrollTop};-function Hb(e, t) {+function Ub(e, t) {return t ? { point: t(e.point) } : e;}-function Ub(e, t) {+function Wb(e, t) {return {x: e.x - t.x,y: e.y - t.y};}-function Wb({ point: e }, t) {+function Gb({ point: e }, t) {return {point: e,- delta: Ub(e, Gb(t)),- offset: Ub(e, bre(t)),- velocity: xre(t, .1)+ delta: Wb(e, Kb(t)),+ offset: Wb(e, yre(t)),+ velocity: bre(t, .1)};}-function bre(e) {+function yre(e) {return e[0];}-function Gb(e) {+function Kb(e) {return e[e.length - 1];}-function xre(e, t) {+function bre(e, t) {if (e.length < 2) return {x: 0,y: 0};- let n = e.length - 1, r = null, i = Gb(e);+ let n = e.length - 1, r = null, i = Kb(e);for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ km(t)));) n--;if (!r) return {x: 0,@@ -19984,95 +19984,95 @@ function xre(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 Sre = /* @__PURE__ */ new Set([+var xre = /* @__PURE__ */ new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);-function Cre(e) {- return Sre.has(e.tagName) || e.isContentEditable === !0;+function Sre(e) {+ return xre.has(e.tagName) || e.isContentEditable === !0;}-var wre = /* @__PURE__ */ new Set([+var Cre = /* @__PURE__ */ new Set(["INPUT","SELECT","TEXTAREA"]);-function Tre(e) {- return wre.has(e.tagName) || e.isContentEditable === !0;+function wre(e) {+ return Cre.has(e.tagName) || e.isContentEditable === !0;}// node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs-var Kb = {+var qb = {x: !1,y: !1};-function qb() {- return Kb.x || Kb.y;+function Jb() {+ return qb.x || qb.y;}// node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs-function Jb(e) {- return e === "x" || e === "y" ? Kb[e] ? null : (Kb[e] = !0, () => {- Kb[e] = !1;- }) : Kb.x || Kb.y ? null : (Kb.x = Kb.y = !0, () => {- Kb.x = Kb.y = !1;+function Yb(e) {+ return e === "x" || e === "y" ? qb[e] ? null : (qb[e] = !0, () => {+ qb[e] = !1;+ }) : qb.x || qb.y ? null : (qb.x = qb.y = !0, () => {+ qb.x = qb.y = !1;});}// node_modules/motion-dom/dist/es/gestures/drag/utils/constraints.mjs-function Yb(e, { min: t, max: n }, r) {+function Xb(e, { min: t, max: n }, r) {return t !== void 0 && e < t ? e = r ? tg(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? tg(n, e, r.max) : Math.min(e, n)), e;}-function Xb(e, t, n) {+function Zb(e, t, n) {return {min: t === void 0 ? void 0 : e.min + t,max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)};}-function Ere(e, { top: t, left: n, bottom: r, right: i }) {+function Tre(e, { top: t, left: n, bottom: r, right: i }) {return {- x: Xb(e.x, n, i),- y: Xb(e.y, t, r)+ x: Zb(e.x, n, i),+ y: Zb(e.y, t, r)};}-function Zb(e, t) {+function Qb(e, t) {let n = t.min - e.min, r = t.max - e.max;return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), {min: n,max: r};}-function Dre(e, t) {+function Ere(e, t) {return {- x: Zb(e.x, t.x),- y: Zb(e.y, t.y)+ x: Qb(e.x, t.x),+ y: Qb(e.y, t.y)};}-function Ore(e, t) {+function Dre(e, t) {let n = .5, r = Cy(e), i = Cy(t);return i > r ? n = /* @__PURE__ */ Dm(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Dm(e.min, e.max - i, t.min)), ym(0, 1, n);}-function kre(e, t) {+function Ore(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 Qb = .35;-function Are(e = Qb) {- return e === !1 ? e = 0 : e === !0 && (e = Qb), {- x: $b(e, "left", "right"),- y: $b(e, "top", "bottom")+var $b = .35;+function kre(e = $b) {+ return e === !1 ? e = 0 : e === !0 && (e = $b), {+ x: ex(e, "left", "right"),+ y: ex(e, "top", "bottom")};}-function $b(e, t, n) {+function ex(e, t, n) {return {- min: ex(e, t),- max: ex(e, n)+ min: tx(e, t),+ max: tx(e, n)};}-function ex(e, t) {+function tx(e, t) {return typeof e == "number" ? e : e[t] || 0;}// node_modules/motion-dom/dist/es/gestures/drag/VisualElementDragControls.mjs-function tx(e) {+function nx(e) {let t = "";for (let n of e.path) {n.scroll = void 0, n.updateScroll();@@ -20081,12 +20081,12 @@ function tx(e) {}return t;}-var jre = /* @__PURE__ */ new WeakMap(), Mre = class {+var Are = /* @__PURE__ */ new WeakMap(), jre = class {constructor(e, t = () => e.getProps()) {this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {x: 0,y: 0- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = Ry(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = zy(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;}start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {if (this.visualElement.presenceContext?.isPresent === !1) return;@@ -20094,10 +20094,10 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {t && this.snapToCursor(e), this.stopAnimation();}, i = (e, t) => {let { drag: n, dragConstraints: r, dragPropagation: i, onDragStart: a } = this.getProps();- if (n && !i && (this.openDragLock?.(), this.openDragLock = Jb(n), !this.openDragLock)) return;+ if (n && !i && (this.openDragLock?.(), this.openDragLock = Yb(n), !this.openDragLock)) return;this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints();let { projection: o } = this.visualElement;- o && (o.isAnimationBlocked = !0, o.target = void 0), Jy((e) => {+ o && (o.isAnimationBlocked = !0, o.target = void 0), Yy((e) => {let t = this.getAxisMotionValue(e).get() || 0;if (sh(t) && (t = dv(t, this.visualElement.current) || 0), Dh.test(t)) t = parseFloat(t);else if (Eh.test(t)) {@@ -20112,7 +20112,7 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {if (!n && !this.openDragLock) return;let { offset: o } = t;if (r && this.currentDirection === null) {- if (this.currentDirection = Pre(o), this.currentDirection === null) return;+ if (this.currentDirection = Nre(o), this.currentDirection === null) return;i && i(this.currentDirection);}this.updateAxis("x", o), this.updateAxis("y", o), this.point && this.point.move(), this.visualElement.render(), a && pg.update(() => a(e, t), !1, !0);@@ -20125,7 +20125,7 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {y: 0});}, { dragSnapToOrigin: c } = this.getProps();- this.panSession = new Bb(e, {+ this.panSession = new Vb(e, {onSessionStart: r,onStart: i,onMove: a,@@ -20157,23 +20157,23 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {}updateAxis(e, t) {let { drag: n } = this.readProps();- if (!t || !ax(e, n, this.currentDirection)) return;+ if (!t || !ox(e, n, this.currentDirection)) return;let r = this.getAxisMotionValue(e), i = this.originPoint[e] + t[e], a = this.constraints && this.constraints[e];- a && (i = Yb(i, a, this.elastic[e])), this.point ? this.point[e] = i : r.set(i);+ a && (i = Xb(i, a, this.elastic[e])), this.point ? this.point[e] = i : r.set(i);}resolveConstraints() {let { dragConstraints: e, dragElastic: t } = this.getProps(), { projection: n } = this.visualElement, r = n && (n.layout || n.measure(!1)), i = this.constraints;- nx(e) ? this.constraints && this.scroll === tx(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? Ere(r.layoutBox, e) : !1, this.elastic = Are(t), i !== this.constraints && !nx(e) && r && this.constraints && !this.hasMutatedConstraints && Jy((e) => {- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = kre(r.layoutBox[e], this.constraints[e]));+ rx(e) ? this.constraints && this.scroll === nx(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? Tre(r.layoutBox, e) : !1, this.elastic = kre(t), i !== this.constraints && !rx(e) && r && this.constraints && !this.hasMutatedConstraints && Yy((e) => {+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Ore(r.layoutBox[e], this.constraints[e]));});}resolveRefConstraints() {let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();- if (!nx(e)) return !1;- let n = rx(e), { projection: r } = this.visualElement;+ if (!rx(e)) return !1;+ let n = ix(e), { projection: r } = this.visualElement;if (!r || !r.layout) return !1;- this.scroll = tx(r);- let i = sne(n, r.root, this.visualElement.getTransformPagePoint()), a = Dre(r.layout.layoutBox, r.removeElementScroll(i));+ this.scroll = nx(r);+ let i = sne(n, r.root, this.visualElement.getTransformPagePoint()), a = Ere(r.layout.layoutBox, r.removeElementScroll(i));if (t) {let e = t(ine(a));this.hasMutatedConstraints = !!e, e && (a = Kv(e));@@ -20188,13 +20188,13 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {restDelta: 1,restSpeed: 10,...a- }, l = (i) => r && !(this.point && o) && ax(i, t || n, this.currentDirection) ? e[i] : 0;+ }, l = (i) => r && !(this.point && o) && ox(i, t || n, this.currentDirection) ? e[i] : 0;if (this.point && !o) return this.point.release({x: l("x"),y: l("y")}, c).then(s);- let u = this.constraints || {}, d = Jy((e) => {- if (!ax(e, t || n, this.currentDirection)) return;+ let u = this.constraints || {}, d = Yy((e) => {+ if (!ox(e, t || n, this.currentDirection)) return;let r = u[e] || {};(o === !0 || o === e) && (r = {min: 0,@@ -20215,7 +20215,7 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {return _v(this.visualElement, e), n.start(uv(e, n, 0, t, this.visualElement, !1));}stopAnimation() {- Jy((e) => this.getAxisMotionValue(e).stop());+ Yy((e) => this.getAxisMotionValue(e).stop());}getAxisMotionValue(e) {let t = `_drag${e.toUpperCase()}`;@@ -20226,8 +20226,8 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {x: e,y: t}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();- Jy((e) => {- if (!ax(e, n, this.currentDirection)) return;+ Yy((e) => {+ if (!ox(e, n, this.currentDirection)) return;let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];t.set((t.get() || 0) + i[e] - tg(r, o, .5));});@@ -20235,41 +20235,41 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {scalePositionWithinConstraints() {if (!this.visualElement.current) return;let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;- if (!nx(t) || !n || !this.constraints) return;+ if (!rx(t) || !n || !this.constraints) return;this.stopAnimation();let r = this.constraints, i = {x: 0,y: 0};- Jy((e) => {+ Yy((e) => {let t = this.getAxisMotionValue(e).get();- i[e] = Ore({+ i[e] = Dre({min: t,max: t}, r[e]);});let { transformTemplate: a } = this.visualElement.getProps();- this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), Jy((t) => {+ this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), Yy((t) => {let n = this.getAxisMotionValue(t);- if (!ax(t, e, null) || !n.get()) return;+ if (!ox(t, e, null) || !n.get()) return;let { min: r, max: a } = this.constraints[t];n.set(tg(r, a, i[t]));}), this.visualElement.render();}addListeners() {if (!this.visualElement.current) return;- jre.set(this.visualElement, this);- let e = this.visualElement.current, t = jb(e, "pointerdown", (t) => {- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Tre(i);+ Are.set(this.visualElement, this);+ let e = this.visualElement.current, t = Mb(e, "pointerdown", (t) => {+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && wre(i);n && r && !a && this.start(t);}), n, r = () => {- let { dragConstraints: t } = this.getProps(), r = nx(t) && rx(t);- r && (this.constraints = this.resolveRefConstraints(), n ||= Nre(e, r, () => this.scalePositionWithinConstraints()));+ let { dragConstraints: t } = this.getProps(), r = rx(t) && ix(t);+ r && (this.constraints = this.resolveRefConstraints(), n ||= Mre(e, r, () => this.scalePositionWithinConstraints()));}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);i.layout || (i.root?.updateScroll(), i.updateLayout()), pg.read(r);- let o = lb(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {- this.isDragging && t && (Jy((t) => {- if (!ax(t, this.getProps().drag, this.currentDirection)) return;+ let o = ub(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {+ this.isDragging && t && (Yy((t) => {+ if (!ox(t, this.getProps().drag, this.currentDirection)) return;let n = this.getAxisMotionValue(t);this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate);}), this.visualElement.render());@@ -20279,7 +20279,7 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {};}getProps() {- let e = this.readProps(), { dragElastic: t = Qb, dragMomentum: n = !0 } = e;+ let e = this.readProps(), { dragElastic: t = $b, dragMomentum: n = !0 } = e;return {...e,dragElastic: t,@@ -20287,31 +20287,31 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {};}};-function nx(e) {+function rx(e) {return !!e && typeof e == "object" && ("current" in e || "nodeType" in e);}-var rx = (e) => "current" in e ? e.current : e;-function ix(e) {+var ix = (e) => "current" in e ? e.current : e;+function ax(e) {let t = !0;return () => {t ? t = !1 : e();};}-function Nre(e, t, n) {- let r = Lb(e, ix(n)), i = Lb(t, ix(n));+function Mre(e, t, n) {+ let r = Rb(e, ax(n)), i = Rb(t, ax(n));return () => {r(), i();};}-function ax(e, t, n) {+function ox(e, t, n) {return (t === !0 || t === e) && (n === null || n === e);}-function Pre(e, t = 10) {+function Nre(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 ox(e, t) {+function sx(e, t) {let n = Pv(e), r = new AbortController();return [n,@@ -20324,12 +20324,12 @@ function ox(e, t) {];}// node_modules/motion-dom/dist/es/gestures/hover.mjs-function Fre(e) {- return !(e.pointerType === "touch" || qb());+function Pre(e) {+ return !(e.pointerType === "touch" || Jb());}-function Ire(e, t, n = {}) {+function Fre(e, t, n = {}) {t = Nv(t);- let [r, i, a] = ox(e, n);+ let [r, i, a] = sx(e, n);return r.forEach((e) => {let n = !1, r = !1, a, o = () => {e.removeEventListener("pointerleave", u);@@ -20343,7 +20343,7 @@ function Ire(e, t, n = {}) {e.pointerType !== "touch" && (n ? r = !0 : s(e));};e.addEventListener("pointerenter", (n) => {- if (!Fre(n)) return;+ if (!Pre(n)) return;r = !1;let o = t(e, n);typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));@@ -20351,71 +20351,71 @@ function Ire(e, t, n = {}) {}), a;}// node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs-var sx = (e, t) => t ? e === t || sx(e, t.parentElement) : !1, cx = /* @__PURE__ */ new WeakSet();+var cx = (e, t) => t ? e === t || cx(e, t.parentElement) : !1, lx = /* @__PURE__ */ new WeakSet();// node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs-function lx(e) {+function ux(e) {return (t) => {t.key === "Enter" && e(t);};}-function ux(e, t) {+function dx(e, t) {e.dispatchEvent(new PointerEvent("pointer" + t, {isPrimary: !0,bubbles: !0}));}-var Lre = (e, t) => {- let n = !1, r = lx(() => {- cx.has(e) || (n = !0, ux(e, "down"));- }), i = lx(() => {- n && (n = !1, ux(e, "up"));+var Ire = (e, t) => {+ let n = !1, r = ux(() => {+ lx.has(e) || (n = !0, dx(e, "down"));+ }), i = ux(() => {+ n && (n = !1, dx(e, "up"));});e.addEventListener("keydown", r, t), e.addEventListener("keyup", i, t), e.addEventListener("blur", () => {- e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && ux(e, "cancel");+ e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && dx(e, "cancel");}, {...t,once: !0});};// node_modules/motion-dom/dist/es/gestures/press/index.mjs-function dx(e) {- return kb(e) && !qb();+function fx(e) {+ return Ab(e) && !Jb();}-var fx = /* @__PURE__ */ new WeakSet();-function Rre(e, t, n = {}) {+var px = /* @__PURE__ */ new WeakSet();+function Lre(e, t, n = {}) {t = Nv(t);- let [r, i, a] = ox(e, n), o = (e) => {+ let [r, i, a] = sx(e, n), o = (e) => {let r = e.currentTarget;- if (!dx(e) || fx.has(e)) return;- cx.add(r), n.stopPropagation && fx.add(e);+ if (!fx(e) || px.has(e)) return;+ lx.add(r), n.stopPropagation && px.add(e);let a = t(r, e), o = {...i,capture: !0}, s = (e, t) => {- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), cx.has(r) && cx.delete(r), dx(e) && typeof a == "function" && a(e, { success: t });+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), lx.has(r) && lx.delete(r), fx(e) && typeof a == "function" && a(e, { success: t });}, c = (e) => {- s(e, r === window || r === document || n.useGlobalTarget || sx(r, e.target));+ s(e, r === window || r === document || n.useGlobalTarget || cx(r, e.target));}, l = (e) => {s(e, !1);};window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);};return r.forEach((e) => {- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), kv(e) && (e.addEventListener("focus", () => Lre(e, i), i), !Cre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), kv(e) && (e.addEventListener("focus", () => Ire(e, i), i), !Sre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));}), a;}// node_modules/motion-dom/dist/es/render/dom/style-computed.mjs-function px(e, t) {+function mx(e, t) {let n = window.getComputedStyle(e);return T_(t) ? n.getPropertyValue(t) : n[t];}// node_modules/motion-dom/dist/es/render/Feature.mjs-var mx = class {+var hx = class {constructor(e) {this.isMounted = !1, this.node = e;}update() {}-}, hx = /* @__PURE__ */ new Set([+}, gx = /* @__PURE__ */ new Set(["baseFrequency","diffuseConstant","kernelMatrix",@@ -20439,15 +20439,15 @@ var mx = class {"startOffset","textLength","lengthAdjust"-]), gx = (e) => typeof e == "string" && e.toLowerCase() === "svg";+]), _x = (e) => typeof e == "string" && e.toLowerCase() === "svg";// node_modules/motion-dom/dist/es/render/svg/utils/render.mjs-function zre(e, t, n, r) {- Eb(e, t, void 0, r);- for (let n in t.attrs) e.setAttribute(hx.has(n) ? n : Bv(n), t.attrs[n]);+function Rre(e, t, n, r) {+ Db(e, t, void 0, r);+ for (let n in t.attrs) e.setAttribute(gx.has(n) ? n : Bv(n), t.attrs[n]);}// node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs-function _x(e, t, n) {- let r = Ob(e, t, n);+function vx(e, t, n) {+ let r = kb(e, t, n);for (let n in e) if (n !== "children" && (gv(e[n]) || gv(t[n]))) {let t = d_.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);r[t] = e[n];@@ -20455,9 +20455,9 @@ function _x(e, t, n) {return r;}// node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs-var Bre = class extends Tb {+var zre = class extends Eb {constructor() {- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = Ry;+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = zy;}getBaseTargetFromProps(e, t) {return f_.has(t) ? super.getBaseTargetFromProps(e, t) ?? c_(t) : e[t];@@ -20474,23 +20474,23 @@ var Bre = class extends Tb {let n = getComputedStyle(e)[t];if (typeof n == "string" && n) return n.trim();}- return t = hx.has(t) ? t : Bv(t), e.getAttribute(t);+ return t = gx.has(t) ? t : Bv(t), e.getAttribute(t);}scrapeMotionValuesFromProps(e, t, n) {- return _x(e, t, n);+ return vx(e, t, n);}build(e, t, n) {Uv(e, t, this.isSVGTag, n.transformTemplate, n.style);}renderInstance(e, t, n, r) {- zre(e, t, n, r);+ Rre(e, t, n, r);}mount(e) {- this.isSVGTag = gx(e.tagName), super.mount(e);+ this.isSVGTag = _x(e.tagName), super.mount(e);}};// node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs-function vx(e, t) {+function yx(e, t) {if (!Array.isArray(t)) return !1;let n = t.length;if (n !== e.length) return !1;@@ -20498,18 +20498,18 @@ function vx(e, t) {return !0;}// node_modules/motion-dom/dist/es/render/utils/animation-state.mjs-var Vre = [...hb].reverse(), yx = (e) => e?.out === !0 ? e : e?.out;-function Hre(e) {- let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Ite(e, t, n))), n = bx(), r = !0, i = !1;+var Bre = [...gb].reverse(), bx = (e) => e?.out === !0 ? e : e?.out;+function Vre(e) {+ let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Ite(e, t, n))), n = xx(), r = !0, i = !1;function a(a) {let { props: o, parent: s, manuallyAnimateOnMount: c } = e, { initial: l } = o, u = r || i, d = [], f = (t = l) => typeof t != "boolean" && pv(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom) || void 0, p = /* @__PURE__ */ new Map(), m = {}, h = Infinity, g = e;dog = g.props.inherit !== !1 && g.parent;while (g && !g.isControllingVariants);- let _ = u && yx(f(l ?? (g && g.props.initial))?.transition);- if (Vre.forEach((t, r) => {- let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? mb(f) || f === !1 ? f : void 0 : l, y = mb(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);- if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || pb(v) || typeof v == "boolean") return;+ let _ = u && bx(f(l ?? (g && g.props.initial))?.transition);+ if (Bre.forEach((t, r) => {+ let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? hb(f) || f === !1 ? f : void 0 : l, y = hb(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);+ if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || mb(v) || typeof v == "boolean") return;if (b === !1 && (h = r), t === "exit" && i.isActive && b !== !0) {m = {...m,@@ -20517,14 +20517,14 @@ function Hre(e) {};return;}- let S = Ure(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;+ let S = Hre(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;if (b !== !1) for (let n of T) {let { transition: r, transitionEnd: i, ...a } = pv(e, n, mv(e, t)) || {};E = {...E,...a,...i- }, D = yx(r) || D;+ }, D = bx(r) || D;}let { prevResolvedValues: O } = i;for (let t in {@@ -20532,7 +20532,7 @@ function Hre(e) {...E}) {if (t in m) continue;- let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !vx(n, r) || S : n !== r, o;+ let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !yx(n, r) || S : n !== r, o;if (a && n == null) p.has(t) || p.set(t, i.prevOut);else if (a || n !== void 0 && p.has(t)) {C = !0, o = p.get(t) || _, p.delete(t) && (w = !0), i.needsAnimating[t] = !0;@@ -20586,16 +20586,16 @@ function Hre(e) {},getState: () => n,reset: () => {- n = bx(), i = !0;+ n = xx(), i = !0;}};}-function Ure(e, t) {- return typeof t == "string" ? t !== e : Array.isArray(t) ? !vx(t, e) : !1;+function Hre(e, t) {+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !yx(t, e) : !1;}-function bx() {+function xx() {let e = {};- for (let t of hb) e[t] = {+ for (let t of gb) e[t] = {isActive: t === "animate",protectedKeys: {},needsAnimating: {},@@ -20605,55 +20605,55 @@ function bx() {return e;}// node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs-var xx = /* @__PURE__ */ (0, F.createContext)({+var Sx = /* @__PURE__ */ (0, F.createContext)({transformPagePoint: (e) => e,isStatic: !1,reducedMotion: "never"});// node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs-function Sx(e, t) {+function Cx(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}-function Wre(...e) {+function Ure(...e) {return (t) => {let n = !1, r = e.map((e) => {- let r = Sx(e, t);+ let r = Cx(e, t);return !n && typeof r == "function" && (n = !0), r;});if (n) return () => {for (let t = 0; t < r.length; t++) {let n = r[t];- typeof n == "function" ? n() : Sx(e[t], null);+ typeof n == "function" ? n() : Cx(e[t], null);}};};}-function Gre(...e) {- return F.useCallback(Wre(...e), e);+function Wre(...e) {+ return F.useCallback(Ure(...e), e);}// node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs-var Cx = (e) => {+var wx = (e) => {let { width: t, height: n } = e?.getBoundingClientRect() || {};return [t / e?.offsetWidth || 1, n / e?.offsetHeight || 1];-}, wx = (e) => {+}, Tx = (e) => {let { left: t, top: n } = e.getBoundingClientRect(), r = e;for (; r = r.parentElement || r.parentNode?.host;) {let { scrollLeft: e, scrollTop: i } = r;if (e || i) {- let [a, o] = Cx(r);+ let [a, o] = wx(r);t += e * a, n += i * o;}if (getComputedStyle(r).position === "fixed") break;}- let [i, a] = Cx(e.offsetParent);+ let [i, a] = wx(e.offsetParent);return [t / i, n / a];-}, Kre = class extends F.Component {+}, Gre = class extends F.Component {getSnapshotBeforeUpdate(e) {let t = this.props.getElement();if (kv(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {let e = t.offsetParent, n = kv(e) && e.offsetWidth || 0, r = kv(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;- a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = wx(t);+ a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = Tx(t);}return null;}@@ -20662,7 +20662,7 @@ var Cx = (e) => {return this.props.children;}};-function qre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {+function Kre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {let s = (0, F.useId)(), c = (0, F.useRef)(null), l = (0, F.useRef)({width: 0,height: 0,@@ -20671,7 +20671,7 @@ function qre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:right: 0,bottom: 0,direction: "ltr"- }), { nonce: u } = (0, F.useContext)(xx), d = Gre(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {+ }), { nonce: u } = (0, F.useContext)(Sx), d = Wre(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {let { width: t, height: i, top: a, left: o, right: c, bottom: u, direction: d } = l.current, f = d === "rtl", p = n === "left" ? f ? `right:${c}` : `left:${o}` : f ? `left:${o}` : `right:${c}`, m = r === "bottom" ? `bottom:${u}` : `top:${a}`;e?.insertRule(`[data-motion-pop-id="${s}"]{position:absolute!important;width:${t}px!important;height:${i}px!important;${p}px!important;${m}px!important}`);};@@ -20685,7 +20685,7 @@ function qre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:d.appendChild(c), p(c.sheet);let m = 0, h = 0;return dy.setup(() => {- let [e, t] = wx(r);+ let [e, t] = Tx(r);m = l.current.point[0] - e, h = l.current.point[1] - t;}), dy.read(() => {let { sheet: e } = c;@@ -20695,7 +20695,7 @@ function qre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:}), () => {r.removeAttribute("data-motion-pop-id"), d.contains(c) && d.removeChild(c);};- }, [t]), (0, I.jsx)(Kre, {+ }, [t]), (0, I.jsx)(Gre, {isPresent: t,getElement: f,sizeRef: l,@@ -20704,8 +20704,8 @@ function qre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:});}// node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs-var Jre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {- let u = mm(Yre), d = (0, F.useId)(), f = (0, F.useRef)(), p = (0, F.useRef)(n), m = (0, F.useRef)(r);+var qre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {+ let u = mm(Jre), d = (0, F.useId)(), f = (0, F.useRef)(), p = (0, F.useRef)(n), m = (0, F.useRef)(r);hm(() => {p.current = n, m.current = r;});@@ -20731,7 +20731,7 @@ var Jre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: iu.forEach((e, t) => u.set(t, !1));}, [n]), F.useEffect(() => {!n && !u.size && r && r();- }, [n]), e = (0, I.jsx)(qre, {+ }, [n]), e = (0, I.jsx)(Kre, {pop: o === "popLayout",isPresent: n,anchorX: s,@@ -20744,11 +20744,11 @@ var Jre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: ichildren: e});};-function Yre() {+function Jre() {return /* @__PURE__ */ new Map();}// node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs-function Tx(e = !0) {+function Ex(e = !0) {let t = (0, F.useContext)(gm);if (t === null) return [!0, null];let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, F.useId)();@@ -20762,23 +20762,23 @@ function Tx(e = !0) {]);return !n && r ? [!1, o] : [!0];}-function Ex() {- return Xre((0, F.useContext)(gm));+function Dx() {+ return Yre((0, F.useContext)(gm));}-function Xre(e) {+function Yre(e) {return e === null || e.isPresent;}// node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs-var Dx = (e) => e.key || "";-function Ox(e) {+var Ox = (e) => e.key || "";+function kx(e) {let t = [];return F.Children.forEach(e, (e) => {(0, F.isValidElement)(e) && t.push(e);}), t;}// node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs-var kx = ({ 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] = Tx(o), f = (0, F.useMemo)(() => Ox(e), [e]), p = o && !u ? [] : f.map(Dx), m = (0, F.useRef)(!0), h = mm(() => /* @__PURE__ */ new Map()), g = (0, F.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, F.useState)(f), [y, b] = (0, F.useState)(f);+var Ax = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {+ let [u, d] = Ex(o), f = (0, F.useMemo)(() => kx(e), [e]), p = o && !u ? [] : f.map(Ox), m = (0, F.useRef)(!0), h = mm(() => /* @__PURE__ */ new Map()), g = (0, F.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, F.useState)(f), [y, b] = (0, F.useState)(f);hm(() => {o && !u && !y.length && d?.();}, [@@ -20794,7 +20794,7 @@ var kx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence}, [y]), hm(() => {m.current = !1;for (let e = 0; e < y.length; e++) {- let t = Dx(y[e]);+ let t = Ox(y[e]);p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);}}, [@@ -20806,15 +20806,15 @@ var kx = ({ 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(Dx(n));+ let r = p.indexOf(Ox(n));r === -1 ? (e.splice(t++, 0, n), S.push(n)) : t = r + S.length + 1;}- return S.every((e) => h.get(Dx(e))) ? e = f : a === "wait" && (e = S), b(Ox(e)), v(f), null;+ return S.every((e) => h.get(Ox(e))) ? e = f : a === "wait" && (e = S), b(kx(e)), v(f), null;}let { forceRender: C } = (0, F.useContext)(pm);return (0, I.jsx)(I.Fragment, { children: y.map((e) => {- let _ = Dx(e), b = o && !u ? !1 : f === y || p.includes(_);- return (0, I.jsx)(Jre, {+ let _ = Ox(e), b = o && !u ? !1 : f === y || p.includes(_);+ return (0, I.jsx)(qre, {isPresent: b,initial: !m.current || n ? void 0 : !1,custom: t,@@ -20835,8 +20835,8 @@ var kx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presencechildren: e}, _);}) });-}, Ax = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), jx = {- animation: ["variants", ...hb],+}, jx = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), Mx = {+ animation: ["variants", ...gb],exit: ["exit"],drag: ["drag", "dragControls"],focus: ["whileFocus"],@@ -20863,28 +20863,28 @@ var kx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence"onViewportLeave"],layout: ["layout", "layoutId"]-}, Mx = !1;-function Zre() {- if (Mx) return;+}, Nx = !1;+function Xre() {+ if (Nx) return;let e = {};- for (let t in jx) e[t] = { isEnabled: (e) => jx[t].some((t) => !!e[t]) };- wb(e), Mx = !0;+ for (let t in Mx) e[t] = { isEnabled: (e) => Mx[t].some((t) => !!e[t]) };+ Tb(e), Nx = !0;}-function Nx() {- return Zre(), ore();+function Px() {+ return Xre(), are();}// node_modules/framer-motion/dist/es/motion/features/load-features.mjs-function Qre(e) {- let t = Nx();+function Zre(e) {+ let t = Px();for (let n in e) t[n] = {...t[n],...e[n]};- wb(t);+ Tb(t);}// node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs-function $re({ children: e, ...t }) {- let n = (0, F.useContext)(xx);+function Qre({ children: e, ...t }) {+ let n = (0, F.useContext)(Sx);t = {...n,...t@@ -20896,77 +20896,77 @@ function $re({ children: e, ...t }) {t.skipAnimations,t.isValidProp]);- return (0, I.jsx)(xx.Provider, {+ return (0, I.jsx)(Sx.Provider, {value: r,children: e});}// node_modules/framer-motion/dist/es/context/MotionContext/index.mjs-var Px = /* @__PURE__ */ (0, F.createContext)({});+var Fx = /* @__PURE__ */ (0, F.createContext)({});// node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs-function eie(e, t) {- if (_b(e)) {+function $re(e, t) {+ if (vb(e)) {let { initial: t, animate: n } = e;return {- initial: t === !1 || mb(t) ? t : void 0,- animate: mb(n) ? n : void 0+ initial: t === !1 || hb(t) ? t : void 0,+ animate: hb(n) ? n : void 0};}return e.inherit === !1 ? {} : t;}// node_modules/framer-motion/dist/es/context/MotionContext/create.mjs-function tie(e) {- let { initial: t, animate: n } = eie(e, (0, F.useContext)(Px));+function eie(e) {+ let { initial: t, animate: n } = $re(e, (0, F.useContext)(Fx));return (0, F.useMemo)(() => ({initial: t,animate: n- }), [Fx(t), Fx(n)]);+ }), [Ix(t), Ix(n)]);}-function Fx(e) {+function Ix(e) {return Array.isArray(e) ? e.join(" ") : e;}// node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs-var Ix = () => ({+var Lx = () => ({style: {},transform: {},transformOrigin: {},vars: {}});// node_modules/framer-motion/dist/es/render/html/use-props.mjs-function Lx(e, t, n) {- for (let r in t) !gv(t[r]) && !Db(r, n) && (e[r] = t[r]);+function Rx(e, t, n) {+ for (let r in t) !gv(t[r]) && !Ob(r, n) && (e[r] = t[r]);}-function nie({ transformTemplate: e }, t) {+function tie({ transformTemplate: e }, t) {return (0, F.useMemo)(() => {- let n = Ix();+ let n = Lx();return Vv(n, t, e), Object.assign({}, n.vars, n.style);}, [t]);}-function rie(e, t) {+function nie(e, t) {let n = e.style || {}, r = {};- return Lx(r, n, e), Object.assign(r, nie(e, t)), r;+ return Rx(r, n, e), Object.assign(r, tie(e, t)), r;}-function iie(e, t) {- let n = {}, r = rie(e, t);+function rie(e, t) {+ let n = {}, r = nie(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 Rx = () => ({- ...Ix(),+var zx = () => ({+ ...Lx(),attrs: {}});// node_modules/framer-motion/dist/es/render/svg/use-props.mjs-function aie(e, t, n, r) {+function iie(e, t, n, r) {let i = (0, F.useMemo)(() => {- let n = Rx();- return Uv(n, t, gx(r), e.transformTemplate, e.style), {+ let n = zx();+ return Uv(n, t, _x(r), e.transformTemplate, e.style), {...n.attrs,style: { ...n.style }};}, [t]);if (e.style) {let t = {};- return Lx(t, e.style, e), {+ return Rx(t, e.style, e), {...i,style: {...t,@@ -20977,21 +20977,21 @@ function aie(e, t, n, r) {return i;}// node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs-var oie = /* @__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 zx(e) {- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || oie.has(e);+var aie = /* @__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 Bx(e) {+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || aie.has(e);}// node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs-function sie(e, t) {- return e.startsWith("on") ? !zx(e) : t?.(e) ?? !zx(e);+function oie(e, t) {+ return e.startsWith("on") ? !Bx(e) : t?.(e) ?? !Bx(e);}-function cie(e, t, n, r) {+function sie(e, t, n, r) {let i = {};- for (let a in e) a === "values" && typeof e.values == "object" || gv(e[a]) || (sie(a, r) || n === !0 && zx(a) || !t && !zx(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);+ for (let a in e) a === "values" && typeof e.values == "object" || gv(e[a]) || (oie(a, r) || n === !0 && Bx(a) || !t && !Bx(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);return i;}// node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs-var lie = [+var cie = ["animate","circle","defs",@@ -21019,12 +21019,12 @@ var lie = ["view"];// node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs-function Bx(e) {- return typeof e != "string" || e.includes("-") ? !1 : !!(lie.indexOf(e) > -1 || /[A-Z]/u.test(e));+function Vx(e) {+ return typeof e != "string" || e.includes("-") ? !1 : !!(cie.indexOf(e) > -1 || /[A-Z]/u.test(e));}// node_modules/framer-motion/dist/es/render/dom/use-render.mjs-function uie(e, t, n, { latestValues: r }, i, a = !1, o, s) {- let c = (o ?? Bx(e) ? aie : iie)(t, r, i, e), l = cie(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {+function lie(e, t, n, { latestValues: r }, i, a = !1, o, s) {+ let c = (o ?? Vx(e) ? iie : rie)(t, r, i, e), l = sie(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {...l,...c,ref: n@@ -21035,21 +21035,21 @@ function uie(e, t, n, { latestValues: r }, i, a = !1, o, s) {});}// node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs-function die({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {+function uie({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {return {- latestValues: fie(n, r, i, e),+ latestValues: die(n, r, i, e),renderState: t()};}-function fie(e, t, n, r) {+function die(e, t, n, r) {let i = {}, a = r(e, {});for (let e in a) i[e] = hy(a[e]);- let { initial: o, animate: s } = e, c = _b(e), l = vb(e);+ let { initial: o, animate: s } = e, c = vb(e), l = yb(e);t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));let u = n ? n.initial === !1 : !1;u ||= o === !1;let d = u ? s : o;- if (d && typeof d != "boolean" && !pb(d)) {+ if (d && typeof d != "boolean" && !mb(d)) {let t = Array.isArray(d) ? d : [d];for (let n = 0; n < t.length; n++) {let r = fv(e, t[n]);@@ -21069,18 +21069,18 @@ function fie(e, t, n, r) {}return i;}-var Vx = (e) => (t, n) => {- let r = (0, F.useContext)(Px), i = (0, F.useContext)(gm), a = () => die(e, t, r, i);+var Hx = (e) => (t, n) => {+ let r = (0, F.useContext)(Fx), i = (0, F.useContext)(gm), a = () => uie(e, t, r, i);return n ? a() : mm(a);-}, pie = /*@__PURE__*/ Vx({- scrapeMotionValuesFromProps: Ob,- createRenderState: Ix-}), mie = /*@__PURE__*/ Vx({- scrapeMotionValuesFromProps: _x,- createRenderState: Rx-}), hie = /* @__PURE__ */ Symbol.for("motionComponentSymbol");+}, fie = /*@__PURE__*/ Hx({+ scrapeMotionValuesFromProps: kb,+ createRenderState: Lx+}), pie = /*@__PURE__*/ Hx({+ scrapeMotionValuesFromProps: vx,+ createRenderState: zx+}), mie = /* @__PURE__ */ Symbol.for("motionComponentSymbol");// node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs-function gie(e, t, n) {+function hie(e, t, n) {let r = (0, F.useRef)(n);(0, F.useInsertionEffect)(() => {r.current = n;@@ -21098,10 +21098,10 @@ function gie(e, t, n) {}, [t]);}// node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs-var Hx = /* @__PURE__ */ (0, F.createContext)({});+var Ux = /* @__PURE__ */ (0, F.createContext)({});// node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs-function _ie(e, t, n, r, i, a) {- let { visualElement: o } = (0, F.useContext)(Px), s = (0, F.useContext)(Ax), c = (0, F.useContext)(gm), l = (0, F.useContext)(xx), u = l.reducedMotion, d = l.skipAnimations, f = (0, F.useRef)(null), p = (0, F.useRef)(!1);+function gie(e, t, n, r, i, a) {+ let { visualElement: o } = (0, F.useContext)(Fx), s = (0, F.useContext)(jx), c = (0, F.useContext)(gm), l = (0, F.useContext)(Sx), u = l.reducedMotion, d = l.skipAnimations, f = (0, F.useRef)(null), p = (0, F.useRef)(!1);r ||= s.renderer, !f.current && r && (f.current = r(e, {visualState: t,parent: o,@@ -21112,7 +21112,7 @@ function _ie(e, t, n, r, i, a) {skipAnimations: d,isSVG: a}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));- let m = f.current, h = (0, F.useContext)(Hx);+ let m = f.current, h = (0, F.useContext)(Ux);m && !m.projection && i && (m.type === "html" || m.type === "svg") && i.create(m, n, h), (0, F.useInsertionEffect)(() => {m && m.props !== n && m.update(n, c);});@@ -21128,46 +21128,46 @@ function _ie(e, t, n, r, i, a) {}), m;}// node_modules/framer-motion/dist/es/motion/index.mjs-function Ux(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {- r && Qre(r);- let a = n ? n === "svg" : Bx(e), o = a ? mie : pie;+function Wx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {+ r && Zre(r);+ let a = n ? n === "svg" : Vx(e), o = a ? pie : fie;function s(n, s) {- let c, l = vie(n);- mm(() => !!ub.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {+ let c, l = _ie(n);+ mm(() => !!db.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {...n,initial: !1});let u = {- ...(0, F.useContext)(xx),+ ...(0, F.useContext)(Sx),...n,layoutId: l- }, { isStatic: d, isValidProp: f } = u, p = tie(n), m = o(n, d);+ }, { isStatic: d, isValidProp: f } = u, p = eie(n), m = o(n, d);if (!d && typeof window < "u") {- yie(u, r);- let t = bie(u);- p.visualElement = _ie(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);+ vie(u, r);+ let t = yie(u);+ p.visualElement = gie(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);}- return (0, I.jsxs)(Px.Provider, {+ return (0, I.jsxs)(Fx.Provider, {value: p,children: [c && p.visualElement ? (0, I.jsx)(c, {visualElement: p.visualElement,...u- }) : null, uie(e, n, gie(m, p.visualElement, s), m, d, t, a, f)]+ }) : null, lie(e, n, hie(m, p.visualElement, s), m, d, t, a, f)]});}s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;let c = (0, F.forwardRef)(s);- return c[hie] = e, c;+ return c[mie] = e, c;}-function vie({ layoutId: e }) {+function _ie({ layoutId: e }) {let t = (0, F.useContext)(pm).id;return t && e !== void 0 ? t + "-" + e : e;}-function yie(e, t) {- (0, F.useContext)(Ax).strict;+function vie(e, t) {+ (0, F.useContext)(jx).strict;}-function bie(e) {- let { drag: t, layout: n } = Nx();+function yie(e) {+ let { drag: t, layout: n } = Px();if (!t && !n) return {};let r = {...t,@@ -21180,19 +21180,19 @@ function bie(e) {};}// node_modules/framer-motion/dist/es/render/components/create-proxy.mjs-function xie(e, t) {- if (typeof Proxy > "u") return Ux;- let n = /* @__PURE__ */ new Map(), r = (n, r) => Ux(n, r, e, t);- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Ux(a, void 0, e, t)), n.get(a)) });+function bie(e, t) {+ if (typeof Proxy > "u") return Wx;+ let n = /* @__PURE__ */ new Map(), r = (n, r) => Wx(n, r, e, t);+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Wx(a, void 0, e, t)), n.get(a)) });}// node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs-var Sie = (e, t) => t.isSVG ?? Bx(e) ? new Bre(t) : new lre(t, { allowProjection: e !== F.Fragment }), Cie = class extends mx {+var xie = (e, t) => t.isSVG ?? Vx(e) ? new zre(t) : new cre(t, { allowProjection: e !== F.Fragment }), Sie = class extends hx {constructor(e) {- super(e), e.animationState ||= Hre(e);+ super(e), e.animationState ||= Vre(e);}updateAnimationControlsSubscription() {let { animate: e } = this.node.getProps();- pb(e) && (this.unmountControls = e.subscribe(this.node));+ mb(e) && (this.unmountControls = e.subscribe(this.node));}mount() {this.updateAnimationControlsSubscription();@@ -21203,11 +21203,11 @@ var Sie = (e, t) => t.isSVG ?? Bx(e) ? new Bre(t) : new lre(t, { allowProjectionunmount() {this.node.animationState.reset(), this.unmountControls?.();}-}, wie = 0, Tie = {- animation: { Feature: Cie },- exit: { Feature: class extends mx {+}, Cie = 0, wie = {+ animation: { Feature: Sie },+ exit: { Feature: class extends hx {constructor() {- super(...arguments), this.id = wie++;+ super(...arguments), this.id = Cie++;}update() {let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;@@ -21237,9 +21237,9 @@ var Sie = (e, t) => t.isSVG ?? Bx(e) ? new Bre(t) : new lre(t, { allowProjection}unmount() {}} }-}, Eie = class extends mx {+}, Tie = class extends hx {constructor(e) {- super(e), this.removeGroupControls = Tm, this.removeListeners = Tm, this.controls = new Mre(e);+ super(e), this.removeGroupControls = Tm, this.removeListeners = Tm, this.controls = new jre(e);}mount() {let { dragControls: e } = this.node.getProps();@@ -21252,14 +21252,14 @@ var Sie = (e, t) => t.isSVG ?? Bx(e) ? new Bre(t) : new lre(t, { allowProjectionunmount() {this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();}-}, Wx = (e) => (t, n) => {+}, Gx = (e) => (t, n) => {e && pg.update(() => e(t, n), !1, !0);-}, Die = class extends mx {+}, Eie = class extends hx {constructor() {super(...arguments), this.removePointerDownListener = Tm;}onPointerDown(e) {- this.session = new Bb(e, this.createPanHandlers(), {+ this.session = new Vb(e, this.createPanHandlers(), {transformPagePoint: this.node.getTransformPagePoint(),contextWindow: this.node.current?.ownerDocument.defaultView});@@ -21267,16 +21267,16 @@ var Sie = (e, t) => t.isSVG ?? Bx(e) ? new Bre(t) : new lre(t, { allowProjectioncreatePanHandlers() {let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();return {- onSessionStart: Wx(e),- onStart: Wx(t),- onMove: Wx(n),+ onSessionStart: Gx(e),+ onStart: Gx(t),+ onMove: Gx(n),onEnd: (e, t) => {delete this.session, r && pg.postRender(() => r(e, t));}};}mount() {- this.removePointerDownListener = jb(this.node.current, "pointerdown", (e) => this.onPointerDown(e));+ this.removePointerDownListener = Mb(this.node.current, "pointerdown", (e) => this.onPointerDown(e));}update() {this.session?.updateHandlers(this.createPanHandlers());@@ -21284,12 +21284,12 @@ var Sie = (e, t) => t.isSVG ?? Bx(e) ? new Bre(t) : new lre(t, { allowProjectionunmount() {this.removePointerDownListener(), this.session?.end();}-}, Gx = !1, Kx = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({+}, Kx = !1, qx = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({layout: e,layoutDependency: t,layoutAnchor: n,animationType: typeof e == "string" ? e : "both"-}), qx = (e, t) => {+}), Jx = (e, t) => {let { snapshot: n } = e, r = e.getStack();r?.remove(e);let i = r?.lead;@@ -21298,21 +21298,21 @@ var Sie = (e, t) => t.isSVG ?? Bx(e) ? new Bre(t) : new lre(t, { allowProjectionlet { resumeFrom: t } = e;t?.isPresent !== !1 && e.getStack().members.includes(t) && (t.hide(), e.resumeFrom = void 0, e.snapshot = n);};-}, Oie = class extends F.Component {+}, Die = class extends F.Component {componentDidMount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;- i && (t.group?.add(i), r && n?.register?.(i), Gx && i.root.didUpdate(), i.options.layoutId !== r && qx(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({+ i && (t.group?.add(i), r && n?.register?.(i), Kx && i.root.didUpdate(), i.options.layoutId !== r && Jx(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({...i.options,- ...Kx(this.props),+ ...qx(this.props),onExitComplete: () => this.safeToRemove()- })), Yy.hasEverUpdated = !0;+ })), Xy.hasEverUpdated = !0;}getSnapshotBeforeUpdate(e) {let { layoutDependency: t, layoutId: n, visualElement: r, drag: i, isPresent: a } = this.props, { projection: o } = r;- return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), qx(o, n)), o.setOptions({+ return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), Jx(o, n)), o.setOptions({...o.options,- ...Kx(this.props)- }), Gx = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || pg.postRender(() => {+ ...qx(this.props)+ }), Kx = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || pg.postRender(() => {o.getStack()?.members.length || this.safeToRemove();}))), null;}@@ -21324,7 +21324,7 @@ var Sie = (e, t) => t.isSVG ?? Bx(e) ? new Bre(t) : new lre(t, { allowProjection}componentWillUnmount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;- Gx = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));+ Kx = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));}safeToRemove() {this.props.safeToRemove?.();@@ -21333,39 +21333,39 @@ var Sie = (e, t) => t.isSVG ?? Bx(e) ? new Bre(t) : new lre(t, { allowProjectionreturn null;}};-function Jx(e) {- let [t, n] = Tx(), r = (0, F.useContext)(pm);- return (0, I.jsx)(Oie, {+function Yx(e) {+ let [t, n] = Ex(), r = (0, F.useContext)(pm);+ return (0, I.jsx)(Die, {...e,layoutGroup: r,- switchLayoutGroup: (0, F.useContext)(Hx),+ switchLayoutGroup: (0, F.useContext)(Ux),isPresent: t,safeToRemove: n});}// node_modules/framer-motion/dist/es/motion/features/drag.mjs-var kie = {- pan: { Feature: Die },+var Oie = {+ pan: { Feature: Eie },drag: {- Feature: Eie,- ProjectionNode: db,- MeasureLayout: Jx+ Feature: Tie,+ ProjectionNode: fb,+ MeasureLayout: Yx}};// node_modules/framer-motion/dist/es/gestures/hover.mjs-function Yx(e, t, n, r) {+function Xx(e, t, n, r) {let { props: i } = e, a = "while" + n;e.animationState && i[a] && e.animationState.setActive(a, r === "Start");let o = i["on" + n + r];- o && pg.postRender(() => o(t, Ab(t)));+ o && pg.postRender(() => o(t, jb(t)));}-var Aie = class extends mx {+var kie = class extends hx {mount() {let { current: e } = this.node;- e && (this.unmount = Ire(e, (e, t) => (Yx(this.node, t, "Hover", "Start"), (e) => Yx(this.node, e, "Hover", "End"))));+ e && (this.unmount = Fre(e, (e, t) => (Xx(this.node, t, "Hover", "Start"), (e) => Xx(this.node, e, "Hover", "End"))));}unmount() {}-}, jie = class extends mx {+}, Aie = class extends hx {constructor() {super(...arguments), this.isActive = !1;}@@ -21382,51 +21382,51 @@ var Aie = class extends mx {this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);}mount() {- this.unmount = Em(lb(this.node.current, "focus", () => this.onFocus()), lb(this.node.current, "blur", () => this.onBlur()));+ this.unmount = Em(ub(this.node.current, "focus", () => this.onFocus()), ub(this.node.current, "blur", () => this.onBlur()));}unmount() {}};// node_modules/framer-motion/dist/es/gestures/press.mjs-function Xx(e, t, n) {- e.current instanceof HTMLButtonElement && e.current.disabled || Yx(e, t, "Tap", n);+function Zx(e, t, n) {+ e.current instanceof HTMLButtonElement && e.current.disabled || Xx(e, t, "Tap", n);}-var Mie = class extends mx {+var jie = class extends hx {mount() {let { current: e } = this.node;if (!e) return;let { globalTapTarget: t, propagate: n } = this.node.props;- this.unmount = Rre(e, (e, t) => (Xx(this.node, t, "Start"), (e, { success: t }) => Xx(this.node, e, t ? "" : "Cancel")), {+ this.unmount = Lre(e, (e, t) => (Zx(this.node, t, "Start"), (e, { success: t }) => Zx(this.node, e, t ? "" : "Cancel")), {useGlobalTarget: t,stopPropagation: n?.tap === !1});}unmount() {}-}, Zx = /* @__PURE__ */ new WeakMap(), Qx = /* @__PURE__ */ new WeakMap(), Nie = (e) => {- let t = Zx.get(e.target);+}, Qx = /* @__PURE__ */ new WeakMap(), $x = /* @__PURE__ */ new WeakMap(), Mie = (e) => {+ let t = Qx.get(e.target);t && t(e);-}, Pie = (e) => {- e.forEach(Nie);+}, Nie = (e) => {+ e.forEach(Mie);};-function Fie({ root: e, ...t }) {+function Pie({ root: e, ...t }) {let n = e || document;- Qx.has(n) || Qx.set(n, {});- let r = Qx.get(n), i = JSON.stringify(t);- return r[i] || (r[i] = new IntersectionObserver(Pie, {+ $x.has(n) || $x.set(n, {});+ let r = $x.get(n), i = JSON.stringify(t);+ return r[i] || (r[i] = new IntersectionObserver(Nie, {root: e,...t})), r[i];}-function Iie(e, t, n) {- let r = Fie(t);- return Zx.set(e, n), r.observe(e), () => {- Zx.delete(e), r.unobserve(e);+function Fie(e, t, n) {+ let r = Pie(t);+ return Qx.set(e, n), r.observe(e), () => {+ Qx.delete(e), r.unobserve(e);};}// node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs-var Lie = {+var Iie = {some: 0,all: 1-}, Rie = class extends mx {+}, Lie = class extends hx {constructor() {super(...arguments), this.hasEnteredView = !1, this.isInView = !1;}@@ -21435,7 +21435,7 @@ var Lie = {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 : Lie[r]+ threshold: typeof r == "number" ? r : Iie[r]}, o = (e) => {let { isIntersecting: t } = e;if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;@@ -21443,7 +21443,7 @@ var Lie = {let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;a && a(e);};- this.stopObserver = Iie(this.node.current, a, o);+ this.stopObserver = Fie(this.node.current, a, o);}mount() {this.startObserver();@@ -21455,61 +21455,61 @@ var Lie = {"amount","margin","root"- ].some(zie(e, t)) && this.startObserver();+ ].some(Rie(e, t)) && this.startObserver();}unmount() {this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;}};-function zie({ viewport: e = {} }, { viewport: t = {} } = {}) {+function Rie({ viewport: e = {} }, { viewport: t = {} } = {}) {return (n) => e[n] !== t[n];}// node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs-var Bie = /*@__PURE__*/ xie(/* @__PURE__ */ Object.assign({}, Tie, {- inView: { Feature: Rie },- tap: { Feature: Mie },- focus: { Feature: jie },- hover: { Feature: Aie }-}, kie, { layout: {- ProjectionNode: db,- MeasureLayout: Jx-} }), Sie);+var zie = /*@__PURE__*/ bie(/* @__PURE__ */ Object.assign({}, wie, {+ inView: { Feature: Lie },+ tap: { Feature: jie },+ focus: { Feature: Aie },+ hover: { Feature: kie }+}, Oie, { layout: {+ ProjectionNode: fb,+ MeasureLayout: Yx+} }), xie);// node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs-function $x() {- !bb.current && xb();- let [e] = (0, F.useState)(yb.current);+function eS() {+ !xb.current && Sb();+ let [e] = (0, F.useState)(bb.current);return e;}// node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs-function eS(e) {+function tS(e) {return typeof e == "object" && !Array.isArray(e);}// node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs-function tS(e, t, n, r) {- return e == null ? [] : typeof e == "string" && eS(t) ? Pv(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];+function nS(e, t, n, r) {+ return e == null ? [] : typeof e == "string" && tS(t) ? Pv(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 Vie(e, t, n) {+function Bie(e, t, n) {return e * (t + 1) + n * t;}// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs-function nS(e, t) {+function rS(e, t) {if (t.has(e)) return t.get(e);let [, n, r] = e.match(/^(.+?)([+-][\d.]+)$/) || [];return t.has(n) ? Math.max(0, t.get(n) + parseFloat(r)) : void 0;}-function Hie(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))) : nS(t, r) ?? e;+function Vie(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))) : rS(t, r) ?? e;}// node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs-function Uie(e, t, n) {+function Hie(e, t, n) {for (let r = 0; r < e.length; r++) {let i = e[r];i.at > t && i.at < n && (vm(e, i), r--);}}-function Wie(e, t, n, r, i, a) {- Uie(e, i, a);+function Uie(e, t, n, r, i, a) {+ Hie(e, i, a);for (let o = 0; o < t.length; o++) e.push({value: t[o],at: tg(i, a, r[o]),@@ -21517,19 +21517,19 @@ function Wie(e, t, n, r, i, a) {});}// node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs-function Gie(e, t, n = 0) {+function Wie(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 Kie(e, t) {+function Gie(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 qie = "easeInOut", Jie = 20;-function Yie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {+var Kie = "easeInOut", qie = 20;+function Jie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {let o = t.duration || .3, s = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), l = {}, u = /* @__PURE__ */ new Map(), d = 0, f = 0, p = 0, m = (e, n) => {- let a = n, s = (e) => typeof e == "number" ? n + e : Hie(f, e, d, u);+ let a = n, s = (e) => typeof e == "number" ? n + e : Vie(f, e, d, u);for (let n = 0; n < e.length; n++) {let h = e[n];if (typeof h == "string") {@@ -21544,12 +21544,12 @@ function Yie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {let [g, _, v = {}] = h;v.at !== void 0 && (f = s(v.at));let y = 0, b = (e, n, r, a = 0, s = 0) => {- let c = Xie(e), { delay: l = 0, times: u = Lg(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;+ let c = Yie(e), { delay: l = 0, times: u = Lg(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;r.mixer ||= n.mixer;let x = typeof l == "function" ? l(a, s) : l, S = c.length, C = M_(d) ? d : i?.[d || "keyframes"];if (S <= 2 && C) {let e = 100;- if (S === 2 && $ie(c)) {+ if (S === 2 && Qie(c)) {let t = c[1] - c[0];e = Math.abs(t);}@@ -21565,9 +21565,9 @@ function Yie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {let w = f + x;u.length === 1 && u[0] === 0 && (u[1] = 1);let T = u.length - c.length;- if (T > 0 && Ig(u, T), c.length === 1 && c.unshift(null), m && m < Jie) {+ if (T > 0 && Ig(u, T), c.length === 1 && c.unshift(null), m && m < qie) {let e = b > 0 ? g / b : 0;- b = Vie(b, m, g);+ b = Bie(b, m, g);let t = [...c], n = [...u];v = Array.isArray(v) ? [...v] : [v];let r = [...v], i = h === "reverse" || h === "mirror", a = t, o = r;@@ -21577,20 +21577,20 @@ function Yie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {e > 0 && (c.push(c[c.length - 1]), u.push(p), v.push("linear")), c.push(...d);for (let e = 0; e < d.length; e++) u.push(n[e] + p), v.push(e === 0 ? "linear" : /* @__PURE__ */ Jm(f, e - 1));}- Gie(u, m, e);+ Wie(u, m, e);}let E = w + b;- Wie(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);+ Uie(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);};if (gv(g)) {- let e = rS(g, c);- b(_, v, iS("default", e));+ let e = iS(g, c);+ b(_, v, aS("default", e));} else {- let e = tS(g, _, r, l), t = e.length;+ let e = nS(g, _, r, l), t = e.length;for (let n = 0; n < t; n++) {_ = _, v = v;- let r = e[n], i = rS(r, c);- for (let e in _) b(_[e], Zie(v, e), iS(e, i), n, t);+ let r = e[n], i = iS(r, c);+ for (let e in _) b(_[e], Xie(v, e), aS(e, i), n, t);}}d = f, f += y, a = Math.max(a, f);@@ -21600,13 +21600,13 @@ function Yie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {return m(e, 0), a && (a.duration = p, a.labels = u), c.forEach((e, r) => {for (let i in e) {let a = e[i];- a.sort(Kie);+ a.sort(Gie);let o = [], c = [], l = [];for (let e = 0; e < a.length; e++) {let { at: t, value: n, easing: r } = a[e];o.push(n), c.push(/* @__PURE__ */ Dm(0, p, t)), l.push(r || "easeOut");}- c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(qie)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {+ c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(Kie)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {keyframes: {},transition: {}});@@ -21624,43 +21624,43 @@ function Yie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {}}), s;}-function rS(e, t) {+function iS(e, t) {return !t.has(e) && t.set(e, {}), t.get(e);}-function iS(e, t) {+function aS(e, t) {return t[e] || (t[e] = []), t[e];}-function Xie(e) {+function Yie(e) {return Array.isArray(e) ? e : [e];}-function Zie(e, t) {+function Xie(e, t) {return e && e[t] ? {...e,...e[t]} : { ...e };}-var Qie = (e) => typeof e == "number", $ie = (e) => e.every(Qie);+var Zie = (e) => typeof e == "number", Qie = (e) => e.every(Zie);// node_modules/framer-motion/dist/es/animation/animate/subject.mjs-function eae(e, t) {- return gv(e) || typeof e == "number" || typeof e == "string" && !eS(t);+function $ie(e, t) {+ return gv(e) || typeof e == "number" || typeof e == "string" && !tS(t);}-function aS(e, t, n, r) {+function oS(e, t, n, r) {let i = [];- if (eae(e, t)) i.push(fy(e, eS(t) && t.default || t, n && (n.default || n)));+ if ($ie(e, t)) i.push(fy(e, tS(t) && t.default || t, n && (n.default || n)));else {if (e == null) return i;- let a = tS(e, t, r), o = a.length;+ let a = nS(e, t, r), o = a.length;for (let e = 0; e < o; e++) {let r = a[e], s = { ...n };- "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...fne(r, t, s, fb.get(r))) : i.push(...Ov(Kte(r) ?? pne, r, t, s));+ "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...fne(r, t, s, pb.get(r))) : i.push(...Ov(Kte(r) ?? pne, r, t, s));}}return i;}// node_modules/framer-motion/dist/es/animation/animate/sequence.mjs-function tae(e, t, n, r) {+function eae(e, t, n, r) {let i = [];- return Yie(e.map((e) => {+ return Jie(e.map((e) => {if (Array.isArray(e) && typeof e[0] == "function") {let t = e[0], n = sv(0);return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [@@ -21675,26 +21675,26 @@ function tae(e, t, n, r) {}return e;}), t, n, { spring: Ng }, r).forEach(({ keyframes: e, transition: t }, n) => {- i.push(...aS(n, e, t));+ i.push(...oS(n, e, t));}), i;}// node_modules/framer-motion/dist/es/animation/timeline/index.mjs-var oS = 0;-function nae(e, t) {+var sS = 0;+function tae(e, t) {let n = [...e], r = typeof n[0] == "function" ? Math.max(1, n.length - 1) : 2;return n[r] = {...n[r],at: t}, n;}-var sS = (e, t) => t === void 0 ? e : {+var cS = (e, t) => t === void 0 ? e : {name: e,at: t};-function cS(e) {+function lS(e) {e.pause(), e.time = 0, e.stop();}-var lS = class e {+var uS = class e {constructor(e = [], t = {}, n) {this.options = t, this.entries = [], this.repeatIndex = 0, this.prevTime = 0, this.markers = [], this.labels = /* @__PURE__ */ new Map(), this.totalDuration = 0, this.isDirty = !1, this.isDone = !1, this.isRebuilding = !1, this.playbackSpeed = 1, this.motionScope = jv.current, this.isKilled = !1, this.isWrapped = !1, this.stop = () => {this.flush(), this.group?.stop();@@ -21713,7 +21713,7 @@ var lS = class e {item: e,at: t,marker: {- name: "_m" + oS++,+ name: "_m" + sS++,time: 0,callback: e}@@ -21724,7 +21724,7 @@ var lS = class e {item: t || {},at: e,marker: {- name: "_m" + oS++,+ name: "_m" + sS++,time: 0,callback: t,pause: !0@@ -21818,19 +21818,19 @@ var lS = class e {this.isDirty && !this.parent && !this.isKilled && this.build();}adopt(e) {- this.group &&= (cS(this.group), void 0), this.isDirty = !1, this.parent = e;+ this.group &&= (lS(this.group), void 0), this.isDirty = !1, this.parent = e;}build() {this.isDirty = !1, this.isWrapped = !1;let e = this.group, t = 0;- e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, cS(e)), this.isRebuilding = !1);+ e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, lS(e)), this.isRebuilding = !1);let { defaultTransition: n, onComplete: r, onUpdate: i, onRepeat: a, onReverseComplete: o, autoplay: s, scope: c, ...l } = this.options, u = {};c?.reduceMotion !== void 0 && (u.reduceMotion = c.reduceMotion), c?.skipAnimations !== void 0 && (u.skipAnimations = c.skipAnimations), Object.assign(u, l);let d = /* @__PURE__ */ new Map(), f = {}, p = jv.current;jv.current = this.motionScope;let m;try {- m = tae(this.toSequence(d), {+ m = eae(this.toSequence(d), {defaultTransition: n,...u}, c, f);@@ -21852,16 +21852,16 @@ var lS = class e {t = Math.min(t, g), this.isDone && t < g && this.newFinished(), this.scrollTimeline ? this.detachScroll = v.attachTimeline(this.scrollTimeline) : (v.speed = this.playbackSpeed, this.isPaused && v.pause(), t && (v.time = t)), this.repeatIndex = this.currentRepeat(), this.prevTime = t || -1, this.watch();}toSequence(t) {- return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), sS(i.name, r)) : n instanceof e ? {+ return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), cS(i.name, r)) : n instanceof e ? {sequence: n.toSequence(t),at: r- } : typeof n == "string" ? sS(n, r) : r === void 0 ? n : Array.isArray(n) ? nae(n, r) : {+ } : typeof n == "string" ? cS(n, r) : r === void 0 ? n : Array.isArray(n) ? tae(n, r) : {...n,at: r});}resolve(e) {- return this.flush(), typeof e == "number" ? e : nS(e, this.labels) ?? this.time;+ return this.flush(), typeof e == "number" ? e : rS(e, this.labels) ?? this.time;}currentRepeat() {let { repeat: e = 0, repeatDelay: t = 0, delay: n = 0 } = this.options, r = this.totalDuration + t, i = (this.clockAnimation?.time ?? 0) - n;@@ -21909,16 +21909,16 @@ var lS = class e {}};// node_modules/framer-motion/dist/es/animation/animate/index.mjs-function rae(e) {+function nae(e) {return Array.isArray(e) && e.some(Array.isArray);}-function iae(e = {}) {+function rae(e = {}) {let { scope: t, reduceMotion: n, skipAnimations: r } = e;function i(e, i, a) {let o = jv.current?.transition, s = {};n !== void 0 && (s.reduceMotion = n), r !== void 0 && (s.skipAnimations = r);let c;- if (rae(e)) {+ if (nae(e)) {let n = {...s,...i,@@ -21927,14 +21927,14 @@ function iae(e = {}) {o && (n.defaultTransition = {...o,...n.defaultTransition- }), c = new lS(e, n);+ }), c = new uS(e, n);} else {let { onComplete: n, ...r } = a || {}, l = {...s,...o,...r}, { onUpdate: u } = r;- c = new lS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [+ c = new uS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [u || (() => {}),Array.isArray(i) ? i : [e, i],{@@ -21949,18 +21949,18 @@ function iae(e = {}) {...s,onComplete: n,scope: t- }, aS(e, i, l, t));+ }, oS(e, i, l, t));}return c;}return i;}-var uS = /* @__PURE__ */ Object.assign(/* @__PURE__ */ iae(), {+var dS = /* @__PURE__ */ Object.assign(/* @__PURE__ */ rae(), {addEffect: Gte,removeEffect: Ev});// node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs-function aae(e, t, n, r) {+function iae(e, t, n, r) {if (e == null) return [];let i = Pv(e, r), a = i.length, o = [];for (let e = 0; e < a; e++) {@@ -21987,7 +21987,7 @@ function aae(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] = px(r, i)), t_(t), Wte(t, i), !a && t.length < 2 && t.unshift(px(r, i)), n.keyframes = t;+ !a && t[0] === null && (t[0] = mx(r, i)), t_(t), Wte(t, i), !a && t.length < 2 && t.unshift(mx(r, i)), n.keyframes = t;}let s = [];for (let e = 0; e < o.length; e++) {@@ -21996,12 +21996,12 @@ function aae(e, t, n, r) {}return s;}-var oae = /*@__PURE__*/ ((e) => {+var aae = /*@__PURE__*/ ((e) => {function t(t, n, r) {- return new tv(aae(t, n, r, e));+ return new tv(iae(t, n, r, e));}return t;-})(), dS = Bie, fS = class {+})(), fS = zie, pS = class {constructor(e) {this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;}@@ -22016,22 +22016,22 @@ var oae = /*@__PURE__*/ ((e) => {let r = this.clone();return t.addDescendants(r, e), r;}-}, pS = class extends fS {+}, mS = class extends pS {filter(e, t, n) {- let [r, i] = _S(e, t, this.firstChildKey, n), a = this.clone();+ let [r, i] = vS(e, t, this.firstChildKey, n), a = this.clone();return a.firstChildKey = r, a.lastChildKey = i, a;}};-(class extends fS {+(class extends pS {static {this.type = "header";}});-var mS = class extends fS {+var hS = class extends pS {static {this.type = "loader";}-}, hS = class extends pS {+}, gS = class extends mS {static {this.type = "item";}@@ -22042,7 +22042,7 @@ var mS = class extends fS {}return null;}-}, sae = class extends pS {+}, oae = class extends mS {static {this.type = "section";}@@ -22054,7 +22054,7 @@ var mS = class extends fS {}return null;}-}, gS = class {+}, _S = class {get size() {return this.itemCount;}@@ -22129,14 +22129,14 @@ var mS = class extends fS {this.firstKey = e, this.lastKey = t, this.frozen = !n;}filter(e) {- let t = new this.constructor(), [n, r] = _S(this, t, this.firstKey, e);+ let t = new this.constructor(), [n, r] = vS(this, t, this.firstKey, e);return t?.commit(n, r), t;}constructor() {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;}};-function _S(e, t, n, r) {+function vS(e, t, n, r) {if (n == null) return [null, null];let i = null, a = null, o = e.getItem(n);for (; o != null;) {@@ -22150,7 +22150,7 @@ function _S(e, t, n, r) {return [i?.key ?? null, a?.key ?? null];}// node_modules/react-aria/dist/private/collections/Document.mjs-var vS = class {+var yS = class {constructor(e) {this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}@@ -22231,7 +22231,7 @@ var vS = class {for (; e && e.isHidden;) e = e.previousSibling;return e;}-}, yS = class e extends vS {+}, bS = class e extends yS {constructor(e, t) {super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;}@@ -22282,7 +22282,7 @@ var vS = class {setAttribute() {}setAttributeNS() {}removeAttribute() {}-}, cae = class extends vS {+}, sae = class extends yS {constructor(e) {super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.keyOwners = /* @__PURE__ */ new Map(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;}@@ -22290,7 +22290,7 @@ var vS = class {return !0;}createElement(e) {- return new yS(e, this);+ return new bS(e, this);}getMutableCollection() {return this.nextCollection ||= this.collection.clone(), this.nextCollection;@@ -22312,8 +22312,8 @@ var vS = class {return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;}updateCollection() {- for (let e of this.dirtyNodes) e instanceof yS && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof yS ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);+ for (let e of this.dirtyNodes) e instanceof bS && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof bS ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));}queueUpdate() {@@ -22331,13 +22331,13 @@ var vS = class {}};// node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function bS(e) {+function xS(e) {let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, F.useMemo)(() => void 0, [t]), s = (0, F.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);return (0, F.useMemo)(() => {if (n && typeof t == "function") {let e = [];for (let a of n) {- let n = lae(a) ? a : null, o = n ? s.get(n) : null;+ let n = cae(a) ? a : null, o = n ? s.get(n) : null;if (!o) {o = t(a);let c = o.props.id ?? a?.key ?? a?.id;@@ -22362,7 +22362,7 @@ function bS(e) {i]);}-function lae(e) {+function cae(e) {switch (typeof e) {case "object": return e != null;case "function":@@ -22371,24 +22371,24 @@ function lae(e) {}}// node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function xS(e) {+function SS(e) {e.focus({ preventScroll: !0 });}// node_modules/react-aria/dist/private/utils/domHelpers.mjs-var SS = (e) => uae(e) ? e.document : dae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), CS = (e) => SS(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function wS(e) {+var CS = (e) => lae(e) ? e.document : uae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), wS = (e) => CS(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function TS(e) {return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";}-function uae(e) {+function lae(e) {return typeof e == "object" && !!e && "window" in e && e.window === e;}-function dae(e) {- return wS(e) && e.nodeType === 9;+function uae(e) {+ return TS(e) && e.nodeType === 9;}-function TS(e) {- return wS(e) && e.nodeType === 11 && "host" in e;+function ES(e) {+ return TS(e) && e.nodeType === 11 && "host" in e;}-function ES(e, t, n, r) {+function DS(e, t, n, r) {if (n == null || e == null) return () => {};let i = Array.isArray(e) ? e : [e];for (let e of i) e.addEventListener(t, n, r);@@ -22396,7 +22396,7 @@ function ES(e, t, n, r) {for (let e of i) e.removeEventListener(t, n, r);};}-function DS(e, t, n, r) {+function OS(e, t, n, r) {if (e == null) return () => {};let i = [], a = Array.isArray(e) ? e : [e];for (let e of a) {@@ -22410,70 +22410,70 @@ function DS(e, t, n, r) {};}// node_modules/react-stately/dist/private/flags/flags.mjs-var fae = !1;-function OS() {- return fae;+var dae = !1;+function kS() {+ return dae;}// node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function kS(e, t) {- if (!OS()) return t && e ? e.contains(t) : !1;+function AS(e, t) {+ if (!kS()) return t && e ? e.contains(t) : !1;if (!e || !t) return !1;let n = t;for (; n != null;) {if (n === e) return !0;- n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : TS(n) ? n.host : n.parentNode;+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : ES(n) ? n.host : n.parentNode;}return !1;}-var AS = (e = document) => {- if (!OS()) return e.activeElement;+var jS = (e = document) => {+ if (!kS()) return e.activeElement;let t = e.activeElement;for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;return t;};function G(e) {- if (OS() && e.target instanceof Element && e.target.shadowRoot) {+ if (kS() && e.target instanceof Element && e.target.shadowRoot) {if ("composedPath" in e) return e.composedPath()[0] ?? null;if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null;}return e.target;}-function jS(e, t) {+function MS(e, t) {if (t === null) return [];- t ??= CS(e);+ t ??= wS(e);let n = [t];- if (!OS() || !e || e === t) return n;+ if (!kS() || !e || e === t) return n;let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;- for (; TS(i) && i !== r;) n.push(i), i = i.host.getRootNode();+ for (; ES(i) && i !== r;) n.push(i), i = i.host.getRootNode();return n;}-function MS(e) {+function NS(e) {if (!e) return !1;- let t = e.getRootNode(), n = CS(e);+ let t = e.getRootNode(), n = wS(e);if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;let r = t.activeElement;return r != null && e.contains(r);}// node_modules/react-aria/dist/private/utils/isElementVisible.mjs-var pae = typeof Element < "u" && "checkVisibility" in Element.prototype;-function mae(e) {- let t = CS(e);+var fae = typeof Element < "u" && "checkVisibility" in Element.prototype;+function pae(e) {+ let t = wS(e);if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";if (i) {- let { getComputedStyle: t } = CS(e), { display: n, visibility: r } = t(e);+ let { getComputedStyle: t } = wS(e), { display: n, visibility: r } = t(e);i = n !== "none" && r !== "hidden" && r !== "collapse";}return i;}-function hae(e, t) {+function mae(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 NS(e, t) {- return pae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && mae(e) && hae(e, t) && (!e.parentElement || NS(e.parentElement, e));+function PS(e, t) {+ return fae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && pae(e) && mae(e, t) && (!e.parentElement || PS(e.parentElement, e));}// node_modules/react-aria/dist/private/utils/isFocusable.mjs-var PS = [+var FS = ["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])",@@ -22488,39 +22488,39 @@ var PS = ["video[controls]","[contenteditable]:not([contenteditable^=\"false\"])","permission"-], gae = PS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-PS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var _ae = PS.join(":not([hidden]):not([tabindex=\"-1\"]),");-function FS(e, t) {- return e.matches(gae) && !LS(e) && (t?.skipVisibilityCheck || NS(e));-}-function IS(e) {- return e.matches(_ae) && NS(e) && !LS(e);+], hae = FS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+FS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var gae = FS.join(":not([hidden]):not([tabindex=\"-1\"]),");+function IS(e, t) {+ return e.matches(hae) && !RS(e) && (t?.skipVisibilityCheck || PS(e));}function LS(e) {+ return e.matches(gae) && PS(e) && !RS(e);+}+function RS(e) {let t = e;for (; t != null;) {- if (t instanceof CS(t).HTMLElement && t.inert) return !0;+ if (t instanceof wS(t).HTMLElement && t.inert) return !0;t = t.parentElement;}return !1;}// node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var RS = typeof document < "u" ? F.useLayoutEffect : () => {};+var zS = typeof document < "u" ? F.useLayoutEffect : () => {};// node_modules/react-aria/dist/private/interactions/utils.mjs-function zS(e) {+function BS(e) {let t = e;return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;}-function BS(e, t) {+function VS(e, t) {Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });}-function VS(e) {+function HS(e) {let t = (0, F.useRef)({isFocused: !1,observer: null});- return RS(() => {+ return zS(() => {let e = t.current;return () => {e.observer &&= (e.observer.disconnect(), null);@@ -22532,14 +22532,14 @@ function VS(e) {let n = r;n.addEventListener("focusout", (r) => {if (t.current.isFocused = !1, n.disabled) {- let t = zS(r);+ let t = BS(r);e?.(t);}t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);}, { once: !0 }), t.current.observer = new MutationObserver(() => {if (t.current.isFocused && n.disabled) {t.current.observer?.disconnect();- let e = n === AS() ? null : AS();+ let e = n === jS() ? null : jS();n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: e@@ -22552,80 +22552,80 @@ function VS(e) {}}, [e]);}-var HS = !1;-function vae(e) {- for (; e && !FS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = AS(CS(e).document);+var US = !1;+function _ae(e) {+ for (; e && !IS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = jS(wS(e).document);if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && TS(n) ? n : CS(e), i = (t) => t === e || wS(t) && kS(e, t), a = (e) => e === t || t != null && wS(e) && kS(t, e);- HS = !0;+ let n = e?.getRootNode(), r = n != null && ES(n) ? n : wS(e), i = (t) => t === e || TS(t) && AS(e, t), a = (e) => e === t || t != null && TS(e) && AS(t, e);+ US = !0;let o = !1, s = (e) => {(a(G(e)) || o) && e.stopImmediatePropagation();}, c = (n) => {- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, xS(t), d()));+ (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, SS(t), d()));}, l = (e) => {(i(G(e)) || o) && e.stopImmediatePropagation();}, u = (e) => {- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, xS(t), d()));+ (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, SS(t), d()));};r.addEventListener("blur", s, !0), r.addEventListener("focusout", c, !0), r.addEventListener("focusin", u, !0), r.addEventListener("focus", l, !0);let d = () => {- cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), HS = !1, o = !1;+ cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), US = !1, o = !1;}, f = requestAnimationFrame(d);return d;}// node_modules/react-aria/dist/private/utils/platform.mjs-function US(e) {+function WS(e) {if (typeof window > "u" || window.navigator == null) return !1;let t = window.navigator.userAgentData?.brands;return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent);}-function WS(e) {+function GS(e) {return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);}-function GS(e) {+function KS(e) {let t = null;return () => (t ??= e(), t);}-var KS = GS(function() {- return WS(/^Mac/i);-}), yae = GS(function() {- return WS(/^iPhone/i);-}), qS = GS(function() {- return WS(/^iPad/i) || KS() && navigator.maxTouchPoints > 1;-}), JS = GS(function() {- return yae() || qS();-}), bae = GS(function() {- return KS() || JS();-}), YS = GS(function() {- return US(/AppleWebKit/i) && (JS() || !XS());-}), XS = GS(function() {- return US(/Chrome|CriOS|CrMo/i);-}), ZS = GS(function() {- return US(/Android/i);+var qS = KS(function() {+ return GS(/^Mac/i);+}), vae = KS(function() {+ return GS(/^iPhone/i);+}), JS = KS(function() {+ return GS(/^iPad/i) || qS() && navigator.maxTouchPoints > 1;+}), YS = KS(function() {+ return vae() || JS();+}), yae = KS(function() {+ return qS() || YS();+}), XS = KS(function() {+ return WS(/AppleWebKit/i) && (YS() || !ZS());+}), ZS = KS(function() {+ return WS(/Chrome|CriOS|CrMo/i);+}), QS = KS(function() {+ return WS(/Android/i);});// node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function QS(e) {- return e.pointerType === "" && e.isTrusted ? !0 : ZS() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+function $S(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : QS() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;}-function xae(e) {- return !ZS() && e.width === 0 && e.height === 0 || ZS() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+function bae(e) {+ return !QS() && e.width === 0 && e.height === 0 || QS() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";}// node_modules/react-aria/dist/private/utils/openLink.mjs-var Sae = /*#__PURE__*/ (0, F.createContext)({+var xae = /*#__PURE__*/ (0, F.createContext)({isNative: !0,- open: Tae,+ open: wae,useHref: (e) => e});-function $S() {- return (0, F.useContext)(Sae);+function eC() {+ return (0, F.useContext)(xae);}-function Cae(e, t) {+function Sae(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 eC(e, t, n = !0) {- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = YS() && KS() && !qS() ? new KeyboardEvent("keydown", {+function tC(e, t, n = !0) {+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = XS() && qS() && !JS() ? new KeyboardEvent("keydown", {keyIdentifier: "Enter",metaKey: r,ctrlKey: i,@@ -22640,21 +22640,21 @@ function eC(e, t, n = !0) {bubbles: !0,cancelable: !0});- eC.isOpening = n, xS(e), e.dispatchEvent(s), eC.isOpening = !1;+ tC.isOpening = n, SS(e), e.dispatchEvent(s), tC.isOpening = !1;}-eC.isOpening = !1;-function wae(e, t) {+tC.isOpening = !1;+function Cae(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 Tae(e, t) {- wae(e, (e) => eC(e, t));+function wae(e, t) {+ Cae(e, (e) => tC(e, t));}-function tC(e) {- let t = $S().useHref(e.href ?? "");+function nC(e) {+ let t = eC().useHref(e.href ?? "");return {"data-href": e.href ? t : void 0,"data-target": e.target,@@ -22664,8 +22664,8 @@ function tC(e) {"data-referrer-policy": e.referrerPolicy};}-function nC(e) {- let t = $S().useHref(e?.href ?? ""), n = {};+function rC(e) {+ let t = eC().useHref(e?.href ?? ""), n = {};if (e) for (let r of ["href","target",@@ -22676,138 +22676,138 @@ function nC(e) {]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);return n;}-function Eae(e, t, n, r) {- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Cae(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));+function Tae(e, t, n, r) {+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Sae(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));}// node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var rC = {+var iC = {prefix: String(Math.round(Math.random() * 1e10)),current: 0-}, iC = /*#__PURE__*/ F.createContext(rC), Dae = /*#__PURE__*/ F.createContext(!1);+}, aC = /*#__PURE__*/ F.createContext(iC), Eae = /*#__PURE__*/ F.createContext(!1);typeof window < "u" && window.document && window.document.createElement;-var aC = /* @__PURE__ */ new WeakMap();-function Oae(e = !1) {- let t = (0, F.useContext)(iC), n = (0, F.useRef)(null);+var oC = /* @__PURE__ */ new WeakMap();+function Dae(e = !1) {+ let t = (0, F.useContext)(aC), n = (0, F.useRef)(null);if (n.current === null && !e) {let e = F.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if (e) {- let n = aC.get(e);- n == null ? aC.set(e, {+ let n = oC.get(e);+ n == null ? oC.set(e, {id: t.current,state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, aC.delete(e));+ }) : e.memoizedState !== n.state && (t.current = n.id, oC.delete(e));}n.current = ++t.current;}return n.current;}-function kae(e) {- let t = (0, F.useContext)(iC), n = Oae(!!e), r = `react-aria${t.prefix}`;+function Oae(e) {+ let t = (0, F.useContext)(aC), n = Dae(!!e), r = `react-aria${t.prefix}`;return e || `${r}-${n}`;}-function Aae(e) {- let t = F.useId(), [n] = (0, F.useState)(lC()), r = n ? "react-aria" : `react-aria${rC.prefix}`;+function kae(e) {+ let t = F.useId(), [n] = (0, F.useState)(uC()), r = n ? "react-aria" : `react-aria${iC.prefix}`;return e || `${r}-${t}`;}-var jae = typeof F.useId == "function" ? Aae : kae;-function oC() {+var Aae = typeof F.useId == "function" ? kae : Oae;+function sC() {return !1;}-function sC() {+function cC() {return !0;}-function cC(e) {+function lC(e) {return () => {};}-function lC() {- return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(cC, oC, sC) : (0, F.useContext)(Dae);+function uC() {+ return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(lC, sC, cC) : (0, F.useContext)(Eae);}// node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var uC = null, dC = /* @__PURE__ */ new Set(), fC = /* @__PURE__ */ new Map(), pC = !1, mC = !1, Mae = {+var dC = null, fC = /* @__PURE__ */ new Set(), pC = /* @__PURE__ */ new Map(), mC = !1, hC = !1, jae = {Tab: !0,Escape: !0};-function hC(e, t) {- for (let n of dC) n(e, t);-}-function Nae(e) {- return !(e.metaKey || !KS() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+function gC(e, t) {+ for (let n of fC) n(e, t);}-function gC(e) {- pC = !0, !eC.isOpening && Nae(e) && (uC = "keyboard", hC("keyboard", e));+function Mae(e) {+ return !(e.metaKey || !qS() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");}function _C(e) {- uC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (pC = !0, hC("pointer", e));+ mC = !0, !tC.isOpening && Mae(e) && (dC = "keyboard", gC("keyboard", e));}function vC(e) {- !eC.isOpening && QS(e) && (pC = !0, uC = "virtual");+ dC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (mC = !0, gC("pointer", e));}function yC(e) {- if (HS) return;- let t = G(e), n = CS(t), r = SS(t);- t === n ? mC = !0 : t !== r && e.isTrusted && (!pC && !mC && (uC = "virtual", hC("virtual", e)), pC = !1, mC = !1);+ !tC.isOpening && $S(e) && (mC = !0, dC = "virtual");+}+function bC(e) {+ if (US) return;+ let t = G(e), n = wS(t), r = CS(t);+ t === n ? hC = !0 : t !== r && e.isTrusted && (!mC && !hC && (dC = "virtual", gC("virtual", e)), mC = !1, hC = !1);}-function bC() {- HS || (pC = !1, mC = !0);+function xC() {+ US || (mC = !1, hC = !0);}-function xC(e) {- let t = AS(SS(G(e)));+function SC(e) {+ let t = jS(CS(G(e)));queueMicrotask(() => {- AS(SS(G(e))) !== t && EC("keyboard");+ jS(CS(G(e))) !== t && DC("keyboard");});}-function SC(e) {+function CC(e) {if (typeof window > "u" || typeof document > "u") return;- let t = CS(e), n = SS(e);- if (fC.get(t)) return;+ let t = wS(e), n = CS(e);+ if (pC.get(t)) return;let r = t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function() {- pC = !0, r.apply(this, arguments);+ mC = !0, r.apply(this, arguments);}- }), n.addEventListener("keydown", gC, !0), n.addEventListener("keyup", gC, !0), n.addEventListener("click", vC, !0), n.addEventListener("invalid", xC, !0), t.addEventListener("focus", yC, !0), t.addEventListener("blur", bC, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", _C, !0), n.addEventListener("pointermove", _C, !0), n.addEventListener("pointerup", _C, !0)), t.addEventListener("beforeunload", () => {- CC(e);- }, { once: !0 }), fC.set(t, { focus: r });+ }), n.addEventListener("keydown", _C, !0), n.addEventListener("keyup", _C, !0), n.addEventListener("click", yC, !0), n.addEventListener("invalid", SC, !0), t.addEventListener("focus", bC, !0), t.addEventListener("blur", xC, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", vC, !0), n.addEventListener("pointermove", vC, !0), n.addEventListener("pointerup", vC, !0)), t.addEventListener("beforeunload", () => {+ wC(e);+ }, { once: !0 }), pC.set(t, { focus: r });}-var CC = (e, t) => {- let n = CS(e), r = SS(e);- t && r.removeEventListener("DOMContentLoaded", t), fC.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+var wC = (e, t) => {+ let n = wS(e), r = CS(e);+ t && r.removeEventListener("DOMContentLoaded", t), pC.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,- value: fC.get(n).focus- }), r.removeEventListener("keydown", gC, !0), r.removeEventListener("keyup", gC, !0), r.removeEventListener("click", vC, !0), r.removeEventListener("invalid", xC, !0), n.removeEventListener("focus", yC, !0), n.removeEventListener("blur", bC, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", _C, !0), r.removeEventListener("pointermove", _C, !0), r.removeEventListener("pointerup", _C, !0)), fC.delete(n));+ value: pC.get(n).focus+ }), r.removeEventListener("keydown", _C, !0), r.removeEventListener("keyup", _C, !0), r.removeEventListener("click", yC, !0), r.removeEventListener("invalid", SC, !0), n.removeEventListener("focus", bC, !0), n.removeEventListener("blur", xC, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", vC, !0), r.removeEventListener("pointermove", vC, !0), r.removeEventListener("pointerup", vC, !0)), pC.delete(n));};-function Pae(e) {- let t = SS(e), n;+function Nae(e) {+ let t = CS(e), n;return t.readyState === "loading" ? (n = () => {- SC(e);- }, t.addEventListener("DOMContentLoaded", n)) : SC(e), () => CC(e, n);-}-typeof document < "u" && Pae();-function wC() {- return uC !== "pointer";+ CC(e);+ }, t.addEventListener("DOMContentLoaded", n)) : CC(e), () => wC(e, n);}+typeof document < "u" && Nae();function TC() {- return uC;+ return dC !== "pointer";}-function EC(e) {- uC = e, hC(e, null);+function EC() {+ return dC;}-function DC() {- SC();- let [e, t] = (0, F.useState)(uC);+function DC(e) {+ dC = e, gC(e, null);+}+function OC() {+ CC();+ let [e, t] = (0, F.useState)(dC);return (0, F.useEffect)(() => {let e = () => {- t(uC);+ t(dC);};- return dC.add(e), () => {- dC.delete(e);+ return fC.add(e), () => {+ fC.delete(e);};- }, []), lC() ? null : e;+ }, []), uC() ? null : e;}-var Fae = /* @__PURE__ */ new Set([+var Pae = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -22818,107 +22818,107 @@ var Fae = /* @__PURE__ */ new Set(["submit","reset"]);-function Iae(e, t, n) {- let r = n ? G(n) : void 0, i = SS(r), a = CS(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 = AS(i);- return e = e || u instanceof o && !Fae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Mae[n.key]);+function Fae(e, t, n) {+ let r = n ? G(n) : void 0, i = CS(r), a = wS(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = jS(i);+ return e = e || u instanceof o && !Pae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !jae[n.key]);}-function OC(e = {}) {- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || wC());- return kC((e) => {+function kC(e = {}) {+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || TC());+ return AC((e) => {i(e);}, [t], { isTextInput: t }), { isFocusVisible: r };}-function kC(e, t, n) {- SC(), (0, F.useEffect)(() => {+function AC(e, t, n) {+ CC(), (0, F.useEffect)(() => {if (n?.enabled === !1) return;let t = (t, r) => {- Iae(!!n?.isTextInput, t, r) && e(wC());+ Fae(!!n?.isTextInput, t, r) && e(TC());};- return dC.add(t), () => {- dC.delete(t);+ return fC.add(t), () => {+ fC.delete(t);};}, t);}// node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var AC = /* @__PURE__ */ new Map(), jC = /* @__PURE__ */ new Set();-function MC(e) {+var jC = /* @__PURE__ */ new Map(), MC = /* @__PURE__ */ new Set();+function NC(e) {return "propertyName" in e;}-function Lae(e) {+function Iae(e) {let t = G(e);- if (!MC(e) || !t) return;- let n = AC.get(t);- n || (n = /* @__PURE__ */ new Set(), AC.set(t, n), t.addEventListener("transitioncancel", NC, { once: !0 })), n.add(e.propertyName);+ if (!NC(e) || !t) return;+ let n = jC.get(t);+ n || (n = /* @__PURE__ */ new Set(), jC.set(t, n), t.addEventListener("transitioncancel", PC, { once: !0 })), n.add(e.propertyName);}-function NC(e) {+function PC(e) {let t = G(e);- if (!MC(e) || !t) return;- let n = AC.get(t);- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", NC), AC.delete(t)), AC.size === 0)) for (let e of jC) e(!0), jC.delete(e);+ if (!NC(e) || !t) return;+ let n = jC.get(t);+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", PC), jC.delete(t)), jC.size === 0)) for (let e of MC) e(!0), MC.delete(e);}-function PC() {- ES(document, "transitionrun", Lae), ES(document, "transitionend", NC);+function FC() {+ DS(document, "transitionrun", Iae), DS(document, "transitionend", PC);}-function Rae() {- for (let [e] of AC) "isConnected" in e && !e.isConnected && AC.delete(e);+function Lae() {+ for (let [e] of jC) "isConnected" in e && !e.isConnected && jC.delete(e);}-typeof document < "u" && (document.readyState === "loading" ? ES(document, "DOMContentLoaded", PC) : PC());-function FC(e) {+typeof document < "u" && (document.readyState === "loading" ? DS(document, "DOMContentLoaded", FC) : FC());+function IC(e) {let t = window.requestAnimationFrame(() => {- if (Rae(), AC.size === 0) return e(!1);- jC.add(e);+ if (Lae(), jC.size === 0) return e(!1);+ MC.add(e);});return () => {- window.cancelAnimationFrame(t), jC.delete(e);+ window.cancelAnimationFrame(t), MC.delete(e);};}// node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function IC(e) {+function LC(e) {if (!e.isConnected) return;- let t = SS(e);- if (TC() === "virtual") {- let n = AS(t);- FC(() => {- let r = AS(t);- (r === n || r === t.body) && e.isConnected && xS(e);+ let t = CS(e);+ if (EC() === "virtual") {+ let n = jS(t);+ IC(() => {+ let r = jS(t);+ (r === n || r === t.body) && e.isConnected && SS(e);});- } else xS(e);+ } else SS(e);}// node_modules/react-aria/dist/private/utils/chain.mjs-function LC(...e) {+function RC(...e) {return (...t) => {for (let n of e) typeof n == "function" && n(...t);};}// node_modules/react-aria/dist/private/utils/useValueEffect.mjs-function zae(e) {+function Rae(e) {let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(t), i = (0, F.useRef)(null), a = (0, F.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 RS(() => {+ return zS(() => {r.current = t, i.current && a.current();}), [t, (0, F.useCallback)((e) => {i.current = e(r.current), a.current();}, [a])];}// node_modules/react-aria/dist/private/utils/useId.mjs-var Bae = !!(typeof window < "u" && window.document && window.document.createElement), RC = /* @__PURE__ */ new Map(), zC;-typeof FinalizationRegistry < "u" && (zC = new FinalizationRegistry((e) => {- RC.delete(e);+var zae = !!(typeof window < "u" && window.document && window.document.createElement), zC = /* @__PURE__ */ new Map(), BC;+typeof FinalizationRegistry < "u" && (BC = new FinalizationRegistry((e) => {+ zC.delete(e);}));-var BC = /* @__PURE__ */ new WeakMap();-function VC(e) {- let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = jae(t), a = (0, F.useRef)(null), o = BC.get(a);- if (zC && o !== i && (o != null && zC.unregister(a), zC.register(a, i, a), BC.set(a, i)), Bae) {- let e = RC.get(i);- e && !e.includes(r) ? e.push(r) : RC.set(i, [r]);- }- return RS(() => {+var VC = /* @__PURE__ */ new WeakMap();+function HC(e) {+ let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = Aae(t), a = (0, F.useRef)(null), o = VC.get(a);+ if (BC && o !== i && (o != null && BC.unregister(a), BC.register(a, i, a), VC.set(a, i)), zae) {+ let e = zC.get(i);+ e && !e.includes(r) ? e.push(r) : zC.set(i, [r]);+ }+ return zS(() => {let e = i;return () => {- zC && (zC.unregister(a), BC.delete(a)), RC.delete(e);+ BC && (BC.unregister(a), VC.delete(a)), zC.delete(e);};}, [i]), (0, F.useEffect)(() => {let e = r.current;@@ -22927,57 +22927,57 @@ function VC(e) {};}), i;}-function Vae(e, t) {+function Bae(e, t) {if (e === t) return e;- let n = RC.get(e);+ let n = zC.get(e);if (n) return n.forEach((e) => e.current = t), t;- let r = RC.get(t);+ let r = zC.get(t);return r ? (r.forEach((t) => t.current = e), e) : t;}-function HC(e = []) {- let t = VC(), [n, r] = zae(t), i = (0, F.useCallback)(() => {+function UC(e = []) {+ let t = HC(), [n, r] = Rae(t), i = (0, F.useCallback)(() => {r(function* () {yield t, yield document.getElementById(t) ? t : void 0;});}, [t, r]);- return RS(i, [+ return zS(i, [t,i,...e]), n;}// node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function UC(...e) {+function WC(...e) {return e.length === 1 && e[0] ? e[0] : (t) => {let n = !1, r = e.map((e) => {- let r = WC(e, t);+ let r = GC(e, t);return n ||= typeof r == "function", r;});if (n) return () => {r.forEach((t, n) => {- typeof t == "function" ? t() : WC(e[n], null);+ typeof t == "function" ? t() : GC(e[n], null);});};};}-function WC(e, t) {+function GC(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}// node_modules/clsx/dist/clsx.mjs-function GC(e) {+function KC(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 = GC(e[t])) && (r && (r += " "), r += n);+ for (t = 0; t < i; t++) e[t] && (n = KC(e[t])) && (r && (r += " "), r += n);} else for (n in e) e[n] && (r && (r += " "), r += n);}return r;}-function KC() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = GC(e)) && (r && (r += " "), r += t);+function qC() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = KC(e)) && (r && (r += " "), r += t);return r;}// node_modules/react-aria/dist/private/utils/mergeProps.mjs@@ -22987,17 +22987,17 @@ function K(...e) {let r = e[n];for (let e in r) {let n = t[e], i = r[e];- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = LC(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = KC(n, i) : e === "id" && n && i ? t.id = Vae(n, i) : e === "ref" && n && i ? t.ref = UC(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] = RC(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = qC(n, i) : e === "id" && n && i ? t.id = Bae(n, i) : e === "ref" && n && i ? t.ref = WC(n, i) : t[e] = i === void 0 ? n : i;}}return t;}// node_modules/react-aria/dist/private/interactions/useFocus.mjs-function qC(e) {+function JC(e) {let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, F.useCallback)((e) => {if (G(e) === e.currentTarget) return r && r(e), i && i(!1), !0;- }, [r, i]), o = VS(a), s = (0, F.useCallback)((e) => {- let t = G(e), r = SS(t), a = r ? AS(r) : AS();+ }, [r, i]), o = HS(a), s = (0, F.useCallback)((e) => {+ let t = G(e), r = CS(t), a = r ? jS(r) : jS();t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));}, [i,@@ -23010,7 +23010,7 @@ function qC(e) {} };}// node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function JC(e) {+function YC(e) {if (e) return (t) => {let n = !0;e({@@ -23034,33 +23034,33 @@ function JC(e) {};}// node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs-var Hae = /* @__PURE__ */ new Set([+var Vae = /* @__PURE__ */ new Set(["shift","alt","control","meta","mod"-]), Uae = [+]), Hae = ["Alt","Control","Meta","Shift"];-function Wae(e) {+function Uae(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(KS() ? "Meta" : "Control"), t;+ return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(qS() ? "Meta" : "Control"), t;}-function Gae(e) {+function Wae(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 YC(e) {- return Uae.filter((t) => e.has(t));+function XC(e) {+ return Hae.filter((t) => e.has(t));}-function Kae(e) {+function Gae(e) {let t = e.split("+").reduce((e, t) => {let n = t.toLowerCase();- return Hae.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 Vae.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,@@ -23072,10 +23072,10 @@ function Kae(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 XC(e) {+function ZC(e) {return e.toLowerCase();}-var qae = {+var Kae = {space: " ",esc: "escape",del: "delete",@@ -23087,26 +23087,26 @@ var qae = {pageup: "pageup",pagedown: "pagedown"};-function Jae(e) {- let t = XC(e);- return qae[t] ?? t;+function qae(e) {+ let t = ZC(e);+ return Kae[t] ?? t;}-function Yae(e) {- let t = YC(Wae(e)), n = Jae(e.key);+function Jae(e) {+ let t = XC(Uae(e)), n = qae(e.key);return t.length > 0 ? `${t.join("+")}+${n}` : n;}-function Xae(e) {- let t = YC(Gae(e)), n = XC(e.key);+function Yae(e) {+ let t = XC(Wae(e)), n = ZC(e.key);return (t.length > 0 ? `${t.join("+")}+` : "") + n;}-function Zae(e) {+function Xae(e) {let t = /* @__PURE__ */ new Map();for (let [n, r] of Object.entries(e)) {- let e = Kae(n);- t.set(Yae(e), r);+ let e = Gae(n);+ t.set(Jae(e), r);}return (e) => {- let n = Xae(e), r = t.get(n), i = r?.(e);+ let n = Yae(e), r = t.get(n), i = r?.(e);i === void 0 && r !== void 0 ? i = {shouldContinuePropagation: !1,shouldPreventDefault: !0@@ -23117,23 +23117,23 @@ function Zae(e) {};}// node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function ZC(e) {+function QC(e) {let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;if (t) {- let o = Zae(t), s = JC((e) => {- kS(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();- }), c = JC((e) => {- kS(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();+ let o = Xae(t), s = YC((e) => {+ AS(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();+ }), c = YC((e) => {+ AS(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();});- i = e.onKeyDown ? LC(e.onKeyDown, s) : s, a = e.onKeyUp ? LC(e.onKeyUp, c) : c;- } else i = JC(e.onKeyDown), a = JC(e.onKeyUp);+ i = e.onKeyDown ? RC(e.onKeyDown, s) : s, a = e.onKeyUp ? RC(e.onKeyUp, c) : c;+ } else i = YC(e.onKeyDown), a = YC(e.onKeyUp);return { keyboardProps: e.isDisabled ? {} : {onKeyDown: i,onKeyUp: a} };}// node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function QC(e) {+function $C(e) {let t = (0, F.useRef)(null), n = (0, F.useRef)(void 0), r = (0, F.useCallback)((t) => {if (typeof e == "function") {let n = e, r = n(t);@@ -23155,25 +23155,25 @@ function QC(e) {}), [r]);}// node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function $C(e, t) {- RS(() => {+function ew(e, t) {+ zS(() => {if (e && e.ref && t) return e.ref.current = t.current, () => {e.ref && (e.ref.current = null);};});}// node_modules/react-aria/dist/private/interactions/useFocusable.mjs-var ew = /*#__PURE__*/ F.createContext(null);-function Qae(e) {- let t = (0, F.useContext)(ew) || {};- $C(t, e);+var tw = /*#__PURE__*/ F.createContext(null);+function Zae(e) {+ let t = (0, F.useContext)(tw) || {};+ ew(t, e);let { ref: n, ...r } = t;return r;}-function tw(e, t) {- let { focusProps: n } = qC(e), { keyboardProps: r } = ZC(e), i = K(n, r), a = Qae(t), o = e.isDisabled ? {} : a, s = (0, F.useRef)(e.autoFocus);+function nw(e, t) {+ let { focusProps: n } = JC(e), { keyboardProps: r } = QC(e), i = K(n, r), a = Zae(t), o = e.isDisabled ? {} : a, s = (0, F.useRef)(e.autoFocus);(0, F.useEffect)(() => {- s.current && t.current && IC(t.current), s.current = !1;+ s.current && t.current && LC(t.current), s.current = !1;}, [t]);let c = e.excludeFromTabOrder ? -1 : 0;return e.isDisabled && (c = void 0), { focusableProps: K({@@ -23207,21 +23207,21 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.preturn this.content.insertBefore(e, t);}}));-var nw = /*#__PURE__*/ (0, F.createContext)(!1);-function $ae(e) {- if ((0, F.useContext)(nw)) return /*#__PURE__*/ F.createElement(F.Fragment, null, e.children);- let t = /*#__PURE__*/ F.createElement(nw.Provider, { value: !0 }, e.children);+var rw = /*#__PURE__*/ (0, F.createContext)(!1);+function Qae(e) {+ if ((0, F.useContext)(rw)) return /*#__PURE__*/ F.createElement(F.Fragment, null, e.children);+ let t = /*#__PURE__*/ F.createElement(rw.Provider, { value: !0 }, e.children);return /*#__PURE__*/ F.createElement("template", null, t);}-function rw(e) {- let t = (t, n) => (0, F.useContext)(nw) ? null : e(t, n);+function iw(e) {+ let t = (t, n) => (0, F.useContext)(rw) ? null : e(t, n);return t.displayName = e.displayName || e.name, (0, F.forwardRef)(t);}-function iw() {- return (0, F.useContext)(nw);+function aw() {+ return (0, F.useContext)(rw);}// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js-var eoe = /* @__PURE__ */ o(((e) => {+var $ae = /* @__PURE__ */ o(((e) => {var t = A();function n(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -23259,47 +23259,47 @@ var eoe = /* @__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;-})), aw = /* @__PURE__ */ o(((e, t) => {- t.exports = eoe();-})), toe = aw(), ow = /*#__PURE__*/ (0, F.createContext)(!1), sw = /*#__PURE__*/ (0, F.createContext)(null);-function cw(e) {- if ((0, F.useContext)(sw)) return e.content;- let { collection: t, document: n } = aoe(e.createCollection);- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement($ae, null, /*#__PURE__*/ F.createElement(sw.Provider, { value: n }, e.content)), /*#__PURE__*/ F.createElement(noe, {+})), ow = /* @__PURE__ */ o(((e, t) => {+ t.exports = $ae();+})), eoe = ow(), sw = /*#__PURE__*/ (0, F.createContext)(!1), cw = /*#__PURE__*/ (0, F.createContext)(null);+function lw(e) {+ if ((0, F.useContext)(cw)) return e.content;+ let { collection: t, document: n } = ioe(e.createCollection);+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(Qae, null, /*#__PURE__*/ F.createElement(cw.Provider, { value: n }, e.content)), /*#__PURE__*/ F.createElement(toe, {render: e.children,collection: t}));}-function noe({ collection: e, render: t }) {+function toe({ collection: e, render: t }) {return t(e);}-function roe(e, t, n) {- let r = lC(), i = (0, F.useRef)(r);+function noe(e, t, n) {+ let r = uC(), i = (0, F.useRef)(r);i.current = r;let a = (0, F.useCallback)(() => i.current ? n() : t(), [t, n]);- return (0, toe.useSyncExternalStore)(e, a);+ return (0, eoe.useSyncExternalStore)(e, a);}-var ioe = typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore : roe;-function aoe(e) {- let [t] = (0, F.useState)(() => new cae(e?.() || new gS()));+var roe = typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore : noe;+function ioe(e) {+ let [t] = (0, F.useState)(() => new sae(e?.() || new _S()));return {- collection: ioe((0, F.useCallback)((e) => t.subscribe(e), [t]), (0, F.useCallback)(() => {+ collection: roe((0, F.useCallback)((e) => t.subscribe(e), [t]), (0, F.useCallback)(() => {let e = t.getCollection();return t.isSSR && t.resetAfterSSR(), e;}, [t]), (0, F.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),document: t};}-var lw = /*#__PURE__*/ (0, F.createContext)(null);-function ooe(e) {- return class extends fS {+var uw = /*#__PURE__*/ (0, F.createContext)(null);+function aoe(e) {+ return class extends pS {static {this.type = e;}};}-function uw(e, t, n, r, i, a) {- typeof e == "string" && (e = ooe(e));+function dw(e, t, n, r, i, a) {+ typeof e == "string" && (e = aoe(e));let o = (0, F.useCallback)((i) => {i?.setProps(t, n, e, r, a);}, [@@ -23308,82 +23308,82 @@ function uw(e, t, n, r, i, a) {r,a,e- ]), s = (0, F.useContext)(lw);+ ]), s = (0, F.useContext)(uw);if (s) {let o = s.ownerDocument.nodesByProps.get(t);- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ F.createElement(lw.Provider, { value: o }, i) : null;+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ F.createElement(uw.Provider, { value: o }, i) : null;}return /*#__PURE__*/ F.createElement(e.type, { ref: o }, i);}-function dw(e, t) {+function fw(e, t) {let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, F.forwardRef)((r, i) => {- let a = (0, F.useContext)(ew);- if (!(0, F.useContext)(ow)) {+ let a = (0, F.useContext)(tw);+ if (!(0, F.useContext)(sw)) {if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");return t(r, i);}- return uw(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ F.createElement(ew.Provider, { value: a }, /*#__PURE__*/ F.createElement(n, { node: e })));+ return dw(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ F.createElement(tw.Provider, { value: a }, /*#__PURE__*/ F.createElement(n, { node: e })));});return r.displayName = t.name, r;}-function fw(e, t, n = pw) {- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, F.forwardRef)((t, i) => uw(e, t, i, null, n(t), (e) => /*#__PURE__*/ F.createElement(r, { node: e })) ?? /*#__PURE__*/ F.createElement(F.Fragment, null));+function pw(e, t, n = mw) {+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, F.forwardRef)((t, i) => dw(e, t, i, null, n(t), (e) => /*#__PURE__*/ F.createElement(r, { node: e })) ?? /*#__PURE__*/ F.createElement(F.Fragment, null));return i.displayName = t.name, i;}-function pw(e) {- return bS({+function mw(e) {+ return xS({...e,addIdAndValue: !0});}-var mw = /*#__PURE__*/ (0, F.createContext)(null);-function hw(e) {- let t = (0, F.useContext)(mw), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = pw({+var hw = /*#__PURE__*/ (0, F.createContext)(null);+function gw(e) {+ let t = (0, F.useContext)(hw), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = mw({...e,idScope: r,dependencies: n});- return (0, F.useContext)(sw) && (i = /*#__PURE__*/ F.createElement(soe, null, i)), t = (0, F.useMemo)(() => ({+ return (0, F.useContext)(cw) && (i = /*#__PURE__*/ F.createElement(ooe, null, i)), t = (0, F.useMemo)(() => ({dependencies: n,idScope: r- }), [r, ...n]), /*#__PURE__*/ F.createElement(mw.Provider, { value: t }, i);+ }), [r, ...n]), /*#__PURE__*/ F.createElement(hw.Provider, { value: t }, i);}-function soe({ children: e }) {- let t = (0, F.useContext)(sw), n = (0, F.useMemo)(() => /*#__PURE__*/ F.createElement(sw.Provider, { value: null }, /*#__PURE__*/ F.createElement(ow.Provider, { value: !0 }, e)), [e]);- return lC() ? /*#__PURE__*/ F.createElement(lw.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);+function ooe({ children: e }) {+ let t = (0, F.useContext)(cw), n = (0, F.useMemo)(() => /*#__PURE__*/ F.createElement(cw.Provider, { value: null }, /*#__PURE__*/ F.createElement(sw.Provider, { value: !0 }, e)), [e]);+ return uC() ? /*#__PURE__*/ F.createElement(uw.Provider, { value: t }, n) : /*#__PURE__*/ (0, It.createPortal)(n, t);}// node_modules/react-aria/dist/private/utils/constants.mjs-var coe = "react-aria-clear-focus", loe = "react-aria-focus";+var soe = "react-aria-clear-focus", coe = "react-aria-focus";// node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function gw(e) {- let t = doe(SS(e));- t !== e && (t && uoe(t, e), e && _w(e, t));+function _w(e) {+ let t = uoe(CS(e));+ t !== e && (t && loe(t, e), e && vw(e, t));}-function uoe(e, t) {+function loe(e, t) {e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: t}));}-function _w(e, t) {+function vw(e, t) {e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {bubbles: !0,relatedTarget: t}));}-function doe(e) {- let t = AS(e), n = t?.getAttribute("aria-activedescendant");+function uoe(e) {+ let t = jS(e), n = t?.getAttribute("aria-activedescendant");return n && e.getElementById(n) || t;}// node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function vw(e, t) {- let n = CS(t), r = SS(t);+function yw(e, t) {+ let n = wS(t), r = CS(t);if (r == null || n == null) return;let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;}// node_modules/react-aria/dist/private/utils/keyboard.mjs-var yw = 100, bw = 600, xw = {+var bw = 100, xw = 600, Sw = {isOpen: !1,screenWidth: 0,screenHeight: 0,@@ -23393,7 +23393,7 @@ var yw = 100, bw = 600, xw = {endTimeStamp: 0,resizeTimeStamp: 0,resizeTimeout: 0-}, foe = /* @__PURE__ */ new Set([+}, doe = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -23404,7 +23404,7 @@ var yw = 100, bw = 600, xw = {"submit","reset"]);-function Sw() {+function Cw() {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,@@ -23412,58 +23412,58 @@ function Sw() {angle: window.screen.orientation?.angle ?? 0};}-function poe(e) {- xw.resizeTimeStamp <= e.timeStamp + 50 && (xw.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(xw.resizeTimeout), xw.resizeTimeout = window.setTimeout(Cw, 150));-}-function Cw() {- let e = vw("viewport");- if (ZS() && e?.includes("overlays-content")) return;- let t = performance.now(), n = Sw(), r = t - xw.startTimeStamp, i = xw.screenHeight - n.height, a = xw.screenAngle - n.angle;- Math.abs(a) % 180 && xw.screenWidth - n.height < yw && (xw.screenWidth = n.width, xw.screenHeight = n.height, xw.screenAngle = n.angle, i = 0), r > bw && (window.clearTimeout(xw.screenTimeout), xw.screenTimeout = window.setTimeout(() => {- let e = Ew(document.hasFocus() ? AS() : null), t = Sw();- Math.abs(xw.screenAngle - t.angle) % 180 || xw.isOpen && e || (xw.screenWidth = t.width, xw.screenHeight = t.height, xw.screenAngle = t.angle, xw.isOpen = !1);- }, bw)), r <= bw && i >= yw && (xw.endTimeStamp = t), xw.isOpen = i >= yw;-}-function moe() {- let e = Sw(), t = xw.screenAngle - e.angle;- if (Math.abs(t) % 180 && !xw.isOpen) {- let e = xw.screenWidth;- xw.screenWidth = xw.screenHeight, xw.screenHeight = e;- }- xw.isOpen || (xw.screenAngle = e.angle);-}-function hoe(e) {- let t = Ew(G(e)), n = performance.now(), r = Sw(), i = xw.screenHeight - r.height;- i < yw && t && (xw.screenWidth = r.width, xw.screenHeight = r.height, xw.screenAngle = r.angle, xw.startTimeStamp = n), t && window.clearTimeout(xw.screenTimeout), i >= yw && t && (xw.endTimeStamp = n);+function foe(e) {+ Sw.resizeTimeStamp <= e.timeStamp + 50 && (Sw.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Sw.resizeTimeout), Sw.resizeTimeout = window.setTimeout(ww, 150));}function ww() {- let e = Sw();- ES(window.visualViewport, "resize", YS() ? Cw : poe), ES(window.screen.orientation, "change", moe), ES(window, "focus", hoe, {+ let e = yw("viewport");+ if (QS() && e?.includes("overlays-content")) return;+ let t = performance.now(), n = Cw(), r = t - Sw.startTimeStamp, i = Sw.screenHeight - n.height, a = Sw.screenAngle - n.angle;+ Math.abs(a) % 180 && Sw.screenWidth - n.height < bw && (Sw.screenWidth = n.width, Sw.screenHeight = n.height, Sw.screenAngle = n.angle, i = 0), r > xw && (window.clearTimeout(Sw.screenTimeout), Sw.screenTimeout = window.setTimeout(() => {+ let e = Dw(document.hasFocus() ? jS() : null), t = Cw();+ Math.abs(Sw.screenAngle - t.angle) % 180 || Sw.isOpen && e || (Sw.screenWidth = t.width, Sw.screenHeight = t.height, Sw.screenAngle = t.angle, Sw.isOpen = !1);+ }, xw)), r <= xw && i >= bw && (Sw.endTimeStamp = t), Sw.isOpen = i >= bw;+}+function poe() {+ let e = Cw(), t = Sw.screenAngle - e.angle;+ if (Math.abs(t) % 180 && !Sw.isOpen) {+ let e = Sw.screenWidth;+ Sw.screenWidth = Sw.screenHeight, Sw.screenHeight = e;+ }+ Sw.isOpen || (Sw.screenAngle = e.angle);+}+function moe(e) {+ let t = Dw(G(e)), n = performance.now(), r = Cw(), i = Sw.screenHeight - r.height;+ i < bw && t && (Sw.screenWidth = r.width, Sw.screenHeight = r.height, Sw.screenAngle = r.angle, Sw.startTimeStamp = n), t && window.clearTimeout(Sw.screenTimeout), i >= bw && t && (Sw.endTimeStamp = n);+}+function Tw() {+ let e = Cw();+ DS(window.visualViewport, "resize", XS() ? ww : foe), DS(window.screen.orientation, "change", poe), DS(window, "focus", moe, {capture: !0,passive: !0- }), xw.screenWidth = e.width, xw.screenHeight = e.height, xw.screenAngle = e.angle;+ }), Sw.screenWidth = e.width, Sw.screenHeight = e.height, Sw.screenAngle = e.angle;}-typeof document < "u" && (document.readyState === "loading" ? ES(document, "DOMContentLoaded", ww) : ww());-function Tw() {- let e = vw("viewport");- return ZS() && e?.includes("overlays-content") ? !1 : xw.isOpen ? !0 : xw.startTimeStamp ? xw.endTimeStamp >= xw.startTimeStamp ? !0 : performance.now() - xw.startTimeStamp <= bw ? xw.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;+typeof document < "u" && (document.readyState === "loading" ? DS(document, "DOMContentLoaded", Tw) : Tw());+function Ew() {+ let e = yw("viewport");+ return QS() && e?.includes("overlays-content") ? !1 : Sw.isOpen ? !0 : Sw.startTimeStamp ? Sw.endTimeStamp >= Sw.startTimeStamp ? !0 : performance.now() - Sw.startTimeStamp <= xw ? Sw.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;}-function Ew(e) {- if (!(e instanceof Element) || !FS(e)) return !1;- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !foe.has(e.type);+function Dw(e) {+ if (!(e instanceof Element) || !IS(e)) return !1;+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !doe.has(e.type);return t || n || r;}-function Dw(e) {- return KS() ? e.metaKey : e.ctrlKey;+function Ow(e) {+ return qS() ? e.metaKey : e.ctrlKey;}-function Ow() {- return xw.isOpen;+function kw() {+ return Sw.isOpen;}// node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var goe = F.useInsertionEffect ?? RS;-function kw(e) {+var hoe = F.useInsertionEffect ?? zS;+function Aw(e) {let t = (0, F.useRef)(null);- return goe(() => {+ return hoe(() => {t.current = e;}, [e]), (0, F.useCallback)((...e) => {let n = t.current;@@ -23471,10 +23471,10 @@ function kw(e) {}, []);}// node_modules/react-aria/dist/private/utils/useEvent.mjs-function Aw(e, t, n, r) {- let i = kw(n), a = n == null;+function jw(e, t, n, r) {+ let i = Aw(n), a = n == null;(0, F.useEffect)(() => {- if (!(a || e.current == null)) return ES(e.current, t, i, r);+ if (!(a || e.current == null)) return DS(e.current, t, i, r);}, [e,t,@@ -23483,16 +23483,16 @@ function Aw(e, t, n, r) {]);}// node_modules/react-aria/dist/private/utils/useLabels.mjs-function jw(e, t) {+function Mw(e, t) {let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = VC(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 = HC(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 _oe = /* @__PURE__ */ new Set([+var goe = /* @__PURE__ */ new Set(["Arab","Syrc","Samr",@@ -23503,7 +23503,7 @@ var _oe = /* @__PURE__ */ new Set(["Adlm","Rohg","Hebr"-]), voe = /* @__PURE__ */ new Set([+]), _oe = /* @__PURE__ */ new Set(["ae","ar","arc",@@ -23524,19 +23524,19 @@ var _oe = /* @__PURE__ */ new Set(["ur","yi"]);-function yoe(e) {+function voe(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 _oe.has(t.script);+ if (t.script) return goe.has(t.script);}let t = e.split("-")[0];- return voe.has(t);+ return _oe.has(t);}// node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var Mw = Symbol.for("react-aria.i18n.locale");-function Nw() {- let e = typeof window < "u" && window[Mw] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+var Nw = Symbol.for("react-aria.i18n.locale");+function Pw() {+ let e = typeof window < "u" && window[Nw] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";try {Intl.DateTimeFormat.supportedLocalesOf([e]);} catch {@@ -23544,31 +23544,31 @@ function Nw() {}return {locale: e,- direction: yoe(e) ? "rtl" : "ltr"+ direction: voe(e) ? "rtl" : "ltr"};}-var Pw = Nw(), Fw = /* @__PURE__ */ new Set();-function Iw() {- Pw = Nw();- for (let e of Fw) e(Pw);+var Fw = Pw(), Iw = /* @__PURE__ */ new Set();+function Lw() {+ Fw = Pw();+ for (let e of Iw) e(Fw);}-function boe() {- let e = lC(), [t, n] = (0, F.useState)(Pw);- return (0, F.useEffect)(() => (Fw.size === 0 && window.addEventListener("languagechange", Iw), Fw.add(n), () => {- Fw.delete(n), Fw.size === 0 && window.removeEventListener("languagechange", Iw);+function yoe() {+ let e = uC(), [t, n] = (0, F.useState)(Fw);+ return (0, F.useEffect)(() => (Iw.size === 0 && window.addEventListener("languagechange", Lw), Iw.add(n), () => {+ Iw.delete(n), Iw.size === 0 && window.removeEventListener("languagechange", Lw);}), []), e ? {- locale: typeof window < "u" && window[Mw] || "en-US",+ locale: typeof window < "u" && window[Nw] || "en-US",direction: "ltr"} : t;}// node_modules/react-aria/dist/private/i18n/I18nProvider.mjs-var xoe = /*#__PURE__*/ F.createContext(null);-function Lw() {- let e = boe();- return (0, F.useContext)(xoe) || e;+var boe = /*#__PURE__*/ F.createContext(null);+function Rw() {+ let e = yoe();+ return (0, F.useContext)(boe) || e;}// node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var Soe = Symbol.for("react-aria.i18n.locale"), Coe = Symbol.for("react-aria.i18n.strings"), Rw = void 0, zw = class e {+var xoe = Symbol.for("react-aria.i18n.locale"), Soe = Symbol.for("react-aria.i18n.strings"), zw = void 0, Bw = class e {constructor(e, t = "en-US") {this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;}@@ -23579,38 +23579,38 @@ var Soe = Symbol.for("react-aria.i18n.locale"), Coe = Symbol.for("react-aria.i18}getStringsForLocale(e) {let t = this.strings[e];- return t || (t = woe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ return t || (t = Coe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;}static getGlobalDictionaryForPackage(t) {if (typeof window > "u") return null;- let n = window[Soe];- if (Rw === void 0) {- let t = window[Coe];+ let n = window[xoe];+ if (zw === void 0) {+ let t = window[Soe];if (!t) return null;- Rw = {};- for (let r in t) Rw[r] = new e({ [n]: t[r] }, n);+ zw = {};+ for (let r in t) zw[r] = new e({ [n]: t[r] }, n);}- let r = Rw?.[t];+ let r = zw?.[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 woe(e, t, n = "en-US") {+function Coe(e, t, n = "en-US") {if (t[e]) return t[e];- let r = Toe(e), i = Eoe(e);+ let r = woe(e), i = Toe(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 Toe(e) {+function woe(e) {return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];}-function Eoe(e) {+function Toe(e) {if (Intl.Locale) return new Intl.Locale(e).script;}// node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var Bw = /* @__PURE__ */ new Map(), Vw = /* @__PURE__ */ new Map(), Doe = class {+var Vw = /* @__PURE__ */ new Map(), Hw = /* @__PURE__ */ new Map(), Eoe = class {constructor(e, t) {this.locale = e, this.strings = t;}@@ -23621,36 +23621,36 @@ var Bw = /* @__PURE__ */ new Map(), Vw = /* @__PURE__ */ new Map(), Doe = classplural(e, t, n = "cardinal") {let r = t["=" + e];if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = Bw.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), Bw.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = Vw.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Vw.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;}number(e) {- let t = Vw.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), Vw.set(this.locale, t)), t.format(e);+ let t = Hw.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), Hw.set(this.locale, t)), t.format(e);}select(e, t) {let n = e[t] || e.other;return typeof n == "function" ? n() : n;}-}, Hw = /* @__PURE__ */ new WeakMap();-function Ooe(e) {- let t = Hw.get(e);- return t || (t = new zw(e), Hw.set(e, t)), t;+}, Uw = /* @__PURE__ */ new WeakMap();+function Doe(e) {+ let t = Uw.get(e);+ return t || (t = new Bw(e), Uw.set(e, t)), t;}-function koe(e, t) {- return t && zw.getGlobalDictionaryForPackage(t) || Ooe(e);+function Ooe(e, t) {+ return t && Bw.getGlobalDictionaryForPackage(t) || Doe(e);}-function Uw(e, t) {- let { locale: n } = Lw(), r = koe(e, t);- return (0, F.useMemo)(() => new Doe(n, r), [n, r]);+function Ww(e, t) {+ let { locale: n } = Rw(), r = Ooe(e, t);+ return (0, F.useMemo)(() => new Eoe(n, r), [n, r]);}// node_modules/react-aria/dist/private/utils/filterDOMProps.mjs-var Aoe = /* @__PURE__ */ new Set(["id"]), joe = /* @__PURE__ */ new Set([+var koe = /* @__PURE__ */ new Set(["id"]), Aoe = /* @__PURE__ */ new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"-]), Moe = /* @__PURE__ */ new Set([+]), joe = /* @__PURE__ */ new Set(["href","hrefLang","target",@@ -23658,25 +23658,25 @@ var Aoe = /* @__PURE__ */ new Set(["id"]), joe = /* @__PURE__ */ new Set(["download","ping","referrerPolicy"-]), Noe = /* @__PURE__ */ new Set([+]), Moe = /* @__PURE__ */ new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"-]), Ww = /* @__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(".")), Gw = /^(data-.*)$/;+]), Gw = /* @__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(".")), Noe = /^(data-.*)$/;function Kw(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) && (Aoe.has(t) || n && joe.has(t) || r && Moe.has(t) || i && Noe.has(t) || a && (Ww.has(t) || t.endsWith("Capture") && Ww.has(t.slice(0, -7))) || o?.has(t) || Gw.test(t)) && (s[t] = e[t]);+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (koe.has(t) || n && Aoe.has(t) || r && joe.has(t) || i && Moe.has(t) || a && (Gw.has(t) || t.endsWith("Capture") && Gw.has(t.slice(0, -7))) || o?.has(t) || Noe.test(t)) && (s[t] = e[t]);return s;}// node_modules/react-aria/dist/private/interactions/textSelection.mjsvar qw = "default", Jw = "", Yw = /* @__PURE__ */ new WeakMap();function Xw(e) {- if (JS() && YS()) {+ if (YS() && XS()) {if (qw === "default") {- let t = SS(e);+ let t = CS(e);Jw = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";}qw = "disabled";@@ -23686,12 +23686,12 @@ function Xw(e) {}}function Zw(e) {- if (JS() && YS()) {+ if (YS() && XS()) {if (qw !== "disabled") return;qw = "restoring", setTimeout(() => {- FC(() => {+ IC(() => {if (qw === "restoring") {- let t = SS(e);+ let t = CS(e);t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Jw || ""), Jw = "", qw = "default";}});@@ -23704,8 +23704,8 @@ function Zw(e) {// node_modules/react-aria/dist/private/utils/getNonce.mjsvar Qw = /* @__PURE__ */ new WeakMap();function $w(e) {- let t = SS(e), n = Qw.get(t);- return n ??= vw("csp-nonce", t), n !== void 0 && Qw.set(t, n), n;+ let t = CS(e), n = Qw.get(t);+ return n ??= yw("csp-nonce", t), n !== void 0 && Qw.set(t, n), n;}// node_modules/react-aria/dist/private/interactions/context.mjsvar eT = F.createContext({ register: () => {} });@@ -23743,7 +23743,7 @@ function Poe(e) {let { register: n, ref: r, ...i } = t;e = K(i, e), n();}- return $C(t, e.ref), e;+ return ew(t, e.ref), e;}var nT = class {#e;@@ -23802,7 +23802,7 @@ function oT(e) {i,n,t- ]), x = kw(b), S = kw((0, F.useCallback)((e, t) => {+ ]), x = Aw(b), S = Aw((0, F.useCallback)((e, t) => {let n = g.current;if (s) return !1;if (a) {@@ -23822,7 +23822,7 @@ function oT(e) {d,v,b- ]), w = kw(C);+ ]), w = Aw(C);(0, F.useEffect)(() => {s && g.current.isPressed && w({currentTarget: g.current.target,@@ -23839,25 +23839,25 @@ function oT(e) {}, [s, o]), D = (0, F.useCallback)((e, t) => {if (!s && o) {let n = new MouseEvent("click", e);- BS(n, t), o(zS(n));+ VS(n, t), o(BS(n));}}, [s, o]), O = (0, F.useMemo)(() => {let e = g.current, t = {onKeyDown(t) {- if (cT(t.nativeEvent, t.currentTarget) && kS(t.currentTarget, G(t))) {+ if (cT(t.nativeEvent, t.currentTarget) && AS(t.currentTarget, G(t))) {uT(G(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;- _(SS(t.currentTarget), "keyup", LC((t) => {- cT(t, i) && !t.repeat && kS(i, G(t)) && e.target && S(lT(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && KS() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ _(CS(t.currentTarget), "keyup", RC((t) => {+ cT(t, i) && !t.repeat && AS(i, G(t)) && e.target && S(lT(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && qS() && e.metaKeyEvents?.set(t.key, t.nativeEvent);} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());},onClick(t) {- if ((!t || kS(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !eC.isOpening) {+ if ((!t || AS(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !tC.isOpening) {let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || QS(t.nativeEvent))) {+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || $S(t.nativeEvent))) {let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");E(t), n = e && r && i;} else if (e.isPressed && e.pointerType !== "keyboard") {@@ -23870,8 +23870,8 @@ function oT(e) {}, n = (t) => {if (e.isPressed && e.target && cT(t, e.target)) {uT(G(t), t.key) && t.preventDefault();- let n = G(t), r = kS(e.target, n);- x(lT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && sT(e.target) && kS(e.target, n) && !t[rT] && (t[rT] = !0, eC(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ let n = G(t), r = AS(e.target, n);+ x(lT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && sT(e.target) && AS(e.target, n) && !t[rT] && (t[rT] = !0, tC(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);} else if (t.key === "Meta" && e.metaKeyEvents?.size) {let t = e.metaKeyEvents;e.metaKeyEvents = void 0;@@ -23880,8 +23880,8 @@ function oT(e) {};if (typeof PointerEvent < "u") {t.onPointerDown = (t) => {- if (t.button !== 0 || !kS(t.currentTarget, G(t))) return;- if (xae(t.nativeEvent)) {+ if (t.button !== 0 || !AS(t.currentTarget, G(t))) return;+ if (bae(t.nativeEvent)) {e.pointerType = "virtual";return;}@@ -23890,19 +23890,19 @@ function oT(e) {if (!e.isPressed) {e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || Xw(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)), _(SS(t.currentTarget), "pointerup", n, !1), _(SS(t.currentTarget), "pointercancel", r, !1);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(CS(t.currentTarget), "pointerup", n, !1), _(CS(t.currentTarget), "pointercancel", r, !1);}i && t.stopPropagation();}, t.onMouseDown = (t) => {- if (kS(t.currentTarget, G(t)) && t.button === 0) {+ if (AS(t.currentTarget, G(t)) && t.button === 0) {if (l) {- let n = vae(t.target);+ let n = _ae(t.target);n && e.disposables.push(n);}t.stopPropagation();}}, t.onPointerUp = (t) => {- kS(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);+ AS(t.currentTarget, G(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(lT(e.target, t), e.pointerType));}, t.onPointerLeave = (t) => {@@ -23910,9 +23910,9 @@ function oT(e) {};let n = (t) => {if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {- if (kS(e.target, G(t)) && e.pointerType != null) {+ if (AS(e.target, G(t)) && e.pointerType != null) {let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (xS(e.target), e.target.click()));+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (SS(e.target), e.target.click()));}, 80);_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));} else w(t);@@ -23922,7 +23922,7 @@ function oT(e) {w(e);};t.onDragStart = (e) => {- kS(e.currentTarget, G(e)) && w(e);+ AS(e.currentTarget, G(e)) && w(e);};}return t;@@ -23939,7 +23939,7 @@ function oT(e) {]);return (0, F.useEffect)(() => {if (!f) return;- let e = SS(f.current);+ let e = CS(f.current);if (!e || !e.head || e.getElementById(iT)) return;let t = e.createElement("style");t.id = iT;@@ -23968,7 +23968,7 @@ function sT(e) {}function cT(e, t) {let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof CS(i).HTMLInputElement && !dT(i, n) || i instanceof CS(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && sT(i)) && n !== "Enter");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof wS(i).HTMLInputElement && !dT(i, n) || i instanceof wS(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && sT(i)) && n !== "Enter");}function lT(e, t) {let n = t.clientX, r = t.clientY;@@ -23987,7 +23987,7 @@ function Foe(e) {return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !sT(e);}function uT(e, t) {- return KS() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !dT(e, t) : Foe(e);+ return qS() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !dT(e, t) : Foe(e);}var Ioe = /* @__PURE__ */ new Set(["checkbox",@@ -24036,7 +24036,7 @@ function Loe(e, t) {isDisabled: r,preventFocusOnPress: l,ref: t- }), { focusableProps: y } = tw(e, t);+ }), { focusableProps: y } = nw(e, t);u && (y.tabIndex = r ? -1 : y.tabIndex);let b = K(y, _, Kw(e, { labelable: !0 }));return {@@ -24077,7 +24077,7 @@ var Roe = class {return this._currentNode;}set currentNode(e) {- if (!kS(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");+ if (!AS(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t = [], n = e, r = e;for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });@@ -24091,7 +24091,7 @@ var Roe = class {}firstChild() {let e = this.currentNode, t = this.nextNode();- return kS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ return AS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);}lastChild() {let e = this._walkerStack[0].lastChild();@@ -24156,35 +24156,35 @@ var Roe = class {}};function fT(e, t, n, r) {- return OS() ? new Roe(e, t, n, r) : e.createTreeWalker(t, n, r);+ return kS() ? new Roe(e, t, n, r) : e.createTreeWalker(t, n, r);}// node_modules/react-aria/dist/private/focus/FocusScope.mjsvar pT = /*#__PURE__*/ F.createContext(null), mT = "react-aria-focus-scope-restore", hT = null;function gT(e) {let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)([]), { parentNode: c } = (0, F.useContext)(pT) || {}, l = (0, F.useMemo)(() => new kT({ scopeRef: s }), [s]);- RS(() => {+ zS(() => {let e = c || AT.root;if (AT.getTreeNode(e.scopeRef) && hT && !ST(hT, e.scopeRef)) {let t = AT.getTreeNode(hT);t && (e = t);}e.addChild(l), AT.addNode(l);- }, [l, c]), RS(() => {+ }, [l, c]), zS(() => {let e = AT.getTreeNode(s);e && (e.contain = !!n);- }, [n]), RS(() => {+ }, [n]), zS(() => {let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();for (; e && e !== o.current;) t.push(e), e.addEventListener(mT, n), e = e.nextSibling;return s.current = t, () => {for (let e of t) e.removeEventListener(mT, n);};}, [t]), Goe(s, r, n), Hoe(s, n), Koe(s, r, n), Woe(s, i), (0, F.useEffect)(() => {- let e = AS(SS(s.current ? s.current[0] : void 0)), t = null;+ let e = jS(CS(s.current ? s.current[0] : void 0)), t = null;if (bT(e, s.current)) {for (let n of AT.traverse()) n.scopeRef && bT(e, n.scopeRef.current) && (t = n);t === AT.getTreeNode(s) && (hT = t.scopeRef);}- }, [s]), RS(() => () => {+ }, [s]), zS(() => () => {let e = AT.getTreeNode(s)?.parent?.scopeRef ?? null;s !== hT && !ST(s, hT) || e && !AT.getTreeNode(e) || (hT = e), AT.removeTreeNode(s);}, [s]);@@ -24205,7 +24205,7 @@ function gT(e) {function zoe(e) {return {focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || AS(SS(n[0] ?? void 0)), c = n[0].previousElementSibling, l = OT(_T(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || jS(CS(n[0] ?? void 0)), c = n[0].previousElementSibling, l = OT(_T(n), {tabbable: i,accept: o}, n);@@ -24214,7 +24214,7 @@ function zoe(e) {return !u && a && (l.currentNode = c, u = l.nextNode()), u && CT(u, !0), u;},focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || AS(SS(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = OT(_T(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || jS(CS(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = OT(_T(n), {tabbable: i,accept: o}, n);@@ -24254,8 +24254,8 @@ function vT(e) {return !0;}function Boe(e) {- if (!e.form) return Array.from(SS(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);- let t = e.form.elements.namedItem(e.name), n = CS(e);+ if (!e.form) return Array.from(CS(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = wS(e);return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}function Voe(e) {@@ -24265,26 +24265,26 @@ function Voe(e) {}function Hoe(e, t) {let n = (0, F.useRef)(void 0), r = (0, F.useRef)(void 0);- RS(() => {+ zS(() => {let i = e.current;if (!t) {r.current &&= (cancelAnimationFrame(r.current), void 0);return;}- let a = SS(i ? i[0] : void 0), o = (t) => {+ let a = CS(i ? i[0] : void 0), o = (t) => {if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !vT(e) || t.isComposing) return;- let n = AS(a), r = e.current;+ let n = jS(a), r = e.current;if (!r || !bT(n, r)) return;let i = OT(_T(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 && (CT(o, !0), o instanceof CS(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 && (CT(o, !0), o instanceof wS(o).HTMLInputElement && o.select());}, s = (t) => {(!hT || ST(hT, e)) && bT(G(t), e.current) ? (hT = e, n.current = G(t)) : vT(e) && !xT(G(t), e) ? n.current ? CT(n.current) : hT && hT.current && TT(hT.current) : vT(e) && (n.current = G(t));}, c = (t) => {r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = TC(), i = (r === "virtual" || r === null) && ZS() && XS(), o = AS(a);+ let r = EC(), i = (r === "virtual" || r === null) && QS() && ZS(), o = jS(a);if (!i && o && vT(e) && !xT(o, e)) {hT = e;let r = G(t);@@ -24295,7 +24295,7 @@ function Hoe(e, t) {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]), RS(() => () => {+ }, [e, t]), zS(() => () => {r.current && cancelAnimationFrame(r.current);}, [r]);}@@ -24303,7 +24303,7 @@ function yT(e) {return xT(e);}function bT(e, t) {- return !e || !t ? !1 : t.some((t) => kS(t, e));+ return !e || !t ? !1 : t.some((t) => AS(t, e));}function xT(e, t = null) {if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;@@ -24323,7 +24323,7 @@ function ST(e, t) {}function CT(e, t = !1) {if (e != null && !t) try {- IC(e);+ LC(e);} catch {}else if (e != null) try {e.focus();@@ -24341,13 +24341,13 @@ function TT(e, t = !0) {function Woe(e, t) {let n = F.useRef(t);(0, F.useEffect)(() => {- n.current && (hT = e, !bT(AS(SS(e.current ? e.current[0] : void 0)), hT.current) && e.current && TT(e.current)), n.current = !1;+ n.current && (hT = e, !bT(jS(CS(e.current ? e.current[0] : void 0)), hT.current) && e.current && TT(e.current)), n.current = !1;}, [e]);}function Goe(e, t, n) {- RS(() => {+ zS(() => {if (t || n) return;- let r = e.current, i = SS(r ? r[0] : void 0), a = (t) => {+ let r = e.current, i = CS(r ? r[0] : void 0), a = (t) => {let n = G(t);bT(n, e.current) ? hT = e : yT(n) || (hT = null);};@@ -24369,18 +24369,18 @@ function ET(e) {return t?.scopeRef === e;}function Koe(e, t, n) {- let r = (0, F.useRef)(typeof document < "u" ? AS(SS(e.current ? e.current[0] : void 0)) : null);- RS(() => {- let r = e.current, i = SS(r ? r[0] : void 0);+ let r = (0, F.useRef)(typeof document < "u" ? jS(CS(e.current ? e.current[0] : void 0)) : null);+ zS(() => {+ let r = e.current, i = CS(r ? r[0] : void 0);if (!t || n) return;let a = () => {- (!hT || ST(hT, e)) && bT(AS(i), e.current) && (hT = e);+ (!hT || ST(hT, e)) && bT(jS(i), e.current) && (hT = 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]), RS(() => {- let r = SS(e.current ? e.current[0] : void 0);+ }, [e, n]), zS(() => {+ let r = CS(e.current ? e.current[0] : void 0);if (!t) return;let i = (t) => {if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !vT(e) || t.isComposing) return;@@ -24406,14 +24406,14 @@ function Koe(e, t, n) {e,t,n- ]), RS(() => {- let n = SS(e.current ? e.current[0] : void 0);+ ]), zS(() => {+ let n = CS(e.current ? e.current[0] : void 0);if (!t) return;let i = AT.getTreeNode(e);if (i) return i.nodeToRestore = r.current ?? void 0, () => {let r = AT.getTreeNode(e);if (!r) return;- let i = r.nodeToRestore, a = AS(n);+ let i = r.nodeToRestore, a = jS(n);if (t && i && (a && xT(a, e) || a === n.body && ET(e))) {let t = AT.clone();requestAnimationFrame(() => {@@ -24449,8 +24449,8 @@ function DT(e) {})) && CT(e);}function OT(e, t, n) {- let r = t?.tabbable ? IS : FS, i = SS(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = fT(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return kS(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Voe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || bT(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+ let r = t?.tabbable ? LS : IS, i = CS(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = fT(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return AS(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Voe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || bT(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;} });return t?.from && (a.currentNode = t.from), a;}@@ -24544,7 +24544,7 @@ var Joe = class {};// node_modules/react-aria/dist/private/utils/useUpdateEffect.mjsfunction PT(e, t) {- let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = kw(e);+ let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = Aw(e);(0, F.useEffect)(() => (n.current = !0, () => {n.current = !1;}), []), (0, F.useEffect)(() => {@@ -24576,7 +24576,7 @@ function RT(e, t, n = {}) {}function Yoe(e, t, n, r = {}) {let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, ee = e === d ? 0 : D + O, N = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - ee, P = e === d ? 0 : e.offsetHeight - e.clientHeight - N, ne = p + (f ? 0 : T) + x, re = m - (f ? 0 : E) - S - P, F = h + (f ? 0 : D) + C, I = g - (f ? 0 : O) - w;- JS() && YS() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (F += te);+ YS() && XS() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (F += te);let ie = k < ne || A > re, ae = j < F || M > I;if (ie && i === "start") o += k - ne;else if (ie && i === "center") o += (k + A) / 2 - (ne + re) / 2;@@ -24628,7 +24628,7 @@ function zT(e, t = {}) {var Xoe = 0, BT = /* @__PURE__ */ new Map();function VT(e) {let [t, n] = (0, F.useState)();- return RS(() => {+ return zS(() => {if (!e) return;let t = BT.get(e);if (t) n(t.element.id);@@ -24648,7 +24648,7 @@ function VT(e) {}// node_modules/react-aria/dist/private/utils/useFormReset.mjsfunction HT(e, t, n) {- let r = kw((e) => {+ let r = Aw((e) => {n && !e.defaultPrevented && n(t);});(0, F.useEffect)(() => {@@ -24661,19 +24661,19 @@ function HT(e, t, n) {// node_modules/react-aria/dist/private/form/useFormValidation.mjsfunction UT(e, t, n) {let { validationBehavior: r, focus: i } = e;- RS(() => {+ zS(() => {if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Qoe(n.current));}});- let a = (0, F.useRef)(!1), o = kw(() => {+ let a = (0, F.useRef)(!1), o = Aw(() => {a.current || t.resetValidation();- }), s = kw((e) => {+ }), s = Aw((e) => {t.displayValidation.isInvalid || t.commitValidation();let r = n?.current?.form;- !e.defaultPrevented && n && r && $oe(r) === n.current && (i ? i() : n.current?.focus(), EC("keyboard")), e.preventDefault();- }), c = kw(() => {+ !e.defaultPrevented && n && r && $oe(r) === n.current && (i ? i() : n.current?.focus(), DC("keyboard")), e.preventDefault();+ }), c = Aw(() => {t.commitValidation();});(0, F.useEffect)(() => {@@ -24722,12 +24722,12 @@ function ese(e = !0) {let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(!1), i = (0, F.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return RS(() => {+ return zS(() => {r.current || n(!1);}, []), [i, t];}function WT(e = !0) {- let t = VC(), [n, r] = ese(e);+ let t = HC(), [n, r] = ese(e);return {id: r ? t : void 0,ref: n@@ -24858,7 +24858,7 @@ function $T(e, t, n) {a();},isDisabled: r || i- }), { focusableProps: A } = tw(e, n), j = K(T, A), M = Kw(e, { labelable: !0 });+ }), { focusableProps: A } = nw(e, n), j = K(T, A), M = Kw(e, { labelable: !0 });HT(n, t.defaultSelected, t.setSelected);let ee = WT(), N = WT();return {@@ -24919,13 +24919,13 @@ var ise = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/label/useLabel.mjsfunction tE(e) {let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = VC(t);- let o = VC(), s = {};+ t = HC(t);+ let o = HC(), s = {};n && (r = r ? `${o} ${r}` : o, s = {id: o,htmlFor: a === "label" ? t : void 0});- let c = jw({+ let c = Mw({id: t,"aria-label": i,"aria-labelledby": r@@ -24937,12 +24937,12 @@ function tE(e) {}// node_modules/react-aria/dist/private/label/useField.mjsfunction nE(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = tE(e), s = HC([+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = tE(e), s = UC([!!t,!!n,r,i- ]), c = HC([+ ]), c = UC([!!t,!!n,r,@@ -24962,24 +24962,24 @@ function nE(e) {// node_modules/react-aria/dist/private/interactions/useFocusWithin.mjsfunction rE(e) {let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, F.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = tT(), c = (0, F.useCallback)((e) => {- kS(e.currentTarget, G(e)) && a.current.isFocusWithin && !kS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));+ AS(e.currentTarget, G(e)) && a.current.isFocusWithin && !AS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));}, [n,i,a,s- ]), l = VS(c), u = (0, F.useCallback)((e) => {- if (!kS(e.currentTarget, G(e))) return;- let t = G(e), n = SS(t), s = AS(n);+ ]), l = HS(c), u = (0, F.useCallback)((e) => {+ if (!AS(e.currentTarget, G(e))) return;+ let t = G(e), n = CS(t), s = jS(n);if (!a.current.isFocusWithin && s === t) {r && r(e), i && i(!0), a.current.isFocusWithin = !0, l(e);let t = e.currentTarget;o(n, "focus", (e) => {let r = G(e);- if (a.current.isFocusWithin && !kS(t, r)) {+ if (a.current.isFocusWithin && !AS(t, r)) {let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- BS(e, t);- let i = zS(e);+ VS(e, t);+ let i = BS(e);c(i);}}, { capture: !0 });@@ -25179,7 +25179,7 @@ function dE(e) {didMove: !1,lastPosition: null,id: null- }), { addGlobalListener: a, removeGlobalListener: o } = tT(), s = kw((0, F.useCallback)((e, r, a, o) => {+ }), { addGlobalListener: a, removeGlobalListener: o } = tT(), s = Aw((0, F.useCallback)((e, r, a, o) => {(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({type: "movestart",pointerType: r,@@ -25201,7 +25201,7 @@ function dE(e) {t,n,i- ])), c = kw((0, F.useCallback)((e, t) => {+ ])), c = Aw((0, F.useCallback)((e, t) => {Zw(), i.current.didMove && r?.({type: "moveend",pointerType: t,@@ -25228,7 +25228,7 @@ function dE(e) {if (e.pointerId === i.current.id) {let t = e.pointerType || "mouse";c(e, t), i.current.id = null;- let a = CS(G(e));+ let a = wS(G(e));o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);}};@@ -25238,7 +25238,7 @@ function dE(e) {pageX: e.pageX,pageY: e.pageY}, i.current.id = e.pointerId;- let o = CS(G(e));+ let o = wS(G(e));a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);}};@@ -25302,7 +25302,7 @@ function mE(e) {}// node_modules/react-aria/dist/private/textfield/useTextField.mjsfunction use(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = iE(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = tw(e, t), d = YT({+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = iE(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = nw(e, t), d = YT({...e,value: c}), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = nE({@@ -25360,7 +25360,7 @@ function use(e, t) {}// node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjsfunction dse(e = {}) {- let { locale: t } = Lw();+ let { locale: t } = Rw();return (0, F.useMemo)(() => new sse(t, e), [t, e]);}// node_modules/react-aria/dist/private/slider/utils.mjs@@ -25378,7 +25378,7 @@ function fse(e, t, n) {"aria-describedby": e["aria-describedby"],"aria-details": e["aria-details"]});- let { direction: o } = Lw(), { addGlobalListener: s, removeGlobalListener: c } = tT(), l = (0, F.useRef)(null), u = o === "rtl", d = (0, F.useRef)(null), { moveProps: f } = dE({+ let { direction: o } = Rw(), { addGlobalListener: s, removeGlobalListener: c } = tT(), l = (0, F.useRef)(null), u = o === "rtl", d = (0, F.useRef)(null), { moveProps: f } = dE({onMoveStart() {d.current = null;},@@ -25412,7 +25412,7 @@ function fse(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(gE(t, 0))?.focus(), EC("keyboard");+ document.getElementById(gE(t, 0))?.focus(), DC("keyboard");}), {labelProps: r,groupProps: {@@ -25442,19 +25442,19 @@ function fse(e, t, n) {}// node_modules/react-aria/dist/private/slider/useSliderThumb.mjsfunction pse(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 } = Lw(), { addGlobalListener: m, removeGlobalListener: h } = tT(), g = hE.get(t), { labelProps: _, fieldProps: v } = tE({+ 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 } = Rw(), { addGlobalListener: m, removeGlobalListener: h } = tT(), g = hE.get(t), { labelProps: _, fieldProps: v } = tE({...e,id: gE(t, n),"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()}), y = t.values[n], b = (0, F.useCallback)(() => {- s.current && xS(s.current);+ s.current && SS(s.current);}, [s]), x = t.focusedThumb === n;(0, F.useEffect)(() => {x && b();}, [x, b]);let S = p === "rtl", C = (0, F.useRef)(null), w = (e) => {t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);- }, { keyboardProps: T } = ZC({+ }, { keyboardProps: T } = QC({shortcuts: {PageUp: () => w(() => {t.incrementThumb(n, t.pageSize);@@ -25489,7 +25489,7 @@ function pse(e, t) {}});t.setThumbEditable(n, !d);- let { focusableProps: D } = tw(K(e, {+ let { focusableProps: D } = nw(K(e, {onFocus: () => t.setFocusedThumb(n),onBlur: () => t.setFocusedThumb(void 0)}), s), O = (0, F.useRef)(void 0), k = (e) => {@@ -25555,23 +25555,23 @@ function _E(e) {}var vE = /* @__PURE__ */ new WeakMap(), yE = [];function bE(e, t) {- let n = CS(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && mse, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {+ let n = wS(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && mse, 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 (OS()) {+ if (kS()) {let t = i.getRootNode();for (let n of e) {let e = n.getRootNode();- for (; TS(e) && e !== t;) u.add(e), e = e.host.getRootNode();+ for (; ES(e) && e !== t;) u.add(e), e = e.host.getRootNode();}}let d = (e) => {for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);let t = (e) => {if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;- for (let t of o) if (kS(e, t)) return NodeFilter.FILTER_SKIP;+ for (let t of o) if (AS(e, t)) return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT;- }, n = fT(SS(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);+ }, n = fT(CS(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {let e = n.nextNode();for (; e != null;) f(e), e = n.nextNode();@@ -25583,8 +25583,8 @@ function bE(e, t) {yE.length && yE[yE.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) => kS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && _E(e) ? o.add(e) : e instanceof Element && d(e);- if (OS()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => AS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && _E(e) ? o.add(e) : e instanceof Element && d(e);+ if (kS()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -25597,11 +25597,11 @@ function bE(e, t) {subtree: !0});let m = /* @__PURE__ */ new Set();- if (OS()) for (let e of u) {+ if (kS()) for (let e of u) {let t = new MutationObserver((e) => {for (let t of e) if (t.type === "childList") {- if (t.target.isConnected && ![...o, ...s].some((e) => kS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && _E(e) ? o.add(e) : e instanceof Element && d(e);- if (OS()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => AS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && _E(e) ? o.add(e) : e instanceof Element && d(e);+ if (kS()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -25628,7 +25628,7 @@ function bE(e, t) {}};return yE.push(h), () => {- if (p.disconnect(), OS()) for (let e of m) e.disconnect();+ if (p.disconnect(), kS()) for (let e of m) e.disconnect();for (let e of s) {let t = vE.get(e);t != null && (t === 1 ? (l(e, !1), vE.delete(e)) : vE.set(e, t - 1));@@ -25654,7 +25654,7 @@ function gse(e, t) {}// node_modules/react-aria/dist/private/selection/utils.mjsfunction CE(e) {- return bae() ? e.altKey : e.ctrlKey;+ return yae() ? e.altKey : e.ctrlKey;}function wE(e, t) {let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;@@ -25662,7 +25662,7 @@ function wE(e, t) {}var TE = /* @__PURE__ */ new WeakMap();function _se(e) {- let t = VC();+ let t = HC();return TE.set(e, t), t;}function vse(e) {@@ -25976,12 +25976,12 @@ function lD(e) {...e,type: "longpressstart"}), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), SS(e.target).activeElement !== e.target && xS(e.target), a && a({+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), CS(e.target).activeElement !== e.target && SS(e.target), a && a({...e,type: "longpress"}), c.current = void 0;}, o), e.pointerType === "touch" && l(e.target, "contextmenu", (e) => e.preventDefault(), { once: !0 });- let t = CS(e.target);+ let t = wS(e.target);l(t, "pointerup", () => {setTimeout(() => {u();@@ -26012,7 +26012,7 @@ function bse(e) {});}});- return t ? { contextMenuProps: K(JS() ? r : {}, {+ return t ? { contextMenuProps: K(YS() ? r : {}, {onContextMenu(e) {e.stopPropagation(), e.preventDefault(), n.current = !0;let r = e.currentTarget.getBoundingClientRect();@@ -26023,7 +26023,7 @@ function bse(e) {});},onKeyDown(e) {- if (KS() && e.ctrlKey && e.key === "Enter") {+ if (qS() && e.ctrlKey && e.key === "Enter") {n.current = !1;let r = e.currentTarget;e.stopPropagation(), setTimeout(() => {@@ -26045,9 +26045,9 @@ function bse(e) {var uD = /* @__PURE__ */ new WeakMap();function xse(e) {let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, F.useEffect)(() => !n || r === null ? void 0 : ES(jS(t.current), "scroll", (e) => {+ (0, F.useEffect)(() => !n || r === null ? void 0 : DS(MS(t.current), "scroll", (e) => {let n = G(e);- if (!t.current || n instanceof Node && !kS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;+ if (!t.current || n instanceof Node && !AS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;let i = r || uD.get(t.current);i && i();}, !0), [@@ -26064,7 +26064,7 @@ function Sse(e, t, n) {});let a;r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = VC();+ let o = HC();return {triggerProps: {"aria-haspopup": a,@@ -26080,10 +26080,10 @@ function Cse(e) {return e && e.__esModule ? e.default : e;}function dD(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = VC(), { triggerProps: s, overlayProps: c } = Sse({ type: r }, t, n), l = (e, n, r = "first") => {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = HC(), { triggerProps: s, overlayProps: c } = Sse({ type: r }, t, n), l = (e, n, r = "first") => {if (!e || n.isDefaultPrevented()) return !1;t.toggle(r);- }, { keyboardProps: u } = ZC({+ }, { keyboardProps: u } = QC({isDisabled: i,shortcuts: {Enter: (e) => l(a !== "longPress", e, "first"),@@ -26095,7 +26095,7 @@ function dD(e, t, n) {"Alt+ArrowDown": (e) => l(!0, e, "first"),"Alt+ArrowUp": (e) => l(!0, e, "last")}- }), d = Uw(Cse(cD), "@react-aria/menu"), { longPressProps: f } = lD({+ }), d = Ww(Cse(cD), "@react-aria/menu"), { longPressProps: f } = lD({isDisabled: i || a !== "longPress",accessibilityDescription: d.format("longPressMessage"),onLongPressStart() {@@ -26107,10 +26107,10 @@ function dD(e, t, n) {}), p = {preventFocusOnPress: !0,onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (xS(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (SS(e.target), t.open(e.pointerType === "virtual" ? "first" : null));},onPress(e) {- e.pointerType === "touch" && !i && (xS(e.target), t.toggle());+ e.pointerType === "touch" && !i && (SS(e.target), t.toggle());}};delete s.onPress;@@ -26183,7 +26183,7 @@ function pD(e) {} : void 0,onKeyDown: t.getKeyForSearch ? (e) => {let a = wse(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !kS(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !AS(e.currentTarget, G(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();@@ -26205,18 +26205,18 @@ function wse(e) {// node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjsfunction mD(e, t) {let n = (0, F.useRef)(!0), r = (0, F.useRef)(null);- RS(() => (n.current = !0, () => {+ zS(() => (n.current = !0, () => {n.current = !1;- }), []), RS(() => {+ }), []), zS(() => {n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;}, t);}// node_modules/react-aria/dist/private/selection/useSelectableCollection.mjsfunction hD(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 } = Lw(), _ = $S(), v = (e, n, i) => {+ let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = Rw(), _ = eC(), v = (e, n, i) => {if (n != null) {if (t.isLink(n) && m === "selection" && l && !CE(e)) {- (0, Lt.flushSync)(() => {+ (0, It.flushSync)(() => {t.setFocusedKey(n, i);});let a = wE(r, n), o = t.getItemProps(n);@@ -26258,9 +26258,9 @@ function hD(e) {}, x = (e) => {if (n.getFirstKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, Dw(e));+ let r = n.getFirstKey(t.focusedKey, Ow(e));if (t.setFocusedKey(r), r != null) {- if (Dw(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (Ow(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -26292,9 +26292,9 @@ function hD(e) {}, w = (e) => {if (n.getLastKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, Dw(e));+ let r = n.getLastKey(t.focusedKey, Ow(e));if (t.setFocusedKey(r), r != null) {- if (Dw(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (Ow(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -26329,8 +26329,8 @@ function hD(e) {don = e.lastChild(), n && (t = n);while (n);- let i = AS();- t && (!MS(t) || i && !IS(i)) && xS(t);+ let i = jS();+ t && (!NS(t) || i && !LS(i)) && SS(t);}return {shouldContinuePropagation: !0,@@ -26340,11 +26340,11 @@ function hD(e) {shouldContinuePropagation: !0,shouldPreventDefault: !1}), j = (e, t) => ({- [KS() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ [qS() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,[e + "+Shift"]: t,- [KS() ? e + "+Alt" : e + "+Control"]: t,+ [qS() ? e + "+Alt" : e + "+Control"]: t,[e]: t- }), { keyboardProps: M } = ZC({+ }), { keyboardProps: M } = QC({shortcuts: {...j("ArrowDown", y),...j("ArrowUp", b),@@ -26354,7 +26354,7 @@ function hD(e) {...j("PageUp", E)},allowRepeats: !0- }), { keyboardProps: ee } = ZC({ shortcuts: {+ }), { keyboardProps: ee } = QC({ shortcuts: {...j("Home", x),...j("End", w),"Mod+A": D,@@ -26365,7 +26365,7 @@ function hD(e) {top: 0,left: 0});- Aw(p, "scroll", () => {+ jw(p, "scroll", () => {N.current = {top: p.current?.scrollTop ?? 0,left: p.current?.scrollLeft ?? 0@@ -26373,11 +26373,11 @@ function hD(e) {});let te = (e) => {if (t.isFocused) {- kS(e.currentTarget, G(e)) || t.setFocused(!1);+ AS(e.currentTarget, G(e)) || t.setFocused(!1);return;}- if (!kS(e.currentTarget, G(e))) return;- let i = TC();+ if (!AS(e.currentTarget, G(e))) return;+ let i = EC();t.setFocused(!0);let a = (e) => {e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));@@ -26389,12 +26389,12 @@ function hD(e) {} else p.current && (p.current.scrollTop = N.current.top, p.current.scrollLeft = N.current.left);if (t.focusedKey != null && p.current) {let e = wE(r, t.focusedKey);- e instanceof HTMLElement && (!MS(e) && !d && xS(e), (i === "keyboard" || h && i === "virtual") && zT(e, { containingElement: r.current }));+ e instanceof HTMLElement && (!NS(e) && !d && SS(e), (i === "keyboard" || h && i === "virtual") && zT(e, { containingElement: r.current }));}}, P = (e) => {- kS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ AS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);}, ne = (0, F.useRef)(!1);- Aw(r, loe, d ? (e) => {+ jw(r, coe, d ? (e) => {let { detail: n } = e;e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ne.current = !0);} : void 0);@@ -26402,13 +26402,13 @@ function hD(e) {mD(() => {if (ne.current) {if (re == null) {- let e = AS();- gw(r.current), _w(e, null), t.collection.size > 0 && (ne.current = !1);+ let e = jS();+ _w(r.current), vw(e, null), t.collection.size > 0 && (ne.current = !1);} else t.setFocusedKey(re), ne.current = !1;}}, [re, t.collection.size]), mD(() => {t.collection.size > 0 && (ne.current = !1);- }, [t.focusedKey]), Aw(r, coe, d ? (e) => {+ }, [t.focusedKey]), jw(r, soe, d ? (e) => {e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);} : void 0);let I = (0, F.useRef)(i), ie = (0, F.useRef)(!1);@@ -26423,22 +26423,22 @@ function hD(e) {break;}}- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && IC(r.current), t.collection.size > 0 && (I.current = !1, ie.current = !0);+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && LC(r.current), t.collection.size > 0 && (I.current = !1, ie.current = !0);}});let ae = (0, F.useRef)(t.focusedKey), oe = (0, F.useRef)(null);(0, F.useEffect)(() => {if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {- let e = TC(), n = wE(r, t.focusedKey);+ let e = EC(), n = wE(r, t.focusedKey);if (!(n instanceof HTMLElement)) return;(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {p.current && (RT(p.current, n), e !== "virtual" && zT(n, { containingElement: r.current }));}));}- !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && IC(r.current), ae.current = t.focusedKey, ie.current = !1;+ !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && LC(r.current), ae.current = t.focusedKey, ie.current = !1;}), (0, F.useEffect)(() => () => {oe.current && cancelAnimationFrame(oe.current);- }, []), Aw(r, "react-aria-focus-scope-restore", (e) => {+ }, []), jw(r, "react-aria-focus-scope-restore", (e) => {e.preventDefault(), t.setFocused(!0);});let se = {@@ -26504,7 +26504,7 @@ function CD(e) {// node_modules/react-aria/dist/private/i18n/useCollator.mjsvar wD = /* @__PURE__ */ new Map();function TD(e) {- let { locale: t } = Lw(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ let { locale: t } = Rw(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");if (wD.has(n)) return wD.get(n);let r = new Intl.Collator(t, e);return wD.set(n, r), r;@@ -26517,7 +26517,7 @@ var Tse = /*#__PURE__*/ F.forwardRef(({ children: e, ...t }, n) => {r.current = !0, i && i.register();}});- return a.ref = QC(n || i?.ref), $C(i, a.ref), (0, F.useEffect)(() => {+ return a.ref = $C(n || i?.ref), ew(i, a.ref), (0, F.useEffect)(() => {r.current ||= !0;}, []), /*#__PURE__*/ F.createElement(eT.Provider, { value: a }, e);});@@ -26537,7 +26537,7 @@ function OD() {// node_modules/react-aria/dist/private/overlays/Overlay.mjsvar kD = /*#__PURE__*/ F.createContext(null);function AD(e) {- let t = lC(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ({+ let t = uC(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ({contain: i,setContain: a}), [i, a]), { getContainer: s } = OD();@@ -26546,26 +26546,26 @@ function AD(e) {return e.disableFocusManagement || (c = /*#__PURE__*/ F.createElement(gT, {restoreFocus: !0,contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ F.createElement(kD.Provider, { value: o }, /*#__PURE__*/ F.createElement(Ese, null, /*#__PURE__*/ F.createElement(ew.Provider, { value: null }, c))), /*#__PURE__*/ Lt.createPortal(c, n);+ }, c)), c = /*#__PURE__*/ F.createElement(kD.Provider, { value: o }, /*#__PURE__*/ F.createElement(Ese, null, /*#__PURE__*/ F.createElement(tw.Provider, { value: null }, c))), /*#__PURE__*/ It.createPortal(c, n);}function jD() {let e = (0, F.useContext)(kD)?.setContain;- RS(() => {+ zS(() => {e?.(!0);}, [e]);}// node_modules/react-aria/dist/private/dialog/useDialog.mjsfunction Dse(e, t) {- let { role: n = "dialog", isEntering: r } = e, i = HC();+ let { role: n = "dialog", isEntering: r } = e, i = UC();i = e["aria-label"] ? void 0 : i;- let a = HC();+ let a = UC();a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;let o = (0, F.useRef)(!1);(0, F.useEffect)(() => {- if (!r && t.current && !MS(t.current)) {- IC(t.current);+ if (!r && t.current && !NS(t.current)) {+ LC(t.current);let e = setTimeout(() => {- (AS() === t.current || AS() === document.body) && (o.current = !0, t.current && (t.current.blur(), IC(t.current)), o.current = !1);+ (jS() === t.current || jS() === document.body) && (o.current = !0, t.current && (t.current.blur(), LC(t.current)), o.current = !1);}, 500);return () => {clearTimeout(e);@@ -26592,17 +26592,17 @@ function Dse(e, t) {function MD(e = {}) {let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, F.useRef)({isFocused: !1,- isFocusVisible: t || wC()+ isFocusVisible: t || TC()}), [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, F.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, F.useCallback)((e) => {- i.current.isFocused = e, i.current.isFocusVisible = wC(), o(e), l();+ i.current.isFocused = e, i.current.isFocusVisible = TC(), o(e), l();}, [l]);- kC((e) => {+ AC((e) => {i.current.isFocusVisible = e, l();}, [n, a], {enabled: a,isTextInput: n});- let { focusProps: d } = qC({+ let { focusProps: d } = JC({isDisabled: r,onFocusChange: u}), { focusWithinProps: f } = rE({@@ -26617,7 +26617,7 @@ function MD(e = {}) {}// node_modules/react-aria/dist/private/i18n/useListFormatter.mjsfunction Ose(e = {}) {- let { locale: t } = Lw();+ let { locale: t } = Rw();return (0, F.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);}// node_modules/react-aria/dist/private/interactions/useHover.mjs@@ -26631,7 +26631,7 @@ function FD(e) {e.pointerType === "touch" && kse();}function Ase() {- let e = SS(null);+ let e = CS(null);if (e !== void 0) return PD === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", FD), PD++, () => {PD--, !(PD > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", FD);};@@ -26646,11 +26646,11 @@ function ID(e) {(0, F.useEffect)(Ase, []);let { addGlobalListener: c, removeAllGlobalListeners: l } = tT(), { hoverProps: u, triggerHoverEnd: d } = (0, F.useMemo)(() => {let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !kS(e.currentTarget, G(e))) return;+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !AS(e.currentTarget, G(e))) return;s.isHovered = !0;let l = e.currentTarget;- s.target = l, c(SS(G(e)), "pointerover", (e) => {- s.isHovered && s.target && !kS(s.target, G(e)) && a(e, e.pointerType);+ s.target = l, c(CS(G(e)), "pointerover", (e) => {+ s.isHovered && s.target && !AS(s.target, G(e)) && a(e, e.pointerType);}, { capture: !0 }), t && t({type: "hoverstart",target: l,@@ -26667,7 +26667,7 @@ function ID(e) {return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {ND && t.pointerType === "mouse" || e(t, t.pointerType);}, u.onPointerLeave = (e) => {- !i && kS(e.currentTarget, G(e)) && a(e, e.pointerType);+ !i && AS(e.currentTarget, G(e)) && a(e, e.pointerType);}), {hoverProps: u,triggerHoverEnd: a@@ -26693,15 +26693,15 @@ function jse(e) {let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, F.useRef)({isPointerDown: !1,ignoreEmulatedMouseEvents: !1- }), o = kw((e) => {+ }), o = Aw((e) => {n && LD(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = kw((e) => {+ }), s = Aw((e) => {n && n(e);});(0, F.useEffect)(() => {let e = a.current;if (r) return;- let n = t.current, i = SS(n);+ let n = t.current, i = CS(n);if (typeof PointerEvent < "u") {let n = (n) => {e.isPointerDown && LD(n, t) && s(n), e.isPointerDown = !1;@@ -26717,7 +26717,7 @@ function LD(e, t) {let n = G(e);if (n) {let e = n.ownerDocument;- if (!e || !kS(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;+ if (!e || !AS(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;}return t.current ? !e.composedPath().includes(t.current) : !1;}@@ -27250,7 +27250,7 @@ function Nse(e) {return e && e.__esModule ? e.default : e;}function xO(e, t) {- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Uw(Nse(bO), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, F.useRef)(i), o = (0, F.useCallback)(() => {+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Ww(Nse(bO), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, F.useRef)(i), o = (0, F.useCallback)(() => {if (!t.selectionManager.isFocused || i === a.current) {a.current = i;return;@@ -27303,7 +27303,7 @@ function SO(e, t) {// node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjsfunction CO(e, t) {let n = t?.isDisabled, [r, i] = (0, F.useState)(!1);- return RS(() => {+ return zS(() => {if (e?.current && !n) {let t = () => {if (e.current) {@@ -27329,7 +27329,7 @@ function Pse(e) {return e && e.__esModule ? e.default : e;}function wO(e) {- let t = Uw(Pse(bO), "@react-aria/grid"), n = DC(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;+ let t = Ww(Pse(bO), "@react-aria/grid"), n = OC(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;return VT((0, F.useMemo)(() => {let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;@@ -27390,7 +27390,7 @@ function Fse(e, t, n) {autoFocus: e.autoFocus,escapeKeyBehavior: u,UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry- }), p = VC(e.id);+ }), p = HC(e.id);RD.set(t, {id: p,onAction: o,@@ -27410,8 +27410,8 @@ function Fse(e, t, n) {}// node_modules/react-aria/dist/private/selection/useSelectableItem.mjsfunction EO(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 = $S();- t = VC(t);+ let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = eC();+ t = HC(t);let p = (e) => {if (e.pointerType === "keyboard" && CE(e)) n.toggleSelection(r);else {@@ -27424,11 +27424,11 @@ function EO(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 && (Dw(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 && (Ow(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);}};(0, F.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? gw(i.current) : s ? s() : AS() !== i.current && i.current && IC(i.current));+ r === n.focusedKey && n.isFocused && (o ? _w(i.current) : s ? s() : jS() !== i.current && i.current && LC(i.current));}, [i,r,@@ -27486,7 +27486,7 @@ function EO(e) {"onPress","onPressUp","onClick"- ]) D[e] && (k[e] = LC(k[e], D[e]));+ ]) D[e] && (k[e] = RC(k[e], D[e]));let { pressProps: j, isPressed: M } = oT(k), ee = x ? (e) => {C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));} : void 0, { longPressProps: N } = lD({@@ -27497,7 +27497,7 @@ function EO(e) {}), te = (e) => {C.current === "touch" && T.current && e.preventDefault();}, P = d !== "none" && n.isLink(r) ? (e) => {- eC.isOpening || e.preventDefault();+ tC.isOpening || e.preventDefault();} : void 0, ne = K(m, v || b || o && !c ? j : {}, w ? N : {}, {onDoubleClick: ee,onDragStartCapture: te,@@ -27510,7 +27510,7 @@ function EO(e) {if (e != null) return e !== A;t = t.parentElement;}- return IS(e);+ return LS(e);}, I = ne.onPointerDown;ne.onPointerDown = (e) => {let t = G(e);@@ -27548,17 +27548,17 @@ var kO = {}};function Ise(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Lw(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = RD.get(t), f = HC(), p = (0, F.useRef)(null), m = () => {+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Rw(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = RD.get(t), f = UC(), p = (0, F.useRef)(null), m = () => {if (n.current !== null) {if (a === "child") {- if (MS(n.current) && n.current !== AS(SS(n.current))) return;+ if (NS(n.current) && n.current !== jS(CS(n.current))) return;let e = OT(n.current, { tabbable: !0 }).firstChild();if (e) {- IC(e), zT(e, { containingElement: IT(e) });+ LC(e), zT(e, { containingElement: IT(e) });return;}}- (p.current != null && r.key !== p.current || !MS(n.current)) && IC(n.current);+ (p.current != null && r.key !== p.current || !NS(n.current)) && LC(n.current);}}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);if (r != null && "expandedKeys" in t) {@@ -27585,48 +27585,48 @@ function Ise(e, t, n) {ref: n,isVirtualized: i,shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,- onAction: c || r.props?.onAction ? LC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,+ onAction: c || r.props?.onAction ? RC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,focus: m,linkBehavior: l}), b = (e) => {- let i = AS(SS(n.current));- if (!kS(e.currentTarget, G(e)) || !n.current || !i) return;+ let i = jS(CS(n.current));+ if (!AS(e.currentTarget, G(e)) || !n.current || !i) return;let a = OT(n.current);if (a.currentNode = i, !AO(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(), IC(t), zT(t, { containingElement: IT(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") IC(n.current), zT(n.current, { containingElement: IT(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), LC(t), zT(t, { containingElement: IT(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") LC(n.current), zT(n.current, { containingElement: IT(n.current) });else {a.currentNode = n.current;let e = jO(a);- e && (IC(e), zT(e, { containingElement: IT(n.current) }));+ e && (LC(e), zT(e, { containingElement: IT(n.current) }));}}break;case "ArrowRight":if (u === "arrow") {let t = s === "rtl" ? a.previousNode() : a.nextNode();- if (t) e.preventDefault(), e.stopPropagation(), IC(t), zT(t, { containingElement: IT(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") IC(n.current), zT(n.current, { containingElement: IT(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), LC(t), zT(t, { containingElement: IT(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") LC(n.current), zT(n.current, { containingElement: IT(n.current) });else {a.currentNode = n.current;let e = jO(a);- e && (IC(e), zT(e, { containingElement: IT(n.current) }));+ e && (LC(e), zT(e, { containingElement: IT(n.current) }));}}break;case "ArrowUp":- case "ArrowDown": !e.altKey && kS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && AS(n.current, G(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 && kS(n.current, e.relatedTarget) || requestAnimationFrame(() => {- a === "child" && AS(SS(n.current)) === n.current && m();- }) : wC() || t.selectionManager.setFocusedKey(r.key);+ p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && AS(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ a === "child" && jS(CS(n.current)) === n.current && m();+ }) : TC() || t.selectionManager.setFocusedKey(r.key);}, S = (e) => {- let i = AS(SS(n.current));- if (kS(e.currentTarget, G(e)) && n.current && i) {+ let i = jS(CS(n.current));+ if (AS(e.currentTarget, G(e)) && n.current && i) {if (u === "tab") {if (G(e) !== n.current && e.key !== "Tab") {e.stopPropagation();@@ -27639,7 +27639,7 @@ function Ise(e, t, n) {t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}- }, C = tC(r.props), w = K(v, y.hasAction ? C : {}, {+ }, C = nC(r.props), w = K(v, y.hasAction ? C : {}, {role: "row",onKeyDownCapture: u === "arrow" || o ? b : void 0,onFocus: x,@@ -27694,10 +27694,10 @@ function Rse(e) {return e && e.__esModule ? e.default : e;}function MO(e, t) {- let { key: n } = e, r = t.selectionManager, i = VC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);+ let { key: n } = e, r = t.selectionManager, i = HC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);return { checkboxProps: {id: i,- "aria-label": Uw(Rse(bO), "@react-aria/grid").format("select"),+ "aria-label": Ww(Rse(bO), "@react-aria/grid").format("select"),isSelected: o,isDisabled: a,onChange: () => r.toggleSelection(n)@@ -27726,7 +27726,7 @@ function Bse(e, t, n) {onFocusWithin: e.onFocus,onBlurWithin: e.onBlur,onFocusWithinChange: e.onFocusChange- }), l = VC(e.id);+ }), l = HC(e.id);SE.set(t, {id: l,shouldUseVirtualFocus: e.shouldUseVirtualFocus,@@ -27753,7 +27753,7 @@ function Bse(e, t, n) {}// node_modules/react-aria/dist/private/listbox/useListBoxSection.mjsfunction Vse(e) {- let { heading: t, "aria-label": n } = e, r = VC();+ let { heading: t, "aria-label": n } = e, r = HC();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -27772,7 +27772,7 @@ function Vse(e) {}// node_modules/react-aria/dist/private/listbox/useOption.mjsfunction Hse(e, t, n) {- let { key: r } = e, i = SE.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 = HC(), f = HC(), p = {+ let { key: r } = e, i = SE.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 = UC(), f = UC(), p = {role: "option","aria-disabled": a || void 0,"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,@@ -27793,18 +27793,18 @@ function Hse(e, t, n) {isVirtualized: u,shouldUseVirtualFocus: l,isDisabled: a,- onAction: h || m?.props?.onAction ? LC(m?.props?.onAction, h) : void 0,+ onAction: h || m?.props?.onAction ? RC(m?.props?.onAction, h) : void 0,linkBehavior: i?.linkBehavior,UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,id: g}), { hoverProps: S } = ID({isDisabled: a || !c,onHoverStart() {- wC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ TC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));}}), C = Kw(m?.props);delete C.id;- let w = nC(m?.props);+ let w = rC(m?.props);return {optionProps: {...p,@@ -27814,7 +27814,7 @@ function Hse(e, t, n) {labelProps: { id: d },descriptionProps: { id: f },isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && wC(),+ isFocusVisible: y && t.selectionManager.isFocused && TC(),isSelected: o,isDisabled: a,isPressed: v,@@ -27854,14 +27854,14 @@ function Use(e, t, n) {}// node_modules/react-aria/dist/private/menu/useMenuItem.mjsfunction Wse(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 = NO.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = $S(), M = () => {+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = NO.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = eC(), M = () => {if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {let e = O.onAction;e(i, k?.value);}}, ee = "menuitem";w || (C.selectionMode === "single" ? ee = "menuitemradio" : C.selectionMode === "multiple" && (ee = "menuitemcheckbox"));- let N = HC(), te = HC(), P = HC(), ne = {+ let N = UC(), te = UC(), P = UC(), ne = {id: r,"aria-disabled": E || void 0,role: ee,@@ -27885,7 +27885,7 @@ function Wse(e, t, n) {}, ie = (0, F.useRef)(null), ae = (e) => {e.pointerType !== "keyboard" && (ie.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (re.current || e.target.click()), u?.(e);}, oe = (e) => {- m?.(e), M(), Eae(e, j, k.props.href, k?.props.routerOptions);+ m?.(e), M(), Tae(e, j, k.props.href, k?.props.routerOptions);let t = ie.current?.pointerType === "keyboard" ? ie.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);t = o ?? a ?? t, A && !w && t && A(), ie.current = null;}, { itemProps: se, isFocused: ce } = EO({@@ -27907,17 +27907,17 @@ function Wse(e, t, n) {}), { hoverProps: de } = ID({isDisabled: E,onHoverStart(e) {- !wC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);+ !TC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);},onHoverChange: g,onHoverEnd: _- }), { keyboardProps: fe } = ZC({+ }), { keyboardProps: fe } = QC({shortcuts: {" ": (e) => {ie.current = {pointerType: "keyboard",key: " "- }, G(e).click(), EC("keyboard");+ }, G(e).click(), DC("keyboard");},Enter: (e) => {ie.current = {@@ -27925,8 +27925,8 @@ function Wse(e, t, n) {key: "Enter"};let t = G(e);- if (t.tagName !== "A") t.click(), EC("keyboard");- else return EC("keyboard"), {+ if (t.tagName !== "A") t.click(), DC("keyboard");+ else return DC("keyboard"), {shouldPreventDefault: !1,shouldContinuePropagation: !1};@@ -27934,17 +27934,17 @@ function Wse(e, t, n) {},onKeyDown: v,onKeyUp: y- }), { focusableProps: pe } = tw({+ }), { focusableProps: pe } = nw({onBlur: S,onFocus: b,onFocusChange: x}, n), me = Kw(k?.props);delete me.id;- let he = nC(k?.props);+ let L = rC(k?.props);return {menuItemProps: {...ne,- ...K(me, he, w ? {+ ...K(me, L, w ? {onFocus: se.onFocus,"data-collection": se["data-collection"],"data-key": se["data-key"]@@ -27955,7 +27955,7 @@ function Wse(e, t, n) {descriptionProps: { id: te },keyboardShortcutProps: { id: P },isFocused: ce,- isFocusVisible: ce && C.isFocused && wC() && !T,+ isFocusVisible: ce && C.isFocused && TC() && !T,isSelected: D,isPressed: ue,isDisabled: E@@ -27963,7 +27963,7 @@ function Wse(e, t, n) {}// node_modules/react-aria/dist/private/menu/useMenuSection.mjsfunction Gse(e) {- let { heading: t, "aria-label": n } = e, r = VC();+ let { heading: t, "aria-label": n } = e, r = HC();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -27982,7 +27982,7 @@ function Kse() {return window.ResizeObserver !== void 0;}function PO(e) {- let { ref: t, box: n, onResize: r } = e, i = kw(r);+ let { ref: t, box: n, onResize: r } = e, i = Aw(r);(0, F.useEffect)(() => {let e = t?.current;if (e) {@@ -28145,7 +28145,7 @@ function qse(e) {return e && e.__esModule ? e.default : e;}function gk(e) {- let { onDismiss: t, ...n } = e, r = jw(n, Uw(qse(hk), "@react-aria/overlays").format("dismiss")), i = () => {+ let { onDismiss: t, ...n } = e, r = Mw(n, Ww(qse(hk), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};return /*#__PURE__*/ F.createElement(mE, null, /*#__PURE__*/ F.createElement("button", {@@ -28175,7 +28175,7 @@ function vk(e, t) {c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();}, d = (e) => {(!s || s(G(e))) && (_k[_k.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = ZC({ shortcuts: { Escape: () => {+ }, { keyboardProps: f } = QC({ shortcuts: { Escape: () => {if (!o) l();else return !1;} } });@@ -28201,23 +28201,23 @@ function vk(e, t) {// node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjsvar Jse = 200, Yse = 50, Xse = 600, yk = /* @__PURE__ */ new WeakMap(), bk = /* @__PURE__ */ new Set(), xk = /* @__PURE__ */ new Set();function Zse(e, t) {- let n = Ow();+ let n = kw();if (e !== n || t.aborted) for (let e of xk) e(n), xk.delete(e);- if (!e && n && YS() && !t.aborted) window.clearInterval(yk.get(window)), yk.set(window, Sk(Jse));+ if (!e && n && XS() && !t.aborted) window.clearInterval(yk.get(window)), yk.set(window, Sk(Jse));else {if (e !== n || t.aborted) for (let e of bk) e(n), bk.delete(e);(xk.size + bk.size <= 0 || t.aborted) && (window.clearInterval(yk.get(window)), yk.delete(window));}}function Sk(e = Xse) {- return window.setInterval(Zse, Yse, Ow(), AbortSignal.timeout(e));+ return window.setInterval(Zse, Yse, kw(), AbortSignal.timeout(e));}function Ck(e) {- if (!Tw()) return e(!1), () => {};+ if (!Ew()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = Ew(document.hasFocus() ? AS() : null);- if (Ow() === t || Ow() && !t) return e(t);+ let t = Dw(document.hasFocus() ? jS() : null);+ if (kw() === t || kw() && !t) return e(t);xk.add(e), yk.has(window) || yk.set(window, Sk());});});@@ -28226,11 +28226,11 @@ function Ck(e) {};}function Qse(e) {- if (!Tw()) return e(!1), () => {};+ if (!Ew()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = Ew(document.hasFocus() ? AS() : null);- if (Ow() === t) return e(t);+ let t = Dw(document.hasFocus() ? jS() : null);+ if (kw() === t) return e(t);bk.add(e), yk.has(window) || yk.set(window, Sk());});});@@ -28242,18 +28242,18 @@ function Qse(e) {var wk = typeof document < "u" && window.visualViewport, Tk = 0, Ek;function Dk(e = {}) {let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;- RS(() => {- if (!t) return Tk++, Tk === 1 && (Ek = JS() && YS() ? ece() : $se(n)), () => {+ zS(() => {+ if (!t) return Tk++, Tk === 1 && (Ek = YS() && XS() ? ece() : $se(n)), () => {Tk--, Tk === 0 && Ek();};}, [t, n]);}function $se(e) {let t = window.innerWidth - document.documentElement.clientWidth;- return LC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? DS(document.documentElement, "scrollbar-gutter", "stable") : DS(document.documentElement, "padding-right", `${t}px`)), DS(document.documentElement, "overflow", "hidden"), e && kk(), e && Tw() && Ok());+ return RC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? OS(document.documentElement, "scrollbar-gutter", "stable") : OS(document.documentElement, "padding-right", `${t}px`)), OS(document.documentElement, "overflow", "hidden"), e && kk(), e && Ew() && Ok());}function ece() {- let e = DS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+ let e = OS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {let r = G(e);t = FT(r, !0) ? r : IT(r, !0), n = !1;let i = r.ownerDocument.defaultView.getSelection();@@ -28262,10 +28262,10 @@ function ece() {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 = kk(), c = LC(ES(document, "touchstart", r, {+ }, s = kk(), c = RC(DS(document, "touchstart", r, {passive: !1,capture: !0- }), ES(document, "touchmove", o, {+ }), DS(document, "touchmove", o, {passive: !1,capture: !0}), Ok());@@ -28274,9 +28274,9 @@ function ece() {};}function Ok() {- return ES(document, "blur", (e) => {+ return DS(document, "blur", (e) => {let t = G(e), n = e.relatedTarget;- n && Ew(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });+ n && Dw(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });}, !0);}function kk() {@@ -28290,7 +28290,7 @@ function kk() {preventScroll: !0}), !t || !t.preventScroll) {let e = () => {- AS() === this && tce(this);+ jS() === this && tce(this);};Ck((t) => t ? e() : Qse(() => e()));}@@ -28371,8 +28371,8 @@ function Fk(e, t) {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} = Hk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return YS() && (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} = Vk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;+ return XS() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {width: n,height: r,totalWidth: i,@@ -28438,7 +28438,7 @@ function zk(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[jk[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[jk[l]] - i);}-function Bk(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {+function cce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {let v = Lk(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Rk(t, s, n, v, u, d, l, f, m, h, c), T = u, E = zk(s, l, t, i, a + u, v, c, g);if (o && n[y] > E) {let e = Lk(`${jk[S]} ${C}`), r = Rk(t, s, n, e, u, d, l, f, m, h, c);@@ -28465,17 +28465,17 @@ function Bk(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {triggerAnchorPoint: ne};}-function cce(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 = ice(), h = r instanceof HTMLElement ? lce(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Hk(n, !1, p) : Uk(n, h, !1, p);+function lce(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 = ice(), h = r instanceof HTMLElement ? uce(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Vk(n, !1, p) : Hk(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 = Hk(r, !0), x = oce(r);+ let b = Vk(r, !0), x = oce(r);b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);let S = ace(i), C = Fk(s, m), w = Fk(h, m), T;if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {- let e = Vk(h, !1);+ let e = Bk(h, !1);T = {top: -(e.top - C.top),left: -(e.left - C.left),@@ -28487,11 +28487,11 @@ function cce(e) {left: 0,width: 0,height: 0- } : Uk(s, h, !1);- let E = kS(s, h);- return Bk(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);+ } : Hk(s, h, !1);+ let E = AS(s, h);+ return cce(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}-function Vk(e, t) {+function Bk(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,@@ -28500,8 +28500,8 @@ function Vk(e, t) {height: a};}-function Hk(e, t, n) {- let { top: r, left: i, width: a, height: o } = n || Vk(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;+function Vk(e, t, n) {+ let { top: r, left: i, width: a, height: o } = n || Bk(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;return {top: r + s - l,left: i + c - u,@@ -28509,29 +28509,29 @@ function Hk(e, t, n) {height: o};}-function Uk(e, t, n, r) {+function Hk(e, t, n, r) {let i = window.getComputedStyle(e), a;- if (i.position === "fixed") a = r || Vk(e, n);+ if (i.position === "fixed") a = r || Bk(e, n);else {- a = Hk(e, n, r);- let i = Hk(t, n), o = window.getComputedStyle(t);+ a = Vk(e, n, r);+ let i = Vk(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 lce(e) {+function uce(e) {let t = e.offsetParent;- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Wk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Wk(t);) t = t.parentElement;+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Uk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Uk(t);) t = t.parentElement;return t || document.documentElement;}-function Wk(e) {+function Uk(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 Gk = typeof document < "u" ? window.visualViewport : null;-function uce(e) {- let { direction: t } = Lw(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, F.useState)(null), x = [+var Wk = typeof document < "u" ? window.visualViewport : null;+function dce(e) {+ let { direction: t } = Rw(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, F.useState)(null), x = [p,s,i.current,@@ -28548,15 +28548,15 @@ function uce(e) {g,_,n- ], S = (0, F.useRef)(Gk?.scale);+ ], S = (0, F.useRef)(Wk?.scale);(0, F.useEffect)(() => {- m && (S.current = Gk?.scale);+ m && (S.current = Wk?.scale);}, [m]);let C = (0, F.useCallback)(() => {- if (p === !1 || !m || !i.current || !r.current || !u || Gk?.scale !== S.current) return;+ if (p === !1 || !m || !i.current || !r.current || !u || Wk?.scale !== S.current) return;let e = null;- if (o.current && MS(o.current)) {- let t = AS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ if (o.current && NS(o.current)) {+ let t = jS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();e = {type: "top",offset: (t?.top ?? 0) - n.top@@ -28564,8 +28564,8 @@ function uce(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 = cce({- placement: fce(s, t),+ let y = lce({+ placement: Gk(s, t),overlayNode: i.current,targetNode: r.current,scrollNode: o.current || i.current,@@ -28575,20 +28575,20 @@ function uce(e) {offset: d,crossOffset: f,maxHeight: g,- arrowSize: n ?? (a?.current ? Vk(a.current, !0).width : 0),+ arrowSize: n ?? (a?.current ? Bk(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 = AS();+ let x = jS();if (e && x && o.current) {let t = x.getBoundingClientRect(), n = o.current.getBoundingClientRect(), r = t[e.type] - n[e.type];o.current.scrollTop += r - e.offset;}b(y);}, x);- RS(C, x), dce(C), PO({+ zS(C, x), fce(C), PO({ref: i,onResize: C}), PO({@@ -28596,7 +28596,7 @@ function uce(e) {onResize: C});let w = (0, F.useRef)(!1);- RS(() => {+ zS(() => {let e, t = () => {w.current = !0, clearTimeout(e), e = setTimeout(() => {w.current = !1;@@ -28604,10 +28604,10 @@ function uce(e) {}, n = () => {w.current && t();};- Gk?.addEventListener("resize", t), Gk?.addEventListener("scroll", n);- let r = ES(jS(window), "scroll", n);+ Wk?.addEventListener("resize", t), Wk?.addEventListener("scroll", n);+ let r = DS(MS(window), "scroll", n);return () => {- Gk?.removeEventListener("resize", t), Gk?.removeEventListener("scroll", n), r();+ Wk?.removeEventListener("resize", t), Wk?.removeEventListener("scroll", n), r();};}, [C]);let T = (0, F.useCallback)(() => {@@ -28639,12 +28639,12 @@ function uce(e) {updatePosition: C};}-function dce(e) {- RS(() => (window.addEventListener("resize", e, !1), () => {+function fce(e) {+ zS(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}-function fce(e, t) {+function Gk(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@@ -28656,7 +28656,7 @@ function Kk(e, t) {isDismissable: !a || l,isKeyboardDismissDisabled: o,shouldCloseOnInteractOutside: s- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = uce({+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = dce({...c,targetRef: n,overlayRef: r,@@ -28705,7 +28705,7 @@ function pce(e, t, n) {onPress(e) {u?.(e), t.setSelectedValue(r), n.current?.focus();}- }), { focusableProps: b } = tw(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = Kw(e, { labelable: !0 }), C = -1;+ }), { focusableProps: b } = nw(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = Kw(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 } = qk.get(t);HT(n, t.defaultSelectedValue, t.setSelectedValue), UT({ validationBehavior: O }, t, n);@@ -28741,7 +28741,7 @@ function pce(e, t, n) {}// node_modules/react-aria/dist/private/radio/useRadioGroup.mjsfunction mce(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Lw(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = nE({+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Rw(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = nE({...e,labelElementType: "span",isInvalid: t.isInvalid,@@ -28756,11 +28756,11 @@ function mce(e, t) {function y(e, n) {let r = OT(n.currentTarget, {from: G(n),- accept: (e) => e instanceof CS(e).HTMLInputElement && e.type === "radio"+ accept: (e) => e instanceof wS(e).HTMLInputElement && e.type === "radio"}), i;return e === "next" ? (i = r.nextNode(), i ||= (r.currentNode = n.currentTarget, r.firstChild())) : (i = r.previousNode(), i ||= (r.currentNode = n.currentTarget, r.lastChild())), i ? (i.focus(), t.setSelectedValue(i.value), !0) : !1;}- let { keyboardProps: b } = ZC({+ let { keyboardProps: b } = QC({shortcuts: {ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),@@ -28768,7 +28768,7 @@ function mce(e, t) {ArrowUp: (e) => y("prev", e)},allowRepeats: !0- }), x = VC(n);+ }), x = HC(n);return qk.set(t, {name: x,form: r,@@ -28811,7 +28811,7 @@ function hce(e, t, n) {]), { menuTriggerProps: d, menuProps: f } = dD({isDisabled: i,type: "listbox"- }, t, n), { keyboardProps: p } = ZC({+ }, t, n), { keyboardProps: p } = QC({shortcuts: {ArrowLeft: () => {if (t.selectionManager.selectionMode === "multiple") return !1;@@ -28840,7 +28840,7 @@ function hce(e, t, n) {errorMessage: e.errorMessage || g});t.selectionManager.selectionMode === "multiple" && (m = {});- let S = Kw(e, { labelable: !0 }), C = K(m, d, y), w = VC();+ let S = Kw(e, { labelable: !0 }), C = K(m, d, y), w = HC();return Jk.set(t, {isDisabled: i,isRequired: a,@@ -28851,13 +28851,13 @@ function hce(e, t, n) {labelProps: {...v,onClick: () => {- e.isDisabled || (n.current?.focus(), EC("keyboard"));+ e.isDisabled || (n.current?.focus(), DC("keyboard"));}},triggerProps: K(S, {...C,isDisabled: i,- onKeyDown: LC(C.onKeyDown, p.onKeyDown),+ onKeyDown: RC(C.onKeyDown, p.onKeyDown),onKeyUp: p.onKeyUp,"aria-labelledby": [w,@@ -28881,7 +28881,7 @@ function hce(e, t, n) {disallowEmptySelection: !0,linkBehavior: "selection",onBlur: (n) => {- kS(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ AS(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));},"aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")},@@ -29205,7 +29205,7 @@ function xce(e, t, n) {let h = TD({usage: "search",sensitivity: "base"- }), { direction: g } = Lw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new Yk({+ }), { direction: g } = Rw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new Yk({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: _,@@ -29230,7 +29230,7 @@ function xce(e, t, n) {scrollRef: s,disallowTypeAhead: i,escapeKeyBehavior: d- }), b = VC(e.id);+ }), b = HC(e.id);Xk.set(t, {keyboardDelegate: v,actions: {@@ -29244,7 +29244,7 @@ function xce(e, t, n) {selectionManager: m,hasItemActions: !!(l || u)}), S = Kw(e, { labelable: !0 }), C = (0, F.useCallback)((e) => {- m.isFocused ? kS(e.currentTarget, G(e)) || m.setFocused(!1) : kS(e.currentTarget, G(e)) && m.setFocused(!0);+ m.isFocused ? AS(e.currentTarget, G(e)) || m.setFocused(!1) : AS(e.currentTarget, G(e)) && m.setFocused(!0);}, [m]), w = (0, F.useMemo)(() => ({onBlur: y.onBlur,onFocus: C@@ -29906,7 +29906,7 @@ function wce(e, t, n) {let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = TD({usage: "search",sensitivity: "base"- }), { direction: c } = Lw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new Sce({+ }), { direction: c } = Rw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new Sce({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -29925,7 +29925,7 @@ function wce(e, t, n) {s,a,o- ]), d = VC(e.id);+ ]), d = HC(e.id);Zk.set(t, d);let { gridProps: f } = xce({...e,@@ -29933,7 +29933,7 @@ function wce(e, t, n) {keyboardDelegate: u}, t, n);i && (f["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), t.treeColumn != null && (f.role = "treegrid");- let { column: p, direction: m } = t.sortDescriptor || {}, h = Uw(Cce(IA), "@react-aria/table"), g = (0, F.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = Ww(Cce(IA), "@react-aria/table"), g = (0, F.useMemo)(() => {let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;}, [@@ -29947,27 +29947,27 @@ function wce(e, t, n) {}// node_modules/react-aria/dist/private/grid/useGridCell.mjsfunction LA(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Lw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Xk.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Rw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Xk.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {if (n.current) {let e = OT(n.current);if (p === "child") {- let i = AS(SS(n.current));- if (MS(n.current) && n.current !== i) return;- let a = SS(n.current);+ let i = jS(CS(n.current));+ if (NS(n.current) && n.current !== i) return;+ let a = CS(n.current);if (!i || i === a.body || i === n.current) {let e = h.current;- if (e && m.current === r.key && kS(n.current, e)) {- IC(e);+ if (e && m.current === r.key && AS(n.current, e)) {+ LC(e);return;}}let o = t.selectionManager.childFocusStrategy === "last" ? RA(e) : e.firstChild();if (o) {- IC(o);+ LC(o);return;}}- (m.current != null && r.key !== m.current || !MS(n.current)) && IC(n.current);+ (m.current != null && r.key !== m.current || !NS(n.current)) && LC(n.current);}}, { itemProps: _, isPressed: v } = EO({selectionManager: t.selectionManager,@@ -29981,41 +29981,41 @@ function LA(e, t, n) {}), y = K(_, {role: "gridcell",onKeyDownCapture: f !== "tab" || o ? (e) => {- let i = AS(SS(n.current));- if (!kS(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;+ let i = jS(CS(n.current));+ if (!AS(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;let a = OT(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) IC(t), zT(t, { containingElement: IT(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) LC(t), zT(t, { containingElement: IT(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" ? (IC(n.current), zT(n.current, { containingElement: IT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : RA(a), t && (IC(t), zT(t, { containingElement: IT(n.current) })));+ p === "cell" && l === "rtl" ? (LC(n.current), zT(n.current, { containingElement: IT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : RA(a), t && (LC(t), zT(t, { containingElement: IT(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) IC(t), zT(t, { containingElement: IT(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) LC(t), zT(t, { containingElement: IT(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" ? (IC(n.current), zT(n.current, { containingElement: IT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? RA(a) : a.firstChild(), t && (IC(t), zT(t, { containingElement: IT(n.current) })));+ p === "cell" && l === "ltr" ? (LC(n.current), zT(n.current, { containingElement: IT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? RA(a) : a.firstChild(), t && (LC(t), zT(t, { containingElement: IT(n.current) })));}break;}case "ArrowUp":- case "ArrowDown": !e.altKey && kS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && AS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}} : void 0,onKeyDown: f === "tab" ? (e) => {- let r = AS(SS(n.current));- if (kS(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {+ let r = jS(CS(n.current));+ if (AS(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {if (f === "tab" && G(e) !== n.current && e.key !== "Tab") e.stopPropagation();else if (e.key === "Tab" && f === "tab") {let t = OT(n.current, { tabbable: !0 });@@ -30029,9 +30029,9 @@ function LA(e, t, n) {onFocus: (e) => {if (m.current = r.key, G(e) !== n.current) {let i = G(e);- n.current && kS(n.current, i) && (h.current = i), wC() || t.selectionManager.setFocusedKey(r.key);- } else p === "child" && e.relatedTarget && kS(n.current, e.relatedTarget) || requestAnimationFrame(() => {- p === "child" && AS(SS(n.current)) === n.current && g();+ n.current && AS(n.current, i) && (h.current = i), TC() || t.selectionManager.setFocusedKey(r.key);+ } else p === "child" && e.relatedTarget && AS(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ p === "child" && jS(CS(n.current)) === n.current && g();});},...p === "child" && f === "tab" ? { tabIndex: -1 } : {}@@ -30075,10 +30075,10 @@ function Dce(e, t, n) {t.sort(r.key);},ref: n- }), { focusableProps: l } = tw({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;- r.props.allowsSorting && !ZS() && (u = d ? f : "none");- let p = Uw(Ece(IA), "@react-aria/table"), m;- i && (m = `${p.format("sortable")}`, d && f && ZS() && (m = `${m}, ${p.format(f)}`));+ }), { focusableProps: l } = nw({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;+ r.props.allowsSorting && !QS() && (u = d ? f : "none");+ let p = Ww(Ece(IA), "@react-aria/table"), m;+ i && (m = `${p.format("sortable")}`, d && f && QS() && (m = `${m}, ${p.format(f)}`));let h = VT(m), g = t.collection.size === 0;return (0, F.useEffect)(() => {g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);@@ -30102,13 +30102,13 @@ function Oce(e) {return e && e.__esModule ? e.default : e;}function kce(e, t, n) {- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Uw(Oce(IA), "@react-aria/table"), d = VC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = Lw(), b = (0, F.useCallback)((e) => {+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Ww(Oce(IA), "@react-aria/table"), d = HC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = Rw(), b = (0, F.useCallback)((e) => {p.current || (m.current = t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.startResize(e.key), t.tableState.setKeyboardNavigationDisabled(!0), o?.(m.current)), p.current = !0;}, [t, o]), x = (0, F.useCallback)((e, n) => {let r = t.updateResizedColumns(e.key, n);s?.(r), m.current = r;}, [t, s]), S = (0, F.useCallback)((e) => {- p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && IC(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 && LC(i.current)), m.current = null;}, [t,i,@@ -30116,7 +30116,7 @@ function kce(e, t, n) {]), C = () => {if (g) S(r);else return !1;- }, { keyboardProps: w } = ZC({ shortcuts: {+ }, { keyboardProps: w } = QC({ shortcuts: {Escape: () => C(),Enter: () => {g ? S(r) : b(r);@@ -30139,7 +30139,7 @@ function kce(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 = DC();+ let A = Math.floor(t.getColumnWidth(r.key)), j = OC();j === "virtual" && typeof window < "u" && "ontouchstart" in window && (j = "touch");let M = VT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {"aria-label": l,@@ -30152,11 +30152,11 @@ function kce(e, t, n) {value: A,...M}, N = (0, F.useCallback)(() => {- n.current && IC(n.current);- }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = kw(b);+ n.current && LC(n.current);+ }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = Aw(b);(0, F.useEffect)(() => {if (P.current !== te && te != null && te === r.key) {- h.current = AS() === n.current, ne(r);+ h.current = jS() === n.current, ne(r);let e = setTimeout(() => N(), 0), t = setTimeout(N, 400);return () => {clearTimeout(e), clearTimeout(t);@@ -30211,7 +30211,7 @@ function jce(e, t, n) {ref: n,isVirtualized: i,shouldSelectOnPressUp: c || a,- onAction: l || r?.props?.onAction ? LC(r?.props?.onAction, l) : void 0,+ onAction: l || r?.props?.onAction ? RC(r?.props?.onAction, l) : void 0,isDisabled: t.collection.size === 0}), f = t.selectionManager.isSelected(r.key), p = {role: "row",@@ -30239,9 +30239,9 @@ var zA = {}};function Nce(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = jce(e, t, n), { direction: s } = Lw();+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = jce(e, t, n), { direction: s } = Rw();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 = Uw(Mce(IA), "@react-aria/table"), u = jw({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Ww(Mce(IA), "@react-aria/table"), u = Mw({"aria-label": c ? l.format("collapse") : l.format("expand"),"aria-labelledby": tA(t, r.key)}), d = {}, f = {};@@ -30270,7 +30270,7 @@ function Nce(e, t, n) {};}}- let p = tC(r.props), m = o.hasAction ? p : {};+ let p = nC(r.props), m = o.hasAction ? p : {};return {rowProps: {...K(a, d, m),@@ -30305,7 +30305,7 @@ function Ice(e, t) {function Lce(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": Uw(Fce(IA), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": Ww(Fce(IA), "@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,@@ -30328,7 +30328,7 @@ function Rce(e, t, n) {linkBehavior: "selection"}), p = UA(t, r, "tab"), m = UA(t, r, "tabpanel"), { tabIndex: h } = d, g = Kw(u?.props, { labelable: !0 });delete g.id;- let _ = nC(u?.props), { focusableProps: v } = tw({+ let _ = rC(u?.props), { focusableProps: v } = nw({...u?.props,isDisabled: l}, n);@@ -30391,7 +30391,7 @@ var zce = class {};// node_modules/react-aria/dist/private/tabs/useTabList.mjsfunction Bce(e, t, n) {- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Lw(), { collectionProps: l } = hD({+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Rw(), { collectionProps: l } = hD({ref: n,selectionManager: o,keyboardDelegate: (0, F.useMemo)(() => new zce(a, c, r, s), [@@ -30404,9 +30404,9 @@ function Bce(e, t, n) {disallowEmptySelection: !0,scrollRef: n,linkBehavior: "selection"- }), u = VC();+ }), u = HC();return HA.set(t, u), { tabListProps: {- ...K(l, jw({+ ...K(l, Mw({...e,id: u})),@@ -30418,7 +30418,7 @@ function Bce(e, t, n) {// node_modules/react-aria/dist/private/tabs/useTabPanel.mjsfunction Vce(e, t, n) {let r = CO(n) ? void 0 : 0, i = UA(t, e.id ?? t?.selectedKey, "tabpanel");- return { tabPanelProps: K(jw({+ return { tabPanelProps: K(Mw({...e,id: i,"aria-labelledby": UA(t, t?.selectedKey, "tab")@@ -30681,14 +30681,14 @@ function Uce(e) {return e && e.__esModule ? e.default : e;}function Tj(e, t, n) {- let { node: r } = e, i = Ise(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Uw(Uce(wj), "@react-aria/tree"), s = {+ let { node: r } = e, i = Ise(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Ww(Uce(wj), "@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,- ...jw({+ ...Mw({"aria-label": a ? o.format("collapse") : o.format("expand"),"aria-labelledby": i.rowProps.id})@@ -30707,7 +30707,7 @@ var Ej = "(prefers-reduced-motion: reduce)", Wce = () => matchMedia(Ej).matches,Dj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Dj.values())}px`) : e.style.removeProperty("--selection-dock-space");};function Kce({ children: e, count: t, label: n }) {- let r = (0, F.useRef)(null), i = Ex(), a = (0, F.useSyncExternalStore)(Gce, Wce, () => !1), { isFocusVisible: o } = OC(), s = a || o, c = {+ let r = (0, F.useRef)(null), i = Dx(), a = (0, F.useSyncExternalStore)(Gce, Wce, () => !1), { isFocusVisible: o } = kC(), s = a || o, c = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -30720,7 +30720,7 @@ function Kce({ children: e, count: t, label: n }) {return n.observe(e), window.addEventListener("resize", t), t(), () => {n.disconnect(), window.removeEventListener("resize", t), Dj.delete(e), Oj();};- }, [i]), /* @__PURE__ */ (0, I.jsxs)(dS.div, {+ }, [i]), /* @__PURE__ */ (0, I.jsxs)(fS.div, {ref: r,role: "group","aria-label": n,@@ -30754,7 +30754,7 @@ function Kce({ children: e, count: t, label: n }) {});}function kj({ visible: e, ...t }) {- return /* @__PURE__ */ (0, I.jsx)(kx, { children: e ? /* @__PURE__ */ (0, I.jsx)(Kce, { ...t }, "selection") : null });+ return /* @__PURE__ */ (0, I.jsx)(Ax, { children: e ? /* @__PURE__ */ (0, I.jsx)(Kce, { ...t }, "selection") : null });}// src/react/batch-dock/batch-dock-api.tsvar Aj = {@@ -30874,7 +30874,7 @@ function Yce() {for (let e of [...Nj]) e();}var Xce = { render(e) {- Mj = e, (0, Lt.flushSync)(Yce);+ Mj = e, (0, It.flushSync)(Yce);} };function Zce(e) {return jj = e, Xce;@@ -31843,7 +31843,7 @@ var dle = "peach.settings.v1", fle = [theaterMode: !1,theme: "system",groupCollapse: !0,- sidebarOrder: [...zl],+ sidebarOrder: [...Rl],homeGlow: nM,accent: Qj,performerNameLanguage: "zh-CN"@@ -31857,7 +31857,7 @@ function mle(e) {let r = !1, i = +n.sortDefaultsVersion || 0;i < 2 && n.defaultSort === "new" && (n.defaultSort = "seed", r = !0);let a = zj[n.defaultSort];- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Pj(+n.batchSize, 1, 200, 60), n.defaultSort = sM(n.defaultSort, Lj, "seed"), n.hoverDelaySeconds = Pj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Pj(+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 = Pj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Pj(+n.relatedLimit, 0, 60, 20), n.feedLimit = Pj(+n.feedLimit, 1, 100, 12), Object.assign(n, Qa(n)), n.theme = sM(n.theme, fle, "system"), n.performerNameLanguage = sM(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = rM(n.homeGlow), n.accent = $j(n.accent), n.sidebarOrder = Ul(n.sidebarOrder), {+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Pj(+n.batchSize, 1, 200, 60), n.defaultSort = sM(n.defaultSort, Lj, "seed"), n.hoverDelaySeconds = Pj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Pj(+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 = Pj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Pj(+n.relatedLimit, 0, 60, 20), n.feedLimit = Pj(+n.feedLimit, 1, 100, 12), Object.assign(n, Za(n)), n.theme = sM(n.theme, fle, "system"), n.performerNameLanguage = sM(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = rM(n.homeGlow), n.accent = $j(n.accent), n.sidebarOrder = Hl(n.sidebarOrder), {settings: n,migrated: r};@@ -31887,7 +31887,7 @@ function uM(e, t, n = lM()) {s && s.length && s.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = s, n.save());}function gle(e = lM()) {- return wn("/api/settings", {+ return Cn("/api/settings", {method: "POST",body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })}).catch(() => {});@@ -31957,7 +31957,7 @@ var hM = [["masonry","瀑布流","columns-2"-]], vM = .75, yM = () => lM().value, bM = (e = yM()) => Za(e.javLayout), xle = (e = yM()) => Za(e.homeLayout), xM = (e, t = yM()) => e ? xle(t) : bM(t), SM = gM.map(([e]) => e), CM = _M.map(([e]) => e), wM = (e = yM()) => sM(e.photoSize, SM, "small"), TM = (e = yM()) => sM(e.photoLayout, CM, "masonry"), EM = null;+]], vM = .75, yM = () => lM().value, bM = (e = yM()) => Xa(e.javLayout), xle = (e = yM()) => Xa(e.homeLayout), xM = (e, t = yM()) => e ? xle(t) : bM(t), SM = gM.map(([e]) => e), CM = _M.map(([e]) => e), wM = (e = yM()) => sM(e.photoSize, SM, "small"), TM = (e = yM()) => sM(e.photoLayout, CM, "masonry"), EM = null;function DM(e, t = yM()) {let n = {active: e.active,@@ -31971,13 +31971,13 @@ function OM(e) {return e.portrait ? 9 / 16 : e.active && e.size === "big" ? vM : 16 / 9;}function Sle(e, t = lM()) {- t.value.homeLayout = Za(e), t.save();+ t.value.homeLayout = Xa(e), t.save();}function kM(e, t = lM()) {- t.value.javLayout = Za(e), t.save();+ t.value.javLayout = Xa(e), t.save();}function Cle(e, t = lM()) {- t.value.homeLayout = t.value.javLayout = Za(e), t.save();+ t.value.homeLayout = t.value.javLayout = Xa(e), t.save();}function wle(e, t = lM()) {t.value.photoSize = sM(e, SM, "small"), t.save();@@ -31992,10 +31992,10 @@ var jM = "density", MM = {}, NM = () => localStorage.getItem(jM) === "dense" ? "dense" : "big";function PM(e, t) {let [n, r] = gM;- if (e.querySelector("[data-icon-swap]")) Ks(e, t === r[0] ? "b" : "a");+ if (e.querySelector("[data-icon-swap]")) Gs(e, t === r[0] ? "b" : "a");else {let i = e.querySelector(":scope > [data-glass-drift]");- e.innerHTML = Gs(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);+ e.innerHTML = Ws(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);}FM(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");}@@ -32170,7 +32170,7 @@ function Rle() {var XM = null, ZM = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;function QM() {let e = document.getElementById("playerMenu");- e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && cs(e, () => {+ e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && ss(e, () => {e.innerHTML = "";}), XM &&= (XM(), null);}@@ -32251,8 +32251,8 @@ function Vle(e, t, n) {let a = Ble(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}">${ZM(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? ZM(R("check"), "data-player-menu-check") : ""}</button>`;- }).join(""), ss(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}">${ZM(z(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${B(e.label)}</span>${n ? ZM(z("check"), "data-player-menu-check") : ""}</button>`;+ }).join(""), os(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) => {@@ -32273,7 +32273,7 @@ function Vle(e, t, n) {let t = o.indexOf(document.activeElement);o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();}, l = (t) => {- us(t, e.el()) && QM();+ ls(t, e.el()) && QM();};setTimeout(() => {document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {@@ -32312,7 +32312,7 @@ function Ule(e) {}var iN = 3e3;function aN(e, t) {- let n = Number(e) || 0, r = Kn(t) || 0;+ let n = Number(e) || 0, r = Gn(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}function Wle(e) {@@ -32359,10 +32359,10 @@ function lN(e, t, n, r) {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="${B(r)}">${o}</span>`;}function Gle() {- return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${R("chart")}</button>+ return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${z("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>`;}@@ -32613,7 +32613,7 @@ var vN = /* @__PURE__ */ new Map(), yN = /* @__PURE__ */ new WeakMap(), Zle = clload() {return this.url ? this.reading ||= (async () => {await vN.get(this.url)?.catch(() => {});- let e = await wn(this.url, { signal: this.cleanup.signal });+ let e = await Cn(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;@@ -32837,7 +32837,7 @@ var SN = 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="返回上一个菜单">${z("player-menu-back")}</button><strong>${B(e)}</strong>${t}</div>`;}panel(e, t, n = 1) {this.generation++, this.panels.open();@@ -32846,9 +32846,9 @@ var SN = 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="字幕选项">${z("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 ? z("check") : ""}</span><span class="vjs-peach-option-label">${B(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);@@ -32866,7 +32866,7 @@ var SN = class {this.page = "options";let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(mN).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>${B(n.label)}</span><b>${B(r)}</b>${z("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);@@ -32879,7 +32879,7 @@ var SN = class {let t = mN[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="${B(t)}"><span class="vjs-peach-option-check">${r ? z("check") : ""}</span><span class="vjs-peach-option-label">${B(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);@@ -32888,7 +32888,7 @@ var SN = 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 ? zs("") : ""}<span>${z(e)}</span>`, r.toggleAttribute("data-error", t));+ r && (r.hidden = !1, r.innerHTML = `${n ? Rs("") : ""}<span>${B(e)}</span>`, r.toggleAttribute("data-error", t));}busy() {return this.request?.abort(), this.request = new AbortController(), this.request.signal;@@ -32923,14 +32923,14 @@ var SN = 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 提供,可能包含机翻" + z("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>${B(e.title)}</span><small>${B([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)]);};@@ -32941,9 +32941,9 @@ var SN = 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 && Yc(i), a.inert = !0, this.status("正在搜索字幕", !1, !0);+ e.setAttribute("aria-busy", "true"), i && Jc(i), a.inert = !0, this.status("正在搜索字幕", !1, !0);try {- let i = await wn(`/api/subtitles/search?q=${encodeURIComponent(this.query)}&offset=${t}`, { signal: n });+ let i = await Cn(`/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) {@@ -32951,7 +32951,7 @@ var SN = class {this.runSearch(e, t);});} finally {- e.removeAttribute("aria-busy"), i && Yc(i, !1), a.inert = !1;+ e.removeAttribute("aria-busy"), i && Jc(i, !1), a.inert = !1;}}async showFiles(e) {@@ -32961,10 +32961,10 @@ var SN = class {}), n = this.busy(), r = this.generation;this.status("正在读取字幕文件", !1, !0);try {- let i = await wn(`/api/subtitles/subtitlecat/${e.id}`, { signal: n });+ let i = await Cn(`/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>${B(e.name)}</span><small>${B(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);@@ -33135,7 +33135,7 @@ function AN(e, t, n = 0, r = null) {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>+ ${z("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);@@ -33201,11 +33201,11 @@ function AN(e, t, n = 0, r = null) {}, 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="${JM().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">${CN()}</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>+ ${z("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>${z("player-speed")}<span>播放速度</span><b>${n === 1 ? "正常" : `${n}×`}</b>${z("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">${CN()}</span><span>字幕</span><b>${B(p?.label() || "关闭")}</b>${z("player-menu-next")}</button>+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-rotation>${z("rotate-cw", "vjs-peach-menu-line-icon")}<span>画面旋转</span><b>${u.angle()}°</b>${z("player-menu-next")}</button>+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${z("player-quality")}<span>清晰度</span><b>${B(t.label)}</b>${z("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 = () => {tue(!JM().settings().ambientMode), k();@@ -33217,12 +33217,12 @@ function AN(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="返回上一个菜单">${z("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() ? z("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);@@ -33236,11 +33236,11 @@ function AN(e, t, n = 0, r = null) {3], N = (e) => Number.isInteger(e) ? e.toFixed(1) : String(e), te = (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="返回上一个菜单">${z("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">${z("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">${z("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">${N(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) => {@@ -33253,7 +33253,7 @@ function AN(e, t, n = 0, r = null) {}), s();}, P = (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="${B(e.key)}" aria-checked="${e.key === i.key}"><span class="vjs-peach-option-check">${e.key === i.key ? z("player-option-check") : ""}</span><span class="vjs-peach-option-label">${B(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 = () => {@@ -33272,7 +33272,7 @@ function AN(e, t, n = 0, r = null) {});}, ne = (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="返回上一个菜单">${z("player-menu-back")}</button><strong>清晰度</strong></div><div class="vjs-peach-panel-menu"></div>`, e);D(t, "[data-player-menu-back]").onclick = () => k(-1), P(D(t, ".vjs-peach-panel-menu"));}, re = () => {if (!b()) {@@ -33330,7 +33330,7 @@ function rue(e, t) {let n = e.el().querySelector(".vjs-control-bar");if (!n || n.querySelector("[data-player-theater]")) return;let r = JM().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);+ i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${z(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);let a = i.querySelector("button");DN.set(a, TN(a, "影院模式", "T")), ON(a), a.onclick = (e) => {e.stopPropagation(), kN(!JM().settings().theaterMode);@@ -33341,7 +33341,7 @@ function iue(e) {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", z(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;@@ -33365,7 +33365,7 @@ function iue(e) {};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">${z("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");@@ -33386,8 +33386,8 @@ function iue(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 = TN(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)};点击显示剩余时间`);+ let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = qn(Math.max(0, n - t));+ C.textContent = `${S ? `-${r}` : qn(t)} / ${qn(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${qn(n)};点击显示已播放时间` : `已播放 ${qn(t)},总时长 ${qn(n)};点击显示剩余时间`);};x.onclick = (e) => {e.stopPropagation(), S = !S, T();@@ -33420,7 +33420,7 @@ function iue(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);+ ee.className = "vjs-peach-expand vjs-control", ee.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${z("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, M.prepend(ee);let N = ee.querySelector("button"), te = TN(N, "展开控件"), P = (t) => {e.el().classList.toggle("vjs-peach-right-expanded", t), N.setAttribute("aria-expanded", String(t)), te(t ? "收起控件" : "展开控件");};@@ -33439,7 +33439,7 @@ function jN(e, t, n = {}) {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 && wn(`/api/timeline?id=${encodeURIComponent(t.id)}`).then((e) => {+ o && t?.id && Cn(`/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) => {@@ -33452,10 +33452,10 @@ function jN(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 = Kn(e.duration()) || Kn(t?.duration);+ let i = Gn(e.duration()) || Gn(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 = Jn(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 = qn(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 = () => {@@ -33472,7 +33472,7 @@ function jN(e, t, n = {}) {function aue(e, t) {let n = navigator.mediaSession;if (!n || typeof n.setActionHandler != "function") return;- let r = () => Kn(e.duration()) || Kn(t.duration) || 0, i = (t) => {+ let r = () => Gn(e.duration()) || Gn(t.duration) || 0, i = (t) => {let n = r();e.currentTime(Math.max(0, n ? Math.min(n, t) : t));}, a = () => Math.max(1, Number(JM().settings().seekSeconds) || 10), o = [@@ -33521,7 +33521,7 @@ function MN(e) {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 NN(e, t) {- wn(`/api/assets/${t}/subtitles`).then((t) => {+ Cn(`/api/assets/${t}/subtitles`).then((t) => {e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {e.addRemoteTextTrack({id: t.id,@@ -33556,7 +33556,7 @@ function sue(e, t) {let n = oue(e);if (n !== null) return n;let r = Number(t.leave_ratio);- return r > 0 && r < 1 ? r * Kn(t.duration) : 0;+ return r > 0 && r < 1 ? r * Gn(t.duration) : 0;}function cue(e, t) {IN(t);@@ -33605,13 +33605,13 @@ function BN(e, t, n, r) {function VN(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 = Kn(e.duration) || Kn(t.duration);+ let r = Gn(e.duration) || Gn(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 = Kn(e.duration) || Kn(t.duration);- (i || n || a) && (wn("/api/activity", {+ let r = Gn(e.duration) || Gn(t.duration);+ (i || n || a) && (Cn("/api/activity", {method: "POST",keepalive: !0,body: JSON.stringify({@@ -33649,8 +33649,8 @@ function VN(e, t, n = {}) {}function lue(e, t) {let n = 0, r = 0, i = !1, a = null, o = (n) => {- let i = Kn(e.duration) || Kn(t.duration);- (r || n) && (wn("/api/follow/activity", {+ let i = Gn(e.duration) || Gn(t.duration);+ (r || n) && (Cn("/api/follow/activity", {method: "POST",keepalive: !0,body: JSON.stringify({@@ -33665,7 +33665,7 @@ function lue(e, t) {a && clearInterval(a), a = null;};t.onplay = () => {- i || (i = !0, wn("/api/follow/play", {+ i || (i = !0, Cn("/api/follow/play", {method: "POST",body: JSON.stringify({ item: e.id })}).then((t) => {@@ -33720,7 +33720,7 @@ async function KN(e, t) {let n = uue(e);if (n) return n;try {- let n = await wn(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);+ let n = await Cn(`/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")@@ -33986,7 +33986,7 @@ async function yue(e, t, n, r = {}) {} catch {return t.controls = !0, r.guidePreview || s().then((e) => {t.addEventListener("loadedmetadata", () => {- o && o.time > 0 && (t.currentTime = Math.min(o.time, Kn(t.duration) || o.time));+ o && o.time > 0 && (t.currentTime = Math.min(o.time, Gn(t.duration) || o.time));}, { once: !0 }), t.src = e.src, n && t.play().catch(() => {});}).catch(() => {}), null;}@@ -33995,7 +33995,7 @@ async function yue(e, t, n, r = {}) {preload: "metadata",language: "zh-CN",responsive: !0,- poster: r.poster || Oo(e, a.settings().javImage),+ poster: r.poster || Do(e, a.settings().javImage),controlBar: {pictureInPictureToggle: !0,currentTimeDisplay: !1,@@ -34012,7 +34012,7 @@ async function yue(e, t, n, r = {}) {let e = l.el()?.querySelector("video");e?.videoWidth && e.videoHeight && l.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);});- let u = Kn(e.duration), d = {+ let u = Gn(e.duration), d = {speed: [],activity: [],buffer: []@@ -34038,12 +34038,12 @@ async function yue(e, t, n, r = {}) {sN(d.speed, x), sN(d.activity, C), sN(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 ? ["网络活动",- `${_ ? Yn(_) : "—"} · ${h.length} 请求`,- `最近一秒网络活动 ${C ? Yn(C) : "0 B"}`+ `${_ ? Jn(_) : "—"} · ${h.length} 请求`,+ `最近一秒网络活动 ${C ? Jn(C) : "0 B"}`] : ["已下载",- O ? `${Yn(S)}${f > 0 ? ` / ${Yn(f)}` : ""}` : `${S.toFixed(0)} 秒`,- O ? `最近一秒下载 ${C ? Yn(C) : "0 B"}` : `最近一秒下载 ${C.toFixed(1)} 秒`+ O ? `${Jn(S)}${f > 0 ? ` / ${Jn(f)}` : ""}` : `${S.toFixed(0)} 秒`,+ O ? `最近一秒下载 ${C ? Jn(C) : "0 B"}` : `最近一秒下载 ${C.toFixed(1)} 秒`];n.innerHTML = `<dl>${[["视频 ID / 会话", c && !r.source ? `${e.id} / ${c.slice(0, 8)}` : `${e.id}`],@@ -34065,9 +34065,9 @@ async function yue(e, t, n, r = {}) {`${w.toFixed(1)} 秒`,lN(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)],- ["播放时间", `${Jn(t.currentTime)} / ${Jn(u || l.duration())}`],+ ["播放时间", `${qn(t.currentTime)} / ${qn(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>${B(e)}</dt><dd${n ? " data-player-stats-metric=\"\"" : ""}>${n || ""}<span>${B(t)}</span></dd>`).join("")}</dl>`;}, l.on(["loadstart","loadedmetadata",@@ -34080,7 +34080,7 @@ async function yue(e, t, n, r = {}) {let r = v();r || p.sample(t);let i = fN(l, e.id, YN(), r ? null : p), a = r ? pN(i) : Kle(i, rN(t));- n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${z(a)}</span>`;+ n.innerHTML = `${z("gauge")}<span class="sr-only">加载速度</span><span>${B(a)}</span>`;}, C = () => {let e = y.chrome?.netBadge;e && e.isConnected && (e.hidden = !1, S(), aP && clearInterval(aP), aP = setInterval(S, 500));@@ -34116,7 +34116,7 @@ async function yue(e, t, n, r = {}) {}), r.guidePreview || s().then((e) => {g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {if (l.isDisposed()) return;- let e = Kn(l.el().querySelector("video")?.duration) || Kn(l.duration());+ let e = Gn(l.el().querySelector("video")?.duration) || Gn(l.duration());l.currentTime(Math.min(o.time, e || o.time));}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));}).catch(() => {}), l;@@ -34178,10 +34178,10 @@ function uP(e, t) {checkSourceStatus: !1,size: i?.size,poster: r.thumb_url,- mediaPromise: wn(`/follow-qualities?id=${encodeURIComponent(r.id)}`).catch(() => null)+ mediaPromise: Cn(`/follow-qualities?id=${encodeURIComponent(r.id)}`).catch(() => null)};else {- let t = Oo(r, c.settings().javImage);+ let t = Do(r, c.settings().javImage);t && (e.poster = t);}let f = null, p = !1, m = () => {}, h = e, g = () => {@@ -34189,7 +34189,7 @@ function uP(e, t) {};return yue(r, e, s ? !1 : t.autoplay ?? c.settings().detailAutoplay, d).then((t) => {f = t, p ? g() : (h = t?.el().querySelector("video") ?? e, s ? (t?.el().setAttribute("data-player-guide", ""), o?.(t)) : (cue(u, h), n === "follow" ? lue(r, h) : (h.addEventListener("play", () => {- wn("/api/play", {+ Cn("/api/play", {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});@@ -34265,12 +34265,12 @@ var Sue = (e, t) => [async function wue(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 V(`/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 V("/api/items?limit=1&thumb=0", i)).total === 0), s;}var Tue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Eue = (e, t) => {let n = t.reduce((e, t) => e + t.items.length, 0);@@ -34307,7 +34307,7 @@ function Oue(e) {}function mP(e) {let t = JSON.stringify(e);- return H.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && !e.state.isInvalidated && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;+ return U.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && !e.state.isInvalidated && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;}function hP(e, t, n) {return n ? e.filter((e) => {@@ -34324,7 +34324,7 @@ function hP(e, t, n) {return !0;}) : [...e];}-var gP = (e, t) => !!e && !!eo(e, t);+var gP = (e, t) => !!e && !!$a(e, t);function kue(e, t) {let n = (e) => gP(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) => gP(e, t)) || e[e.length - 1];@@ -34380,7 +34380,7 @@ function _P(e, t) {vP((t) => t.id === e, t);}function vP(e, t) {- H.setQueriesData({ queryKey: ["catalog-short-layout"] }, (n) => !n || !n.cuts.some((t) => t.items.some(e)) ? n : {+ U.setQueriesData({ queryKey: ["catalog-short-layout"] }, (n) => !n || !n.cuts.some((t) => t.items.some(e)) ? n : {...n,cuts: n.cuts.map((n) => ({...n,@@ -34389,13 +34389,13 @@ function vP(e, t) {...t} : n)}))- }), H.setQueriesData({ queryKey: ["catalog-grid", "table"] }, (n) => n?.items.some(e) ? {+ }), U.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), U.setQueriesData({queryKey: ["catalog-grid"],predicate: (e) => Array.isArray(e.state.data?.pages)}, (n) => !n || !n.pages.some((t) => t.items.some(e)) ? n : {@@ -34422,22 +34422,22 @@ var yP = (e) => Math.min(Math.max(e || 0, 0), 100), bP = (e) => Math.round(yP(e)t], Iue = (e) => `/api/item?id=${e}`, Lue = (e, t) => `/api/related?id=${e}&limit=${t}`, wP = "/api/playlist", TP = "/api/feedback", EP = "/api/item-tag", DP = "/api/watch-later", OP = "/api/quality-goal", kP = "/api/preference", AP = class extends Error {};async function jP(e, t) {- let n = await B(Iue(e), t);+ let n = await V(Iue(e), t);if (n.error) throw new AP(n.error);return n;}async function MP(e, t, n) {if (e.kind === "mix") {let r = e.seedId, [i, a] = await Promise.all([jP(r, n), t.mixRelated(r)]);- return H.setQueryData(SP(i.id), i), {+ return U.setQueryData(SP(i.id), i), {kind: "mix",seedId: r,- title: `Mix · ${jo(i, t.tagLabel)}`,+ title: `Mix · ${Ao(i, t.tagLabel)}`,items: [i, ...a.filter((e) => e.id !== i.id)]};}- if (e.kind === "playlist") return NP(await B(`${wP}?id=${e.playlistId}`, n));- let r = await B(`/api/${e.kind}?id=${e.seedId}`, n);+ if (e.kind === "playlist") return NP(await V(`${wP}?id=${e.playlistId}`, n));+ let r = await V(`/api/${e.kind}?id=${e.seedId}`, n);if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");return {kind: e.kind,@@ -34477,8 +34477,8 @@ async function LP(e, t) {if (n) {let o = CP(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 : U.getQueryData(o);+ a = !r && n.kind === "mix", i = r || await U.fetchQuery({queryKey: o,queryFn: () => MP(n, e.helpers, t),staleTime: 0@@ -34497,9 +34497,9 @@ async function LP(e, t) {r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });return;}- let s, c = a && o === i?.seedId ? H.getQueryData(SP(o)) : void 0;+ let s, c = a && o === i?.seedId ? U.getQueryData(SP(o)) : void 0;try {- s = c || await H.fetchQuery({+ s = c || await U.fetchQuery({queryKey: SP(o),queryFn: () => jP(o, t),staleTime: 0@@ -34519,7 +34519,7 @@ async function LP(e, t) {}function zue(e) {let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {- let t = Hn(e.name);+ let t = Vn(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,@@ -34542,13 +34542,13 @@ function zue(e) {function Bue(e, t) {let n = /* @__PURE__ */ new Map();return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {- let r = Hn(t.tagLabel(e.k)), i = n.get(r);- (!i || Hn(e.k) === r && Hn(i.k) !== r) && n.set(r, e);+ let r = Vn(t.tagLabel(e.k)), i = n.get(r);+ (!i || Vn(e.k) === r && Vn(i.k) !== r) && n.set(r, e);}), [...n.values()].slice(0, 40);}-var RP = (e, t) => (e.tags || []).some((e) => Hn(e.k) === Hn(t)), zP = (e, t) => ({+var RP = (e, t) => (e.tags || []).some((e) => Vn(e.k) === Vn(t)), zP = (e, t) => ({...e,- tags: (e.tags || []).filter((e) => Hn(e.k) !== Hn(t))+ tags: (e.tags || []).filter((e) => Vn(e.k) !== Vn(t))}), BP = (e, t) => RP(e, t.k) ? e : {...e,tags: [...e.tags || [], t]@@ -34563,15 +34563,15 @@ function HP() {}function UP(e) {try {- let t = HP().filter((t) => Hn(t) !== Hn(e));+ let t = HP().filter((t) => Vn(t) !== Vn(e));localStorage.setItem(VP, JSON.stringify([e, ...t].slice(0, 12)));} catch {}}function Vue(e, t, n) {- let r = Hn(e), i = new Map(t.map((e) => [Hn(e.k), e])), a = t.filter((e) => !r || Hn(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(Hn(e)) || {+ let r = Vn(e), i = new Map(t.map((e) => [Vn(e.k), e])), a = t.filter((e) => !r || Vn(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(Vn(e)) || {k: e,n: 0- }).filter((e, t, n) => n.findIndex((t) => Hn(t.k) === Hn(e.k)) === t).slice(0, 12), s = a.some((e) => Hn(e.k) === r);+ }).filter((e, t, n) => n.findIndex((t) => Vn(t.k) === Vn(e.k)) === t).slice(0, 12), s = a.some((e) => Vn(e.k) === r);return {recent: o,results: a,@@ -34596,7 +34596,7 @@ function Wue(e) {summary: e.kind === "editions" ? n : `${e.title} · ${n}`};}-var WP = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Gue = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(WP(e.part_label))}</small>` : "";+var WP = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Gue = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${B(WP(e.part_label))}</small>` : "";function Kue(e, t, n, r) {let i = e.filter((e) => e !== t), a = i.indexOf(n);return i.splice(a + +!!r, 0, t), i;@@ -34633,9 +34633,9 @@ function $ue(e, t = Math.random) {return e;}async function ede(e, t) {- return $ue(((await B(`/api/items?${e}`)).items || []).filter((e) => Que(e, t)));+ return $ue(((await V(`/api/items?${e}`)).items || []).filter((e) => Que(e, t)));}-var KP = (e) => H.ensureQueryData({+var KP = (e) => U.ensureQueryData({queryKey: SP(e),queryFn: ({ signal: t }) => jP(e, t)});@@ -34680,7 +34680,7 @@ function sde() {for (let e of [...ZP]) e();}function mF() {- (0, Lt.flushSync)(sde);+ (0, It.flushSync)(sde);}function hF() {let e = lF ? dN(lF.id) : 0;@@ -34766,14 +34766,14 @@ function fde(e) {}var xF = () => {let e = tF;- return H.fetchQuery({+ return U.fetchQuery({queryKey: Xue(e, $P, eF),queryFn: () => ede(e, pF().sourceOffline),staleTime: Infinity});};function pde(e, t) {- let n = () => Kn(e.duration) || Kn(t.duration);+ let n = () => Gn(e.duration) || Gn(t.duration);e.addEventListener("timeupdate", () => {let t = n();t && YP && (YP.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);@@ -34806,7 +34806,7 @@ async function SF(e = 0) {index: rF,length: nF.length}- }, pde(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), gF(null);+ }, pde(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), gF(null);} catch {_F(r), n === QP && gF(null);} finally {@@ -34830,7 +34830,7 @@ async function CF(e) {}async function mde(e) {let t = ++QP;- wF(), $P += 1, eF = 0, tF = Zue(pF().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), XP = {+ wF(), $P += 1, eF = 0, tF = Zue(pF().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), XP = {...XP,open: !0,idle: !0,@@ -34947,10 +34947,10 @@ function bde() {fF = !1, MF(!1);}async function BF(e, t) {- let n = await V(TP, {+ let n = await H(TP, {id: e,kind: t- }), r = H.getQueryData(SP(e));+ }), r = U.getQueryData(SP(e));if (!r) return _P(e, {feedback: n.feedback ?? void 0,o_count: n.o_count@@ -34960,7 +34960,7 @@ async function BF(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return H.setQueryData(SP(e), i), _P(e, {+ return U.setQueryData(SP(e), i), _P(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -34986,7 +34986,7 @@ var xde = [}];function VF(e) {- return Pt({+ return Nt({queryKey: SP(e ?? 0),queryFn: ({ signal: t }) => jP(e, t),enabled: e != null,@@ -34994,9 +34994,9 @@ function VF(e) {}).data;}function Sde({ kind: e, glyph: t, label: n, id: r }) {- let i = VF(r), a = Ft({+ let i = VF(r), a = Pt({mutationFn: async (t) => {- let n = H.getQueryData(SP(t))?.feedback || null;+ let n = U.getQueryData(SP(t))?.feedback || null;return {result: await BF(t, e),before: n@@ -35045,7 +35045,7 @@ function Cde({ shown: e }) {e.preventDefault(), n && (TF(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {t && (TF(), i.openItem(t.id));- }, s = r ? go(r.name, r.ref, Xa(r.name), r.kind || "performer") : "";+ }, s = r ? ho(r.name, r.ref, Ya(r.name), r.kind || "performer") : "";return /* @__PURE__ */ (0, I.jsxs)("div", {"data-immerse-ui": "",children: [/* @__PURE__ */ (0, I.jsxs)("div", {@@ -35063,7 +35063,7 @@ function Cde({ shown: e }) {onClick: a,children: r?.who ?? ""}),- /* @__PURE__ */ (0, I.jsx)("span", { children: e && t ? `· ${qn(t.duration)} · ${t.ctx_orient || ""} · ${e.index + 1}/${e.length}` : "" })+ /* @__PURE__ */ (0, I.jsx)("span", { children: e && t ? `· ${Kn(t.duration)} · ${t.ctx_orient || ""} · ${e.index + 1}/${e.length}` : "" })]}), /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -35073,7 +35073,7 @@ function Cde({ shown: e }) {})]});}-var wde = { __html: zs("媒体加载中") };+var wde = { __html: Rs("媒体加载中") };function Tde({ view: e }) {let t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null);(0, F.useLayoutEffect)(() => {@@ -35169,7 +35169,7 @@ function kde() {}// src/manage-header.tsvar HF = {- ...Xf,+ ...Yf,"/junk-files": "垃圾文件","/duplicates": "重复文件","/review": "人工复核",@@ -35217,7 +35217,7 @@ function Nde(e) {var Pde = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";// src/react/settings-panel/icon.tsxfunction qF({ name: e }) {- let { wide: t, viewBox: n } = Sn(e);+ let { wide: t, viewBox: n } = xn(e);return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: n,className: t ? "iconwide" : void 0,@@ -35446,13 +35446,13 @@ var Ide = (e, t) => {}, rfe = [], aI = (e) => {let t = (t) => t[e] || rfe;return t.isThemeGetter = !0, t.themeKey = e, t;-}, oI = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, sI = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ife = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, afe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ofe = /\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$/, sfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, cfe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, lfe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, cI = (e) => ife.test(e), lI = (e) => !!e && !Number.isNaN(Number(e)), uI = (e) => !!e && Number.isInteger(Number(e)), dI = (e) => e.endsWith("%") && lI(e.slice(0, -1)), fI = (e) => afe.test(e), pI = () => !0, mI = (e) => ofe.test(e) && !sfe.test(e), hI = () => !1, gI = (e) => cfe.test(e), _I = (e) => lfe.test(e), vI = (e) => !xI(e) && !OI(e), yI = (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)), bI = (e) => MI(e, II, hI), xI = (e) => oI.test(e), SI = (e) => MI(e, LI, mI), CI = (e) => MI(e, hfe, lI), wI = (e) => MI(e, zI, pI), TI = (e) => MI(e, RI, hI), EI = (e) => MI(e, PI, hI), ufe = (e) => MI(e, FI, _I), DI = (e) => MI(e, BI, gI), OI = (e) => sI.test(e), kI = (e) => NI(e, LI), dfe = (e) => NI(e, RI), AI = (e) => NI(e, PI), ffe = (e) => NI(e, II), pfe = (e) => NI(e, FI), jI = (e) => NI(e, BI, !0), mfe = (e) => NI(e, zI, !0), MI = (e, t, n) => {+}, oI = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, sI = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ife = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, afe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ofe = /\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$/, sfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, cfe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, lfe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, cI = (e) => ife.test(e), lI = (e) => !!e && !Number.isNaN(Number(e)), uI = (e) => !!e && Number.isInteger(Number(e)), dI = (e) => e.endsWith("%") && lI(e.slice(0, -1)), fI = (e) => afe.test(e), pI = () => !0, ufe = (e) => ofe.test(e) && !sfe.test(e), mI = () => !1, dfe = (e) => cfe.test(e), ffe = (e) => lfe.test(e), hI = (e) => !vI(e) && !EI(e), gI = (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)), _I = (e) => AI(e, PI, mI), vI = (e) => oI.test(e), yI = (e) => AI(e, FI, ufe), bI = (e) => AI(e, _fe, lI), xI = (e) => AI(e, LI, pI), SI = (e) => AI(e, II, mI), CI = (e) => AI(e, MI, mI), wI = (e) => AI(e, NI, ffe), TI = (e) => AI(e, RI, dfe), EI = (e) => sI.test(e), DI = (e) => jI(e, FI), pfe = (e) => jI(e, II), OI = (e) => jI(e, MI), mfe = (e) => jI(e, PI), hfe = (e) => jI(e, NI), kI = (e) => jI(e, RI, !0), gfe = (e) => jI(e, LI, !0), AI = (e, t, n) => {let r = oI.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, NI = (e, t, n = !1) => {+}, jI = (e, t, n = !1) => {let r = sI.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, PI = (e) => e === "position" || e === "percentage", FI = (e) => e === "image" || e === "url", II = (e) => e === "length" || e === "size" || e === "bg-size", LI = (e) => e === "length", hfe = (e) => e === "number", RI = (e) => e === "family-name", zI = (e) => e === "number" || e === "weight", BI = (e) => e === "shadow", VI = () => {+}, MI = (e) => e === "position" || e === "percentage", NI = (e) => e === "image" || e === "url", PI = (e) => e === "length" || e === "size" || e === "bg-size", FI = (e) => e === "length", _fe = (e) => e === "number", II = (e) => e === "family-name", LI = (e) => e === "number" || e === "weight", RI = (e) => e === "shadow", zI = () => {let e = aI("color"), t = aI("font"), n = aI("text"), r = aI("font-weight"), i = aI("tracking"), a = aI("leading"), o = aI("breakpoint"), s = aI("container"), c = aI("spacing"), l = aI("radius"), u = aI("shadow"), d = aI("inset-shadow"), f = aI("text-shadow"), p = aI("drop-shadow"), m = aI("blur"), h = aI("perspective"), g = aI("aspect"), _ = aI("ease"), v = aI("animate"), y = () => ["auto","avoid",@@ -35478,8 +35478,8 @@ var Ide = (e, t) => {"left-bottom"], x = () => [...b(),- OI,- xI+ EI,+ vI], S = () => ["auto","hidden",@@ -35491,8 +35491,8 @@ var Ide = (e, t) => {"contain","none"], w = () => [- OI,- xI,+ EI,+ vI,c], T = () => [cI,@@ -35503,31 +35503,31 @@ var Ide = (e, t) => {uI,"none","subgrid",- OI,- xI+ EI,+ vI], D = () => ["auto",{ span: ["full",uI,- OI,- xI+ EI,+ vI] },uI,- OI,- xI+ EI,+ vI], O = () => [uI,"auto",- OI,- xI+ EI,+ vI], k = () => ["auto","min","max","fr",- OI,- xI+ EI,+ vI], A = () => ["start","end",@@ -35586,13 +35586,13 @@ var Ide = (e, t) => {...w()], P = () => [e,- OI,- xI+ EI,+ vI], ne = () => [...b(),- AI,- EI,- { position: [OI, xI] }+ OI,+ CI,+ { position: [EI, vI] }], re = () => ["no-repeat", { repeat: ["","x",@@ -35603,25 +35603,25 @@ var Ide = (e, t) => {"auto","cover","contain",- ffe,- bI,- { size: [OI, xI] }+ mfe,+ _I,+ { size: [EI, vI] }], I = () => [dI,- kI,- SI+ DI,+ yI], ie = () => ["","none","full",l,- OI,- xI+ EI,+ vI], ae = () => ["",lI,- kI,- SI+ DI,+ yI], oe = () => ["solid","dashed",@@ -35647,28 +35647,28 @@ var Ide = (e, t) => {], ce = () => [lI,dI,- AI,- EI+ OI,+ CI], le = () => ["","none",m,- OI,- xI+ EI,+ vI], ue = () => ["none",lI,- OI,- xI+ EI,+ vI], de = () => ["none",lI,- OI,- xI+ EI,+ vI], fe = () => [lI,- OI,- xI+ EI,+ vI], pe = () => [cI,"full",@@ -35694,7 +35694,7 @@ var Ide = (e, t) => {"out","in-out"],- font: [vI],+ font: [hI],"font-weight": ["thin","extralight",@@ -35742,8 +35742,8 @@ var Ide = (e, t) => {"auto","square",cI,- xI,- OI,+ vI,+ EI,g] }],container: ["container"],@@ -35751,15 +35751,15 @@ var Ide = (e, t) => {"","normal","size",- OI,- xI+ EI,+ vI] }],- "container-named": [yI],+ "container-named": [gI],columns: [{ columns: [lI,"auto",- xI,- OI,+ vI,+ EI,s] }],"break-after": [{ "break-after": y() }],@@ -35858,8 +35858,8 @@ var Ide = (e, t) => {z: [{ z: [uI,"auto",- OI,- xI+ EI,+ vI] }],basis: [{ basis: [cI,@@ -35885,27 +35885,27 @@ var Ide = (e, t) => {"auto","initial","none",- xI+ vI] }],grow: [{ grow: ["",lI,- OI,- xI+ EI,+ vI] }],shrink: [{ shrink: ["",lI,- OI,- xI+ EI,+ vI] }],order: [{ order: [uI,"first","last","none",- OI,- xI+ EI,+ vI] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -36012,15 +36012,15 @@ var Ide = (e, t) => {"font-size": [{ text: ["base",n,- kI,- SI+ DI,+ yI] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- mfe,- wI+ gfe,+ xI] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -36033,14 +36033,14 @@ var Ide = (e, t) => {"extra-expanded","ultra-expanded",dI,- xI+ vI] }],"font-family": [{ font: [- dfe,- TI,+ pfe,+ SI,t] }],- "font-features": [{ "font-features": [xI] }],+ "font-features": [{ "font-features": [vI] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -36049,14 +36049,14 @@ var Ide = (e, t) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- OI,- xI+ EI,+ vI] }],"line-clamp": [{ "line-clamp": [lI,"none",- OI,- CI+ EI,+ bI] }],leading: [{ leading: ["none",@@ -36065,16 +36065,16 @@ var Ide = (e, t) => {] }],"list-image": [{ "list-image": ["none",- OI,- xI+ EI,+ vI] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- OI,- xI+ EI,+ vI] }],"text-alignment": [{ text: ["left",@@ -36097,15 +36097,15 @@ var Ide = (e, t) => {lI,"from-font","auto",- OI,- SI+ EI,+ yI] }],"text-decoration-color": [{ decoration: P() }],"underline-offset": [{ "underline-offset": [lI,"auto",- OI,- xI+ EI,+ vI] }],"text-transform": ["uppercase",@@ -36127,8 +36127,8 @@ var Ide = (e, t) => {indent: [{ indent: w() }],"tab-size": [{ tab: [uI,- OI,- xI+ EI,+ vI] }],"vertical-align": [{ align: ["baseline",@@ -36139,8 +36139,8 @@ var Ide = (e, t) => {"text-bottom","sub","super",- OI,- xI+ EI,+ vI] }],whitespace: [{ whitespace: ["normal",@@ -36168,8 +36168,8 @@ var Ide = (e, t) => {] }],content: [{ content: ["none",- OI,- xI+ EI,+ vI] }],"bg-attachment": [{ bg: ["fixed",@@ -36205,23 +36205,23 @@ var Ide = (e, t) => {"tl"] },uI,- OI,- xI+ EI,+ vI],radial: ["",- OI,- xI+ EI,+ vI],conic: ["",uI,- OI,- xI+ EI,+ vI]},- pfe,- ufe+ hfe,+ wI] }],"bg-color": [{ bg: P() }],"gradient-from-pos": [{ from: I() }],@@ -36289,14 +36289,14 @@ var Ide = (e, t) => {] }],"outline-offset": [{ "outline-offset": [lI,- OI,- xI+ EI,+ vI] }],"outline-w": [{ outline: ["",lI,- kI,- SI+ DI,+ yI] }],"outline-color": [{ outline: P() }],shadow: [{ shadow: [@@ -36304,35 +36304,35 @@ var Ide = (e, t) => {"inner","none",u,- jI,- DI+ kI,+ TI] }],"shadow-color": [{ shadow: P() }],"inset-shadow": [{ "inset-shadow": ["none",d,- jI,- DI+ kI,+ TI] }],"inset-shadow-color": [{ "inset-shadow": P() }],"ring-w": [{ ring: ae() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: P() }],- "ring-offset-w": [{ "ring-offset": [lI, SI] }],+ "ring-offset-w": [{ "ring-offset": [lI, yI] }],"ring-offset-color": [{ "ring-offset": P() }],"inset-ring-w": [{ "inset-ring": ae() }],"inset-ring-color": [{ "inset-ring": P() }],"text-shadow": [{ "text-shadow": ["none",f,- jI,- DI+ kI,+ TI] }],"text-shadow-color": [{ "text-shadow": P() }],opacity: [{ opacity: [lI,- OI,- xI+ EI,+ vI] }],"mix-blend": [{ "mix-blend": [...se(),@@ -36383,7 +36383,7 @@ var Ide = (e, t) => {"mask-image-y-to-pos": [{ "mask-y-to": ce() }],"mask-image-y-from-color": [{ "mask-y-from": P() }],"mask-image-y-to-color": [{ "mask-y-to": P() }],- "mask-image-radial": [{ "mask-radial": [OI, xI] }],+ "mask-image-radial": [{ "mask-radial": [EI, vI] }],"mask-image-radial-from-pos": [{ "mask-radial-from": ce() }],"mask-image-radial-to-pos": [{ "mask-radial-to": ce() }],"mask-image-radial-from-color": [{ "mask-radial-from": P() }],@@ -36418,111 +36418,111 @@ var Ide = (e, t) => {"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- OI,- xI+ EI,+ vI] }],filter: [{ filter: ["","none",- OI,- xI+ EI,+ vI] }],blur: [{ blur: le() }],brightness: [{ brightness: [lI,- OI,- xI+ EI,+ vI] }],contrast: [{ contrast: [lI,- OI,- xI+ EI,+ vI] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- jI,- DI+ kI,+ TI] }],"drop-shadow-color": [{ "drop-shadow": P() }],grayscale: [{ grayscale: ["",lI,- OI,- xI+ EI,+ vI] }],"hue-rotate": [{ "hue-rotate": [lI,- OI,- xI+ EI,+ vI] }],invert: [{ invert: ["",lI,- OI,- xI+ EI,+ vI] }],saturate: [{ saturate: [lI,- OI,- xI+ EI,+ vI] }],sepia: [{ sepia: ["",lI,- OI,- xI+ EI,+ vI] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- OI,- xI+ EI,+ vI] }],"backdrop-blur": [{ "backdrop-blur": le() }],"backdrop-brightness": [{ "backdrop-brightness": [lI,- OI,- xI+ EI,+ vI] }],"backdrop-contrast": [{ "backdrop-contrast": [lI,- OI,- xI+ EI,+ vI] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",lI,- OI,- xI+ EI,+ vI] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [lI,- OI,- xI+ EI,+ vI] }],"backdrop-invert": [{ "backdrop-invert": ["",lI,- OI,- xI+ EI,+ vI] }],"backdrop-opacity": [{ "backdrop-opacity": [lI,- OI,- xI+ EI,+ vI] }],"backdrop-saturate": [{ "backdrop-saturate": [lI,- OI,- xI+ EI,+ vI] }],"backdrop-sepia": [{ "backdrop-sepia": ["",lI,- OI,- xI+ EI,+ vI] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -36538,39 +36538,39 @@ var Ide = (e, t) => {"shadow","transform","none",- OI,- xI+ EI,+ vI] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [lI,"initial",- OI,- xI+ EI,+ vI] }],ease: [{ ease: ["linear","initial",_,- OI,- xI+ EI,+ vI] }],delay: [{ delay: [lI,- OI,- xI+ EI,+ vI] }],animate: [{ animate: ["none",v,- OI,- xI+ EI,+ vI] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- OI,- xI+ EI,+ vI] }],"perspective-origin": [{ "perspective-origin": x() }],rotate: [{ rotate: ue() }],@@ -36586,8 +36586,8 @@ var Ide = (e, t) => {"skew-x": [{ "skew-x": fe() }],"skew-y": [{ "skew-y": fe() }],transform: [{ transform: [- OI,- xI,+ EI,+ vI,"","none","gpu",@@ -36602,8 +36602,8 @@ var Ide = (e, t) => {"translate-none": ["translate-none"],zoom: [{ zoom: [uI,- OI,- xI+ EI,+ vI] }],accent: [{ accent: P() }],appearance: [{ appearance: ["none", "auto"] }],@@ -36653,8 +36653,8 @@ var Ide = (e, t) => {"nwse-resize","zoom-in","zoom-out",- OI,- xI+ EI,+ vI] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -36740,15 +36740,15 @@ var Ide = (e, t) => {"scroll","contents","transform",- OI,- xI+ EI,+ vI] }],fill: [{ fill: ["none", ...P()] }],"stroke-w": [{ stroke: [lI,- kI,- SI,- CI+ DI,+ yI,+ bI] }],stroke: [{ stroke: ["none", ...P()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]@@ -37006,16 +37006,16 @@ var Ide = (e, t) => {"selection"]};-}, gfe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (HI(e, "cacheSize", t), HI(e, "prefix", n), HI(e, "experimentalParseClassName", r), UI(e.theme, a.theme), UI(e.classGroups, a.classGroups), UI(e.conflictingClassGroups, a.conflictingClassGroups), UI(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), HI(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), HI(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), WI(e.theme, i.theme), WI(e.classGroups, i.classGroups), WI(e.conflictingClassGroups, i.conflictingClassGroups), WI(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), GI(e, i, "postfixLookupClassGroups"), GI(e, i, "orderSensitiveModifiers"), e), HI = (e, t, n) => {+}, vfe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (BI(e, "cacheSize", t), BI(e, "prefix", n), BI(e, "experimentalParseClassName", r), VI(e.theme, a.theme), VI(e.classGroups, a.classGroups), VI(e.conflictingClassGroups, a.conflictingClassGroups), VI(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), BI(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), BI(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), HI(e.theme, i.theme), HI(e.classGroups, i.classGroups), HI(e.conflictingClassGroups, i.conflictingClassGroups), HI(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), UI(e, i, "postfixLookupClassGroups"), UI(e, i, "orderSensitiveModifiers"), e), BI = (e, t, n) => {n !== void 0 && (e[t] = n);-}, UI = (e, t) => {- if (t) for (let n in t) HI(e, n, t[n]);-}, WI = (e, t) => {- if (t) for (let n in t) GI(e, t, n);-}, GI = (e, t, n) => {+}, VI = (e, t) => {+ if (t) for (let n in t) BI(e, n, t[n]);+}, HI = (e, t) => {+ if (t) for (let n in t) UI(e, t, n);+}, UI = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, _fe = (e, ...t) => typeof e == "function" ? iI(VI, e, ...t) : iI(() => gfe(VI(), e), ...t), vfe = [+}, yfe = (e, ...t) => typeof e == "function" ? iI(zI, e, ...t) : iI(() => vfe(zI(), e), ...t), bfe = ["large-title","display-1","display-2",@@ -37029,17 +37029,17 @@ var Ide = (e, t) => {"body-2","caption-1","caption-2"-], yfe = [+], xfe = ["regular","medium","semibold","bold"-], q = _fe({ extend: { classGroups: { "font-size": [{ text: vfe.flatMap((e) => yfe.map((t) => `${e}-${t}`)) }] } } });-function KI(e) {+], q = yfe({ extend: { classGroups: { "font-size": [{ text: bfe.flatMap((e) => xfe.map((t) => `${e}-${t}`)) }] } } });+function WI(e) {return e;}// src/react/components/pill-tab.tsx-var bfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, qI = KI({+var Sfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, GI = WI({radius: {blue: "rounded-full",gray: "rounded-2lg"@@ -37061,9 +37061,9 @@ var bfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, qI = KI({gray: "text-text-primary"}});-function JI({ children: e, className: t, ref: n, container: r, ...i }) {+function KI({ children: e, className: t, ref: n, container: r, ...i }) {let a = (0, F.useRef)(null), [o, s] = (0, F.useState)(null);- bfe(() => {+ Sfe(() => {let e = r === void 0 ? a.current : r;if (!e) return;let t = () => {@@ -37099,7 +37099,7 @@ function JI({ children: e, className: t, ref: n, container: r, ...i }) {}, l = o && /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,"data-pill-thumb": "",- className: q("pointer-events-none absolute left-0 top-0", qI.radius[o.variant], qI.thumb[o.variant]),+ className: q("pointer-events-none absolute left-0 top-0", GI.radius[o.variant], GI.thumb[o.variant]),style: {"--pill-left": `${o.left}px`,"--pill-top": `${o.top}px`,@@ -37113,40 +37113,40 @@ function JI({ children: e, className: t, ref: n, container: r, ...i }) {className: q("relative inline-flex items-center gap-1", t),...i,children: [l, e]- }) : r ? (0, Lt.createPortal)(l, r) : null;+ }) : r ? (0, It.createPortal)(l, r) : null;}// src/react/manage-header/manage-header-island.tsx-var YI = null, XI = null, ZI = /* @__PURE__ */ new Set();-function xfe(e) {- return ZI.add(e), () => {- ZI.delete(e);+var qI = null, JI = null, YI = /* @__PURE__ */ new Set();+function Cfe(e) {+ return YI.add(e), () => {+ YI.delete(e);};}-function Sfe() {- for (let e of [...ZI]) e();+function wfe() {+ for (let e of [...YI]) e();}-var Cfe = { render(e) {- XI = e, (0, Lt.flushSync)(Sfe);+var Tfe = { render(e) {+ JI = e, (0, It.flushSync)(wfe);} };-function wfe(e) {- return YI = e, XI = null, Cfe;+function Efe(e) {+ return qI = e, JI = null, Tfe;}-function Tfe() {- let e = (0, F.useSyncExternalStore)(xfe, () => XI);- return YI && e ? /* @__PURE__ */ (0, I.jsx)(Efe, {- host: YI,+function Dfe() {+ let e = (0, F.useSyncExternalStore)(Cfe, () => JI);+ return qI && e ? /* @__PURE__ */ (0, I.jsx)(Ofe, {+ host: qI,props: e}) : null;}-function Efe({ host: e, props: t }) {+function Ofe({ host: e, props: t }) {let n = UF(t);return n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(Dfe, {+ /* @__PURE__ */ (0, I.jsx)(kfe, {host: e,pressed: n.pressed,menu: t.menu}),- n.crumb ? /* @__PURE__ */ (0, I.jsx)(Ofe, {+ n.crumb ? /* @__PURE__ */ (0, I.jsx)(Afe, {host: e,label: n.crumb}) : null,@@ -37155,13 +37155,13 @@ function Efe({ host: e, props: t }) {"data-compact": n.compact ? "" : void 0,children: n.title}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(kfe, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(jfe, {host: e,lede: n.lede})] }) : null;}-function Dfe({ host: e, pressed: t, menu: n }) {+function kfe({ host: e, pressed: t, menu: n }) {let r = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");@@ -37171,7 +37171,7 @@ function Dfe({ host: e, pressed: t, menu: n }) {}, [t, n]), /* @__PURE__ */ (0, I.jsx)("nav", {"data-manage-bar": "","aria-label": "管理",- children: /* @__PURE__ */ (0, I.jsx)(JI, {+ children: /* @__PURE__ */ (0, I.jsx)(KI, {ref: r,"data-manage-menu": "","data-pill-nav": "",@@ -37191,7 +37191,7 @@ function Dfe({ host: e, pressed: t, menu: n }) {})});}-function Ofe({ host: e, label: t }) {+function Afe({ host: e, label: t }) {return /* @__PURE__ */ (0, I.jsx)("nav", {"data-manage-crumb": "","aria-label": "当前位置",@@ -37207,14 +37207,14 @@ function Ofe({ host: e, label: t }) {})] })});}-function kfe({ host: e, lede: t }) {+function jfe({ host: e, lede: t }) {return /* @__PURE__ */ (0, I.jsx)("p", {className: "mono","data-manage-lede": "",children: t.kind === "skeleton" ? /* @__PURE__ */ (0, I.jsx)("span", {"data-trash-lede-skeletons": "",dangerouslySetInnerHTML: { __html: KF }- }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Afe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {+ }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Mfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -37224,39 +37224,39 @@ function kfe({ host: e, lede: t }) {}) : null] })});}-function Afe({ text: e }) {+function Mfe({ text: e }) {let t = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {- qs(t.current, e);+ Ks(t.current, e);}, [e]), /* @__PURE__ */ (0, I.jsx)("span", {ref: t,"data-lede-text": ""});}// src/core/text-lang.ts-var jfe = /[-ヿㇰ-ㇿヲ-゚]/, Mfe = /[㐀-鿿豈-]/, Nfe = /[A-Za-z]/;-function QI(e) {+var Nfe = /[-ヿㇰ-ㇿヲ-゚]/, Pfe = /[㐀-鿿豈-]/, Ffe = /[A-Za-z]/;+function XI(e) {let t = String(e ?? "");- if (jfe.test(t)) return "ja";- if (!Mfe.test(t) && Nfe.test(t)) return "en";+ if (Nfe.test(t)) return "ja";+ if (!Pfe.test(t) && Ffe.test(t)) return "en";}-var Pfe = (e) => {- let t = QI(e);+var Ife = (e) => {+ let t = XI(e);return t ? ` lang="${t}"` : "";-}, Ffe = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Ife = (e, t = e?.name) => {+}, Lfe = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Rfe = (e, t = e?.name) => {let n = String(t || "").trim();- return e?.is_jav ? n.replace(Ffe, "") : n;-}, Lfe = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Rfe = (e) => {+ return e?.is_jav ? n.replace(Lfe, "") : n;+}, zfe = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Bfe = (e) => {let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);- return t.find(Lfe) || t[0] || "";+ return t.find(zfe) || t[0] || "";};-function $I(e, t = e?.name) {- let n = Ife(e, t), r = String(e?.code || "").trim().toUpperCase();+function ZI(e, t = e?.name) {+ let n = Rfe(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 = Rfe(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 = Bfe(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) => ["中字","无码","无码破解"@@ -37267,23 +37267,23 @@ function $I(e, t = e?.name) {badges: f};}-var eL = (e, t = e?.name) => {- let { code: n, title: r, badges: i = [] } = $I(e, t);+var QI = (e, t = e?.name) => {+ let { code: n, title: r, badges: i = [] } = ZI(e, t);return n ? [n,...i,r].filter(Boolean).join(" ") : r;};-function tL(e, t = e?.name) {- let { code: n, title: r, badges: i = [] } = $I(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"${Pfe(r)}>${z(r)}</span>` : ""}`;+function $I(e, t = e?.name) {+ let { code: n, title: r, badges: i = [] } = ZI(e, t);+ if (!n) return B(r);+ let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${B(e)}</small>`).join("");+ return `<span class="ui-javidentity"><strong class="ui-javcode">${B(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${Ife(r)}>${B(r)}</span>` : ""}`;}// src/react/activity/tasks.ts-var nL = "/api/tasks", rL = ["tasks"];-function zfe(e, t) {+var eL = "/api/tasks", tL = ["tasks"];+function Vfe(e, t) {let n = 0, r = 0, i = 0, a = 0;for (let o of t) for (let [t, s] of Object.entries(e?.[String(o.id)] || {})) n += s, (t === "pending" || t === "running") && (r += s), (t === "failed" || t === "interrupted") && (i += s), t === "cancelled" && (a += s);return {@@ -37294,7 +37294,7 @@ function zfe(e, t) {settled: n - r};}-function Bfe(e) {+function Hfe(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {let e = t.get(n.task_key);@@ -37305,11 +37305,11 @@ function Bfe(e) {}return [...t.values()];}-var Vfe = (e, t) => B(`${nL}?${new URLSearchParams({+var Ufe = (e, t) => V(`${eL}?${new URLSearchParams({before_finished_at: e.finished_at || "",before_id: String(e.id)})}`, t);-function Hfe(...e) {+function Wfe(...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) => {@@ -37317,26 +37317,26 @@ function Hfe(...e) {return n === r ? t.id - e.id : n < r ? 1 : -1;});}-var Ufe = 2e3, Wfe = 1e4, iL = (e) => e?.running?.length ? Ufe : Wfe, aL = (e) => B(nL, e), Gfe = (e, t, n) => V(`${nL}/${e}/control`, { action: t }, "POST", n);-async function Kfe(e) {- await H.fetchQuery({- queryKey: rL,- queryFn: () => aL(e)+var Gfe = 2e3, Kfe = 1e4, nL = (e) => e?.running?.length ? Gfe : Kfe, rL = (e) => V(eL, e), qfe = (e, t, n) => H(`${eL}/${e}/control`, { action: t }, "POST", n);+async function Jfe(e) {+ await U.fetchQuery({+ queryKey: tL,+ queryFn: () => rL(e)});}-var qfe = {+var Yfe = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, Jfe = {+}, Xfe = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "意外中断"-}, Yfe = (e) => Jfe[e] || e, oL = {+}, Zfe = (e) => Xfe[e] || e, iL = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -37413,7 +37413,7 @@ var qfe = {without_code: "未识别番号",incomplete: "资料或封面未取得",result: "结果"-}, Xfe = [+}, Qfe = ["gone_count","unclear_count","source_failed",@@ -37435,14 +37435,14 @@ var qfe = {"paused_count","miss","incomplete"-], Zfe = ["face_match_unavailable"], sL = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Zfe.some((t) => e.result_summary?.[t] === !0) || Xfe.some((t) => Number(e.result_summary?.[t]) > 0);-function Qfe(e) {+], $fe = ["face_match_unavailable"], aL = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || $fe.some((t) => e.result_summary?.[t] === !0) || Qfe.some((t) => Number(e.result_summary?.[t]) > 0);+function epe(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 cL = /* @__PURE__ */ new Set(["library-processing"]);-function $fe(e, t = !0) {- if (!sL(e) && e.status !== "failed" || cL.has(e.task_key) && !t) return null;+var oL = /* @__PURE__ */ new Set(["library-processing"]);+function tpe(e, t = !0) {+ if (!aL(e) && e.status !== "failed" || oL.has(e.task_key) && !t) return null;let n = {"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],@@ -37460,19 +37460,19 @@ function $fe(e, t = !0) {label: n[1]} : null;}-function epe(e) {+function npe(e) {let t = e.result_summary?.asset_id, n = e.result_summary?.name;return typeof t == "number" && Number.isInteger(t) && t > 0 && typeof n == "string" && n ? {href: `/assets/${t}`,label: n} : null;}-function tpe(e) {+function rpe(e) {let t = /* @__PURE__ */ new Map();- for (let n of e) cL.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) oL.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 npe(e) {+function ipe(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {if (!n.followup_key || n.parent_run_id == null) continue;@@ -37481,7 +37481,7 @@ function npe(e) {}return t;}-function rpe(e, t) {+function ape(e, t) {let n = [], r = /* @__PURE__ */ new Map();for (let i of e) {if (!t(i)) {@@ -37503,12 +37503,12 @@ function rpe(e, t) {}return n;}-var ipe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !sL(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), lL = (e) => e.status === "pending" || e.status === "running";-function ape(e) {+var ope = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !aL(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), sL = (e) => e.status === "pending" || e.status === "running";+function spe(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, fL(e.error) || fpe(o) || (lL(e) && i > 0 ? `${dL(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");+ return [r, uL(e.error) || mpe(o) || (sL(e) && i > 0 ? `${lL(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");}-function uL(e) {+function cL(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;@@ -37517,19 +37517,19 @@ function uL(e) {let r = Math.floor(n / 60);return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;}-function dL(e, t) {+function lL(e, t) {let n = Math.max(0, Number(t) || 0);return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;}-function ope(e) {+function cpe(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 fL(e) {- let t = ope(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);- return n ? bn(n[1]) : t;+function uL(e) {+ let t = cpe(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);+ return n ? yn(n[1]) : t;}-var spe = {+var lpe = {partial: "处理已结束,部分项目需处理",complete: "处理完成",interrupted: "处理已中断",@@ -37547,11 +37547,11 @@ var spe = {三站都没对上她: "三个来源均未找到与该人物相符的资料页",已有身份: "已有创作者分类",已变: "资料已被其他操作修改,本次未保存"-}, pL = {+}, dL = {avwikidb: "AVWikiDB",javdb: "JavDB","minnano-av": "みんなのAV"-}, cpe = {+}, upe = {like: "标记喜欢",seen: "标记看过",later: "加入稍后看",@@ -37562,8 +37562,8 @@ var spe = {"dismiss-junk": "确认不是垃圾","reconsider-junk": "重新判定垃圾",region: "判定产地"-}, lpe = (e) => spe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${pL[t.toLowerCase()]} 资料页` : `已保存来自 ${pL[t.toLowerCase()]} 的资料`);-function mL(e) {+}, dpe = (e) => lpe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${dL[t.toLowerCase()]} 资料页` : `已保存来自 ${dL[t.toLowerCase()]} 的资料`);+function fL(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -37573,7 +37573,7 @@ function mL(e) {minute: "2-digit"});}-var upe = /* @__PURE__ */ new Set([+var fpe = /* @__PURE__ */ new Set(["blocked_by","status","run_id",@@ -37582,23 +37582,23 @@ var upe = /* @__PURE__ */ new Set(["completed_at","finished_at"]);-function hL(e) {- let t = dpe(e);+function pL(e) {+ let t = ppe(e);return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;}-function dpe(e) {- return Object.entries(e || {}).filter(([e, t]) => !upe.has(e) && (e in oL || 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" ? fL(String(t)) : e === "outcome" || e === "result" ? lpe(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${oL[e]} ${Yn(Number(t))}` : e === "operation" ? `操作:${cpe[String(t)] || "批量操作"}` : `${oL[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);+function ppe(e) {+ return Object.entries(e || {}).filter(([e, t]) => !fpe.has(e) && (e in iL || 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" ? uL(String(t)) : e === "outcome" || e === "result" ? dpe(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${iL[e]} ${Jn(Number(t))}` : e === "operation" ? `操作:${upe[String(t)] || "批量操作"}` : `${iL[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);}-var fpe = (e) => hL(e).join(" · ");+var mpe = (e) => pL(e).join(" · ");// src/react/use-entity-names.ts-function gL() {- return (0, F.useSyncExternalStore)(Jt, qt, qt);+function mL() {+ return (0, F.useSyncExternalStore)(qt, Kt, Kt);}// src/react/components/async-text.tsx-function _L({ text: e, busy: t, placeholder: n }) {+function hL({ text: e, busy: t, placeholder: n }) {let r = (0, F.useRef)(null), i = (0, F.useRef)(e), a = e ?? i.current;return (0, F.useLayoutEffect)(() => {- e === void 0 ? a === void 0 && fc(r.current) : i.current = e;+ e === void 0 ? a === void 0 && dc(r.current) : i.current = e;}, [e, a]), /* @__PURE__ */ (0, I.jsxs)("span", {"data-async-text": "","aria-busy": t || void 0,@@ -37616,7 +37616,7 @@ function _L({ text: e, busy: t, placeholder: n }) {});}// src/react/boardui/components/base/buttons/icon-button.tsx-var vL = KI({+var gL = WI({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",@@ -37627,20 +37627,20 @@ var vL = KI({small: "size-4 shrink-0"}});-function yL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function _L({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, I.jsx)("button", {ref: i,type: r,- className: q(vL.base, vL.size[t], n),+ className: q(gL.base, gL.size[t], n),...a,children: /* @__PURE__ */ (0, I.jsx)(e, {- className: vL.icon[t],+ className: gL.icon[t],"aria-hidden": !0})});}// src/react/components/glass-drift.tsx-function bL() {+function vL() {return /* @__PURE__ */ (0, I.jsxs)("span", {"data-glass-drift": "","aria-hidden": "true",@@ -37654,7 +37654,7 @@ function bL() {});}// src/react/components/use-stuck.ts-function xL(e) {+function yL(e) {(0, F.useEffect)(() => {let t = e.current;if (!t) return;@@ -37671,31 +37671,31 @@ function xL(e) {}, [e]);}// src/react/components/use-horizontal-scroller.ts-function SL(e, t = !0) {+function bL(e, t = !0) {let [n, r] = (0, F.useState)(null), i = (0, F.useCallback)((t) => {r(t), typeof e == "function" ? e(t) : e && (e.current = t);}, [e]);return (0, F.useLayoutEffect)(() => {if (!n || !t) return;n.dataset.horizontalScroll = "";- let e = kc(n);+ let e = Oc(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 ppe = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var hpe = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,className: e,- dangerouslySetInnerHTML: { __html: zs("正在处理") }+ dangerouslySetInnerHTML: { __html: Rs("正在处理") }});-function CL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {- return /* @__PURE__ */ (0, I.jsx)(yL, {+function xL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {+ return /* @__PURE__ */ (0, I.jsx)(_L, {...a,"data-filter-action": "",size: "small",- icon: n && r === "spinner" ? ppe : t,+ icon: n && r === "spinner" ? hpe : t,"aria-label": e,title: a.title || e,"aria-busy": n || void 0,@@ -37705,9 +37705,9 @@ function CL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress}});}-function mpe({ title: e, children: t }) {+function gpe({ title: e, children: t }) {let n = (0, F.useRef)(null);- return xL(n), /* @__PURE__ */ (0, I.jsxs)("div", {+ return yL(n), /* @__PURE__ */ (0, I.jsxs)("div", {ref: n,role: "group","aria-label": e,@@ -37720,13 +37720,13 @@ function mpe({ title: e, children: t }) {children: e}),t,- /* @__PURE__ */ (0, I.jsx)(bL, {})+ /* @__PURE__ */ (0, I.jsx)(vL, {})]});}-function wL({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {- let d = (0, F.useRef)(null), f = SL(), p = SL(u);- return xL(d), /* @__PURE__ */ (0, I.jsxs)("div", {+function SL({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {+ let d = (0, F.useRef)(null), f = bL(), p = bL(u);+ return yL(d), /* @__PURE__ */ (0, I.jsxs)("div", {ref: d,role: "group","aria-label": e,@@ -37751,27 +37751,27 @@ function wL({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNaclassName: q("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r}),- /* @__PURE__ */ (0, I.jsx)(bL, {})+ /* @__PURE__ */ (0, I.jsx)(vL, {})]});}-var hpe = "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 TL({ children: e, pressed: t, onPress: n, className: r, ...i }) {+var _pe = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";+function CL({ children: e, pressed: t, onPress: n, className: r, ...i }) {return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",...i,"aria-pressed": t,- className: q(hpe, r),+ className: q(_pe, r),onClick: n,children: e});}-var gpe = "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 EL({ children: e, onPress: t, busy: n = !1 }) {+var vpe = "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 wL({ children: e, onPress: t, busy: n = !1 }) {return /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-glass-pill": "",- className: gpe,+ className: vpe,"aria-busy": n || void 0,"aria-disabled": n || void 0,onClick: () => {@@ -37781,13 +37781,13 @@ function EL({ children: e, onPress: t, busy: n = !1 }) {});}// src/react/components/use-view-glide.ts-var DL = (e, t) => [+var TL = (e, t) => ["x","y","w","h"].every((n) => e[n] === t[n]);-function OL(e, t, n) {+function EL(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;@@ -37811,17 +37811,17 @@ function OL(e, t, n) {h: e.offsetHeight};}-function kL(e, t, n, r, { axis: i = "x" } = {}) {+function DL(e, t, n, r, { axis: i = "x" } = {}) {let a = (0, F.useRef)(null), o = (0, F.useCallback)((r, o) => {let s = e.current, c = t.current, l = s?.parentElement;if (!s) return;- let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? OL(u, l, i) : null;+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? EL(u, l, i) : null;if (!d || !d.w || !d.h) {- Gc(s), s.hidden = !0, a.current = null;+ Wc(s), s.hidden = !0, a.current = null;return;}let f = s.hidden ? null : a.current;- s.hidden = !1, a.current = d, !(o && f && DL(f, d)) && Uc(s, o ? f : null, d, i);+ s.hidden = !1, a.current = d, !(o && f && TL(f, d)) && Hc(s, o ? f : null, d, i);}, [e,t,@@ -37842,8 +37842,8 @@ function kL(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 ? OL(o, r, i) : null, l = a.current;- s && l && DL(s, l) || c();+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? EL(o, r, i) : null, l = a.current;+ s && l && TL(s, l) || c();}), u = t.current;if (u && r) {l.observe(u);@@ -37869,12 +37869,12 @@ function kL(e, t, n, r, { axis: i = "x" } = {}) {e.pointerType !== "touch" && o(null, !0);}, [o]),sync: (0, F.useCallback)(() => {- Gc(e.current), o(null, !1);+ Wc(e.current), o(null, !1);}, [e, o])};}// src/react/boardui/components/base/buttons/button.tsx-var AL = KI({+var OL = WI({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",@@ -37907,52 +37907,52 @@ function J({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadireturn /* @__PURE__ */ (0, I.jsxs)("button", {ref: c,type: s,- className: q(AL.base, AL.size[t], AL.variant[e], n && AL.iconOnlySize[t], o),+ className: q(OL.base, OL.size[t], OL.variant[e], n && OL.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, I.jsx)(r, {- className: AL.icon[t],+ className: OL.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {- className: AL.label[t],+ className: OL.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {- className: AL.icon[t],+ className: OL.icon[t],"aria-hidden": !0}) : null]});}-function jL({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+function kL({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, I.jsxs)("a", {ref: s,- className: q(AL.base, AL.size[t], AL.variant[e], n && AL.iconOnlySize[t], o),+ className: q(OL.base, OL.size[t], OL.variant[e], n && OL.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, I.jsx)(r, {- className: AL.icon[t],+ className: OL.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {- className: AL.label[t],+ className: OL.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {- className: AL.icon[t],+ className: OL.icon[t],"aria-hidden": !0}) : null]});}// node_modules/react-aria-components/dist/private/utils.mjs-var ML = Symbol("default");-function NL({ values: e, children: t }) {+var AL = Symbol("default");+function jL({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ F.createElement(n.Provider, { value: r }, t);return t;}-function PL(e) {+function ML(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, F.useMemo)(() => {let e, l, u;@@ -37986,11 +37986,11 @@ function PL(e) {c]);}-function FL(e, t) {+function NL(e, t) {let n = (0, F.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || ML;+ let e = t || AL;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}.`);@@ -37999,8 +37999,8 @@ function FL(e, t) {}return n;}-function IL(e, t, n) {- let { ref: r, ...i } = FL(n, e.slot) || {}, a = QC((0, F.useMemo)(() => UC(t, r), [t, r])), o = K(i, e);+function PL(e, t, n) {+ let { ref: r, ...i } = NL(n, e.slot) || {}, a = $C((0, F.useMemo)(() => WC(t, r), [t, r])), o = K(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,@@ -38018,42 +38018,42 @@ function IL(e, t, n) {...e.style}), [o, a];}-function LL(e = !0) {+function FL(e = !0) {let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(!1), i = (0, F.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return RS(() => {+ return zS(() => {r.current || n(!1);}, []), [i, t];}-function RL(e) {+function IL(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function _pe(e, t, n) {- let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => UC(n, a), [n, a]);- RS(() => {}, [e, r]);+function ype(e, t, n) {+ let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => WC(n, a), [n, a]);+ zS(() => {}, [e, r]);let s = {...i,ref: o};return r ? r(s, void 0) : /*#__PURE__*/ F.createElement(e, s);}-var zL = {}, BL = new Proxy({}, { get(e, t) {+var LL = {}, RL = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = zL[t];- return n || (n = /*#__PURE__*/ (0, F.forwardRef)(_pe.bind(null, t)), zL[t] = n), n;-} }), VL = /*#__PURE__*/ (0, F.createContext)(null), HL = /*#__PURE__*/ (0, F.createContext)(null), UL = /*#__PURE__*/ (0, F.createContext)(null), WL = {+ let n = LL[t];+ return n || (n = /*#__PURE__*/ (0, F.forwardRef)(ype.bind(null, t)), LL[t] = n), n;+} }), zL = /*#__PURE__*/ (0, F.createContext)(null), BL = /*#__PURE__*/ (0, F.createContext)(null), VL = /*#__PURE__*/ (0, F.createContext)(null), HL = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return GL(e, null, t);+ return UL(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return GL(e, t, n);+ return UL(e, t, n);}};-function GL(e, t, n) {- return bS({+function UL(e, t, n) {+ return xS({items: t ? e.getChildren(t.key) : e,dependencies: [n],children(t) {@@ -38063,11 +38063,11 @@ function GL(e, t, n) {type: "item",key: t.key,dropPosition: "before"- }), r, vpe(e, t, n));+ }), r, bpe(e, t, n));}});}-function vpe(e, t, n) {+function bpe(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);@@ -38086,23 +38086,23 @@ function vpe(e, t, n) {}return s;}-var KL = /*#__PURE__*/ (0, F.createContext)(WL);-function qL(e) {+var WL = /*#__PURE__*/ (0, F.createContext)(HL);+function GL(e) {return (0, F.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}// node_modules/react-aria-components/dist/private/Label.mjs-var JL = /*#__PURE__*/ (0, F.createContext)({}), YL = /*#__PURE__*/ rw(function(e, t) {- [e, t] = IL(e, t, JL);- let { elementType: n = "label", ...r } = e, i = BL[n];+var KL = /*#__PURE__*/ (0, F.createContext)({}), qL = /*#__PURE__*/ iw(function(e, t) {+ [e, t] = PL(e, t, KL);+ let { elementType: n = "label", ...r } = e, i = RL[n];return /*#__PURE__*/ F.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), ype = /*#__PURE__*/ (0, F.createContext)(null), XL = /*#__PURE__*/ (0, F.createContext)({}), ZL = /*#__PURE__*/ rw(function(e, t) {- [e, t] = IL(e, t, XL);+}), xpe = /*#__PURE__*/ (0, F.createContext)(null), JL = /*#__PURE__*/ (0, F.createContext)({}), YL = /*#__PURE__*/ iw(function(e, t) {+ [e, t] = PL(e, t, JL);let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Loe(e, t);- i = xpe(i, r);+ i = Cpe(i, r);let { focusProps: o, isFocused: s, isFocusVisible: c } = MD(e), { hoverProps: l, isHovered: u } = ID({...e,isDisabled: e.isDisabled || r@@ -38113,11 +38113,11 @@ var JL = /*#__PURE__*/ (0, F.createContext)({}), YL = /*#__PURE__*/ rw(function(isFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = PL({+ }, f = ML({...e,values: d,defaultClassName: "react-aria-Button"- }), p = VC(i.id), m = VC(), h = i["aria-labelledby"];+ }), p = HC(i.id), m = HC(), h = i["aria-labelledby"];r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));let g = (0, F.useRef)(r);(0, F.useEffect)(() => {@@ -38130,7 +38130,7 @@ var JL = /*#__PURE__*/ (0, F.createContext)({}), YL = /*#__PURE__*/ rw(function(p]);let _ = Kw(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ F.createElement(BL.button, {+ return delete _.onClick, /*#__PURE__*/ F.createElement(RL.button, {...K(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,@@ -38144,61 +38144,61 @@ var JL = /*#__PURE__*/ (0, F.createContext)({}), YL = /*#__PURE__*/ rw(function("data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ F.createElement(ype.Provider, { value: { id: m } }, f.children));-}), bpe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function xpe(e, t) {+ }, /*#__PURE__*/ F.createElement(xpe.Provider, { value: { id: m } }, f.children));+}), Spe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function Cpe(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !bpe.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !Spe.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 QL = /*#__PURE__*/ (0, F.createContext)({}), $L = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = IL(e, t, QL);- let { children: n, level: r = 3, className: i, ...a } = e, o = BL[`h${r}`];+var XL = /*#__PURE__*/ (0, F.createContext)({}), ZL = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = PL(e, t, XL);+ let { children: n, level: r = 3, className: i, ...a } = e, o = RL[`h${r}`];return /*#__PURE__*/ F.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), eR = /*#__PURE__*/ (0, F.createContext)({}), Spe = /*#__PURE__*/ rw(function(e, t) {- [e, t] = IL(e, t, eR);- let { elementType: n = "span", ...r } = e, i = BL[n];+}), QL = /*#__PURE__*/ (0, F.createContext)({}), wpe = /*#__PURE__*/ iw(function(e, t) {+ [e, t] = PL(e, t, QL);+ let { elementType: n = "span", ...r } = e, i = RL[n];return /*#__PURE__*/ F.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), tR = /*#__PURE__*/ (0, F.createContext)(null), nR = /*#__PURE__*/ (0, F.createContext)(null), rR = /*#__PURE__*/ (0, F.createContext)(null), iR = /*#__PURE__*/ (0, F.createContext)(null), Cpe = /*#__PURE__*/ (0, F.createContext)(null), aR = /*#__PURE__*/ (0, F.createContext)(null);-function wpe(e, t) {- let { validationBehavior: n } = FL(nR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(Cpe), a = QC((0, F.useMemo)(() => UC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...RL(e),+}), $L = /*#__PURE__*/ (0, F.createContext)(null), eR = /*#__PURE__*/ (0, F.createContext)(null), tR = /*#__PURE__*/ (0, F.createContext)(null), nR = /*#__PURE__*/ (0, F.createContext)(null), Tpe = /*#__PURE__*/ (0, F.createContext)(null), rR = /*#__PURE__*/ (0, F.createContext)(null);+function Epe(e, t) {+ let { validationBehavior: n } = NL(eR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(Tpe), a = $C((0, F.useMemo)(() => WC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...IL(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};return [i ? ose(o, i, a) : eE(o, aE(e), a), a];}-var Tpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+var Dpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = IL(r, t, rR);- let [i, a] = wpe(e, n);- return /*#__PURE__*/ F.createElement(aR.Provider, { value: {+ [e, t] = PL(r, t, tR);+ let [i, a] = Epe(e, n);+ return /*#__PURE__*/ F.createElement(rR.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ F.createElement(Epe, {+ } }, /*#__PURE__*/ F.createElement(Ope, {...e,ref: t}));-}), Epe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, F.useContext)(aR), { isFocused: p, isFocusVisible: m, focusProps: h } = MD(), g = a || o, { hoverProps: _, isHovered: v } = ID({+}), Ope = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, F.useContext)(rR), { isFocused: p, isFocusVisible: m, focusProps: h } = MD(), g = a || o, { hoverProps: _, isHovered: v } = ID({...e,isDisabled: g- }), y = PL({+ }), y = ML({...e,defaultClassName: u,values: {@@ -38214,7 +38214,7 @@ var Tpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {isRequired: f || !1}}), b = Kw(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(BL.label, {+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(RL.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -38232,8 +38232,8 @@ var Tpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {...K(r, h),ref: l})), y.children);-}), oR = /*#__PURE__*/ (0, F.createContext)({}), sR = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = IL(e, t, oR);+}), iR = /*#__PURE__*/ (0, F.createContext)({}), aR = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = PL(e, t, iR);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 } = ID({@@ -38241,7 +38241,7 @@ var Tpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = MD({ within: !0 }), m = PL({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = MD({ within: !0 }), m = ML({...e,values: {isHovered: u,@@ -38252,7 +38252,7 @@ var Tpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ F.createElement(BL.div, {+ return /*#__PURE__*/ F.createElement(RL.div, {...K(c, p, l),...m,ref: t,@@ -38265,18 +38265,18 @@ var Tpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), cR = /*#__PURE__*/ (0, F.createContext)({}), Dpe = (e) => {+}), oR = /*#__PURE__*/ (0, F.createContext)({}), kpe = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Ope = /*#__PURE__*/ rw(function(e, t) {- [e, t] = IL(e, t, cR);+}, Ape = /*#__PURE__*/ iw(function(e, t) {+ [e, t] = PL(e, t, oR);let { hoverProps: n, isHovered: r } = ID({...e,isDisabled: e.disabled}), { isFocused: i, isFocusVisible: a, focusProps: o } = MD({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = PL({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = ML({...e,values: {isHovered: r,@@ -38287,8 +38287,8 @@ var Tpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ F.createElement(BL.input, {- ...K(Dpe(e), o, n),+ return /*#__PURE__*/ F.createElement(RL.input, {+ ...K(kpe(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -38297,9 +38297,9 @@ var Tpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), kpe = 0, Ape = 100, jpe = 1;-function Mpe(e) {- let { isDisabled: t = !1, minValue: n = kpe, maxValue: r = Ape, numberFormatter: i, step: a = jpe, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {+}), jpe = 0, Mpe = 100, Npe = 1;+function Ppe(e) {+ let { isDisabled: t = !1, minValue: n = jpe, maxValue: r = Mpe, numberFormatter: i, step: a = Npe, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {let e = (r - n) / 10;return e = cE(e, 0, e + a, a), Math.max(e, a);}, [@@ -38310,11 +38310,11 @@ function Mpe(e) {n,r,a- ]), l = (0, F.useMemo)(() => c(uR(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c(uR(e.defaultValue) ?? [n]), [+ ]), l = (0, F.useMemo)(() => c(cR(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c(cR(e.defaultValue) ?? [n]), [e.defaultValue,n,c- ]), d = dR(e.value, e.defaultValue, e.onChange), f = dR(e.value, e.defaultValue, e.onChangeEnd), [p, m] = iE(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {+ ]), d = lR(e.value, e.defaultValue, e.onChange), f = lR(e.value, e.defaultValue, e.onChangeEnd), [p, m] = iE(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {x.current = e, m(e);}, w = (e) => {S.current = e, _(e);@@ -38338,14 +38338,14 @@ function Mpe(e) {if (t || !O(e)) return;let r = E(e), i = D(e);n = cE(n, r, i, a);- let o = lR(x.current, e, n);+ let o = sR(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 = lR(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);+ S.current = sR(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);}let M = (0, F.useRef)(null);function ee(e = p) {@@ -38403,31 +38403,31 @@ function Mpe(e) {isDisabled: t};}-function lR(e, t, n) {+function sR(e, t, n) {return e[t] === n ? e : [...e.slice(0, t),n,...e.slice(t + 1)];}-function uR(e) {+function cR(e) {if (e != null) return Array.isArray(e) ? e : [e];}-function dR(e, t, n) {+function lR(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 Npe = /*#__PURE__*/ (0, F.createContext)(null), fR = /*#__PURE__*/ (0, F.createContext)(null), pR = /*#__PURE__*/ (0, F.createContext)(null), Ppe = /*#__PURE__*/ (0, F.createContext)(null), Fpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = IL(e, t, Npe);- let n = (0, F.useRef)(null), r = dse(e.formatOptions), i = Mpe({+var Fpe = /*#__PURE__*/ (0, F.createContext)(null), uR = /*#__PURE__*/ (0, F.createContext)(null), dR = /*#__PURE__*/ (0, F.createContext)(null), Ipe = /*#__PURE__*/ (0, F.createContext)(null), Lpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = PL(e, t, Fpe);+ let n = (0, F.useRef)(null), r = dse(e.formatOptions), i = Ppe({...e,numberFormatter: r- }), [a, o] = LL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = fse({+ }), [a, o] = FL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = fse({...e,label: o- }, i, n), d = PL({+ }, i, n), d = ML({...e,values: {orientation: i.orientation,@@ -38436,31 +38436,31 @@ var Npe = /*#__PURE__*/ (0, F.createContext)(null), fR = /*#__PURE__*/ (0, F.cre},defaultClassName: "react-aria-Slider"}), f = Kw(e, { global: !0 });- return delete f.id, /*#__PURE__*/ F.createElement(NL, { values: [- [fR, i],- [pR, {+ return delete f.id, /*#__PURE__*/ F.createElement(jL, { values: [+ [uR, i],+ [dR, {...c,ref: n}],- [Ppe, u],- [JL, {+ [Ipe, u],+ [KL, {...l,ref: a}]- ] }, /*#__PURE__*/ F.createElement(BL.div, {+ ] }, /*#__PURE__*/ F.createElement(RL.div, {...K(f, d, s),ref: t,slot: e.slot || void 0,"data-orientation": i.orientation,"data-disabled": i.isDisabled || void 0}));-}), Ipe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = IL(e, t, pR);- let n = (0, F.useContext)(fR), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = ID({+}), Rpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = PL(e, t, dR);+ let n = (0, F.useContext)(uR), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = ID({onHoverStart: r,onHoverEnd: i,onHoverChange: a- }), l = PL({+ }), l = ML({...e,defaultClassName: "react-aria-SliderTrack",values: {@@ -38470,7 +38470,7 @@ var Npe = /*#__PURE__*/ (0, F.createContext)(null), fR = /*#__PURE__*/ (0, F.crestate: n}});- return /*#__PURE__*/ F.createElement(BL.div, {+ return /*#__PURE__*/ F.createElement(RL.div, {...K(o, s),...l,ref: t,@@ -38478,14 +38478,14 @@ var Npe = /*#__PURE__*/ (0, F.createContext)(null), fR = /*#__PURE__*/ (0, F.cre"data-orientation": n.orientation || void 0,"data-disabled": n.isDisabled || void 0});-}), Lpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { inputRef: n = null } = e, r = (0, F.useContext)(fR), { ref: i } = FL(pR), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = LL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = pse({+}), zpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { inputRef: n = null } = e, r = (0, F.useContext)(uR), { ref: i } = NL(dR), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = FL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = pse({...e,index: a,trackRef: i,inputRef: s,label: l- }, r), { focusProps: g, isFocusVisible: _ } = MD(), { hoverProps: v, isHovered: y } = ID(e), b = PL({+ }, r), { focusProps: g, isFocusVisible: _ } = MD(), { hoverProps: v, isHovered: y } = ID(e), b = ML({...e,defaultClassName: "react-aria-SliderThumb",values: {@@ -38497,7 +38497,7 @@ var Npe = /*#__PURE__*/ (0, F.createContext)(null), fR = /*#__PURE__*/ (0, F.creisDisabled: h}}), x = Kw(e, { global: !0 });- return delete x.id, /*#__PURE__*/ F.createElement(BL.div, {+ return delete x.id, /*#__PURE__*/ F.createElement(RL.div, {...K(x, u, v),...b,ref: t,@@ -38513,327 +38513,327 @@ var Npe = /*#__PURE__*/ (0, F.createContext)(null), fR = /*#__PURE__*/ (0, F.cre}, /*#__PURE__*/ F.createElement(mE, null, /*#__PURE__*/ F.createElement("input", {ref: s,...K(d, g)- })), /*#__PURE__*/ F.createElement(NL, { values: [[JL, {+ })), /*#__PURE__*/ F.createElement(jL, { values: [[KL, {...f,ref: c}]] }, b.children));-}), mR = {};-mR = {+}), fR = {};+fR = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",tableResizer: "أداة تغيير الحجم"};// node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var hR = {};-hR = {+var pR = {};+pR = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",tableResizer: "Преоразмерител"};// node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var gR = {};-gR = {+var mR = {};+mR = {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 _R = {};-_R = {+var hR = {};+hR = {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 vR = {};-vR = {+var gR = {};+gR = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",tableResizer: "Größenanpassung"};// node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var yR = {};-yR = {+var _R = {};+_R = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",tableResizer: "Αλλαγή μεγέθους"};// node_modules/react-aria-components/dist/private/intl/en-US.mjs-var bR = {};-bR = {+var vR = {};+vR = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",colorSwatchPicker: "Color swatches"};// node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var xR = {};-xR = {+var yR = {};+yR = {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 SR = {};-SR = {+var bR = {};+bR = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",tableResizer: "Suuruse muutja"};// node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var CR = {};-CR = {+var xR = {};+xR = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",tableResizer: "Koon muuttaja"};// node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var wR = {};-wR = {+var SR = {};+SR = {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 TR = {};-TR = {+var CR = {};+CR = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",tableResizer: "שינוי גודל"};// node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var ER = {};-ER = {+var wR = {};+wR = {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 DR = {};-DR = {+var TR = {};+TR = {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 OR = {};-OR = {+var ER = {};+ER = {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 kR = {};-kR = {+var DR = {};+DR = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",tableResizer: "サイズ変更ツール"};// node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var AR = {};-AR = {+var OR = {};+OR = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",tableResizer: "크기 조정기"};// node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var jR = {};-jR = {+var kR = {};+kR = {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 MR = {};-MR = {+var AR = {};+AR = {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 NR = {};-NR = {+var jR = {};+jR = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",tableResizer: "Størrelsesendrer"};// node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var PR = {};-PR = {+var MR = {};+MR = {colorSwatchPicker: "kleurstalen",dropzoneLabel: "DropZone",selectPlaceholder: "Selecteer een item",tableResizer: "Resizer"};// node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var FR = {};-FR = {+var NR = {};+NR = {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 IR = {};-IR = {+var PR = {};+PR = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",tableResizer: "Redimensionador"};// node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var LR = {};-LR = {+var FR = {};+FR = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",tableResizer: "Redimensionador"};// node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var RR = {};-RR = {+var IR = {};+IR = {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 zR = {};-zR = {+var LR = {};+LR = {colorSwatchPicker: "Цветовые образцы",dropzoneLabel: "DropZone",selectPlaceholder: "Выберите элемент",tableResizer: "Средство изменения размера"};// node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var BR = {};-BR = {+var RR = {};+RR = {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 VR = {};-VR = {+var zR = {};+zR = {colorSwatchPicker: "Barvne palete",dropzoneLabel: "DropZone",selectPlaceholder: "Izberite element",tableResizer: "Spreminjanje velikosti"};// node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var HR = {};-HR = {+var BR = {};+BR = {colorSwatchPicker: "Uzorci boje",dropzoneLabel: "DropZone",selectPlaceholder: "Izaberite stavku",tableResizer: "Promena veličine"};// node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var UR = {};-UR = {+var VR = {};+VR = {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 WR = {};-WR = {+var HR = {};+HR = {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 GR = {};-GR = {+var UR = {};+UR = {colorSwatchPicker: "Зразки кольорів",dropzoneLabel: "DropZone",selectPlaceholder: "Виберіть елемент",tableResizer: "Засіб змінення розміру"};// node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var KR = {};-KR = {+var WR = {};+WR = {colorSwatchPicker: "颜色色板",dropzoneLabel: "放置区域",selectPlaceholder: "选择一个项目",tableResizer: "尺寸调整器"};// node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var qR = {};-qR = {+var GR = {};+GR = {colorSwatchPicker: "色票",dropzoneLabel: "放置區",selectPlaceholder: "選取項目",tableResizer: "大小調整器"};// node_modules/react-aria-components/dist/private/intlStrings.mjs-var JR = {};-JR = {- "ar-AE": mR,- "bg-BG": hR,- "cs-CZ": gR,- "da-DK": _R,- "de-DE": vR,- "el-GR": yR,- "en-US": bR,- "es-ES": xR,- "et-EE": SR,- "fi-FI": CR,- "fr-FR": wR,- "he-IL": TR,- "hr-HR": ER,- "hu-HU": DR,- "it-IT": OR,- "ja-JP": kR,- "ko-KR": AR,- "lt-LT": jR,- "lv-LV": MR,- "nb-NO": NR,- "nl-NL": PR,- "pl-PL": FR,- "pt-BR": IR,- "pt-PT": LR,- "ro-RO": RR,- "ru-RU": zR,- "sk-SK": BR,- "sl-SI": VR,- "sr-SP": HR,- "sv-SE": UR,- "tr-TR": WR,- "uk-UA": GR,- "zh-CN": KR,- "zh-TW": qR+var KR = {};+KR = {+ "ar-AE": fR,+ "bg-BG": pR,+ "cs-CZ": mR,+ "da-DK": hR,+ "de-DE": gR,+ "el-GR": _R,+ "en-US": vR,+ "es-ES": yR,+ "et-EE": bR,+ "fi-FI": xR,+ "fr-FR": SR,+ "he-IL": CR,+ "hr-HR": wR,+ "hu-HU": TR,+ "it-IT": ER,+ "ja-JP": DR,+ "ko-KR": OR,+ "lt-LT": kR,+ "lv-LV": AR,+ "nb-NO": jR,+ "nl-NL": MR,+ "pl-PL": NR,+ "pt-BR": PR,+ "pt-PT": FR,+ "ro-RO": IR,+ "ru-RU": LR,+ "sk-SK": RR,+ "sl-SI": zR,+ "sr-SP": BR,+ "sv-SE": VR,+ "tr-TR": HR,+ "uk-UA": UR,+ "zh-CN": WR,+ "zh-TW": GR};// node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var YR = /*#__PURE__*/ (0, F.createContext)({}), XR = /*#__PURE__*/ (0, F.createContext)(null), Rpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { render: n } = (0, F.useContext)(XR);+var qR = /*#__PURE__*/ (0, F.createContext)({}), JR = /*#__PURE__*/ (0, F.createContext)(null), Bpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { render: n } = (0, F.useContext)(JR);return /*#__PURE__*/ F.createElement(F.Fragment, null, n(e, t));});-function ZR(e, t) {+function YR(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, F.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement(Rpe, { target: e });+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement(Bpe, { target: e });}, [t?.target,r,@@ -38841,7 +38841,7 @@ function ZR(e, t) {]);return e?.useDropIndicator ? i : void 0;}-function QR(e, t, n) {+function XR(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;@@ -38862,13 +38862,13 @@ function QR(e, t, n) {return (0, F.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);}// node_modules/react-aria-components/dist/private/Header.mjs-var $R = /*#__PURE__*/ (0, F.createContext)({}), zpe = /*#__PURE__*/ (0, F.createContext)(null);-function ez(e) {+var ZR = /*#__PURE__*/ (0, F.createContext)({}), Vpe = /*#__PURE__*/ (0, F.createContext)(null);+function QR(e) {let t = (0, F.useRef)({});- return /*#__PURE__*/ F.createElement(zpe.Provider, { value: t }, e.children);+ return /*#__PURE__*/ F.createElement(Vpe.Provider, { value: t }, e.children);}// node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var tz = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), nz = /*#__PURE__*/ (0, F.createContext)({}), Bpe = /*#__PURE__*/ dw(class extends fS {+var $R = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), ez = /*#__PURE__*/ (0, F.createContext)({}), Hpe = /*#__PURE__*/ fw(class extends pS {static {this.type = "separator";}@@ -38881,10 +38881,10 @@ var tz = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), nz = /*#__PURE_return null;}}, function(e, t) {- [e, t] = IL(e, t, nz);+ [e, t] = PL(e, t, ez);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = BL[c], { separatorProps: u } = vce({+ let l = RL[c], { separatorProps: u } = vce({...s,elementType: n,orientation: r@@ -38899,12 +38899,12 @@ var tz = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), nz = /*#__PURE_});});// node_modules/react-aria/dist/private/utils/inertValue.mjs-function rz(e) {+function tz(e) {let t = F.version.split(".");return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;}// node_modules/react-stately/dist/private/list/ListCollection.mjs-var iz = class {+var nz = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;let t = (e) => {@@ -38948,19 +38948,19 @@ var iz = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, az = class e extends Set {+}, rz = 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 Vpe(e, t) {+function Upe(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}-function oz(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = iE((0, F.useMemo)(() => sz(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => sz(e.defaultSelectedKeys, new az()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);+function iz(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = iE((0, F.useMemo)(() => az(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => az(e.defaultSelectedKeys, new rz()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, F.useRef)(i);return (0, F.useEffect)(() => {@@ -38987,17 +38987,17 @@ function oz(e) {},selectedKeys: d,setSelectedKeys(e) {- (r || !Vpe(e, d)) && f(e);+ (r || !Upe(e, d)) && f(e);},disabledKeys: p,disabledBehavior: a};}-function sz(e, t) {- return e ? e === "all" ? "all" : new az(e) : t;+function az(e, t) {+ return e ? e === "all" ? "all" : new rz(e) : t;}// node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var cz = class e {+var oz = 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;}@@ -39080,10 +39080,10 @@ var cz = class e {let t = this.getKey(e);if (t == null) return;let n;- if (this.state.selectedKeys === "all") n = new az([t], t, t);+ if (this.state.selectedKeys === "all") n = new rz([t], t, t);else {let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new az(e, r, t);+ n = new rz(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);}@@ -39117,19 +39117,19 @@ var cz = class e {}let t = this.getKey(e);if (t == null) return;- let n = new az(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ let n = new rz(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 az([t], t, t) : new az();+ let n = this.canSelectItem(t) ? new rz([t], t, t) : new rz();this.state.setSelectedKeys(n);}setSelectedKeys(e) {if (this.selectionMode === "none") return;- let t = new az();+ let t = new rz();for (let n of e) {let e = this.getKey(n);if (e != null && (t.add(e), this.selectionMode === "single")) break;@@ -39152,7 +39152,7 @@ var cz = 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 az());+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new rz());}toggleSelectAll() {this.isSelectAll ? this.clearSelection() : this.selectAll();@@ -39193,9 +39193,9 @@ var cz = class e {fullCollection: this.fullCollection ?? this.collection});}-}, Hpe = class {+}, Wpe = class {build(e, t) {- return this.context = t, lz(() => this.iterateCollection(e));+ return this.context = t, sz(() => this.iterateCollection(e));}*iterateCollection(e) {let { children: t, items: n } = e;@@ -39277,10 +39277,10 @@ var cz = class e {...a,key: l,index: s,- wrapper: Upe(e.wrapper, a.wrapper)+ wrapper: Gpe(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 <${uz(t.type)}> in <${uz(r?.type ?? "unknown parent type")}>. Only <${uz(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 <${cz(t.type)}> in <${cz(r?.type ?? "unknown parent type")}>. Only <${cz(e.type)}> is supported.`);s++, yield t;}c = o.next(u);@@ -39302,7 +39302,7 @@ var cz = class e {wrapper: e.wrapper,shouldInvalidate: e.shouldInvalidate,hasChildNodes: e.hasChildNodes || !1,- childNodes: lz(function* () {+ childNodes: sz(function* () {if (!e.hasChildNodes || !e.childNodes) return;let n = 0;for (let r of e.childNodes()) {@@ -39321,7 +39321,7 @@ var cz = class e {this.cache = /* @__PURE__ */ new WeakMap();}};-function lz(e) {+function sz(e) {let t = [], n = null;return { *[Symbol.iterator]() {for (let e of t) yield e;@@ -39329,17 +39329,17 @@ function lz(e) {for (let e of n) t.push(e), yield e;} };}-function Upe(e, t) {+function Gpe(e, t) {if (e && t) return (n) => e(t(n));if (e) return e;if (t) return t;}-function uz(e) {+function cz(e) {return e[0].toUpperCase() + e.slice(1);}// node_modules/react-stately/dist/private/collections/useCollection.mjs-function dz(e, t, n) {- let r = (0, F.useMemo)(() => new Hpe(), []), { children: i, items: a, collection: o } = e;+function lz(e, t, n) {+ let r = (0, F.useMemo)(() => new Wpe(), []), { children: i, items: a, collection: o } = e;return (0, F.useMemo)(() => o || t(r.build({children: i,items: a@@ -39353,27 +39353,27 @@ function dz(e, t, n) {]);}// node_modules/react-stately/dist/private/list/useListState.mjs-function fz(e) {- let { filter: t, layoutDelegate: n } = e, r = oz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = dz(e, (0, F.useCallback)((e) => t ? new iz(t(e)) : new iz(e), [t]), (0, F.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, F.useMemo)(() => new cz(a, r, { layoutDelegate: n }), [+function uz(e) {+ let { filter: t, layoutDelegate: n } = e, r = iz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = lz(e, (0, F.useCallback)((e) => t ? new nz(t(e)) : new nz(e), [t]), (0, F.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, F.useMemo)(() => new oz(a, r, { layoutDelegate: n }), [a,r,n]);- return pz(a, o), {+ return dz(a, o), {collection: a,disabledKeys: i,selectionManager: o};}-function Wpe(e, t) {+function Kpe(e, t) {let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return pz(n, r), {+ return dz(n, r), {collection: n,selectionManager: r,disabledKeys: e.disabledKeys};}-function pz(e, t) {+function dz(e, t) {let n = (0, F.useRef)(null);(0, F.useEffect)(() => {if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {@@ -39400,11 +39400,11 @@ function pz(e, t) {}, [e, t]);}// node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function mz(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = kw((e) => {+function fz(e, t) {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = Aw((e) => {for (let t of e) t.isIntersecting && r && r();});- RS(() => {+ zS(() => {if (t.current) {let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;o.current = new IntersectionObserver(s, {@@ -39423,42 +39423,42 @@ function mz(e, t) {]);}// node_modules/react-aria-components/dist/private/ListBox.mjs-var hz = /*#__PURE__*/ (0, F.createContext)(null), gz = /*#__PURE__*/ (0, F.createContext)(null), Gpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = IL(e, t, hz);- let n = (0, F.useContext)(gz);- return n ? /*#__PURE__*/ F.createElement(_z, {+var pz = /*#__PURE__*/ (0, F.createContext)(null), mz = /*#__PURE__*/ (0, F.createContext)(null), qpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = PL(e, t, pz);+ let n = (0, F.useContext)(mz);+ return n ? /*#__PURE__*/ F.createElement(hz, {state: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ F.createElement(cw, { content: /*#__PURE__*/ F.createElement(hw, e) }, (n) => /*#__PURE__*/ F.createElement(Kpe, {+ }) : /*#__PURE__*/ F.createElement(lw, { content: /*#__PURE__*/ F.createElement(gw, e) }, (n) => /*#__PURE__*/ F.createElement(Jpe, {props: e,listBoxRef: t,collection: n}));});-function Kpe({ props: e, listBoxRef: t, collection: n }) {+function Jpe({ props: e, listBoxRef: t, collection: n }) {e = {...e,collection: n,children: null,items: null};- let { layoutDelegate: r } = (0, F.useContext)(KL), i = fz({+ let { layoutDelegate: r } = (0, F.useContext)(WL), i = uz({...e,layoutDelegate: r});- return /*#__PURE__*/ F.createElement(_z, {+ return /*#__PURE__*/ F.createElement(hz, {state: i,props: e,listBoxRef: t});}-function _z({ state: e, props: t, listBoxRef: n }) {- [t, n] = IL(t, n, VL);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Wpe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Lw(), { disabledBehavior: p, disabledKeys: m } = l, h = TD({+function hz({ state: e, props: t, listBoxRef: n }) {+ [t, n] = PL(t, n, zL);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Kpe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Rw(), { disabledBehavior: p, disabledKeys: m } = l, h = TD({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(KL), b = (0, F.useMemo)(() => t.keyboardDelegate || new DE({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(WL), b = (0, F.useMemo)(() => t.keyboardDelegate || new DE({collection: c,collator: h,ref: n,@@ -39519,7 +39519,7 @@ function _z({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, ee = PL({+ }, ee = ML({...t,children: void 0,defaultClassName: "react-aria-ListBox",@@ -39530,7 +39530,7 @@ function _z({ state: e, props: t, listBoxRef: n }) {style: { display: "contents" }}, t.renderEmptyState(M)));let te = Kw(t, { global: !0 });- return /*#__PURE__*/ F.createElement(gT, null, /*#__PURE__*/ F.createElement(BL.div, {+ return /*#__PURE__*/ F.createElement(gT, null, /*#__PURE__*/ F.createElement(RL.div, {...K(te, ee, x, O, w?.collectionProps),ref: n,slot: t.slot || void 0,@@ -39541,52 +39541,52 @@ function _z({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": A || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ F.createElement(NL, { values: [- [hz, t],- [gz, s],- [YR, {+ }, /*#__PURE__*/ F.createElement(jL, { values: [+ [pz, t],+ [mz, s],+ [qR, {dragAndDropHooks: r,dragState: S,dropState: C}],- [nz, { elementType: "div" }],- [XR, { render: Ype }],- [UL, {+ [ez, { elementType: "div" }],+ [JR, { render: Zpe }],+ [VL, {name: "ListBoxSection",- render: qpe+ render: Ype}]- ] }, /*#__PURE__*/ F.createElement(ez, null, /*#__PURE__*/ F.createElement(y, {+ ] }, /*#__PURE__*/ F.createElement(QR, null, /*#__PURE__*/ F.createElement(y, {collection: c,scrollRef: n,- persistedKeys: QR(l, r, C),- renderDropIndicator: ZR(r, C)+ persistedKeys: XR(l, r, C),+ renderDropIndicator: YR(r, C)}))), N, E));}-function qpe(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, F.useContext)(gz), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)(YR), { CollectionBranch: s } = (0, F.useContext)(KL), [c, l] = LL(), { headingProps: u, groupProps: d } = Vse({+function Ype(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, F.useContext)(mz), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)(qR), { CollectionBranch: s } = (0, F.useContext)(WL), [c, l] = FL(), { headingProps: u, groupProps: d } = Vse({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = PL({+ }), f = ML({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0}), p = Kw(e, { global: !0 });- return delete p.id, /*#__PURE__*/ F.createElement(BL.section, {+ return delete p.id, /*#__PURE__*/ F.createElement(RL.section, {...K(p, f, d),ref: t- }, /*#__PURE__*/ F.createElement($R.Provider, { value: {+ }, /*#__PURE__*/ F.createElement(ZR.Provider, { value: {...u,ref: c} }, /*#__PURE__*/ F.createElement(s, {collection: i.collection,parent: n,- renderDropIndicator: ZR(a, o)+ renderDropIndicator: YR(a, o)})));}-var Jpe = /*#__PURE__*/ dw(hS, function(e, t, n) {- let r = QC(t), i = (0, F.useContext)(gz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(YR), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Hse({+var Xpe = /*#__PURE__*/ fw(gS, function(e, t, n) {+ let r = $C(t), i = (0, F.useContext)(mz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(qR), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Hse({key: n.key,"aria-label": e?.["aria-label"]}, i, r), { hoverProps: p, isHovered: m } = ID({@@ -39594,7 +39594,7 @@ var Jpe = /*#__PURE__*/ dw(hS, function(e, t, n) {onHoverStart: n.props.onHoverStart,onHoverChange: n.props.onHoverChange,onHoverEnd: n.props.onHoverEnd- }), { keyboardProps: h } = ZC(e), { focusProps: g } = qC(e), _ = null;+ }), { keyboardProps: h } = QC(e), { focusProps: g } = JC(e), _ = null;o && a && (_ = a.useDraggableItem({key: n.key,hasAction: f.hasAction@@ -39605,7 +39605,7 @@ var Jpe = /*#__PURE__*/ dw(hS, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), b = PL({+ let y = o && o.isDragging(n.key), b = ML({...e,id: void 0,children: e.children,@@ -39623,7 +39623,7 @@ var Jpe = /*#__PURE__*/ dw(hS, function(e, t, n) {(0, F.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? BL.a : BL.div, S = Kw(e, { global: !0 });+ let x = e.href ? RL.a : RL.div, S = Kw(e, { global: !0 });return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ F.createElement(x, {...K(S, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,@@ -39637,29 +39637,29 @@ var Jpe = /*#__PURE__*/ dw(hS, function(e, t, n) {"data-dragging": y || void 0,"data-drop-target": v?.isDropTarget || void 0,"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode- }, /*#__PURE__*/ F.createElement(NL, { values: [[eR, { slots: {- [ML]: u,+ }, /*#__PURE__*/ F.createElement(jL, { values: [[QL, { slots: {+ [AL]: u,label: u,description: d- } }], [tz, { isSelected: f.isSelected }]] }, b.children));+ } }], [$R, { isSelected: f.isSelected }]] }, b.children));});-function Ype(e, t) {- t = QC(t);- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(YR), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ F.createElement(Zpe, {+function Zpe(e, t) {+ t = $C(t);+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(qR), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ return a ? null : /*#__PURE__*/ F.createElement($pe, {...e,dropIndicatorProps: i,isDropTarget: o,ref: t});}-function Xpe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = PL({+function Qpe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = ML({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(BL.div, {+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(RL.div, {...n,...a,role: "option",@@ -39667,10 +39667,10 @@ function Xpe(e, t) {"data-drop-target": r || void 0}));}-var Zpe = /*#__PURE__*/ (0, F.forwardRef)(Xpe);-dw(mS, function(e, t, n) {- let r = (0, F.useContext)(gz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);- mz((0, F.useMemo)(() => ({+var $pe = /*#__PURE__*/ (0, F.forwardRef)(Qpe);+fw(hS, function(e, t, n) {+ let r = (0, F.useContext)(mz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);+ fz((0, F.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -39680,7 +39680,7 @@ dw(mS, function(e, t, n) {o,r?.collection]), c);- let l = PL({+ let l = ML({...s,id: void 0,children: n.rendered,@@ -39693,7 +39693,7 @@ dw(mS, function(e, t, n) {width: 0,height: 0},- inert: rz(!0)+ inert: tz(!0)}, /*#__PURE__*/ F.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -39702,7 +39702,7 @@ dw(mS, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(BL.div, {+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(RL.div, {...K(Kw(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",@@ -39710,9 +39710,9 @@ dw(mS, function(e, t, n) {}, l.children)));});// node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var Qpe = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });+var eme = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });// node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function vz(e) {+function gz(e) {let [t, n] = iE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);return {isOpen: t,@@ -39731,15 +39731,15 @@ function vz(e) {};}// node_modules/react-aria/dist/private/utils/animation.mjs-function yz(e, t = !0, n) {+function _z(e, t = !0, n) {let [r, i] = (0, F.useState)(!0), a = r && t;- return RS(() => {- if (!t && e.current) return LC(DS(e.current, "opacity", "0"), DS(e.current, "clip", "rect(0 0 0 0)"), DS(e.current, "clip-path", "inset(50%)"), DS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));- }, [e, t]), RS(() => {+ return zS(() => {+ if (!t && e.current) return RC(OS(e.current, "opacity", "0"), OS(e.current, "clip", "rect(0 0 0 0)"), OS(e.current, "clip-path", "inset(50%)"), OS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));+ }, [e, t]), zS(() => {if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, a]), xz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;+ }, [e, a]), yz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;}-function bz(e, t, n) {+function vz(e, t, n) {let [r, i] = (0, F.useState)(t ? "open" : "closed");switch (r) {case "open":@@ -39749,13 +39749,13 @@ function bz(e, t, n) {case "exiting": t && i("open");}let a = r === "exiting";- return xz(e, a, n, (0, F.useCallback)(() => {+ return yz(e, a, n, (0, F.useCallback)(() => {i((e) => e === "exiting" ? "closed" : e);}, [])), a;}-function xz(e, t, n, r) {- let i = (0, F.useRef)(null), a = kw(n);- RS(() => {+function yz(e, t, n, r) {+ let i = (0, F.useRef)(null), a = Aw(n);+ zS(() => {if (t && e.current && i.current !== t) {if (i.current = t, !("getAnimations" in e.current)) {r();@@ -39767,7 +39767,7 @@ function xz(e, t, n, r) {return;}Promise.all([n, ...o.map((e) => e.finished)]).then(() => {- (0, Lt.flushSync)(() => {+ (0, It.flushSync)(() => {r();});}).catch(() => {});@@ -39780,9 +39780,9 @@ function xz(e, t, n, r) {]);}// node_modules/react-aria-components/dist/private/Popover.mjs-var Sz = /*#__PURE__*/ (0, F.createContext)(null), Cz = /*#__PURE__*/ (0, F.createContext)(null), wz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = IL(e, t, Sz);- let n = (0, F.useContext)(Iz), r = vz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = bz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = iw(), { direction: c } = Lw();+var bz = /*#__PURE__*/ (0, F.createContext)(null), xz = /*#__PURE__*/ (0, F.createContext)(null), Sz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = PL(e, t, bz);+ let n = (0, F.useContext)(Pz), r = gz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = vz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = aw(), { direction: c } = Rw();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -39793,7 +39793,7 @@ var Sz = /*#__PURE__*/ (0, F.createContext)(null), Cz = /*#__PURE__*/ (0, F.creadefaultChildren: null})), /*#__PURE__*/ F.createElement(F.Fragment, null, t);}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement($pe, {+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement(tme, {...e,triggerRef: e.triggerRef,state: i,@@ -39802,13 +39802,13 @@ var Sz = /*#__PURE__*/ (0, F.createContext)(null), Cz = /*#__PURE__*/ (0, F.creadir: c});});-function $pe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(Cz), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Kk({+function tme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {+ let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(xz), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Kk({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), g = i.popoverRef, _ = yz(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = PL({+ }, e), g = i.popoverRef, _ = _z(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = ML({...i,defaultClassName: "react-aria-Popover",values: {@@ -39818,10 +39818,10 @@ function $pe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContextisExiting: t}}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, F.useState)(i.trigger === "PreviewTrigger");- RS(() => {+ zS(() => {g.current && S(b && !g.current.querySelector("[role=dialog]"));}, [g, b]), (0, F.useEffect)(() => {- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || TC() !== "pointer") && g.current && !MS(g.current) && IC(g.current);+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || EC() !== "pointer") && g.current && !NS(g.current) && LC(g.current);}, [x,g,@@ -39829,12 +39829,12 @@ function $pe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext]);let C = (0, F.useMemo)(() => {let e = y.children;- for (let t of [Sz, ...r ?? []]) e = /*#__PURE__*/ F.createElement(t.Provider, { value: null }, e);+ for (let t of [bz, ...r ?? []]) e = /*#__PURE__*/ F.createElement(t.Provider, { value: null }, e);return e;}, [y.children, r]), [w, T] = (0, F.useState)(null), E = (0, F.useCallback)(() => {i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");}, [i.triggerRef]);- RS(E, [E]), PO({+ zS(E, [E]), PO({ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,onResize: E});@@ -39844,8 +39844,8 @@ function $pe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext...y.style,"--trigger-width": y.style?.["--trigger-width"] || w};- RS(() => Ck(() => u(!0)), []);- let O = /*#__PURE__*/ F.createElement(BL.div, {+ zS(() => Ck(() => u(!0)), []);+ let O = /*#__PURE__*/ F.createElement(RL.div, {...K(Kw(i, { global: !0 }), d),...y,id: x ? i.id : void 0,@@ -39861,7 +39861,7 @@ function $pe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": m,"data-entering": v || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ F.createElement(gk, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(Qpe.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ F.createElement(gk, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(eme.Provider, { value: {...p,placement: m,ref: a@@ -39886,13 +39886,13 @@ function $pe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}), /*#__PURE__*/ F.createElement("div", {ref: o,style: { display: "contents" }- }, /*#__PURE__*/ F.createElement(Cz.Provider, { value: o }, O)));+ }, /*#__PURE__*/ F.createElement(xz.Provider, { value: o }, O)));}// node_modules/react-aria-components/dist/private/Keyboard.mjs-var eme = /*#__PURE__*/ (0, F.createContext)({});+var nme = /*#__PURE__*/ (0, F.createContext)({});// node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs-function Tz(e) {- let t = vz(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {+function Cz(e) {+ let t = gz(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {a([]), t.close();}, s = (e, t) => {a((n) => t > n.length ? n : [...n.slice(0, t), e]);@@ -39917,7 +39917,7 @@ function Tz(e) {};}// node_modules/react-stately/dist/private/tree/TreeCollection.mjs-var tme = class {+var rme = 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) => {@@ -39960,8 +39960,8 @@ var tme = class {}};// node_modules/react-stately/dist/private/tree/useTreeState.mjs-function Ez(e) {- let { onExpandedChange: t } = e, [n, r] = iE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = oz(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = dz(e, (0, F.useCallback)((e) => new tme(e, { expandedKeys: n }), [n]), null);+function wz(e) {+ let { onExpandedChange: t } = e, [n, r] = iE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = iz(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = lz(e, (0, F.useCallback)((e) => new rme(e, { expandedKeys: n }), [n]), null);return (0, F.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -39969,31 +39969,31 @@ function Ez(e) {expandedKeys: n,disabledKeys: a,toggleKey: (e) => {- r(nme(n, e));+ r(ime(n, e));},setExpandedKeys: r,- selectionManager: new cz(o, i)+ selectionManager: new oz(o, i)};}-function nme(e, t) {+function ime(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 Dz = /*#__PURE__*/ (0, F.createContext)(null), Oz = /*#__PURE__*/ (0, F.createContext)(null), kz = /*#__PURE__*/ (0, F.createContext)(null), Az = /*#__PURE__*/ (0, F.createContext)(null);-function rme(e) {- let t = Tz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = dD({+var Tz = /*#__PURE__*/ (0, F.createContext)(null), Ez = /*#__PURE__*/ (0, F.createContext)(null), Dz = /*#__PURE__*/ (0, F.createContext)(null), Oz = /*#__PURE__*/ (0, F.createContext)(null);+function ame(e) {+ let t = Cz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = dD({...e,type: "menu"}, t, n), a = (0, F.useRef)(null);- return iw() ? null : /*#__PURE__*/ F.createElement(NL, { values: [- [Dz, {+ return aw() ? null : /*#__PURE__*/ F.createElement(jL, { values: [+ [Tz, {...i,ref: a}],- [Iz, t],- [kz, t],- [Sz, {+ [Pz, t],+ [Dz, t],+ [bz, {trigger: "MenuTrigger",triggerRef: n,scrollRef: a,@@ -40007,8 +40007,8 @@ function rme(e) {isPressed: t.isOpen}, e.children));}-var ime = /*#__PURE__*/ (0, F.createContext)(null);-(class extends fS {+var ome = /*#__PURE__*/ (0, F.createContext)(null);+(class extends pS {static {this.type = "submenutrigger";}@@ -40021,24 +40021,24 @@ var ime = /*#__PURE__*/ (0, F.createContext)(null);return null;}});-var ame = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- return [e, t] = IL(e, t, Dz), /*#__PURE__*/ F.createElement(cw, { content: /*#__PURE__*/ F.createElement(hw, e) }, (n) => /*#__PURE__*/ F.createElement(ome, {+var sme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ return [e, t] = PL(e, t, Tz), /*#__PURE__*/ F.createElement(lw, { content: /*#__PURE__*/ F.createElement(gw, e) }, (n) => /*#__PURE__*/ F.createElement(cme, {props: e,collection: n,menuRef: t}));});-function ome({ props: e, collection: t, menuRef: n }) {- [e, n] = IL(e, n, VL);- let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Ez({+function cme({ props: e, collection: t, menuRef: n }) {+ [e, n] = PL(e, n, zL);+ let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = wz({...e,collection: a,children: void 0- }), s = (0, F.useContext)(kz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(KL), { menuProps: u } = Use({+ }), s = (0, F.useContext)(Dz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(WL), { menuProps: u } = Use({...e,isVirtualized: c,onClose: e.onClose || s?.close- }, o, n), d = PL({+ }, o, n), d = ML({...e,children: void 0,defaultClassName: "react-aria-Menu",@@ -40049,35 +40049,35 @@ function ome({ props: e, collection: t, menuRef: n }) {style: { display: "contents" }}, e.renderEmptyState()));let p = Kw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(gT, null, /*#__PURE__*/ F.createElement(BL.div, {+ return /*#__PURE__*/ F.createElement(gT, null, /*#__PURE__*/ F.createElement(RL.div, {...K(p, d, u),ref: n,slot: e.slot || void 0,"data-empty": o.collection.size === 0 || void 0,onScroll: e.onScroll- }, /*#__PURE__*/ F.createElement(NL, { values: [- [Oz, o],- [nz, { elementType: "div" }],- [UL, {+ }, /*#__PURE__*/ F.createElement(jL, { values: [+ [Ez, o],+ [ez, { elementType: "div" }],+ [VL, {name: "MenuSection",- render: jz+ render: kz}],- [ime, {+ [ome, {parentMenuRef: n,shouldUseVirtualFocus: i?.shouldUseVirtualFocus}],- [Nz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],- [VL, null],- [HL, null],- [Az, o.selectionManager],- [kz, s ?? Tz({})]- ] }, /*#__PURE__*/ F.createElement(ez, null, /*#__PURE__*/ F.createElement(l, {+ [jz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [zL, null],+ [BL, null],+ [Oz, o.selectionManager],+ [Dz, s ?? Cz({})]+ ] }, /*#__PURE__*/ F.createElement(QR, null, /*#__PURE__*/ F.createElement(l, {collection: o.collection,- persistedKeys: qL(o.selectionManager.focusedKey),+ persistedKeys: GL(o.selectionManager.focusedKey),scrollRef: n}))), f));}-var sme = class extends cz {+var lme = class extends oz {constructor(e, t) {super(e.collection, t), this.parent = e;}@@ -40097,11 +40097,11 @@ var sme = class extends cz {return this.parent.childFocusStrategy;}};-function jz(e, t, n, r = "react-aria-MenuSection") {- let i = (0, F.useContext)(Oz), { CollectionBranch: a } = (0, F.useContext)(KL), [o, s] = LL(), { headingProps: c, groupProps: l } = Gse({+function kz(e, t, n, r = "react-aria-MenuSection") {+ let i = (0, F.useContext)(Ez), { CollectionBranch: a } = (0, F.useContext)(WL), [o, s] = FL(), { headingProps: c, groupProps: l } = Gse({heading: s,"aria-label": n.props["aria-label"] ?? void 0- }), u = PL({+ }), u = ML({...e,id: void 0,children: void 0,@@ -40109,31 +40109,31 @@ function jz(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, F.useContext)(Az), f = oz(e), p = e.selectionMode == null ? d : new sme(d, f), m = FL(Nz)?.shouldCloseOnSelect, h = Kw(e, { global: !0 });- return delete h.id, /*#__PURE__*/ F.createElement(BL.section, {+ }), d = (0, F.useContext)(Oz), f = iz(e), p = e.selectionMode == null ? d : new lme(d, f), m = NL(jz)?.shouldCloseOnSelect, h = Kw(e, { global: !0 });+ return delete h.id, /*#__PURE__*/ F.createElement(RL.section, {...K(h, u, l),ref: t- }, /*#__PURE__*/ F.createElement(NL, { values: [- [$R, {+ }, /*#__PURE__*/ F.createElement(jL, { values: [+ [ZR, {...c,ref: o}],- [Az, p],- [Nz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]+ [Oz, p],+ [jz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]] }, /*#__PURE__*/ F.createElement(a, {collection: i.collection,parent: n})));}-var Mz = /*#__PURE__*/ fw(sae, jz), Nz = /*#__PURE__*/ (0, F.createContext)(null), Pz = /*#__PURE__*/ dw(hS, function(e, t, n) {- [e, t] = IL(e, t, Nz);- let r = FL(Nz)?.id, i = (0, F.useContext)(Oz), a = QC(t), o = (0, F.useContext)(Az), { isVirtualized: s } = (0, F.useContext)(KL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Wse({+var Az = /*#__PURE__*/ pw(oae, kz), jz = /*#__PURE__*/ (0, F.createContext)(null), Mz = /*#__PURE__*/ fw(gS, function(e, t, n) {+ [e, t] = PL(e, t, jz);+ let r = NL(jz)?.id, i = (0, F.useContext)(Ez), a = $C(t), o = (0, F.useContext)(Oz), { isVirtualized: s } = (0, F.useContext)(WL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Wse({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = ID({ isDisabled: f.isDisabled }), h = PL({+ }, i, a), { hoverProps: p, isHovered: m } = ID({ isDisabled: f.isDisabled }), h = ML({...e,id: void 0,children: n.rendered,@@ -40147,7 +40147,7 @@ var Mz = /*#__PURE__*/ fw(sae, jz), Nz = /*#__PURE__*/ (0, F.createContext)(nullhasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? BL.a : BL.div, _ = Kw(e, { global: !0 });+ }), g = e.href ? RL.a : RL.div, _ = Kw(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(g, {...K(_, h, c, p),ref: a,@@ -40160,19 +40160,19 @@ var Mz = /*#__PURE__*/ fw(sae, jz), Nz = /*#__PURE__*/ (0, F.createContext)(null"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,"data-has-submenu": !!e["aria-haspopup"] || void 0,"data-open": e["aria-expanded"] === "true" || void 0- }, /*#__PURE__*/ F.createElement(NL, { values: [- [eR, { slots: {- [ML]: l,+ }, /*#__PURE__*/ F.createElement(jL, { values: [+ [QL, { slots: {+ [AL]: l,label: l,description: u} }],- [eme, d],- [tz, { isSelected: f.isSelected }]+ [nme, d],+ [$R, { isSelected: f.isSelected }]] }, h.children));});-dw(mS, function(e, t, n) {- let r = (0, F.useContext)(Oz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);- mz((0, F.useMemo)(() => ({+fw(hS, function(e, t, n) {+ let r = (0, F.useContext)(Ez), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);+ fz((0, F.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -40182,7 +40182,7 @@ dw(mS, function(e, t, n) {o,r?.collection]), c);- let l = PL({+ let l = ML({...s,id: void 0,children: n.rendered,@@ -40195,7 +40195,7 @@ dw(mS, function(e, t, n) {width: 0,height: 0},- inert: rz(!0)+ inert: tz(!0)}, /*#__PURE__*/ F.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -40204,7 +40204,7 @@ dw(mS, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(BL.div, {+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(RL.div, {...K(Kw(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",@@ -40212,81 +40212,81 @@ dw(mS, function(e, t, n) {}, l.children)));});// node_modules/react-aria-components/dist/private/Dialog.mjs-var Fz = /*#__PURE__*/ (0, F.createContext)(null), Iz = /*#__PURE__*/ (0, F.createContext)(null), Lz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+var Nz = /*#__PURE__*/ (0, F.createContext)(null), Pz = /*#__PURE__*/ (0, F.createContext)(null), Fz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = IL(e, t, Fz);+ [e, t] = PL(e, t, Nz);let { dialogProps: r, titleProps: i, contentProps: a } = Dse({...e,"aria-labelledby": n- }, t), o = (0, F.useContext)(Iz);+ }, t), o = (0, F.useContext)(Pz);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = PL({+ let s = ML({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }}), c = Kw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(BL.section, {+ return /*#__PURE__*/ F.createElement(RL.section, {...K(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ F.createElement(NL, { values: [- [QL, { slots: {- [ML]: {},+ }, /*#__PURE__*/ F.createElement(jL, { values: [+ [XL, { slots: {+ [AL]: {},title: {...i,level: 2}} }],- [eR, { slots: {- [ML]: {},+ [QL, { slots: {+ [AL]: {},description: a} }],- [XL, { slots: {- [ML]: {},+ [JL, { slots: {+ [AL]: {},close: { onPress: () => o?.close() }} }]] }, s.children));-}), Rz = typeof document < "u" && window.visualViewport;-function cme() {- let e = lC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {+}), Iz = typeof document < "u" && window.visualViewport;+function ume() {+ let e = uC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {width: 0,height: 0- } : zz());+ } : Lz());return (0, F.useEffect)(() => {let e = (e) => {r((t) => e.width === t.width && e.height === t.height ? t : e);}, n = () => {- Rz && Rz.scale > 1 || e(zz());+ Iz && Iz.scale > 1 || e(Lz());}, i = (n) => {- Rz && Rz.scale > 1 || Ew(G(n)) && (t.current = Ck((t) => {+ Iz && Iz.scale > 1 || Dw(G(n)) && (t.current = Ck((t) => {t || e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(zz()), JS() && YS() && window.addEventListener("blur", i, !0), Rz ? Rz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {- t.current?.(), JS() && YS() && window.removeEventListener("blur", i, !0), Rz ? Rz.removeEventListener("resize", n) : window.removeEventListener("resize", n);+ return e(Lz()), YS() && XS() && window.addEventListener("blur", i, !0), Iz ? Iz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {+ t.current?.(), YS() && XS() && window.removeEventListener("blur", i, !0), Iz ? Iz.removeEventListener("resize", n) : window.removeEventListener("resize", n);};}, []), n;}-function zz() {+function Lz() {return {- width: Rz ? Math.min(Rz.width * Rz.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: Rz ? Rz.height * Rz.scale : document.documentElement.clientHeight+ width: Iz ? Math.min(Iz.width * Iz.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: Iz ? Iz.height * Iz.scale : document.documentElement.clientHeight};}// node_modules/react-aria-components/dist/private/Modal.mjs-var lme = /*#__PURE__*/ (0, F.createContext)(null), Bz = /*#__PURE__*/ (0, F.createContext)(null), ume = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- if ((0, F.useContext)(Bz)) return /*#__PURE__*/ F.createElement(Hz, {+var dme = /*#__PURE__*/ (0, F.createContext)(null), Rz = /*#__PURE__*/ (0, F.createContext)(null), fme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ if ((0, F.useContext)(Rz)) return /*#__PURE__*/ F.createElement(Bz, {...e,modalRef: t}, e.children);let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;- return /*#__PURE__*/ F.createElement(Vz, {+ return /*#__PURE__*/ F.createElement(zz, {isDismissable: n,isKeyboardDismissDisabled: r,isOpen: i,@@ -40296,15 +40296,15 @@ var lme = /*#__PURE__*/ (0, F.createContext)(null), Bz = /*#__PURE__*/ (0, F.creisExiting: l,UNSTABLE_portalContainer: u,shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ F.createElement(Hz, {+ }, /*#__PURE__*/ F.createElement(Bz, {...f,modalRef: t}, s));});-function dme(e, t) {- [e, t] = IL(e, t, lme);- let n = (0, F.useContext)(Iz), r = vz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = QC(t), o = (0, F.useRef)(null), s = bz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = bz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = lC();- return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(fme, {+function pme(e, t) {+ [e, t] = PL(e, t, dme);+ let n = (0, F.useContext)(Pz), r = gz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = $C(t), o = (0, F.useRef)(null), s = vz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = vz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = uC();+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(mme, {...e,state: i,isExiting: u,@@ -40313,12 +40313,12 @@ function dme(e, t) {onExitRef: c});}-var Vz = /*#__PURE__*/ (0, F.forwardRef)(dme);-function fme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {- let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = yz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = nce({+var zz = /*#__PURE__*/ (0, F.forwardRef)(pme);+function mme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {+ let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = _z(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = nce({...n,isEntering: c- }, i, r), d = (0, F.useContext)(Fz), f = t ? pme(d, { isEntering: c }) : d, p = PL({+ }, i, r), d = (0, F.useContext)(Nz), f = t ? hme(d, { isEntering: c }) : d, p = ML({...n,defaultClassName: "react-aria-ModalOverlay",values: {@@ -40326,7 +40326,7 @@ function fme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisExiting: n.isExiting,state: i}- }), m = cme(), h, g;+ }), m = ume(), h, g;if (typeof document < "u") {let e = FT(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;@@ -40338,18 +40338,18 @@ function fme({ 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 RS(() => Ck(() => o(!0)), []), /*#__PURE__*/ F.createElement(AD, {+ return zS(() => Ck(() => o(!0)), []), /*#__PURE__*/ F.createElement(AD, {isExiting: n.isExiting,portalContainer: e- }, /*#__PURE__*/ F.createElement(BL.div, {+ }, /*#__PURE__*/ F.createElement(RL.div, {...K(Kw(n, { global: !0 }), u),...p,style: _,ref: n.overlayRef,"data-entering": s || void 0,"data-exiting": n.isExiting || void 0- }, /*#__PURE__*/ F.createElement(NL, { values: [- [Bz, {+ }, /*#__PURE__*/ F.createElement(jL, { values: [+ [Rz, {modalProps: l,modalRef: r,isExiting: n.isExiting,@@ -40357,11 +40357,11 @@ function fme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisOpen: a,isDismissable: n.isDismissable}],- [Iz, i],- [Fz, f]+ [Pz, i],+ [Nz, f]] }, p.children)));}-function pme(e, t) {+function hme(e, t) {if (e && "slots" in e && e.slots) {let n = {};for (let r in e.slots) n[r] = {@@ -40378,8 +40378,8 @@ function pme(e, t) {...t};}-function Hz(e) {- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(Bz), s = (0, F.useContext)(Iz), c = QC((0, F.useMemo)(() => UC(e.modalRef, n), [e.modalRef, n])), l = yz(c, o, e.onEnter), u = PL({+function Bz(e) {+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(Rz), s = (0, F.useContext)(Pz), c = $C((0, F.useMemo)(() => WC(e.modalRef, n), [e.modalRef, n])), l = _z(c, o, e.onEnter), u = ML({...e,defaultClassName: "react-aria-Modal",values: {@@ -40388,9 +40388,9 @@ function Hz(e) {state: s}});- return RS(() => {+ return zS(() => {i && (i.current = e.onExit);- }), /*#__PURE__*/ F.createElement(BL.div, {+ }), /*#__PURE__*/ F.createElement(RL.div, {...K(Kw(e, { global: !0 }), t),...u,ref: c,@@ -40399,9 +40399,9 @@ function Hz(e) {}, a && /*#__PURE__*/ F.createElement(gk, { onDismiss: s.close }), u.children);}// node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs-var mme = Math.round(Math.random() * 1e10), hme = 0;-function gme(e) {- let t = (0, F.useMemo)(() => e.name || `radio-group-${mme}-${++hme}`, [e.name]), [n, r] = iE(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = YT({+var gme = Math.round(Math.random() * 1e10), _me = 0;+function vme(e) {+ let t = (0, F.useMemo)(() => e.name || `radio-group-${gme}-${++_me}`, [e.name]), [n, r] = iE(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = YT({...e,value: n}), c = (t) => {@@ -40423,16 +40423,16 @@ function gme(e) {};}// node_modules/react-aria-components/dist/private/RadioGroup.mjs-var _me = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ (0, F.createContext)(null), Uz = /*#__PURE__*/ (0, F.createContext)(null), Wz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = IL(e, t, _me);- let { validationBehavior: n } = FL(nR) || {}, r = e.validationBehavior ?? n ?? "native", i = gme({+var yme = /*#__PURE__*/ (0, F.createContext)(null), bme = /*#__PURE__*/ (0, F.createContext)(null), Vz = /*#__PURE__*/ (0, F.createContext)(null), Hz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = PL(e, t, yme);+ let { validationBehavior: n } = NL(eR) || {}, r = e.validationBehavior ?? n ?? "native", i = vme({...e,validationBehavior: r- }), [a, o] = LL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = mce({+ }), [a, o] = FL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = mce({...e,label: o,validationBehavior: r- }, i), f = PL({+ }, i), f = ML({...e,values: {orientation: e.orientation || "vertical",@@ -40444,7 +40444,7 @@ var _me = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ (0, F.cr},defaultClassName: "react-aria-RadioGroup"}), p = Kw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(BL.div, {+ return /*#__PURE__*/ F.createElement(RL.div, {...K(p, f, s),ref: t,slot: e.slot || void 0,@@ -40453,39 +40453,39 @@ var _me = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ (0, F.cr"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ F.createElement(NL, { values: [- [Uz, i],- [JL, {+ }, /*#__PURE__*/ F.createElement(jL, { values: [+ [Vz, i],+ [KL, {...c,ref: a,elementType: "span"}],- [eR, { slots: {+ [QL, { slots: {description: l,errorMessage: u} }],- [tR, d]- ] }, /*#__PURE__*/ F.createElement(ez, null, f.children)));-}), Gz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [$L, d]+ ] }, /*#__PURE__*/ F.createElement(QR, null, f.children)));+}), Uz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = IL(r, t, vme);- let i = F.useContext(Uz), a = QC((0, F.useMemo)(() => UC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = pce({- ...RL(e),+ [e, t] = PL(r, t, bme);+ let i = F.useContext(Vz), a = $C((0, F.useMemo)(() => WC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = pce({+ ...IL(e),children: typeof e.children == "function" || e.children}, i, a);- return /*#__PURE__*/ F.createElement(Kz.Provider, { value: {+ return /*#__PURE__*/ F.createElement(Wz.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ F.createElement(yme, {+ } }, /*#__PURE__*/ F.createElement(xme, {...e,ref: t}));-}), Kz = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(Kz), l = F.useContext(Uz), { isFocused: u, isFocusVisible: d, focusProps: f } = MD(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = ID({+}), Wz = /*#__PURE__*/ (0, F.createContext)(null), xme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(Wz), l = F.useContext(Vz), { isFocused: u, isFocusVisible: d, focusProps: f } = MD(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = ID({...e,isDisabled: p- }), g = PL({+ }), g = ML({...e,defaultClassName: s,values: {@@ -40500,7 +40500,7 @@ var _me = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ (0, F.crisRequired: l.isRequired}}), _ = Kw(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(BL.label, {+ return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(RL.label, {...K(_, n, m, g),ref: t,"data-selected": i || void 0,@@ -40518,8 +40518,8 @@ var _me = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ (0, F.cr})), g.children);});// node_modules/react-stately/dist/private/select/useSelectState.mjs-function bme(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = vz(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+function Sme(e) {+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = gz(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t@@ -40535,12 +40535,12 @@ function bme(e) {let e = [];Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);}- }, d = fz({+ }, d = uz({...e,selectionMode: t,disallowEmptySelection: t === "single",allowDuplicateSelectionEvents: !0,- selectedKeys: (0, F.useMemo)(() => xme(l), [l]),+ selectedKeys: (0, F.useMemo)(() => Cme(l), [l]),onSelectionChange: (e) => {if (e !== "all") {if (t === "single") {@@ -40577,15 +40577,15 @@ function bme(e) {setFocused: g};}-function xme(e) {+function Cme(e) {if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];}// node_modules/react-aria-components/dist/private/Select.mjs-function Sme(e) {+function wme(e) {return e && e.__esModule ? e.default : e;}-var qz = /*#__PURE__*/ (0, F.createContext)(null), Jz = /*#__PURE__*/ (0, F.createContext)(null), Cme = /*#__PURE__*/ rw(function(e, t) {- [e, t] = IL(e, t, qz);+var Gz = /*#__PURE__*/ (0, F.createContext)(null), Kz = /*#__PURE__*/ (0, F.createContext)(null), Tme = /*#__PURE__*/ iw(function(e, t) {+ [e, t] = PL(e, t, Gz);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, F.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -40600,24 +40600,24 @@ var qz = /*#__PURE__*/ (0, F.createContext)(null), Jz = /*#__PURE__*/ (0, F.creai,a]);- return /*#__PURE__*/ F.createElement(cw, { content: o }, (n) => /*#__PURE__*/ F.createElement(Tme, {+ return /*#__PURE__*/ F.createElement(lw, { content: o }, (n) => /*#__PURE__*/ F.createElement(Dme, {props: e,collection: n,selectRef: t}));-}), wme = [+}), Eme = [+ KL,JL,- XL,- eR+ QL];-function Tme({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = FL(nR) || {}, i = e.validationBehavior ?? r ?? "native", a = bme({+function Dme({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = NL(eR) || {}, i = e.validationBehavior ?? r ?? "native", a = Sme({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = MD({ within: !0 }), c = (0, F.useRef)(null), [l, u] = LL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = hce({- ...RL(e),+ }), { isFocusVisible: o, focusProps: s } = MD({ within: !0 }), c = (0, F.useRef)(null), [l, u] = FL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = hce({+ ...IL(e),label: u,validationBehavior: i}, a, c), y = (0, F.useMemo)(() => ({@@ -40634,48 +40634,48 @@ function Tme({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), b = PL({+ ]), b = ML({...e,values: y,defaultClassName: "react-aria-Select"}), x = Kw(e, { global: !0 });delete x.id;let S = (0, F.useRef)(null);- return /*#__PURE__*/ F.createElement(NL, { values: [- [qz, e],- [Jz, a],- [Yz, p],- [JL, {+ return /*#__PURE__*/ F.createElement(jL, { values: [+ [Gz, e],+ [Kz, a],+ [qz, p],+ [KL, {...d,ref: l,elementType: "span"}],- [XL, {+ [JL, {...f,ref: c,isPressed: a.isOpen,autoFocus: e.autoFocus}],- [Iz, a],- [Sz, {+ [Pz, a],+ [bz, {trigger: "Select",triggerRef: c,scrollRef: S,placement: "bottom start","aria-labelledby": m["aria-labelledby"],- clearContexts: wme+ clearContexts: Eme}],- [hz, {+ [pz, {...m,ref: S}],- [gz, a],- [eR, { slots: {+ [mz, a],+ [QL, { slots: {description: h,errorMessage: g} }],- [tR, v]- ] }, /*#__PURE__*/ F.createElement(BL.div, {+ [$L, v]+ ] }, /*#__PURE__*/ F.createElement(RL.div, {...K(x, b, s),ref: t,slot: e.slot || void 0,@@ -40690,9 +40690,9 @@ function Tme({ props: e, selectRef: t, collection: n }) {autoComplete: e.autoComplete})));}-for (var Yz = /*#__PURE__*/ (0, F.createContext)(null), Eme = /*#__PURE__*/ rw(function(e, t) {- [e, t] = IL(e, t, Yz);- let n = (0, F.useContext)(Jz), { placeholder: r } = FL(qz), i = n.selectedItems.map((e) => {+for (var qz = /*#__PURE__*/ (0, F.createContext)(null), Ome = /*#__PURE__*/ iw(function(e, t) {+ [e, t] = PL(e, t, qz);+ let n = (0, F.useContext)(Kz), { placeholder: r } = NL(Gz), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -40719,7 +40719,7 @@ for (var Yz = /*#__PURE__*/ (0, F.createContext)(null), Eme = /*#__PURE__*/ rw(fa,o,i- ]), u = Uw(Sme(JR), "react-aria-components"), d = PL({+ ]), u = Ww(wme(KR), "react-aria-components"), d = ML({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -40731,32 +40731,32 @@ for (var Yz = /*#__PURE__*/ (0, F.createContext)(null), Eme = /*#__PURE__*/ rw(fstate: n}}), f = Kw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(BL.span, {+ return /*#__PURE__*/ F.createElement(RL.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ F.createElement(eR.Provider, { value: void 0 }, d.children));-}), Dme = /*#__PURE__*/ (0, F.createContext)(null), Xz = /*#__PURE__*/ (0, F.createContext)(null), Ome = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ F.createElement(QL.Provider, { value: void 0 }, d.children));+}), kme = /*#__PURE__*/ (0, F.createContext)(null), Jz = /*#__PURE__*/ (0, F.createContext)(null), Ame = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = IL(r, t, Dme);- let i = QC((0, F.useMemo)(() => UC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = aE(e), o = yce({- ...RL(e),+ [e, t] = PL(r, t, kme);+ let i = $C((0, F.useMemo)(() => WC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = aE(e), o = yce({+ ...IL(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ F.createElement(NL, { values: [[Xz, a], [Zz, {+ return /*#__PURE__*/ F.createElement(jL, { values: [[Jz, a], [Yz, {...o,inputRef: i,defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ F.createElement(kme, {+ }]] }, /*#__PURE__*/ F.createElement(jme, {...e,ref: t}));-}), Zz = /*#__PURE__*/ (0, F.createContext)(null), kme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, F.useContext)(Zz), { isFocused: f, isFocusVisible: p, focusProps: m } = MD(), h = a || o, g = (0, F.useContext)(Xz), { hoverProps: _, isHovered: v } = ID({+}), Yz = /*#__PURE__*/ (0, F.createContext)(null), jme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, F.useContext)(Yz), { isFocused: f, isFocusVisible: p, focusProps: m } = MD(), h = a || o, g = (0, F.useContext)(Jz), { hoverProps: _, isHovered: v } = ID({...e,isDisabled: h- }), y = PL({+ }), y = ML({...e,defaultClassName: u,values: {@@ -40772,7 +40772,7 @@ for (var Yz = /*#__PURE__*/ (0, F.createContext)(null), Eme = /*#__PURE__*/ rw(fstate: g}}), b = Kw(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(BL.label, {+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(RL.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -40789,7 +40789,7 @@ for (var Yz = /*#__PURE__*/ (0, F.createContext)(null), Eme = /*#__PURE__*/ rw(f...K(r, m),ref: l})), y.children);-}), Qz = 10, $z = 5, eB = class {+}), Xz = 10, Zz = 5, Qz = class {setup(e, t, n) {this.delegate = e, this.state = t, this.direction = n;}@@ -40799,7 +40799,7 @@ for (var Yz = /*#__PURE__*/ (0, F.createContext)(null), Eme = /*#__PURE__*/ rw(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) > $z && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > Qz && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ if (Math.abs(a) > Zz && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > Xz && (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);@@ -40878,11 +40878,11 @@ for (var Yz = /*#__PURE__*/ (0, F.createContext)(null), Eme = /*#__PURE__*/ rw(flastSwitchX: n});let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);- if (Math.abs(r - c.lastSwitchY) > $z && i) {+ if (Math.abs(r - c.lastSwitchY) > Zz && 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 > Qz && a) {+ if (l > Xz && 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;}@@ -40897,7 +40897,7 @@ for (var Yz = /*#__PURE__*/ (0, F.createContext)(null), Eme = /*#__PURE__*/ rw(fboundaryContext: null};}-}, Ame = class {+}, Mme = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];let t = (r) => {@@ -40967,8 +40967,8 @@ for (var Yz = /*#__PURE__*/ (0, F.createContext)(null), Eme = /*#__PURE__*/ rw(fgetChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, tB = "row-header-column-" + Math.random().toString(36).slice(2), nB = "row-header-column-" + Math.random().toString(36).slice(2); tB === nB;) nB = "row-header-column-" + Math.random().toString(36).slice(2);-function rB(e, t) {+}, $z = "row-header-column-" + Math.random().toString(36).slice(2), eB = "row-header-column-" + Math.random().toString(36).slice(2); $z === eB;) eB = "row-header-column-" + Math.random().toString(36).slice(2);+function tB(e, t) {if (t.length === 0) return [];let n = [], r = /* @__PURE__ */ new Map();for (let i of t) {@@ -41052,13 +41052,13 @@ function rB(e, t) {textValue: ""}));}-var jme = class extends Ame {+var Nme = class extends Mme {constructor(e, t, n) {let r = /* @__PURE__ */ new Set(), i = null, a = [];if (n?.showSelectionCheckboxes) {let e = {type: "column",- key: tB,+ key: $z,value: null,textValue: "",level: 0,@@ -41073,7 +41073,7 @@ var jme = class extends Ame {if (n?.showDragButtons) {let e = {type: "column",- key: nB,+ key: eB,value: null,textValue: "",level: 0,@@ -41100,7 +41100,7 @@ var jme = class extends Ame {for (let t of e.childNodes) c(t);};for (let t of e) c(t);- let l = rB(s, a);+ let l = tB(s, a);if (l.forEach((e, t) => o.splice(t, 0, e)), super({columnCount: a.length,items: o,@@ -41160,15 +41160,15 @@ var jme = class extends Ame {}};// node_modules/react-stately/dist/private/table/TableUtils.mjs-function Mme(e) {+function Pme(e) {return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);}-function Nme(e) {+function Fme(e) {if (!e || typeof e == "number") return 1;let t = e.match(/^(.+)(?=fr$)/);return t ? parseFloat(t[0]) : 1;}-function iB(e, t) {+function nB(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");@@ -41176,19 +41176,19 @@ function iB(e, t) {}return e;}-function aB(e, t) {- return e == null ? 2 ** 53 - 1 : iB(e, t);+function rB(e, t) {+ return e == null ? 2 ** 53 - 1 : nB(e, t);}-function oB(e, t) {- return e == null ? 0 : iB(e, t);+function iB(e, t) {+ return e == null ? 0 : nB(e, t);}-function Pme(e, t, n, r, i) {+function Ime(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;- Mme(o) ? (l = iB(o, e), s = !0) : (u = Nme(o), u <= 0 && (s = !0));- let f = oB(t.minWidth ?? i?.(a) ?? 0, e), p = aB(t.maxWidth, e), m = Math.max(f, Math.min(l, p));+ Pme(o) ? (l = nB(o, e), s = !0) : (u = Fme(o), u <= 0 && (s = !0));+ let f = iB(t.minWidth ?? i?.(a) ?? 0, e), p = rB(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,@@ -41222,14 +41222,14 @@ function Pme(e, t, n, r, i) {i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);});}- let u = Fme(l);+ let u = Lme(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 Fme(e) {+function Lme(e) {let t = 0, n = 0, r = [];return e.forEach(function(e) {let i = e.targetMainSize, a = Math.round(i + t) - n;@@ -41237,7 +41237,7 @@ function Fme(e) {}), r;}// node_modules/react-stately/dist/private/table/TableColumnLayout.mjs-var Ime = class {+var Rme = 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);}@@ -41266,18 +41266,18 @@ var Ime = class {}), o;}buildColumnWidths(e, t, n) {- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Pme(e, t.columns.map((e) => ({+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Ime(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, oB(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, aB(a.props.maxWidth, e));+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, iB(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, rB(a.props.maxWidth, e));}), this.columnWidths;}};// node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs-function Lme(e, t) {- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, F.useState)(null), s = (0, F.useMemo)(() => new Ime({+function zme(e, t) {+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, F.useState)(null), s = (0, F.useMemo)(() => new Rme({getDefaultWidth: n,getDefaultMinWidth: r}), [n, r]), [c, l] = (0, F.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, F.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, F.useState)(t.collection.columns);@@ -41328,8 +41328,8 @@ function Lme(e, t) {]);}// node_modules/react-stately/dist/private/grid/useGridState.mjs-function Rme(e) {- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || oz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+function Bme(e) {+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || iz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;r.setFocusedKey = (e, r) => {if (n === "cell" && e != null) {let n = t.getItem(e);@@ -41340,7 +41340,7 @@ function Rme(e) {}a(e, r);};- let o = (0, F.useMemo)(() => new cz(t, r), [t, r]), s = (0, F.useRef)(null);+ let o = (0, F.useMemo)(() => new oz(t, r), [t, r]), s = (0, F.useRef)(null);return (0, F.useEffect)(() => {if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;@@ -41378,11 +41378,11 @@ function Rme(e) {};}// node_modules/react-stately/dist/private/table/useTableState.mjs-var zme = {+var Vme = {ascending: "descending",descending: "ascending"};-function Bme(e) {+function Hme(e) {let [t, n] = (0, F.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, F.useMemo)(() => ({showSelectionCheckboxes: i && r !== "none",showDragButtons: a,@@ -41393,7 +41393,7 @@ function Bme(e) {i,r,a- ]), c = dz(e, (0, F.useCallback)((e) => new jme(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Rme({+ ]), c = lz(e, (0, F.useCallback)((e) => new Nme(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Bme({...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"@@ -41409,7 +41409,7 @@ function Bme(e) {sort(t, n) {e.onSortChange?.({column: t,- direction: n ?? (e.sortDescriptor?.column === t ? zme[e.sortDescriptor.direction] : "ascending")+ direction: n ?? (e.sortDescriptor?.column === t ? Vme[e.sortDescriptor.direction] : "ascending")});},expandedKeys: d,@@ -41422,7 +41422,7 @@ function Bme(e) {treeColumn: o};}-function Vme(e, t) {+function Ume(e, t) {let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);return {...e,@@ -41431,10 +41431,10 @@ function Vme(e, t) {};}// node_modules/react-aria-components/dist/private/Table.mjs-function Hme(e) {+function Wme(e) {return e && e.__esModule ? e.default : e;}-var Ume = class extends gS {+var Gme = class extends _S {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -41449,7 +41449,7 @@ var Ume = class extends gS {}get body() {for (let e of this) if (e.type === "tablebody") return e;- return new hB(-2);+ return new pB(-2);}commit(e, t, n = !1) {this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];@@ -41475,7 +41475,7 @@ var Ume = class extends gS {for (let t of this.getChildren(e.key)) n(t);};for (let e of this.getChildren(this.head.key)) n(e);- if (this.headerRows = rB(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 = tB(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;@@ -41556,11 +41556,11 @@ var Ume = class extends gS {return r.join(" ");}constructor(...e) {- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new dB(-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 lB(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}-}, sB = /*#__PURE__*/ (0, F.createContext)(null), Wme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let n = QC(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);- RS(() => {+}, aB = /*#__PURE__*/ (0, F.createContext)(null), Kme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let n = $C(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);+ zS(() => {let e = r.current;for (; e && e !== n.current && !FT(e);) e = e.parentElement;i.current = e;@@ -41570,14 +41570,14 @@ var Ume = class extends gS {onResize() {o(i.current?.clientWidth ?? 0);}- }), RS(() => {+ }), zS(() => {o(i.current?.clientWidth ?? 0);}, []);let s = (0, F.useMemo)(() => ({tableRef: r,scrollRef: i,tableWidth: a,- useTableColumnResizeState: Lme,+ useTableColumnResizeState: zme,onResizeStart: e.onResizeStart,onResize: e.onResize,onResizeEnd: e.onResizeEnd@@ -41588,17 +41588,17 @@ var Ume = class extends gS {e.onResize,e.onResizeEnd]);- return /*#__PURE__*/ F.createElement(BL.div, {+ return /*#__PURE__*/ F.createElement(RL.div, {render: e.render,...Kw(e, { global: !0 }),ref: n,className: e.className || "react-aria-ResizableTableContainer",style: e.style,onScroll: e.onScroll- }, /*#__PURE__*/ F.createElement(sB.Provider, { value: s }, e.children));-}), Gme = /*#__PURE__*/ (0, F.createContext)(null), cB = /*#__PURE__*/ (0, F.createContext)(null), lB = /*#__PURE__*/ (0, F.createContext)(null), Kme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = IL(e, t, Gme);- let n = oz(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({+ }, /*#__PURE__*/ F.createElement(aB.Provider, { value: s }, e.children));+}), qme = /*#__PURE__*/ (0, F.createContext)(null), oB = /*#__PURE__*/ (0, F.createContext)(null), sB = /*#__PURE__*/ (0, F.createContext)(null), Jme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = PL(e, t, qme);+ let n = iz(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({selectionBehavior: i === "none" ? null : r,selectionMode: i,disallowEmptySelection: a,@@ -41608,26 +41608,26 @@ var Ume = class extends gS {i,a,o- ]), c = /*#__PURE__*/ F.createElement(Yme.Provider, { value: s }, /*#__PURE__*/ F.createElement(hw, e));- return /*#__PURE__*/ F.createElement(cw, {+ ]), c = /*#__PURE__*/ F.createElement(Zme.Provider, { value: s }, /*#__PURE__*/ F.createElement(gw, e));+ return /*#__PURE__*/ F.createElement(lw, {content: c,- createCollection: () => new Ume()- }, (r) => /*#__PURE__*/ F.createElement(Jme, {+ createCollection: () => new Gme()+ }, (r) => /*#__PURE__*/ F.createElement(Xme, {props: e,forwardedRef: t,selectionState: n,collection: r}));-}), qme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(KL);- return n ? /*#__PURE__*/ F.createElement(BL.div, {+}), Yme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(WL);+ return n ? /*#__PURE__*/ F.createElement(RL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(BL.table, {+ }) : /*#__PURE__*/ F.createElement(RL.table, {...e,ref: t});-}), uB = {+}), cB = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -41637,26 +41637,26 @@ var Ume = class extends gS {rtl: "ArrowRight"}};-function Jme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = IL(e, t, VL);- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(sB);- t = QC((0, F.useMemo)(() => UC(t, c?.tableRef), [t, c?.tableRef]));+function Xme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {+ [e, t] = PL(e, t, zL);+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(aB);+ t = $C((0, F.useMemo)(() => WC(t, c?.tableRef), [t, c?.tableRef]));let [l, u] = iE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, F.useMemo)(() => r.withExpandedKeys(l), [r, l]);- let d = Bme({+ let d = Hme({...s,collection: r,children: void 0,UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = Vme(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(KL), { dragAndDropHooks: _ } = e, { gridProps: v } = wce({+ }), f = Ume(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(WL), { dragAndDropHooks: _ } = e, { gridProps: v } = wce({...s,layoutDelegate: m,isVirtualized: p}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;(0, F.useRef)(b), (0, F.useRef)(x), (0, F.useEffect)(() => {}, [b, x]);- let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Lw(), [k] = (0, F.useState)(() => new eB());+ let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Rw(), [k] = (0, F.useState)(() => new Qz());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -41691,12 +41691,12 @@ function Jme({ 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 === uB.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === uB.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ (e.key === cB.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === cB.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 } = MD(), ee = PL({+ let { focusProps: A, isFocused: j, isFocusVisible: M } = MD(), ee = ML({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -41713,18 +41713,18 @@ function Jme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {width: "min-content"}));let ne = Kw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(NL, { values: [- [cB, f],- [lB, P],- [YR, {+ return /*#__PURE__*/ F.createElement(jL, { values: [+ [oB, f],+ [sB, P],+ [qR, {dragAndDropHooks: _,dragState: S,dropState: C}],- [XR, { render: ahe }],- [VL, null],- [HL, null]- ] }, /*#__PURE__*/ F.createElement(gT, null, /*#__PURE__*/ F.createElement(qme, {+ [JR, { render: she }],+ [zL, null],+ [BL, null]+ ] }, /*#__PURE__*/ F.createElement(gT, null, /*#__PURE__*/ F.createElement(Yme, {...K(ne, ee, v, A, w?.collectionProps),style: te,ref: t,@@ -41734,31 +41734,31 @@ function Jme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {"data-drop-target": T || void 0,"data-focused": j || void 0,"data-focus-visible": M || void 0- }, /*#__PURE__*/ F.createElement(ez, null, /*#__PURE__*/ F.createElement(g, {+ }, /*#__PURE__*/ F.createElement(QR, null, /*#__PURE__*/ F.createElement(g, {collection: f.collection,scrollRef: c?.scrollRef ?? t,- persistedKeys: QR(y, _, C)+ persistedKeys: XR(y, _, C)})))), E);}-var Yme = /*#__PURE__*/ (0, F.createContext)(null), dB = class extends fS {+var Zme = /*#__PURE__*/ (0, F.createContext)(null), lB = class extends pS {static {this.type = "tableheader";}-}, Xme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(KL);- return n ? /*#__PURE__*/ F.createElement(BL.div, {+}, Qme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(WL);+ return n ? /*#__PURE__*/ F.createElement(RL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(BL.thead, {+ }) : /*#__PURE__*/ F.createElement(RL.thead, {...e,ref: t});-}), fB = /*#__PURE__*/ fw(dB, (e, t) => {- let n = (0, F.useContext)(cB).collection, r = bS({+}), uB = /*#__PURE__*/ pw(lB, (e, t) => {+ let n = (0, F.useContext)(oB).collection, r = xS({items: n.headerRows,children: (0, F.useCallback)((e) => {switch (e.type) {- case "headerrow": return /*#__PURE__*/ F.createElement(Qme, { item: e });+ case "headerrow": return /*#__PURE__*/ F.createElement(ehe, { item: e });default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])@@ -41766,23 +41766,23 @@ var Yme = /*#__PURE__*/ (0, F.createContext)(null), dB = class extends fS {onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), s = PL({+ }), s = ML({...e,children: void 0,defaultClassName: "react-aria-TableHeader",values: { isHovered: o }});- return /*#__PURE__*/ F.createElement(Xme, {+ return /*#__PURE__*/ F.createElement(Qme, {...K(Kw(e, { global: !0 }), i, a),...s,ref: t,"data-hovered": o || void 0}, r);-}, (e) => /*#__PURE__*/ F.createElement(hw, {+}, (e) => /*#__PURE__*/ F.createElement(gw, {dependencies: e.dependencies,items: e.columns-}, e.children)), Zme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(KL);+}, e.children)), $me = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(WL);return n ? /*#__PURE__*/ F.createElement("div", {...e,ref: t@@ -41791,41 +41791,41 @@ var Yme = /*#__PURE__*/ (0, F.createContext)(null), dB = class extends fS {ref: t});});-function Qme({ item: e }) {- let t = (0, F.useRef)(null), n = (0, F.useContext)(cB), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(KL), { rowProps: a } = Ace({+function ehe({ item: e }) {+ let t = (0, F.useRef)(null), n = (0, F.useContext)(oB), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(WL), { rowProps: a } = Ace({node: e,isVirtualized: r}, n, t), { checkboxProps: o } = Lce(n);- return /*#__PURE__*/ F.createElement(Zme, {+ return /*#__PURE__*/ F.createElement($me, {...a,ref: t- }, /*#__PURE__*/ F.createElement(NL, { values: [[rR, { slots: { selection: o } }], [iR, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {+ }, /*#__PURE__*/ F.createElement(jL, { values: [[tR, { slots: { selection: o } }], [nR, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {collection: n.collection,parent: e})));}-var $me = class extends fS {+var the = class extends pS {static {this.type = "column";}-}, ehe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(KL);- return n ? /*#__PURE__*/ F.createElement(BL.div, {+}, nhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(WL);+ return n ? /*#__PURE__*/ F.createElement(RL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(BL.th, {+ }) : /*#__PURE__*/ F.createElement(RL.th, {...e,ref: t});-}), pB = /*#__PURE__*/ dw($me, (e, t, n) => {- let r = QC(t), i = (0, F.useContext)(cB), { isVirtualized: a } = (0, F.useContext)(KL), { columnHeaderProps: o, isPressed: s } = Dce({+}), dB = /*#__PURE__*/ fw(the, (e, t, n) => {+ let r = $C(t), i = (0, F.useContext)(oB), { isVirtualized: a } = (0, F.useContext)(WL), { columnHeaderProps: o, isPressed: s } = Dce({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = MD(), d = (0, F.useContext)(lB), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = MD(), d = (0, F.useContext)(sB), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = ID({ isDisabled: !e.allowsSorting }), h = PL({+ let { hoverProps: p, isHovered: m } = ID({ isDisabled: !e.allowsSorting }), h = ML({...e,id: void 0,children: n.rendered,@@ -41852,7 +41852,7 @@ var $me = class extends fS {width: d.getColumnWidth(n.key)});let _ = Kw(e, { global: !0 });- return delete _.id, /*#__PURE__*/ F.createElement(ehe, {+ return delete _.id, /*#__PURE__*/ F.createElement(nhe, {...K(_, o, u, p),...h,style: g,@@ -41864,29 +41864,29 @@ var $me = class extends fS {"data-resizing": f || void 0,"data-allows-sorting": n.props.allowsSorting || void 0,"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0- }, /*#__PURE__*/ F.createElement(NL, { values: [[mB, {+ }, /*#__PURE__*/ F.createElement(jL, { values: [[fB, {column: n,triggerRef: r- }], [KL, WL]] }, h.children));-}), mB = /*#__PURE__*/ (0, F.createContext)(null), the = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let n = (0, F.useContext)(lB);+ }], [WL, HL]] }, h.children));+}), fB = /*#__PURE__*/ (0, F.createContext)(null), rhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let n = (0, F.useContext)(sB);if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");- let r = Uw(Hme(JR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(sB), { column: s, triggerRef: c } = (0, F.useContext)(mB), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = kce({+ let r = Ww(Wme(KR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(aB), { column: s, triggerRef: c } = (0, F.useContext)(fB), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = kce({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 } = MD(), { hoverProps: _, isHovered: v } = ID(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Lw(), S = "both";+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = MD(), { hoverProps: _, isHovered: v } = ID(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Rw(), S = "both";S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";- let C = QC(t), [w, T] = (0, F.useState)("");+ let C = $C(t), [w, T] = (0, F.useState)("");(0, F.useEffect)(() => {if (!C.current) return;let e = window.getComputedStyle(C.current);T(e.cursor);}, [C, S]);- let E = PL({+ let E = ML({...e,defaultClassName: "react-aria-ColumnResizer",values: {@@ -41897,7 +41897,7 @@ var $me = class extends fS {resizableDirection: S}}), D = Kw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(BL.div, {+ return /*#__PURE__*/ F.createElement(RL.div, {ref: C,role: "presentation",...K(D, E, u, _),@@ -41909,7 +41909,7 @@ var $me = class extends fS {}, E.children, /*#__PURE__*/ F.createElement("input", {ref: l,...K(d, m)- }), f && p && /*#__PURE__*/ Lt.createPortal(/*#__PURE__*/ F.createElement("div", {+ }), f && p && /*#__PURE__*/ It.createPortal(/*#__PURE__*/ F.createElement("div", {style: {position: "fixed",top: 0,@@ -41920,24 +41920,24 @@ var $me = class extends fS {},"data-testid": "cursor-overlay"}), document.body));-}), hB = class extends pS {+}), pB = class extends mS {static {this.type = "tablebody";}-}, nhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(KL);- return n ? /*#__PURE__*/ F.createElement(BL.div, {+}, ihe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(WL);+ return n ? /*#__PURE__*/ F.createElement(RL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(BL.tbody, {+ }) : /*#__PURE__*/ F.createElement(RL.tbody, {...e,ref: t});-}), gB = /*#__PURE__*/ fw(hB, (e, t, n) => {- let r = (0, F.useContext)(cB), { isVirtualized: i } = (0, F.useContext)(KL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(KL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)(YR), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+}), mB = /*#__PURE__*/ pw(pB, (e, t, n) => {+ let r = (0, F.useContext)(oB), { isVirtualized: i } = (0, F.useContext)(WL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(WL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)(qR), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d- }, p = PL({+ }, p = ML({...e,id: void 0,children: void 0,@@ -41946,33 +41946,33 @@ var $me = class extends fS {}), m, h = a.columnCount;if (d && e.renderEmptyState && r) {let t = {}, n = {}, r = {};- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ F.createElement(vB, {+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ F.createElement(gB, {role: "row",...t,style: r- }, /*#__PURE__*/ F.createElement(bB, {+ }, /*#__PURE__*/ F.createElement(vB, {role: "rowheader",...n,style: r}, e.renderEmptyState(f)));}let { rowGroupProps: g } = VA(), _ = Kw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(nhe, {+ return /*#__PURE__*/ F.createElement(ihe, {...K(_, p, g),ref: t,"data-empty": d || void 0- }, l && /*#__PURE__*/ F.createElement(uhe, null), /*#__PURE__*/ F.createElement(o, {+ }, l && /*#__PURE__*/ F.createElement(fhe, null), /*#__PURE__*/ F.createElement(o, {collection: a,parent: n,- renderDropIndicator: ZR(s, c)+ renderDropIndicator: YR(s, c)}), m);});-(class extends pS {+(class extends mS {static {this.type = "tablefooter";}});-var _B = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), rhe = class extends fS {+var hB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), ahe = class extends pS {static {this.type = "item";}@@ -41984,17 +41984,17 @@ var _B = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), rh}return null;}-}, vB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(KL);- return n ? /*#__PURE__*/ F.createElement(BL.div, {+}, gB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(WL);+ return n ? /*#__PURE__*/ F.createElement(RL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(BL.tr, {+ }) : /*#__PURE__*/ F.createElement(RL.tr, {...e,ref: t});-}), yB = /*#__PURE__*/ fw(rhe, (e, t, n) => {- let r = QC(t), i = (0, F.useContext)(cB), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(YR), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(KL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Nce({+}), _B = /*#__PURE__*/ pw(ahe, (e, t, n) => {+ let r = $C(t), i = (0, F.useContext)(oB), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(qR), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(WL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Nce({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c@@ -42018,7 +42018,7 @@ var _B = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), rh(0, F.useEffect)(() => {o && E.current;}, []);- let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = PL({+ 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 = ML({...k,id: void 0,defaultClassName: "react-aria-Row",@@ -42040,10 +42040,10 @@ var _B = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), rhlevel: n.level + 1}}), ee = Kw(e, { global: !0 });- return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement(vB, {+ return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement(gB, {role: "row",style: { height: 0 }- }, /*#__PURE__*/ F.createElement(bB, {+ }, /*#__PURE__*/ F.createElement(vB, {role: "gridcell",colSpan: i.collection.columnCount,style: { padding: 0 }@@ -42052,7 +42052,7 @@ var _B = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), rh...T,...C.dropIndicatorProps,ref: w- }))), /*#__PURE__*/ F.createElement(vB, {+ }))), /*#__PURE__*/ F.createElement(gB, {...K(ee, M, d, g, y, S?.dragProps, v),ref: r,"data-disabled": p.isDisabled || void 0,@@ -42068,17 +42068,17 @@ var _B = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), rh"data-expanded": j || void 0,"data-has-child-items": A || void 0,"data-level": n.level + 1- }, /*#__PURE__*/ F.createElement(NL, { values: [- [rR, { slots: {- [ML]: {},+ }, /*#__PURE__*/ F.createElement(jL, { values: [+ [tR, { slots: {+ [AL]: {},selection: x} }],- [iR, { slots: {- [ML]: {},+ [nR, { slots: {+ [AL]: {},selection: x} }],- [XL, { slots: {- [ML]: {},+ [JL, { slots: {+ [AL]: {},chevron: f,drag: {...S?.dragButtonProps,@@ -42086,8 +42086,8 @@ var _B = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), rhstyle: { pointerEvents: "none" }}} }],- [tz, { isSelected: p.isSelected }],- [_B, { isFocusVisibleWithinRow: _ }]+ [$R, { isSelected: p.isSelected }],+ [hB, { isFocusVisibleWithinRow: _ }]] }, /*#__PURE__*/ F.createElement(l, {collection: i.collection,parent: n@@ -42095,26 +42095,26 @@ var _B = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), rh}, (e) => {if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t = [e.value].concat(e.dependencies);- return /*#__PURE__*/ F.createElement(hw, {+ return /*#__PURE__*/ F.createElement(gw, {dependencies: t,items: e.columns,idScope: e.id}, e.children);-}), ihe = class extends fS {+}), ohe = class extends pS {static {this.type = "cell";}-}, bB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(KL);- return n ? /*#__PURE__*/ F.createElement(BL.div, {+}, vB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(WL);+ return n ? /*#__PURE__*/ F.createElement(RL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(BL.td, {+ }) : /*#__PURE__*/ F.createElement(RL.td, {...e,ref: t});-}), xB = /*#__PURE__*/ dw(ihe, (e, t, n) => {- let r = QC(t), i = (0, F.useContext)(cB), { dragState: a } = (0, F.useContext)(YR), { isVirtualized: o } = (0, F.useContext)(KL);+}), yB = /*#__PURE__*/ fw(ohe, (e, t, n) => {+ let r = $C(t), i = (0, F.useContext)(oB), { dragState: a } = (0, F.useContext)(qR), { isVirtualized: o } = (0, F.useContext)(WL);n.column = i.collection.columns[n.index];let { gridCellProps: s, isPressed: c } = Tce({node: n,@@ -42122,7 +42122,7 @@ var _B = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), rhisVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = MD(), { hoverProps: f, isHovered: p } = ID({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(_B), 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 = PL({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = MD(), { hoverProps: f, isHovered: p } = ID({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(hB), 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 = ML({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -42142,7 +42142,7 @@ var _B = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), rhisTreeColumn: n.column.key === i.treeColumn}}), S = Kw(e, { global: !0 });- return delete S.id, /*#__PURE__*/ F.createElement(bB, {+ return delete S.id, /*#__PURE__*/ F.createElement(vB, {...K(S, x, s, d, f),ref: r,"data-focused": l || void 0,@@ -42156,14 +42156,14 @@ var _B = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), rh"data-level": _.level + 1,"data-tree-column": n.column.key === i.treeColumn || void 0,"data-disabled": b || void 0- }, /*#__PURE__*/ F.createElement(KL.Provider, { value: WL }, x.children));+ }, /*#__PURE__*/ F.createElement(WL.Provider, { value: HL }, x.children));});-function ahe(e, t) {- t = QC(t);- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(YR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function she(e, t) {+ t = $C(t);+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(qR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;- return /*#__PURE__*/ F.createElement(lhe, {+ return /*#__PURE__*/ F.createElement(dhe, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -42172,40 +42172,40 @@ function ahe(e, t) {ref: t});}-var ohe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(KL);- return n ? /*#__PURE__*/ F.createElement(BL.div, {+var che = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(WL);+ return n ? /*#__PURE__*/ F.createElement(RL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(BL.tr, {+ }) : /*#__PURE__*/ F.createElement(RL.tr, {...e,ref: t});-}), she = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(KL);- return n ? /*#__PURE__*/ F.createElement(BL.div, {+}), lhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(WL);+ return n ? /*#__PURE__*/ F.createElement(RL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(BL.td, {+ }) : /*#__PURE__*/ F.createElement(RL.td, {...e,ref: t});});-function che(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(cB), { visuallyHiddenProps: c } = pE(), l = PL({+function uhe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(oB), { visuallyHiddenProps: c } = pE(), l = ML({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});- return /*#__PURE__*/ F.createElement(ohe, {+ return /*#__PURE__*/ F.createElement(che, {...Kw(e, { global: !0 }),...l,role: "row",ref: t,"data-drop-target": r || void 0,"aria-level": a- }, /*#__PURE__*/ F.createElement(she, {+ }, /*#__PURE__*/ F.createElement(lhe, {role: "gridcell",colSpan: s.collection.columnCount,style: { padding: 0 }@@ -42216,14 +42216,14 @@ function che(e, t) {ref: i}), l.children));}-var lhe = /*#__PURE__*/ (0, F.forwardRef)(che);-function uhe() {- let e = (0, F.useContext)(cB), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)(YR), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = pE();- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement(vB, {+var dhe = /*#__PURE__*/ (0, F.forwardRef)(uhe);+function fhe() {+ let e = (0, F.useContext)(oB), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)(qR), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = pE();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement(gB, {role: "row","aria-hidden": i["aria-hidden"],style: { height: 0 }- }, /*#__PURE__*/ F.createElement(bB, {+ }, /*#__PURE__*/ F.createElement(vB, {role: "gridcell",colSpan: e.collection.columnCount,style: { padding: 0 }@@ -42234,9 +42234,9 @@ function uhe() {ref: r})));}-dw(mS, function(e, t, n) {- let r = (0, F.useContext)(cB), { isVirtualized: i } = (0, F.useContext)(KL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);- mz((0, F.useMemo)(() => ({+fw(hS, function(e, t, n) {+ let r = (0, F.useContext)(oB), { isVirtualized: i } = (0, F.useContext)(WL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);+ fz((0, F.useMemo)(() => ({onLoadMore: o,collection: r?.collection,sentinelRef: u,@@ -42246,7 +42246,7 @@ dw(mS, function(e, t, n) {s,r?.collection]), u);- let d = PL({+ let d = ML({...c,id: void 0,children: n.rendered,@@ -42254,10 +42254,10 @@ dw(mS, function(e, t, n) {defaultStyle: { "--table-row-level": n.level + 1 },values: void 0}), f = {}, p = {}, m = {};- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(vB, {+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(gB, {style: { height: 0 },- inert: rz(!0)- }, /*#__PURE__*/ F.createElement(bB, { style: {+ inert: tz(!0)+ }, /*#__PURE__*/ F.createElement(vB, { style: {padding: 0,border: 0} }, /*#__PURE__*/ F.createElement("div", {@@ -42268,22 +42268,22 @@ dw(mS, function(e, t, n) {height: 1,width: 1}- }))), a && d.children && /*#__PURE__*/ F.createElement(vB, {+ }))), a && d.children && /*#__PURE__*/ F.createElement(gB, {...K(Kw(e, { global: !0 }), f),...d,role: "row",ref: t,"aria-level": n.level + 1,"data-level": n.level + 1- }, /*#__PURE__*/ F.createElement(bB, {+ }, /*#__PURE__*/ F.createElement(vB, {role: "rowheader",...p,style: m}, d.children)));});// node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs-function dhe(e) {- let [t, n] = iE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = fz({+function phe(e) {+ let [t, n] = iE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = uz({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -42305,24 +42305,24 @@ function dhe(e) {};}// node_modules/react-stately/dist/private/tabs/useTabListState.mjs-function fhe(e) {- let t = dhe({+function mhe(e) {+ let t = phe({...e,onSelectionChange: e.onSelectionChange ? (t) => {t != null && e.onSelectionChange?.(t);} : void 0,suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? SB(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ defaultSelectedKey: e.defaultSelectedKey ?? bB(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, F.useRef)(i);return (0, F.useEffect)(() => {let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = SB(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 = bB(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 SB(e, t) {+function bB(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);@@ -42331,20 +42331,20 @@ function SB(e, t) {return n;}// node_modules/react-aria-components/dist/private/Tabs.mjs-var CB = /*#__PURE__*/ (0, F.createContext)(null), wB = /*#__PURE__*/ (0, F.createContext)(null), phe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = IL(e, t, CB);+var xB = /*#__PURE__*/ (0, F.createContext)(null), SB = /*#__PURE__*/ (0, F.createContext)(null), hhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = PL(e, t, xB);let { children: n, orientation: r = "horizontal" } = e;return n = (0, F.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ F.createElement(cw, { content: n }, (n) => /*#__PURE__*/ F.createElement(mhe, {+ }) : n, [n, r]), /*#__PURE__*/ F.createElement(lw, { content: n }, (n) => /*#__PURE__*/ F.createElement(ghe, {props: e,collection: n,tabsRef: t}));});-function mhe({ props: e, tabsRef: t, collection: n }) {- let { orientation: r = "horizontal" } = e, i = fhe({+function ghe({ props: e, tabsRef: t, collection: n }) {+ let { orientation: r = "horizontal" } = e, i = mhe({...e,collection: n,children: void 0@@ -42356,12 +42356,12 @@ function mhe({ props: e, tabsRef: t, collection: n }) {r,o,s- ]), l = PL({+ ]), l = ML({...e,defaultClassName: "react-aria-Tabs",values: c}), u = Kw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(BL.div, {+ return /*#__PURE__*/ F.createElement(RL.div, {...K(u, l, a),ref: t,slot: e.slot || void 0,@@ -42369,20 +42369,20 @@ function mhe({ props: e, tabsRef: t, collection: n }) {"data-orientation": r,"data-focus-visible": s || void 0,"data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ F.createElement(NL, { values: [[CB, e], [wB, i]] }, l.children));+ }, /*#__PURE__*/ F.createElement(jL, { values: [[xB, e], [SB, i]] }, l.children));}-var TB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- return (0, F.useContext)(wB) ? /*#__PURE__*/ F.createElement(hhe, {+var CB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ return (0, F.useContext)(SB) ? /*#__PURE__*/ F.createElement(_he, {props: e,forwardedRef: t- }) : /*#__PURE__*/ F.createElement(hw, e);+ }) : /*#__PURE__*/ F.createElement(gw, e);});-function hhe({ props: e, forwardedRef: t }) {- let n = (0, F.useContext)(wB), { CollectionRoot: r } = (0, F.useContext)(KL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = FL(CB), o = QC(t), { tabListProps: s } = Bce({+function _he({ props: e, forwardedRef: t }) {+ let n = (0, F.useContext)(SB), { CollectionRoot: r } = (0, F.useContext)(WL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = NL(xB), o = $C(t), { tabListProps: s } = Bce({...e,orientation: i,keyboardActivation: a- }, n, o), c = PL({+ }, n, o), c = ML({...e,children: null,defaultClassName: "react-aria-TabList",@@ -42391,21 +42391,21 @@ function hhe({ props: e, forwardedRef: t }) {state: n}}), l = Kw(e, { global: !0 });- return delete l.id, /*#__PURE__*/ F.createElement(BL.div, {+ return delete l.id, /*#__PURE__*/ F.createElement(RL.div, {...K(l, c, s),ref: o,"data-orientation": i || void 0- }, /*#__PURE__*/ F.createElement(ez, null, /*#__PURE__*/ F.createElement(r, {+ }, /*#__PURE__*/ F.createElement(QR, null, /*#__PURE__*/ F.createElement(r, {collection: n.collection,- persistedKeys: qL(n.selectionManager.focusedKey)+ persistedKeys: GL(n.selectionManager.focusedKey)})));}-var ghe = /*#__PURE__*/ dw(class extends fS {+var vhe = /*#__PURE__*/ fw(class extends pS {static {this.type = "item";}}, (e, t, n) => {- let r = (0, F.useContext)(wB), i = QC(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Rce({+ let r = (0, F.useContext)(SB), i = $C(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Rce({key: n.key,...e}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = MD(), { hoverProps: f, isHovered: p } = ID({@@ -42413,7 +42413,7 @@ var ghe = /*#__PURE__*/ dw(class extends fS {onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,onHoverChange: e.onHoverChange- }), m = PL({+ }), m = ML({...e,id: void 0,children: n.rendered,@@ -42426,7 +42426,7 @@ var ghe = /*#__PURE__*/ dw(class extends fS {isPressed: c,isHovered: p}- }), h = n.props.href ? BL.a : BL.div, g = Kw(e, { global: !0 });+ }), h = n.props.href ? RL.a : RL.div, g = Kw(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ F.createElement(h, {...K(g, m, a, l, f),ref: i,@@ -42436,26 +42436,26 @@ var ghe = /*#__PURE__*/ dw(class extends fS {"data-focus-visible": d || void 0,"data-pressed": c || void 0,"data-hovered": p || void 0- }, /*#__PURE__*/ F.createElement(tz.Provider, { value: { isSelected: o } }, m.children));-}), _he = /*#__PURE__*/ rw(function(e, t) {- let n = (0, F.useContext)(wB), r = QC(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);+ }, /*#__PURE__*/ F.createElement($R.Provider, { value: { isSelected: o } }, m.children));+}), yhe = /*#__PURE__*/ iw(function(e, t) {+ let n = (0, F.useContext)(SB), r = $C(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = bz(r, i);- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(vhe, {+ let s = vz(r, i);+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(bhe, {...e,tabPanelRef: r,isInitiallySelected: a || !1,isExiting: s});});-function vhe(e) {- let t = (0, F.useContext)(wB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Vce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = MD(), d = t.selectedKey === e.id, f = yz(r) && !i, p = PL({+function bhe(e) {+ let t = (0, F.useContext)(SB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Vce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = MD(), d = t.selectedKey === e.id, f = _z(r) && !i, p = ML({...e,defaultClassName: "react-aria-TabPanel",values: {isFocused: l,isFocusVisible: u,- isInert: rz(!d),+ isInert: tz(!d),isEntering: f,isExiting: a,state: t@@ -42463,27 +42463,27 @@ function vhe(e) {}), m = Kw(o, { global: !0 });delete m.id;let h = d ? K(m, s, c, p) : K(m, p);- return /*#__PURE__*/ F.createElement(BL.div, {+ return /*#__PURE__*/ F.createElement(RL.div, {...h,ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,- inert: rz(!d || e.inert),+ inert: tz(!d || e.inert),"data-inert": d ? void 0 : "true","data-entering": f || void 0,"data-exiting": a || void 0- }, /*#__PURE__*/ F.createElement(NL, { values: [[CB, null], [wB, null]] }, /*#__PURE__*/ F.createElement(KL.Provider, { value: WL }, p.children)));+ }, /*#__PURE__*/ F.createElement(jL, { values: [[xB, null], [SB, null]] }, /*#__PURE__*/ F.createElement(WL.Provider, { value: HL }, p.children)));}// node_modules/react-aria-components/dist/private/TextArea.mjs-var EB = /*#__PURE__*/ (0, F.createContext)({}), yhe = (e) => {+var wB = /*#__PURE__*/ (0, F.createContext)({}), xhe = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, bhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = IL(e, t, EB);+}, She = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = PL(e, t, wB);let { hoverProps: n, isHovered: r } = ID(e), { isFocused: i, isFocusVisible: a, focusProps: o } = MD({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = PL({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = ML({...e,values: {isHovered: r,@@ -42494,8 +42494,8 @@ var EB = /*#__PURE__*/ (0, F.createContext)({}), yhe = (e) => {},defaultClassName: "react-aria-TextArea"});- return /*#__PURE__*/ F.createElement(BL.textarea, {- ...K(yhe(e), o, n),+ return /*#__PURE__*/ F.createElement(RL.textarea, {+ ...K(xhe(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -42504,18 +42504,18 @@ var EB = /*#__PURE__*/ (0, F.createContext)({}), yhe = (e) => {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), xhe = /*#__PURE__*/ (0, F.createContext)(null), She = /*#__PURE__*/ rw(function(e, t) {- [e, t] = IL(e, t, xhe);- let { validationBehavior: n } = FL(nR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);- [e, i] = IL(e, i, HL);- let [a, o] = LL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = use({- ...RL(e),+}), Che = /*#__PURE__*/ (0, F.createContext)(null), whe = /*#__PURE__*/ iw(function(e, t) {+ [e, t] = PL(e, t, Che);+ let { validationBehavior: n } = NL(eR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);+ [e, i] = PL(e, i, BL);+ let [a, o] = FL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = use({+ ...IL(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, F.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = PL({+ }, [i]), h = ML({...e,values: {isDisabled: e.isDisabled || !1,@@ -42525,7 +42525,7 @@ var EB = /*#__PURE__*/ (0, F.createContext)({}), yhe = (e) => {},defaultClassName: "react-aria-TextField"}), g = Kw(e, { global: !0 });- return delete g.id, /*#__PURE__*/ F.createElement(BL.div, {+ return delete g.id, /*#__PURE__*/ F.createElement(RL.div, {...g,...h,ref: t,@@ -42534,31 +42534,31 @@ var EB = /*#__PURE__*/ (0, F.createContext)({}), yhe = (e) => {"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ F.createElement(NL, { values: [- [JL, {+ }, /*#__PURE__*/ F.createElement(jL, { values: [+ [KL, {...l,ref: a}],- [cR, {+ [oR, {...u,ref: m}],- [EB, {+ [wB, {...u,ref: m}],- [oR, {+ [iR, {role: "presentation",isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [eR, { slots: {+ [QL, { slots: {description: d,errorMessage: f} }],- [tR, p]+ [$L, p]] }, h.children));-}), Che = class e extends gS {+}), The = class e extends _S {withExpandedKeys(t, n) {let r = this.clone();return r.expandedKeys = n, e.cloneAncestorSections(n, t, r), e.cloneAncestorSections(t, n, r), r.frozen = this.frozen, r;@@ -42630,16 +42630,16 @@ var EB = /*#__PURE__*/ (0, F.createContext)({}), yhe = (e) => {constructor(...e) {super(...e), this.expandedKeys = /* @__PURE__ */ new Set();}-}, whe = /*#__PURE__*/ (0, F.createContext)(null), DB = /*#__PURE__*/ (0, F.createContext)(null), The = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- return [e, t] = IL(e, t, whe), /*#__PURE__*/ F.createElement(cw, {- content: /*#__PURE__*/ F.createElement(hw, e),- createCollection: () => new Che()- }, (n) => /*#__PURE__*/ F.createElement(Ehe, {+}, Ehe = /*#__PURE__*/ (0, F.createContext)(null), TB = /*#__PURE__*/ (0, F.createContext)(null), Dhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ return [e, t] = PL(e, t, Ehe), /*#__PURE__*/ F.createElement(lw, {+ content: /*#__PURE__*/ F.createElement(gw, e),+ createCollection: () => new The()+ }, (n) => /*#__PURE__*/ F.createElement(Ohe, {props: e,collection: n,treeRef: t}));-}), OB = {+}), EB = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -42649,17 +42649,17 @@ var EB = /*#__PURE__*/ (0, F.createContext)({}), yhe = (e) => {rtl: "ArrowRight"}};-function Ehe({ props: e, collection: t, treeRef: n }) {- let { dragAndDropHooks: r } = e, { direction: i } = Lw(), a = TD({+function Ohe({ props: e, collection: t, treeRef: n }) {+ let { dragAndDropHooks: r } = e, { direction: i } = Rw(), a = TD({usage: "search",sensitivity: "base"}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, F.useRef)(o), l = (0, F.useRef)(s);(0, F.useEffect)(() => {c.current !== o && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), l.current !== s && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");}, [o, s]);- let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, F.useContext)(KL), [y, b] = iE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));- Nhe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));- let D = Ez({+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, F.useContext)(WL), [y, b] = iE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));+ Fhe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));+ let D = wz({...e,selectionMode: u,expandedKeys: y,@@ -42681,7 +42681,7 @@ function Ehe({ props: e, collection: t, treeRef: n }) {let e = r.DragPreview;ee = r.renderDragPreview ? /*#__PURE__*/ F.createElement(e, { ref: N }, r.renderDragPreview) : null;}- let [te] = (0, F.useState)(() => new eB());+ let [te] = (0, F.useState)(() => new Qz());if (s && r) {A = r.useDroppableCollectionState({collection: D.collection,@@ -42711,7 +42711,7 @@ function Ehe({ 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 === OB.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === OB.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);+ (e.key === EB.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === EB.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);}}}, A, n), M = A.isDropTarget({ type: "root" });@@ -42724,7 +42724,7 @@ function Ehe({ props: e, collection: t, treeRef: n }) {selectionMode: D.selectionManager.selectionMode,allowsDragging: !!P,state: D- }, ae = PL({+ }, ae = ML({...e,children: void 0,defaultClassName: "react-aria-Tree",@@ -42742,7 +42742,7 @@ function Ehe({ props: e, collection: t, treeRef: n }) {}, r));}let se = Kw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(gT, null, /*#__PURE__*/ F.createElement(BL.div, {+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(gT, null, /*#__PURE__*/ F.createElement(RL.div, {...K(se, ae, O, ne, j?.collectionProps),ref: n,slot: e.slot || void 0,@@ -42752,39 +42752,39 @@ function Ehe({ props: e, collection: t, treeRef: n }) {"data-focus-visible": I || void 0,"data-selection-mode": D.selectionManager.selectionMode === "none" ? void 0 : D.selectionManager.selectionMode,"data-allows-dragging": !!P || void 0- }, /*#__PURE__*/ F.createElement(NL, { values: [- [DB, D],- [YR, {+ }, /*#__PURE__*/ F.createElement(jL, { values: [+ [TB, D],+ [qR, {dragAndDropHooks: r,dragState: k,dropState: A}],- [XR, { render: khe }]- ] }, s && /*#__PURE__*/ F.createElement(Mhe, null), /*#__PURE__*/ F.createElement(ez, null, /*#__PURE__*/ F.createElement(h, {+ [JR, { render: jhe }]+ ] }, s && /*#__PURE__*/ F.createElement(Phe, null), /*#__PURE__*/ F.createElement(QR, null, /*#__PURE__*/ F.createElement(h, {collection: D.collection,- persistedKeys: QR(D.selectionManager, r, A),+ persistedKeys: XR(D.selectionManager, r, A),scrollRef: n,- renderDropIndicator: ZR(r, A)+ renderDropIndicator: YR(r, A)}))), oe)), ee);}-var Dhe = /*#__PURE__*/ dw(class extends fS {+var khe = /*#__PURE__*/ fw(class extends pS {static {this.type = "content";}}, function(e) {- let t = (0, F.useContext)(kB), n = PL({+ let t = (0, F.useContext)(DB), n = ML({children: e.children,values: t});- return /*#__PURE__*/ F.createElement(KL.Provider, { value: WL }, n.children);-}), kB = /*#__PURE__*/ (0, F.createContext)(null), Ohe = /*#__PURE__*/ fw(class extends fS {+ return /*#__PURE__*/ F.createElement(WL.Provider, { value: HL }, n.children);+}), DB = /*#__PURE__*/ (0, F.createContext)(null), Ahe = /*#__PURE__*/ pw(class extends pS {static {this.type = "item";}}, (e, t, n) => {- let r = (0, F.useContext)(DB);- t = QC(t);- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)(YR), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Tj({+ let r = (0, F.useContext)(TB);+ t = $C(t);+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)(qR), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Tj({node: n,shouldSelectOnPressUp: !!a,focusMode: e.focusMode,@@ -42838,7 +42838,7 @@ var Dhe = /*#__PURE__*/ dw(class extends fS {A,M,j- ]), N = PL({+ ]), N = ML({...e,id: void 0,children: n.rendered,@@ -42855,7 +42855,7 @@ var Dhe = /*#__PURE__*/ dw(class extends fS {(0, F.useEffect)(() => {a && te.current;}, []);- let P = bS({+ let P = xS({items: r.collection.getChildren(n.key),children: (e) => {switch (e.type) {@@ -42865,7 +42865,7 @@ var Dhe = /*#__PURE__*/ dw(class extends fS {default: throw Error("Unsupported element type in TreeRow: " + e.type);}}- }), ne = VC(), re = Kw(e, { global: !0 });+ }), ne = HC(), re = Kw(e, { global: !0 });return delete re.id, delete re.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, w && !w.isHidden && /*#__PURE__*/ F.createElement("div", {role: "row","aria-level": c["aria-level"],@@ -42888,7 +42888,7 @@ var Dhe = /*#__PURE__*/ dw(class extends fS {"aria-labelledby": `${ne} ${c.id}`,tabIndex: -1,ref: D- }))), /*#__PURE__*/ F.createElement(BL.div, {+ }))), /*#__PURE__*/ F.createElement(RL.div, {...K(re, c, y, g, x, C?.dragProps),...N,ref: t,@@ -42908,17 +42908,17 @@ var Dhe = /*#__PURE__*/ dw(class extends fS {}, /*#__PURE__*/ F.createElement("div", {...l,style: { display: "contents" }- }, /*#__PURE__*/ F.createElement(NL, { values: [- [rR, { slots: {- [ML]: {},+ }, /*#__PURE__*/ F.createElement(jL, { values: [+ [tR, { slots: {+ [AL]: {},selection: S} }],- [iR, { slots: {- [ML]: {},+ [nR, { slots: {+ [AL]: {},selection: S} }],- [XL, { slots: {- [ML]: {},+ [JL, { slots: {+ [AL]: {},chevron: {...u,ref: T@@ -42929,13 +42929,13 @@ var Dhe = /*#__PURE__*/ dw(class extends fS {style: { pointerEvents: "none" }}} }],- [kB, { ...ee }],- [tz, { isSelected: f.isSelected }]+ [DB, { ...ee }],+ [$R, { isSelected: f.isSelected }]] }, P))));});-dw(mS, function(e, t, n) {- let { isVirtualized: r } = (0, F.useContext)(KL), i = (0, F.useContext)(DB), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);- mz((0, F.useMemo)(() => ({+fw(hS, function(e, t, n) {+ let { isVirtualized: r } = (0, F.useContext)(WL), i = (0, F.useContext)(TB), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);+ fz((0, F.useMemo)(() => ({onLoadMore: o,collection: i?.collection,sentinelRef: l,@@ -42944,11 +42944,11 @@ dw(mS, function(e, t, n) {o,s,i?.collection- ]), l), t = QC(t);+ ]), l), t = $C(t);let { rowProps: u, gridCellProps: d } = Tj({ node: n }, i, t), f = u["aria-level"] || 1, p = {role: "row","aria-level": u["aria-level"]- }, m = PL({+ }, m = ML({...c,id: void 0,children: n.rendered,@@ -42961,7 +42961,7 @@ dw(mS, function(e, t, n) {width: 0,height: 0},- inert: rz(!0)+ inert: tz(!0)}, /*#__PURE__*/ F.createElement("div", {"data-testid": "loadMoreSentinel",ref: l,@@ -42970,7 +42970,7 @@ dw(mS, function(e, t, n) {height: 1,width: 1}- })), a && m.children && /*#__PURE__*/ F.createElement(BL.div, {+ })), a && m.children && /*#__PURE__*/ F.createElement(RL.div, {ref: t,...K(Kw(e), p),...m,@@ -42980,12 +42980,12 @@ dw(mS, function(e, t, n) {style: h}, m.children)));});-function khe(e, t) {- t = QC(t);- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(YR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function jhe(e, t) {+ t = $C(t);+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(qR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;- return /*#__PURE__*/ F.createElement(jhe, {+ return /*#__PURE__*/ F.createElement(Nhe, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -42994,8 +42994,8 @@ function khe(e, t) {level: c});}-function Ahe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = pE(), c = PL({+function Mhe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = pE(), c = ML({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: {@@ -43004,7 +43004,7 @@ function Ahe(e, t) {},values: { isDropTarget: r }});- return /*#__PURE__*/ F.createElement(BL.div, {+ return /*#__PURE__*/ F.createElement(RL.div, {...c,role: "row","aria-level": a,@@ -43017,9 +43017,9 @@ function Ahe(e, t) {ref: i}), c.children));}-var jhe = /*#__PURE__*/ (0, F.forwardRef)(Ahe);-function Mhe() {- let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)(YR), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = pE();+var Nhe = /*#__PURE__*/ (0, F.forwardRef)(Mhe);+function Phe() {+ let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)(qR), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = pE();return !i && r["aria-hidden"] ? null : /*#__PURE__*/ F.createElement("div", {role: "row","aria-hidden": r["aria-hidden"],@@ -43031,13 +43031,13 @@ function Mhe() {ref: n})));}-function Nhe(e, t) {+function Fhe(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 Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+var Ihe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43045,7 +43045,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Fhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Lhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43053,7 +43053,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), AB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), OB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43061,7 +43061,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), jB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), kB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43069,7 +43069,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), MB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), AB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43077,7 +43077,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Ihe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Rhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43085,7 +43085,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Lhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), zhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43093,7 +43093,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), NB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), jB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43101,7 +43101,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 12H5V21H3V12ZM19 8H21V21H19V8ZM11 2H13V21H11V2Z" })), PB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 12H5V21H3V12ZM19 8H21V21H19V8ZM11 2H13V21H11V2Z" })), MB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43109,7 +43109,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), Rhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), Bhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43117,7 +43117,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), zhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Vhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43125,7 +43125,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Bhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Hhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43133,7 +43133,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Vhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Uhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43141,7 +43141,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Hhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Whe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43149,7 +43149,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), Uhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43157,7 +43157,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), FB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), NB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43165,7 +43165,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), IB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), PB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43173,7 +43173,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), Whe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43181,7 +43181,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), LB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), FB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43189,7 +43189,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM16.5 7.5L14 14L7.5 16.5L10 10L16.5 7.5ZM12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" })), Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM16.5 7.5L14 14L7.5 16.5L10 10L16.5 7.5ZM12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" })), qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43197,7 +43197,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), RB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), IB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43205,7 +43205,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Jhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43213,7 +43213,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Yhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43221,7 +43221,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13 13V18.585L14.8284 16.7574L16.2426 18.1716L12 22.4142L7.75736 18.1716L9.17157 16.7574L11 18.585V13H13ZM12 2C15.5934 2 18.5544 4.70761 18.9541 8.19395C21.2858 8.83154 23 10.9656 23 13.5C23 16.3688 20.8036 18.7246 18.0006 18.9776L18.0009 16.9644C19.6966 16.7214 21 15.2629 21 13.5C21 11.567 19.433 10 17.5 10C17.2912 10 17.0867 10.0183 16.8887 10.054C16.9616 9.7142 17 9.36158 17 9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9C7 9.36158 7.03838 9.7142 7.11205 10.0533C6.91331 10.0183 6.70879 10 6.5 10C4.567 10 3 11.567 3 13.5C3 15.2003 4.21241 16.6174 5.81986 16.934L6.00005 16.9646L6.00039 18.9776C3.19696 18.7252 1 16.3692 1 13.5C1 10.9656 2.71424 8.83154 5.04648 8.19411C5.44561 4.70761 8.40661 2 12 2Z" })), zB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13 13V18.585L14.8284 16.7574L16.2426 18.1716L12 22.4142L7.75736 18.1716L9.17157 16.7574L11 18.585V13H13ZM12 2C15.5934 2 18.5544 4.70761 18.9541 8.19395C21.2858 8.83154 23 10.9656 23 13.5C23 16.3688 20.8036 18.7246 18.0006 18.9776L18.0009 16.9644C19.6966 16.7214 21 15.2629 21 13.5C21 11.567 19.433 10 17.5 10C17.2912 10 17.0867 10.0183 16.8887 10.054C16.9616 9.7142 17 9.36158 17 9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9C7 9.36158 7.03838 9.7142 7.11205 10.0533C6.91331 10.0183 6.70879 10 6.5 10C4.567 10 3 11.567 3 13.5C3 15.2003 4.21241 16.6174 5.81986 16.934L6.00005 16.9646L6.00039 18.9776C3.19696 18.7252 1 16.3692 1 13.5C1 10.9656 2.71424 8.83154 5.04648 8.19411C5.44561 4.70761 8.40661 2 12 2Z" })), LB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43229,7 +43229,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M1 14.5C1 12.1716 2.22429 10.1291 4.06426 8.9812C4.56469 5.044 7.92686 2 12 2C16.0731 2 19.4353 5.044 19.9357 8.9812C21.7757 10.1291 23 12.1716 23 14.5C23 17.9216 20.3562 20.7257 17 20.9811L7 21C3.64378 20.7257 1 17.9216 1 14.5ZM16.8483 18.9868C19.1817 18.8093 21 16.8561 21 14.5C21 12.927 20.1884 11.4962 18.8771 10.6781L18.0714 10.1754L17.9517 9.23338C17.5735 6.25803 15.0288 4 12 4C8.97116 4 6.42647 6.25803 6.0483 9.23338L5.92856 10.1754L5.12288 10.6781C3.81156 11.4962 3 12.927 3 14.5C3 16.8561 4.81833 18.8093 7.1517 18.9868L7.325 19H16.675L16.8483 18.9868ZM13 12H16L12 17L8 12H11V8H13V12Z" })), Jhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M1 14.5C1 12.1716 2.22429 10.1291 4.06426 8.9812C4.56469 5.044 7.92686 2 12 2C16.0731 2 19.4353 5.044 19.9357 8.9812C21.7757 10.1291 23 12.1716 23 14.5C23 17.9216 20.3562 20.7257 17 20.9811L7 21C3.64378 20.7257 1 17.9216 1 14.5ZM16.8483 18.9868C19.1817 18.8093 21 16.8561 21 14.5C21 12.927 20.1884 11.4962 18.8771 10.6781L18.0714 10.1754L17.9517 9.23338C17.5735 6.25803 15.0288 4 12 4C8.97116 4 6.42647 6.25803 6.0483 9.23338L5.92856 10.1754L5.12288 10.6781C3.81156 11.4962 3 12.927 3 14.5C3 16.8561 4.81833 18.8093 7.1517 18.9868L7.325 19H16.675L16.8483 18.9868ZM13 12H16L12 17L8 12H11V8H13V12Z" })), Xhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43237,7 +43237,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), BB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), RB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43245,7 +43245,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), VB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), zB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43253,7 +43253,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Yhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Zhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43261,7 +43261,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), Xhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), Qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43269,7 +43269,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), Zhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), $he = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43277,7 +43277,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), Qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43285,7 +43285,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), $he = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43293,7 +43293,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM13.529 14.4464C11.9951 15.3524 9.98633 15.1464 8.66839 13.8284C7.1063 12.2663 7.1063 9.73367 8.66839 8.17157C10.2305 6.60948 12.7631 6.60948 14.3252 8.17157C15.6432 9.48951 15.8492 11.4983 14.9432 13.0322L17.1537 15.2426L15.7395 16.6569L13.529 14.4464ZM12.911 12.4142C13.6921 11.6332 13.6921 10.3668 12.911 9.58579C12.13 8.80474 10.8637 8.80474 10.0826 9.58579C9.30156 10.3668 9.30156 11.6332 10.0826 12.4142C10.8637 13.1953 12.13 13.1953 12.911 12.4142Z" })), HB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM13.529 14.4464C11.9951 15.3524 9.98633 15.1464 8.66839 13.8284C7.1063 12.2663 7.1063 9.73367 8.66839 8.17157C10.2305 6.60948 12.7631 6.60948 14.3252 8.17157C15.6432 9.48951 15.8492 11.4983 14.9432 13.0322L17.1537 15.2426L15.7395 16.6569L13.529 14.4464ZM12.911 12.4142C13.6921 11.6332 13.6921 10.3668 12.911 9.58579C12.13 8.80474 10.8637 8.80474 10.0826 9.58579C9.30156 10.3668 9.30156 11.6332 10.0826 12.4142C10.8637 13.1953 12.13 13.1953 12.911 12.4142Z" })), BB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43301,7 +43301,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M2 3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM8 5V19H16V5H8ZM4 5V7H6V5H4ZM18 5V7H20V5H18ZM4 9V11H6V9H4ZM18 9V11H20V9H18ZM4 13V15H6V13H4ZM18 13V15H20V13H18ZM4 17V19H6V17H4ZM18 17V19H20V17H18Z" })), ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M2 3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM8 5V19H16V5H8ZM4 5V7H6V5H4ZM18 5V7H20V5H18ZM4 9V11H6V9H4ZM18 9V11H20V9H18ZM4 13V15H6V13H4ZM18 13V15H20V13H18ZM4 17V19H6V17H4ZM18 17V19H20V17H18Z" })), nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43309,7 +43309,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), UB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), VB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43317,7 +43317,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), WB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), HB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43325,7 +43325,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4 5V19H20V7H11.5858L9.58579 5H4ZM12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5Z" })), GB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4 5V19H20V7H11.5858L9.58579 5H4ZM12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5Z" })), UB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43333,7 +43333,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43341,7 +43341,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), KB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), WB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43349,7 +43349,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), qB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), GB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43357,7 +43357,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43365,7 +43365,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M16.5 3C19.5376 3 22 5.5 22 9C22 16 14.5 20 12 21.5C9.5 20 2 16 2 9C2 5.5 4.5 3 7.5 3C9.35997 3 11 4 12 5C13 4 14.64 3 16.5 3ZM12.9339 18.6038C13.8155 18.0485 14.61 17.4955 15.3549 16.9029C18.3337 14.533 20 11.9435 20 9C20 6.64076 18.463 5 16.5 5C15.4241 5 14.2593 5.56911 13.4142 6.41421L12 7.82843L10.5858 6.41421C9.74068 5.56911 8.5759 5 7.5 5C5.55906 5 4 6.6565 4 9C4 11.9435 5.66627 14.533 8.64514 16.9029C9.39 17.4955 10.1845 18.0485 11.0661 18.6038C11.3646 18.7919 11.6611 18.9729 12 19.1752C12.3389 18.9729 12.6354 18.7919 12.9339 18.6038Z" })), rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M16.5 3C19.5376 3 22 5.5 22 9C22 16 14.5 20 12 21.5C9.5 20 2 16 2 9C2 5.5 4.5 3 7.5 3C9.35997 3 11 4 12 5C13 4 14.64 3 16.5 3ZM12.9339 18.6038C13.8155 18.0485 14.61 17.4955 15.3549 16.9029C18.3337 14.533 20 11.9435 20 9C20 6.64076 18.463 5 16.5 5C15.4241 5 14.2593 5.56911 13.4142 6.41421L12 7.82843L10.5858 6.41421C9.74068 5.56911 8.5759 5 7.5 5C5.55906 5 4 6.6565 4 9C4 11.9435 5.66627 14.533 8.64514 16.9029C9.39 17.4955 10.1845 18.0485 11.0661 18.6038C11.3646 18.7919 11.6611 18.9729 12 19.1752C12.3389 18.9729 12.6354 18.7919 12.9339 18.6038Z" })), age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43373,7 +43373,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43381,7 +43381,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5 11.1005L7 9.1005L12.5 14.6005L16 11.1005L19 14.1005V5H5V11.1005ZM5 13.9289V19H8.1005L11.0858 16.0147L7 11.9289L5 13.9289ZM10.9289 19H19V16.9289L16 13.9289L10.9289 19ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM15.5 10C14.6716 10 14 9.32843 14 8.5C14 7.67157 14.6716 7 15.5 7C16.3284 7 17 7.67157 17 8.5C17 9.32843 16.3284 10 15.5 10Z" })), JB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5 11.1005L7 9.1005L12.5 14.6005L16 11.1005L19 14.1005V5H5V11.1005ZM5 13.9289V19H8.1005L11.0858 16.0147L7 11.9289L5 13.9289ZM10.9289 19H19V16.9289L16 13.9289L10.9289 19ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM15.5 10C14.6716 10 14 9.32843 14 8.5C14 7.67157 14.6716 7 15.5 7C16.3284 7 17 7.67157 17 8.5C17 9.32843 16.3284 10 15.5 10Z" })), KB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43389,7 +43389,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43397,7 +43397,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43405,7 +43405,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43413,7 +43413,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), YB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), qB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43421,7 +43421,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43429,7 +43429,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43437,7 +43437,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13.0607 8.11097L14.4749 9.52518C17.2086 12.2589 17.2086 16.691 14.4749 19.4247L14.1214 19.7782C11.3877 22.5119 6.95555 22.5119 4.22188 19.7782C1.48821 17.0446 1.48821 12.6124 4.22188 9.87874L5.6361 11.293C3.68348 13.2456 3.68348 16.4114 5.6361 18.364C7.58872 20.3166 10.7545 20.3166 12.7072 18.364L13.0607 18.0105C15.0133 16.0578 15.0133 12.892 13.0607 10.9394L11.6465 9.52518L13.0607 8.11097ZM19.7782 14.1214L18.364 12.7072C20.3166 10.7545 20.3166 7.58872 18.364 5.6361C16.4114 3.68348 13.2456 3.68348 11.293 5.6361L10.9394 5.98965C8.98678 7.94227 8.98678 11.1081 10.9394 13.0607L12.3536 14.4749L10.9394 15.8891L9.52518 14.4749C6.79151 11.7413 6.79151 7.30911 9.52518 4.57544L9.87874 4.22188C12.6124 1.48821 17.0446 1.48821 19.7782 4.22188C22.5119 6.95555 22.5119 11.3877 19.7782 14.1214Z" })), uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13.0607 8.11097L14.4749 9.52518C17.2086 12.2589 17.2086 16.691 14.4749 19.4247L14.1214 19.7782C11.3877 22.5119 6.95555 22.5119 4.22188 19.7782C1.48821 17.0446 1.48821 12.6124 4.22188 9.87874L5.6361 11.293C3.68348 13.2456 3.68348 16.4114 5.6361 18.364C7.58872 20.3166 10.7545 20.3166 12.7072 18.364L13.0607 18.0105C15.0133 16.0578 15.0133 12.892 13.0607 10.9394L11.6465 9.52518L13.0607 8.11097ZM19.7782 14.1214L18.364 12.7072C20.3166 10.7545 20.3166 7.58872 18.364 5.6361C16.4114 3.68348 13.2456 3.68348 11.293 5.6361L10.9394 5.98965C8.98678 7.94227 8.98678 11.1081 10.9394 13.0607L12.3536 14.4749L10.9394 15.8891L9.52518 14.4749C6.79151 11.7413 6.79151 7.30911 9.52518 4.57544L9.87874 4.22188C12.6124 1.48821 17.0446 1.48821 19.7782 4.22188C22.5119 6.95555 22.5119 11.3877 19.7782 14.1214Z" })), fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43445,7 +43445,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), XB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), JB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43453,7 +43453,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z" })), ZB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z" })), YB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43461,7 +43461,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), QB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), XB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43469,7 +43469,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), $B = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), ZB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43477,7 +43477,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), eV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), QB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43485,7 +43485,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43493,7 +43493,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9 7.53861L15 21.5386L18.6594 13H23V11H17.3406L15 16.4614L9 2.46143L5.3406 11H1V13H6.6594L9 7.53861Z" })), tV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9 7.53861L15 21.5386L18.6594 13H23V11H17.3406L15 16.4614L9 2.46143L5.3406 11H1V13H6.6594L9 7.53861Z" })), $B = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43501,7 +43501,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43509,7 +43509,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4.99958 12.9999C4.99958 7.91198 7.90222 3.5636 11.9996 1.81799C16.0969 3.5636 18.9996 7.91198 18.9996 12.9999C18.9996 13.8229 18.9236 14.6264 18.779 15.4027L20.7194 17.2353C20.8845 17.3913 20.9238 17.6389 20.815 17.8383L18.3196 22.4133C18.1873 22.6557 17.8836 22.7451 17.6412 22.6128C17.5993 22.59 17.5608 22.5612 17.5271 22.5274L15.2925 20.2928C15.1049 20.1053 14.8506 19.9999 14.5854 19.9999H9.41379C9.14857 19.9999 8.89422 20.1053 8.70668 20.2928L6.47209 22.5274C6.27683 22.7227 5.96025 22.7227 5.76498 22.5274C5.73122 22.4937 5.70246 22.4552 5.67959 22.4133L3.18412 17.8383C3.07537 17.6389 3.11464 17.3913 3.27975 17.2353L5.22014 15.4027C5.07551 14.6264 4.99958 13.8229 4.99958 12.9999ZM6.47542 19.6957L7.29247 18.8786C7.85508 18.316 8.61814 17.9999 9.41379 17.9999H14.5854C15.381 17.9999 16.1441 18.316 16.7067 18.8786L17.5237 19.6957L18.5056 17.8955L17.4058 16.8568C16.9117 16.3901 16.6884 15.7045 16.8128 15.0364C16.9366 14.3722 16.9996 13.6911 16.9996 12.9999C16.9996 9.13037 15.0045 5.69965 11.9996 4.04033C8.99462 5.69965 6.99958 9.13037 6.99958 12.9999C6.99958 13.6911 7.06255 14.3722 7.18631 15.0364C7.31078 15.7045 7.08746 16.3901 6.59338 16.8568L5.49353 17.8955L6.47542 19.6957ZM11.9996 12.9999C10.895 12.9999 9.99958 12.1045 9.99958 10.9999C9.99958 9.89537 10.895 8.99994 11.9996 8.99994C13.1041 8.99994 13.9996 9.89537 13.9996 10.9999C13.9996 12.1045 13.1041 12.9999 11.9996 12.9999Z" })), pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4.99958 12.9999C4.99958 7.91198 7.90222 3.5636 11.9996 1.81799C16.0969 3.5636 18.9996 7.91198 18.9996 12.9999C18.9996 13.8229 18.9236 14.6264 18.779 15.4027L20.7194 17.2353C20.8845 17.3913 20.9238 17.6389 20.815 17.8383L18.3196 22.4133C18.1873 22.6557 17.8836 22.7451 17.6412 22.6128C17.5993 22.59 17.5608 22.5612 17.5271 22.5274L15.2925 20.2928C15.1049 20.1053 14.8506 19.9999 14.5854 19.9999H9.41379C9.14857 19.9999 8.89422 20.1053 8.70668 20.2928L6.47209 22.5274C6.27683 22.7227 5.96025 22.7227 5.76498 22.5274C5.73122 22.4937 5.70246 22.4552 5.67959 22.4133L3.18412 17.8383C3.07537 17.6389 3.11464 17.3913 3.27975 17.2353L5.22014 15.4027C5.07551 14.6264 4.99958 13.8229 4.99958 12.9999ZM6.47542 19.6957L7.29247 18.8786C7.85508 18.316 8.61814 17.9999 9.41379 17.9999H14.5854C15.381 17.9999 16.1441 18.316 16.7067 18.8786L17.5237 19.6957L18.5056 17.8955L17.4058 16.8568C16.9117 16.3901 16.6884 15.7045 16.8128 15.0364C16.9366 14.3722 16.9996 13.6911 16.9996 12.9999C16.9996 9.13037 15.0045 5.69965 11.9996 4.04033C8.99462 5.69965 6.99958 9.13037 6.99958 12.9999C6.99958 13.6911 7.06255 14.3722 7.18631 15.0364C7.31078 15.7045 7.08746 16.3901 6.59338 16.8568L5.49353 17.8955L6.47542 19.6957ZM11.9996 12.9999C10.895 12.9999 9.99958 12.1045 9.99958 10.9999C9.99958 9.89537 10.895 8.99994 11.9996 8.99994C13.1041 8.99994 13.9996 9.89537 13.9996 10.9999C13.9996 12.1045 13.1041 12.9999 11.9996 12.9999Z" })), hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43517,7 +43517,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4 15V8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5V15.5C13 16.8807 14.1193 18 15.5 18C16.8807 18 18 16.8807 18 15.5V8.82929C16.8348 8.41746 16 7.30622 16 6C16 4.34315 17.3431 3 19 3C20.6569 3 22 4.34315 22 6C22 7.30622 21.1652 8.41746 20 8.82929V15.5C20 17.9853 17.9853 20 15.5 20C13.0147 20 11 17.9853 11 15.5V8.5C11 7.11929 9.88071 6 8.5 6C7.11929 6 6 7.11929 6 8.5V15H9L5 20L1 15H4ZM19 7C19.5523 7 20 6.55228 20 6C20 5.44772 19.5523 5 19 5C18.4477 5 18 5.44772 18 6C18 6.55228 18.4477 7 19 7Z" })), nV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4 15V8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5V15.5C13 16.8807 14.1193 18 15.5 18C16.8807 18 18 16.8807 18 15.5V8.82929C16.8348 8.41746 16 7.30622 16 6C16 4.34315 17.3431 3 19 3C20.6569 3 22 4.34315 22 6C22 7.30622 21.1652 8.41746 20 8.82929V15.5C20 17.9853 17.9853 20 15.5 20C13.0147 20 11 17.9853 11 15.5V8.5C11 7.11929 9.88071 6 8.5 6C7.11929 6 6 7.11929 6 8.5V15H9L5 20L1 15H4ZM19 7C19.5523 7 20 6.55228 20 6C20 5.44772 19.5523 5 19 5C18.4477 5 18 5.44772 18 6C18 6.55228 18.4477 7 19 7Z" })), eV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43525,7 +43525,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), rV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), tV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43533,7 +43533,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), iV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), nV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43541,7 +43541,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z" })), mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z" })), gge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43549,7 +43549,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), aV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), rV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43557,7 +43557,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M7 4V20H17V4H7ZM6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M7 4V20H17V4H7ZM6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), _ge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43565,7 +43565,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), oV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), iV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43573,7 +43573,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M7 7V17H17V7H7ZM6 5H18C18.5523 5 19 5.44772 19 6V18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5Z" })), gge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M7 7V17H17V7H7ZM6 5H18C18.5523 5 19 5.44772 19 6V18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5Z" })), vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43581,7 +43581,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), _ge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43589,7 +43589,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M19 4H5V20H19V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H19.9997C20.5519 2 20.9996 2.44772 20.9997 3L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM11.2929 13.1213L15.5355 8.87868L16.9497 10.2929L11.2929 15.9497L7.40381 12.0607L8.81802 10.6464L11.2929 13.1213Z" })), vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M19 4H5V20H19V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H19.9997C20.5519 2 20.9996 2.44772 20.9997 3L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM11.2929 13.1213L15.5355 8.87868L16.9497 10.2929L11.2929 15.9497L7.40381 12.0607L8.81802 10.6464L11.2929 13.1213Z" })), bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43597,7 +43597,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43605,7 +43605,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), sV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), aV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43613,7 +43613,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5.32943 3.27158C6.56252 2.8332 7.9923 3.10749 8.97927 4.09446C10.1002 5.21537 10.3019 6.90741 9.5843 8.23385L20.293 18.9437L18.8788 20.3579L8.16982 9.64875C6.84325 10.3669 5.15069 10.1654 4.02952 9.04421C3.04227 8.05696 2.7681 6.62665 3.20701 5.39332L5.44373 7.63C6.02952 8.21578 6.97927 8.21578 7.56505 7.63C8.15084 7.04421 8.15084 6.09446 7.56505 5.50868L5.32943 3.27158ZM15.6968 5.15512L18.8788 3.38736L20.293 4.80157L18.5252 7.98355L16.7574 8.3371L14.6361 10.4584L13.2219 9.04421L15.3432 6.92289L15.6968 5.15512ZM8.97927 13.2868L10.3935 14.7011L5.09018 20.0044C4.69966 20.3949 4.06649 20.3949 3.67597 20.0044C3.31334 19.6417 3.28744 19.0699 3.59826 18.6774L3.67597 18.5902L8.97927 13.2868Z" })), bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5.32943 3.27158C6.56252 2.8332 7.9923 3.10749 8.97927 4.09446C10.1002 5.21537 10.3019 6.90741 9.5843 8.23385L20.293 18.9437L18.8788 20.3579L8.16982 9.64875C6.84325 10.3669 5.15069 10.1654 4.02952 9.04421C3.04227 8.05696 2.7681 6.62665 3.20701 5.39332L5.44373 7.63C6.02952 8.21578 6.97927 8.21578 7.56505 7.63C8.15084 7.04421 8.15084 6.09446 7.56505 5.50868L5.32943 3.27158ZM15.6968 5.15512L18.8788 3.38736L20.293 4.80157L18.5252 7.98355L16.7574 8.3371L14.6361 10.4584L13.2219 9.04421L15.3432 6.92289L15.6968 5.15512ZM8.97927 13.2868L10.3935 14.7011L5.09018 20.0044C4.69966 20.3949 4.06649 20.3949 3.67597 20.0044C3.31334 19.6417 3.28744 19.0699 3.59826 18.6774L3.67597 18.5902L8.97927 13.2868Z" })), Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43621,7 +43621,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), cV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), oV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43629,7 +43629,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z" })), lV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z" })), sV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43637,7 +43637,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), uV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), cV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43645,7 +43645,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), Cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43653,7 +43653,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), dV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), lV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43661,7 +43661,7 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" })), Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" })), wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43671,8 +43671,8 @@ var Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => FclassName: "remixicon " + (n || "")}, F.createElement("path", { d: "M8.00008 6V9H5.00008V6H8.00008ZM3.00008 4V11H10.0001V4H3.00008ZM13.0001 4H21.0001V6H13.0001V4ZM13.0001 11H21.0001V13H13.0001V11ZM13.0001 18H21.0001V20H13.0001V18ZM10.7072 16.2071L9.29297 14.7929L6.00008 18.0858L4.20718 16.2929L2.79297 17.7071L6.00008 20.9142L10.7072 16.2071Z" }));// src/react/boardui/components/base/input/label.tsx-function fV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, I.jsxs)(YL, {+function uV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, I.jsxs)(qL, {"data-label": "true",...a,className: q("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),@@ -43683,7 +43683,7 @@ function fV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childrclassName: "text-body-medium text-text-error-primary",children: "*"}),- n && /* @__PURE__ */ (0, I.jsx)(age, {+ n && /* @__PURE__ */ (0, I.jsx)(sge, {className: "size-4 shrink-0 text-foreground-icon-quaternary","aria-hidden": !0})@@ -43691,23 +43691,23 @@ function fV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr});}// src/react/boardui/components/base/input/hint-text.tsx-function pV({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, I.jsx)(Spe, {+function dV({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, I.jsx)(wpe, {slot: e ? "errorMessage" : "description",...n,className: q("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});}// src/react/boardui/components/base/input/input.tsx-var mV = (0, F.createContext)({});-function hV({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, I.jsx)(mV.Provider, {+var fV = (0, F.createContext)({});+function pV({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, I.jsx)(fV.Provider, {value: {size: e,fieldClassName: t,inputClassName: n},- children: /* @__PURE__ */ (0, I.jsx)(She, {+ children: /* @__PURE__ */ (0, I.jsx)(whe, {...a,"data-input-size": e,className: q("group flex h-max w-full flex-col items-start gap-1", r),@@ -43715,8 +43715,8 @@ function hV({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam})});}-hV.displayName = "TextField";-var gV = KI({+pV.displayName = "TextField";+var mV = WI({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",@@ -43731,44 +43731,44 @@ var gV = KI({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 _V({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, F.useContext)(mV), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, I.jsx)(sR, {+function hV({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, F.useContext)(fV), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, I.jsx)(aR, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => q(gV.field, d ? gV.fieldWithAddonSize[u] : gV.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 }) => q(mV.field, d ? mV.fieldWithAddonSize[u] : mV.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),children: /* @__PURE__ */ (0, I.jsxs)("div", {- className: gV.content,+ className: mV.content,children: [/* @__PURE__ */ (0, I.jsxs)("div", {- className: gV.leftSection,+ className: mV.leftSection,children: [d ? r : t ? /* @__PURE__ */ (0, I.jsx)(t, {- className: gV.icon,+ className: mV.icon,"aria-hidden": !0- }) : null, /* @__PURE__ */ (0, I.jsx)(Ope, {+ }) : null, /* @__PURE__ */ (0, I.jsx)(Ape, {ref: o,...c,- className: q(gV.input, l.inputClassName, a)+ className: q(mV.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, I.jsx)(n, {- className: gV.icon,+ className: mV.icon,"aria-hidden": !0}) : null]})});}-_V.displayName = "InputBase";-function vV({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {- return /* @__PURE__ */ (0, I.jsx)(hV, {+hV.displayName = "InputBase";+function gV({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {+ return /* @__PURE__ */ (0, I.jsx)(pV, {...d,className: u,"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- e && /* @__PURE__ */ (0, I.jsx)(fV, {+ e && /* @__PURE__ */ (0, I.jsx)(uV, {isRequired: u,isInvalid: d,tooltip: n,children: e}),- /* @__PURE__ */ (0, I.jsx)(_V, {+ /* @__PURE__ */ (0, I.jsx)(hV, {ref: c,groupRef: l,placeholder: r,@@ -43777,25 +43777,25 @@ function vV({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, traleadingAddon: o,fieldClassName: s}),- t && /* @__PURE__ */ (0, I.jsx)(pV, {+ t && /* @__PURE__ */ (0, I.jsx)(dV, {isInvalid: d,children: t})] })});}-vV.displayName = "Input";+gV.displayName = "Input";// src/react/components/modal-frame.tsx-var Cge = {+var Tge = {"avatar-picker": "max-w-avatar-picker","cover-crop": "max-w-cover-crop",form: "max-w-form-modal",collections: "max-w-4xl",tutorial: "max-w-2xl"};-function yV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfaceClassName: a = "" }) {- let { isFocusVisible: o } = OC();- return /* @__PURE__ */ (0, I.jsx)(Vz, {+function _V({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfaceClassName: a = "" }) {+ let { isFocusVisible: o } = kC();+ return /* @__PURE__ */ (0, I.jsx)(zz, {isOpen: e,onOpenChange: t,isDismissable: !0,@@ -43803,11 +43803,11 @@ function yV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfa"data-modal-kind": n,"data-motion-instant": o || void 0,className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, I.jsx)(ume, {+ children: /* @__PURE__ */ (0, I.jsx)(fme, {"data-modal-surface": "","data-modal-width": n,- className: q("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", Cge[n], a),- children: /* @__PURE__ */ (0, I.jsx)(Lz, {+ className: q("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", Tge[n], a),+ children: /* @__PURE__ */ (0, I.jsx)(Fz, {"aria-label": r,className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",children: i@@ -43815,7 +43815,7 @@ function yV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfa})});}-function bV({ children: e }) {+function vV({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",@@ -43823,7 +43823,7 @@ function bV({ children: e }) {});}// src/react/components/note.tsx-function xV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {+function yV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {let s = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-note-layout": "",className: q("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),@@ -43871,11 +43871,11 @@ function xV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:}}// src/react/components/empty-state.tsx-var wge = {+var Ege = {standard: "min-h-80 px-6 py-12",compact: "min-h-60 px-4 py-6"};-function Tge({ target: e, children: t }) {+function Dge({ target: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)(J, {size: "small",variant: "secondary",@@ -43883,11 +43883,11 @@ function Tge({ target: e, children: t }) {children: t});}-function SV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {+function bV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-empty-state": "","data-empty-size": i,- className: `col-span-full flex w-full min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${wge[i]}`,+ className: `col-span-full flex w-full min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${Ege[i]}`,children: [/* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,@@ -43913,11 +43913,11 @@ function SV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }});}// src/react/components/sprite-glyph.tsx-var CV = /* @__PURE__ */ new Map();-function wV(e) {- let t = CV.get(e);+var xV = /* @__PURE__ */ new Map();+function SV(e) {+ let t = xV.get(e);if (t) return t;- let { wide: n, viewBox: r } = Sn(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, I.jsx)("svg", {+ let { wide: n, viewBox: r } = xn(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, I.jsx)("svg", {"aria-hidden": !0,viewBox: r,className: `iconwide shrink-0 fill-current ${t ?? "h-4 w-auto"}`,@@ -43931,10 +43931,10 @@ function wV(e) {className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});- return i.displayName = `SpriteGlyph(${e})`, CV.set(e, i), i;+ return i.displayName = `SpriteGlyph(${e})`, xV.set(e, i), i;}// src/react/components/settings-dialog-close.tsx-function TV({ label: e, id: t, onPress: n }) {+function CV({ label: e, id: t, onPress: n }) {return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",id: t,@@ -43949,60 +43949,60 @@ function TV({ label: e, id: t, onPress: n }) {});}// src/react/settings/busy-props.ts-function EV(e) {+function wV(e) {return e ? {"aria-busy": !0,"aria-disabled": !0} : {};}// src/react/library-shortcuts/library-shortcuts.ts-var DV = ["library-shortcuts"], OV = "/api/library-shortcuts";-function kV(e = !0) {- return Pt({- queryKey: DV,- queryFn: ({ signal: e }) => B(OV, e),+var TV = ["library-shortcuts"], EV = "/api/library-shortcuts";+function DV(e = !0) {+ return Nt({+ queryKey: TV,+ queryFn: ({ signal: e }) => V(EV, e),enabled: e,refetchOnMount: e ? "always" : !1});}-function AV() {- return Ft({- mutationKey: DV,- mutationFn: (e) => V(OV, e),+function OV() {+ return Pt({+ mutationKey: TV,+ mutationFn: (e) => H(EV, e),onSuccess: (e, t) => {- H.setQueryData(DV, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));+ U.setQueryData(TV, e), t.action === "favorite" && t.scope === "online" && (U.invalidateQueries({ queryKey: ["follow", "tags"] }), U.invalidateQueries({ queryKey: ["tag-management"] }));}});}-function jV(e, t) {+function kV(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 Ege(e) {- return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : Nn(e.kind, e.name, e.entity_id);+function Oge(e) {+ return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : Mn(e.kind, e.name, e.entity_id);}// src/react/library-shortcuts/shortcut-controls.tsx-var MV = wV("star"), Dge = wV("bookmark-plus"), NV = wV("chevron-right"), PV = {+var AV = SV("star"), kge = SV("bookmark-plus"), jV = SV("chevron-right"), MV = {performer: "艺人",creator: "创作者",studio: "片商与厂牌",series: "系列",agency: "事务所",tag: "标签"-}, FV = {- all: wV("star"),- performer: wV("user-round"),- creator: wV("user-round"),- studio: wV("clapperboard"),- series: wV("film"),- agency: wV("briefcase"),- tag: wV("tags"),- filters: wV("list-filter")-}, IV = [+}, NV = {+ all: SV("star"),+ performer: SV("user-round"),+ creator: SV("user-round"),+ studio: SV("clapperboard"),+ series: SV("film"),+ agency: SV("briefcase"),+ tag: SV("tags"),+ filters: SV("list-filter")+}, PV = [["all", "全部"],- ...Object.entries(PV),+ ...Object.entries(MV),["filters", "保存的筛选"]];-function LV({ label: e, children: t, ...n }) {+function FV({ label: e, children: t, ...n }) {return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",...n,@@ -44012,20 +44012,20 @@ function LV({ label: e, children: t, ...n }) {children: t});}-function RV({ item: e }) {- return /* @__PURE__ */ (0, I.jsx)(Oge, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);+function IV({ item: e }) {+ return /* @__PURE__ */ (0, I.jsx)(Age, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);}-function Oge({ item: e }) {- gL();- let t = kV(!1), n = (0, F.useRef)(t.data), r = AV(), i = t.data && t.data !== n.current ? jV(t.data.favorites || [], e) : e.favorite ?? (t.data ? jV(t.data.favorites || [], e) : !1);+function Age({ item: e }) {+ mL();+ let t = DV(!1), n = (0, F.useRef)(t.data), r = OV(), i = t.data && t.data !== n.current ? kV(t.data.favorites || [], e) : e.favorite ?? (t.data ? kV(t.data.favorites || [], e) : !1);return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex min-w-0 flex-col gap-1",children: [- /* @__PURE__ */ (0, I.jsx)(LV, {+ /* @__PURE__ */ (0, I.jsx)(FV, {"data-favorite": "","aria-pressed": !!i,- label: `${i ? "取消收藏" : "收藏"}${tn(e.kind, e.name, e.entity_id)}`,- ...EV(r.isPending),+ label: `${i ? "取消收藏" : "收藏"}${en(e.kind, e.name, e.entity_id)}`,+ ...wV(r.isPending),onClick: () => {r.isPending || r.mutate({action: "favorite",@@ -44035,12 +44035,12 @@ function Oge({ item: e }) {},children: r.isPending ? /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,- dangerouslySetInnerHTML: { __html: zs("") }- }) : /* @__PURE__ */ (0, I.jsx)(MV, {})+ dangerouslySetInnerHTML: { __html: Rs("") }+ }) : /* @__PURE__ */ (0, I.jsx)(AV, {})}),- r.isError ? /* @__PURE__ */ (0, I.jsx)(xV, {+ r.isError ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",- children: cr(r.error)+ children: sr(r.error)}) : null,t.isError ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -44052,51 +44052,51 @@ function Oge({ item: e }) {]});}-function zV({ currentHref: e, kind: t }) {+function LV({ currentHref: e, kind: t }) {let [n, r] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-shortcuts-entry": "",- children: /* @__PURE__ */ (0, I.jsx)(CL, {+ children: /* @__PURE__ */ (0, I.jsx)(xL, {"data-shortcuts-trigger": "",label: "我的收藏",- icon: MV,+ icon: AV,"aria-haspopup": "dialog","aria-expanded": n,onPress: () => r(!0)})- }), /* @__PURE__ */ (0, I.jsx)(yV, {+ }), /* @__PURE__ */ (0, I.jsx)(_V, {isOpen: n,onOpenChange: r,width: "collections",label: "我的收藏",- children: n ? /* @__PURE__ */ (0, I.jsx)(kge, {+ children: n ? /* @__PURE__ */ (0, I.jsx)(jge, {currentHref: e,kind: t,close: () => r(!1)}) : null})] });}-function kge({ currentHref: e, kind: t, close: n }) {- gL();- let r = kV(), i = AV(), [a, o] = (0, F.useState)(""), [s, c] = (0, F.useState)(t || "all"), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), p = (0, F.useId)(), [m, h] = (0, F.useState)(() => matchMedia("(max-width: 760px)").matches);+function jge({ currentHref: e, kind: t, close: n }) {+ mL();+ let r = DV(), i = OV(), [a, o] = (0, F.useState)(""), [s, c] = (0, F.useState)(t || "all"), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), p = (0, F.useId)(), [m, h] = (0, F.useState)(() => matchMedia("(max-width: 760px)").matches);(0, F.useEffect)(() => {let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(s), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = kL(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });+ let g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(s), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = DL(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });(0, F.useLayoutEffect)(() => {- b.current && (x.current = Lo(b.current) || null);+ b.current && (x.current = Io(b.current) || null);}, []), (0, F.useLayoutEffect)(() => {- let e = kc(g.current);+ let e = Oc(g.current);return () => e?.destroy();}, []), (0, F.useLayoutEffect)(() => {b.current && (b.current.scrollTop = 0);}, [s]), (0, F.useLayoutEffect)(() => {- v.current !== s && ec(_.current, "h2"), v.current = s;+ v.current !== s && $s(_.current, "h2"), v.current = s;}, [s]), (0, F.useLayoutEffect)(() => {x.current?.();});- let C = IV.find(([e]) => e === s)?.[1] || "全部", w = (e) => {+ let C = PV.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;@@ -44109,7 +44109,7 @@ function kge({ currentHref: e, kind: t, close: n }) {}, { onSuccess: () => {o(""), f("筛选已保存");} });- }, E = r.data, D = l.trim().toLocaleLowerCase(), O = (E?.favorites || []).filter((e) => (s === "all" || e.kind === s) && (e.name.toLocaleLowerCase().includes(D) || tn(e.kind, e.name, e.entity_id).toLocaleLowerCase().includes(D)));+ }, E = r.data, D = l.trim().toLocaleLowerCase(), O = (E?.favorites || []).filter((e) => (s === "all" || e.kind === s) && (e.name.toLocaleLowerCase().includes(D) || en(e.kind, e.name, e.entity_id).toLocaleLowerCase().includes(D)));return /* @__PURE__ */ (0, I.jsxs)("div", {"data-shortcuts-panel": "",children: [@@ -44119,7 +44119,7 @@ function kge({ currentHref: e, kind: t, close: n }) {children: [/* @__PURE__ */ (0, I.jsx)("h2", {className: "text-title-2-semibold text-text-primary",children: C- }), /* @__PURE__ */ (0, I.jsx)(TV, {+ }), /* @__PURE__ */ (0, I.jsx)(CV, {label: "关闭我的收藏",onPress: n})]@@ -44149,8 +44149,8 @@ function kge({ currentHref: e, kind: t, close: n }) {role: "presentation",children: "我的收藏"}),- IV.map(([e, t]) => {- let n = FV[e] || MV, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;+ PV.map(([e, t]) => {+ let n = NV[e] || AV, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",role: "tab",@@ -44182,17 +44182,17 @@ function kge({ currentHref: e, kind: t, close: n }) {href: "/flagged",onClick: n,children: [- /* @__PURE__ */ (0, I.jsx)(MV, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, I.jsx)(AV, { "aria-hidden": !0 }),"已标记",- /* @__PURE__ */ (0, I.jsx)(NV, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, I.jsx)(jV, { "aria-hidden": !0 })]}), /* @__PURE__ */ (0, I.jsxs)("a", {href: "/watch-later",onClick: n,children: [- /* @__PURE__ */ (0, I.jsx)(Dge, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, I.jsx)(kge, { "aria-hidden": !0 }),"稍后看",- /* @__PURE__ */ (0, I.jsx)(NV, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, I.jsx)(jV, { "aria-hidden": !0 })]})]})]@@ -44211,25 +44211,25 @@ function kge({ currentHref: e, kind: t, close: n }) {"data-skeleton": "",className: "h-12 animate-pulse rounded-lg bg-background-secondary-default"}) : null,- r.isError ? /* @__PURE__ */ (0, I.jsx)(xV, {+ r.isError ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",onClick: () => void r.refetch(),children: "立即重试"}),- children: cr(r.error)+ children: sr(r.error)}) : null,- i.isError ? /* @__PURE__ */ (0, I.jsx)(xV, {+ i.isError ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",- children: cr(i.error)+ children: sr(i.error)}) : null,E ? s === "filters" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- E.filters.length ? null : /* @__PURE__ */ (0, I.jsx)(SV, {+ E.filters.length ? null : /* @__PURE__ */ (0, I.jsx)(bV, {size: "compact",- icon: wV("list-filter"),+ icon: SV("list-filter"),title: "还没有保存的筛选",- actions: /* @__PURE__ */ (0, I.jsx)(jL, {+ actions: /* @__PURE__ */ (0, I.jsx)(kL, {size: "small",href: "/",onClick: n,@@ -44248,7 +44248,7 @@ function kge({ currentHref: e, kind: t, close: n }) {variant: "secondary",size: "small","aria-label": `删除筛选${e.name}`,- ...EV(i.isPending),+ ...wV(i.isPending),onClick: () => {i.isPending || i.mutate({action: "delete_filter",@@ -44263,7 +44263,7 @@ function kge({ currentHref: e, kind: t, close: n }) {className: "flex flex-col gap-3","aria-label": "保存当前筛选",children: [- /* @__PURE__ */ (0, I.jsx)(vV, {+ /* @__PURE__ */ (0, I.jsx)(gV, {label: "筛选名称",value: a,onChange: o,@@ -44272,7 +44272,7 @@ function kge({ currentHref: e, kind: t, close: n }) {/* @__PURE__ */ (0, I.jsx)(J, {type: "submit",disabled: !a.trim(),- ...EV(i.isPending),+ ...wV(i.isPending),children: "保存当前筛选"}),d ? /* @__PURE__ */ (0, I.jsx)("span", {@@ -44283,16 +44283,16 @@ function kge({ currentHref: e, kind: t, close: n }) {]}) : null] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(vV, {+ /* @__PURE__ */ (0, I.jsx)(gV, {"aria-label": "搜索收藏",placeholder: "搜索收藏",- leadingIcon: wV("search"),+ leadingIcon: SV("search"),value: l,onChange: u}),- O.length ? null : /* @__PURE__ */ (0, I.jsx)(SV, {+ O.length ? null : /* @__PURE__ */ (0, I.jsx)(bV, {size: "compact",- icon: MV,+ icon: AV,title: l ? "没有匹配的收藏" : E.favorites.length ? "还没有此类收藏" : "还没有收藏",actions: l ? /* @__PURE__ */ (0, I.jsx)(J, {size: "small",@@ -44302,7 +44302,7 @@ function kge({ currentHref: e, kind: t, close: n }) {size: "small",onClick: () => c("all"),children: "查看全部收藏"- }) : /* @__PURE__ */ (0, I.jsx)(jL, {+ }) : /* @__PURE__ */ (0, I.jsx)(kL, {size: "small",href: "/",onClick: n,@@ -44316,25 +44316,25 @@ function kge({ currentHref: e, kind: t, close: n }) {"data-shortcuts-row": "",className: "flex min-w-0 items-center justify-between gap-3",children: [/* @__PURE__ */ (0, I.jsxs)("a", {- href: Ege(e),- "aria-label": tn(e.kind, e.name, e.entity_id),+ href: Oge(e),+ "aria-label": en(e.kind, e.name, e.entity_id),onClick: n,className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",- children: [/* @__PURE__ */ (0, I.jsx)(Age, { item: e }, e.image_url), /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(Mge, { item: e }, e.image_url), /* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "truncate",- children: tn(e.kind, e.name, e.entity_id)+ children: en(e.kind, e.name, e.entity_id)}), /* @__PURE__ */ (0, I.jsx)("span", {className: "text-caption-1-regular text-text-secondary",- children: e.scope === "online" ? "在线标签" : PV[e.kind]+ children: e.scope === "online" ? "在线标签" : MV[e.kind]})]})]}), /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- "aria-label": `取消收藏${tn(e.kind, e.name, e.entity_id)}`,- ...EV(i.isPending),+ "aria-label": `取消收藏${en(e.kind, e.name, e.entity_id)}`,+ ...wV(i.isPending),onClick: () => {i.isPending || i.mutate({action: "favorite",@@ -44352,8 +44352,8 @@ function kge({ currentHref: e, kind: t, close: n }) {]});}-function Age({ item: e }) {- let t = FV[e.kind] || MV;+function Mge({ item: e }) {+ let t = NV[e.kind] || AV;return /* @__PURE__ */ (0, I.jsxs)("span", {"data-shortcuts-avatar": "",title: e.image_label || e.name,@@ -44371,11 +44371,11 @@ function Age({ item: e }) {});}// src/react/components/board-navigation-link.tsx-function jge(e) {+function Nge(e) {return /* @__PURE__ */ (0, I.jsx)("a", { ...e });}// src/react/boardui/components/foundations/icons/chevrons.tsx-function Mge(e) {+function Pge(e) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -44389,7 +44389,7 @@ function Mge(e) {})});}-function Nge(e) {+function Fge(e) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 12 12",fill: "none",@@ -44403,7 +44403,7 @@ function Nge(e) {})});}-function BV(e) {+function RV(e) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -44416,7 +44416,7 @@ function BV(e) {});}// src/react/boardui/components/base/breadcrumb/breadcrumb.tsx-function Pge({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {+function Ige({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {let i = F.Children.toArray(e).filter(F.isValidElement);return /* @__PURE__ */ (0, I.jsx)("nav", {ref: r,@@ -44424,14 +44424,14 @@ function Pge({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: rclassName: q("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),children: /* @__PURE__ */ (0, I.jsx)("ol", {className: "flex items-center gap-2.5 px-1",- children: i.map((e, t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, I.jsx)(Nge, {+ children: i.map((e, t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, I.jsx)(Fge, {className: "size-3 shrink-0 text-text-tertiary","aria-hidden": !0}), e] }, e.key ?? t))})});}-function VV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {+function zV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {let o = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t && /* @__PURE__ */ (0, I.jsx)(t, {className: "size-4 shrink-0","aria-hidden": !0@@ -44444,7 +44444,7 @@ function VV({ children: e, icon: t, href: n, onClick: r, current: i = !1, classNlet s = q("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);return /* @__PURE__ */ (0, I.jsx)("li", {className: "flex items-center",- children: n ? /* @__PURE__ */ (0, I.jsx)(jge, {+ children: n ? /* @__PURE__ */ (0, I.jsx)(Nge, {href: n,className: s,children: o@@ -44457,14 +44457,14 @@ function VV({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN});}// src/react/boardui/components/foundations/direction/direction.tsx-function HV() {- return Lw().direction;+function BV() {+ return Rw().direction;}// src/react/boardui/components/base/dropdown/menu-styles.ts-var UV = "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", Fge = "w-[266px]", Ige = "flex w-full flex-col gap-1 outline-none", WV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", GV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+var VV = "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", Lge = "w-[266px]", Rge = "flex w-full flex-col gap-1 outline-none", HV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", UV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";// src/react/boardui/components/base/tree-view/tree-view.tsx-function Lge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {- let c = HV(), l = (0, F.useContext)(KL), u = l === WL && !s.dragAndDropHooks ? qV : l;+function zge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {+ let c = BV(), l = (0, F.useContext)(WL), u = l === HL && !s.dragAndDropHooks ? GV : l;return /* @__PURE__ */ (0, I.jsx)("div", {className: "contents",onKeyDownCapture: (e) => {@@ -44481,23 +44481,23 @@ function Lge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",}}},- children: /* @__PURE__ */ (0, I.jsx)(KL.Provider, {+ children: /* @__PURE__ */ (0, I.jsx)(WL.Provider, {value: u,- children: /* @__PURE__ */ (0, I.jsx)(The, {+ children: /* @__PURE__ */ (0, I.jsx)(Dhe, {...s,ref: o,selectionMode: n,"data-size": e,"data-show-guides": t,renderEmptyState: r,- className: (e) => q("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === qV ? "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) => q("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === GV ? "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 KV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {- let d = HV();- return /* @__PURE__ */ (0, I.jsxs)(Ohe, {+function WV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {+ let d = BV();+ return /* @__PURE__ */ (0, I.jsxs)(Ahe, {...u,ref: l,textValue: t,@@ -44506,10 +44506,10 @@ function KV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam...typeof c == "function" ? c(e) : c}),className: (e) => q("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),- children: [/* @__PURE__ */ (0, I.jsx)(Dhe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {- let f = n === null ? null : o && r ? r : n ?? (t ? o ? GB : UB : Xhe);+ children: [/* @__PURE__ */ (0, I.jsx)(khe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? UB : VB : Qhe);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(zge, {+ /* @__PURE__ */ (0, I.jsx)(Vge, {state: l,id: u,level: c,@@ -44519,11 +44519,11 @@ function KV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam}),/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex shrink-0 items-center gap-1",- children: [t ? /* @__PURE__ */ (0, I.jsx)(ZL, {+ children: [t ? /* @__PURE__ */ (0, I.jsx)(YL, {slot: "chevron",isDisabled: s,className: "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground-icon-tertiary outline-none transition-colors hover:text-foreground-icon-primary data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring",- children: /* @__PURE__ */ (0, I.jsx)(MB, {+ children: /* @__PURE__ */ (0, I.jsx)(AB, {"aria-hidden": !0,className: q("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")})@@ -44547,24 +44547,24 @@ function KV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam} }), o]});}-var qV = {- ...WL,- CollectionRoot: Rge+var GV = {+ ...HL,+ CollectionRoot: Bge};-function Rge({ collection: e, ...t }) {- let n = (0, F.useContext)(DB);- return n ? /* @__PURE__ */ (0, I.jsx)(kx, {+function Bge({ collection: e, ...t }) {+ let n = (0, F.useContext)(TB);+ return n ? /* @__PURE__ */ (0, I.jsx)(Ax, {initial: !1,- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(Bge, {+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(Hge, {state: n,children: e.render?.(e)}, e.key))- }) : /* @__PURE__ */ (0, I.jsx)(WL.CollectionRoot, {+ }) : /* @__PURE__ */ (0, I.jsx)(HL.CollectionRoot, {collection: e,...t});}-function zge({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {+function Vge({ 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;@@ -44623,9 +44623,9 @@ function zge({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction]});}-function Bge({ state: e, children: t }) {- let n = Ex(), r = $x(), [i, a] = (0, F.useState)(e);- return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(dS.div, {+function Hge({ state: e, children: t }) {+ let n = Dx(), r = eS(), [i, a] = (0, F.useState)(e);+ return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(fS.div, {role: "presentation",className: "relative min-w-0 shrink-0 overflow-hidden","data-tree-view-exiting": !n || void 0,@@ -44664,14 +44664,14 @@ function Bge({ state: e, children: t }) {1]},- children: /* @__PURE__ */ (0, I.jsx)(DB.Provider, {+ children: /* @__PURE__ */ (0, I.jsx)(TB.Provider, {value: n ? e : i,children: t})});}// src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var JV = {+var KV = {md: {box: "size-4",glyph: "size-4",@@ -44685,8 +44685,8 @@ var JV = {gap: "gap-1.5"}};-function YV({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = JV[t], c = n || r, l = o && !a;+function qV({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = KV[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,className: q("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? q("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : q("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),@@ -44712,13 +44712,13 @@ function YV({ state: e, size: t = "md" }) {});}// src/react/boardui/components/base/checkbox/checkbox.tsx-function XV({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = JV[n];- return /* @__PURE__ */ (0, I.jsx)(Tpe, {+function JV({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = KV[n];+ return /* @__PURE__ */ (0, I.jsx)(Dpe, {ref: r,...i,className: (t) => q("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(YV, {+ children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(qV, {state: e,size: n}), t != null && /* @__PURE__ */ (0, I.jsx)("span", {@@ -44728,55 +44728,55 @@ function XV({ className: e, children: t, size: n = "md", ref: r, ...i }) {});}// src/react/components/overlay-scrollbar.ts-function ZV() {+function YV() {let e = (0, F.useRef)(null), t = (0, F.useRef)(null);return (0, F.useEffect)(() => {t.current?.node !== e.current && (t.current?.control?.destroy(), t.current = e.current ? {node: e.current,- control: Lo(e.current)+ control: Io(e.current)} : null);}), (0, F.useEffect)(() => () => {t.current?.control?.destroy(), t.current = null;}, []), e;}// src/react/providers.tsx-var QV = null;-function Vge() {- return QV?.isConnected || (QV = document.createElement("div"), QV.className = "peach-react", QV.dataset.reactOverlays = "", document.body.append(QV)), QV;+var XV = null;+function Uge() {+ return XV?.isConnected || (XV = document.createElement("div"), XV.className = "peach-react", XV.dataset.reactOverlays = "", document.body.append(XV)), XV;}-function $V({ children: e }) {+function ZV({ children: e }) {return /* @__PURE__ */ (0, I.jsx)(oe, {- client: H,- children: /* @__PURE__ */ (0, I.jsx)($re, {+ client: U,+ children: /* @__PURE__ */ (0, I.jsx)(Qre, {reducedMotion: "user",children: /* @__PURE__ */ (0, I.jsx)(DD, {- getContainer: Vge,+ getContainer: Uge,children: e})})});}// node_modules/sonner/dist/index.mjs-function Hge(e) {+function Wge(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 Uge = (e) => {+var Gge = (e) => {switch (e) {- case "success": return Kge;- case "info": return Jge;- case "warning": return qge;- case "error": return Yge;+ case "success": return Jge;+ case "info": return Xge;+ case "warning": return Yge;+ case "error": return Zge;default: return null;}-}, Wge = Array(12).fill(0), Gge = ({ visible: e, className: t }) => /*#__PURE__*/ F.createElement("div", {+}, Kge = Array(12).fill(0), qge = ({ visible: e, className: t }) => /*#__PURE__*/ F.createElement("div", {className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),"data-visible": e-}, /*#__PURE__*/ F.createElement("div", { className: "sonner-spinner" }, Wge.map((e, t) => /*#__PURE__*/ F.createElement("div", {+}, /*#__PURE__*/ F.createElement("div", { className: "sonner-spinner" }, Kge.map((e, t) => /*#__PURE__*/ F.createElement("div", {className: "sonner-loading-bar",key: `spinner-bar-${t}`-})))), Kge = /*#__PURE__*/ F.createElement("svg", {+})))), Jge = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44787,7 +44787,7 @@ var Uge = (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"-})), qge = /*#__PURE__*/ F.createElement("svg", {+})), Yge = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 24 24",fill: "currentColor",@@ -44798,7 +44798,7 @@ var Uge = (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"-})), Jge = /*#__PURE__*/ F.createElement("svg", {+})), Xge = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44809,7 +44809,7 @@ var Uge = (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"-})), Yge = /*#__PURE__*/ F.createElement("svg", {+})), Zge = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44820,7 +44820,7 @@ var Uge = (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"-})), Xge = /*#__PURE__*/ F.createElement("svg", {+})), Qge = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",width: "12",height: "12",@@ -44841,7 +44841,7 @@ var Uge = (e) => {y1: "6",x2: "18",y2: "18"-})), Zge = () => {+})), $ge = () => {let [e, t] = F.useState(document.hidden);return F.useEffect(() => {let e = () => {@@ -44849,7 +44849,7 @@ var Uge = (e) => {};return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);}, []), e;-}, Qge = 1, $ge = 100, eH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Qge++, tH = new class {+}, e_e = 1, t_e = 100, QV = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : e_e++, $V = new class {constructor() {this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {let t = this.subscribers.indexOf(e);@@ -44859,10 +44859,10 @@ var Uge = (e) => {}, this.addToast = (e) => {this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();}, this.trimHistory = () => {- let e = this.toasts.length - $ge;+ let e = this.toasts.length - t_e;e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));}, this.create = (e) => {- let { message: t, ...n } = e, r = eH(e), i = this.pendingDismissals.get(r);+ let { message: t, ...n } = e, r = QV(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({@@ -44937,7 +44937,7 @@ var Uge = (e) => {type: "default",message: e});- else if (t_e(e) && !e.ok) {+ else if (r_e(e) && !e.ok) {i = !1;let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !F.isValidElement(r) ? r : { message: r };this.create({@@ -44981,7 +44981,7 @@ var Uge = (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 = eH(t);+ let n = QV(t);return this.create({...t,jsx: e(n),@@ -44990,37 +44990,37 @@ var Uge = (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();}-}(), e_e = (e, t) => tH.message(e, t), t_e = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", nH = Object.assign(e_e, {- success: tH.success,- info: tH.info,- warning: tH.warning,- error: tH.error,- custom: tH.custom,- message: tH.message,- promise: tH.promise,- dismiss: tH.dismiss,- loading: tH.loading+}(), n_e = (e, t) => $V.message(e, t), r_e = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", eH = Object.assign(n_e, {+ success: $V.success,+ info: $V.info,+ warning: $V.warning,+ error: $V.error,+ custom: $V.custom,+ message: $V.message,+ promise: $V.promise,+ dismiss: $V.dismiss,+ loading: $V.loading}, {- getHistory: () => tH.toasts,- getToasts: () => tH.getActiveToasts()+ getHistory: () => $V.toasts,+ getToasts: () => $V.getActiveToasts()});-Hge("[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 rH(e) {+Wge("[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 tH(e) {return e.label !== void 0;}-var n_e = 3, r_e = "24px", i_e = "16px", iH = 4e3, a_e = 356, o_e = 14, s_e = 45, c_e = 200;-function aH(...e) {+var i_e = 3, a_e = "24px", o_e = "16px", nH = 4e3, s_e = 356, c_e = 14, l_e = 45, u_e = 200;+function rH(...e) {return e.filter(Boolean).join(" ");}-function l_e(e) {+function d_e(e) {let [t, n] = e.split("-"), r = [];return t && r.push(t), n && r.push(n), r;}-var u_e = (e) => {- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = F.useState(null), [O, k] = F.useState(null), [A, j] = F.useState(!1), [M, ee] = F.useState(!1), [N, te] = F.useState(!1), [P, ne] = F.useState(!1), [re, I] = F.useState(!1), [ie, ae] = F.useState(0), [oe, se] = F.useState(0), ce = F.useRef(n.duration || y || iH), le = F.useRef(null), ue = F.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = F.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = F.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = F.useMemo(() => n.duration || y || iH, [n.duration, y]), xe = F.useRef(0), Se = F.useRef(0), Ce = F.useRef(0), we = F.useRef(null), [Te, Ee] = b.split("-"), De = F.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = Zge(), ke = F.useMemo(() => e.swipeDirections ?? l_e(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";- Se.current = F.useMemo(() => ve * x + De, [ve, De]), F.useEffect(() => {- ce.current = be;- }, [be]), F.useEffect(() => {+var f_e = (e) => {+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = F.useState(null), [O, k] = F.useState(null), [A, j] = F.useState(!1), [M, ee] = F.useState(!1), [N, te] = F.useState(!1), [P, ne] = F.useState(!1), [re, I] = F.useState(!1), [ie, ae] = F.useState(0), [oe, se] = F.useState(0), ce = F.useRef(n.duration || y || nH), le = F.useRef(null), ue = F.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", L = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = F.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = F.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = F.useMemo(() => n.duration || y || nH, [n.duration, y]), be = F.useRef(0), xe = F.useRef(0), Se = F.useRef(0), Ce = F.useRef(null), [we, Te] = b.split("-"), Ee = F.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), De = $ge(), Oe = F.useMemo(() => e.swipeDirections ?? d_e(b), [e.swipeDirections, b]), ke = n.invert || t, Ae = pe === "loading";+ xe.current = F.useMemo(() => _e * x + Ee, [_e, Ee]), F.useEffect(() => {+ ce.current = ye;+ }, [ye]), F.useEffect(() => {j(!0);}, []), F.useEffect(() => {let e = ue.current;@@ -45055,52 +45055,52 @@ var u_e = (e) => {n.action,n.cancel]);- let Me = F.useCallback(() => {- ee(!0), ae(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {+ let je = F.useCallback(() => {+ ee(!0), ae(xe.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {d(n);- }, c_e);+ }, u_e);}, [n,d,a,- Se+ xe]);F.useEffect(() => {if (n.promise && pe === "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 || De ? (() => {+ if (Se.current < be.current) {+ let e = (/* @__PURE__ */ new Date()).getTime() - be.current;ce.current -= e;}- Ce.current = (/* @__PURE__ */ new Date()).getTime();- })() : ce.current !== Infinity && (xe.current = (/* @__PURE__ */ new Date()).getTime(), e = setTimeout(() => {- n.onAutoClose == null || n.onAutoClose.call(n, n), Me();+ Se.current = (/* @__PURE__ */ new Date()).getTime();+ })() : ce.current !== Infinity && (be.current = (/* @__PURE__ */ new Date()).getTime(), e = setTimeout(() => {+ n.onAutoClose == null || n.onAutoClose.call(n, n), je();}, ce.current)), () => clearTimeout(e);}, [u,i,n,pe,- Oe,- Me+ De,+ je]), F.useEffect(() => {- n.delete && (Me(), n.onDismiss == null || n.onDismiss.call(n, n));- }, [Me, n.delete]);- function Ne() {+ n.delete && (je(), n.onDismiss == null || n.onDismiss.call(n, n));+ }, [je, n.delete]);+ function Me() {return w?.loading ? /*#__PURE__*/ F.createElement("div", {- className: aH(C?.loader, n?.classNames?.loader, "sonner-loader"),+ className: rH(C?.loader, n?.classNames?.loader, "sonner-loader"),"data-visible": pe === "loading"- }, w.loading) : /*#__PURE__*/ F.createElement(Gge, {- className: aH(C?.loader, n?.classNames?.loader),+ }, w.loading) : /*#__PURE__*/ F.createElement(qge, {+ className: rH(C?.loader, n?.classNames?.loader),visible: pe === "loading"});}- let Pe = n.icon || w?.[pe] || Uge(pe);+ let Ne = n.icon || w?.[pe] || Gge(pe);return /*#__PURE__*/ F.createElement("li", {tabIndex: 0,ref: ue,- className: aH(_, ge, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),+ className: rH(_, he, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),"data-sonner-toast": "","data-rich-colors": n.richColors ?? f,"data-styled": !(n.jsx || n.unstyled || r),@@ -45109,14 +45109,14 @@ var u_e = (e) => {"data-swiped": re,"data-removed": M,"data-visible": fe,- "data-y-position": Te,- "data-x-position": Ee,+ "data-y-position": we,+ "data-x-position": Te,"data-index": c,"data-front": de,"data-swiping": N,- "data-dismissible": he,+ "data-dismissible": L,"data-type": pe,- "data-invert": Ae,+ "data-invert": ke,"data-swipe-out": P,"data-swipe-direction": O,"data-expanded": !!(u || S && A),@@ -45125,25 +45125,25 @@ var u_e = (e) => {"--index": c,"--toasts-before": c,"--z-index": l.length - c,- "--offset": `${M ? ie : Se.current}px`,+ "--offset": `${M ? ie : xe.current}px`,"--initial-height": S ? "auto" : `${oe}px`,...m,...n.style},onDragEnd: () => {- te(!1), D(null), we.current = null;+ te(!1), D(null), Ce.current = null;},onPointerDown: (e) => {- e.button !== 2 && !je && he && (le.current = /* @__PURE__ */ new Date(), ae(Se.current), e.target.setPointerCapture(e.pointerId), e.target.tagName !== "BUTTON" && (te(!0), we.current = {+ e.button !== 2 && !Ae && L && (le.current = /* @__PURE__ */ new Date(), ae(xe.current), e.target.setPointerCapture(e.pointerId), e.target.tagName !== "BUTTON" && (te(!0), Ce.current = {x: e.clientX,y: e.clientY}));},onPointerUp: () => {- if (P || !he) return;- we.current = null;+ if (P || !L) return;+ Ce.current = null;let e = Number(ue.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ue.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;- if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= s_e || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), ne(!0);+ if ((E === "x" ? Oe.includes(e > 0 ? "right" : "left") : Oe.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= l_e || a > .11)) ae(xe.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), je(), ne(!0);else {var o, s;(o = ue.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = ue.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), I(!1), te(!1), D(null);@@ -45151,23 +45151,23 @@ var u_e = (e) => {},onPointerMove: (e) => {var t, n;- if (!we.current || !he || window.getSelection()?.toString().length > 0) return;- let r = e.clientY - we.current.y, i = e.clientX - we.current.x;+ if (!Ce.current || !L || window.getSelection()?.toString().length > 0) return;+ let r = e.clientY - Ce.current.y, i = e.clientX - Ce.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 (Oe.includes("top") || Oe.includes("bottom")) {+ if (Oe.includes("top") && r < 0 || Oe.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" && (Oe.includes("left") || Oe.includes("right"))) {+ if (Oe.includes("left") && i < 0 || Oe.includes("right") && i > 0) a.x = i;else {let e = i * o(i);a.x = Math.abs(e) < Math.abs(i) ? e : i;@@ -45175,53 +45175,53 @@ var u_e = (e) => {}(Math.abs(a.x) > 0 || Math.abs(a.y) > 0) && I(!0), (t = ue.current) == null || t.style.setProperty("--swipe-amount-x", `${a.x}px`), (n = ue.current) == null || n.style.setProperty("--swipe-amount-y", `${a.y}px`);}- }, ye && !n.jsx && pe !== "loading" ? /*#__PURE__*/ F.createElement("button", {+ }, ve && !n.jsx && pe !== "loading" ? /*#__PURE__*/ F.createElement("button", {"aria-label": T,- "data-disabled": je,+ "data-disabled": Ae,"data-close-button": !0,- onClick: je || !he ? () => {} : () => {- Me(), n.onDismiss == null || n.onDismiss.call(n, n);+ onClick: Ae || !L ? () => {} : () => {+ je(), n.onDismiss == null || n.onDismiss.call(n, n);},- className: aH(C?.closeButton, n?.classNames?.closeButton)- }, w?.close ?? Xge) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ F.createElement("div", {+ className: rH(C?.closeButton, n?.classNames?.closeButton)+ }, w?.close ?? Qge) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ F.createElement("div", {"data-icon": "",- className: aH(C?.icon, n?.classNames?.icon)- }, pe === "loading" ? n.icon || Ne() : n.promise ? Ne() : null, pe === "loading" ? null : Pe) : null, /*#__PURE__*/ F.createElement("div", {+ className: rH(C?.icon, n?.classNames?.icon)+ }, pe === "loading" ? n.icon || Me() : n.promise ? Me() : null, pe === "loading" ? null : Ne) : null, /*#__PURE__*/ F.createElement("div", {"data-content": "",- className: aH(C?.content, n?.classNames?.content)+ className: rH(C?.content, n?.classNames?.content)}, /*#__PURE__*/ F.createElement("div", {"data-title": "",- className: aH(C?.title, n?.classNames?.title)+ className: rH(C?.title, n?.classNames?.title)}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ F.createElement("div", {"data-description": "",- className: aH(v, _e, C?.description, n?.classNames?.description)- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ F.isValidElement(n.cancel) ? n.cancel : n.cancel && rH(n.cancel) ? /*#__PURE__*/ F.createElement("button", {+ className: rH(v, ge, C?.description, n?.classNames?.description)+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ F.isValidElement(n.cancel) ? n.cancel : n.cancel && tH(n.cancel) ? /*#__PURE__*/ F.createElement("button", {"data-button": !0,"data-cancel": !0,style: n.cancelButtonStyle || h,onClick: (e) => {- rH(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());+ tH(n.cancel) && L && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), je());},- className: aH(C?.cancelButton, n?.classNames?.cancelButton)- }, n.cancel.label) : null, /*#__PURE__*/ F.isValidElement(n.action) ? n.action : n.action && rH(n.action) ? /*#__PURE__*/ F.createElement("button", {+ className: rH(C?.cancelButton, n?.classNames?.cancelButton)+ }, n.cancel.label) : null, /*#__PURE__*/ F.isValidElement(n.action) ? n.action : n.action && tH(n.action) ? /*#__PURE__*/ F.createElement("button", {"data-button": !0,"data-action": !0,style: n.actionButtonStyle || g,onClick: (e) => {- rH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());+ tH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && je());},- className: aH(C?.actionButton, n?.classNames?.actionButton)+ className: rH(C?.actionButton, n?.classNames?.actionButton)}, n.action.label) : null);};-function oH() {+function iH() {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 d_e(e, t) {+function p_e(e, t) {let n = {};return [e, t].forEach((e, t) => {- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? i_e : r_e;+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? o_e : a_e;function o(e) {["top",@@ -45242,18 +45242,18 @@ function d_e(e, t) {}) : o(a);}), n;}-var sH = /*#__PURE__*/ F.forwardRef(function(e, t) {- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = n_e, toastOptions: g, dir: _ = oH(), gap: v = o_e, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = F.useState([]), w = F.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = F.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = F.useState([]), [O, k] = F.useState(!1), [A, j] = F.useState(!1), [M, ee] = F.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), N = F.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = F.useRef(null), ne = F.useRef(!1), re = F.useCallback((e) => {- C((t) => (t.find((t) => t.id === e.id)?.delete || tH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));+var aH = /*#__PURE__*/ F.forwardRef(function(e, t) {+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = i_e, toastOptions: g, dir: _ = iH(), gap: v = c_e, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = F.useState([]), w = F.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = F.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = F.useState([]), [O, k] = F.useState(!1), [A, j] = F.useState(!1), [M, ee] = F.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), N = F.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = F.useRef(null), ne = F.useRef(!1), re = F.useCallback((e) => {+ C((t) => (t.find((t) => t.id === e.id)?.delete || $V.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));}, []);- return F.useEffect(() => tH.subscribe((e) => {+ return F.useEffect(() => $V.subscribe((e) => {e.dismiss ? requestAnimationFrame(() => {C((t) => t.map((t) => t.id === e.id ? {...t,delete: !0} : t));}) : setTimeout(() => {- Lt.flushSync(() => {+ It.flushSync(() => {C((t) => {let n = t.findIndex((t) => t.id === e.id);return n === -1 ? [e, ...t] : [@@ -45315,7 +45315,7 @@ var sH = /*#__PURE__*/ F.forwardRef(function(e, t) {let [i, a] = t.split("-");return w.length ? /*#__PURE__*/ F.createElement("ol", {key: t,- dir: _ === "auto" ? oH() : _,+ dir: _ === "auto" ? iH() : _,tabIndex: -1,ref: N,className: c,@@ -45325,10 +45325,10 @@ var sH = /*#__PURE__*/ F.forwardRef(function(e, t) {"data-x-position": a,style: {"--front-toast-height": `${E[0]?.height || 0}px`,- "--width": `${a_e}px`,+ "--width": `${s_e}px`,"--gap": `${v}px`,...m,- ...d_e(l, u)+ ...p_e(l, u)},onBlur: (e) => {ne.current && !e.currentTarget.contains(e.relatedTarget) && (ne.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));@@ -45346,7 +45346,7 @@ var sH = /*#__PURE__*/ F.forwardRef(function(e, t) {e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);},onPointerUp: () => j(!1)- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ F.createElement(u_e, {+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ F.createElement(f_e, {key: n.id,icons: y,index: i,@@ -45376,35 +45376,35 @@ var sH = /*#__PURE__*/ F.forwardRef(function(e, t) {swipeDirections: e.swipeDirections}))) : null;}));-}), cH = "/api/library-processing", lH = ["library-processing"], f_e = (e, t, n) => {+}), oH = "/api/library-processing", sH = ["library-processing"], m_e = (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(`${cH}?${r}`, t);-}, p_e = {+ 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), V(`${oH}?${r}`, t);+}, h_e = {fetching_cover: "封面",querying_metadata: "资料"};-function uH(e) {+function cH(e) {if (e?.status !== "running" || e.current_asset_id == null) return null;- let t = p_e[e.current_action || ""];+ let t = h_e[e.current_action || ""];return !t || (e.waited_seconds || 0) < 120 ? null : {what: t,source: e.current_source};}-function dH({ what: e, source: t }) {+function lH({ what: e, source: t }) {return `${`${t?.label ? `${t.label} ` : "外部来源"}迟迟没有返回${e}`}。可以先跳过这部,任务结束后再重试。`;}-var fH = (e) => !!e && [+var uH = (e) => !!e && ["running","pausing","paused","stopping"-].includes(e.status), pH = (e) => e?.status === "failed" && e.outcome === "partial", mH = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", hH = "/?loc=&thumb=0";-function gH(e) {- if (!fH(e)) return "";+].includes(e.status), dH = (e) => e?.status === "failed" && e.outcome === "partial", fH = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", pH = "/?loc=&thumb=0";+function mH(e) {+ if (!uH(e)) return "";if (e.status === "stopping") return "正在取消,等待当前步骤退出;已取得的结果会保留";if (e.status === "paused") return "已暂停,继续后更新预估";if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";@@ -45415,30 +45415,30 @@ function gH(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 _H = (e) => B(cH, e);-async function vH(e) {- await H.fetchQuery({- queryKey: lH,- queryFn: () => _H(e)+var hH = (e) => V(oH, e);+async function gH(e) {+ await U.fetchQuery({+ queryKey: sH,+ queryFn: () => hH(e)});}-var m_e = 2e3, h_e = 1e4, yH = "连接中断,正在重新读取处理进度", g_e = {+var g_e = 2e3, __e = 1e4, _H = "连接中断,正在重新读取处理进度", v_e = {manual: "在网页发起",scheduled: "定时发起",startup: "服务启动时自动发起",cli: "由命令行或托盘发起"};-function __e(e, t) {+function y_e(e, t) {return `保存后 Peach 会重新启动。${e.trigger === "cli" ? "这个任务由命令行或托盘发起,在独立进程里运行,不受重启影响。" : e.status === "paused" ? "已暂停的任务会保持暂停,重启后点继续即可接着处理。" : "正在进行的任务会随重启中断,重启后从中断处继续。"}${t ? "勾选的「保存后扫描并补全资料」会排在当前任务之后。" : ""}`;}-function v_e(e) {- let t = g_e[e.trigger || ""];+function b_e(e) {+ let t = v_e[e.trigger || ""];return `当前的扫描与采集任务${t ? `(${t})` : ""}还没结束,等它完成或取消后再开始新的同步`;}-function bH(e, t) {- return fH(e) ? m_e : t ? h_e : !1;+function vH(e, t) {+ return uH(e) ? g_e : t ? __e : !1;}-var y_e = {+var x_e = {scanning_files: "扫描文件",reading_local: "检查配套文件",reading_local_cover: "读取配套图片",@@ -45447,25 +45447,25 @@ var y_e = {skipped: "已跳过",generating_preview: "生成视频预览",writing_candidates: "保存待确认资料"-}, xH = {+}, yH = {querying_metadata: "没有资料",fetching_cover: "没有封面"};-function b_e(e) {- let t = Object.entries(e).filter(([e, t]) => xH[e] && t > 0).map(([e, t]) => `${xH[e]} ${t.toLocaleString()} 部`);+function S_e(e) {+ let t = Object.entries(e).filter(([e, t]) => yH[e] && t > 0).map(([e, t]) => `${yH[e]} ${t.toLocaleString()} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function x_e(e) {+function C_e(e) {if (e.status === "paused") return "已暂停";if (e.status === "pausing") return "正在暂停";- let t = y_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${uL(e.waited_seconds)}` : "";+ let t = x_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${cL(e.waited_seconds)}` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}-function S_e(e) {- let t = e.total ? `${dL(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";- return x_e(e) + (t ? ` · ${t}` : "");+function w_e(e) {+ let t = e.total ? `${lL(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";+ return C_e(e) + (t ? ` · ${t}` : "");}-function C_e(e) {+function T_e(e) {let t = e.issue_preview || [];return t.length ? {label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,@@ -45479,22 +45479,22 @@ function C_e(e) {log: e.issues_log || ""} : null;}-var SH = "peach.library-processing.announced", w_e = 120;-function CH(e) {+var bH = "peach.library-processing.announced", E_e = 120;+function xH(e) {let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;- return !!e.job_id && t >= 0 && t < w_e;+ return !!e.job_id && t >= 0 && t < E_e;}-function T_e(e, t, n) {- if (e.status === "complete" && (n || CH(e))) {+function D_e(e, t, n) {+ if (e.status === "complete" && (n || xH(e))) {try {- if (e.job_id && localStorage.getItem(SH) === e.job_id) return;- e.job_id && localStorage.setItem(SH, e.job_id);+ if (e.job_id && localStorage.getItem(bH) === e.job_id) return;+ e.job_id && localStorage.setItem(bH, 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 wH = KI({+var SH = WI({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",@@ -45511,15 +45511,15 @@ var wH = KI({secondary: "text-text-secondary active:text-text-primary disabled:text-text-tertiary aria-disabled:text-text-tertiary"}});-function TH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = q(wH.base, wH.size[t], wH.variant[e], a), l = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [+function CH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = q(SH.base, SH.size[t], SH.variant[e], a), l = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n ? /* @__PURE__ */ (0, I.jsx)(n, {- className: wH.icon[t],+ className: SH.icon[t],"aria-hidden": !0}) : null,i != null && /* @__PURE__ */ (0, I.jsx)("span", { children: i }),r ? /* @__PURE__ */ (0, I.jsx)(r, {- className: wH.icon[t],+ className: SH.icon[t],"aria-hidden": !0}) : null] });@@ -45545,7 +45545,7 @@ function TH({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili});}// src/react/settings/use-action.ts-function EH(e = "") {+function wH(e = "") {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(""), [i, a] = (0, F.useState)(e);(0, F.useEffect)(() => () => t.current?.abort(), []);async function o(e, n, i, o) {@@ -45557,7 +45557,7 @@ function EH(e = "") {s.signal.aborted || i(e);} catch (e) {if (s.signal.aborted) return;- o ? o(e) : a(cr(e));+ o ? o(e) : a(sr(e));} finally {t.current === s && (t.current = null), s.signal.aborted || r("");}@@ -45570,10 +45570,10 @@ function EH(e = "") {};}// src/react/library-processing/slow-item.tsx-function DH({ state: e }) {- let t = EH(), n = (e) => {- t.busy || t.run(e.action, (t) => V(cH, e, "POST", t), (e) => {- H.setQueryData(lH, e), H.invalidateQueries({ queryKey: lH });+function TH({ state: e }) {+ let t = wH(), n = (e) => {+ t.busy || t.run(e.action, (t) => H(oH, e, "POST", t), (e) => {+ U.setQueryData(sH, e), U.invalidateQueries({ queryKey: sH });});};return /* @__PURE__ */ (0, I.jsxs)("div", {@@ -45585,7 +45585,7 @@ function DH({ state: e }) {size: "small",variant: "secondary",disabled: e.skip_requested,- ...EV(t.busy === "skip_current"),+ ...wV(t.busy === "skip_current"),onClick: () => {e.job_id && e.current_asset_id != null && n({action: "skip_current",@@ -45609,25 +45609,25 @@ function DH({ state: e }) {]});}-function E_e({ state: e, slow: t }) {- return /* @__PURE__ */ (0, I.jsx)(xV, {+function O_e({ state: e, slow: t }) {+ return /* @__PURE__ */ (0, I.jsx)(yV, {tone: "warning",- action: /* @__PURE__ */ (0, I.jsx)(DH, { state: e }),- children: dH(t)+ action: /* @__PURE__ */ (0, I.jsx)(TH, { state: e }),+ children: lH(t)});}-function D_e({ state: e, slow: t }) {+function k_e({ state: e, slow: t }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-processing-slow": "",className: "flex min-w-0 flex-wrap items-center justify-between gap-3",children: [/* @__PURE__ */ (0, I.jsx)("p", {className: "min-w-0 flex-auto text-body-2-regular wrap-anywhere",- children: dH(t)- }), /* @__PURE__ */ (0, I.jsx)(DH, { state: e })]+ children: lH(t)+ }), /* @__PURE__ */ (0, I.jsx)(TH, { state: e })]});}// src/react/components/use-moving-surface.ts-var O_e = {+var A_e = {selection: {type: Ng,duration: .16,@@ -45639,7 +45639,7 @@ var O_e = {bounce: 0}};-function OH(e) {+function EH(e) {let [t, n] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {if (!t) return;@@ -45660,7 +45660,7 @@ function OH(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 = oae(n, { transform: [r, E] }, O_e[e]);+ l = aae(n, { transform: [r, E] }, A_e[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -45696,24 +45696,24 @@ function OH(e) {}, [t, e]), n;}// src/react/components/menu-dialog.tsx-function kH(e) {- let t = OH("hover");- return /* @__PURE__ */ (0, I.jsx)(Lz, {+function DH(e) {+ let t = EH("hover");+ return /* @__PURE__ */ (0, I.jsx)(Fz, {...e,ref: t});}// src/react/library-processing/processing-effort.tsx-var AH = [+var OH = ["low","standard","high"-], jH = [+], kH = ["低占用","标准","全速"-], MH = wV("snail"), NH = wV("zap");-function PH({ className: e }) {+], AH = SV("snail"), jH = SV("zap");+function MH({ className: e }) {return /* @__PURE__ */ (0, I.jsxs)("svg", {className: `processing-effort-double ${e ?? ""}`,"aria-hidden": "true",@@ -45744,12 +45744,12 @@ function PH({ className: e }) {]});}-var k_e = [- MH,- NH,- PH+var j_e = [+ AH,+ jH,+ MH];-function A_e({ animate: e }) {+function M_e({ animate: e }) {let [t, n] = (0, F.useState)(document.hidden);return (0, F.useEffect)(() => {let e = () => n(document.hidden);@@ -45781,8 +45781,8 @@ function A_e({ animate: e }) {} }, t))]});}-function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = Math.max(0, AH.indexOf(e)), [a, o] = (0, F.useState)(i);+function NH({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = Math.max(0, OH.indexOf(e)), [a, o] = (0, F.useState)(i);return (0, F.useEffect)(() => {t || o(i);}, [i, t]), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -45793,7 +45793,7 @@ function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "text-text-tertiary",children: "处理强度 "- }), jH[a]]+ }), kH[a]]}),/* @__PURE__ */ (0, I.jsxs)("div", {className: "processing-effort-scale text-caption-1-regular text-text-tertiary",@@ -45801,19 +45801,19 @@ function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-selected": a === 0 || void 0,- children: [/* @__PURE__ */ (0, I.jsx)(MH, {}), "最慢"]+ children: [/* @__PURE__ */ (0, I.jsx)(AH, {}), "最慢"]}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-selected": a === 1 || void 0,- children: [/* @__PURE__ */ (0, I.jsx)(NH, {}), "标准"]+ children: [/* @__PURE__ */ (0, I.jsx)(jH, {}), "标准"]}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-selected": a === 2 || void 0,- children: [/* @__PURE__ */ (0, I.jsx)(PH, {}), "最快"]+ children: [/* @__PURE__ */ (0, I.jsx)(MH, {}), "最快"]})]}),- /* @__PURE__ */ (0, I.jsxs)(Fpe, {+ /* @__PURE__ */ (0, I.jsxs)(Lpe, {"aria-label": "处理速度",minValue: 0,maxValue: 2,@@ -45822,10 +45822,10 @@ function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {isDisabled: t,onChange: o,onChangeEnd: (e) => {- e !== i && n(AH[e]);+ e !== i && n(OH[e]);},className: "processing-effort-slider",- children: [/* @__PURE__ */ (0, I.jsx)(YL, {+ children: [/* @__PURE__ */ (0, I.jsx)(qL, {className: "processing-effort-label",children: "处理速度"}), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -45845,11 +45845,11 @@ function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {/* @__PURE__ */ (0, I.jsx)("i", {})]}),- a === 2 ? /* @__PURE__ */ (0, I.jsx)(A_e, { animate: r }) : null,- /* @__PURE__ */ (0, I.jsx)(Ipe, {+ a === 2 ? /* @__PURE__ */ (0, I.jsx)(M_e, { animate: r }) : null,+ /* @__PURE__ */ (0, I.jsx)(Rpe, {className: "processing-effort-hit",- children: /* @__PURE__ */ (0, I.jsx)(Lpe, {- "aria-label": jH[a],+ children: /* @__PURE__ */ (0, I.jsx)(zpe, {+ "aria-label": kH[a],className: "processing-effort-thumb"})})@@ -45863,8 +45863,8 @@ function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {]});}-function j_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(!1), s = Math.max(0, AH.indexOf(e));+function N_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(!1), s = Math.max(0, OH.indexOf(e));return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "processing-effort-trigger","data-speed": e,@@ -45872,28 +45872,28 @@ function j_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {ref: i,size: "small",variant: "secondary",- "aria-label": `处理速度:${jH[s]}`,+ "aria-label": `处理速度:${kH[s]}`,"aria-haspopup": "dialog","aria-expanded": a,"aria-disabled": t,- leadingIcon: k_e[s],- trailingIcon: AB,+ leadingIcon: j_e[s],+ trailingIcon: OB,onClick: () => {t || o(!a);},- children: jH[s]+ children: kH[s]})- }), /* @__PURE__ */ (0, I.jsx)(wz, {+ }), /* @__PURE__ */ (0, I.jsx)(Sz, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "top start",offset: 8,- className: UV,- children: /* @__PURE__ */ (0, I.jsx)(kH, {+ className: VV,+ children: /* @__PURE__ */ (0, I.jsx)(DH, {"aria-label": "处理速度",className: "outline-none",- children: /* @__PURE__ */ (0, I.jsx)(FH, {+ children: /* @__PURE__ */ (0, I.jsx)(NH, {value: e,busy: t,onChange: n,@@ -45903,14 +45903,14 @@ function j_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {})] });}// src/react/library-processing/processing-controls.tsx-function IH({ state: e, disabled: t = !1 }) {- let n = EH(), r = (0, F.useRef)(!1), i = fH(e), a = e.status === "stopping", o = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", s = a ? "正在取消" : "取消任务", c = (e) => {- t || n.busy || n.run(e.action, (t) => V(cH, e, "POST", t), (e) => {- H.setQueryData(lH, e), H.invalidateQueries({ queryKey: lH });+function PH({ state: e, disabled: t = !1 }) {+ let n = wH(), r = (0, F.useRef)(!1), i = uH(e), a = e.status === "stopping", o = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", s = a ? "正在取消" : "取消任务", c = (e) => {+ t || n.busy || n.run(e.action, (t) => H(oH, e, "POST", t), (e) => {+ U.setQueryData(sH, e), U.invalidateQueries({ queryKey: sH });});}, l = () => {let i = e.job_id;- !i || t || n.busy || r.current || (r.current = !0, cl({+ !i || t || n.busy || r.current || (r.current = !0, sl({title: "取消任务「扫描与采集」",body: "将停止这一轮剩余的处理。已登记的影片、取得的资料和预览会保留。这一轮取消后不能继续,需要时重新同步。",confirmLabel: "取消任务",@@ -45930,7 +45930,7 @@ function IH({ state: e, disabled: t = !1 }) {children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, I.jsx)(j_e, {+ /* @__PURE__ */ (0, I.jsx)(N_e, {value: e.speed_mode || "standard",busy: t || !!n.busy || a,animate: e.status !== "paused" && e.status !== "pausing",@@ -45944,11 +45944,11 @@ function IH({ state: e, disabled: t = !1 }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: e.status === "paused" ? $B : ZB,+ leadingIcon: e.status === "paused" ? ZB : YB,"aria-label": o,title: o,disabled: t || !e.job_id || e.status === "pausing" || a,- ...EV(n.busy === "pause" || n.busy === "resume"),+ ...wV(n.busy === "pause" || n.busy === "resume"),onClick: () => {e.job_id && c({action: e.status === "paused" ? "resume" : "pause",@@ -45960,11 +45960,11 @@ function IH({ state: e, disabled: t = !1 }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: oV,+ leadingIcon: iV,"aria-label": s,title: s,disabled: t || !e.job_id || a,- ...EV(n.busy === "cancel"),+ ...wV(n.busy === "cancel"),onClick: l}) : null]@@ -45976,11 +45976,11 @@ function IH({ state: e, disabled: t = !1 }) {});}// src/react/library-processing/use-library-processing.ts-function LH({ toast: e, mode: t, monitor: n }) {- let r = t === "notice" || !!n, i = Pt({- queryKey: lH,- queryFn: ({ signal: e }) => _H(e),- refetchInterval: (e) => bH(e.state.data, r)+function FH({ toast: e, mode: t, monitor: n }) {+ let r = t === "notice" || !!n, i = Nt({+ queryKey: sH,+ queryFn: ({ signal: e }) => hH(e),+ refetchInterval: (e) => vH(e.state.data, r)}), [a, o] = (0, F.useState)(null), s = (0, F.useRef)(void 0), c = i.data;return (0, F.useEffect)(() => {if (!c) return;@@ -45991,8 +45991,8 @@ function LH({ toast: e, mode: t, monitor: n }) {"pausing","paused","stopping"- ].includes(n) && !fH(c);- r && o(c), (r || t === "notice") && T_e(c, e, r);+ ].includes(n) && !uH(c);+ r && o(c), (r || t === "notice") && D_e(c, e, r);}, [c,t,@@ -46004,7 +46004,7 @@ function LH({ toast: e, mode: t, monitor: n }) {};}// src/react/components/loading-dots.tsx-function RH({ label: e }) {+function IH({ label: e }) {return /* @__PURE__ */ (0, I.jsxs)("p", {role: "status",className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",@@ -46023,21 +46023,21 @@ function RH({ label: e }) {});}// src/react/components/progress.tsx-var zH = 100, M_e = .4;-function BH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1 }) {- let a = n > 0 ? n : 1, o = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), a), s = (e) => o(e) / a * zH;+var LH = 100, P_e = .4;+function RH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1 }) {+ let a = n > 0 ? n : 1, o = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), a), s = (e) => o(e) / a * LH;return /* @__PURE__ */ (0, I.jsxs)("svg", {role: "progressbar","aria-label": e,"aria-valuemin": 0,"aria-valuemax": a,"aria-valuenow": o(t),- viewBox: `0 0 ${zH} 1`,+ viewBox: `0 0 ${LH} 1`,preserveAspectRatio: "none",className: "h-1.5 w-full overflow-hidden rounded-full",children: [/* @__PURE__ */ (0, I.jsx)("rect", {- width: zH,+ width: LH,height: 1,className: i ? "fill-text-primary/10" : "fill-background-tertiary-default"}),@@ -46048,7 +46048,7 @@ function BH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1 })}),r.map((e) => /* @__PURE__ */ (0, I.jsx)("rect", {x: s(e),- width: M_e,+ width: P_e,height: 1,className: "fill-background-secondary-default"}, e))@@ -46056,11 +46056,11 @@ function BH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1 })});}// src/react/components/task-progress.tsx-function VH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {+function zH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-task-progress": r ? "embedded" : "framed",className: q("flex flex-col gap-1.5", !r && "gap-2 rounded-2lg bg-background-tertiary-default px-4 py-3 text-text-secondary"),- children: n && n > 0 ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(BH, {+ children: n && n > 0 ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(RH, {label: e,value: t,max: n,@@ -46068,11 +46068,11 @@ function VH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {}), /* @__PURE__ */ (0, I.jsx)("p", {className: "text-caption-1-regular text-text-secondary wrap-anywhere",children: e- })] }) : /* @__PURE__ */ (0, I.jsx)(RH, { label: e })+ })] }) : /* @__PURE__ */ (0, I.jsx)(IH, { label: e })});}// src/react/library-processing/processing-line.tsx-function HH(e) {+function BH(e) {let [t, n] = (0, F.useState)({snapshot: e,seconds: 0@@ -46088,17 +46088,17 @@ function HH(e) {return () => window.clearInterval(r);}, [e, i]);let a = i && t.snapshot === e ? t.seconds : 0;- return S_e(a ? {+ return w_e(a ? {...e,waited_seconds: r + a} : e);}-function N_e({ state: e }) {- return HH(e);+function F_e({ state: e }) {+ return BH(e);}-function P_e({ state: e }) {- let t = HH(e);- return /* @__PURE__ */ (0, I.jsx)(VH, {+function I_e({ state: e }) {+ let t = BH(e);+ return /* @__PURE__ */ (0, I.jsx)(zH, {embedded: !0,label: t,value: Math.min(e.checked || 0, e.total || 0),@@ -46106,18 +46106,18 @@ function P_e({ state: e }) {});}// src/react/components/collapse-region.tsx-function UH({ open: e, children: t, ...n }) {+function VH({ open: e, children: t, ...n }) {let r = (0, F.useRef)(null), i = (0, F.useRef)(!1);return (0, F.useLayoutEffect)(() => {let t = r.current;- t && (i.current ? Bo(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 ? zo(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, I.jsx)("div", {...n,ref: r,children: t});}-function WH(e) {+function HH(e) {return /* @__PURE__ */ (0, I.jsx)("svg", {...e,"aria-hidden": !0,@@ -46132,19 +46132,19 @@ function WH(e) {});}// src/react/boardui/components/application/settings/settings-rows.tsx-function GH({ className: e, children: t }) {+function UH({ className: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)("div", {className: q("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}-function KH({ className: e, children: t }) {+function WH({ className: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)("p", {className: q("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}-function F_e({ label: e, description: t, children: n }) {+function L_e({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {className: q("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),children: [/* @__PURE__ */ (0, I.jsxs)("div", {@@ -46160,7 +46160,7 @@ function F_e({ label: e, description: t, children: n }) {});}// src/react/settings/section.tsx-function I_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, children: o }) {+function R_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, children: o }) {let s = n ? /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex items-center gap-1.5",children: [n, e]@@ -46168,12 +46168,12 @@ function I_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, childrclassName: "flex w-full flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, I.jsx)("div", {className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, I.jsx)(KH, { children: s })+ children: /* @__PURE__ */ (0, I.jsx)(WH, { children: s })}), /* @__PURE__ */ (0, I.jsx)("div", {className: "flex min-w-0 max-w-full",children: i})]- }) : /* @__PURE__ */ (0, I.jsx)(KH, { children: s }), /* @__PURE__ */ (0, I.jsx)(GH, { children: o })] });+ }) : /* @__PURE__ */ (0, I.jsx)(WH, { children: s }), /* @__PURE__ */ (0, I.jsx)(UH, { children: o })] });return a ? /* @__PURE__ */ (0, I.jsx)("form", {id: r,"data-guide-target": t,@@ -46190,13 +46190,13 @@ function I_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, childrchildren: c});}-function L_e({ children: e }) {+function z_e({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("div", {className: "ui-settings-rows flex flex-col empty:hidden",children: e});}-function R_e({ divided: e = !1, children: t }) {+function B_e({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, I.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden [&>.ui-settings-facts]:-mr-3",children: t@@ -46205,7 +46205,7 @@ function R_e({ divided: e = !1, children: t }) {children: t});}-function z_e({ label: e, html: t }) {+function V_e({ label: e, html: t }) {let [n] = (0, F.useState)(t);return /* @__PURE__ */ (0, I.jsx)("div", {className: "contents",@@ -46215,7 +46215,7 @@ function z_e({ label: e, html: t }) {dangerouslySetInnerHTML: { __html: n }});}-function B_e({ status: e, children: t }) {+function H_e({ status: e, children: t }) {return /* @__PURE__ */ (0, I.jsxs)("div", {className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3 empty:hidden",children: [e ? /* @__PURE__ */ (0, I.jsx)("div", {@@ -46224,34 +46224,34 @@ function B_e({ status: e, children: t }) {}) : null, t]});}-function qH({ role: e, children: t }) {+function GH({ role: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function JH({ children: e }) {+function KH({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function YH({ children: e }) {+function qH({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}-function V_e({ href: e, children: t, leadingIcon: n }) {- return /* @__PURE__ */ (0, I.jsx)(TH, {+function U_e({ href: e, children: t, leadingIcon: n }) {+ return /* @__PURE__ */ (0, I.jsx)(CH, {href: e,target: "_blank",rel: "noopener noreferrer",size: "small",leadingIcon: n,- trailingIcon: BB,+ trailingIcon: RB,className: "min-w-0 max-w-full",children: /* @__PURE__ */ (0, I.jsx)("span", {className: "min-w-0 whitespace-normal break-all",@@ -46259,22 +46259,22 @@ function V_e({ href: e, children: t, leadingIcon: n }) {})});}-function H_e() {- return /* @__PURE__ */ (0, I.jsx)(TH, {+function W_e() {+ return /* @__PURE__ */ (0, I.jsx)(CH, {href: "/tasks",size: "small",- trailingIcon: jB,+ trailingIcon: kB,className: "self-start",children: "在任务中心查看进度"});}-function U_e({ children: e }) {+function G_e({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("dl", {className: "ui-settings-facts flex flex-col empty:hidden",children: e});}-function W_e({ term: e, children: t }) {+function K_e({ term: e, children: t }) {return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",children: [/* @__PURE__ */ (0, I.jsx)("dt", {@@ -46286,10 +46286,10 @@ function W_e({ term: e, children: t }) {})]});}-function XH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {+function JH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {let s = (0, F.useId)(), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(!1), [d, f] = (0, F.useState)(n ?? t);return (0, F.useLayoutEffect)(() => {- n !== void 0 && n !== d && c.current && l.current && (zo(c.current, l.current, n), f(n));+ n !== void 0 && n !== d && c.current && l.current && (Ro(c.current, l.current, n), f(n));}, [n, d]), /* @__PURE__ */ (0, I.jsxs)("details", {ref: (e) => {c.current = e, e && (n ?? t) && !u.current && (u.current = !0, e.open = !0);@@ -46298,16 +46298,16 @@ function XH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:"aria-expanded": d,"aria-controls": s,onClick: (e) => {- e.preventDefault(), c.current && l.current && (zo(c.current, l.current, !d), f(!d), a?.(!d));+ e.preventDefault(), c.current && l.current && (Ro(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, I.jsx)(MB, {+ i ? null : /* @__PURE__ */ (0, I.jsx)(AB, {"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, I.jsx)(MB, {+ i ? /* @__PURE__ */ (0, I.jsx)(AB, {"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@@ -46323,7 +46323,7 @@ function XH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:})]});}-function G_e({ name: e }) {+function q_e({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {"aria-hidden": !0,"data-source-mark": e,@@ -46333,34 +46333,34 @@ function G_e({ name: e }) {children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-function ZH({ mark: e }) {+function YH({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, I.jsx)("img", {src: e,alt: "",width: 16,height: 16,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, I.jsx)(G_e, { name: e });+ }) : /* @__PURE__ */ (0, I.jsx)(q_e, { name: e });}// src/react/components/source-label.tsx-var QH = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, K_e = Object.fromEntries(Object.entries(gs).map(([e, t]) => [e, function({ className: e }) {+var XH = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, J_e = Object.fromEntries(Object.entries(hs).map(([e, t]) => [e, function({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, I.jsx)(ZH, { mark: t })+ children: /* @__PURE__ */ (0, I.jsx)(YH, { mark: t })});}]));-function q_e({ className: e }) {+function Y_e({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, I.jsx)(ZH, { mark: "database" })+ children: /* @__PURE__ */ (0, I.jsx)(YH, { mark: "database" })});}-var $H = (e) => K_e[QH(e)] ?? q_e;-function J_e({ site: e, label: t }) {+var ZH = (e) => J_e[XH(e)] ?? Y_e;+function X_e({ site: e, label: t }) {let [n, r] = (0, F.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [n || !i ? /* @__PURE__ */ (0, I.jsx)(ZH, { mark: "globe" }) : /* @__PURE__ */ (0, I.jsx)("img", {+ children: [n || !i ? /* @__PURE__ */ (0, I.jsx)(YH, { mark: "globe" }) : /* @__PURE__ */ (0, I.jsx)("img", {src: i,alt: "",className: "size-(--icon-inline) shrink-0 object-contain",@@ -46368,24 +46368,24 @@ function J_e({ site: e, label: t }) {}), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]});}-function eU({ source: e, label: t }) {- let n = QH(e);+function QH({ source: e, label: t }) {+ let n = XH(e);return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, I.jsx)(ZH, { mark: gs[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(YH, { mark: hs[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, I.jsx)("span", {className: "min-w-0 truncate",children: t})]});}// src/react/library-processing/processing-traffic.tsx-var tU = (e) => Yn(e).replace(/\s/g, ""), nU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : tU(e), Y_e = (e, t) => {- if (e === t) return tU(t);- let [n, r] = Yn(e).split(" "), [i, a] = Yn(t).split(" ");- return r === a ? `${n}-${i}${a}` : `${tU(e)}-${tU(t)}`;-}, rU = (e, t, n) => e === void 0 ? Y_e(t, n) : `${e > 0 ? "约 " : ""}${tU(e)}`;-function iU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDetailsChange: i }) {- let a = ZV(), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = r ?? o;+var $H = (e) => Jn(e).replace(/\s/g, ""), eU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : $H(e), Z_e = (e, t) => {+ if (e === t) return $H(t);+ let [n, r] = Jn(e).split(" "), [i, a] = Jn(t).split(" ");+ return r === a ? `${n}-${i}${a}` : `${$H(e)}-${$H(t)}`;+}, tU = (e, t, n) => e === void 0 ? Z_e(t, n) : `${e > 0 ? "约 " : ""}${$H(e)}`;+function nU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDetailsChange: i }) {+ let a = YV(), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = r ?? o;if (!e) return null;let u = (e) => e.toLocaleString("zh-CN"), d = !!e.workload || !(!e.inventory || e.inventory.complete) || !!(e.unknown_files && e.inventory?.complete !== !1) || !!e.inventory?.errors;return /* @__PURE__ */ (0, I.jsxs)("div", {@@ -46422,7 +46422,7 @@ function iU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDechildren: "部分目录无法读取,数量和预估不完整"}) : null]- }), /* @__PURE__ */ (0, I.jsx)(UH, {+ }), /* @__PURE__ */ (0, I.jsx)(VH, {open: !n,"data-processing-estimate": "",children: /* @__PURE__ */ (0, I.jsxs)("div", {@@ -46436,25 +46436,25 @@ function iU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDechildren: [/* @__PURE__ */ (0, I.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, I.jsx)(KB, {+ children: [/* @__PURE__ */ (0, I.jsx)(WB, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别流量" : "预计流量"]}),/* @__PURE__ */ (0, I.jsx)("p", {className: "text-title-3-semibold text-text-primary",- children: rU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)+ children: tU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)}),/* @__PURE__ */ (0, I.jsxs)("p", { children: [e.unknown_route_estimated_bytes ? "已确认代理" : "代理"," ",- rU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)+ tU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)] }),t ? null : /* @__PURE__ */ (0, I.jsxs)("p", { children: ["已用 ",- /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.partial ? "约 " : "", tU(e.used_bytes)] }),+ /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.partial ? "约 " : "", $H(e.used_bytes)] })," · 代理 ",- tU(e.metered_used_bytes)+ $H(e.metered_used_bytes)] })]}), e.disk ? /* @__PURE__ */ (0, I.jsxs)("section", {@@ -46463,25 +46463,25 @@ function iU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDechildren: [/* @__PURE__ */ (0, I.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, I.jsx)(dV, {+ children: [/* @__PURE__ */ (0, I.jsx)(lV, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别占用" : "预计占用"]}),/* @__PURE__ */ (0, I.jsxs)("p", {className: "text-title-3-semibold text-text-primary",- children: ["约 ", tU(e.disk.estimated_bytes)]+ children: ["约 ", $H(e.disk.estimated_bytes)]}),- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, I.jsxs)("p", { children: ["抽帧临时文件约 ", nU(e.disk.temporary_bytes)] }) : null,+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, I.jsxs)("p", { children: ["抽帧临时文件约 ", eU(e.disk.temporary_bytes)] }) : null,e.disk.volumes.map((e) => /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, I.jsxs)("p", { children: [e.path," 剩余 ",- e.free_bytes == null ? "未取得" : tU(e.free_bytes)+ e.free_bytes == null ? "未取得" : $H(e.free_bytes)] }), e.can_fit === !1 ? /* @__PURE__ */ (0, I.jsxs)("p", {role: "status",- children: ["空间不足,还差 ", tU(e.shortfall_bytes || 0)]+ children: ["空间不足,还差 ", $H(e.shortfall_bytes || 0)]}) : null]}, e.path)),e.disk.cache_unknown ? /* @__PURE__ */ (0, I.jsx)("p", {@@ -46497,7 +46497,7 @@ function iU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDeclassName: "self-start","aria-expanded": l,"aria-controls": c,- trailingIcon: l ? Lhe : AB,+ trailingIcon: l ? zhe : OB,onClick: () => {s(!l), i?.(!l);},@@ -46516,12 +46516,12 @@ function iU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDechildren: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 items-start justify-between gap-2",- children: [e.root ? /* @__PURE__ */ (0, I.jsx)(eU, {+ children: [e.root ? /* @__PURE__ */ (0, I.jsx)(QH, {source: e.location,label: e.label}) : /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, I.jsx)(ZH, { mark: "globe" }), e.label]+ children: [/* @__PURE__ */ (0, I.jsx)(YH, { mark: "globe" }), e.label]}), /* @__PURE__ */ (0, I.jsx)("span", {className: "shrink-0",children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"@@ -46543,7 +46543,7 @@ function iU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe"待补资料 ",u(e.workload.pending_jav_titles)," 部 · 平均约 ",- nU(e.workload.metadata_average_bytes || 0),+ eU(e.workload.metadata_average_bytes || 0),"/部"]}) : null,@@ -46553,8 +46553,8 @@ function iU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe"已用",e.unobserved.length ? "约" : ""," ",- tU(e.used_bytes)- ] }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["预计 ", rU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]+ $H(e.used_bytes)+ ] }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["预计 ", tU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]})]}, e.key))@@ -46567,15 +46567,15 @@ function iU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe});}// src/react/library-processing/library-processing-notice.tsx-var aU = "peach.library-processing.collapsed";-function oU(e) {+var rU = "peach.library-processing.collapsed";+function iU(e) {try {- return !e || sessionStorage.getItem(aU) !== e;+ return !e || sessionStorage.getItem(rU) !== e;} catch {return !0;}}-function X_e({ value: e, max: t }) {+function Q_e({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, I.jsxs)("svg", {role: "progressbar",@@ -46605,17 +46605,17 @@ function X_e({ value: e, max: t }) {})]});}-function sU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {- let [i, a] = (0, F.useState)(() => oU(e?.job_id)), [o, s] = (0, F.useState)(!1), c = (0, F.useRef)(!1), l = (0, F.useRef)(0), u = i && !o, d = (0, F.useRef)(u);+function aU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {+ let [i, a] = (0, F.useState)(() => iU(e?.job_id)), [o, s] = (0, F.useState)(!1), c = (0, F.useRef)(!1), l = (0, F.useRef)(0), u = i && !o, d = (0, F.useRef)(u);d.current = u;- let f = (0, F.useId)(), [p, m] = (0, F.useState)(!1), h = (0, F.useRef)(null), g = !t && pH(e), _ = e?.status === "failed" && !g, v = fH(e);+ let f = (0, F.useId)(), [p, m] = (0, F.useState)(!1), h = (0, F.useRef)(null), g = !t && dH(e), _ = e?.status === "failed" && !g, v = uH(e);(0, F.useEffect)(() => {- a(oU(e?.job_id)), m(!1);+ a(iU(e?.job_id)), m(!1);}, [e?.job_id]);let y = () => {if (!(o && (c.current = !0, s(!1), i))) {try {- i && e?.job_id ? sessionStorage.setItem(aU, e.job_id) : sessionStorage.removeItem(aU);+ i && e?.job_id ? sessionStorage.setItem(rU, e.job_id) : sessionStorage.removeItem(rU);} catch {}i && m(!1), a(!i);}@@ -46645,7 +46645,7 @@ function sU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {r = !0, o.disconnect(), u.disconnect(), window.removeEventListener("resize", a), t.style.removeProperty("--processing-toast-space");};}, [n]), e?.archived && !t || !t && !v && !_ && !g) return null;- let b = t ? null : uH(e), x = !!t || !!e?.stalled || g || !!b, S = g ? "处理已结束,部分项目需处理" : _ ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";+ let b = t ? null : cH(e), x = !!t || !!e?.stalled || g || !!b, S = g ? "处理已结束,部分项目需处理" : _ ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";return /* @__PURE__ */ (0, I.jsxs)("aside", {ref: h,"data-processing-dock": "",@@ -46659,13 +46659,13 @@ function sU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [- v && e?.total ? /* @__PURE__ */ (0, I.jsx)(X_e, {+ v && e?.total ? /* @__PURE__ */ (0, I.jsx)(Q_e, {value: e.checked || 0,max: e.total- }) : _ || x ? /* @__PURE__ */ (0, I.jsx)(Jhe, {+ }) : _ || x ? /* @__PURE__ */ (0, I.jsx)(Xhe, {"aria-hidden": !0,className: "size-5 shrink-0"- }) : /* @__PURE__ */ (0, I.jsx)(oge, {+ }) : /* @__PURE__ */ (0, I.jsx)(cge, {"aria-hidden": !0,className: "size-5 shrink-0"}),@@ -46677,14 +46677,14 @@ function sU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {}), v ? /* @__PURE__ */ (0, I.jsx)("p", {"data-processing-eta": "",className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",- children: gH(e)+ children: mH(e)}) : null]}),/* @__PURE__ */ (0, I.jsx)(J, {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: WH,+ leadingIcon: HH,"data-processing-toggle": "","data-collapse-upward": "","aria-label": u ? "收起任务详情" : "展开任务详情",@@ -46696,24 +46696,24 @@ function sU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: IB,+ leadingIcon: PB,"aria-label": "隐藏任务提示",onClick: r}) : null]}),- /* @__PURE__ */ (0, I.jsx)(iU, {+ /* @__PURE__ */ (0, I.jsx)(nU, {traffic: e?.traffic,compact: !u,detailsOpen: p,onDetailsChange: m}),- b ? /* @__PURE__ */ (0, I.jsx)(D_e, {+ b ? /* @__PURE__ */ (0, I.jsx)(k_e, {state: e,slow: b}) : null]- }), /* @__PURE__ */ (0, I.jsx)(UH, {+ }), /* @__PURE__ */ (0, I.jsx)(VH, {id: f,open: u,"data-processing-body": "",@@ -46730,10 +46730,10 @@ function sU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {"aria-current": e.status === "current" ? "step" : void 0,className: q("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),children: [- e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(Hhe, {+ e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(Whe, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, I.jsx)(Uhe, {+ }) : /* @__PURE__ */ (0, I.jsx)(Ghe, {"aria-hidden": !0,className: q("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")}),@@ -46750,11 +46750,11 @@ function sU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {}) : null,/* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: t || (_ || g ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, I.jsx)(N_e, { state: e }))+ children: t || (_ || g ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, I.jsx)(F_e, { state: e }))}),g ? /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: mH+ children: fH}) : null,v && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, I.jsxs)("p", {className: "text-caption-1-regular text-text-tertiary",@@ -46768,20 +46768,20 @@ function sU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2 pt-3",children: [- /* @__PURE__ */ (0, I.jsx)(TH, {+ /* @__PURE__ */ (0, I.jsx)(CH, {href: "/data-cleanup#libraryProcessing",variant: "secondary",size: "small",- trailingIcon: jB,+ trailingIcon: kB,children: t || _ || g ? "打开扫描与采集" : "任务详情"}),- g ? /* @__PURE__ */ (0, I.jsx)(TH, {- href: hH,+ g ? /* @__PURE__ */ (0, I.jsx)(CH, {+ href: pH,size: "small",- trailingIcon: jB,+ trailingIcon: kB,children: "查看全部内容"}) : null,- v ? /* @__PURE__ */ (0, I.jsx)(IH, {+ v ? /* @__PURE__ */ (0, I.jsx)(PH, {state: e,disabled: !!t}) : null@@ -46791,67 +46791,67 @@ function sU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {})]});}-function Z_e(e) {- let { job: t } = LH(e);- return /* @__PURE__ */ (0, I.jsx)(sU, {+function $_e(e) {+ let { job: t } = FH(e);+ return /* @__PURE__ */ (0, I.jsx)(aU, {state: t.data,- problem: t.isError ? t.data ? yH : cr(t.error) : ""+ problem: t.isError ? t.data ? _H : sr(t.error) : ""});}// src/react/library-processing/processing-notice-visibility.ts-var cU = "peach.library-processing.visibility", lU = /* @__PURE__ */ new Set(), uU = "";-function Q_e() {+var oU = "peach.library-processing.visibility", sU = /* @__PURE__ */ new Set(), cU = "";+function eve() {try {- return sessionStorage.getItem(cU) || "";+ return sessionStorage.getItem(oU) || "";} catch {- return uU;+ return cU;}}-function $_e(e) {- return lU.add(e), () => {- lU.delete(e);+function tve(e) {+ return sU.add(e), () => {+ sU.delete(e);};}-function dU(e, t) {- uU = `${t ? "shown" : "hidden"}:${e}`;+function lU(e, t) {+ cU = `${t ? "shown" : "hidden"}:${e}`;try {- sessionStorage.setItem(cU, uU);+ sessionStorage.setItem(oU, cU);} catch {}- lU.forEach((e) => e());+ sU.forEach((e) => e());}-function fU(e) {- let t = (0, F.useSyncExternalStore)($_e, Q_e, () => "");+function uU(e) {+ let t = (0, F.useSyncExternalStore)(tve, eve, () => "");return {hidden: t === `hidden:${e}`,requested: t === `shown:${e}`};}// src/react/library-processing/library-processing-dock.tsx-var pU = "peach-library-processing";-function eve({ toast: e }) {- let { job: t, settled: n } = LH({+var dU = "peach-library-processing";+function nve({ toast: e }) {+ let { job: t, settled: n } = FH({toast: e,mode: "notice"- }), r = (0, F.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = fU(a), c = t.isError ? i ? yH : cr(t.error) : "";+ }), r = (0, F.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = uU(a), c = t.isError ? i ? _H : sr(t.error) : "";return (0, F.useEffect)(() => {- let e = fH(i), t = i?.status === "failed" && (n?.job_id === i.job_id || CH(i));- o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && nH.dismiss(pU), r.current = !1) : (nH.custom(() => /* @__PURE__ */ (0, I.jsx)("div", {+ let e = uH(i), t = i?.status === "failed" && (n?.job_id === i.job_id || xH(i));+ o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && eH.dismiss(dU), r.current = !1) : (eH.custom(() => /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, I.jsx)(sU, {+ children: /* @__PURE__ */ (0, I.jsx)(aU, {state: i,problem: c,measure: !0,- onHide: () => dU(a, !1)+ onHide: () => lU(a, !1)})}), {- id: pU,+ id: dU,toasterId: "processing",duration: Infinity,dismissible: !1,closeButton: !1,className: "processing-task-toast",onDismiss: () => {- dU(a, !1), r.current = !1;+ lU(a, !1), r.current = !1;}}), r.current = !0);}, [@@ -46862,22 +46862,22 @@ function eve({ toast: e }) {o,s]), (0, F.useEffect)(() => () => {- r.current && nH.dismiss(pU), r.current = !1;+ r.current && eH.dismiss(dU), r.current = !1;}, []), null;}// src/react/network-banner.tsx-var tve = ["network-status"], nve = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";-function rve(e) {+var rve = ["network-status"], ive = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";+function ave(e) {return e?.state === "online" ? 12e4 : 3e4;}-function ive() {- let e = Pt({- queryKey: tve,- queryFn: ({ signal: e }) => B("/api/network-status", e),- refetchInterval: (e) => rve(e.state.data),+function ove() {+ let e = Nt({+ queryKey: rve,+ queryFn: ({ signal: e }) => V("/api/network-status", e),+ refetchInterval: (e) => ave(e.state.data),retry: !1}), t = document.querySelector("[data-network-banner]");- return e.data?.state !== "offline" || !t ? null : (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsxs)("aside", {+ return e.data?.state !== "offline" || !t ? null : (0, It.createPortal)(/* @__PURE__ */ (0, I.jsxs)("aside", {className: "ui-project-banner ui-project-banner-warning",role: "status","data-network-offline": "",@@ -46885,55 +46885,55 @@ function ive() {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-alert" })- }), /* @__PURE__ */ (0, I.jsx)("p", { children: nve })] }), /* @__PURE__ */ (0, I.jsx)("a", {+ }), /* @__PURE__ */ (0, I.jsx)("p", { children: ive })] }), /* @__PURE__ */ (0, I.jsx)("a", {href: "/settings/network#peachProxy",children: "检查 Peach 代理"})]}), t);}// src/react/components/segmented.tsx-function ave(e) {- let t = SL(OH("selection"));- return /* @__PURE__ */ (0, I.jsx)(TB, {+function sve(e) {+ let t = bL(EH("selection"));+ return /* @__PURE__ */ (0, I.jsx)(CB, {...e,ref: t});}-function mU(e) {- let t = SL(OH("selection"));- return /* @__PURE__ */ (0, I.jsx)(Wz, {+function fU(e) {+ let t = bL(EH("selection"));+ return /* @__PURE__ */ (0, I.jsx)(Hz, {...e,ref: t});}-var hU = "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", gU = "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", ove = "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", _U = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", vU = "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)", yU = [+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", mU = "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", cve = "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", hU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", gU = "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)", _U = [["library", "馆藏"],["discover", "发现"],["wants", "想要"]-], bU = (e) => yU.some(([t]) => t === e) ? e : "library", xU = (e) => bU(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;-function sve(e) {+], vU = (e) => _U.some(([t]) => t === e) ? e : "library", yU = (e) => vU(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;+function lve(e) {let t = new URLSearchParams(e);return t.delete("tab"), t.set("jav", "1"), "/?" + t;}// src/onboarding/guide-catalog.ts-var SU = (e, t, n, r, i, a) => ({+var bU = (e, t, n, r, i, a) => ({id: e,title: t,body: n,route: r,target: i,scope: a-}), CU = (e, t, n, r, i) => SU(e, t, n, r, i), wU = [+}), xU = (e, t, n, r, i) => bU(e, t, n, r, i), SU = [{id: "basics",kind: "interface",title: "认识界面",summary: "4 步认识搜索、导航、作品详情和设置。",steps: [- CU("search", "搜索馆藏", "输入作品名、番号、艺人、厂牌或标签。搜索结果来自已经入库的内容。", "/", "#q, #searchBtn"),- CU("navigation", "切换浏览入口", "在侧栏按人物、厂牌和标签浏览。手机上用导航按钮展开侧栏;入口与顺序可以在设置里调整。", "/", "#filterBtn, [data-sidebar-nav]"),- CU("cards", "打开作品详情", "选择作品查看资料、版本和播放入口。首次扫描尚未入库时,可以先继续认识导航。", "/", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),- CU("preferences", "调整自己的界面", "侧栏底部的设置包含显示与播放偏好;手机上先展开侧栏。媒体目录、网络和后台服务放在其中的 Peach 配置入口。", "/", "#settingsBtn, #filterBtn")+ xU("search", "搜索馆藏", "输入作品名、番号、艺人、厂牌或标签。搜索结果来自已经入库的内容。", "/", "#q, #searchBtn"),+ xU("navigation", "切换浏览入口", "在侧栏按人物、厂牌和标签浏览。手机上用导航按钮展开侧栏;入口与顺序可以在设置里调整。", "/", "#filterBtn, [data-sidebar-nav]"),+ xU("cards", "打开作品详情", "选择作品查看资料、版本和播放入口。首次扫描尚未入库时,可以先继续认识导航。", "/", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),+ xU("preferences", "调整自己的界面", "侧栏底部的设置包含显示与播放偏好;手机上先展开侧栏。媒体目录、网络和后台服务放在其中的 Peach 配置入口。", "/", "#settingsBtn, #filterBtn")]},{@@ -46942,23 +46942,23 @@ var SU = (e, t, n, r, i, a) => ({title: "找到并播放",summary: "搜索、筛选、详情、版本、字幕和播放器。",steps: [- CU("library", "选择媒体库", "导航顶部可以切换全部媒体库或某个媒体库;手机上先展开侧栏。媒体库把不同目录组织成一组。", "/", "#brandHome, #filterBtn"),- CU("search", "按关键词找内容", "输入作品、番号或人物名称,结合筛选与排序定位内容。搜索记录数量可在搜索与推荐中设置。", "/", "#q, #searchBtn"),- CU("filter", "筛选与清除", "多个筛选条件会共同缩小结果。找不到内容时先检查媒体库和筛选条件。", "/", "[data-catalog-frame]"),+ xU("library", "选择媒体库", "导航顶部可以切换全部媒体库或某个媒体库;手机上先展开侧栏。媒体库把不同目录组织成一组。", "/", "#brandHome, #filterBtn"),+ xU("search", "按关键词找内容", "输入作品、番号或人物名称,结合筛选与排序定位内容。搜索记录数量可在搜索与推荐中设置。", "/", "#q, #searchBtn"),+ xU("filter", "筛选与清除", "多个筛选条件会共同缩小结果。找不到内容时先检查媒体库和筛选条件。", "/", "[data-catalog-frame]"),{- ...SU("detail", "作品详情", "这里显示当前作品的标题和源文件工具。评分、人物和标签在下方;有分卷或版本的作品可从馆藏卡片进入相应队列。", "/", "[data-item-title]"),+ ...bU("detail", "作品详情", "这里显示当前作品的标题和源文件工具。评分、人物和标签在下方;有分卷或版本的作品可从馆藏卡片进入相应队列。", "/", "[data-item-title]"),surface: "detail"},{- ...SU("player", "播放器控件", "底部控制条提供播放、进度、音量和全屏。右侧齿轮打开播放速度、字幕、画面旋转和清晰度等选项。", "/", "#stage .vjs-control-bar"),+ ...bU("player", "播放器控件", "底部控制条提供播放、进度、音量和全屏。右侧齿轮打开播放速度、字幕、画面旋转和清晰度等选项。", "/", "#stage .vjs-control-bar"),surface: "player"},{- ...SU("subtitles", "字幕与播放选项", "从播放器齿轮菜单进入字幕,可以选择已有字幕、加载本地字幕文件或搜索字幕;播放速度和清晰度也在这个菜单中。", "/", "#stage [data-player-subtitles]"),+ ...bU("subtitles", "字幕与播放选项", "从播放器齿轮菜单进入字幕,可以选择已有字幕、加载本地字幕文件或搜索字幕;播放速度和清晰度也在这个菜单中。", "/", "#stage [data-player-subtitles]"),surface: "subtitles"},{- ...SU("external", "外部播放器", "在这里选择本地播放器、M3U 播放列表或网络播放地址,再点打开。另一台设备需要能访问当前 Peach 地址。", "/", "#stage [data-local-playback-row]"),+ ...bU("external", "外部播放器", "在这里选择本地播放器、M3U 播放列表或网络播放地址,再点打开。另一台设备需要能访问当前 Peach 地址。", "/", "#stage [data-local-playback-row]"),surface: "detail"}]@@ -46970,15 +46970,15 @@ var SU = (e, t, n, r, i, a) => ({summary: "评分、标记、播放列表与当前播放队列。",steps: [{- ...CU("marks", "评分", "点击星星给作品评分;下方的喜欢、稍后看和加入播放列表用于保存感兴趣的内容。", "/", "#stage [data-item-rating]"),+ ...xU("marks", "评分", "点击星星给作品评分;下方的喜欢、稍后看和加入播放列表用于保存感兴趣的内容。", "/", "#stage [data-item-rating]"),surface: "detail"},{- ...CU("mark-actions", "标记与加入列表", "喜欢影响口味推荐,稍后看便于回找;加入播放列表可把作品整理到自己的列表。", "/", "#stage [data-item-feedback]"),+ ...xU("mark-actions", "标记与加入列表", "喜欢影响口味推荐,稍后看便于回找;加入播放列表可把作品整理到自己的列表。", "/", "#stage [data-item-feedback]"),surface: "detail"},- CU("lists", "建立播放列表", "在这里输入名称,创建自己的播放列表。之后从作品详情的加入播放列表按钮添加内容。", "/playlists", "[data-playlist-create]"),- CU("queue", "从列表开始播放", "选择一张播放列表卡片进入队列,查看和调整播放顺序。没有列表时先创建,再加入作品。", "/playlists", "[data-playlist-card]")+ xU("lists", "建立播放列表", "在这里输入名称,创建自己的播放列表。之后从作品详情的加入播放列表按钮添加内容。", "/playlists", "[data-playlist-create]"),+ xU("queue", "从列表开始播放", "选择一张播放列表卡片进入队列,查看和调整播放顺序。没有列表时先创建,再加入作品。", "/playlists", "[data-playlist-card]")]},{@@ -46987,10 +46987,10 @@ var SU = (e, t, n, r, i, a) => ({title: "按人物与主题浏览",summary: "从人物、厂牌和标签继续发现相关馆藏。",steps: [- CU("people", "艺人与创作者", "选择人物卡片进入资料页,查看相关作品、照片与已连接的来源。上方可以切换艺人、卖家与在线人物。", "/performers", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),- CU("studios", "厂牌", "选择厂牌卡片集中查看作品。资料页中的作品仍会受到当前媒体库范围影响。", "/studios", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),- CU("tags", "标签与主题", "选择标签继续浏览相关馆藏;本地与在线使用不同的标签词表。", "/tags", "[data-index-body] [data-alpha-tag], [data-index-body] [data-tag-chip], [data-index-body] [data-empty-state]"),- CU("manage-tags", "管理标签", "铅笔按钮打开标签管理,用于整理标签名称和关系;再次点击返回浏览。", "/tags", "[data-tag-mode]")+ xU("people", "艺人与创作者", "选择人物卡片进入资料页,查看相关作品、照片与已连接的来源。上方可以切换艺人、卖家与在线人物。", "/performers", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),+ xU("studios", "厂牌", "选择厂牌卡片集中查看作品。资料页中的作品仍会受到当前媒体库范围影响。", "/studios", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),+ xU("tags", "标签与主题", "选择标签继续浏览相关馆藏;本地与在线使用不同的标签词表。", "/tags", "[data-index-body] [data-alpha-tag], [data-index-body] [data-tag-chip], [data-index-body] [data-empty-state]"),+ xU("manage-tags", "管理标签", "铅笔按钮打开标签管理,用于整理标签名称和关系;再次点击返回浏览。", "/tags", "[data-tag-mode]")]},{@@ -46999,10 +46999,10 @@ var SU = (e, t, n, r, i, a) => ({title: "JAV 与追新",summary: "馆藏、新作、想要清单与高清版。",steps: [- CU("library", "JAV 馆藏", "按番号、出演者和厂牌查找已入库的作品,可以选择官方封面或预览图。", xU("library"), "[data-catalog-frame]"),- CU("new", "发现推荐", "发现页按口味推荐作品。在这里切换馆藏或外部内容,并按标签筛选。", xU("discover"), "[data-jav-filter] [data-catalog-views]"),- CU("wants", "查看想要清单", "喜欢的外部作品可以加入想要清单;在这里切换馆藏、发现与想要。", xU("discover"), "[aria-label=\"JAV 分区\"]"),- CU("quality", "高清版", "待升级卡片列出当前版本信息和判定原因,可以查看版本或查找资源;没有目标时这里显示空状态。", "/quality-goals", "[data-goal-id], #main [data-empty-state]")+ xU("library", "JAV 馆藏", "按番号、出演者和厂牌查找已入库的作品,可以选择官方封面或预览图。", yU("library"), "[data-catalog-frame]"),+ xU("new", "发现推荐", "发现页按口味推荐作品。在这里切换馆藏或外部内容,并按标签筛选。", yU("discover"), "[data-jav-filter] [data-catalog-views]"),+ xU("wants", "查看想要清单", "喜欢的外部作品可以加入想要清单;在这里切换馆藏、发现与想要。", yU("discover"), "[aria-label=\"JAV 分区\"]"),+ xU("quality", "高清版", "待升级卡片列出当前版本信息和判定原因,可以查看版本或查找资源;没有目标时这里显示空状态。", "/quality-goals", "[data-goal-id], #main [data-empty-state]")]},{@@ -47011,9 +47011,9 @@ var SU = (e, t, n, r, i, a) => ({title: "关注创作者",summary: "多来源更新、同作品合并和来源状态。",steps: [- CU("feed", "集中看关注更新", "来自不同来源的创作者更新汇集在这里,选择一项更新查看内容;尚未关注来源时,按空状态中的入口添加。", "/follow", "[data-follow-item], [data-follow-empty] [data-empty-state]"),- CU("sources", "管理关注来源", "从列表查看启用状态、采集结果和失败原因;切换到添加区域,添加创作者或订阅来源。", "/subscriptions", "[aria-label=\"关注管理区域\"]"),- CU("credentials", "按需配置凭据", "部分来源需要登录凭据;先确认要启用的来源,再展开对应站点,填写其要求的信息。", "/settings/subscriptions", "[data-guide-target=\"credentials\"]")+ xU("feed", "集中看关注更新", "来自不同来源的创作者更新汇集在这里,选择一项更新查看内容;尚未关注来源时,按空状态中的入口添加。", "/follow", "[data-follow-item], [data-follow-empty] [data-empty-state]"),+ xU("sources", "管理关注来源", "从列表查看启用状态、采集结果和失败原因;切换到添加区域,添加创作者或订阅来源。", "/subscriptions", "[aria-label=\"关注管理区域\"]"),+ xU("credentials", "按需配置凭据", "部分来源需要登录凭据;先确认要启用的来源,再展开对应站点,填写其要求的信息。", "/settings/subscriptions", "[data-guide-target=\"credentials\"]")]},{@@ -47022,9 +47022,9 @@ var SU = (e, t, n, r, i, a) => ({title: "专注观看",summary: "播放墙、沉浸模式与详情小窗。",steps: [- CU("wall", "播放墙", "播放墙提供多画面观看入口。结束导览后点击进入,再选择要播放的内容。", "/", "#wallBtn"),- CU("immerse", "沉浸模式", "沉浸模式适合连续观看。点击入口会进入观看流程,请在准备好播放时使用。", "/", "#immerseBtn"),- CU("mini", "离开详情后继续看", "开启小窗播放后,离开详情可以继续观看。自动播放、小窗和快进步长都在浏览与播放设置中。", "/settings/playback", "#miniplayerSetting")+ xU("wall", "播放墙", "播放墙提供多画面观看入口。结束导览后点击进入,再选择要播放的内容。", "/", "#wallBtn"),+ xU("immerse", "沉浸模式", "沉浸模式适合连续观看。点击入口会进入观看流程,请在准备好播放时使用。", "/", "#immerseBtn"),+ xU("mini", "离开详情后继续看", "开启小窗播放后,离开详情可以继续观看。自动播放、小窗和快进步长都在浏览与播放设置中。", "/settings/playback", "#miniplayerSetting")]},{@@ -47033,11 +47033,11 @@ var SU = (e, t, n, r, i, a) => ({title: "整理与维护",summary: "扫描、补资料、复核、文件整理与回收站。",steps: [- CU("scan", "扫描与补资料", "在媒体库处理区域选择扫描和资料处理范围。读取策略取决于媒体库配置;导览不会启动任务。", "/data-cleanup", "#libraryProcessing"),- CU("review", "人工复核", "先按分类找到待复核资料,再查看项目的来源和证据后作决定。", "/review", "[aria-labelledby=\"reviewcategories\"]"),- CU("organize", "文件整理", "文件整理先查看预览,确认命名与目标目录再执行。资料整理和真实文件操作有不同的影响范围。", "/data-cleanup", "[data-cleanup-organize]"),- CU("trash", "回收站", "查看已移入回收站的作品,按需要恢复或处理。永久删除前认真核对确认框中的范围。", "/trash", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),- CU("tasks", "任务与失败原因", "任务记录显示处理状态;展开记录查看详情与失败原因。还没有任务时,这里会说明哪些操作会留下记录。", "/tasks", "[data-run-id], #main [data-empty-state]")+ xU("scan", "扫描与补资料", "在媒体库处理区域选择扫描和资料处理范围。读取策略取决于媒体库配置;导览不会启动任务。", "/data-cleanup", "#libraryProcessing"),+ xU("review", "人工复核", "先按分类找到待复核资料,再查看项目的来源和证据后作决定。", "/review", "[aria-labelledby=\"reviewcategories\"]"),+ xU("organize", "文件整理", "文件整理先查看预览,确认命名与目标目录再执行。资料整理和真实文件操作有不同的影响范围。", "/data-cleanup", "[data-cleanup-organize]"),+ xU("trash", "回收站", "查看已移入回收站的作品,按需要恢复或处理。永久删除前认真核对确认框中的范围。", "/trash", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),+ xU("tasks", "任务与失败原因", "任务记录显示处理状态;展开记录查看详情与失败原因。还没有任务时,这里会说明哪些操作会留下记录。", "/tasks", "[data-run-id], #main [data-empty-state]")]},{@@ -47046,10 +47046,10 @@ var SU = (e, t, n, r, i, a) => ({title: "了解自己的馆藏",summary: "统计、口味,以及浏览历史和书签来源。",steps: [- CU("stats", "馆藏统计", "选择统计视图查看馆藏、存储和观看情况,各视图中的入口可继续查看相关作品。", "/stats", "[aria-label=\"统计视图\"]"),- CU("taste", "口味与记录", "在这里切换浏览器记录与 Peach 观看评价,分析各自的口味。", "/taste", "[aria-label=\"口味分析的数据来源\"]"),- CU("import", "取得浏览历史与书签", "读取浏览器记录需要在运行 Peach 的电脑操作;更多方式菜单可以导入历史或书签文件,适合其它设备。", "/taste", "[data-guide-target=\"history-import\"]"),- CU("history", "管理记录来源", "已取得的记录来源集中列在这里,可以停用本机浏览器读取或移除已导入的数据源;导览不会修改这些记录。", "/taste", "section[aria-label=\"数据源\"]")+ xU("stats", "馆藏统计", "选择统计视图查看馆藏、存储和观看情况,各视图中的入口可继续查看相关作品。", "/stats", "[aria-label=\"统计视图\"]"),+ xU("taste", "口味与记录", "在这里切换浏览器记录与 Peach 观看评价,分析各自的口味。", "/taste", "[aria-label=\"口味分析的数据来源\"]"),+ xU("import", "取得浏览历史与书签", "读取浏览器记录需要在运行 Peach 的电脑操作;更多方式菜单可以导入历史或书签文件,适合其它设备。", "/taste", "[data-guide-target=\"history-import\"]"),+ xU("history", "管理记录来源", "已取得的记录来源集中列在这里,可以停用本机浏览器读取或移除已导入的数据源;导览不会修改这些记录。", "/taste", "section[aria-label=\"数据源\"]")]},{@@ -47058,9 +47058,9 @@ var SU = (e, t, n, r, i, a) => ({title: "从外部加入内容",summary: "云下载、目录映射与浏览器添加。",steps: [- CU("downloads", "配置下载渠道", "先连接支持的渠道,再指定云端目标目录与本地媒体目录。下载完成后按目录规则入库。", "/settings/downloads", "[data-guide-target=\"download\"]"),- CU("search", "搜索资源", "资源搜索使用配置的索引器。查到结果后还需要你主动选择下载。", "/settings/subscriptions", "[data-guide-target=\"indexers\"]"),- CU("browser", "浏览器添加 JAV", "用户脚本与 Peach 配对后可从浏览器添加作品。专用令牌、默认渠道和开关在下载渠道里管理。", "/settings/downloads", "[data-guide-target=\"browser\"]")+ xU("downloads", "配置下载渠道", "先连接支持的渠道,再指定云端目标目录与本地媒体目录。下载完成后按目录规则入库。", "/settings/downloads", "[data-guide-target=\"download\"]"),+ xU("search", "搜索资源", "资源搜索使用配置的索引器。查到结果后还需要你主动选择下载。", "/settings/subscriptions", "[data-guide-target=\"indexers\"]"),+ xU("browser", "浏览器添加 JAV", "用户脚本与 Peach 配对后可从浏览器添加作品。专用令牌、默认渠道和开关在下载渠道里管理。", "/settings/downloads", "[data-guide-target=\"browser\"]")]},{@@ -47069,18 +47069,18 @@ var SU = (e, t, n, r, i, a) => ({title: "手机与其他设备",summary: "访问地址、密码、局域网和公网入口。",steps: [- CU("address", "找到访问地址", "同一局域网的设备使用 Peach 的局域网地址。仅本机访问时,其它设备无法连接。", "/settings/network", "[data-guide-target=\"port\"]"),- CU("password", "访问密码", "能连接到 Peach 的设备按访问密码登录。显示偏好与访问权限是不同的设置。", "/settings/network", "[data-guide-target=\"access\"]"),- CU("tunnel", "需要时启用公网入口", "Cloudflare 公网入口适合离开局域网后访问,需要按实际部署配置连接信息。", "/settings/network", "[data-guide-target=\"tunnel\"]")+ xU("address", "找到访问地址", "同一局域网的设备使用 Peach 的局域网地址。仅本机访问时,其它设备无法连接。", "/settings/network", "[data-guide-target=\"port\"]"),+ xU("password", "访问密码", "能连接到 Peach 的设备按访问密码登录。显示偏好与访问权限是不同的设置。", "/settings/network", "[data-guide-target=\"access\"]"),+ xU("tunnel", "需要时启用公网入口", "Cloudflare 公网入口适合离开局域网后访问,需要按实际部署配置连接信息。", "/settings/network", "[data-guide-target=\"tunnel\"]")]}-], cve = "当前浏览器 · 修改后自动保存", TU = "跟随馆藏 · 修改后自动保存", EU = "运行 Peach 的电脑 · 确认后保存配置", DU = (e, t, n = cve) => t.map(([t, r, i, a, o]) => SU(t, r, i, `/settings/${e}`, a || `[data-guide-target="${t}"]`, o || n)), OU = [+], uve = "当前浏览器 · 修改后自动保存", CU = "跟随馆藏 · 修改后自动保存", wU = "运行 Peach 的电脑 · 确认后保存配置", TU = (e, t, n = uve) => t.map(([t, r, i, a, o]) => bU(t, r, i, `/settings/${e}`, a || `[data-guide-target="${t}"]`, o || n)), EU = [{id: "appearance",kind: "settings",- title: Of.appearance,+ title: Df.appearance,summary: "主题、光晕与导航入口。",- steps: DU("appearance", [+ steps: TU("appearance", [["theme","主题",@@ -47110,16 +47110,16 @@ var SU = (e, t, n, r, i, a) => ({"导航入口与顺序","把常用入口放到侧栏,拖动调整顺序。","[data-sidebar-setting]",- TU+ CU]])},{id: "playback",kind: "settings",- title: Of.playback,+ title: Df.playback,summary: "列表呈现、悬停预览与播放行为。",- steps: DU("playback", [+ steps: TU("playback", [["batch","每批作品",@@ -47173,15 +47173,15 @@ var SU = (e, t, n, r, i, a) => ({{id: "jav-settings",kind: "settings",- title: Of.jav,+ title: Df.jav,summary: "封面与新作筛选。",- steps: DU("jav", [+ steps: TU("jav", [["names","女优名称","选择中文或日文名称;偏好跟随馆藏,其他设备读取同一份设置。","#performerNameLanguageSetting",- TU+ CU],["image",@@ -47206,35 +47206,35 @@ var SU = (e, t, n, r, i, a) => ({"隐藏大合集","过滤新作中的大合集,只影响新作展示,馆藏仍可查找。","#feedHideGroupSetting",- TU+ CU],["solo-compilations","隐藏单人合集","过滤新作中的单人合集,只影响新作展示,馆藏仍可查找。","#feedHideSoloSetting",- TU+ CU],["excerpts","隐藏切片","过滤新作中的切片,只影响新作展示,馆藏仍可查找。","#feedHideExcerptSetting",- TU+ CU]])},{id: "search-settings",kind: "settings",- title: Of.search,+ title: Df.search,summary: "搜索记录、推荐数量与口味入口。",- steps: [...DU("search", [[+ steps: [...TU("search", [["history","搜索记录","设置保留的搜索记录上限,0 表示不记录。","#searchHistoryLimitSetting"- ]], TU), ...DU("search", [[+ ]], CU), ...TU("search", [["related","相关推荐数量","决定详情中显示多少项相关推荐。口味和记录来源在口味页面管理。",@@ -47244,9 +47244,9 @@ var SU = (e, t, n, r, i, a) => ({{id: "content",kind: "settings",- title: Of.content,+ title: Df.content,summary: "SFW 模式与画面显示。",- steps: DU("content", [[+ steps: TU("content", [["sfw","SFW 模式","隐藏敏感画面并停止悬停预览,适合需要遮挡画面的环境。访问控制请另设访问密码。",@@ -47256,9 +47256,9 @@ var SU = (e, t, n, r, i, a) => ({{id: "library",kind: "settings",- title: kf.library,+ title: Of.library,summary: "媒体库、目录、读取与处理方式。",- steps: DU("library", [+ steps: TU("library", [["media","媒体库名称与外观",@@ -47309,14 +47309,14 @@ var SU = (e, t, n, r, i, a) => ({"视频预览","生成视频预览会读取视频并产生缓存。时间轴预览的开关与采集间隔控制本机磁盘缩略图;抽帧解码方式决定生成预览使用的解码器。修改后自动保存,并受媒体库处理方式与读取策略约束。"]- ], EU)+ ], wU)},{id: "subscriptions",kind: "settings",- title: kf.subscriptions,+ title: Of.subscriptions,summary: "资料来源、关注、索引器与站点入口。",- steps: DU("subscriptions", [+ steps: TU("subscriptions", [["sources","采集来源与登录状态",@@ -47343,14 +47343,14 @@ var SU = (e, t, n, r, i, a) => ({"作品资料站点","配置资料站点和镜像入口,用于打开相关作品页面。地址和登录凭据分别管理。"]- ], EU)+ ], wU)},{id: "downloads",kind: "settings",- title: kf.downloads,+ title: Of.downloads,summary: "云下载目录、账号与浏览器配对。",- steps: DU("downloads", [+ steps: TU("downloads", [["download","云下载",@@ -47366,14 +47366,14 @@ var SU = (e, t, n, r, i, a) => ({"浏览器添加 JAV","安装用户脚本并配对 Peach。默认渠道决定提交到哪里;启用开关控制功能,专用令牌可更新或关闭,脚本检测帮助确认配对。"]- ], EU)+ ], wU)},{id: "network",kind: "settings",- title: kf.network,+ title: Of.network,summary: "访问端口、代理、密码和公网入口。",- steps: DU("network", [+ steps: TU("network", [["port","访问地址与端口",@@ -47394,14 +47394,14 @@ var SU = (e, t, n, r, i, a) => ({"Cloudflare 公网入口","临时链接用于临时连接,命名隧道使用主机名与隧道令牌。连接状态显示是否已可用,按需要启用。"]- ], EU)+ ], wU)},{id: "app-maintenance",kind: "settings",- title: kf.maintenance,+ title: Of.maintenance,summary: "更新、存储、数据选择与应用维护。",- steps: DU("maintenance", [+ steps: TU("maintenance", [["updates","检查更新",@@ -47442,14 +47442,14 @@ var SU = (e, t, n, r, i, a) => ({"卸载 Peach","卸载移除程序;完全卸载还移除设置、资料库、记录、凭据和缓存。执行前核对页面列出的数据目录与确认内容。"]- ], EU)+ ], wU)},{id: "diagnostics",kind: "settings",- title: kf.diagnostics,+ title: Of.diagnostics,summary: "遇到问题时查看检查项与诊断报告。",- steps: DU("diagnostics", [+ steps: TU("diagnostics", [["attention","需要关注的检查项",@@ -47474,7 +47474,7 @@ var SU = (e, t, n, r, i, a) => ({]], "只读检查 · 重新检查与下载由你主动执行")}-], lve = {+], dve = {glow: [["配色预设", "一次应用一组配色和参数,适合先挑选整体外观。"],["强度", "控制光晕的明亮程度;太抢眼时降低。"],@@ -47581,8 +47581,8 @@ var SU = (e, t, n, r, i, a) => ({["上传预览", "查看本次会包含的内容,再决定是否启用明细上传。"]]};-for (let e of OU) for (let t of e.steps) t.details = lve[t.id], (t.id === "preview" || t.id === "transcode") && (t.scope = "运行 Peach 的电脑 · 修改后自动保存"), (t.id === "follow-options" || t.id === "sources" || t.id === "reporting" || t.id === "storage") && (t.scope = "按页面中各项的保存或确认动作生效");-var kU = [...wU, ...OU], uve = [+for (let e of EU) for (let t of e.steps) t.details = dve[t.id], (t.id === "preview" || t.id === "transcode") && (t.scope = "运行 Peach 的电脑 · 修改后自动保存"), (t.id === "follow-options" || t.id === "sources" || t.id === "reporting" || t.id === "storage") && (t.scope = "按页面中各项的保存或确认动作生效");+var DU = [...SU, ...EU], fve = [{id: "browse",kind: "interface",@@ -47660,35 +47660,35 @@ var kU = [...wU, ...OU], uve = []}];-function dve(e) {- return e === "/" ? wU[0] : OU.find((t) => t.steps[0]?.route === e) || wU.find((t) => t.id !== "basics" && t.steps.some((t) => t.route === e)) || wU[0];+function pve(e) {+ return e === "/" ? SU[0] : EU.find((t) => t.steps[0]?.route === e) || SU.find((t) => t.id !== "basics" && t.steps.some((t) => t.route === e)) || SU[0];}// src/onboarding/guide-state.ts-var fve = () => ({+var mve = () => ({version: 1,campaign: "",invited: !1,completed: !1,chapters: {}});-function AU(e, t) {+function OU(e, t) {let n = e.chapters[t.id]?.read || [];return t.steps.every((e) => n.includes(e.id));}-function pve(e, t) {+function hve(e, t) {let n = e.chapters[t.id];- return !n || AU(e, t) ? 0 : n.next < t.steps.length ? n.next : t.steps.findIndex((e) => !n.read.includes(e.id));+ return !n || OU(e, t) ? 0 : n.next < t.steps.length ? n.next : t.steps.findIndex((e) => !n.read.includes(e.id));}-function mve() {- return B("/api/tutorial-progress");+function gve() {+ return V("/api/tutorial-progress");}-function hve(e, t) {- return V("/api/tutorial-progress", {+function _ve(e, t) {+ return H("/api/tutorial-progress", {campaign: e,...t});}-function gve(e, t, n, r, i) {+function vve(e, t, n, r, i) {let a = e.chapters[t] || {next: 0,read: [],@@ -47706,99 +47706,99 @@ function gve(e, t, n, r, i) {}};}-var jU = null, MU = /* @__PURE__ */ new Set();-function NU(e = {}) {- MU.size || (jU = e);- for (let t of MU) t(e);+var kU = null, AU = /* @__PURE__ */ new Set();+function jU(e = {}) {+ AU.size || (kU = e);+ for (let t of AU) t(e);}-function _ve(e) {- if (MU.add(e), jU) {- let t = jU;- jU = null, queueMicrotask(() => {- MU.has(e) && e(t);+function yve(e) {+ if (AU.add(e), kU) {+ let t = kU;+ kU = null, queueMicrotask(() => {+ AU.has(e) && e(t);});}return () => {- MU.delete(e);+ AU.delete(e);};}// src/react/components/card.tsx-var vve = "min-w-0", yve = {+var bve = "min-w-0", xve = {filled: "bg-background-secondary-default",outlined: "border border-separator-border bg-background-primary-default",raised: "bg-background-primary-default"-}, bve = {+}, Sve = {default: "rounded-2xl shadow-card",chart: "rounded-2-5xl",surface: "rounded-surface",plain: "rounded-2xl"-}, xve = {+}, Cve = {line: "border border-border-button-default",soft: "border border-separator-border",error: "outline-1 -outline-offset-1 outline-border-error-default"-}, Sve = {+}, wve = {none: "",default: "p-5"-}, Cve = "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", wve = "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 PU(e = {}) {+}, Tve = "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", Eve = "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 MU(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 [- vve,- yve[t],- bve[s],- Sve[n],- a ? xve[a] : "",- r ? Cve : "",- i ? wve : "",+ bve,+ xve[t],+ Sve[s],+ wve[n],+ a ? Cve[a] : "",+ r ? Tve : "",+ i ? Eve : "",o ?? ""].filter(Boolean).join(" ");}// src/react/onboarding/guide-directory.tsx-var Tve = {- browse: rV,- collect: PB,- watch: QB,- manage: WB,- experience: XB,- discovery: nV,- storage: RB,- system: iV-}, Eve = {- basics: LB,- "find-play": rV,- entities: cV,- jav: HB,- save: PB,- follow: nV,- insights: NB,- viewing: QB,- devices: aV,- external: zB,- maintenance: sV,- appearance: XB,- playback: QB,- content: VB,- "search-settings": rV,- "jav-settings": HB,- subscriptions: nV,- library: RB,- downloads: zB,- network: aV,- "app-maintenance": sV,- diagnostics: dge+var Dve = {+ browse: tV,+ collect: MB,+ watch: XB,+ manage: HB,+ experience: JB,+ discovery: eV,+ storage: IB,+ system: nV+}, Ove = {+ basics: FB,+ "find-play": tV,+ entities: oV,+ jav: BB,+ save: MB,+ follow: eV,+ insights: jB,+ viewing: XB,+ devices: rV,+ external: LB,+ maintenance: aV,+ appearance: JB,+ playback: XB,+ content: zB,+ "search-settings": tV,+ "jav-settings": BB,+ subscriptions: eV,+ library: IB,+ downloads: LB,+ network: rV,+ "app-maintenance": aV,+ diagnostics: pge};-function Dve({ chapter: e, className: t = "size-5" }) {- let n = Eve[e] || LB;+function kve({ chapter: e, className: t = "size-5" }) {+ let n = Ove[e] || FB;return /* @__PURE__ */ (0, I.jsx)(n, {"aria-hidden": !0,className: q(t, "shrink-0")});}-function FU({ icon: e, title: t, description: n, children: r, completed: i = !1 }) {+function NU({ icon: e, title: t, description: n, children: r, completed: i = !1 }) {return /* @__PURE__ */ (0, I.jsxs)("section", {"data-guide-banner": "","data-guide-completed": i || void 0,- className: PU({+ className: MU({radius: "plain",className: "flex flex-col gap-4"}),@@ -47827,8 +47827,8 @@ function FU({ icon: e, title: t, description: n, children: r, completed: i = !1})]});}-function IU({ chapter: e, progress: t, loading: n, start: r }) {- let i = AU(t, e), a = !i && !!t.chapters[e.id];+function PU({ chapter: e, progress: t, loading: n, start: r }) {+ let i = OU(t, e), a = !i && !!t.chapters[e.id];return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",disabled: n,@@ -47838,7 +47838,7 @@ function IU({ chapter: e, progress: t, loading: n, start: r }) {children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "peach-guide-topic-icon",- children: /* @__PURE__ */ (0, I.jsx)(Dve, { chapter: e.id })+ children: /* @__PURE__ */ (0, I.jsx)(kve, { chapter: e.id })}),/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 flex-1 flex-col gap-1",@@ -47850,7 +47850,7 @@ function IU({ chapter: e, progress: t, loading: n, start: r }) {children: e.summary})]}),- i ? /* @__PURE__ */ (0, I.jsx)(LU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {+ i ? /* @__PURE__ */ (0, I.jsx)(FU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {className: "shrink-0 text-caption-1-regular tabular-nums text-text-secondary",children: [a ? "继续 · " : "",@@ -47858,17 +47858,17 @@ function IU({ chapter: e, progress: t, loading: n, start: r }) {" 步"]}),- /* @__PURE__ */ (0, I.jsx)(MB, {+ /* @__PURE__ */ (0, I.jsx)(AB, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0 text-text-secondary"})]});}-function LU() {+function FU() {return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex shrink-0 items-center gap-1 rounded-full bg-notification-success-background px-2 py-1 text-caption-1-medium text-notification-success-foreground",- children: [/* @__PURE__ */ (0, I.jsx)(FB, {+ children: [/* @__PURE__ */ (0, I.jsx)(NB, {"aria-hidden": !0,className: "size-4"}), /* @__PURE__ */ (0, I.jsx)("span", {@@ -47877,17 +47877,17 @@ function LU() {})]});}-function Ove({ kind: e, query: t, setQuery: n, context: r, progress: i, loading: a, start: o }) {- let [s, c] = (0, F.useState)(null), l = kU.find((t) => t.id === (e === "interface" ? "basics" : "appearance")), u = AU(i, l), d = !u && !!i.chapters[l.id], f = t.trim().toLowerCase(), p = kU.filter((t) => t.kind === e && `${t.title} ${t.summary} ${t.steps.map((e) => `${e.title} ${e.body} ${(e.details || []).flat().join(" ")}`).join(" ")}`.toLowerCase().includes(f));+function Ave({ kind: e, query: t, setQuery: n, context: r, progress: i, loading: a, start: o }) {+ let [s, c] = (0, F.useState)(null), l = DU.find((t) => t.id === (e === "interface" ? "basics" : "appearance")), u = OU(i, l), d = !u && !!i.chapters[l.id], f = t.trim().toLowerCase(), p = DU.filter((t) => t.kind === e && `${t.title} ${t.summary} ${t.steps.map((e) => `${e.title} ${e.body} ${(e.details || []).flat().join(" ")}`).join(" ")}`.toLowerCase().includes(f));return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-4",children: [- /* @__PURE__ */ (0, I.jsxs)(FU, {+ /* @__PURE__ */ (0, I.jsxs)(NU, {completed: u,- icon: e === "interface" ? LB : iV,+ icon: e === "interface" ? FB : nV,title: e === "interface" ? "先认识 Peach" : "按习惯调整 Peach",description: e === "interface" ? "先用 4 步认识常用入口,其余功能用到时再看。" : "先了解外观与导航,其余设置按需要查看。",- children: [u ? /* @__PURE__ */ (0, I.jsx)(LU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [u ? /* @__PURE__ */ (0, I.jsx)(FU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {className: "text-body-2-regular text-text-secondary",children: [l.steps.length, " 步 · 随时可以退出"]}), /* @__PURE__ */ (0, I.jsx)(J, {@@ -47900,26 +47900,26 @@ function Ove({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:})})]}),- /* @__PURE__ */ (0, I.jsx)(hV, {+ /* @__PURE__ */ (0, I.jsx)(pV, {"aria-label": "搜索教程",value: t,onChange: n,- children: /* @__PURE__ */ (0, I.jsx)(_V, {+ children: /* @__PURE__ */ (0, I.jsx)(hV, {type: "search",placeholder: e === "settings" ? "搜索设置名称或用途" : "搜索功能或页面",- leadingIcon: rV+ leadingIcon: tV})}),f ? p.length ? /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-chapters",- children: p.map((e) => /* @__PURE__ */ (0, I.jsx)(IU, {+ children: p.map((e) => /* @__PURE__ */ (0, I.jsx)(PU, {chapter: e,progress: i,loading: a,start: o}, e.id))- }) : /* @__PURE__ */ (0, I.jsx)(SV, {- icon: rV,+ }) : /* @__PURE__ */ (0, I.jsx)(bV, {+ icon: tV,title: "没有匹配的教程",size: "compact",children: "试试功能名或设置名称。"@@ -47937,12 +47937,12 @@ function Ove({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:}) : null]}), /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-topics",- children: uve.filter((t) => t.kind === e).map((e) => {- let t = Tve[e.id];+ children: fve.filter((t) => t.kind === e).map((e) => {+ let t = Dve[e.id];return /* @__PURE__ */ (0, I.jsx)("div", {"data-guide-topic": e.id,className: "peach-guide-topic",- children: /* @__PURE__ */ (0, I.jsx)(XH, {+ children: /* @__PURE__ */ (0, I.jsx)(JH, {trailing: !0,isOpen: s === e.id,onOpenChange: (t) => c(t ? e.id : null),@@ -47967,8 +47967,8 @@ function Ove({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:}),children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-topic-chapters",- children: e.chapters.map((e) => /* @__PURE__ */ (0, I.jsx)(IU, {- chapter: kU.find((t) => t.id === e),+ children: e.chapters.map((e) => /* @__PURE__ */ (0, I.jsx)(PU, {+ chapter: DU.find((t) => t.id === e),progress: i,loading: a,start: o@@ -47982,14 +47982,14 @@ function Ove({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:});}// src/onboarding/guide-entry.ts-var RU = "侧栏收起时,先点左上角的导航按钮。", zU = (...e) => ({+var IU = "侧栏收起时,先点左上角的导航按钮。", LU = (...e) => ({path: ["侧栏", ...e],- hint: RU-}), BU = (e) => ({+ hint: IU+}), RU = (e) => ({path: ["侧栏底部的设置", e],- hint: RU+ hint: IU});-function kve(e) {+function jve(e) {if (e.surface) return e.id === "external" ? { path: ["作品卡片","作品详情",@@ -48006,20 +48006,20 @@ function kve(e) {if (!e.route) return;let [t = "/", n = ""] = e.route.split("#")[0].split("?"), r = t.split("/")[2];if (t.startsWith("/settings/")) {- let e = Of[r];- if (e) return BU(e);- let t = kf[r];+ let e = Df[r];+ if (e) return RU(e);+ let t = Of[r];if (t) return {path: ["侧栏底部的设置","Peach 配置",t],- hint: RU+ hint: IU};}let i = new URLSearchParams(n);- if (t === "/jav" || i.get("jav") === "1") return zU("JAV", yU.find(([e]) => e === (i.get("tab") || "library"))?.[1] || yU[0][1]);+ if (t === "/jav" || i.get("jav") === "1") return LU("JAV", _U.find(([e]) => e === (i.get("tab") || "library"))?.[1] || _U[0][1]);if (t === "/") {switch (e.id) {case "search": return {@@ -48029,9 +48029,9 @@ function kve(e) {case "navigation": return { path: ["左上角导航按钮", "侧栏中的浏览入口"] };case "library": return {path: ["侧栏顶部", "媒体库选择器"],- hint: RU+ hint: IU};- case "preferences": return BU(Of.appearance);+ case "preferences": return RU(Df.appearance);case "wall": return { path: ["页面顶部", "播放墙按钮"] };case "immerse": return { path: ["页面顶部", "沉浸模式按钮"] };case "cards":@@ -48053,22 +48053,22 @@ function kve(e) {hint: "来源、时长等更多筛选位于侧栏。"};}- return zU("首页");+ return LU("首页");}if (["/review","/quality-goals","/trash"- ].includes(t)) return zU("管理", $f["/data-cleanup"].title, t === "/trash" ? "回收站" : $f[t].title);- let a = $f[t];+ ].includes(t)) return LU("管理", Qf["/data-cleanup"].title, t === "/trash" ? "回收站" : Qf[t].title);+ let a = Qf[t];if (a?.nav && a.title) {- let e = zU(a.title);+ let e = LU(a.title);return t === "/playlists" && (e.hint = "若侧栏没有播放列表,到设置 → 外观与导航 → 导航入口与顺序添加;手机上先展开侧栏。"), e;}- if (a?.section && a.title) return zU("管理", a.title);+ if (a?.section && a.title) return LU("管理", a.title);}// src/react/onboarding/guide-help.tsx-function Ave({ details: e }) {+function Mve({ details: e }) {return e?.length ? /* @__PURE__ */ (0, I.jsx)("dl", {className: "flex flex-col gap-3",children: e.map(([e, t]) => /* @__PURE__ */ (0, I.jsxs)("div", {@@ -48083,24 +48083,24 @@ function Ave({ details: e }) {}, e))}) : null;}-function jve({ chapter: e }) {- let t = kU.find((t) => t.id === e);+function Nve({ chapter: e }) {+ let t = DU.find((t) => t.id === e);return t ? /* @__PURE__ */ (0, I.jsx)("div", {className: "text-body-2-regular text-text-secondary",- children: /* @__PURE__ */ (0, I.jsxs)(XH, {+ children: /* @__PURE__ */ (0, I.jsxs)(JH, {summary: "了解这些设置",children: [/* @__PURE__ */ (0, I.jsx)("p", { children: t.summary }), /* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- onClick: () => NU({ chapter: e }),+ onClick: () => jU({ chapter: e }),children: "逐步了解这个分区"}) })]})}) : null;}// src/react/onboarding/guide-popover.tsx-function Mve({ step: e, position: t, total: n, missing: r, next: i, previous: a, close: o, invitation: s }) {- let c = ZV(), l = kve(e);+function Pve({ step: e, position: t, total: n, missing: r, next: i, previous: a, close: o, invitation: s }) {+ let c = YV(), l = jve(e);return /* @__PURE__ */ (0, I.jsxs)("div", {className: "peach-guide-popover-content",onPointerDown: (e) => e.stopPropagation(),@@ -48111,7 +48111,7 @@ function Mve({ step: e, position: t, total: n, missing: r, next: i, previous: a,id: "driver-popover-title",className: "text-body-medium text-text-primary",children: e.title- }), /* @__PURE__ */ (0, I.jsx)(TV, {+ }), /* @__PURE__ */ (0, I.jsx)(CV, {label: s ? "关闭教程提示" : "结束导览",onPress: o})]@@ -48128,7 +48128,7 @@ function Mve({ step: e, position: t, total: n, missing: r, next: i, previous: a,children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex items-center gap-2 text-body-2-medium text-text-secondary",- children: [/* @__PURE__ */ (0, I.jsx)(pge, {+ children: [/* @__PURE__ */ (0, I.jsx)(hge, {className: "size-4 shrink-0","aria-hidden": "true"}), "打开方式"]@@ -48137,7 +48137,7 @@ function Mve({ step: e, position: t, total: n, missing: r, next: i, previous: a,className: "flex flex-wrap items-center gap-x-1 gap-y-1 text-body-2-medium text-text-primary",children: l.path.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("li", {className: "inline-flex items-center gap-1",- children: [t ? /* @__PURE__ */ (0, I.jsx)(MB, {+ children: [t ? /* @__PURE__ */ (0, I.jsx)(AB, {className: "size-4 shrink-0 text-text-secondary","aria-hidden": "true"}) : null, /* @__PURE__ */ (0, I.jsx)("span", { children: e })]@@ -48158,15 +48158,15 @@ function Mve({ step: e, position: t, total: n, missing: r, next: i, previous: a,className: "text-caption-1-regular text-text-secondary",children: "导览期间不自动播放;退出后仍按原来的播放设置使用。"}) : null,- e.details?.length ? /* @__PURE__ */ (0, I.jsx)(XH, {+ e.details?.length ? /* @__PURE__ */ (0, I.jsx)(JH, {summary: "更多说明",- children: /* @__PURE__ */ (0, I.jsx)(Ave, { details: e.details })+ children: /* @__PURE__ */ (0, I.jsx)(Mve, { details: e.details })}) : null,e.scope ? /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: e.scope}) : null,- r ? /* @__PURE__ */ (0, I.jsx)(xV, {+ r ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "neutral",children: e.surface ? "尚未取得可演示的视频或对应控件。请先添加视频,或跳过后稍后重看。" : "当前页面未显示这个入口,可能尚无内容、没有配置权限或仍在加载。可以跳过,稍后重看。"}) : null@@ -48220,18 +48220,18 @@ function Mve({ step: e, position: t, total: n, missing: r, next: i, previous: a,]});}-function VU(e, t, n) {+function zU(e, t, n) {let r = document.createElement("div");e.replaceChildren(r, t);- let i = (0, Rt.createRoot)(r);- return (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(Mve, { ...n }))), () => i.unmount();+ let i = (0, Lt.createRoot)(r);+ return (0, It.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(Pve, { ...n }))), () => i.unmount();}// src/react/onboarding/tutorial-center.tsx-function Nve({ go: e }) {+function Fve({ go: e }) {let [t, n] = (0, F.useState)(null), [r, i] = (0, F.useState)(""), [a, o] = (0, F.useState)(0);(0, F.useEffect)(() => {let e = new AbortController();- return i(""), B("/api/post-setup-tutorial", e.signal).then((t) => {+ return i(""), V("/api/post-setup-tutorial", e.signal).then((t) => {e.signal.aborted || n(t);}).catch(() => {e.signal.aborted || i("未取得安装状态。可以重试,或直接打开对应页面。");@@ -48241,8 +48241,8 @@ function Nve({ go: e }) {return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-4",children: [- /* @__PURE__ */ (0, I.jsxs)(FU, {- icon: fge,+ /* @__PURE__ */ (0, I.jsxs)(NU, {+ icon: mge,title: "从第一份收藏开始",description: "连接媒体目录,查看入库结果,再打开馆藏。",children: [/* @__PURE__ */ (0, I.jsx)("span", {@@ -48253,7 +48253,7 @@ function Nve({ go: e }) {children: "连接媒体目录"})]}),- r ? /* @__PURE__ */ (0, I.jsx)(xV, {+ r ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -48269,7 +48269,7 @@ function Nve({ go: e }) {/* @__PURE__ */ (0, I.jsxs)("li", { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "peach-guide-topic-icon",- children: /* @__PURE__ */ (0, I.jsx)(WB, {+ children: /* @__PURE__ */ (0, I.jsx)(HB, {"aria-hidden": !0,className: "size-5"})@@ -48288,7 +48288,7 @@ function Nve({ go: e }) {/* @__PURE__ */ (0, I.jsxs)("li", { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "peach-guide-topic-icon",- children: /* @__PURE__ */ (0, I.jsx)(Sge, {+ children: /* @__PURE__ */ (0, I.jsx)(wge, {"aria-hidden": !0,className: "size-5"})@@ -48307,7 +48307,7 @@ function Nve({ go: e }) {/* @__PURE__ */ (0, I.jsxs)("li", { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "peach-guide-topic-icon",- children: /* @__PURE__ */ (0, I.jsx)(QB, {+ children: /* @__PURE__ */ (0, I.jsx)(XB, {"aria-hidden": !0,className: "size-5"})@@ -48325,7 +48325,7 @@ function Nve({ go: e }) {] })]}),- /* @__PURE__ */ (0, I.jsx)(XH, {+ /* @__PURE__ */ (0, I.jsx)(JH, {summary: "更多接入方式",children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-routes",@@ -48334,31 +48334,31 @@ function Nve({ go: e }) {title: "关注创作者",description: l ? "当前启用来源的必要凭据已具备。" : s.length ? "已有关注来源,请检查必要凭据。" : "添加想持续追踪的创作者与来源。",path: "/subscriptions",- icon: nV+ icon: eV},{title: "口味与记录",description: t?.taste.history_sources ? `已导入 ${t.taste.history_sources} 份浏览器历史。` : "按需要导入浏览历史或书签。",path: "/taste",- icon: NB+ icon: jB},{title: "云下载与浏览器添加",description: "连接渠道、设置目标目录,按需要配对用户脚本。",path: "/settings/downloads",- icon: zB+ icon: LB},{title: "手机访问",description: "查看访问范围、地址与密码。",path: "/settings/network",- icon: aV+ icon: rV},...u ? [{title: "人工复核",description: `当前有 ${u.toLocaleString()} 条待复核资料。`,path: "/review",- icon: FB+ icon: NB}] : []].map(({ title: t, description: n, path: r, icon: i }) => /* @__PURE__ */ (0, I.jsxs)("div", { children: [/* @__PURE__ */ (0, I.jsx)("span", {@@ -48385,16 +48385,16 @@ function Nve({ go: e }) {]});}-var HU = "tutorial-sync";-function Pve({ actions: e }) {- let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)("interface"), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(fve), [d, f] = (0, F.useState)(!1), [p, m] = (0, F.useState)(""), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(!1), y = ZV(), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(0), C = (0, F.useRef)(l);+var BU = "tutorial-sync";+function Ive({ actions: e }) {+ let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)("interface"), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(mve), [d, f] = (0, F.useState)(!1), [p, m] = (0, F.useState)(""), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(!1), y = YV(), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(0), C = (0, F.useRef)(l);C.current = l;let w = (0, F.useRef)(0), T = (0, F.useRef)(null), E = (0, F.useRef)(""), D = (0, F.useRef)(!1), O = (0, F.useRef)(() => {}), k = (0, F.useRef)(Promise.resolve()), A = (0, F.useRef)(0), j = (0, F.useRef)(0), M = (0, F.useRef)(!0), ee = (e) => {C.current = e, u(e);}, N = async (e = !0) => {let t = j.current;try {- let n = await mve();+ let n = await gve();return !M.current || t !== j.current ? !1 : (ee(n), f(!0), e && m(""), b.current || i(!n.invited && !n.completed), !0);} catch {return M.current && m("未取得账本中的教程状态,请重新读取。"), !1;@@ -48404,7 +48404,7 @@ function Pve({ actions: e }) {let n = ++j.current;A.current += 1, k.current = k.current.then(async () => {try {- let r = await hve(e.campaign, t);+ let r = await _ve(e.campaign, t);M.current && n === j.current && ee(r);} catch {M.current && (m("教程进度未保存到本机账本,其他设备尚未同步。请重新读取后继续。"), n === j.current && await N(!1));@@ -48414,8 +48414,8 @@ function Pve({ actions: e }) {});}, P = (0, F.useRef)(N);P.current = N, (0, F.useEffect)(() => {- !p || t ? nH.dismiss(HU) : nH.error(p, {- id: HU,+ !p || t ? eH.dismiss(BU) : eH.error(p, {+ id: BU,toasterId: "receipts",duration: Infinity,action: {@@ -48426,7 +48426,7 @@ function Pve({ actions: e }) {}});}, [p, t]), (0, F.useEffect)(() => () => {- nH.dismiss(HU);+ eH.dismiss(BU);}, []), (0, F.useEffect)(() => {if (!d && !p) return;let e = document.getElementById("tutorialBtn");@@ -48447,7 +48447,7 @@ function Pve({ actions: e }) {let i = !1, a = null;return import("./peach-app.guide-driver-BZX0VpRC.js").then(({ createGuideSession: t }) => {i || (a = t({- mountPopover: VU,+ mountPopover: zU,invitation: !0,navigate: e.navigate,previous: () => {},@@ -48482,16 +48482,16 @@ function Pve({ actions: e }) {M.current = !0;let e = (e) => {e.target.closest(".ui-configpage form") && (D.current = !0);- }, t = W.listen(() => {+ }, t = Dp.listen(() => {D.current = !1;});document.addEventListener("input", e), document.addEventListener("change", e);- let r = _ve((e) => {+ let r = yve((e) => {(async () => {let t = document.activeElement;if (await k.current, !M.current || !await N() || e.invitation) return;ie(), T.current = t, g(""), c("");- let r = kU.find((t) => t.id === e.chapter);+ let r = DU.find((t) => t.id === e.chapter);e.reopen ? (i(!1), te({...C.current,invited: !0,@@ -48520,11 +48520,11 @@ function Pve({ actions: e }) {g("请先关闭当前详情或对话框,再开始导览。");return;}- if (t.steps.some((e) => e.surface) && $6()?.miniplayerActive()) {+ if (t.steps.some((e) => e.surface) && Q6()?.miniplayerActive()) {g("请先关闭正在播放的小窗,再开始播放器导览。");return;}- let i = r ? pve(C.current, t) : 0;+ let i = r ? hve(C.current, t) : 0;if (D.current && t.steps.some((e) => e.route && e.route !== location.pathname)) {g("当前配置表单有编辑内容。请先处理表单,再开启需要切换页面的章节。");return;@@ -48534,8 +48534,8 @@ function Pve({ actions: e }) {try {let { createGuideSession: r } = await import("./peach-app.guide-driver-BZX0VpRC.js");if (a !== S.current) return;- let s = Mf(location.pathname) ? Ap() : null, c = new URL(Mf(location.pathname) ? `${s?.pathname || "/"}${s?.search || ""}` : location.href, location.origin);- new URLSearchParams(location.search).has("edit") && c.searchParams.set("edit", ""), E.current = `${c.pathname}${c.search}${c.hash}`, w.current = Math.min(i, t.steps.length - 1), ne(), (0, Lt.flushSync)(() => n(!1)), document.body.classList.add("peach-guiding");+ let s = jf(location.pathname) ? Ap() : null, c = new URL(jf(location.pathname) ? `${s?.pathname || "/"}${s?.search || ""}` : location.href, location.origin);+ new URLSearchParams(location.search).has("edit") && c.searchParams.set("edit", ""), E.current = `${c.pathname}${c.search}${c.hash}`, w.current = Math.min(i, t.steps.length - 1), ne(), (0, It.flushSync)(() => n(!1)), document.body.classList.add("peach-guiding");let l = () => {let e = C.current, n = e.chapters[t.id] || {next: 0,@@ -48558,7 +48558,7 @@ function Pve({ actions: e }) {}), b.current?.show(t.steps[w.current], w.current, t.steps.length);};b.current = r({- mountPopover: VU,+ mountPopover: zU,navigate: e.navigate,close: () => {ie(!0), o(t.kind);@@ -48569,18 +48569,18 @@ function Pve({ actions: e }) {},next: async (e = !1) => {let n = w.current + 1;- if (te(gve(C.current, t.id, t.steps[w.current].id, n, e), {+ if (te(vve(C.current, t.id, t.steps[w.current].id, n, e), {action: "step",chapter: t.id,step: t.steps[w.current].id,next: n,skipped: e}), n >= t.steps.length) {- if (t.id === "basics" && AU(C.current, t) && te({+ if (t.id === "basics" && OU(C.current, t) && te({...C.current,completed: !0}, { action: "complete" }), await k.current, a !== S.current) return;- ie(!0), o(t.kind), g(AU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");+ ie(!0), o(t.kind), g(OU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");} else w.current = n, l();}}), l();@@ -48593,8 +48593,8 @@ function Pve({ actions: e }) {O.current = (e, t) => {se(e, t);};- let ce = dve(location.pathname);- return (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: /* @__PURE__ */ (0, I.jsxs)(yV, {+ let ce = pve(location.pathname);+ return (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: /* @__PURE__ */ (0, I.jsxs)(_V, {isOpen: t,onOpenChange: (e) => {e || ae();@@ -48609,18 +48609,18 @@ function Pve({ actions: e }) {id: "guideTitle",className: "text-title-2-medium text-text-primary",children: "新手教程"- }), /* @__PURE__ */ (0, I.jsx)(TV, {+ }), /* @__PURE__ */ (0, I.jsx)(CV, {label: "关闭新手教程",onPress: ae})]}),/* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-tools flex shrink-0 flex-col gap-4 px-6 pt-4 pb-3",- children: /* @__PURE__ */ (0, I.jsx)(mU, {+ children: /* @__PURE__ */ (0, I.jsx)(fU, {"aria-label": "教程路径",name: "guide-path",orientation: "horizontal",- className: hU,+ className: pU,value: a,onChange: (e) => {o(e), c(""), g("");@@ -48629,9 +48629,9 @@ function Pve({ actions: e }) {["start", "开始使用"],["interface", "界面导览"],["settings", "设置导览"]- ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Gz, {+ ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Uz, {value: e,- className: gU,+ className: mU,children: t}, e))})@@ -48642,7 +48642,7 @@ function Pve({ actions: e }) {ref: y,className: "peach-guide-body",children: [- p ? /* @__PURE__ */ (0, I.jsx)(xV, {+ p ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",className: "mb-4",action: /* @__PURE__ */ (0, I.jsx)(J, {@@ -48654,12 +48654,12 @@ function Pve({ actions: e }) {}),children: p}) : null,- h ? /* @__PURE__ */ (0, I.jsx)(xV, {+ h ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "neutral",className: "mb-4",children: h}) : null,- a === "start" ? /* @__PURE__ */ (0, I.jsx)(Nve, { go: oe }) : /* @__PURE__ */ (0, I.jsx)(Ove, {+ a === "start" ? /* @__PURE__ */ (0, I.jsx)(Fve, { go: oe }) : /* @__PURE__ */ (0, I.jsx)(Ave, {kind: a,query: s,setQuery: c,@@ -48677,15 +48677,15 @@ function Pve({ actions: e }) {}) }), document.body);}// src/react/client-updates.tsx-var Fve = 12e4, Ive = 15e3, UU = () => document.visibilityState !== "hidden", WU = /* @__PURE__ */ new Set([+var Lve = 12e4, Rve = 15e3, VU = () => document.visibilityState !== "hidden", HU = /* @__PURE__ */ new Set(["downloading","verifying","extracting","preparing","restarting","installing"-]), GU = "/settings/maintenance#releaseUpdates";-function Lve() {+]), UU = "/settings/maintenance#releaseUpdates";+function zve() {try {let e = JSON.parse(document.getElementById("peach-client-runtime")?.textContent || "null");return typeof e?.version == "string" && typeof e?.build_id == "string" ? {@@ -48696,23 +48696,23 @@ function Lve() {return null;}}-function KU() {- let e = (0, F.useRef)(Lve()), [t, n] = (0, F.useState)(null);+function WU() {+ let e = (0, F.useRef)(zve()), [t, n] = (0, F.useState)(null);return (0, F.useEffect)(() => {let t = !1, r, i, a = async () => {- if (t || !UU()) return;+ if (t || !VU()) return;let o = new AbortController();i = o;- let s = setTimeout(() => o.abort(), Ive);+ let s = setTimeout(() => o.abort(), Rve);o.signal.addEventListener("abort", () => clearTimeout(s), { once: !0 });try {- let r = await B("/api/client-updates", o.signal);+ let r = await V("/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 && UU() && (r = setTimeout(a, Fve)));+ clearTimeout(s), i === o && (i = void 0, !t && VU() && (r = setTimeout(a, Lve)));}}, o = () => {- clearTimeout(r), i?.abort(), i = void 0, UU() && a();+ clearTimeout(r), i?.abort(), i = void 0, VU() && 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);@@ -48722,19 +48722,19 @@ function KU() {refresh: !!t && !!e.current && (t.runtime.version !== e.current.version || t.runtime.build_id !== e.current.build_id)};}-function Rve({ navigate: e }) {- let { snapshot: t, refresh: n } = KU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");+function Bve({ navigate: e }) {+ let { snapshot: t, refresh: n } = WU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");if (!t || !a) return null;- let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : WU.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" : HU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;if (!l) return null;- let u = (s.state === "ready" || WU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [+ let u = (s.state === "ready" || HU.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, I.jsxs)("aside", {+ return (0, It.createPortal)(/* @__PURE__ */ (0, I.jsxs)("aside", {className: "ui-project-banner peach-react",role: "status","data-client-update": l,@@ -48750,22 +48750,22 @@ function Rve({ navigate: e }) {children: [" Peach ", u]}) : null] })] }), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex-wrap",- children: [l === "refresh" ? /* @__PURE__ */ (0, I.jsx)(TH, {+ children: [l === "refresh" ? /* @__PURE__ */ (0, I.jsx)(CH, {variant: "secondary",size: "small",onClick: () => window.location.reload(),"data-copy-key": "clientUpdates.refresh.action",children: "刷新页面"- }) : /* @__PURE__ */ (0, I.jsx)(TH, {+ }) : /* @__PURE__ */ (0, I.jsx)(CH, {variant: "secondary",size: "small",- href: GU,+ href: UU,onClick: (t) => {- t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(GU));+ t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(UU));},"data-copy-key": `clientUpdates.${l}.action`,children: l === "preparing" ? "查看进度" : "查看更新"- }), /* @__PURE__ */ (0, I.jsx)(TH, {+ }), /* @__PURE__ */ (0, I.jsx)(CH, {variant: "secondary",size: "small",onClick: () => i(d),@@ -48776,18 +48776,18 @@ function Rve({ navigate: e }) {}, d), a);}// src/react/router/pages/settings.tsx-function zve() {- let e = (0, F.useContext)(ZW), { pathname: t } = ef();+function Vve() {+ let e = (0, F.useContext)(qW), { pathname: t } = $d();return (0, F.useEffect)(() => {- e?.openSettings?.(Nf(t));+ e?.openSettings?.(Mf(t));}, [e, t]), (0, F.useEffect)(() => () => {queueMicrotask(() => {- Mf(W.navigation.location.pathname) || e?.closeSettings?.();+ jf(Dp.navigation.location.pathname) || e?.closeSettings?.();});}, [e]), null;}// src/junk-queue.ts-var qU = [+var GU = [["","全部",@@ -48823,40 +48823,40 @@ var qU = ["其它","hard-drive"]-], Bve = (e) => qU.find(([t]) => t === e)?.[0] ?? "";-function JU(e) {+], Hve = (e) => GU.find(([t]) => t === e)?.[0] ?? "";+function KU(e) {let t = new URLSearchParams(e);return {- kind: Bve(t.get("type")),+ kind: Hve(t.get("type")),view: t.get("view") === "dismissed" ? "dismissed" : "pending"};}-function YU(e = "", t = "pending") {+function qU(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 XU(e) {+function JU(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",glyph: "rotate-ccw",- href: YU("", "pending")+ href: qU("", "pending")} : {view: "dismissed",label: "已排除",glyph: "eye-off",- href: YU("", "dismissed")+ href: qU("", "dismissed")};}-var ZU = (e) => e === "dismissed" ? "已排除" : "待判断", QU = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;-function Vve({ kind: e, view: t }) {- let n = qU.map(([n, r, i]) => `<a href="${YU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${QU(i)}${z(r)}</a>`).join(""), r = XU(t);- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Fs(ZU(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\"" : ""}>${QU(r.glyph)}${r.label}</a></nav></div></div></div>`;+var YU = (e) => e === "dismissed" ? "已排除" : "待判断", XU = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;+function Uve({ kind: e, view: t }) {+ let n = GU.map(([n, r, i]) => `<a href="${qU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${XU(i)}${B(r)}</a>`).join(""), r = JU(t);+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Ps(YU(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\"" : ""}>${XU(r.glyph)}${r.label}</a></nav></div></div></div>`;}// src/react/boardui/utils/use-dismiss-on-outside-press.ts-function Hve(e, t, n) {+function Wve(e, t, n) {(0, F.useEffect)(() => {if (!e) return;let r = (e) => {@@ -48870,7 +48870,7 @@ function Hve(e, t, n) {n]);}-function Uve(e, t) {+function Gve(e, t) {let n = (0, F.useRef)(!1);return (0, F.useEffect)(() => {if (!e) return;@@ -48883,33 +48883,33 @@ function Uve(e, t) {}, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;}// src/react/boardui/components/base/select/select.tsx-var $U = (0, F.createContext)("md");-function eW({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var ZU = (0, F.createContext)("md");+function QU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, F.useRef)(null), u = (0, F.useRef)(null), [d, f] = (0, F.useState)(!1);- Hve(d, () => f(!1), [l, u]);- let p = Uve(d, l);- return /* @__PURE__ */ (0, I.jsx)(Cme, {+ Wve(d, () => f(!1), [l, u]);+ let p = Gve(d, l);+ return /* @__PURE__ */ (0, I.jsx)(Tme, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),className: q("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(ZL, {+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(YL, {ref: l,className: q("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),- children: [/* @__PURE__ */ (0, I.jsx)(Eme, {+ children: [/* @__PURE__ */ (0, I.jsx)(Ome, {className: q("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, I.jsx)(Mge, { className: q("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, I.jsx)(wz, {+ }), /* @__PURE__ */ (0, I.jsx)(Pge, { className: q("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, I.jsx)(Sz, {ref: u,isNonModal: !0,offset: 4,- className: q(Fge, UV, "p-2", n),- children: /* @__PURE__ */ (0, I.jsx)(Gpe, {+ className: q(Lge, VV, "p-2", n),+ children: /* @__PURE__ */ (0, I.jsx)(qpe, {items: a,- className: q(Ige, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, I.jsx)($U.Provider, {+ className: q(Rge, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, I.jsx)(ZU.Provider, {value: r,children: i})@@ -48917,16 +48917,16 @@ function eW({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function tW({ className: e, children: t, ...n }) {- let r = (0, F.useContext)($U);- return /* @__PURE__ */ (0, I.jsx)(Jpe, {+function $U({ className: e, children: t, ...n }) {+ let r = (0, F.useContext)(ZU);+ return /* @__PURE__ */ (0, I.jsx)(Xpe, {...n,- className: (t) => q(WV, 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) => q(HV, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),children: t});}// src/react/boardui/components/base/badges/chip.tsx-var nW = KI({+var eW = WI({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",@@ -48945,15 +48945,15 @@ var nW = KI({soft: "bg-background-secondary-default text-text-secondary"}});-function rW({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function tW({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, I.jsx)("span", {ref: r,- className: q(nW.base, nW.variant[e], nW.color[t], n),+ className: q(eW.base, eW.variant[e], eW.color[t], n),...i});}// src/react/components/art-slot.tsx-function iW({ artwork: e, identity: t = e.html, relayout: n }) {+function nW({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, F.useState)({identity: t,artwork: e@@ -48972,7 +48972,7 @@ function iW({ artwork: e, identity: t = e.html, relayout: n }) {});}// src/react/activity/downloads-panel.tsx-var aW = "/api/downloads", oW = ["downloads"], Wve = "/api/downloads/cancel", Gve = "/api/downloads/postprocess", sW = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Kve = {+var rW = "/api/downloads", iW = ["downloads"], Kve = "/api/downloads/cancel", qve = "/api/downloads/postprocess", aW = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Jve = {ingested: "lime",failed: "rose",cancelled: "neutral",@@ -48981,21 +48981,21 @@ var aW = "/api/downloads", oW = ["downloads"], Wve = "/api/downloads/cancel", Gvremote_done: "lime",landed: "lime",submitted: "neutral"-}, cW = (e) => {- let t = e.display_code || e.code || "", { title: n } = $I({+}, oW = (e) => {+ let t = e.display_code || e.code || "", { title: n } = ZI({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}`;-}, lW = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", qve = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");-function Jve() {- let e = (0, F.useId)(), t = It({- queryKey: [...oW, "pages"],+}, sW = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", Yve = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");+function Xve() {+ let e = (0, F.useId)(), t = Ft({+ queryKey: [...iW, "pages"],initialPageParam: null,- queryFn: ({ signal: e, pageParam: t }) => B(`${aW}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),+ queryFn: ({ signal: e, pageParam: t }) => V(`${rW}?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) => sW(e) === 5e3) ? 5e3 : 3e4+ refetchInterval: (e) => e.state.data?.pages.some((e) => aW(e) === 5e3) ? 5e3 : 3e4}), n = t.data?.pages || [], r = [...new Map(n.flatMap((e) => e.tasks).map((e) => [e.id, e])).values()];return !r.length && !t.error ? null : /* @__PURE__ */ (0, I.jsxs)("section", {id: "cloudDownloads",@@ -49007,14 +49007,14 @@ function Jve() {className: "text-title-2-medium text-text-primary",children: "云下载"}),- t.error ? /* @__PURE__ */ (0, I.jsx)(xV, {+ t.error ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",- children: cr(t.error)+ children: sr(t.error)}) : null,r.length ? /* @__PURE__ */ (0, I.jsx)("ul", {"aria-live": "polite",className: "flex min-w-0 flex-col gap-3",- children: r.map((e) => /* @__PURE__ */ (0, I.jsx)(Yve, {+ children: r.map((e) => /* @__PURE__ */ (0, I.jsx)(Zve, {task: e,writable: n[0]?.available ?? !1}, e.id))@@ -49022,9 +49022,9 @@ function Jve() {t.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: AB,+ leadingIcon: OB,className: "self-start",- ...EV(t.isFetchingNextPage),+ ...wV(t.isFetchingNextPage),onClick: () => {t.isFetching || t.fetchNextPage();},@@ -49033,16 +49033,16 @@ function Jve() {]});}-function Yve({ task: e, writable: t }) {- gL();- let n = ae(), r = EH(), [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = lW(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 Zve({ task: e, writable: t }) {+ mL();+ let n = ae(), r = wH(), [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = sW(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,- mL(e.submitted_at)+ fL(e.submitted_at)].filter(Boolean).join(" · "), h = () => {- n.invalidateQueries({ queryKey: oW });+ n.invalidateQueries({ queryKey: iW });}, g = () => {- r.run("cancel", (t) => V(Wve, { id: e.id }, "POST", t), h);+ r.run("cancel", (t) => H(Kve, { id: e.id }, "POST", t), h);}, _ = () => {let t = {magnet: e.source_uri,@@ -49052,16 +49052,16 @@ function Yve({ task: e, writable: t }) {title: e.title,origin: e.origin};- r.run("resubmit", (e) => V(aW, t, "POST", e), h);+ r.run("resubmit", (e) => H(rW, t, "POST", e), h);}, v = () => {navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));}, y = () => {- r.run("postprocess", (t) => V(Gve, { id: e.id }, "POST", t), h);+ r.run("postprocess", (t) => H(qve, { id: e.id }, "POST", t), h);};return /* @__PURE__ */ (0, I.jsxs)("li", {"data-download-state": e.state,"data-download-id": e.id,- className: PU({+ className: MU({padding: "none",bordered: p ? "error" : void 0,className: "flex flex-col"@@ -49079,17 +49079,17 @@ function Yve({ task: e, writable: t }) {"data-media-nopic": "",children: "无封面"}),- u?.has_cover ? /* @__PURE__ */ (0, I.jsx)(iW, {+ u?.has_cover ? /* @__PURE__ */ (0, I.jsx)(nW, {artwork: {kind: "cover",- html: xo(u, "big")+ html: bo(u, "big")},- relayout: (e) => Tl(e, "big")+ relayout: (e) => wl(e, "big")}) : null,f ? /* @__PURE__ */ (0, I.jsx)("a", {"data-download-cover-link": "",href: f,- "aria-label": `打开作品详情:${cW(e)}`,+ "aria-label": `打开作品详情:${oW(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]@@ -49100,19 +49100,19 @@ function Yve({ task: e, writable: t }) {className: "flex min-w-0 flex-col items-start gap-1 sm:flex-row sm:items-center sm:gap-2",children: [/* @__PURE__ */ (0, I.jsx)("strong", {className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",- title: cW(e),+ title: oW(e),children: f ? /* @__PURE__ */ (0, I.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: cW(e)- }) : cW(e)+ children: oW(e)+ }) : oW(e)}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(rW, {- color: Kve[e.state] ?? "neutral",+ children: [/* @__PURE__ */ (0, I.jsx)(tW, {+ color: Jve[e.state] ?? "neutral",children: e.state_label- }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(rW, {+ }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(tW, {color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",children: e.postprocess_label}) : null]@@ -49122,7 +49122,7 @@ function Yve({ task: e, writable: t }) {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "flex shrink-0",- children: /* @__PURE__ */ (0, I.jsx)(eU, {+ children: /* @__PURE__ */ (0, I.jsx)(QH, {source: e.provider,label: e.provider_label})@@ -49138,18 +49138,18 @@ function Yve({ task: e, writable: t }) {className: "flex shrink-0 items-center gap-1",children: d.slice(0, 3).map((e) => /* @__PURE__ */ (0, I.jsx)("a", {"data-media-avatar": "",- href: Nn("performer", e.name, e.id),- "aria-label": `打开女优页:${tn("performer", e.name, e.id)}`,- title: tn("performer", e.name, e.id),- dangerouslySetInnerHTML: { __html: go(e.name, e, null) }+ href: Mn("performer", e.name, e.id),+ "aria-label": `打开女优页:${en("performer", e.name, e.id)}`,+ title: en("performer", e.name, e.id),+ dangerouslySetInnerHTML: { __html: ho(e.name, e, null) }}, e.id || e.name))}), /* @__PURE__ */ (0, I.jsxs)("span", {className: "min-w-0 truncate text-caption-1-regular text-text-secondary",- title: d.map((e) => tn("performer", e.name, e.id)).join("、"),- children: [d.map((e) => tn("performer", e.name, e.id)).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]+ title: d.map((e) => en("performer", e.name, e.id)).join("、"),+ children: [d.map((e) => en("performer", e.name, e.id)).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]})]}) : null,- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, I.jsx)(BH, {+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, I.jsx)(RH, {label: "远端下载进度",value: Math.round(e.progress * 100),max: 100@@ -49159,7 +49159,7 @@ function Yve({ task: e, writable: t }) {title: e.ledger_path,children: e.ledger_path}) : null,- r.error ? /* @__PURE__ */ (0, I.jsx)(JH, { children: r.error }) : null,+ r.error ? /* @__PURE__ */ (0, I.jsx)(KH, { children: r.error }) : null,/* @__PURE__ */ (0, I.jsxs)("div", {"data-download-actions": "",className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",@@ -49184,21 +49184,21 @@ function Yve({ task: e, writable: t }) {e.cancellable ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...EV(r.busy === "cancel"),+ ...wV(r.busy === "cancel"),onClick: g,children: "取消"}) : null,e.resubmittable ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...EV(r.busy === "resubmit"),+ ...wV(r.busy === "resubmit"),onClick: _,children: "重新提交"}) : null,e.postprocess_retryable ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...EV(r.busy === "postprocess"),+ ...wV(r.busy === "postprocess"),onClick: y,children: "重试入库后整理"}) : null@@ -49213,33 +49213,33 @@ function Yve({ 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: cW(e)+ children: oW(e)}) : null,l || e.postprocess_detail ? /* @__PURE__ */ (0, I.jsx)("div", {className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",children: /* @__PURE__ */ (0, I.jsx)("p", {className: "wrap-anywhere text-caption-1-regular text-text-secondary",- children: l || qve(e)+ children: l || Yve(e)})}) : null]});}// src/react/activity/work-code.ts-var uW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), dW = (e, t) => !!uW(e) && uW(e) === uW(t);+var cW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), lW = (e, t) => !!cW(e) && cW(e) === cW(t);// src/react/activity/resource-search.tsx-function Xve({ className: e }) {+function Qve({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("span", {className: e,"aria-hidden": !0,- dangerouslySetInnerHTML: { __html: zs("") }+ dangerouslySetInnerHTML: { __html: Rs("") }});}-function Zve(e) {+function $ve(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function Qve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {- let [a, o] = (0, F.useState)(e), [s, c] = (0, F.useState)(() => Zve(t)), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(null), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), y = EH(), b = (0, F.useRef)(null);+function eye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {+ let [a, o] = (0, F.useState)(e), [s, c] = (0, F.useState)(() => $ve(t)), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(null), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), y = wH(), b = (0, F.useRef)(null);(0, F.useEffect)(() => () => b.current?.abort(), []);let x = () => {if (!a.trim() || y.busy) return;@@ -49249,13 +49249,13 @@ function Qve({ 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) => V(`/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, V(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {if (e.signal.aborted) return;- let r = (n.items || []).find((e) => dW(e.code, t));+ let r = (n.items || []).find((e) => lW(e.code, t));i(r ? {code: r.code,title: String(r.catalog_title || r.name || ""),@@ -49263,7 +49263,7 @@ function Qve({ 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 ? co(r, !0) : "",+ cover: r.has_cover ? so(r, !0) : "",origin: `asset:${r.id}`} : null);}, () => {@@ -49276,18 +49276,18 @@ function Qve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {"aria-busy": !!y.busy,className: "flex min-w-0 flex-col gap-4",children: [- t ? /* @__PURE__ */ (0, I.jsxs)(qH, { children: [+ t ? /* @__PURE__ */ (0, I.jsxs)(GH, { children: ["版本目标:",t,"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"] }) : null,- /* @__PURE__ */ (0, I.jsx)(vV, {+ /* @__PURE__ */ (0, I.jsx)(gV, {label: "按番号查找资源",value: a,maxLength: 80,placeholder: "输入番号,按回车搜索",enterKeyHint: "search",- leadingIcon: y.busy ? Xve : rV,+ leadingIcon: y.busy ? Qve : tV,isReadOnly: !!y.busy,"aria-busy": !!y.busy,onChange: o,@@ -49297,7 +49297,7 @@ function Qve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, I.jsx)(YH, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(eW, {+ children: [/* @__PURE__ */ (0, I.jsx)(qH, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(QU, {"aria-label": "优先寻找",selectedKey: s,isDisabled: !!y.busy,@@ -49305,15 +49305,15 @@ function Qve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {e !== null && c(String(e));},children: [- /* @__PURE__ */ (0, I.jsx)(tW, {+ /* @__PURE__ */ (0, I.jsx)($U, {id: "quality",children: "高清"}),- /* @__PURE__ */ (0, I.jsx)(tW, {+ /* @__PURE__ */ (0, I.jsx)($U, {id: "chinese",children: "中字"}),- /* @__PURE__ */ (0, I.jsx)(tW, {+ /* @__PURE__ */ (0, I.jsx)($U, {id: "uncensored",children: "无码"})@@ -49322,32 +49322,32 @@ function Qve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex gap-3 max-sm:flex-col",- children: [/* @__PURE__ */ (0, I.jsx)(vV, {+ children: [/* @__PURE__ */ (0, I.jsx)(gV, {label: "最小体积(GiB)",inputMode: "decimal",value: l,onChange: u- }), /* @__PURE__ */ (0, I.jsx)(vV, {+ }), /* @__PURE__ */ (0, I.jsx)(gV, {label: "最大体积(GiB)",inputMode: "decimal",value: d,onChange: f})]}),- y.busy ? /* @__PURE__ */ (0, I.jsx)(qH, {+ y.busy ? /* @__PURE__ */ (0, I.jsx)(GH, {role: "status",children: "正在搜索资源"}) : null,- y.error ? /* @__PURE__ */ (0, I.jsx)(JH, { children: y.error }) : null,- p?.error ? /* @__PURE__ */ (0, I.jsx)(qH, {+ y.error ? /* @__PURE__ */ (0, I.jsx)(KH, { children: y.error }) : null,+ p?.error ? /* @__PURE__ */ (0, I.jsx)(GH, {role: "status",children: p.error}) : null,- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, I.jsx)(qH, {+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, I.jsx)(GH, {role: "status",children: "没有符合条件的资源。"}) : null,- p?.warnings.map((e) => /* @__PURE__ */ (0, I.jsx)(qH, { children: e }, e)),+ p?.warnings.map((e) => /* @__PURE__ */ (0, I.jsx)(GH, { children: e }, e)),p?.items.length ? /* @__PURE__ */ (0, I.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: p.items.map((e) => /* @__PURE__ */ (0, I.jsxs)("li", {@@ -49357,7 +49357,7 @@ function Qve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {className: "break-words text-body-2-medium text-text-primary",children: e.name}),- /* @__PURE__ */ (0, I.jsx)(qH, { children: [+ /* @__PURE__ */ (0, I.jsx)(GH, { children: [e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",e.resolution ? `${e.resolution}p` : "",@@ -49381,19 +49381,19 @@ function Qve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {});}// src/react/activity/cloud-download-dialog.tsx-var $ve = {+var tye = {submitted: "已提交离线下载,进度在任务中心",adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"};-function fW({ prefill: e, close: t, receipt: n, provider: r }) {- return /* @__PURE__ */ (0, I.jsx)(yV, {+function uW({ prefill: e, close: t, receipt: n, provider: r }) {+ return /* @__PURE__ */ (0, I.jsx)(_V, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",- children: e ? /* @__PURE__ */ (0, I.jsx)(eye, {+ children: e ? /* @__PURE__ */ (0, I.jsx)(nye, {prefill: e,close: t,receipt: n,@@ -49401,26 +49401,26 @@ function fW({ prefill: e, close: t, receipt: n, provider: r }) {}) : null});}-function eye({ prefill: e, close: t, receipt: n, provider: r }) {- let i = Pt({- queryKey: oW,- queryFn: ({ signal: e }) => B(`${aW}?limit=50`, e),- refetchInterval: (e) => sW(e.state.data)+function nye({ prefill: e, close: t, receipt: n, provider: r }) {+ let i = Nt({+ queryKey: iW,+ queryFn: ({ signal: e }) => V(`${rW}?limit=50`, e),+ refetchInterval: (e) => aW(e.state.data)}), a = i.data, o = /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex items-center justify-between gap-4 px-5 pt-5",- children: [/* @__PURE__ */ (0, I.jsx)($L, {+ children: [/* @__PURE__ */ (0, I.jsx)(ZL, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "查找资源"}), /* @__PURE__ */ (0, I.jsx)(J, {variant: "ghost",iconOnly: !0,- leadingIcon: IB,+ leadingIcon: PB,"aria-label": "关闭资源面板",onClick: t})]});- return a ? /* @__PURE__ */ (0, I.jsx)(tye, {+ return a ? /* @__PURE__ */ (0, I.jsx)(rye, {header: o,snapshot: a,prefill: e,@@ -49433,9 +49433,9 @@ function eye({ prefill: e, close: t, receipt: n, provider: r }) {o,/* @__PURE__ */ (0, I.jsx)("div", {className: "flex min-h-0 flex-col gap-4 overflow-y-auto p-5",- children: i.error ? /* @__PURE__ */ (0, I.jsx)(xV, {+ children: i.error ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",- children: cr(i.error)+ children: sr(i.error)}) : null}),/* @__PURE__ */ (0, I.jsx)("div", {@@ -49449,8 +49449,8 @@ function eye({ prefill: e, close: t, receipt: n, provider: r }) {]});}-function tye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {- let o = ae(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, F.useState)(c?.key || ""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(n.code ?? ""), [h, g] = (0, F.useState)(c?.target || ""), [_, v] = (0, F.useState)(n.code ? n : null), [y, b] = (0, F.useState)(""), x = t.available && s.some((e) => e.key === l), S = EH(), C = (0, F.useRef)(null), w = (e) => {+function rye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {+ let o = ae(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, F.useState)(c?.key || ""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(n.code ?? ""), [h, g] = (0, F.useState)(c?.target || ""), [_, v] = (0, F.useState)(n.code ? n : null), [y, b] = (0, F.useState)(""), x = t.available && s.some((e) => e.key === l), S = wH(), C = (0, F.useRef)(null), w = (e) => {u(e), g(s.find((t) => t.key === e)?.target ?? "");};return /* @__PURE__ */ (0, I.jsxs)("form", {@@ -49466,14 +49466,14 @@ function tye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providetitle: _?.title,origin: _?.origin};- b(""), S.run("submit", (e) => V(aW, t, "POST", e), (e) => {- o.invalidateQueries({ queryKey: oW });- let t = $ve[e.outcome];+ b(""), S.run("submit", (e) => H(rW, t, "POST", e), (e) => {+ o.invalidateQueries({ queryKey: iW });+ let t = tye[e.outcome];if (e.ok && t) {i(t), r();return;}- let n = lW(e.task);+ let n = sW(e.task);b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");});},@@ -49497,7 +49497,7 @@ function tye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: [/* @__PURE__ */ (0, I.jsx)("p", {className: "break-words text-body-medium text-text-primary",children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"- }), _ ? /* @__PURE__ */ (0, I.jsx)(qH, { children: [+ }), _ ? /* @__PURE__ */ (0, I.jsx)(GH, { children: [_.performers,_.studio,_.release_date,@@ -49505,22 +49505,22 @@ function tye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide].filter(Boolean).join(" · ") }) : null]})]}) : null,- /* @__PURE__ */ (0, I.jsx)(Qve, {+ /* @__PURE__ */ (0, I.jsx)(eye, {initialCode: n.code ?? "",reason: n.searchReason,onSearch: (e) => {- dW(e, _?.code) || (v(dW(e, n.code) ? n : null), f("")), m(e);+ lW(e, _?.code) || (v(lW(e, n.code) ? n : null), f("")), m(e);},- onWork: (e) => v((t) => e ? dW(t?.code, e.code) ? {+ onWork: (e) => v((t) => e ? lW(t?.code, e.code) ? {...t,...e,origin: t?.origin || e.origin- } : e : dW(t?.code, n.code) ? t : null),+ } : e : lW(t?.code, n.code) ? t : null),choose: (e, t) => {f(e), m(t), C.current?.focus();}}),- /* @__PURE__ */ (0, I.jsx)(vV, {+ /* @__PURE__ */ (0, I.jsx)(gV, {ref: C,label: "磁力链接",placeholder: "magnet:?xt=urn:btih:…",@@ -49532,38 +49532,38 @@ function tye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-1",children: [- /* @__PURE__ */ (0, I.jsx)(YH, { children: "下载到" }),- /* @__PURE__ */ (0, I.jsx)(eW, {+ /* @__PURE__ */ (0, I.jsx)(qH, { children: "下载到" }),+ /* @__PURE__ */ (0, I.jsx)(QU, {"aria-label": "下载到",selectedKey: l || null,isDisabled: !s.length,onSelectionChange: (e) => {e !== null && w(String(e));},- children: s.map((e) => /* @__PURE__ */ (0, I.jsx)(tW, {+ children: s.map((e) => /* @__PURE__ */ (0, I.jsx)($U, {id: e.key,textValue: e.label,- children: /* @__PURE__ */ (0, I.jsx)(eU, {+ children: /* @__PURE__ */ (0, I.jsx)(QH, {source: e.key,label: e.label})}, e.key))}),- l === "115" ? /* @__PURE__ */ (0, I.jsx)(qH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null+ l === "115" ? /* @__PURE__ */ (0, I.jsx)(GH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null]}),- t.available ? null : /* @__PURE__ */ (0, I.jsx)(xV, {+ t.available ? null : /* @__PURE__ */ (0, I.jsx)(yV, {tone: "neutral",children: "云下载只在允许修改数据库的设备上可用。"}),- s.length ? null : /* @__PURE__ */ (0, I.jsxs)(xV, {+ s.length ? null : /* @__PURE__ */ (0, I.jsxs)(yV, {tone: "neutral",children: ["尚未配置下载渠道。", /* @__PURE__ */ (0, I.jsx)("a", {href: "/settings/library?section=%E4%B8%8B%E8%BD%BD%E6%B8%A0%E9%81%93",children: "下载渠道设置"})]}),- /* @__PURE__ */ (0, I.jsx)(vV, {+ /* @__PURE__ */ (0, I.jsx)(gV, {label: "目标目录",placeholder: "/云下载",autoComplete: "off",@@ -49571,17 +49571,17 @@ function tye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providevalue: h,onChange: g}),- n.code ? null : /* @__PURE__ */ (0, I.jsx)(vV, {+ n.code ? null : /* @__PURE__ */ (0, I.jsx)(gV, {label: "番号",placeholder: "可不填",autoComplete: "off",maxLength: 60,value: p,onChange: (e) => {- m(e), dW(e, _?.code) || v(null);+ m(e), lW(e, _?.code) || v(null);}}),- y || S.error ? /* @__PURE__ */ (0, I.jsx)(JH, { children: y || S.error }) : null+ y || S.error ? /* @__PURE__ */ (0, I.jsx)(KH, { children: y || S.error }) : null]}),/* @__PURE__ */ (0, I.jsxs)("div", {@@ -49593,7 +49593,7 @@ function tye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}), /* @__PURE__ */ (0, I.jsx)(J, {type: "submit",disabled: !d.trim() || !x,- ...EV(S.busy === "submit"),+ ...wV(S.busy === "submit"),children: "提交下载"})]})@@ -49601,18 +49601,18 @@ function tye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide});}// src/react/wants/wants.ts-var pW = "/api/wants", mW = ["wants"], nye = (e) => [+var dW = "/api/wants", fW = ["wants"], iye = (e) => ["wants","follow",e-], rye = [+], aye = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], hW = (e) => B(pW, e);-function iye(e, t) {- H.setQueryData(mW, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {+], pW = (e) => V(dW, e);+function oye(e, t) {+ U.setQueryData(fW, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {...n,items: n.items.map((n) => n.id === e ? {...n,@@ -49620,68 +49620,68 @@ function iye(e, t) {} : n)} : n);}-var aye = (e, t) => B(`${pW}?follow=${encodeURIComponent(e)}`, t), gW = (e, t) => V(pW, {+var sye = (e, t) => V(`${dW}?follow=${encodeURIComponent(e)}`, t), mW = (e, t) => H(dW, {action: "add",...e-}, "POST", t), _W = (e, t) => V(pW, {+}, "POST", t), hW = (e, t) => H(dW, {action: "remove",ids: e-}, "POST", t), oye = (e, t) => V(pW, {+}, "POST", t), cye = (e, t) => H(dW, {action: "reset",ids: e-}, "POST", t), vW = () => H.invalidateQueries({ queryKey: mW }), sye = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function cye(e) {+}, "POST", t), gW = () => U.invalidateQueries({ queryKey: fW }), lye = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+function uye(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.ts-var yW = (e, t = "taste", n = "desc") => [+var _W = (e, t = "taste", n = "desc") => ["jav-discoveries",e,t,n];-function bW(e, t, n = {}) {+function vW(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"), V(`/api/jav/discoveries?${r}`, t);}-function xW(e, t, n) {- let r = Co({+function dye(e, t, n) {+ let r = So({...e,is_jav: !0}, t, !1, n);if (r.html || !e.cover_url || !e.code) return r.html;- let i = z(uo(e));- return xo(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 = B(lo(e));+ return bo(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 SW(e, t) {- e === "wants" ? await H.ensureQueryData({- queryKey: mW,- queryFn: () => hW(t),+async function fye(e, t) {+ e === "wants" ? await U.ensureQueryData({+ queryKey: fW,+ queryFn: () => pW(t),staleTime: 3e4,revalidateIfStale: !0- }) : e === "discover" && await H.ensureQueryData({- queryKey: yW("external"),- queryFn: () => bW("external", t),+ }) : e === "discover" && await U.ensureQueryData({+ queryKey: _W("external"),+ queryFn: () => vW("external", t),staleTime: 3e4,revalidateIfStale: !0});}// src/react/components/board-tabs.tsx-function CW({ value: e }) {+function yW({ value: e }) {return /* @__PURE__ */ (0, I.jsx)("span", {"data-tab-count": "",className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",children: e.toLocaleString()});}-var wW = "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 TW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {- let a = (0, F.useRef)(null), o = SL(a);+var bW = "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 xW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {+ let a = (0, F.useRef)(null), o = bL(a);return (0, F.useLayoutEffect)(() => {let e = a.current;e && (() => {@@ -49690,7 +49690,7 @@ function TW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"let n = t.offsetLeft, r = n + t.offsetWidth;n < e.scrollLeft ? e.scrollLeft = n : r > e.scrollLeft + e.clientWidth && (e.scrollLeft = r - e.clientWidth);})();- }, [t]), /* @__PURE__ */ (0, I.jsx)(JI, {+ }, [t]), /* @__PURE__ */ (0, I.jsx)(KI, {ref: o,role: "tablist","aria-label": n,@@ -49705,7 +49705,7 @@ function TW({ 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 ? wV(e.symbol) : null, i = e.value === t;+ let n = e.symbol ? SV(e.symbol) : null, i = e.value === t;return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",role: "tab",@@ -49714,7 +49714,7 @@ function TW({ 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: wW,+ className: bW,onClick: () => {i || r(e.value);},@@ -49724,7 +49724,7 @@ function TW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"});}// src/react/jav/jav-header.tsx-function EW({ tab: e, navigate: t, find: n }) {+function SW({ tab: e, navigate: t, find: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex w-full flex-col gap-4",children: [/* @__PURE__ */ (0, I.jsxs)("div", {@@ -49738,58 +49738,58 @@ function EW({ tab: e, navigate: t, find: n }) {onClick: n,children: "查找资源"})]- }), /* @__PURE__ */ (0, I.jsx)(TW, {- tabs: yU.map(([e, t]) => ({+ }), /* @__PURE__ */ (0, I.jsx)(xW, {+ tabs: _U.map(([e, t]) => ({value: e,label: t})),value: e,label: "JAV 分区",className: "",- onChange: (e) => t(xU(e))+ onChange: (e) => t(yU(e))})]});}-function DW({ navigate: e, receipt: t }) {+function CW({ navigate: e, receipt: t }) {let [n, r] = (0, F.useState)(null);- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(EW, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(SW, {tab: "library",navigate: e,find: () => r({})- }), /* @__PURE__ */ (0, I.jsx)(fW, {+ }), /* @__PURE__ */ (0, I.jsx)(uW, {prefill: n,close: () => r(null),receipt: t})] });}// src/react/router/pages/catalog.tsx-var OW = () => fu, kW = W.navigation.seq, AW = W.navigation.openEpoch, jW = W.navigation.location.pathname, MW = {- seq: kW,+var wW = () => du, TW = Dp.navigation.seq, EW = Dp.navigation.openEpoch, DW = Dp.navigation.location.pathname, OW = {+ seq: TW,claimed: !0,- from: jW+ from: DW};-W.listen((e) => {- MW = {+Dp.listen((e) => {+ OW = {seq: e.seq,- claimed: e.openEpoch === AW,- from: jW- }, AW = e.openEpoch, jW = e.location.pathname;+ claimed: e.openEpoch === EW,+ from: DW+ }, EW = e.openEpoch, DW = e.location.pathname;});-var NW = !1;-function PW(e) {- let { seq: t, openEpoch: n, location: r } = W.navigation, i = Bf(r.pathname), a = Ap() ?? r, o = U ?? {};+var kW = !1;+function AW(e) {+ let { seq: t, openEpoch: n, location: r } = Dp.navigation, i = zf(r.pathname), a = Ap() ?? r, o = W ?? {};return {seq: t,epoch: n,- opens: fu,+ opens: du,covered: i,address: `${a.pathname}${a.search}`,filters: JSON.stringify(o, Object.keys(o).sort()),opened: e};}-function FW(e, t, n, r) {- let i = { ...U }, a = lm("catalog");+function jW(e, t, n, r) {+ let i = { ...W }, a = lm("catalog");if (a) return { ...a };if (e === "/trash") return {...i,@@ -49807,15 +49807,15 @@ function FW(e, t, n, r) {creator: o.get("creator") || "",studio: o.get("studio") || "",owner: o.get("owner") === "none" ? "none" : "",- tag: ar(o.get("tag")),+ tag: ir(o.get("tag")),tag_match: o.get("tag_match") === "any" ? "any" : "all",len: o.get("len") || "",dur_min: o.get("dur_min") || "",dur_max: o.get("dur_max") || "",orient: o.get("orient") || "",- state: On[e] || o.get("state") || "",+ state: Dn[e] || o.get("state") || "",...Wj(o.get("sort"), o.get("dir"), s, c),- seed: o.get("seed") || (n ? rr() : i.seed || rr()),+ seed: o.get("seed") || (n ? nr() : i.seed || nr()),q: o.get("q") || "",jav: o.get("jav") || "",performer: o.get("performer") || "",@@ -49825,14 +49825,14 @@ function FW(e, t, n, r) {folder_recursive: o.get("folder_recursive") === "0" ? "0" : ""};}-function IW(e) {- let t = W.navigation.seq;- cm("catalog", { ...U });- let n = e(), r = () => W.navigation.seq === t, i = () => document.querySelector("#grid");+function MW(e) {+ let t = Dp.navigation.seq;+ cm("catalog", { ...W });+ let n = e(), r = () => Dp.navigation.seq === t, i = () => document.querySelector("#grid");fm(r, i(), { pending: !0 }), Promise.resolve(n).then(() => fm(r, i()));}-function LW(e, t) {- let n = { ...e }, r = PW(n.opened);+function NW(e, t) {+ let n = { ...e }, r = AW(n.opened);Object.assign(e, r);let i = t.catalog;if (!i || r.opens === 0) return;@@ -49844,39 +49844,39 @@ function LW(e, t) {if (r.opens === n.opens) {if (r.epoch === n.epoch && n.opened) {if (r.seq === n.seq || n.covered && r.address === n.address && r.filters === n.filters) return;- IW(() => i.load());+ MW(() => i.load());return;}- r.epoch !== n.epoch && (a = W.navigation.action === "POP" && MW.from !== "/");+ r.epoch !== n.epoch && (a = Dp.navigation.action === "POP" && OW.from !== "/");}- let { pathname: o, search: s } = W.navigation.location;+ let { pathname: o, search: s } = Dp.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {- let { kind: e, view: t } = JU(s);- NW = !0, Op(YU(e, t), { replace: !0 });+ let { kind: e, view: t } = KU(s);+ kW = !0, Op(qU(e, t), { replace: !0 });return;}- let c = NW;- NW = !1, a &&= o === "/" && !um(), e.opened = !0, xu({ state: FW(o, s, a, i) }), IW(() => i.open(o, {+ let c = kW;+ kW = !1, a &&= o === "/" && !um(), e.opened = !0, bu({ state: jW(o, s, a, i) }), MW(() => i.open(o, {entering: a,retitle: c}));}-function RW() {- let e = (0, F.useContext)(ZW), t = XW(), n = (0, F.useSyncExternalStore)(Cu, OW), r = ef(), i = (0, F.useRef)(null), a = (0, F.useRef)({+function PW() {+ let e = (0, F.useContext)(qW), t = KW(), n = (0, F.useSyncExternalStore)(Su, wW), r = $d(), i = (0, F.useRef)(null), a = (0, F.useRef)({mounted: !0,queued: !1});return (0, F.useEffect)(() => {let e = a.current;e.mounted = !0;- let t = PW(!Bf(W.navigation.location.pathname));- return !t.covered && t.opens > 0 && (NW || MW.seq === kW ? t.opens = -1 : MW.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {+ let t = AW(!zf(Dp.navigation.location.pathname));+ return !t.covered && t.opens > 0 && (kW || OW.seq === TW ? t.opens = -1 : OW.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {e.mounted = !1;};}, []), (0, F.useEffect)(() => {let t = a.current;!t.queued && e && (t.queued = !0, queueMicrotask(() => {- t.queued = !1, t.mounted && i.current && LW(i.current, e);+ t.queued = !1, t.mounted && i.current && NW(i.current, e);}));}, [t,@@ -49885,8 +49885,8 @@ function RW() {e]), null;}-function zW() {- let { pathname: e } = ef();+function FW() {+ let { pathname: e } = $d();return (0, F.useLayoutEffect)(() => {if (e !== "/wall") return;document.body.setAttribute("data-wall-open", ""), document.documentElement.removeAttribute("data-wall-entry");@@ -49898,19 +49898,19 @@ function zW() {e.inert = n[t] || !1;});};- }, [e]), Bf(e) && !zf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(RW, {}, e === "/junk-files" ? "/junk-files" : "/"), An(e) ? /* @__PURE__ */ (0, I.jsx)(nG, {}) : null] });+ }, [e]), zf(e) && !Rf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(PW, {}, e === "/junk-files" ? "/junk-files" : "/"), kn(e) ? /* @__PURE__ */ (0, I.jsx)(QW, {}) : null] });}-function BW() {- let e = (0, F.useContext)(ZW), t = document.getElementById("javLibraryHeader");- return t && e ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(DW, {+function IW() {+ let e = (0, F.useContext)(qW), t = document.getElementById("javLibraryHeader");+ return t && e ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(CW, {navigate: e.navigate,receipt: (t) => e.receipt(t)}), t) : null;}// src/react/router/pages/overlay.tsx-var VW = () => fu, HW = () => pu;-function UW() {- let e = (0, F.useContext)(ZW), t = (0, F.useSyncExternalStore)(Cu, HW), n = (0, F.useSyncExternalStore)(Cu, VW);+var LW = () => du, RW = () => fu;+function zW() {+ let e = (0, F.useContext)(qW), t = (0, F.useSyncExternalStore)(Su, RW), n = (0, F.useSyncExternalStore)(Su, LW);return (0, F.useEffect)(() => {if (!t || !n) return;let r = !0;@@ -49925,11 +49925,11 @@ function UW() {e]), null;}-function WW(e, t = !1) {- let n = (0, F.useSyncExternalStore)(Cu, VW), r = (0, F.useRef)(void 0);+function BW(e, t = !1) {+ let n = (0, F.useSyncExternalStore)(Su, LW), r = (0, F.useRef)(void 0);if (r.current === void 0) {- let { claimed: e } = W.navigation;- r.current = fu === 0 || kp() ? "boot" : e && !t ? null : "history";+ let { claimed: e } = Dp.navigation;+ r.current = du === 0 || kp() ? "boot" : e && !t ? null : "history";}let i = (0, F.useRef)(e);(0, F.useEffect)(() => {@@ -49945,22 +49945,22 @@ function WW(e, t = !1) {}));}, [n]);}-function GW() {- let e = (0, F.useContext)(ZW), t = (0, F.useRef)(e);+function VW() {+ let e = (0, F.useContext)(qW), t = (0, F.useRef)(e);return (0, F.useLayoutEffect)(() => {t.current = e;- }, [e]), WW((t) => {- let n = W.navigation.location, { pathname: r, search: i } = Mf(n.pathname) && Ff(n.state) || n, a = zf(r, i);- e && a && (Gf(), t || Kf(W.navigation.location.state), e.openOverlay(a));+ }, [e]), BW((t) => {+ let n = Dp.navigation.location, { pathname: r, search: i } = jf(n.pathname) && Pf(n.state) || n, a = Rf(r, i);+ e && a && (Wf(), t || Gf(Dp.navigation.location.state), e.openOverlay(a));}, !0), (0, F.useEffect)(() => () => {queueMicrotask(() => {- Bf(W.navigation.location.pathname) || t.current?.closeStage();+ zf(Dp.navigation.location.pathname) || t.current?.closeStage();});}, []), null;}-function KW({ path: e }) {- XW();- let { location: t, seq: n, action: r } = W.navigation, i = Mf(t.pathname) ? Ff(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, F.useRef)({+function HW({ path: e }) {+ KW();+ let { location: t, seq: n, action: r } = Dp.navigation, i = jf(t.pathname) ? Pf(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, F.useRef)({identity: a,seq: i?.seq ?? n,navigationSeq: n,@@ -49971,168 +49971,168 @@ function KW({ path: e }) {seq: n,navigationSeq: n,settings: !1- }), /* @__PURE__ */ (0, I.jsx)(GW, {}, `${e} ${o.current.seq}`);+ }), /* @__PURE__ */ (0, I.jsx)(VW, {}, `${e} ${o.current.seq}`);}-function qW() {- let e = (0, F.useContext)(ZW);- return WW(() => {+function UW() {+ let e = (0, F.useContext)(qW);+ return BW(() => {e?.follow?.ground();}), null;}-function JW() {- return /* @__PURE__ */ (0, I.jsx)(qW, {}, XW());+function WW() {+ return /* @__PURE__ */ (0, I.jsx)(UW, {}, KW());}// src/react/router/router.tsx-var YW = (0, F.createContext)(0), XW = () => (0, F.useContext)(YW), ZW = (0, F.createContext)(null);-function lye({ children: e }) {- let [t, n] = (0, F.useState)(() => W.navigation);- return (0, F.useLayoutEffect)(() => (n(W.navigation), W.listen((e) => {- (0, Lt.flushSync)(() => n(e));- })), []), /* @__PURE__ */ (0, I.jsx)(YW.Provider, {+var GW = (0, F.createContext)(0), KW = () => (0, F.useContext)(GW), qW = (0, F.createContext)(null);+function pye({ children: e }) {+ let [t, n] = (0, F.useState)(() => Dp.navigation);+ return (0, F.useLayoutEffect)(() => (n(Dp.navigation), Dp.listen((e) => {+ (0, It.flushSync)(() => n(e));+ })), []), /* @__PURE__ */ (0, I.jsx)(GW.Provider, {value: t.openEpoch,- children: /* @__PURE__ */ (0, I.jsx)(Tf, {+ children: /* @__PURE__ */ (0, I.jsx)(wf, {location: t.location,navigationType: t.action,- navigator: W,+ navigator: Dp,children: e})});}-function uye({ target: e }) {- let t = nf();+function mye({ target: e }) {+ let t = tf();return (0, F.useLayoutEffect)(() => {e.current = t;}), null;}-function dye(e, t, n) {+function hye(e, t, n) {let r = new URL(e, window.location.href);- k6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);+ O6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);}-function fye() {- let e = (0, F.useContext)(ZW), [t, n] = (0, F.useState)(dp), r = (0, F.useRef)(null);- (0, F.useLayoutEffect)(() => (n(dp()), fp((e, t) => {- t ? (0, Lt.flushSync)(() => n(e)) : n(e);+function gye() {+ let e = (0, F.useContext)(qW), [t, n] = (0, F.useState)(up), r = (0, F.useRef)(null);+ (0, F.useLayoutEffect)(() => (n(up()), dp((e, t) => {+ t ? (0, It.flushSync)(() => n(e)) : n(e);})), []);let i = (0, F.useMemo)(() => (t) => {- e && r.current && dye(t, e, r.current);+ e && r.current && hye(t, e, r.current);}, [e]);- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(uye, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)(pye, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(mye, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)(_ye, {entry: t,- children: /* @__PURE__ */ (0, I.jsx)(mye, {+ children: /* @__PURE__ */ (0, I.jsx)(vye, {entry: t,actions: e,go: i})}, t.revision)) : null] });}-var pye = class extends F.Component {+var _ye = class extends F.Component {state = { failed: !1 };static getDerivedStateFromError() {return { failed: !0 };}componentDidCatch() {- yp(this.props.entry.container, this.props.entry.revision);+ vp(this.props.entry.container, this.props.entry.revision);}render() {return this.state.failed ? null : this.props.children;}-}, mye = (0, F.memo)(function({ entry: e, actions: t, go: n }) {- return U6(e.path) ? (0, Lt.createPortal)(RFe(e.path, e.props, t, n), e.host, String(e.revision)) : null;+}, vye = (0, F.memo)(function({ entry: e, actions: t, go: n }) {+ return H6(e.path) ? (0, It.createPortal)(BFe(e.path, e.props, t, n), e.host, String(e.revision)) : null;});-function hye({ children: e }) {- let t = ef();- XW();- let n = Ap(), r = Mf(t.pathname) && !kp() ? Ff(t.state) : null;+function yye({ children: e }) {+ let t = $d();+ KW();+ let n = Ap(), r = jf(t.pathname) && !kp() ? Pf(t.state) : null;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsxs)(Ef, {+ /* @__PURE__ */ (0, I.jsxs)(Tf, {location: n ?? t,children: [- Object.entries(O6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {+ Object.entries(D6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Cf, {path: e,element: t.element}, e)),- Object.entries(PFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {+ Object.entries(IFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Cf, {path: e,element: t.element}, e)),- Object.entries(A6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {+ Object.entries(k6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Cf, {path: e,element: t.element}, e)),- Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {+ Object.entries(M6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Cf, {path: e,element: t.element}, e)),- Object.entries(F6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {+ Object.entries(P6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Cf, {path: e,element: t.element}, e)),- H6.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {+ V6.map((e) => /* @__PURE__ */ (0, I.jsx)(Cf, {path: e,- element: I6["/"].element+ element: F6["/"].element}, e)),- Object.entries(FFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {+ Object.entries(LFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Cf, {path: e,element: t.element}, e)),- If.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {+ Ff.map((e) => /* @__PURE__ */ (0, I.jsx)(Cf, {path: e,- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(JW, {}) : I6["/"].element+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(WW, {}) : F6["/"].element}, e)),- jf.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {+ Af.map((e) => /* @__PURE__ */ (0, I.jsx)(Cf, {path: e,element: null}, e)),- /* @__PURE__ */ (0, I.jsx)(wf, {+ /* @__PURE__ */ (0, I.jsx)(Cf, {path: "*",element: e})]}),- /* @__PURE__ */ (0, I.jsxs)(Ef, {+ /* @__PURE__ */ (0, I.jsxs)(Tf, {location: r ?? t,- children: [If.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {+ children: [Ff.map((e) => /* @__PURE__ */ (0, I.jsx)(Cf, {path: e,- element: /* @__PURE__ */ (0, I.jsx)(KW, { path: e })- }, e)), /* @__PURE__ */ (0, I.jsx)(wf, {+ element: /* @__PURE__ */ (0, I.jsx)(HW, { path: e })+ }, e)), /* @__PURE__ */ (0, I.jsx)(Cf, {path: "*",element: null})]}),- /* @__PURE__ */ (0, I.jsxs)(Ef, { children: [jf.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {+ /* @__PURE__ */ (0, I.jsxs)(Tf, { children: [Af.map((e) => /* @__PURE__ */ (0, I.jsx)(Cf, {path: e,- element: /* @__PURE__ */ (0, I.jsx)(zve, {})- }, e)), /* @__PURE__ */ (0, I.jsx)(wf, {+ element: /* @__PURE__ */ (0, I.jsx)(Vve, {})+ }, e)), /* @__PURE__ */ (0, I.jsx)(Cf, {path: "*",element: null})] })] });}-function gye({ children: e, actions: t = null, background: n, processing: r = !1 }) {- return /* @__PURE__ */ (0, I.jsxs)($V, { children: [n, /* @__PURE__ */ (0, I.jsx)(ZW.Provider, {+function bye({ children: e, actions: t = null, background: n, processing: r = !1 }) {+ return /* @__PURE__ */ (0, I.jsxs)(ZV, { children: [n, /* @__PURE__ */ (0, I.jsx)(qW.Provider, {value: t,- children: /* @__PURE__ */ (0, I.jsxs)(lye, { children: [- /* @__PURE__ */ (0, I.jsx)(fye, {}),- /* @__PURE__ */ (0, I.jsx)(BW, {}),- /* @__PURE__ */ (0, I.jsx)(UW, {}),- r && t ? /* @__PURE__ */ (0, I.jsx)(eve, { toast: t.toast }) : null,- r && t ? /* @__PURE__ */ (0, I.jsx)(ive, {}) : null,- r && t ? /* @__PURE__ */ (0, I.jsx)(Rve, { navigate: t.navigate }) : null,- r && t ? /* @__PURE__ */ (0, I.jsx)(Pve, { actions: t }) : null,- /* @__PURE__ */ (0, I.jsx)(hye, { children: e })+ children: /* @__PURE__ */ (0, I.jsxs)(pye, { children: [+ /* @__PURE__ */ (0, I.jsx)(gye, {}),+ /* @__PURE__ */ (0, I.jsx)(IW, {}),+ /* @__PURE__ */ (0, I.jsx)(zW, {}),+ r && t ? /* @__PURE__ */ (0, I.jsx)(nve, { toast: t.toast }) : null,+ r && t ? /* @__PURE__ */ (0, I.jsx)(ove, {}) : null,+ r && t ? /* @__PURE__ */ (0, I.jsx)(Bve, { navigate: t.navigate }) : null,+ r && t ? /* @__PURE__ */ (0, I.jsx)(Ive, { actions: t }) : null,+ /* @__PURE__ */ (0, I.jsx)(yye, { children: e })] })})] });}-var _ye = { onCaughtError: (e) => {+var xye = { onCaughtError: (e) => {globalThis.reportError?.(e);-} }, QW = {+} }, JW = {category: "个人分类",creator: "创作者/账号",performer: "人物",seller: "卖家",studio: "厂牌"};-function $W(e, t = "", n = "") {+function YW(e, t = "", n = "") {let r = new URLSearchParams({...e,folder: t,@@ -50141,17 +50141,17 @@ function $W(e, t = "", n = "") {return {queryKey: ["catalog-folders", r.toString()],staleTime: 3e4,- queryFn: ({ signal: e }) => B(`/api/folders?${r}`, e)+ queryFn: ({ signal: e }) => V(`/api/folders?${r}`, e)};}-function eG(e, t) {+function XW(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 vye({ folder: e, rule: t, revision: n, close: r }) {- let i = (0, F.useContext)(ZW), a = EH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {+function Sye({ folder: e, rule: t, revision: n, close: r }) {+ let i = (0, F.useContext)(qW), a = wH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {folder: e.id,purpose: o,name: c,@@ -50160,27 +50160,27 @@ function vye({ folder: e, rule: t, revision: n, close: r }) {}, y = () => {h(null), a.setError("");}, b = (e) => {- H.invalidateQueries({ queryKey: ["catalog-folders"] }), i?.receipt(e), r(), xu({ pageOpens: fu + 1 });- }, x = () => a.run("preview", (e) => V("/api/folders/preview", v, "POST", e), h), S = () => {- m && a.run("save", (e) => V("/api/folders/rule", {+ U.invalidateQueries({ queryKey: ["catalog-folders"] }), i?.receipt(e), r(), bu({ pageOpens: du + 1 });+ }, x = () => a.run("preview", (e) => H("/api/folders/preview", v, "POST", e), h), S = () => {+ m && a.run("save", (e) => H("/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 cl({+ (0, It.flushSync)(() => _(!0)), (await sl({title: "移除目录规则",body: `「${e.name}」的目录规则将被移除,并撤回这条规则建立的关联。`,confirmLabel: "移除目录规则",- onConfirm: () => V("/api/folders/rule", {+ onConfirm: () => H("/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, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: zs(t) } }), t] }) : null;- return g ? null : /* @__PURE__ */ (0, I.jsx)(yV, {+ }, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Rs(t) } }), t] }) : null;+ return g ? null : /* @__PURE__ */ (0, I.jsx)(_V, {isOpen: !0,onOpenChange: (e) => {!e && !w && r();@@ -50194,7 +50194,7 @@ function vye({ folder: e, rule: t, revision: n, close: r }) {className: "flex items-start justify-between gap-4 border-b border-separator-border p-5",children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "min-w-0",- children: [/* @__PURE__ */ (0, I.jsx)($L, {+ children: [/* @__PURE__ */ (0, I.jsx)(ZL, {slot: "title",className: "text-title-2-medium",children: "设置目录用途"@@ -50202,7 +50202,7 @@ function vye({ folder: e, rule: t, revision: n, close: r }) {className: "mt-1 text-body-2-regular text-text-secondary wrap-anywhere",children: e.path})]- }), /* @__PURE__ */ (0, I.jsx)(TV, {+ }), /* @__PURE__ */ (0, I.jsx)(CV, {label: "关闭目录用途",onPress: () => {w || r();@@ -50214,20 +50214,20 @@ function vye({ folder: e, rule: t, revision: n, close: r }) {children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, I.jsx)(fV, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(eW, {+ children: [/* @__PURE__ */ (0, I.jsx)(uV, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(QU, {"aria-label": "这个文件夹用于",selectedKey: o,isDisabled: w,onSelectionChange: (e) => {s(e), y();},- children: Object.entries(QW).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(tW, {+ children: Object.entries(JW).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)($U, {id: e,children: t}, e))})]}),- o === "category" ? null : /* @__PURE__ */ (0, I.jsx)(vV, {+ o === "category" ? null : /* @__PURE__ */ (0, I.jsx)(gV, {label: "关联名称",value: c,onChange: (e) => {@@ -50238,7 +50238,7 @@ function vye({ folder: e, rule: t, revision: n, close: r }) {isDisabled: w,isRequired: !0}),- /* @__PURE__ */ (0, I.jsx)(XV, {+ /* @__PURE__ */ (0, I.jsx)(JV, {isSelected: u,isDisabled: w,onChange: (e) => {@@ -50246,7 +50246,7 @@ function vye({ folder: e, rule: t, revision: n, close: r }) {},children: "应用到子文件夹"}),- /* @__PURE__ */ (0, I.jsx)(XV, {+ /* @__PURE__ */ (0, I.jsx)(JV, {isSelected: f,isDisabled: w,onChange: (e) => {@@ -50283,9 +50283,9 @@ function vye({ folder: e, rule: t, revision: n, close: r }) {children: e.name}, e.id))}) : null,- m.conflicts.length ? /* @__PURE__ */ (0, I.jsx)(xV, {+ m.conflicts.length ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "warning",- extra: /* @__PURE__ */ (0, I.jsx)(XH, {+ extra: /* @__PURE__ */ (0, I.jsx)(JH, {summary: "查看归属冲突",children: /* @__PURE__ */ (0, I.jsx)("ul", {className: "mt-2 flex flex-col gap-2",@@ -50303,7 +50303,7 @@ function vye({ folder: e, rule: t, revision: n, close: r }) {}) : null]}) : null,- a.error ? /* @__PURE__ */ (0, I.jsx)(xV, {+ a.error ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",children: a.error}) : null@@ -50318,7 +50318,7 @@ function vye({ folder: e, rule: t, revision: n, close: r }) {onClick: () => {w || C();},- ...EV(a.busy === "remove"),+ ...wV(a.busy === "remove"),children: "移除规则"}) : null,/* @__PURE__ */ (0, I.jsx)(J, {@@ -50330,13 +50330,13 @@ function vye({ folder: e, rule: t, revision: n, close: r }) {}),m ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "primary",- ...EV(a.busy === "save"),+ ...wV(a.busy === "save"),onClick: S,children: T("save", "正在保存") || "保存目录用途"}) : /* @__PURE__ */ (0, I.jsx)(J, {variant: "primary",disabled: o !== "category" && !c.trim(),- ...EV(a.busy === "preview"),+ ...wV(a.busy === "preview"),onClick: () => {x();},@@ -50349,7 +50349,7 @@ function vye({ folder: e, rule: t, revision: n, close: r }) {});}// src/react/catalog-folders/use-folder-sticky-offset.ts-function yye(e, t) {+function Cye(e, t) {(0, F.useLayoutEffect)(() => {if (!e) return;let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {@@ -50372,35 +50372,35 @@ function yye(e, t) {}, [e, t]);}// src/react/catalog-folders/catalog-folders-page.tsx-function tG() {- return $d() ? /* @__PURE__ */ (0, I.jsx)(bye, {}) : null;+function ZW() {+ return Qd() ? /* @__PURE__ */ (0, I.jsx)(wye, {}) : null;}-function bye() {- let e = ef(), t = (0, F.useContext)(ZW);- if (!An(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;+function wye() {+ let e = $d(), t = (0, F.useContext)(qW);+ if (!kn(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");- return /* @__PURE__ */ (0, I.jsx)(yL, {+ return /* @__PURE__ */ (0, I.jsx)(_L, {size: "small","data-folder-mode-toggle": "","aria-label": "文件夹模式",title: "文件夹模式","aria-pressed": r,- icon: UB,- onClick: () => t?.navigate(eG(e, r ? {+ icon: VB,+ onClick: () => t?.navigate(XW(e, r ? {browse: null,folder: null,folder_recursive: null} : { browse: "folders" }))});}-function xye({ children: e, enabled: t }) {- return $d() ? /* @__PURE__ */ (0, I.jsx)(Sye, {+function Tye({ children: e, enabled: t }) {+ return Qd() ? /* @__PURE__ */ (0, I.jsx)(Eye, {enabled: t,children: e}) : /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e });}-function Sye({ children: e, enabled: t }) {- let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(null), o = ef(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));+function Eye({ children: e, enabled: t }) {+ let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(null), o = $d(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));return /* @__PURE__ */ (0, I.jsxs)("div", {className: "entity-folder-workspace","data-folder-workspace": "",@@ -50419,7 +50419,7 @@ function Sye({ children: e, enabled: t }) {hidden: !c}), e]}),- n && i ? /* @__PURE__ */ (0, I.jsx)(nG, {+ n && i ? /* @__PURE__ */ (0, I.jsx)(QW, {treeTarget: n,headerTarget: i,enabled: t@@ -50427,14 +50427,14 @@ function Sye({ children: e, enabled: t }) {]});}-function nG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {- let r = ef(), i = (0, F.useContext)(ZW), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {+function QW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {+ let r = $d(), i = (0, F.useContext)(qW), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {loc: a.get("loc") ?? "",library: a.get("library") ?? ""};- yye(o, e);- let c = a.get("folder") || "", l = Pt({- ...$W(s, c),+ Cye(o, e);+ let c = a.get("folder") || "", l = Nt({+ ...YW(s, c),enabled: o}), [u, d] = (0, F.useState)(!1), [f, p] = (0, F.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");if ((0, F.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {@@ -50448,11 +50448,11 @@ function nG({ 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(eG(r, {+ d(!1), i.navigate(XW(r, {browse: "folders",folder: e}));- }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(wye, {+ }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(Oye, {scope: s,selected: c,current: _,@@ -50460,8 +50460,8 @@ function nG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {reportedError: u ? null : l.error});return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- (0, Lt.createPortal)(v, m),- (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsxs)("div", {+ (0, It.createPortal)(v, m),+ (0, It.createPortal)(/* @__PURE__ */ (0, I.jsxs)("div", {className: "catalog-folder-heading",children: [/* @__PURE__ */ (0, I.jsxs)("div", {@@ -50469,21 +50469,21 @@ function nG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "folder-drawer-trigger",- children: /* @__PURE__ */ (0, I.jsx)(yL, {+ children: /* @__PURE__ */ (0, I.jsx)(_L, {"aria-label": "打开文件夹目录",- icon: mge,+ icon: gge,size: "small",onClick: () => d(!0)})}),- /* @__PURE__ */ (0, I.jsxs)(Pge, {+ /* @__PURE__ */ (0, I.jsxs)(Ige, {"aria-label": "文件夹路径",- children: [/* @__PURE__ */ (0, I.jsx)(VV, {+ children: [/* @__PURE__ */ (0, I.jsx)(zV, {current: !c,onClick: () => g(""),- icon: UB,+ icon: VB,children: "全部文件夹"- }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, I.jsx)(VV, {+ }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, I.jsx)(zV, {current: t === _.ancestors.length - 1,onClick: () => g(e.id),children: /* @__PURE__ */ (0, I.jsx)("span", {@@ -50493,15 +50493,15 @@ function nG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {})}, e.id))]}),- _?.selected ? /* @__PURE__ */ (0, I.jsx)(yL, {+ _?.selected ? /* @__PURE__ */ (0, I.jsx)(_L, {"aria-label": "设置目录用途",- icon: tge,+ icon: rge,size: "small",onClick: () => p(!0)}) : null]}),- l.error && !u ? /* @__PURE__ */ (0, I.jsx)(xV, {+ l.error && !u ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -50511,9 +50511,9 @@ function nG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {},children: "立即重试"}),- children: cr(l.error)+ children: sr(l.error)}) : null,- _?.conflicts?.length ? /* @__PURE__ */ (0, I.jsxs)(xV, {+ _?.conflicts?.length ? /* @__PURE__ */ (0, I.jsxs)(yV, {tone: "warning",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -50525,14 +50525,14 @@ function nG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}) : null,_?.selected ? /* @__PURE__ */ (0, I.jsxs)("div", {className: "folder-scope-row",- children: [/* @__PURE__ */ (0, I.jsx)(XV, {+ children: [/* @__PURE__ */ (0, I.jsx)(JV, {size: "sm",isSelected: a.get("folder_recursive") !== "0",- onChange: (e) => i.navigate(eG(r, { folder_recursive: e ? null : "0" })),+ onChange: (e) => i.navigate(XW(r, { folder_recursive: e ? null : "0" })),children: "包含子文件夹"}), /* @__PURE__ */ (0, I.jsx)("span", {className: "text-caption-1-regular text-text-tertiary",- children: _.rule ? `${QW[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"+ children: _.rule ? `${JW[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"})]}) : null,l.isPending ? /* @__PURE__ */ (0, I.jsx)("div", {@@ -50542,13 +50542,13 @@ function nG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {className: "folder-children",children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))}) : null,- _?.children.length ? /* @__PURE__ */ (0, I.jsx)(Cye, {+ _?.children.length ? /* @__PURE__ */ (0, I.jsx)(Dye, {nodes: _.children,go: g}, c) : null]}), h),- /* @__PURE__ */ (0, I.jsxs)(yV, {+ /* @__PURE__ */ (0, I.jsxs)(_V, {isOpen: u,onOpenChange: d,width: "form",@@ -50558,7 +50558,7 @@ function nG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, I.jsx)("h2", {className: "text-title-2-medium",children: "文件夹"- }), /* @__PURE__ */ (0, I.jsx)(TV, {+ }), /* @__PURE__ */ (0, I.jsx)(CV, {label: "关闭文件夹目录",onPress: () => d(!1)})]@@ -50567,7 +50567,7 @@ function nG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: u ? v : null})]}),- f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(vye, {+ f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(Sye, {folder: _.selected,rule: _.rule,revision: _.rules_revision,@@ -50575,7 +50575,7 @@ function nG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}, _.selected.id) : null] });}-function Cye({ nodes: e, go: t }) {+function Dye({ nodes: e, go: t }) {let [n, r] = (0, F.useState)(!1), i = (0, F.useId)(), a = n ? e : e.slice(0, 12);return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-col items-start gap-2",@@ -50586,7 +50586,7 @@ function Cye({ nodes: e, go: t }) {children: a.map((e) => /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: UB,+ leadingIcon: VB,onClick: () => t(e.id),children: /* @__PURE__ */ (0, I.jsx)("span", {className: "truncate",@@ -50603,28 +50603,28 @@ function Cye({ nodes: e, go: t }) {}) : null]});}-function wye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {- let a = Pt($W(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Pt({- ...$W(e, "", u),+function Oye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {+ let a = Nt(YW(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Nt({+ ...YW(e, "", u),enabled: !!u.trim()- }), f = ZV();+ }), f = YV();(0, F.useEffect)(() => {n?.ancestors.length && s((e) => /* @__PURE__ */ new Set([...e, ...n.ancestors.filter((e) => e.has_children).map((e) => e.id)]));}, [n?.ancestors]);- let p = [...o].map(String), m = Mt({ queries: p.map((t) => $W(e, t)) }), h = /* @__PURE__ */ new Map();+ let p = [...o].map(String), m = jt({ queries: p.map((t) => YW(e, t)) }), h = /* @__PURE__ */ new Map();m.forEach((e, t) => {e.data && h.set(p[t], e.data.children);}), n?.selected && h.set(n.selected.id, n.children);let g = (e) => {let t = h.get(e.id);- return /* @__PURE__ */ (0, I.jsx)(KV, {+ return /* @__PURE__ */ (0, I.jsx)(WV, {id: e.id,label: e.name,- icon: UB,- expandedIcon: GB,+ icon: VB,+ expandedIcon: UB,iconClassName: "size-(--icon-inline)",trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,- children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, I.jsx)(KV, {+ children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, I.jsx)(WV, {id: `${e.id}:loading`,label: "正在读取文件夹",isDisabled: !0@@ -50640,15 +50640,15 @@ function wye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-label": "文件夹导航",className: "catalog-folder-navigation flex min-h-0 min-w-0 flex-col gap-3",children: [- /* @__PURE__ */ (0, I.jsx)(vV, {+ /* @__PURE__ */ (0, I.jsx)(gV, {"aria-label": "查找文件夹",placeholder: "查找文件夹",- leadingIcon: rV,+ leadingIcon: tV,value: c,onChange: l,size: "small"}),- v ? /* @__PURE__ */ (0, I.jsx)(xV, {+ v ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -50660,7 +50660,7 @@ function wye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {},children: "立即重试"}),- children: cr(v)+ children: sr(v)}) : null,/* @__PURE__ */ (0, I.jsx)("div", {className: "folder-tree-frame relative flex min-h-0 flex-col overflow-hidden rounded-3xl",@@ -50683,20 +50683,20 @@ function wye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-busy": "true",className: "h-8 skeleton-sheen","aria-label": "正在查找文件夹"- }) : d.error ? /* @__PURE__ */ (0, I.jsx)(xV, {+ }) : d.error ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",- children: cr(d.error)+ children: sr(d.error)}) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: UB,+ leadingIcon: VB,onClick: () => {l(""), r(e.id);},children: e.name- }, e.id)) : /* @__PURE__ */ (0, I.jsx)(SV, {+ }, e.id)) : /* @__PURE__ */ (0, I.jsx)(bV, {size: "compact",- icon: rV,+ icon: tV,title: "没有匹配的文件夹",actions: /* @__PURE__ */ (0, I.jsx)(J, {size: "small",@@ -50705,7 +50705,7 @@ function wye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}),children: "换个目录名称试试。"})- }) : a.data?.roots.length ? /* @__PURE__ */ (0, I.jsx)(Lge, {+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, I.jsx)(zge, {"aria-label": "媒体目录",size: "sm",expandedKeys: o,@@ -50713,11 +50713,11 @@ function wye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {selectedKeys: new Set(t ? [t] : []),onSelectionChange: _,children: a.data?.roots.map(g)- }) : /* @__PURE__ */ (0, I.jsx)(SV, {+ }) : /* @__PURE__ */ (0, I.jsx)(bV, {size: "compact",- icon: UB,+ icon: VB,title: "尚未添加媒体目录",- actions: /* @__PURE__ */ (0, I.jsx)(jL, {+ actions: /* @__PURE__ */ (0, I.jsx)(kL, {size: "small",href: "/settings/library",children: "添加媒体"@@ -50730,63 +50730,63 @@ function wye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {});}// src/react/catalog-grid/catalog-view.ts-var rG = "peach.catalog-view.v1", iG = /* @__PURE__ */ new Set(), aG = "cards";-function oG() {+var $W = "peach.catalog-view.v1", eG = /* @__PURE__ */ new Set(), tG = "cards";+function nG() {try {- return localStorage.getItem(rG) === "list" ? "list" : "cards";+ return localStorage.getItem($W) === "list" ? "list" : "cards";} catch {- return aG;+ return tG;}}-function Tye(e) {- aG = e === "list" ? "list" : "cards";+function kye(e) {+ tG = e === "list" ? "list" : "cards";try {- localStorage.setItem(rG, aG);+ localStorage.setItem($W, tG);} catch {}- iG.forEach((e) => e());+ eG.forEach((e) => e());}-function Eye(e) {- iG.add(e);+function Aye(e) {+ eG.add(e);let t = (t) => {- (t.key === rG || t.key === null) && e();+ (t.key === $W || t.key === null) && e();};return addEventListener("storage", t), () => {- iG.delete(e), removeEventListener("storage", t);+ eG.delete(e), removeEventListener("storage", t);};}-var sG = () => (0, F.useSyncExternalStore)(Eye, oG, () => "cards");+var rG = () => (0, F.useSyncExternalStore)(Aye, nG, () => "cards");// src/react/catalog-grid/catalog-view-toggle.tsx-function cG() {- let e = sG();- return /* @__PURE__ */ (0, I.jsxs)(Wz, {+function iG() {+ let e = rG();+ return /* @__PURE__ */ (0, I.jsxs)(Hz, {"aria-label": "馆藏显示方式",orientation: "horizontal",value: e,- onChange: Tye,+ onChange: kye,"data-entity-layout": "",- className: _U,- children: [/* @__PURE__ */ (0, I.jsx)(Gz, {+ className: hU,+ children: [/* @__PURE__ */ (0, I.jsx)(Uz, {value: "cards","aria-label": "卡片",- className: vU,+ className: gU,"data-glass-segment": "",children: /* @__PURE__ */ (0, I.jsx)("span", {title: "卡片",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, I.jsx)(YB, {+ children: /* @__PURE__ */ (0, I.jsx)(qB, {"aria-hidden": "true",className: "size-4"})})- }), /* @__PURE__ */ (0, I.jsx)(Gz, {+ }), /* @__PURE__ */ (0, I.jsx)(Uz, {value: "list","aria-label": "列表",- className: vU,+ className: gU,"data-glass-segment": "",children: /* @__PURE__ */ (0, I.jsx)("span", {title: "列表",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, I.jsx)(uge, {+ children: /* @__PURE__ */ (0, I.jsx)(fge, {"aria-hidden": "true",className: "size-4"})@@ -50795,8 +50795,8 @@ function cG() {});}// src/react/components/icon-swap.tsx-function lG({ a: e, b: t, state: n, className: r }) {- let { isFocusVisible: i } = OC();+function aG({ a: e, b: t, state: n, className: r }) {+ let { isFocusVisible: i } = kC();return /* @__PURE__ */ (0, I.jsxs)("span", {"aria-hidden": !0,className: `iconswap ${r || ""}`,@@ -50812,114 +50812,114 @@ function lG({ a: e, b: t, state: n, className: r }) {})]});}-function uG({ className: e }) {- return /* @__PURE__ */ (0, I.jsx)(lG, {- a: Ihe,- b: Fhe,+function oG({ className: e }) {+ return /* @__PURE__ */ (0, I.jsx)(aG, {+ a: Rhe,+ b: Lhe,className: e});}// src/react/follow-feed/follow-marks.ts-var dG = (e) => typeof e == "string" ? e : "", fG = (e) => e.aliases;-function pG(e, t = "") {- let n = qi(e);- return n ? `<img data-follow-site-icon="" src="${n}" alt="${z(t)}"${t ? ` title="${z(t)}"` : ""} loading="lazy" data-drop="self">` : "";+var sG = (e) => typeof e == "string" ? e : "", cG = (e) => e.aliases;+function lG(e, t = "") {+ let n = Ki(e);+ return n ? `<img data-follow-site-icon="" src="${n}" alt="${B(t)}"${t ? ` title="${B(t)}"` : ""} loading="lazy" data-drop="self">` : "";}-function mG(e, t = "") {- let n = z(oi(t || e)), r = qi(e);+function uG(e, t = "") {+ let n = B(ai(t || e)), r = Ki(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 hG = (e) => dG(e.title).trim() || "未命名内容", gG = (e, t) => ai(e, fG(t));-function _G(e) {+var dG = (e) => sG(e.title).trim() || "未命名内容", fG = (e, t) => ii(e, cG(t));+function pG(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 = dG(n.entity_name);- return cn("creator", r, n.entity_id), r;+ let n = t[0], r = sG(n.entity_name);+ return sn("creator", r, n.entity_id), r;}-function vG(e, t) {- let { src: n, fallback: r } = si(e), i = oi(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 mG(e, t) {+ let { src: n, fallback: r } = oi(e), i = ai(t);+ if (!n) return `<span class="favatar none" title="没有可用头像">${B(i)}</span>`;+ let a = r ? ` data-fallbacks="${B(r)}"` : "";+ return `<img class="favatar" src="${B(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${B(i)}" data-drop-class="favatar none">`;}-function yG(e, t, n) {- let r = fG(n), i = e.credit, a = i?.poster;+function hG(e, t, n) {+ let r = cG(n), i = e.credit, a = i?.poster;if (!a) {- let n = ai(t, r);+ let n = ii(t, r);return {- author: n || dG(e.author) || dG(e.source_label) || "创作者未取得",- avatar: vG(t, n),+ author: n || sG(e.author) || sG(e.source_label) || "创作者未取得",+ avatar: mG(t, n),credited: "",- entityName: _G(t)+ entityName: pG(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 && ai(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 && ii(c, r) || a;return {author: l,- avatar: vG(c, l),+ avatar: mG(c, l),credited: i.credited || "",- entityName: _G(c)+ entityName: pG(c)};}-function bG(e, t = e.primary) {+function gG(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 = dG(e.primary.version);- i && n.push(r("version", z(i)));- let a = dG(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";+ let i = sG(e.primary.version);+ i && n.push(r("version", B(i)));+ let a = sG(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";return o && n.push(r(a, o)), n.join("");}-function xG(e, t = e.primary) {+function _G(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]) => pG(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]) => lG(e, t) || `<span>${B(t)}</span>`).join("");+ return `<span data-follow-seealso="" title="另见 ${B([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;}-function SG(e, t) {- let n = dG(e.media_error);+function vG(e, t) {+ let n = sG(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var Dye = 864e5, Oye = (e, t) => {+var jye = 864e5, Mye = (e, t) => {let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();- return Number.isFinite(n) && n - t > Dye;+ return Number.isFinite(n) && n - t > jye;};-function CG(e, t) {- let n = dG(e.published_at);+function yG(e, t) {+ let n = sG(e.published_at);if (!n) return null;- let r = e.published_precision === "approximate", i = Sr(n);+ let r = e.published_precision === "approximate", i = xr(n);return {prefix: r ? "约 " : "",full: r ? i.slice(0, 10) : i,- suffix: Oye(n, t) ? " · 晚于现在" : ""+ suffix: Mye(n, t) ? " · 晚于现在" : ""};}-function wG(e, t = Date.now()) {- let n = CG(e, t);+function bG(e, t = Date.now()) {+ let n = yG(e, t);return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";}-function TG(e, t = Date.now()) {- let n = CG(e, t);+function xG(e, t = Date.now()) {+ let n = yG(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 EG = /* @__PURE__ */ new Set(), DG = [], OG = null;-function kG() {- if (OG = null, !DG.length) return;- let e = DG.splice(0, 200);- wn("/api/follow/image-dims", {+var SG = /* @__PURE__ */ new Set(), CG = [], wG = null;+function TG() {+ if (wG = null, !CG.length) return;+ let e = CG.splice(0, 200);+ Cn("/api/follow/image-dims", {method: "POST",body: JSON.stringify({ entries: e })- }).catch(() => {}), DG.length && (OG = setTimeout(kG, 800));+ }).catch(() => {}), CG.length && (wG = setTimeout(TG, 800));}-function kye(e, t, n, r) {+function Nye(e, t, n, r) {let i = `${e}:${t ?? ""}`;- EG.has(i) || (EG.add(i), DG.push(t === null ? {+ SG.has(i) || (SG.add(i), CG.push(t === null ? {item: e,width: n,height: r@@ -50928,25 +50928,25 @@ function kye(e, t, n, r) {width: n,height: r,media: t- }), OG ||= setTimeout(kG, 800));+ }), wG ||= setTimeout(TG, 800));}// src/react/entity-filter/entity-filter.ts-var Aye = (e) => e === "videos", AG = () => /* @__PURE__ */ (0, I.jsx)("span", {+var Pye = (e) => e === "videos", EG = () => /* @__PURE__ */ (0, I.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), jye = wV("shuffle"), Mye = wV("arrow-up"), Nye = wV("arrow-down");-function Pye(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Aye(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({+}), Fye = SV("shuffle"), Iye = SV("arrow-up"), Lye = SV("arrow-down");+function Rye(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Pye(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({k: e,label: t- })) : i, m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = kL(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = kL(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = kL(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);+ })) : i, m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = DL(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = DL(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = DL(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);return (0, F.useEffect)(() => {c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);- }, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(jG, {+ }, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(DG, {items: o,hidden: !l,actions: s- }), /* @__PURE__ */ (0, I.jsx)(wL, {+ }), /* @__PURE__ */ (0, I.jsx)(SL, {label: "筛选与排序",topLabel: "媒体与标签",attrs: {@@ -50975,19 +50975,19 @@ function Pye(e) {})] }),top: !n && !d ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Rye, {+ n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Hye, {keys: n,view: t,row: _,glide: S,onView: s.setView- }), d ? /* @__PURE__ */ (0, I.jsx)(AG, {}) : null] }) : null,- T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Iye, {+ }), d ? /* @__PURE__ */ (0, I.jsx)(EG, {}) : null] }) : null,+ T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Bye, {head: T,row: w,glide: E,onMedia: s.onlineMedia- }), /* @__PURE__ */ (0, I.jsx)(AG, {})] }) : null,+ }), /* @__PURE__ */ (0, I.jsx)(EG, {})] }) : null,/* @__PURE__ */ (0, I.jsxs)("div", {ref: v,"data-entity-scroll": "",@@ -51008,11 +51008,11 @@ function Pye(e) {f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));},children: e.label- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, I.jsx)(AG, {}) : null]+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, I.jsx)(EG, {}) : null]}), /* @__PURE__ */ (0, I.jsx)("div", {ref: y,"data-entity-tags": "",- children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(TL, {+ children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(CL, {"data-entity-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -51021,17 +51021,17 @@ function Pye(e) {"data-count-badge": e.k,children: e.n.toLocaleString()})]- }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(Lye, {+ }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(Vye, {head: u,actions: s}) : null})]})] }),- bottom: /* @__PURE__ */ (0, I.jsx)(zye, { ...e })+ bottom: /* @__PURE__ */ (0, I.jsx)(Uye, { ...e })})] });}-var Fye = [[+var zye = [["videos","视频","play",@@ -51042,7 +51042,7 @@ var Fye = [["pics","image"]];-function Iye({ head: e, row: t, glide: n, onMedia: r }) {+function Bye({ head: e, row: t, glide: n, onMedia: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {ref: t,role: "group",@@ -51050,7 +51050,7 @@ function Iye({ head: e, row: t, glide: n, onMedia: r }) {"data-entity-media": "","data-online-media": "",onPointerLeave: n.leave,- children: Fye.map(([t, i, a, o]) => {+ children: zye.map(([t, i, a, o]) => {let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -51063,12 +51063,12 @@ function Iye({ head: e, row: t, glide: n, onMedia: r }) {onClick: () => {e.media !== t && r(t);},- dangerouslySetInnerHTML: { __html: R(a) }+ dangerouslySetInnerHTML: { __html: z(a) }}, t);})});}-function Lye({ head: e, actions: t }) {+function Vye({ head: e, actions: t }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e.providers.map(([n, r]) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -51078,10 +51078,10 @@ function Lye({ head: e, actions: t }) {title: r,"aria-label": `来源:${r}`,onClick: () => t.onlineProvider(n),- dangerouslySetInnerHTML: { __html: pG(n) }+ dangerouslySetInnerHTML: { __html: lG(n) }}, n)),- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(AG, {}) : null,- e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(TL, {+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(EG, {}) : null,+ e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(CL, {"data-follow-tag": e.k,"data-entity-press": "","data-tag-cat": `r34-${e.cat}`,@@ -51094,7 +51094,7 @@ function Lye({ head: e, actions: t }) {}, e.k))] });}-function Rye({ keys: e, view: t, row: n, glide: r, onView: i }) {+function Hye({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -51137,12 +51137,12 @@ function Rye({ keys: e, view: t, row: n, glide: r, onView: i }) {title: c,onPointerEnter: r.hover,onClick: () => i(e),- dangerouslySetInnerHTML: { __html: R(o) }+ dangerouslySetInnerHTML: { __html: z(o) }}, e);})});}-function jG({ items: e, hidden: t, actions: n }) {+function DG({ items: e, hidden: t, actions: n }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-combo": "",hidden: t,@@ -51162,7 +51162,7 @@ function jG({ items: e, hidden: t, actions: n }) {})] }) : null});}-function zye(e) {+function Uye(e) {let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t === "photos" && a?.back ? /* @__PURE__ */ (0, I.jsxs)("button", {@@ -51171,33 +51171,33 @@ function zye(e) {onClick: o.photoBack,children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: R("chevron-left") }+ dangerouslySetInnerHTML: { __html: z("chevron-left") }}), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, I.jsx)(Bye, {+ /* @__PURE__ */ (0, I.jsx)(Wye, {text: n,busy: r}),- /* @__PURE__ */ (0, I.jsx)(zV, { currentHref: () => location.pathname + location.search }),- t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(Vye, {+ /* @__PURE__ */ (0, I.jsx)(LV, { currentHref: () => location.pathname + location.search }),+ t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(Gye, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(Uye, {+ t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(qye, {head: a,actions: o,helpers: s}) : null,- t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(Hye, {+ t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(Kye, {head: e.online,actions: o}) : null] });}-function Bye({ text: e, busy: t }) {+function Wye({ text: e, busy: t }) {return /* @__PURE__ */ (0, I.jsx)("h3", {"data-entity-readout": "",- children: /* @__PURE__ */ (0, I.jsx)(_L, {+ children: /* @__PURE__ */ (0, I.jsx)(hL, {text: t ? void 0 : e,busy: t,placeholder: /* @__PURE__ */ (0, I.jsx)("span", {@@ -51208,22 +51208,22 @@ function Bye({ text: e, busy: t }) {})});}-function MG({ name: e, label: t, value: n, options: r, onChange: i }) {- return /* @__PURE__ */ (0, I.jsx)(Wz, {+function OG({ name: e, label: t, value: n, options: r, onChange: i }) {+ return /* @__PURE__ */ (0, I.jsx)(Hz, {name: e,"aria-label": t,orientation: "horizontal",value: n,onChange: i,"data-entity-layout": "",- className: _U,+ className: hU,children: r.map(([e, t, n]) => {- let r = wV(n);- return /* @__PURE__ */ (0, I.jsx)(Gz, {+ let r = SV(n);+ return /* @__PURE__ */ (0, I.jsx)(Uz, {value: e,"aria-label": t,"data-glass-segment": "",- className: vU,+ className: gU,children: /* @__PURE__ */ (0, I.jsx)("span", {title: t,className: "contents",@@ -51233,38 +51233,38 @@ function MG({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function NG({ onPress: e, busy: t = !1 }) {- return /* @__PURE__ */ (0, I.jsx)(CL, {+function kG({ onPress: e, busy: t = !1 }) {+ return /* @__PURE__ */ (0, I.jsx)(xL, {"data-entity-batch": "",label: "换一批",busy: t,busyStyle: "strand",- icon: jye,+ icon: Fye,onPress: e});}-function Vye({ head: e, actions: t }) {- let n = sG();+function Gye({ head: e, actions: t }) {+ let n = rG();return /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, I.jsx)(NG, { onPress: () => void t.reshuffle() }),- e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(MG, {+ /* @__PURE__ */ (0, I.jsx)(kG, { onPress: () => void t.reshuffle() }),+ e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(OG, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,onChange: t.setJavLayout}) : null,- /* @__PURE__ */ (0, I.jsx)(cG, {}),- /* @__PURE__ */ (0, I.jsx)(tG, {}),- /* @__PURE__ */ (0, I.jsx)(PG, {+ /* @__PURE__ */ (0, I.jsx)(iG, {}),+ /* @__PURE__ */ (0, I.jsx)(ZW, {}),+ /* @__PURE__ */ (0, I.jsx)(AG, {sorts: e.sorts,onSort: t.setSort})]});}-function PG({ sorts: e, onSort: t }) {+function AG({ sorts: e, onSort: t }) {return /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-entity-sort": e.key,@@ -51272,20 +51272,20 @@ function PG({ sorts: e, onSort: t }) {"aria-pressed": e.pressed,"aria-label": e.ariaLabel || void 0,onClick: () => t(e.key),- children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(lG, {- a: Mye,- b: Nye,+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(aG, {+ a: Iye,+ b: Lye,state: e.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]}, e.key)) });}-function Hye({ head: e, actions: t }) {+function Kye({ head: e, actions: t }) {return /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, I.jsx)(NG, { onPress: t.onlineShuffle }),- e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(MG, {+ /* @__PURE__ */ (0, I.jsx)(kG, { onPress: t.onlineShuffle }),+ e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(OG, {label: "图片布局",value: e.photoLayout,options: e.photoLayouts,@@ -51302,30 +51302,30 @@ function Hye({ head: e, actions: t }) {"aria-hidden": "true"}) : null, /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: R("captions-off") }+ dangerouslySetInnerHTML: { __html: z("captions-off") }})]})] }) : null,- /* @__PURE__ */ (0, I.jsx)(PG, {+ /* @__PURE__ */ (0, I.jsx)(AG, {sorts: e.sorts,onSort: t.onlineSort})]});}-function Uye({ head: e, actions: t, helpers: n }) {+function qye({ head: e, actions: t, helpers: n }) {let [r, i] = (0, F.useState)(!1), a = (0, F.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";return (0, F.useEffect)(() => {a.current && o && n.wireSourceTools(a.current);}, [n, o]), /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- e.shuffle ? /* @__PURE__ */ (0, I.jsx)(NG, {+ e.shuffle ? /* @__PURE__ */ (0, I.jsx)(kG, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, I.jsx)(MG, {+ /* @__PURE__ */ (0, I.jsx)(OG, {label: "图片布局",value: e.layout,options: e.layouts,@@ -51340,8 +51340,8 @@ function Uye({ head: e, actions: t, helpers: n }) {});}// src/react/catalog-filter/catalog-filter.ts-var Wye = "peach.catalog.tiers.v1";-function FG() {+var Jye = "peach.catalog.tiers.v1";+function jG() {try {let e = JSON.parse(localStorage.getItem("peach.catalog.tiers.v1") || "{}");return {@@ -51355,40 +51355,40 @@ function FG() {};}}-function Gye(e) {+function Yye(e) {try {let t = JSON.stringify({performers: e.performers,studios: e.studios});- localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(Wye, t);+ localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(Jye, t);} catch {}}// src/react/catalog-filter/catalog-filter-page.tsx-function Kye(e) {- let t = !e.tiers, n = $ye(e.comboHost);+function Xye(e) {+ let t = !e.tiers, n = rbe(e.comboHost);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,"data-refreshing": e.refreshing || void 0,className: "contents",children: [- n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(jG, {+ n ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(DG, {items: e.combo,hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, I.jsx)(Yye, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(qye, { ...e })+ /* @__PURE__ */ (0, I.jsx)($ye, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(Zye, { ...e })]});}-function qye(e) {- let { actions: t, helpers: n } = e, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = kL(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);+function Zye(e) {+ let { actions: t, helpers: n } = e, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = DL(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, F.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let d = !e.tiers, f = LG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let d = !e.tiers, f = NG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, F.useLayoutEffect)(() => {if (d) {l(!1);@@ -51411,8 +51411,8 @@ function qye(e) {e.layout,e.sorts]), (0, F.useLayoutEffect)(() => {- $s(o.current, "tagbar");- }, [f]), /* @__PURE__ */ (0, I.jsx)(wL, {+ Qs(o.current, "tagbar");+ }, [f]), /* @__PURE__ */ (0, I.jsx)(SL, {label: "筛选与排序",topLabel: "视图与标签",attrs: {@@ -51456,23 +51456,23 @@ function qye(e) {}), /* @__PURE__ */ (0, I.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(IG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(Jye, {+ children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(MG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(Qye, {tag: n,pending: e.tiersPending,onPress: t.toggleTag}, n.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(Zye, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(tbe, { ...e })});}-function Jye({ tag: e, pending: t, onPress: n }) {- return /* @__PURE__ */ (0, I.jsxs)(TL, {+function Qye({ tag: e, pending: t, onPress: n }) {+ return /* @__PURE__ */ (0, I.jsxs)(CL, {"data-catalog-tag": e.k,"data-entity-press": "",pressed: e.selected,onPress: () => n(e.k),- children: [/* @__PURE__ */ (0, I.jsx)(_L, {+ children: [/* @__PURE__ */ (0, I.jsx)(hL, {text: e.label,busy: t}), e.n == null ? null : /* @__PURE__ */ (0, I.jsx)("span", {@@ -51481,15 +51481,15 @@ function Jye({ tag: e, pending: t, onPress: n }) {})]});}-function Yye(e) {- gL();+function $ye(e) {+ mL();let { actions: t, helpers: n } = e, r = e.tiers ?? {key: "",performers: [],studios: []- }, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = LG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = LG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? FG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;+ }, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = NG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = NG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? jG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;return (0, F.useEffect)(() => {- i || Gye({+ i || Yye({performers: f,studios: p});@@ -51510,7 +51510,7 @@ function Yye(e) {children: [f ? /* @__PURE__ */ (0, I.jsx)("div", {ref: o,"data-catalog-tier": "performers",- children: a ? /* @__PURE__ */ (0, I.jsx)(IG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, I.jsx)(MG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -51521,8 +51521,8 @@ function Yye(e) {dangerouslySetInnerHTML: { __html: n.ringHtml }}), /* @__PURE__ */ (0, I.jsx)("span", {"data-tier-name": "",- children: /* @__PURE__ */ (0, I.jsx)(_L, {- text: tn("performer", n.name),+ children: /* @__PURE__ */ (0, I.jsx)(hL, {+ text: en("performer", n.name),busy: e.tiersPending})})]@@ -51530,13 +51530,13 @@ function Yye(e) {}) : null, p ? /* @__PURE__ */ (0, I.jsx)("div", {ref: s,"data-catalog-tier": "studios",- children: a ? /* @__PURE__ */ (0, I.jsx)(IG, { kind: "studio" }) : u.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, I.jsx)(MG, { kind: "studio" }) : u.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-tier-studio": "","data-entity-kind": "studio","data-entity-name": n.name,onClick: () => t.openEntity("studio", n.name),- children: [/* @__PURE__ */ (0, I.jsx)(Xye, { studio: n }), /* @__PURE__ */ (0, I.jsx)(_L, {+ children: [/* @__PURE__ */ (0, I.jsx)(ebe, { studio: n }), /* @__PURE__ */ (0, I.jsx)(hL, {text: n.name,busy: e.tiersPending})]@@ -51544,7 +51544,7 @@ function Yye(e) {}) : null]});}-function Xye({ studio: e }) {+function ebe({ studio: e }) {let [t, n] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("span", {"data-tier-mark": "",@@ -51562,7 +51562,7 @@ function Xye({ studio: e }) {}) : e.fallback});}-function IG({ kind: e }) {+function MG({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, I.jsx)("span", {"data-catalog-placeholder": "tag",@@ -51578,43 +51578,43 @@ function IG({ kind: e }) {children: [/* @__PURE__ */ (0, I.jsx)("span", {}), /* @__PURE__ */ (0, I.jsx)("span", { children: "\xA0" })]}, t)) });}-function Zye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {- let a = sG(), [o, s] = (0, F.useState)(!1);+function tbe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+ let a = rG(), [o, s] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-catalog-summary": "",- children: [/* @__PURE__ */ (0, I.jsx)(Qye, { count: e }), /* @__PURE__ */ (0, I.jsx)(zV, { currentHref: i.currentHref })]+ children: [/* @__PURE__ */ (0, I.jsx)(nbe, { count: e }), /* @__PURE__ */ (0, I.jsx)(LV, { currentHref: i.currentHref })]}), /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, I.jsx)(NG, {+ /* @__PURE__ */ (0, I.jsx)(kG, {onPress: () => {s(!0), i.reshuffle().finally(() => s(!1));},busy: o || t}),- n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(MG, {+ n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(OG, {name: n.name,label: n.label,value: n.value,options: n.options,onChange: i.setLayout}, n.name) : null,- /* @__PURE__ */ (0, I.jsx)(cG, {}),- /* @__PURE__ */ (0, I.jsx)(tG, {}),- /* @__PURE__ */ (0, I.jsx)(PG, {+ /* @__PURE__ */ (0, I.jsx)(iG, {}),+ /* @__PURE__ */ (0, I.jsx)(ZW, {}),+ /* @__PURE__ */ (0, I.jsx)(AG, {sorts: r,onSort: i.setSort})]})] });}-function Qye({ count: e }) {+function nbe({ count: e }) {let t = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : e === !1 ? "" : void 0;return /* @__PURE__ */ (0, I.jsx)("span", {"data-catalog-readout": "","data-count-readout": "",role: "status",- children: /* @__PURE__ */ (0, I.jsx)(_L, {+ children: /* @__PURE__ */ (0, I.jsx)(hL, {text: t,busy: e === null,placeholder: /* @__PURE__ */ (0, I.jsx)("span", {@@ -51625,7 +51625,7 @@ function Qye({ count: e }) {})});}-function $ye(e) {+function rbe(e) {let [t, n] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {if (!e) return;@@ -51635,7 +51635,7 @@ function $ye(e) {};}, [e]), t;}-function LG(e, t, n, r, i) {+function NG(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -51678,11 +51678,11 @@ function LG(e, t, n, r, i) {}), l.slice(0, c.limit);}// src/react/components/grid-reveal.tsx-var RG = "100% 0px";-function ebe(e, t) {+var PG = "100% 0px";+function ibe(e, t) {let [n, r] = (0, F.useState)(e ? "skeleton" : "none"), [i] = (0, F.useState)(() => e ? t() : ""), a = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {- a.current && fc(a.current);+ a.current && dc(a.current);}, []), (0, F.useLayoutEffect)(() => {if (e || n !== "skeleton") return;let t = !!a.current && !a.current.querySelector(".skeleton-awaiting");@@ -51705,25 +51705,25 @@ function ebe(e, t) {fading: n === "fade"};}-function zG({ message: e, onRetry: t }) {+function FG({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-media-error": "",onClick: (e) => {e.target.closest("[data-note-action]") && t();},- dangerouslySetInnerHTML: { __html: Rs(e, {+ dangerouslySetInnerHTML: { __html: Ls(e, {variant: "error",actionLabel: "立即重试"}) }});}// src/react/components/skeleton-content.tsx-function BG({ pending: e, skeletonHtml: t, children: n }) {+function IG({ pending: e, skeletonHtml: t, children: n }) {let r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = t();return (0, F.useLayoutEffect)(() => {e || (r.current = n);}, [e, n]), (0, F.useLayoutEffect)(() => {- e && fc(i.current);+ e && dc(i.current);}, [e, a]), /* @__PURE__ */ (0, I.jsxs)("div", {"data-content-transition": "","data-pending": e ? "" : void 0,@@ -51742,63 +51742,63 @@ function BG({ pending: e, skeletonHtml: t, children: n }) {});}// src/library-catalog.ts-var VG = "peach.library-colors.v1", HG = null, UG = /* @__PURE__ */ new Set();-function tbe() {+var LG = "peach.library-colors.v1", RG = null, zG = /* @__PURE__ */ new Set();+function abe() {try {- let e = JSON.parse(localStorage.getItem(VG) || "{}");+ let e = JSON.parse(localStorage.getItem(LG) || "{}");return e && typeof e == "object" ? e : {};} catch {return {};}}-function WG(e) {- HG = e;+function BG(e) {+ RG = e;try {- localStorage.setItem(VG, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));+ localStorage.setItem(LG, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));} catch {}- UG.forEach((t) => t(e));+ zG.forEach((t) => t(e));}-function GG() {- return HG;+function VG() {+ return RG;}-function nbe(e) {- return UG.add(e), () => {- UG.delete(e);+function obe(e) {+ return zG.add(e), () => {+ zG.delete(e);};}// src/react/components/library-tint.ts-var KG = /* @__PURE__ */ new Map(), qG = !1, JG = /* @__PURE__ */ new Set();-function rbe(e) {+var HG = /* @__PURE__ */ new Map(), UG = !1, WG = /* @__PURE__ */ new Set();+function sbe(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 YG(e) {- KG = e;+function GG(e) {+ HG = e;let t = document.getElementById("peach-library-tints");- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...KG.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${rbe(e.color)}}`).join("\n");+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...HG.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${sbe(e.color)}}`).join("\n");}-function XG(e) {- YG(e), JG.forEach((e) => e());+function KG(e) {+ GG(e), WG.forEach((e) => e());}-var ZG = (e) => new Map(e.map((e) => [e.id, {+var qG = (e) => new Map(e.map((e) => [e.id, {id: e.id,name: e.name,- icon: gs[e.icon || ""] || e.icon || "database",+ icon: hs[e.icon || ""] || e.icon || "database",location: e.roots?.[0]?.location || "",color: e.color || ""-}])), QG = !1;-function ibe() {- if (QG) return;- QG = !0, nbe((e) => XG(ZG(e)));- let e = GG();+}])), JG = !1;+function cbe() {+ if (JG) return;+ JG = !0, obe((e) => KG(qG(e)));+ let e = VG();if (e) {- YG(ZG(e));+ GG(qG(e));return;}- let t = Object.entries(tbe()).filter(([, e]) => e);- t.length && YG(new Map(t.map(([e, t]) => [e, {+ let t = Object.entries(abe()).filter(([, e]) => e);+ t.length && GG(new Map(t.map(([e, t]) => [e, {id: e,name: "",icon: "database",@@ -51806,64 +51806,64 @@ function ibe() {color: t}])));}-function abe() {- qG || GG() || (qG = !0, B("/api/libraries").then((e) => WG(e.libraries || [])).catch(() => {- qG = !1;+function lbe() {+ UG || VG() || (UG = !0, V("/api/libraries").then((e) => BG(e.libraries || [])).catch(() => {+ UG = !1;}));}-function obe(e, t) {- let n = KG.get(e) ?? {+function ube(e, t) {+ let n = HG.get(e) ?? {id: e,name: "",icon: "database",location: "",color: ""};- XG(new Map([...KG, [e, {+ KG(new Map([...HG, [e, {...n,color: t}]]));}-function sbe(e) {- return JG.add(e), () => {- JG.delete(e);+function dbe(e) {+ return WG.add(e), () => {+ WG.delete(e);};}-function $G({ names: e = !1 } = {}) {- return ibe(), e && abe(), (0, F.useSyncExternalStore)(sbe, () => KG, () => KG);+function YG({ names: e = !1 } = {}) {+ return cbe(), e && lbe(), (0, F.useSyncExternalStore)(dbe, () => HG, () => HG);}// src/react/components/row-click.ts-var cbe = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";-function eK(e, t) {+var fbe = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";+function XG(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest(cbe);+ let r = n.closest(fbe);return !r || !t.contains(r) || r === t;}-function tK(e) {+function ZG(e) {e.shiftKey && e.preventDefault();}// src/react/components/media-card.tsx-var nK = 9 / 16, rK = "未命名视频";-function iK({ name: e }) {+var QG = 9 / 16, $G = "未命名视频";+function eK({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-var lbe = {+var pbe = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"-}, ube = {+}, mbe = {manual: "手动",junk: "垃圾",duplicate: "重复",missing: "文件缺失"};-function dbe(e) {+function hbe(e) {if (Number(e.duration) < 0) return {key: "unavailable",label: "探查错误"@@ -51891,16 +51891,16 @@ function dbe(e) {label: "尚未探查"};}-function aK({ item: e }) {+function tK({ item: e }) {if (e.disposal !== "trash") return null;- let t = e.disposal_reason && ube[e.disposal_reason] || "原因未记录";+ let t = e.disposal_reason && mbe[e.disposal_reason] || "原因未记录";return /* @__PURE__ */ (0, I.jsx)("span", {"data-media-disposal-reason": "",title: `归入原因:${t}`,children: t});}-function oK({ item: e, actions: t }) {+function nK({ item: e, actions: t }) {let [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -51912,18 +51912,18 @@ function oK({ item: e, actions: t }) {},"aria-busy": n || void 0,"aria-disabled": n || void 0,- children: n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: zs(`正在${s}`) } }), /* @__PURE__ */ (0, I.jsx)("span", { children: `正在${s}` })] }) : /* @__PURE__ */ (0, I.jsx)("span", { children: s })+ children: n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Rs(`正在${s}`) } }), /* @__PURE__ */ (0, I.jsx)("span", { children: `正在${s}` })] }) : /* @__PURE__ */ (0, I.jsx)("span", { children: s })}), i ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-operation-error": "",role: "alert",children: i}) : null] });}-function sK(e, t, n) {- return t === "short" ? nK : OM(n);+function rK(e, t, n) {+ return t === "short" ? QG : OM(n);}-function cK(e) {- let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = ko(e), s = i[0] || "", c = mo(e);+function iK(e) {+ let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = Oo(e), s = i[0] || "", c = po(e);return {avatar: r ? /* @__PURE__ */ (0, I.jsx)("div", {"data-media-avatars": "",@@ -51933,9 +51933,9 @@ function cK(e) {"data-media-avatar": "","data-entity-kind": "performer","data-entity-name": e,- title: `打开${c}页:${tn("performer", e, a[t]?.id)}`,+ title: `打开${c}页:${en("performer", e, a[t]?.id)}`,style: { "--media-avatar-index": t },- dangerouslySetInnerHTML: { __html: _o(e, a[t] ?? null, "performer") }+ dangerouslySetInnerHTML: { __html: go(e, a[t] ?? null, "performer") }}, `${e}:${t}`))}) : t ? /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -51943,18 +51943,18 @@ function cK(e) {"data-entity-kind": t,"data-entity-name": n,title: `打开${t === "performer" ? c : "资料"}页`,- dangerouslySetInnerHTML: { __html: _o(n, t === "performer" ? a[0] ?? null : e.creator_entity ?? null, t) }+ dangerouslySetInnerHTML: { __html: go(n, t === "performer" ? a[0] ?? null : e.creator_entity ?? null, t) }}) : /* @__PURE__ */ (0, I.jsx)("span", {"data-media-avatar": "",- dangerouslySetInnerHTML: { __html: _o(n, null, "") }+ dangerouslySetInnerHTML: { __html: go(n, null, "") }}),who: r ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-media-who": "","data-entity-kind": "performer","data-entity-name": s,- title: tn("performer", s),- children: [/* @__PURE__ */ (0, I.jsx)(iK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: tn("performer", s) })]+ title: en("performer", s),+ children: [/* @__PURE__ */ (0, I.jsx)(eK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: en("performer", s) })]}), /* @__PURE__ */ (0, I.jsx)("span", {"data-media-who-more": "",children: `等 ${o} 人`@@ -51963,17 +51963,17 @@ function cK(e) {"data-media-who": "","data-entity-kind": t,"data-entity-name": n,- title: tn(t, n),- children: [/* @__PURE__ */ (0, I.jsx)(iK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: tn(t, n) })]+ title: en(t, n),+ children: [/* @__PURE__ */ (0, I.jsx)(eK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: en(t, n) })]}) : /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-media-who": "","data-open-unowned": "",- children: [/* @__PURE__ */ (0, I.jsx)(iK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, I.jsx)(eK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]})};}-function fbe() {+function gbe() {return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-media-preview": "",@@ -51992,7 +51992,7 @@ function fbe() {})]});}-function pbe({ item: e, actions: t, on: n, onChange: r }) {+function _be({ item: e, actions: t, on: n, onChange: r }) {let [i, a] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("div", {"data-media-later": "",@@ -52007,11 +52007,11 @@ function pbe({ item: e, actions: t, on: n, onChange: r }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, I.jsx)(iK, { name: n ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, I.jsx)(eK, { name: n ? "check" : "bookmark-plus" })})});}-function mbe({ reason: e }) {+function vbe({ reason: e }) {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {ref: t,@@ -52025,15 +52025,15 @@ function mbe({ reason: e }) {e.stopPropagation(), r(!0);},children: e- }), /* @__PURE__ */ (0, I.jsx)(wz, {+ }), /* @__PURE__ */ (0, I.jsx)(Sz, {triggerRef: t,isOpen: n,onOpenChange: r,placement: "top",offset: 8,containerPadding: 12,- className: UV,- children: /* @__PURE__ */ (0, I.jsx)(Lz, {+ className: VV,+ children: /* @__PURE__ */ (0, I.jsx)(Fz, {"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",@@ -52041,18 +52041,18 @@ function mbe({ reason: e }) {})})] });}-function lK(e, t) {+function aK(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 hbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {- gL();- let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = $G(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, F.useRef)(e);+function ybe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {+ mL();+ let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = YG(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, F.useRef)(e);_.current = e;let v = (0, F.useCallback)((e) => {let t = _.current;- u.current && u.current !== e && Nl(u.current), u.current = e, e && (!t.medium || t.medium === "video") && Fl(e, t);- }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = sK(e, t, n), w = S ? n.size : "small", T = C === nK && !!e.is_jav, E = T ? Eo(e, !1) : wo(e, w, !1, n.javImage), D = T || w === "small" ? E.html : wo(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || rK, A = o.titleHtml(e, O).trim() || z(rK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : dbe(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = cK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {+ u.current && u.current !== e && Ml(u.current), u.current = e, e && (!t.medium || t.medium === "video") && Pl(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 = rK(e, t, n), w = S ? n.size : "small", T = C === QG && !!e.is_jav, E = T ? To(e, !1) : Co(e, w, !1, n.javImage), D = T || w === "small" ? E.html : Co(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || $G, A = o.titleHtml(e, O).trim() || B($G), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : hbe(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = iK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {let n = t.target;if (n.closest("[data-media-reason-dialog]")) return;let r = u.current;@@ -52079,13 +52079,13 @@ function hbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSl && r.contains(l) ? s.toggleTag(l.dataset.tag || "") : c(e, r);}, ie = /* @__PURE__ */ (0, I.jsxs)("div", {"data-media-pic": "",- "data-pic-portrait": C === nK ? "" : void 0,+ "data-pic-portrait": C === QG ? "" : void 0,style: { "--card-ratio": String(C) },children: [- E.html ? /* @__PURE__ */ (0, I.jsx)(iW, {+ E.html ? /* @__PURE__ */ (0, I.jsx)(nW, {artwork: E,identity: D,- relayout: (e) => Tl(e, w)+ relayout: (e) => wl(e, w)}) : /* @__PURE__ */ (0, I.jsx)("span", {"data-media-nopic": "",children: "无预览"@@ -52096,11 +52096,11 @@ function hbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS}),/* @__PURE__ */ (0, I.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, I.jsx)(iK, { name: "check" })+ children: /* @__PURE__ */ (0, I.jsx)(eK, { name: "check" })}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, I.jsx)(iK, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, I.jsx)(eK, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]}),y && !b ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-group": "",@@ -52114,9 +52114,9 @@ function hbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS/* @__PURE__ */ (0, I.jsx)("span", {"data-media-duration": "","data-copy-key": ee ? `media.duration.${ee.key}` : void 0,- children: ee ? ee.label : qn(M)+ children: ee ? ee.label : Kn(M)}),- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(oK, {+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(nK, {item: e,actions: s}) : null,@@ -52132,22 +52132,22 @@ function hbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-media-scrub": "",children: /* @__PURE__ */ (0, I.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })}),- /* @__PURE__ */ (0, I.jsx)(fbe, {}),+ /* @__PURE__ */ (0, I.jsx)(gbe, {}),p || g.length ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-media-status": "",children: [p ? /* @__PURE__ */ (0, I.jsx)("span", {"data-status": "later",title: "稍后看","aria-label": "稍后看",- children: /* @__PURE__ */ (0, I.jsx)(iK, { name: "bookmark" })+ children: /* @__PURE__ */ (0, I.jsx)(eK, { name: "bookmark" })}) : null, g.length ? /* @__PURE__ */ (0, I.jsx)("span", {"data-status": "flagged",title: `已标记:${g.join("、")}`,"aria-label": `已标记:${g.join("、")}`,- children: /* @__PURE__ */ (0, I.jsx)(iK, { name: "heart" })+ children: /* @__PURE__ */ (0, I.jsx)(eK, { name: "heart" })}) : null]}) : null,- i ? null : /* @__PURE__ */ (0, I.jsx)(pbe, {+ i ? null : /* @__PURE__ */ (0, I.jsx)(_be, {item: e,actions: s,on: p,@@ -52162,27 +52162,27 @@ function hbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS/* @__PURE__ */ (0, I.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), lK(u.current, -a);+ e.stopPropagation(), aK(u.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, I.jsx)(iK, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, I.jsx)(eK, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), lK(u.current, a);+ e.stopPropagation(), aK(u.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, I.jsx)(iK, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, I.jsx)(eK, { name: "rotate-cw" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, I.jsx)(iK, { name: "expand" })+ children: /* @__PURE__ */ (0, I.jsx)(eK, { name: "expand" })})]})@@ -52202,7 +52202,7 @@ function hbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-pending-delete": e.disposal === "trash" ? "" : void 0,"data-selected": r ? "" : void 0,onClick: re,- onMouseDown: tK,+ onMouseDown: ZG,children: [/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -52244,15 +52244,15 @@ function hbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-media-release": "",dateTime: e.release_date,title: e.release_date,- children: [/* @__PURE__ */ (0, I.jsx)(iK, { name: "calendar" }), e.release_date]+ children: [/* @__PURE__ */ (0, I.jsx)(eK, { name: "calendar" }), e.release_date]}) : null, /* @__PURE__ */ (0, I.jsxs)("span", {"data-media-size": "",- children: [/* @__PURE__ */ (0, I.jsx)(iK, { name: "hard-drive" }), Number(j) > 0 ? Yn(Number(j)) : "大小未知"]+ children: [/* @__PURE__ */ (0, I.jsx)(eK, { name: "hard-drive" }), Number(j) > 0 ? Jn(Number(j)) : "大小未知"]})]})]}),- t === "next" ? e.why ? /* @__PURE__ */ (0, I.jsx)(mbe, { reason: e.why }) : null : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", {+ t === "next" ? e.why ? /* @__PURE__ */ (0, I.jsx)(vbe, { reason: e.why }) : null : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", {"data-media-tags": "",children: ne.map((t) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -52262,15 +52262,15 @@ function hbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSchildren: o.tagLabel(t)}, t))}) : null,- /* @__PURE__ */ (0, I.jsx)(aK, { item: e })+ /* @__PURE__ */ (0, I.jsx)(tK, { item: e })]})]})]});}-function gbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {- let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : lbe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";+function bbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {+ let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : pbe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";return /* @__PURE__ */ (0, I.jsxs)("article", {ref: o,"data-media-card": "",@@ -52282,14 +52282,14 @@ function gbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOponClick: (t) => {o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));},- onMouseDown: tK,+ onMouseDown: ZG,children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-media-pic": "",style: { "--card-ratio": "1.7777777777777777" },children: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, I.jsx)(iK, { name: u }), /* @__PURE__ */ (0, I.jsx)("b", { children: l })]+ children: [/* @__PURE__ */ (0, I.jsx)(eK, { name: u }), /* @__PURE__ */ (0, I.jsx)("b", { children: l })]}),s ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-art": "thumb",@@ -52301,13 +52301,13 @@ function gbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp}),/* @__PURE__ */ (0, I.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, I.jsx)(iK, { name: "check" })+ children: /* @__PURE__ */ (0, I.jsx)(eK, { name: "check" })}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, I.jsx)(iK, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, I.jsx)(eK, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]}),- n ? null : /* @__PURE__ */ (0, I.jsx)(oK, {+ n ? null : /* @__PURE__ */ (0, I.jsx)(nK, {item: e,actions: i})@@ -52318,7 +52318,7 @@ function gbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp"data-media-avatar": "","data-media-kind-glyph": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(iK, { name: u })+ children: /* @__PURE__ */ (0, I.jsx)(eK, { name: u })}), /* @__PURE__ */ (0, I.jsxs)("div", {"data-media-text": "",children: [@@ -52326,7 +52326,7 @@ function gbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp"data-media-title": "","data-middle-truncate": "",title: c,- dangerouslySetInnerHTML: { __html: z(c || "未命名资源") }+ dangerouslySetInnerHTML: { __html: B(c || "未命名资源") }}),/* @__PURE__ */ (0, I.jsxs)("div", {"data-media-byline": "",@@ -52341,34 +52341,34 @@ function gbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp}) : null,/* @__PURE__ */ (0, I.jsx)("span", {"data-media-size": "",- children: Number(e.size) > 0 ? Yn(Number(e.size)) : "大小未知"+ children: Number(e.size) > 0 ? Jn(Number(e.size)) : "大小未知"})]}),e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", { "data-media-tags": "" }) : null,- /* @__PURE__ */ (0, I.jsx)(aK, { item: e })+ /* @__PURE__ */ (0, I.jsx)(tK, { item: e })]})]})]});}-function _be(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(gbe, { ...e }) : /* @__PURE__ */ (0, I.jsx)(hbe, { ...e });+function xbe(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(bbe, { ...e }) : /* @__PURE__ */ (0, I.jsx)(ybe, { ...e });}-var uK = (0, F.memo)(_be), vbe = 1100, ybe = 340, bbe = 5e3;-function xbe(e, t, n) {+var oK = (0, F.memo)(xbe), Sbe = 1100, Cbe = 340, wbe = 5e3;+function Tbe(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, bbe);+ }, s = () => o(!1), c = setTimeout(s, wbe);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 dK({ load: e, canFlip: t, referrerPolicy: n }) {+function sK({ load: e, canFlip: t, referrerPolicy: n }) {let [r, i] = (0, F.useState)([]), [a, o] = (0, F.useState)(0), [s, c] = (0, F.useState)(null), l = (0, F.useRef)({live: !1,generation: 0,@@ -52410,11 +52410,11 @@ function dK({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => xbe(t, e, n)));+ let s = await Promise.all(a.map((t) => Tbe(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, vbe);+ p(), e.cycle = setInterval(p, Sbe);}));};return (0, F.useEffect)(() => d, [d]), {@@ -52423,7 +52423,7 @@ function dK({ 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(ybe, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(Cbe, () => {e.armed = null, m();});},@@ -52433,8 +52433,8 @@ function dK({ load: e, canFlip: t, referrerPolicy: n }) {};}// src/react/components/mix-card.tsx-var fK = wV("play");-function Sbe({ src: e }) {+var cK = SV("play");+function Ebe({ src: e }) {let [t, n] = (0, F.useState)(!1);return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {"data-mix-poster": "",@@ -52447,8 +52447,8 @@ function Sbe({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var pK = "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 Cbe({ faces: e, fallback: t, onOpenEntity: n }) {+var lK = "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 Dbe({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, I.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, I.jsx)("button", {@@ -52456,18 +52456,18 @@ function Cbe({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${pK} cursor-pointer outline-none`,- dangerouslySetInnerHTML: { __html: go(e.name, e, Xa(e.name), e.kind) }+ className: `${lK} cursor-pointer outline-none`,+ dangerouslySetInnerHTML: { __html: ho(e.name, e, Ya(e.name), e.kind) }}, `${e.kind}:${e.id}`))}) : /* @__PURE__ */ (0, I.jsx)("span", {"data-mix-initial": "","aria-hidden": !0,- className: `${pK} mt-0.5`,+ className: `${lK} mt-0.5`,children: t});}-function mK({ 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 = dK({+function uK({ 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 = sK({load: i,canFlip: a}), x = (0, F.useRef)(b.onPointerLeave);@@ -52494,11 +52494,11 @@ function mK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:style: d === void 0 ? void 0 : { "--card-ratio": String(d) },className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",children: [- f?.html ? /* @__PURE__ */ (0, I.jsx)(iW, {+ f?.html ? /* @__PURE__ */ (0, I.jsx)(nW, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, I.jsx)(Sbe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, I.jsx)(Ebe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -52528,7 +52528,7 @@ function mK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:/* @__PURE__ */ (0, I.jsxs)("span", {"data-mix-badge": "",className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",- children: [/* @__PURE__ */ (0, I.jsx)(fK, {+ children: [/* @__PURE__ */ (0, I.jsx)(cK, {"aria-hidden": !0,className: "size-(--icon-inline)"}), g ?? `${n.toLocaleString()} 个视频`]@@ -52541,10 +52541,10 @@ function mK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:_ ? /* @__PURE__ */ (0, I.jsx)("span", {"data-mix-glyph": "","aria-hidden": !0,- children: /* @__PURE__ */ (0, I.jsx)(fK, {})- }) : /* @__PURE__ */ (0, I.jsx)(Cbe, {+ children: /* @__PURE__ */ (0, I.jsx)(cK, {})+ }) : /* @__PURE__ */ (0, I.jsx)(Dbe, {faces: o,- fallback: $n(e),+ fallback: Qn(e),onOpenEntity: s}),/* @__PURE__ */ (0, I.jsxs)("div", {@@ -52565,7 +52565,7 @@ function mK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:});}// src/react/video-wall/folia/blockReflows.ts-var wbe = [+var Obe = [[[{@@ -56126,7 +56126,7 @@ var wbe = [}]]-], hK = [+], dK = [[{x: 0,@@ -56423,89 +56423,89 @@ var wbe = [rows: 2}]-], gK = (e) => e.map((e) => ({+], fK = (e) => e.map((e) => ({...e,x: 12 - e.x - e.cols-})), _K = (e) => e.map((e) => ({+})), pK = (e) => e.map((e) => ({...e,y: 8 - e.y - e.rows-})), vK = [+})), mK = [(e) => e,- gK,- _K,- (e) => gK(_K(e))-], yK = hK.flatMap((e) => vK.map((t) => t(e))), Tbe = wbe.flatMap((e) => vK.map((t) => e.map(t)));-yK.length;-var Ebe = (e, t) => {+ fK,+ pK,+ (e) => fK(pK(e))+], hK = dK.flatMap((e) => mK.map((t) => t(e))), kbe = Obe.flatMap((e) => mK.map((t) => e.map(t)));+hK.length;+var Abe = (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;-}, bK = (e, t) => {- let n = hK.length;- return ((e + t * 2) % n + n) % n * vK.length + Ebe(e, t) % vK.length;-}, Dbe = (e, t) => yK[bK(e, t)], Obe = (e, t, n) => n < 0 || n >= 12 ? null : Tbe[bK(e, t)][n], xK = 103.36, SK = 6.08, CK = 12 * xK, wK = 8 * xK, TK = 12, EK = (e, t) => (e % t + t) % t, kbe = (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 DK(e, t) {- let n = Math.max(1, Math.ceil(e / TK)), r = t ? 3 : Math.min(3, n);+}, gK = (e, t) => {+ let n = dK.length;+ return ((e + t * 2) % n + n) % n * mK.length + Abe(e, t) % mK.length;+}, jbe = (e, t) => hK[gK(e, t)], Mbe = (e, t, n) => n < 0 || n >= 12 ? null : kbe[gK(e, t)][n], _K = 103.36, vK = 6.08, yK = 12 * _K, bK = 8 * _K, xK = 12, SK = (e, t) => (e % t + t) % t, Nbe = (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 CK(e, t) {+ let n = Math.max(1, Math.ceil(e / xK)), r = t ? 3 : Math.min(3, n);return {columns: r,- width: r * CK,- height: Math.ceil(n / r) * wK+ width: r * yK,+ height: Math.ceil(n / r) * bK};}-function OK(e, t, n) {- let { x: r, y: i, cols: a, rows: o } = Dbe(e, t)[n];+function wK(e, t, n) {+ let { x: r, y: i, cols: a, rows: o } = jbe(e, t)[n];return {- x: e * CK + r * xK,- y: t * wK + i * xK,- width: a * xK - SK,- height: o * xK - SK+ x: e * yK + r * _K,+ y: t * bK + i * _K,+ width: a * _K - vK,+ height: o * _K - vK};}-function Abe(e) {+function Pbe(e) {return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);}-function kK(e, t, n) {+function TK(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 >= TK) return null;- let o = DK(e, t), s = o.height / wK;+ ].every(Number.isInteger) || a < 0 || a >= xK) return null;+ let o = CK(e, t), s = o.height / bK;if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;- let c = t ? r : EK(r, o.columns), l = ((t ? i : EK(i, s)) * o.columns + c) * TK + a;+ let c = t ? r : SK(r, o.columns), l = ((t ? i : SK(i, s)) * o.columns + c) * xK + a;return t && l >= e ? null : {- ...OK(r, i, a),+ ...wK(r, i, a),index: l % e,key: n};}-function jbe(e, t) {+function Fbe(e, t) {if (t < 0 || t >= e) return null;- let n = Math.floor(t / TK);- return kK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % TK}`);+ let n = Math.floor(t / xK);+ return TK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % xK}`);}-function AK(e, t, n) {- let [r, i, a] = n.key.split(":").map(Number), o = Obe(r, i, a);+function EK(e, t, n) {+ let [r, i, a] = n.key.split(":").map(Number), o = Mbe(r, i, a);return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {- x: r * CK + e.x * xK,- y: i * wK + e.y * xK,- width: e.cols * xK - SK,- height: e.rows * xK - SK+ x: r * yK + e.x * _K,+ y: i * bK + e.y * _K,+ width: e.cols * _K - vK,+ height: e.rows * _K - vK}]));}-function Mbe(e) {+function Ibe(e) {let t = 0, n = 0;for (let r = Math.max(0, e - 36); r < e; r += 1) {- let e = Math.floor(r / TK), i = OK(e % 3, Math.floor(e / 3), r % TK);+ let e = Math.floor(r / xK), i = wK(e % 3, Math.floor(e / 3), r % xK);t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);}return {- width: e >= 36 ? 3 * CK - SK : t,+ width: e >= 36 ? 3 * yK - vK : t,height: n};}-function Nbe(e, t, n, r) {+function Lbe(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 {@@ -56514,22 +56514,22 @@ function Nbe(e, t, n, r) {y: i(e.y, n.height, t.height)};}-function Pbe(e, t, n, r) {+function Rbe(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 = DK(e, t), s = o.height / wK, c = [];- for (let n = Math.floor(a.y / wK); n <= Math.floor((a.y + a.height) / wK); n += 1) for (let r = Math.floor(a.x / CK); r <= Math.floor((a.x + a.width) / CK); r += 1) {+ }, o = CK(e, t), s = o.height / bK, c = [];+ for (let n = Math.floor(a.y / bK); n <= Math.floor((a.y + a.height) / bK); n += 1) for (let r = Math.floor(a.x / yK); r <= Math.floor((a.x + a.width) / yK); r += 1) {if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;- let i = t ? r : EK(r, o.columns), l = t ? n : EK(n, s);- for (let s = 0; s < TK; s += 1) {- let u = (l * o.columns + i) * TK + s;+ let i = t ? r : SK(r, o.columns), l = t ? n : SK(n, s);+ for (let s = 0; s < xK; s += 1) {+ let u = (l * o.columns + i) * xK + s;if (t && u >= e) continue;- let d = OK(r, n, s);- kbe(d, a) && c.push({+ let d = wK(r, n, s);+ Nbe(d, a) && c.push({...d,index: u % e,key: `${r}:${n}:${s}`@@ -56538,7 +56538,7 @@ function Pbe(e, t, n, r) {}return c;}-var Fbe = class {+var zbe = class {positions = /* @__PURE__ */ new Map();used = /* @__PURE__ */ new Set();cursor = 0;@@ -56550,7 +56550,7 @@ var Fbe = class {this.cursor = e;}tile(e, t) {- let n = this.positions.get(e), r = n === void 0 ? null : kK(t, !1, e);+ let n = this.positions.get(e), r = n === void 0 ? null : TK(t, !1, e);return r ? {...r,index: n@@ -56580,7 +56580,7 @@ var Fbe = class {let e = 0;for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));return {- x: (e + 2) * CK,+ x: (e + 2) * yK,y: 0};}@@ -56593,10 +56593,10 @@ var Fbe = class {c < i && (r = s, i = c);}if (r) return r;- let a = this.fresh(), o = `${Math.round(a.x / CK)}:0:0`;+ let a = this.fresh(), o = `${Math.round(a.x / yK)}:0:0`;return this.positions.set(o, t), this.used.add(t), this.tile(o, e);}-}, jK = [+}, DK = ["q","performer","series",@@ -56611,16 +56611,16 @@ var Fbe = class {"dur_max","region"];-function Ibe(e = {}) {- return jK.some((t) => !!e[t]);+function Bbe(e = {}) {+ return DK.some((t) => !!e[t]);}// src/react/video-wall/use-wall-camera.ts-var MK = {+var OK = {x: 16,y: 16,scale: 1};-function Lbe(e, t, n = MK, r = !1) {+function Vbe(e, t, n = OK, r = !1) {let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)({width: 0,height: 0@@ -56640,7 +56640,7 @@ function Lbe(e, t, n = MK, r = !1) {let f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(!1), h = (0, F.useRef)(null), g = (0, F.useCallback)(() => {p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;}, []), _ = (0, F.useCallback)((e, t = !1, n = !1) => {- let { count: r, finite: c, focused: f } = d.current, p = Nbe(e, o.current, Mbe(r), c && !f && !n);+ let { count: r, finite: c, focused: f } = d.current, p = Lbe(e, o.current, Ibe(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));@@ -56711,7 +56711,7 @@ function Lbe(e, t, n = MK, 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 = uS(0, 1, {+ !t || v() ? _(a, !0, n) : p.current = dS(0, 1, {duration: .42,ease: [.22,@@ -56740,7 +56740,7 @@ function Lbe(e, t, n = MK, r = !1) {},snapshot: () => ({ ...s.current }),reset: () => {- g(), _({ ...MK }, !0);+ g(), _({ ...OK }, !0);},pan: (e, t) => {g(), _({@@ -56801,16 +56801,16 @@ function Lbe(e, t, n = MK, r = !1) {};}// src/react/video-wall/wall-motion.ts-var Rbe = {+var Hbe = {type: "spring",stiffness: 300,damping: 34-}, zbe = {+}, Ube = {delay: .14,duration: .24};// src/react/video-wall/use-wall-playback.ts-function Bbe(e, t, n) {+function Wbe(e, t, n) {let [r, i] = (0, F.useState)({paused: !0,time: 0,@@ -56851,15 +56851,15 @@ function Bbe(e, t, n) {};}// src/react/video-wall/wall-controls.tsx-function Vbe({ 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 = $x(), x = Bbe(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {+function Gbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {+ let b = eS(), x = Wbe(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(bn(e));+ y(yn(e));}};- return /* @__PURE__ */ (0, I.jsxs)(dS.div, {+ return /* @__PURE__ */ (0, I.jsxs)(fS.div, {"data-wall-focus-actions": "",initial: !b && {opacity: 0,@@ -56869,7 +56869,7 @@ function Vbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouopacity: 1,transform: "translateY(0px)"},- transition: b ? { duration: 0 } : zbe,+ transition: b ? { duration: 0 } : Ube,children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-control-row": "",children: [@@ -56877,11 +56877,11 @@ function Vbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, groutype: "button","data-wall-play": "","data-wall-pause": w ? void 0 : "",- ...EV(C),+ ...wV(C),"aria-label": r ? "正在打开" : i ? "正在读取版本" : w ? "播放" : "暂停",title: w ? "播放" : "暂停",onClick: () => void T(),- children: C ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: zs() } }) : /* @__PURE__ */ (0, I.jsx)("svg", {+ children: C ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Rs() } }) : /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: w ? "#i-play" : "#i-player-pause" })@@ -56927,12 +56927,12 @@ function Vbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",- ...EV(d),+ ...wV(d),"aria-label": u ? "移出稍后看" : "稍后看",title: "稍后看","aria-pressed": u,onClick: g,- children: d ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: zs() } }) : /* @__PURE__ */ (0, I.jsx)("svg", {+ children: d ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Rs() } }) : /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-bookmark" })@@ -56941,9 +56941,9 @@ function Vbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou/* @__PURE__ */ (0, I.jsxs)("span", {"data-wall-time": "",children: [- x.time > 0 ? qn(x.time) : "00:00",+ x.time > 0 ? Kn(x.time) : "00:00"," / ",- S > 0 ? qn(S) : "00:00"+ S > 0 ? Kn(S) : "00:00"]}),/* @__PURE__ */ (0, I.jsx)("button", {@@ -56973,7 +56973,7 @@ function Vbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou});}// src/react/components/mix-queue.tsx-function NK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+function kK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {let c = (0, F.useRef)(null), l = (0, F.useCallback)((e) => {c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);}, [a]);@@ -56999,7 +56999,7 @@ function NK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,title: "关闭","aria-label": "关闭",onClick: r,- dangerouslySetInnerHTML: { __html: R("x") }+ dangerouslySetInnerHTML: { __html: z("x") }})]})]}), /* @__PURE__ */ (0, I.jsx)("div", {@@ -57009,7 +57009,7 @@ function NK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]});}-function PK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function AK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {let s = /* @__PURE__ */ (0, I.jsx)("span", {"data-mix-item-text": "",children: a@@ -57032,7 +57032,7 @@ function PK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var Hbe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {+var Kbe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {"data-mix-group-label": "",children: [e,@@ -57041,16 +57041,16 @@ var Hbe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {]});// src/react/video-wall/wall-queue.tsx-function Ube({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {+function qbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-wall-queue": "",id: "wall-queue",- children: /* @__PURE__ */ (0, I.jsx)(NK, {+ children: /* @__PURE__ */ (0, I.jsx)(kK, {kind: n,title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",summary: `${e.length} 个视频`,onClose: a,- children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)(PK, {+ children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)(AK, {current: e.id === t,"data-wall-source": e.id,"aria-label": [@@ -57059,74 +57059,74 @@ function Ube({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })r(e)].filter(Boolean).join(" · "),onClick: () => i(e),- pic: /* @__PURE__ */ (0, I.jsx)(iW, { artwork: wo(e, "small", !0, "cover") }),+ pic: /* @__PURE__ */ (0, I.jsx)(nW, { artwork: Co(e, "small", !0, "cover") }),children: [/* @__PURE__ */ (0, I.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, I.jsx)("span", { children: [e.edition_label,e.part_label ? WP(e.part_label) : "",- qn(e.duration)+ Kn(e.duration)].filter(Boolean).join(" · ") })]}, e.id))})});}// src/react/video-wall/wall-route.ts-function Wbe(e = `${location.pathname}${location.search}`, t = {}) {+function Jbe(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 = An(n.pathname) && n.pathname !== "/junk-files" || n.pathname === "/jav" || !!(a && i.length), s = new URLSearchParams(o ? n.search : "");+ }[r || ""], o = kn(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 && On[n.pathname] && s.set("state", On[n.pathname]), a && i.length) {- let e = decodeURIComponent(i.join("/")), t = /^[0-9]+$/.test(e) ? ln(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) ? cn(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 FK(e = `${location.pathname}${location.search}`) {+function jK(e = `${location.pathname}${location.search}`) {let t = new URL(e, location.origin).searchParams;- for (let e of jK) t.delete(e);+ for (let e of DK) t.delete(e);return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;}-function IK() {- let e = new URLSearchParams(W.navigation.location.search).get("returnTo") || "/";- W.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");+function MK() {+ let e = new URLSearchParams(Dp.navigation.location.search).get("returnTo") || "/";+ Dp.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");}// src/react/video-wall/video-wall.tsx-var LK = /* @__PURE__ */ new Map(), RK = (0, F.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {- let i = wo(!e.is_jav && t === "thumbnail" && e.has_thumb ? {+var NK = /* @__PURE__ */ new Map(), PK = (0, F.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {+ let i = Co(!e.is_jav && t === "thumbnail" && e.has_thumb ? {...e,has_cover: !1} : e, n || r >= 1 ? "small" : "big", !0, t), a = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {a.current?.querySelectorAll("img.cover").forEach((e) => {- e.complete && e.naturalWidth && dl(e, r);+ e.complete && e.naturalWidth && ul(e, r);});}, [r, i.html]), /* @__PURE__ */ (0, I.jsx)("span", {ref: a,"data-media-pic": "",style: { "--card-ratio": String(r) },- children: /* @__PURE__ */ (0, I.jsx)(iW, {+ children: /* @__PURE__ */ (0, I.jsx)(nW, {artwork: i,relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {- e.complete && e.naturalWidth && dl(e, r);+ e.complete && e.naturalWidth && ul(e, r);})})});});-function Gbe({ 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 Ybe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {let p = String(e[0]?.id), [m] = (0, F.useState)(() => {- let e = LK.get(f);+ let e = NK.get(f);return e && (i || t || e.pool === p) ? e : void 0;- }), [h] = (0, F.useState)(() => m?.exploration || new Fbe()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {+ }), [h] = (0, F.useState)(() => m?.exploration || new zbe()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {kind: "editions",seedId: w.edition_group.seed_id} : w?.part_group ? {kind: "parts",seedId: w.part_group.seed_id- } : null, ee = Pt({+ } : null, ee = Nt({queryKey: CP(M || {kind: "parts",seedId: 0@@ -57136,11 +57136,11 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:tagLabel: u.tagLabel,mixRelated: async () => []}, e)- }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === FP(N, O || w?.id || null)) || w, P = Lbe(e.length, t && !!e.length, m?.camera || {+ }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === FP(N, O || w?.id || null)) || w, P = Vbe(e.length, t && !!e.length, m?.camera || {x: 0,y: 0,scale: innerWidth < 640 ? .68 : 1- }, !!w), ne = $x(), [re, ie] = (0, F.useState)(!!m);+ }, !!w), ne = eS(), [re, ie] = (0, F.useState)(!!m);(0, F.useEffect)(() => {if (!e.length || re || ne) return;let t = setTimeout(() => ie(!0), 1100);@@ -57150,85 +57150,85 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:re,ne]);- let ae = matchMedia("(hover:hover) and (pointer:fine)").matches, [oe, se] = (0, F.useState)(null), [ce, le] = (0, F.useState)(null), [ue, de] = (0, F.useState)(!1), [fe, pe] = (0, F.useState)(""), [me, he] = (0, F.useState)(""), [ge, _e] = (0, F.useState)(!1), [ve, ye] = (0, F.useState)(null), [be, xe] = (0, F.useState)(!1), [Se] = (0, F.useState)(() => {+ let ae = matchMedia("(hover:hover) and (pointer:fine)").matches, [oe, se] = (0, F.useState)(null), [ce, le] = (0, F.useState)(null), [ue, de] = (0, F.useState)(!1), [fe, pe] = (0, F.useState)(""), [me, L] = (0, F.useState)(""), [he, ge] = (0, F.useState)(!1), [_e, ve] = (0, F.useState)(null), [ye, be] = (0, F.useState)(!1), [xe] = (0, F.useState)(() => {let e = document.createElement("div");return e.className = "peach-react", e;});(0, F.useLayoutEffect)(() => {- document.body.append(Se), P.viewport.current?.focus({ preventScroll: !0 });- }, [Se]), (0, F.useEffect)(() => () => Se.remove(), [Se]);- let [Ce, we] = (0, F.useState)(() => Bf(W.navigation.location.pathname)), [Te, Ee] = (0, F.useState)(m?.image || d), De = (0, F.useRef)(null), Oe = (0, F.useRef)(p), ke = (0, F.useRef)(!!e.length);- ke.current = !!e.length;- let Ae = (0, F.useRef)({+ document.body.append(xe), P.viewport.current?.focus({ preventScroll: !0 });+ }, [xe]), (0, F.useEffect)(() => () => xe.remove(), [xe]);+ let [Se, Ce] = (0, F.useState)(() => zf(Dp.navigation.location.pathname)), [we, Te] = (0, F.useState)(m?.image || d), Ee = (0, F.useRef)(null), De = (0, F.useRef)(p), Oe = (0, F.useRef)(!!e.length);+ Oe.current = !!e.length;+ let ke = (0, F.useRef)({selectedId: w?.id || null,selectedKey: E,sourceId: O,- image: Te,+ image: we,pool: p});- Ae.current = {+ ke.current = {selectedId: w?.id || null,selectedKey: E,sourceId: O,- image: Te,+ image: we,pool: p};- let je = () => {- ke.current && (LK.delete(f), LK.set(f, {- ...Ae.current,+ let Ae = () => {+ Oe.current && (NK.delete(f), NK.set(f, {+ ...ke.current,camera: P.snapshot(),exploration: h- }), LK.size > 8 && LK.delete(LK.keys().next().value));+ }), NK.size > 8 && NK.delete(NK.keys().next().value));};- (0, F.useLayoutEffect)(je);- let Me = Pbe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Ne = i ? Me.map((e) => ({+ (0, F.useLayoutEffect)(Ae);+ let je = Rbe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Me = i ? je.map((e) => ({...e,index: -1- })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? kK(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? AK(e.length, t, Pe) : /* @__PURE__ */ new Map();- Pe && !Ne.some((e) => e.key === Pe.key) && Ne.push(Pe);- let Ie = (e = !1) => {+ })) : t ? je : h.assign(je, e.length, n), Ne = w && (t ? TK(e.length, !0, E) : h.tile(E, e.length)), Pe = Ne ? EK(e.length, t, Ne) : /* @__PURE__ */ new Map();+ Ne && !Me.some((e) => e.key === Ne.key) && Me.push(Ne);+ let Fe = (e = !1) => {C.current?.abort(), C.current = null, S.current?.(e), S.current = null, se(null), de(!1);};(0, F.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 && P.reset()) : t || Oe.current === p || (Oe.current = p, C.current?.abort(), S.current?.(!0), S.current = null, se(null), de(!1), T(null), D(""), pe(""), P.reset());+ if (e.length) De.current === "undefined" ? (De.current = p, m && (t || m.pool === p) ? T(e.find((e) => e.id === m.selectedId) || null) : m && P.reset()) : t || De.current === p || (De.current = p, C.current?.abort(), S.current?.(!0), S.current = null, se(null), de(!1), T(null), D(""), pe(""), P.reset());else {- if (Oe.current === p) return;- Oe.current = p, C.current?.abort(), S.current?.(!0), S.current = null, se(null), de(!1), T(null), D(""), pe("");+ if (De.current === p) return;+ De.current = p, C.current?.abort(), S.current?.(!0), S.current = null, se(null), de(!1), T(null), D(""), pe("");}}}, [t,p,i- ]), (0, F.useEffect)(() => W.listen((e) => {- let t = Bf(e.location.pathname);- t && (C.current?.abort(), S.current?.(!0), S.current = null, se(null), de(!1)), we(t);+ ]), (0, F.useEffect)(() => Dp.listen((e) => {+ let t = zf(e.location.pathname);+ t && (C.current?.abort(), S.current?.(!0), S.current = null, se(null), de(!1)), Ce(t);}), []), (0, F.useEffect)(() => () => {- C.current?.abort(), S.current?.(!0), je();+ C.current?.abort(), S.current?.(!0), Ae();}, []), (0, F.useEffect)(() => {- if (Ce) return;+ if (Se) 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), le(null), T(null), D(""), k(null), j(!1), pe("");- let t = De.current;+ }, [Se]);+ let Ie = (e = !0) => {+ Fe(e), le(null), T(null), D(""), k(null), j(!1), pe("");+ let t = Ee.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 = {+ }, Le = (n, r, i = !0) => {+ w?.id !== n.id && Fe(!1), Ee.current = {key: r.key,id: n.id- }, pe(""), le(null), T(n), D(r.key), k(null), j(!1), xe(!1), P.reveal(AK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));- }, ze = () => {- te && y.current && (je(), Ie(!0), l.wallDetails?.(te, y.current.querySelector("[data-wall-focus]") || y.current));- }, Be = async (e = te) => {+ }, pe(""), le(null), T(n), D(r.key), k(null), j(!1), be(!1), P.reveal(EK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));+ }, Re = () => {+ te && y.current && (Ae(), Fe(!0), l.wallDetails?.(te, y.current.querySelector("[data-wall-focus]") || y.current));+ }, ze = async (e = te) => {if (!e || !b.current || !l.wallPlayer) return;- Ie(!1), pe(""), de(!0);+ Fe(!1), pe(""), de(!0);let t = new AbortController();C.current = t;let n = e.id;@@ -57240,70 +57240,70 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}S.current = r, se(n);} catch (e) {- t.signal.aborted || pe(bn(e));+ t.signal.aborted || pe(yn(e));} finally {C.current === t && de(!1);}- }, Ve = () => {+ }, Be = () => {let e = IP(N || null, oe || 0);- e && (k(e.id), Be(e));+ e && (k(e.id), ze(e));};(0, F.useEffect)(() => {- ce == null || w?.id !== ce || Ce || (le(null), Be(w));+ ce == null || w?.id !== ce || Se || (le(null), ze(w));}, [ce,w?.id,- Ce+ Se]);- let He = N?.items || e, Ue = He.findIndex((e) => e.id === te?.id), We = (n) => {+ let Ve = N?.items || e, He = Ve.findIndex((e) => e.id === te?.id), Ue = (n) => {if (j(!1), n.id === te?.id) {- oe ? b.current?.querySelector("video")?.play().catch((e) => pe(bn(e))) : Be(n);+ oe ? b.current?.querySelector("video")?.play().catch((e) => pe(yn(e))) : ze(n);return;}if (N) {- k(n.id), Be(n);+ k(n.id), ze(n);return;}let r = P.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {x: (P.view.size.width / 2 - r.x) / r.scale,y: (P.view.size.height / 2 - r.y) / r.scale- }, o = t ? jbe(e.length, i) : h.nearest(e.length, i, a);- o && (Re(n, o), le(n.id));- }, Ge = async () => {+ }, o = t ? Fbe(e.length, i) : h.nearest(e.length, i, a);+ o && (Le(n, o), le(n.id));+ }, We = async () => {if (!(r || g.current)) {- g.current = !0, he("");+ g.current = !0, L("");try {await c();} catch (e) {- he(bn(e)), v(null);+ L(yn(e)), v(null);} finally {g.current = !1;}}- }, Ke = Ne.some((e) => e.index < 0);+ }, Ge = Me.some((e) => e.index < 0);(0, F.useEffect)(() => {- i || t || Ce || w || r || me || _ !== null || !n || (Ke || e.length - h.size < 24) && Ge();+ i || t || Se || w || r || me || _ !== null || !n || (Ge || e.length - h.size < 24) && We();}, [i,t,- Ce,+ Se,w,r,me,n,- Ke,+ Ge,e.length,h.size,_]), (0, F.useEffect)(() => {if (_ === null || r || me) return;if (e.length <= _ && n) {- Ge();+ We();return;}h.prefer(_);let t = h.fresh(), i = P.snapshot();- Le(), P.pan(-t.x * i.scale - i.x, -t.y * i.scale - i.y), v(null);+ Ie(), P.pan(-t.x * i.scale - i.x, -t.y * i.scale - i.y), v(null);}, [_,e.length,@@ -57311,24 +57311,24 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:n,me]);- let qe = async () => {- r || g.current || (v(e.length), n && await Ge());- }, Je = async () => {- if (te && !ge) {- _e(!0);+ let Ke = async () => {+ r || g.current || (v(e.length), n && await We());+ }, qe = async () => {+ if (te && !he) {+ ge(!0);try {- await l.watchLater(te, (e) => ye({+ await l.watchLater(te, (e) => ve({id: te.id,on: e}));} finally {- _e(!1);+ ge(!1);}}- }, Ye = (e) => u.displayName(e, String(e.name || e.code || "未命名视频")), Xe = te || w;+ }, Je = (e) => u.displayName(e, String(e.name || e.code || "未命名视频")), Ye = te || w;(0, F.useLayoutEffect)(() => {let e = x.current;- if (!e || !Xe?.code) return;+ if (!e || !Ye?.code) return;let t = !0, n = e.clientWidth, r = () => {if (!t) return;e.style.removeProperty("--wall-code-fit");@@ -57349,27 +57349,27 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:t = !1, i.disconnect(), document.fonts.removeEventListener("loadingdone", r);};}, [- Xe?.code,+ Ye?.code,E,oe,ue,- Ce+ Se]);- let Ze = w && Xe ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [+ let Xe = w && Ye ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("div", {"data-wall-focus-backdrop": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(RK, {+ children: /* @__PURE__ */ (0, I.jsx)(PK, {item: w,- image: Te,+ image: we,big: !0})}),/* @__PURE__ */ (0, I.jsx)("div", {"data-wall-scene": "",- children: /* @__PURE__ */ (0, I.jsx)(RK, {+ children: /* @__PURE__ */ (0, I.jsx)(PK, {item: w,- image: Te,+ image: we,big: !0})}),@@ -57384,19 +57384,19 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-wall-number": "",- children: [oe ? "正在播放 · " : "", String((Pe?.index || 0) + 1).padStart(2, "0")]+ children: [oe ? "正在播放 · " : "", String((Ne?.index || 0) + 1).padStart(2, "0")]}),/* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-focus-head": "",children: [/* @__PURE__ */ (0, I.jsx)("b", {ref: x,- "data-wall-code": Xe.code ? "" : void 0,- children: Xe.code || Ye(Xe)+ "data-wall-code": Ye.code ? "" : void 0,+ children: Ye.code || Je(Ye)}),- Xe.code ? /* @__PURE__ */ (0, I.jsx)("strong", { children: Ye(Xe).startsWith(Xe.code) ? Ye(Xe).slice(Xe.code.length).trim() : Ye(Xe) }) : null,- /* @__PURE__ */ (0, I.jsx)("span", { children: Xe.performers?.join(" · ") || Xe.creator || "未归属" }),- N ? /* @__PURE__ */ (0, I.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? WP(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null+ Ye.code ? /* @__PURE__ */ (0, I.jsx)("strong", { children: Je(Ye).startsWith(Ye.code) ? Je(Ye).slice(Ye.code.length).trim() : Je(Ye) }) : null,+ /* @__PURE__ */ (0, I.jsx)("span", { children: Ye.performers?.join(" · ") || Ye.creator || "未归属" }),+ N ? /* @__PURE__ */ (0, I.jsx)("small", { children: [Ye.edition_label, Ye.part_label ? WP(Ye.part_label) : ""].filter(Boolean).join(" · ") }) : null]}),/* @__PURE__ */ (0, I.jsx)("button", {@@ -57404,7 +57404,7 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-focus-close": "","aria-label": "收起作品",title: "收起",- onClick: () => Le(),+ onClick: () => Ie(),children: /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -57413,9 +57413,9 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),fe || M && ee.error && !N ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-play-error": "",- children: [/* @__PURE__ */ (0, I.jsx)(xV, {+ children: [/* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",- children: fe || bn(ee.error)+ children: fe || yn(ee.error)}), ee.error && !N ? /* @__PURE__ */ (0, I.jsx)(J, {size: "small",variant: "ghost",@@ -57423,45 +57423,45 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: "立即重试"}) : null]}) : null,- /* @__PURE__ */ (0, I.jsx)(Vbe, {- item: Xe,+ /* @__PURE__ */ (0, I.jsx)(Gbe, {+ item: Ye,playing: oe,frame: b,starting: ue,pendingGroup: !!M && ee.isPending,grouped: !!M,queueOpen: A,- queueReady: !!He.length && (!M || !!N),- 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: !!Ve.length && (!M || !!N),+ hasPrevious: He > 0,+ hasNext: He >= 0 && He < Ve.length - 1,+ later: _e?.id === Ye.id ? _e.on : !!Ye.watch_later,+ laterBusy: he,+ play: () => ze(),+ previous: () => Ue(Ve[He - 1]),+ next: () => Ue(Ve[He + 1]),queue: () => j(!A),- watchLater: () => void Je(),- details: ze,- ended: Ve,+ watchLater: () => void qe(),+ details: Re,+ ended: Be,error: pe}),- A ? /* @__PURE__ */ (0, I.jsx)(Ube, {- items: He,- activeId: Xe.id,+ A ? /* @__PURE__ */ (0, I.jsx)(qbe, {+ items: Ve,+ activeId: Ye.id,kind: N?.kind || "wall",- label: Ye,- choose: We,+ label: Je,+ choose: Ue,close: () => j(!1)}) : null- ] }) : null, Qe = /* @__PURE__ */ (0, I.jsxs)("div", {+ ] }) : null, Ze = /* @__PURE__ */ (0, I.jsxs)("div", {ref: y,"data-video-wall": "","data-fullscreen": "","data-focused": !!w || void 0,"data-refreshing": _ !== null || void 0,- hidden: Ce,+ hidden: Se,onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? Le() : be ? xe(!1) : IK());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? Ie() : ye ? be(!1) : MK());},children: [/* @__PURE__ */ (0, I.jsx)("button", {@@ -57469,7 +57469,7 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-back": "","aria-label": "退出播放墙",title: "返回",- onClick: IK,+ onClick: MK,children: /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -57487,11 +57487,11 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}), /* @__PURE__ */ (0, I.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, I.jsx)(J, {size: "small",variant: "ghost",- onClick: () => W.push(FK()),+ onClick: () => Dp.push(jK()),children: "清除筛选"})]}) : null,- be ? /* @__PURE__ */ (0, I.jsxs)("div", {+ ye ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-toolbar": "","aria-label": "播放墙工具",children: [@@ -57499,7 +57499,7 @@ function Gbe({ 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(), W.push(`/wall?${t}`), xe(!1);+ n ? t.set("q", n) : t.delete("q"), Ae(), Dp.push(`/wall?${t}`), be(!1);},children: [/* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24",@@ -57513,18 +57513,18 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:defaultValue: new URLSearchParams(location.search).get("q") || ""})]}),- /* @__PURE__ */ (0, I.jsxs)(mU, {+ /* @__PURE__ */ (0, I.jsxs)(fU, {"aria-label": "播放墙图片",- value: Te,- onChange: Ee,- className: hU,- children: [/* @__PURE__ */ (0, I.jsx)(Gz, {+ value: we,+ onChange: Te,+ className: pU,+ children: [/* @__PURE__ */ (0, I.jsx)(Uz, {value: "cover",- className: gU,+ className: mU,children: "封面"- }), /* @__PURE__ */ (0, I.jsx)(Gz, {+ }), /* @__PURE__ */ (0, I.jsx)(Uz, {value: "thumbnail",- className: gU,+ className: mU,children: "缩略图"})]}),@@ -57565,11 +57565,11 @@ function Gbe({ 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 && Ge || void 0,"data-skeleton": i ? "wall" : void 0,...i || _ !== null ? {} : P.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) : Ie());},onKeyDown: (e) => {if (_ !== null || e.target instanceof Element && e.target.closest("button,input,[role=\"slider\"],[data-wall-player],[data-wall-queue]")) return;@@ -57584,7 +57584,7 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: /* @__PURE__ */ (0, I.jsx)("div", {ref: P.world,"data-wall-world": "",- children: Ne.map((t) => {+ children: Me.map((t) => {if (t.index < 0) return /* @__PURE__ */ (0, I.jsx)("span", {"data-wall-skeleton": "","aria-hidden": "true",@@ -57595,8 +57595,8 @@ function Gbe({ 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 = !re && !r, o = a ? Math.min(.34, (Math.max(0, t.x + P.view.camera.x / P.view.camera.scale) + Math.max(0, t.y + P.view.camera.y / P.view.camera.scale)) / 103.36 * .03) : 0;- return /* @__PURE__ */ (0, I.jsx)(dS.article, {+ let n = e[t.index], r = !!w && t.key === E, i = Pe.get(t.key) || t, a = !re && !r, o = a ? Math.min(.34, (Math.max(0, t.x + P.view.camera.x / P.view.camera.scale) + Math.max(0, t.y + P.view.camera.y / P.view.camera.scale)) / 103.36 * .03) : 0;+ return /* @__PURE__ */ (0, I.jsx)(fS.article, {layout: !0,layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,"data-wall-tile": t.key,@@ -57605,7 +57605,7 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-playing": r && (oe || ue) ? "" : void 0,role: r ? "group" : "button",tabIndex: r ? -1 : 0,- "aria-label": r ? Ye(n) : `展开 ${Ye(n)}`,+ "aria-label": r ? Je(n) : `展开 ${Je(n)}`,"aria-expanded": r ? void 0 : !1,initial: ne || m ? !1 : {opacity: 0,@@ -57617,7 +57617,7 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:},whileHover: ae && !ne && !r && re ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,transition: ne ? { duration: 0 } : {- layout: Rbe,+ layout: Hbe,transform: a ? {type: "spring",stiffness: 360,@@ -57644,15 +57644,15 @@ function Gbe({ 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) && P.reveal(t);},onClick: (e) => {- r || Re(n, t, e.detail !== 0);+ r || Le(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(), Le(n, t, !1));},- children: r ? Ze : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(RK, {+ children: r ? Xe : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [+ /* @__PURE__ */ (0, I.jsx)(PK, {item: n,- image: Te,+ image: we,ratio: i.width / i.height}),/* @__PURE__ */ (0, I.jsx)("span", {@@ -57665,18 +57665,18 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-wall-copy": "",- children: [/* @__PURE__ */ (0, I.jsx)("b", { children: n.code || Ye(n) }), /* @__PURE__ */ (0, I.jsx)("span", { children: n.performers?.join(" · ") || n.creator || n.studio || "未归属" })]+ children: [/* @__PURE__ */ (0, I.jsx)("b", { children: n.code || Je(n) }), /* @__PURE__ */ (0, I.jsx)("span", { children: n.performers?.join(" · ") || n.creator || n.studio || "未归属" })]}),n.duration ? /* @__PURE__ */ (0, I.jsx)("span", {"data-wall-duration": "",- children: qn(n.duration)+ children: Kn(n.duration)}) : null,Number(n.leave_ratio) > 0 ? /* @__PURE__ */ (0, I.jsx)("span", {"data-wall-progress": "",style: { "--wall-progress": `${Math.min(100, Number(n.leave_ratio) * 100)}%` },"aria-label": "观看进度"}) : null,- /* @__PURE__ */ (0, I.jsx)(dS.span, {+ /* @__PURE__ */ (0, I.jsx)(fS.span, {"data-wall-dim": "",animate: { opacity: w ? .65 : 0 },transition: { duration: ne ? 0 : .24 }@@ -57688,7 +57688,7 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),!i && a ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, I.jsx)(xV, {+ children: [/* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",children: a}), /* @__PURE__ */ (0, I.jsx)(J, {@@ -57703,11 +57703,11 @@ function Gbe({ 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)) {- Yc(t);+ Jc(t);try {- await Ge();+ await We();} finally {- Yc(t, !1);+ Jc(t, !1);}}},@@ -57715,9 +57715,9 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}) : null,!t && (n || e.length > 0) ? /* @__PURE__ */ (0, I.jsx)("div", {"data-wall-refresh": "",- children: /* @__PURE__ */ (0, I.jsx)(NG, {+ children: /* @__PURE__ */ (0, I.jsx)(kG, {busy: r,- onPress: () => void qe()+ onPress: () => void Ke()})}) : null,n && t && e.length > 0 ? /* @__PURE__ */ (0, I.jsx)("div", {@@ -57725,21 +57725,21 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: /* @__PURE__ */ (0, I.jsxs)(J, {size: "small",variant: "secondary",- ...EV(r),- onClick: () => void Ge(),- children: [r ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: zs() } }) : null, "载入更多"]+ ...wV(r),+ onClick: () => void We(),+ children: [r ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Rs() } }) : null, "载入更多"]})}) : null,me ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, I.jsx)(xV, {+ children: [/* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",children: me}), /* @__PURE__ */ (0, I.jsx)(J, {size: "small",variant: "ghost",- ...EV(r),- onClick: () => void Ge(),+ ...wV(r),+ onClick: () => void We(),children: "立即重试"})]}) : null,@@ -57748,8 +57748,8 @@ function Gbe({ 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": ye,+ onClick: () => be(!ye),children: /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -57758,10 +57758,10 @@ function Gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:})]});- return (0, Lt.createPortal)(Qe, Se);+ return (0, It.createPortal)(Ze, xe);}// src/catalog-onboarding.ts-var zK = [+var FK = ["loc","creator","performer",@@ -57780,19 +57780,19 @@ var zK = ["jav","thumb"];-function Kbe(e = typeof location > "u" ? "/" : location.href) {+function Xbe(e = typeof location > "u" ? "/" : location.href) {let t = new URL(e, "http://localhost");for (let e of [- ...zK,+ ...FK,"q","category","cat"]) t.searchParams.delete(e);return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;}-async function qbe(e, t) {+async function Zbe(e, t) {let n = new URLSearchParams();- for (let t of zK) e[t] && n.set(t, e[t]);+ for (let t of FK) 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 || [],@@ -57803,9 +57803,9 @@ async function qbe(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function BK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function IK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {let a = "<a class=\"geist-button primary\" href=\"/settings/library\">添加媒体</a>", o = "<a class=\"geist-button" + (i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";- if (t || n) return Us("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(Kbe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });+ if (t || n) return Hs("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? B(Xbe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });if (e !== "catalog") {let t = (i ? {tags: "标签",@@ -57818,17 +57818,17 @@ function BK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:agencies: "事务所",series: "系列"}[e] || "资料";- return Us(e === "tags" ? "tags" : "user-round", "还没有" + t, i ? "添加关注来源并获取内容后,这里会显示来源上的" + t + "。" : "添加内容并补充资料后,这里会显示对应信息。", { actions: i ? o : a + o });+ return Hs(e === "tags" ? "tags" : "user-round", "还没有" + t, i ? "添加关注来源并获取内容后,这里会显示来源上的" + t + "。" : "添加内容并补充资料后,这里会显示对应信息。", { actions: i ? o : a + o });}- return Us("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });+ return Hs("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });}// src/react/video-wall/wall-empty.ts-function Jbe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {- return e ? r || BK() : t ? Us("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Us("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${FK()}">清除筛选</a>` });+function Qbe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {+ return e ? r || IK() : t ? Hs("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Hs("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${jK()}">清除筛选</a>` });}// src/react/library-processing/processing-actions.tsx-function VK({ label: e, maintenance: t = !1, children: n }) {- let r = OH("hover");+function LK({ label: e, maintenance: t = !1, children: n }) {+ let r = EH("hover");return /* @__PURE__ */ (0, I.jsx)("div", {ref: r,role: "group",@@ -57838,13 +57838,13 @@ function VK({ label: e, maintenance: t = !1, children: n }) {children: n});}-function HK({ option: e, metadataOnly: t, onRun: n }) {+function RK({ option: e, metadataOnly: t, onRun: n }) {let r = t && e.command.stage === "previews", i = r || e.disabled;return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",disabled: i,title: r ? "请先在媒体库设置中开启视频预览生成" : void 0,- className: q(WV, i ? "cursor-not-allowed opacity-50" : GV, "text-body-2-medium"),+ className: q(HV, i ? "cursor-not-allowed opacity-50" : UV, "text-body-2-medium"),onClick: () => n(e.command),children: /* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",@@ -57855,19 +57855,19 @@ function HK({ option: e, metadataOnly: t, onRun: n }) {})});}-function Ybe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {+function $be({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {let [a, o] = (0, F.useState)(t), [s, c] = (0, F.useState)(), [l, u] = (0, F.useState)("");(0, F.useEffect)(() => {let t = new AbortController(), r, i = async (a) => {try {- let o = await f_e(e, t.signal, a);+ let o = await m_e(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(cr(e)), n.confirmButton.disabled = !1);+ t.signal.aborted || (u(sr(e)), n.confirmButton.disabled = !1);}};return i(), () => {@@ -57885,7 +57885,7 @@ function Ybe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}),/* @__PURE__ */ (0, I.jsx)("div", {className: "flex justify-center",- children: /* @__PURE__ */ (0, I.jsx)(FH, {+ children: /* @__PURE__ */ (0, I.jsx)(NH, {value: a,busy: i,onChange: (e) => {@@ -57893,7 +57893,7 @@ function Ybe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}})}),- s ? /* @__PURE__ */ (0, I.jsx)(iU, {+ s ? /* @__PURE__ */ (0, I.jsx)(nU, {traffic: s,initial: !0}) : null,@@ -57905,7 +57905,7 @@ function Ybe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {]});}-function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speedMode: i = "standard", pendingCount: a = 0, onRun: o, onOccupied: s }) {+function zK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speedMode: i = "standard", pendingCount: a = 0, onRun: o, onOccupied: s }) {let c = (0, F.useRef)(null), l = (0, F.useRef)(null), [u, d] = (0, F.useState)(null), f = (0, F.useRef)(i);(0, F.useEffect)(() => () => l.current?.close(), []);let [p, m] = (0, F.useState)(!1), h = {@@ -57953,7 +57953,7 @@ function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spedescription: "为已入库的本地视频生成九宫格",command: { stage: "previews" }}- ], v = e || t, y = e ? EV(!0) : t ? { "aria-disabled": !0 } : {}, b = (a) => {+ ], v = e || t, y = e ? wV(!0) : t ? { "aria-disabled": !0 } : {}, b = (a) => {if (e) return;if (t) {s?.();@@ -57965,7 +57965,7 @@ function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe}if (l.current) return;f.current = i;- let c = a.stage === "previews", u = a.scope === "new" ? "补全待处理影片" : a.incremental ? a.stage === "scan" ? "发现新增文件" : "同步新增文件" : c ? "仅补全预览图" : a.stage === "scan" ? "扫描全部文件" : a.stage === "metadata" ? "仅补全影片资料" : a.stage === "collect" ? "补全已入库影片" : "同步整个媒体库", p = ol({+ let c = a.stage === "previews", u = a.scope === "new" ? "补全待处理影片" : a.incremental ? a.stage === "scan" ? "发现新增文件" : "同步新增文件" : c ? "仅补全预览图" : a.stage === "scan" ? "扫描全部文件" : a.stage === "metadata" ? "仅补全影片资料" : a.stage === "collect" ? "补全已入库影片" : "同步整个媒体库", p = al({title: u,description: `${a.scope === "new" ? "为这组已登记的影片补全资料和视频属性,并按设置生成预览" : a.incremental ? a.stage === "scan" ? "发现并登记未入库的新文件,保留已有影片资料" : `发现新文件,仅补全新增及未完成影片的资料和视频属性${r ? "" : ",并生成本地预览图"}` : c ? "为本地视频补全九宫格预览图,会读取视频并占用处理器" : a.stage === "scan" ? "扫描目录并登记文件,按目录设置读取视频时长和分辨率" : a.stage === "metadata" ? "读取配套资料,补全影片资料、封面和人物资料" : `${a.stage === "collect" ? "为已入库影片补全资料和视频属性" : "扫描目录发现文件,再补全资料和视频属性"}${r ? "" : ",并生成本地预览图"}`},可能让电脑变慢。需要同时使用电脑时,可选择低占用模式。`,body: "<div class=\"peach-react\" data-processing-prompt></div>",@@ -57988,7 +57988,7 @@ function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe});};return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- u ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Ybe, {+ u ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)($be, {command: u.command,dialog: u.dialog,speed: i,@@ -57997,11 +57997,11 @@ function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spef.current = e;}}), u.host) : null,- u ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(TH, {+ u ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(CH, {href: "/settings/library",size: "small",variant: "primary",- trailingIcon: jB,+ trailingIcon: kB,disabled: v,onClick: (e) => {u.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : u.dialog.close();@@ -58019,7 +58019,7 @@ function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe}), /* @__PURE__ */ (0, I.jsx)(J, {ref: c,iconOnly: !0,- leadingIcon: AB,+ leadingIcon: OB,"aria-label": "更多同步方式","aria-haspopup": "dialog","aria-expanded": p,@@ -58029,27 +58029,27 @@ function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe}})]}),- /* @__PURE__ */ (0, I.jsx)(wz, {+ /* @__PURE__ */ (0, I.jsx)(Sz, {triggerRef: c,isOpen: p,onOpenChange: m,placement: "bottom end",offset: 4,- className: UV,- children: /* @__PURE__ */ (0, I.jsxs)(Lz, {+ className: VV,+ children: /* @__PURE__ */ (0, I.jsxs)(Fz, {"aria-label": "同步方式",className: "flex w-80 flex-col gap-1 outline-none",- children: [n ? /* @__PURE__ */ (0, I.jsxs)(VK, {+ children: [n ? /* @__PURE__ */ (0, I.jsxs)(LK, {label: "日常同步",children: [/* @__PURE__ */ (0, I.jsx)("p", {className: "px-2 py-1 text-caption-1-medium text-text-secondary",children: "日常同步"- }), g.map((e) => /* @__PURE__ */ (0, I.jsx)(HK, {+ }), g.map((e) => /* @__PURE__ */ (0, I.jsx)(RK, {option: e,metadataOnly: r,onRun: b}, e.label))]- }) : null, /* @__PURE__ */ (0, I.jsxs)(VK, {+ }) : null, /* @__PURE__ */ (0, I.jsxs)(LK, {label: n ? "全库维护" : "补全方式",maintenance: n,children: [n ? /* @__PURE__ */ (0, I.jsxs)("div", {@@ -58061,7 +58061,7 @@ function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speclassName: "text-caption-1-regular text-text-secondary",children: "检查全部文件,复用已有资料和预览"})]- }) : null, _.map((e) => /* @__PURE__ */ (0, I.jsx)(HK, {+ }) : null, _.map((e) => /* @__PURE__ */ (0, I.jsx)(RK, {option: e,metadataOnly: r,onRun: b@@ -58072,48 +58072,48 @@ function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe] });}// src/react/library-processing/library-completion.tsx-function WK(e, t) {- 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) && !wo(e, "small", !1, t).html).map((e) => e.id))];+function BK(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) && !Co(e, "small", !1, t).html).map((e) => e.id))];}-function GK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {- return e.length ? /* @__PURE__ */ (0, I.jsx)(Xbe, {+function VK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {+ return e.length ? /* @__PURE__ */ (0, I.jsx)(exe, {assetIds: e,onComplete: t,className: n}) : null;}-function Xbe({ assetIds: e, onComplete: t, className: n }) {- let r = Pt({- queryKey: lH,- queryFn: ({ signal: e }) => _H(e),- refetchInterval: (e) => bH(e.state.data, !0)- }), [i, a] = (0, F.useState)(null), [o, s] = (0, F.useState)(""), c = (0, F.useRef)(null), l = Ft({- mutationFn: (t) => V(cH, {+function exe({ assetIds: e, onComplete: t, className: n }) {+ let r = Nt({+ queryKey: sH,+ queryFn: ({ signal: e }) => hH(e),+ refetchInterval: (e) => vH(e.state.data, !0)+ }), [i, a] = (0, F.useState)(null), [o, s] = (0, F.useState)(""), c = (0, F.useRef)(null), l = Pt({+ mutationFn: (t) => H(oH, {...t,asset_ids: e}),onSuccess: (e) => {- a(e.job_id || null), H.setQueryData(lH, e), H.invalidateQueries({ queryKey: lH });+ a(e.job_id || null), U.setQueryData(sH, e), U.invalidateQueries({ queryKey: sH });}}), u = r.data;(0, F.useEffect)(() => {- u && i && u.job_id === i && !fH(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 && !uH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), U.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());}, [u,i,t]);- let d = l.isPending || fH(u), f = l.error ? cr(l.error) : r.error ? yH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${fH(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);+ let d = l.isPending || uH(u), f = l.error ? sr(l.error) : r.error ? _H : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${uH(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);return /* @__PURE__ */ (0, I.jsx)("section", {"aria-label": "补全预览","aria-live": "polite","data-library-completion": "",className: q("@container", n),- children: /* @__PURE__ */ (0, I.jsxs)(xV, {+ children: /* @__PURE__ */ (0, I.jsxs)(yV, {tone: f ? "warning" : "neutral",action: /* @__PURE__ */ (0, I.jsx)("div", {className: "flex flex-wrap items-center gap-2",- children: /* @__PURE__ */ (0, I.jsx)(UK, {+ children: /* @__PURE__ */ (0, I.jsx)(zK, {busy: d,metadataOnly: u?.metadata_only,onRun: (e) => {@@ -58124,10 +58124,10 @@ function Xbe({ assetIds: e, onComplete: t, className: n }) {children: [p," ",- /* @__PURE__ */ (0, I.jsx)(TH, {+ /* @__PURE__ */ (0, I.jsx)(CH, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: jB,+ trailingIcon: kB,children: f ? "打开扫描与采集" : "查看处理详情"})]@@ -58135,31 +58135,31 @@ function Xbe({ assetIds: e, onComplete: t, className: n }) {});}// node_modules/@tanstack/react-table/dist/FlexRender.js-function Zbe(e) {- return Qbe(e) || typeof e == "function" || $be(e);+function txe(e) {+ return nxe(e) || typeof e == "function" || rxe(e);}-function Qbe(e) {+function nxe(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function $be(e) {+function rxe(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function KK(e, t) {- return e == null ? null : Zbe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;+function HK(e, t) {+ return e == null ? null : txe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;}-function exe(e) {+function ixe(e) {if ("cell" in e && e.cell) {let t = e.cell, n = t.column.columnDef, r = t, i = n;- return r.getIsAggregated?.() ? KK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : KK(n.cell, t.getContext());+ return r.getIsAggregated?.() ? HK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : HK(n.cell, t.getContext());}- return "header" in e && e.header ? KK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? KK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;+ return "header" in e && e.header ? HK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? HK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;}// node_modules/@tanstack/store/dist/alien.js/* @__NO_SIDE_EFFECTS__ */-function txe({ update: e, notify: t, unwatched: n }) {+function axe({ update: e, notify: t, unwatched: n }) {return {link: r,unlink: i,@@ -58276,7 +58276,7 @@ function txe({ update: e, notify: t, unwatched: n }) {}}// node_modules/@tanstack/store/dist/atom.js-function nxe(e, t, n) {+function oxe(e, t, n) {let r = typeof e == "object", i = r ? e : void 0;return {next: (r ? e.next : e)?.bind(i),@@ -58284,38 +58284,38 @@ function nxe(e, t, n) {complete: (r ? e.complete : n)?.bind(i)};}-var qK = [], JK = 0, { link: YK, unlink: rxe, propagate: ixe, checkDirty: XK, shallowPropagate: ZK } = /* @__PURE__ */ txe({+var UK = [], WK = 0, { link: GK, unlink: sxe, propagate: cxe, checkDirty: KK, shallowPropagate: qK } = /* @__PURE__ */ axe({update(e) {return e._update();},notify(e) {- qK[$K++] = e, e.flags &= -3;+ UK[YK++] = 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, QK(e));}-}), QK = 0, $K = 0, eq, tq = 0;-function axe(e) {+}), JK = 0, YK = 0, XK, ZK = 0;+function lxe(e) {try {- ++tq, e();+ ++ZK, e();} finally {- --tq || rq();+ --ZK || $K();}}-function nq(e) {+function QK(e) {let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;- for (; n !== void 0;) n = rxe(n, e);+ for (; n !== void 0;) n = sxe(n, e);}-function rq() {- if (!(tq > 0)) {- for (; QK < $K;) {- let e = qK[QK];- qK[QK++] = void 0, e.notify();+function $K() {+ if (!(ZK > 0)) {+ for (; JK < YK;) {+ let e = UK[JK];+ UK[JK++] = void 0, e.notify();}- QK = 0, $K = 0;+ JK = 0, YK = 0;}}-function oxe(e, t) {+function uxe(e, t) {let n = typeof e == "function", r = e, i = {_snapshot: n ? void 0 : e,subs: void 0,@@ -58324,53 +58324,53 @@ function oxe(e, t) {depsTail: void 0,flags: +!n,get() {- return eq !== void 0 && YK(i, eq, JK), i._snapshot;+ return XK !== void 0 && GK(i, XK, WK), i._snapshot;},subscribe(e) {- let t = nxe(e), n = { current: !1 }, r = sxe(() => {- i.get(), n.current ? (eq = void 0, t.next?.(i._snapshot)) : n.current = !0;+ let t = oxe(e), n = { current: !1 }, r = dxe(() => {+ i.get(), n.current ? (XK = void 0, t.next?.(i._snapshot)) : n.current = !0;});return { unsubscribe: () => {r.stop();} };},_update(e) {- let a = eq, o = t?.compare ?? Object.is;- if (n) eq = i, ++JK, i.depsTail = void 0;+ let a = XK, o = t?.compare ?? Object.is;+ if (n) XK = i, ++WK, 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);+ XK = a, n && (i.flags &= -5), QK(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 && KK(i.deps, i)) {if (i._update()) {let e = i.subs;- e !== void 0 && ZK(e);+ e !== void 0 && qK(e);}} else e & 32 && (i.flags = e & -33);- return eq !== void 0 && YK(i, eq, JK), i._snapshot;+ return XK !== void 0 && GK(i, XK, WK), i._snapshot;}) : i.set = function(e) {if (i._update(e)) {let e = i.subs;- e !== void 0 && (ixe(e), ZK(e), rq());+ e !== void 0 && (cxe(e), qK(e), $K());}}, i;}-function sxe(e) {+function dxe(e) {let t = () => {- let t = eq;- eq = n, ++JK, n.depsTail = void 0, n.flags = 6;+ let t = XK;+ XK = n, ++WK, n.depsTail = void 0, n.flags = 6;try {return e();} finally {- eq = t, n.flags &= -5, nq(n);+ XK = t, n.flags &= -5, QK(n);}}, n = {deps: void 0,@@ -58380,16 +58380,16 @@ function sxe(e) {flags: 6,notify() {let e = this.flags;- e & 16 || e & 32 && XK(this.deps, this) ? t() : this.flags = 2;+ e & 16 || e & 32 && KK(this.deps, this) ? t() : this.flags = 2;},stop() {- this.flags = 0, this.depsTail = void 0, nq(this);+ this.flags = 0, this.depsTail = void 0, QK(this);}};return t(), n;}// node_modules/@tanstack/store/dist/shallow.js-function iq(e, t) {+function eq(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) {@@ -58403,17 +58403,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 = tq(e);+ if (n.length !== tq(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 tq(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 cxe = /* @__PURE__ */ o(((e) => {- var t = A(), n = aw();+var fxe = /* @__PURE__ */ o(((e) => {+ var t = A(), n = ow();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}@@ -58457,33 +58457,33 @@ var cxe = /* @__PURE__ */ o(((e) => {f.hasValue = !0, f.value = p;}, [p]), l(p), p;};-})), oq = /* @__PURE__ */ o(((e, t) => {- t.exports = cxe();-})), lxe = oq();-function uxe(e, t) {+})), nq = /* @__PURE__ */ o(((e, t) => {+ t.exports = fxe();+})), pxe = nq();+function mxe(e, t) {return e === t;}-function sq(e, t = (e) => e, n) {- let r = n?.compare ?? uxe, i = (0, F.useCallback)((t) => {+function rq(e, t = (e) => e, n) {+ let r = n?.compare ?? mxe, i = (0, F.useCallback)((t) => {let { unsubscribe: n } = e.subscribe(t);return n;}, [e]), a = (0, F.useCallback)(() => e.get(), [e]);- return (0, lxe.useSyncExternalStoreWithSelector)(i, a, a, t, r);+ return (0, pxe.useSyncExternalStoreWithSelector)(i, a, a, t, r);}// node_modules/@tanstack/react-table/dist/Subscribe.js-function dxe(e) {- let t = sq(e.source, e.selector, { compare: iq });+function hxe(e) {+ let t = rq(e.source, e.selector, { compare: eq });return typeof e.children == "function" ? e.children(t) : e.children;}// node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js-function fxe(e) {+function gxe(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 pxe(e) {+function _xe(e) {let { createAtom: t, batch: n } = e, r = t(0);return {createOptionsStore: !1,@@ -58513,7 +58513,7 @@ function pxe(e) {}};}-function mxe(e, t = Object.is) {+function vxe(e, t = Object.is) {let n = !1, r;return {get: e.get,@@ -58526,28 +58526,28 @@ function mxe(e, t = Object.is) {};}// node_modules/@tanstack/react-table/dist/reactivity.js-function hxe() {- return pxe({- createAtom: oxe,- batch: axe+function yxe() {+ return _xe({+ createAtom: uxe,+ batch: lxe});}// node_modules/@tanstack/table-core/dist/utils.js-function cq(e, t) {+function iq(e, t) {return typeof e == "function" ? e(t) : e;}-function lq(e) {- if (Array.isArray(e)) return e.map(lq);+function aq(e) {+ if (Array.isArray(e)) return e.map(aq);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 ? sq() : {}, 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: aq(e[i]),writable: !0});}@@ -58555,7 +58555,7 @@ function lq(e) {}return e;}-function uq(e, t) {+function oq(e, t) {let n = Object.keys(t), r = e;for (let e = 0; e < n.length; e++) {let i = n[e];@@ -58563,53 +58563,53 @@ function uq(e, t) {}return e;}-function dq() {+function sq() {return Object.create(null);}-function fq(e, t) {+function cq(e, t) {return Object.prototype.hasOwnProperty.call(e, t);}-function pq(e, t) {+function lq(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) => iq(n, e));};}-function mq(e) {+function uq(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 dq(e) {return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}-var gxe = 3;-function _xe(e, t) {- return gq(e, t, gxe);+var bxe = 3;+function xxe(e, t) {+ return fq(e, t, bxe);}-function gq(e, t, n) {+function fq(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 || !uq(e) || !uq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;+ let r = dq(e), i = dq(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) || !fq(a[i], o[i], n - 1)) return !1;}return !0;}-function _q(e, t, n, r = _xe) {+function pq(e, t, n, r = xxe) {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 = iq(n, e);return r(e, t) ? e : t;});}-function vxe(e) {+function Sxe(e) {return e instanceof Function;}-function yxe(e, t) {+function Cxe(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -58619,7 +58619,7 @@ function yxe(e, t) {};return r(e), n;}-var bxe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {+var wxe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {let o = [], s;return (c) => {i?.();@@ -58633,23 +58633,23 @@ var bxe = ({ 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 mq(e) {let t = !1;return () => {t ? e() : t = !0;};}-function yq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {+function hq({ 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 bxe({+ return wxe({...a,...o});}-function bq(e, t = "_") {+function gq(e, t = "_") {let [n, r] = e.replace(t, " ").split(" ");return {fnKey: r,@@ -58657,10 +58657,10 @@ function bq(e, t = "_") {parentName: n};}-function xq(e, t, n) {+function _q(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 } = gq(r);+ t[n] = a ? hq({memoDeps: a,fn: i,fnName: o,@@ -58669,15 +58669,15 @@ function xq(e, t, n) {}) : i;}}-function Sq(e, t, n, r) {+function vq(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 } = gq(i);if (o) {let i = `_memo_${r}`;t[r] = function(...t) {if (!this[i]) {let t = this;- this[i] = yq({+ this[i] = hq({memoDeps: (e) => o(t, e),fn: (...e) => a(t, ...e),fnName: s,@@ -58693,17 +58693,17 @@ function Sq(e, t, n, r) {};}}-function Cq(e, t, n, ...r) {+function yq(e, t, n, ...r) {return e[t]?.(...r) ?? n(e, ...r);}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js-function xxe(e) {+function Txe(e) {return e.row.getValue(e.column.id);}-function Sxe(e) {+function Exe(e) {return e.getValue() ?? e.table.options.renderFallbackValue;}-function Cxe(e) {+function Dxe(e) {return {table: e.table,column: e.column,@@ -58714,18 +58714,18 @@ function Cxe(e) {};}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js-var wxe = { assignCellPrototype: (e, t) => {- Sq("coreCellsFeature", e, t, {- cell_getValue: { fn: (e) => xxe(e) },- cell_renderValue: { fn: (e) => Sxe(e) },+var Oxe = { assignCellPrototype: (e, t) => {+ vq("coreCellsFeature", e, t, {+ cell_getValue: { fn: (e) => Txe(e) },+ cell_renderValue: { fn: (e) => Exe(e) },cell_getContext: {- fn: (e) => Cxe(e),+ fn: (e) => Dxe(e),memoDeps: (e) => [e]}});} };// node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js-function Txe(e) {+function kxe(e) {if (!e._columnPrototype) {e._columnPrototype = { table: e };let t = Object.values(e._features);@@ -58733,7 +58733,7 @@ function Txe(e) {}return e._columnPrototype;}-function Exe(e, t, n, r) {+function Axe(e, t, n, r) {let i = {...e.getDefaultColumnDef(),...t@@ -58753,53 +58753,53 @@ function Exe(e, t, n, r) {} else c = (e) => e[i.accessorKey];}if (!s) throw Error();- let l = Txe(e), u = Object.create(l);+ let l = kxe(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 bq(e) {return e.getIsVisible?.() ?? !0;}-function Dxe(e) {+function jxe(e) {return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();}-function Tq(e, t) {+function xq(e, t) {let n = e, r = t;return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;}-function Eq(e, t, n, r) {+function Sq(e, t, n, r) {return e._orderByColumnPinning?.(t, n, r) ?? t;}-function Dq(e, t) {+function Cq(e, t) {return e._expandRows?.(t) ?? t;}-function Oxe(e) {+function Mxe(e) {e.autoResetExpanded?.();}-function Oq(e) {+function wq(e) {e.autoResetPageIndex?.();}-function kxe(e) {+function Nxe(e) {e.autoResetSorting?.();}-function Axe(e) {+function Pxe(e) {e.autoResetCellSelection?.();}// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js-function jxe(e) {+function Fxe(e) {return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];}-function Mxe(e) {+function Ixe(e) {if (e.columns.length) {let t = e.columns.flatMap((e) => e.getLeafColumns());- return Tq(e.table, t);+ return xq(e.table, t);}return [e];}-function Nxe(e) {+function Lxe(e) {return {header: (e) => {let t = e.header.column.columnDef;@@ -58810,53 +58810,53 @@ function Nxe(e) {...e.options.defaultColumn};}-function kq(e, t, n, r = 0) {+function Tq(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 = Exe(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 = Axe(e, o, r, n), c = o;+ s.columns = c.columns ? Tq(e, c.columns, s, r + 1) : [], i[a] = s;}return i;}-function Pxe(e) {- return kq(e, e.options.columns);+function Rxe(e) {+ return Tq(e, e.options.columns);}-function Fxe(e) {+function zxe(e) {return e.getAllColumns().flatMap((e) => e.getFlatColumns());}-function Ixe(e) {- let t = dq(), n = e.getAllFlatColumns();+function Bxe(e) {+ let t = sq(), n = e.getAllFlatColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function Lxe(e) {- return Tq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));+function Vxe(e) {+ return xq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));}-function Rxe(e) {- let t = dq(), n = e.getAllLeafColumns();+function Hxe(e) {+ let t = sq(), n = e.getAllLeafColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function zxe(e, t) {+function Uxe(e, t) {return e.getAllFlatColumnsById()[t];}// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js-var Bxe = {+var Wxe = {assignColumnPrototype: (e, t) => {- Sq("coreColumnsFeature", e, t, {+ vq("coreColumnsFeature", e, t, {column_getFlatColumns: {- fn: (e) => jxe(e),+ fn: (e) => Fxe(e),memoDeps: (e) => [e.table.options.columns]},column_getLeafColumns: {- fn: (e) => Mxe(e),+ fn: (e) => Ixe(e),memoDeps: (e) => [e.table.atoms.columnOrder?.get(),e.table.atoms.grouping?.get(),@@ -58867,25 +58867,25 @@ var Bxe = {});},constructTableAPIs: (e) => {- xq("coreColumnsFeature", e, {+ _q("coreColumnsFeature", e, {table_getDefaultColumnDef: {- fn: () => Nxe(e),+ fn: () => Lxe(e),memoDeps: () => [e.options.defaultColumn]},table_getAllColumns: {- fn: () => Pxe(e),+ fn: () => Rxe(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumns: {- fn: () => Fxe(e),+ fn: () => zxe(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumnsById: {- fn: () => Ixe(e),+ fn: () => Bxe(e),memoDeps: () => [e.options.columns]},table_getAllLeafColumns: {- fn: () => Lxe(e),+ fn: () => Vxe(e),memoDeps: () => [e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),@@ -58894,15 +58894,15 @@ var Bxe = {]},table_getAllLeafColumnsById: {- fn: () => Rxe(e),+ fn: () => Hxe(e),memoDeps: () => [e.getAllLeafColumns()]},- table_getColumn: { fn: (t) => zxe(e, t) }+ table_getColumn: { fn: (t) => Uxe(e, t) }});}};// node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js-function Vxe(e) {+function Gxe(e) {if (!e._headerPrototype) {e._headerPrototype = { table: e };let t = Object.values(e._features);@@ -58910,38 +58910,38 @@ function Vxe(e) {}return e._headerPrototype;}-function Aq(e, t, n) {- let r = Vxe(e), i = Object.create(r);+function Eq(e, t, n) {+ let r = Gxe(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 Dq(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)));+ bq(i) && i.columns.length && (n = Math.max(n, Dq(i.columns, t + 1)));}return n;}-function Hxe(e, t) {+function Kxe(e, t) {return e ? `${e}_${t}` : String(t);}-function Uxe(e, t, n, r) {+function qxe(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 Wxe(e, t) {+function Jxe(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 Oq(e, t, n, r, i, a) {let o = {depth: t,- id: Hxe(r, t),+ id: Kxe(r, t),headers: []}, s = [];for (let i = 0; i < e.length; i++) {@@ -58949,10 +58949,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: Uxe(r, t, u.id, a.id),+ let e = Eq(n, u, {+ id: qxe(r, t, u.id, a.id),isPlaceholder: d,- placeholderId: d ? String(Wxe(s, u)) : void 0,+ placeholderId: d ? String(Jxe(s, u)) : void 0,depth: t,index: s.length});@@ -58961,18 +58961,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 && Oq(s, t - 1, n, r, i, a);}-function Nq(e) {+function kq(e) {for (let t = 0; t < e.length; t++) {let n = e[t];- if (!wq(n.column)) continue;+ if (!bq(n.column)) continue;let r = 0;if (n.subHeaders.length) {- Nq(n.subHeaders);+ kq(n.subHeaders);for (let e = 0; e < n.subHeaders.length; e++) {let t = n.subHeaders[e];- wq(t.column) && (r += t.colSpan);+ bq(t.column) && (r += t.colSpan);}} else r = 1;if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {@@ -58982,37 +58982,37 @@ function Nq(e) {} else n.rowSpan = 1;}}-function Gxe(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 Yxe(e, t, n, r) {+ let i = Dq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);+ for (let e = 0; e < t.length; e++) e in t && (s[e] = Eq(n, t[e], {depth: i,index: e}));- return Mq(s, i - 1, n, r, a, o), a.reverse(), Nq(a[0]?.headers ?? []), a;+ return Oq(s, i - 1, n, r, a, o), a.reverse(), kq(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 Aq(e, t) {+ for (let n = 0; n < e.subHeaders.length; n++) Aq(e.subHeaders[n], t);t.push(e);}-function Kxe(e) {+function Xxe(e) {let t = [];- return Pq(e, t), t;+ return Aq(e, t), t;}-function qxe(e) {+function Zxe(e) {return {column: e.column,header: e,table: e.column.table};}-function Jxe(e) {- return Gxe(e.getAllColumns(), Eq(e, Dxe(e), (e) => e.id), e);+function Qxe(e) {+ return Yxe(e.getAllColumns(), Sq(e, jxe(e), (e) => e.id), e);}-function Yxe(e) {+function $xe(e) {return [...e.getHeaderGroups()].reverse();}-function Xxe(e) {+function eSe(e) {let t = e.getHeaderGroups(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e].headers;@@ -59020,7 +59020,7 @@ function Xxe(e) {}return n;}-function Zxe(e) {+function tSe(e) {let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];for (let e = 0; e < t.length; e++) {let r = t[e].getLeafHeaders();@@ -59029,23 +59029,23 @@ function Zxe(e) {return n;}// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js-var Qxe = {+var nSe = {assignHeaderPrototype: (e, t) => {- Sq("coreHeadersFeature", e, t, {+ vq("coreHeadersFeature", e, t, {header_getLeafHeaders: {- fn: (e) => Kxe(e),+ fn: (e) => Xxe(e),memoDeps: (e) => [e.column.table.options.columns]},header_getContext: {- fn: (e) => qxe(e),+ fn: (e) => Zxe(e),memoDeps: (e) => [e.column.table.options.columns]}});},constructTableAPIs: (e) => {- xq("coreHeadersFeature", e, {+ _q("coreHeadersFeature", e, {table_getHeaderGroups: {- fn: () => Jxe(e),+ fn: () => Qxe(e),memoDeps: () => [e.options.columns,e.atoms.columnOrder?.get(),@@ -59056,22 +59056,22 @@ var Qxe = {]},table_getFooterGroups: {- fn: () => Yxe(e),+ fn: () => $xe(e),memoDeps: () => [e.getHeaderGroups()]},table_getFlatHeaders: {- fn: () => Xxe(e),+ fn: () => eSe(e),memoDeps: () => [e.getHeaderGroups()]},table_getLeafHeaders: {- fn: () => Zxe(e),+ fn: () => tSe(e),memoDeps: () => [e.getHeaderGroups()]}});}};// node_modules/@tanstack/table-core/dist/core/rows/constructRow.js-function $xe(e) {+function rSe(e) {if (!e._rowPrototype) {e._rowPrototype = { table: e };let t = Object.values(e._features);@@ -59079,98 +59079,98 @@ function $xe(e) {}return e._rowPrototype;}-var eSe = (e, t, n, r, i, a, o) => {- let s = $xe(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 iSe = (e, t, n, r, i, a, o) => {+ let s = rSe(e), c = Object.create(s);+ c._displayIndexCache = -1, c._uniqueValuesCache = sq(), c._valuesCache = sq(), 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 tSe() {- return (e) => yq({+function aSe() {+ return (e) => hq({feature: "coreRowModelsFeature",table: e,fnName: "table.getCoreRowModel",memoDeps: () => [e.options.data],- fn: () => nSe(e, e.options.data),- onAfterUpdate: vq(() => {- Oxe(e), Oq(e), kxe(e), Axe(e);+ fn: () => oSe(e, e.options.data),+ onAfterUpdate: mq(() => {+ Mxe(e), wq(e), Nxe(e), Pxe(e);})});}-function Fq(e, t, n, r = 0, i) {+function jq(e, t, n, r = 0, i) {let a = [];for (let o = 0; o < n.length; o++) {- let s = n[o], c = eSe(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 = iSe(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 = jq(e, t, c.originalSubRows, r + 1, c)));}return a;}-function nSe(e, t) {+function oSe(e, t) {let n = {rows: [],flatRows: [],- rowsById: dq()+ rowsById: sq()};- return n.rows = Fq(e, n, t), n;+ return n.rows = jq(e, n, t), n;}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js-function rSe(e) {- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? tSe()(e)), e._rowModels.coreRowModel();+function sSe(e) {+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? aSe()(e)), e._rowModels.coreRowModel();}-function iSe(e) {+function cSe(e) {return e.getCoreRowModel();}-function aSe(e) {+function lSe(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 oSe(e) {+function uSe(e) {return e.getFilteredRowModel();}-function sSe(e) {+function dSe(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 cSe(e) {+function fSe(e) {return e.getGroupedRowModel();}-function lSe(e) {+function pSe(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 uSe(e) {+function mSe(e) {return e.getSortedRowModel();}-function dSe(e) {+function hSe(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 fSe(e) {+function gSe(e) {return e.getExpandedRowModel();}-function pSe(e) {+function _Se(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 mSe(e) {+function vSe(e) {return e.getPaginatedRowModel();}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js-var hSe = { constructTableAPIs: (e) => {- xq("coreRowModelsFeature", e, {- table_getCoreRowModel: { fn: () => rSe(e) },- table_getPreFilteredRowModel: { fn: () => iSe(e) },- table_getFilteredRowModel: { fn: () => aSe(e) },- table_getPreGroupedRowModel: { fn: () => oSe(e) },- table_getGroupedRowModel: { fn: () => sSe(e) },- table_getPreSortedRowModel: { fn: () => cSe(e) },- table_getSortedRowModel: { fn: () => lSe(e) },- table_getPreExpandedRowModel: { fn: () => uSe(e) },- table_getExpandedRowModel: { fn: () => dSe(e) },- table_getPrePaginatedRowModel: { fn: () => fSe(e) },- table_getPaginatedRowModel: { fn: () => pSe(e) },- table_getRowModel: { fn: () => mSe(e) }+var ySe = { constructTableAPIs: (e) => {+ _q("coreRowModelsFeature", e, {+ table_getCoreRowModel: { fn: () => sSe(e) },+ table_getPreFilteredRowModel: { fn: () => cSe(e) },+ table_getFilteredRowModel: { fn: () => lSe(e) },+ table_getPreGroupedRowModel: { fn: () => uSe(e) },+ table_getGroupedRowModel: { fn: () => dSe(e) },+ table_getPreSortedRowModel: { fn: () => fSe(e) },+ table_getSortedRowModel: { fn: () => pSe(e) },+ table_getPreExpandedRowModel: { fn: () => mSe(e) },+ table_getExpandedRowModel: { fn: () => hSe(e) },+ table_getPrePaginatedRowModel: { fn: () => gSe(e) },+ table_getPaginatedRowModel: { fn: () => _Se(e) },+ table_getRowModel: { fn: () => vSe(e) }});} };// node_modules/@tanstack/table-core/dist/core/cells/constructCell.js-function gSe(e) {+function bSe(e) {if (!e._cellPrototype) {e._cellPrototype = { table: e };let t = Object.values(e._features);@@ -59178,48 +59178,48 @@ function gSe(e) {}return e._cellPrototype;}-function _Se(e, t, n) {- let r = gSe(n), i = Object.create(r);+function xSe(e, t, n) {+ let r = bSe(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 vSe(e) {+function SSe(e) {let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;return t[n] === e ? n : -1;}-function ySe(e) {- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Dq(e, t).rows : t.rows;+function CSe(e) {+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Cq(e, t).rows : t.rows;for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;return n;}-function bSe(e, t) {- if (fq(e._valuesCache, t)) return e._valuesCache[t];+function wSe(e, t) {+ if (cq(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 xSe(e, t) {- if (fq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];+function TSe(e, t) {+ if (cq(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 SSe(e, t) {+function ESe(e, t) {return e.getValue(t) ?? e.table.options.renderFallbackValue;}-function CSe(e) {- return yxe(e.subRows, (e) => e.subRows);+function DSe(e) {+ return Cxe(e.subRows, (e) => e.subRows);}-function wSe(e) {+function OSe(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 TSe(e) {+function kSe(e) {if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);}-function ESe(e) {+function ASe(e) {let t = [], n = e;for (;;) {let e = n.getParentRow();@@ -59228,77 +59228,77 @@ function ESe(e) {}return t.reverse();}-function DSe(e) {+function jSe(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 = _Se(a, e, e.table), n.set(a, o)), r[i] = o;+ o || (o = xSe(a, e, e.table), n.set(a, o)), r[i] = o;}return r;}-function OSe(e) {- let t = dq(), n = e.getAllCells();+function MSe(e) {+ let t = sq(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.column.id] = r;}return t;}-function kSe(e, t, n, r) {+function NSe(e, t, n, r) {return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));}-function ASe(e, t, n) {+function PSe(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 jSe = {+var FSe = {assignRowPrototype: (e, t) => {- Sq("coreRowsFeature", e, t, {- row_getDisplayIndex: { fn: (e) => vSe(e) },+ vq("coreRowsFeature", e, t, {+ row_getDisplayIndex: { fn: (e) => SSe(e) },row_getAllCellsByColumnId: {- fn: (e) => OSe(e),+ fn: (e) => MSe(e),memoDeps: (e) => [e.getAllCells()]},row_getAllCells: {- fn: (e) => DSe(e),+ fn: (e) => jSe(e),memoDeps: (e) => [e.table.getAllLeafColumns()]},row_getLeafRows: {- fn: (e) => CSe(e),+ fn: (e) => DSe(e),memoDeps: (e) => [e.subRows]},- row_getParentRow: { fn: (e) => TSe(e) },- row_getParentRows: { fn: (e) => ESe(e) },- row_getUniqueValues: { fn: (e, t) => xSe(e, t) },- row_getValue: { fn: (e, t) => bSe(e, t) },- row_renderValue: { fn: (e, t) => SSe(e, t) }+ row_getParentRow: { fn: (e) => kSe(e) },+ row_getParentRows: { fn: (e) => ASe(e) },+ row_getUniqueValues: { fn: (e, t) => TSe(e, t) },+ row_getValue: { fn: (e, t) => wSe(e, t) },+ row_renderValue: { fn: (e, t) => ESe(e, t) }});},constructTableAPIs: (e) => {- xq("coreRowsFeature", e, {+ _q("coreRowsFeature", e, {table_getRowsInDisplayOrder: {- fn: () => ySe(e),+ fn: () => CSe(e),memoDeps: () => [e.getPrePaginatedRowModel().rows,e.options.paginateExpandedRows,e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0]},- table_getRowId: { fn: (t, n, r) => kSe(t, e, n, r) },- table_getRow: { fn: (t, n) => ASe(e, t, n) },+ table_getRowId: { fn: (t, n, r) => NSe(t, e, n, r) },+ table_getRow: { fn: (t, n) => PSe(e, t, n) },table_getMaxSubRowDepth: {- fn: () => wSe(e),+ fn: () => OSe(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 Mq(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) {@@ -59309,13 +59309,13 @@ function Iq(e, t, n = (e, t) => e === t) {}});}-function Lq(e, t, n = (e, t) => e === t) {+function Nq(e, t, n = (e, t) => e === t) {e._reactivity.batch(() => {- Iq(e, t, n), e._reactivity.commit?.();+ Mq(e, t, n), e._reactivity.commit?.();});}-function MSe(e) {- let t = lq(e.initialState);+function ISe(e) {+ let t = aq(e.initialState);e._reactivity.batch(() => {let n = Object.keys(t);for (let r = 0; r < n.length; r++) {@@ -59326,7 +59326,7 @@ function MSe(e) {let n = Object.values(e._features);for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);}-function NSe(e, t) {+function LSe(e, t) {let { features: n, atoms: r, initialState: i } = e.options;if (!e.options.mergeOptions) return {...e.options,@@ -59358,26 +59358,26 @@ function NSe(e, t) {}});}-function Rq(e, t, n) {- let r = NSe(e, cq(t, e.options));- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Lq(e, r.state ?? null);+function Pq(e, t, n) {+ let r = LSe(e, iq(t, e.options));+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Nq(e, r.state ?? null);}// node_modules/@tanstack/table-core/dist/core/coreFeatures.js-var PSe = {- coreCellsFeature: wxe,- coreColumnsFeature: Bxe,- coreHeadersFeature: Qxe,- coreRowModelsFeature: hSe,- coreRowsFeature: jSe,+var RSe = {+ coreCellsFeature: Oxe,+ coreColumnsFeature: Wxe,+ coreHeadersFeature: nSe,+ coreRowModelsFeature: ySe,+ coreRowsFeature: FSe,coreTablesFeature: { constructTableAPIs: (e) => {- xq("coreTablesFeature", e, {- table_reset: { fn: () => MSe(e) },- table_setOptions: { fn: (t) => Rq(e, t) }+ _q("coreTablesFeature", e, {+ table_reset: { fn: () => ISe(e) },+ table_setOptions: { fn: (t) => Pq(e, t) }});} }};// node_modules/@tanstack/table-core/dist/helpers/columnHelper.js-function zq() {+function Fq() {return {accessor: (e, t) => typeof e == "function" ? {...t,@@ -59392,21 +59392,21 @@ function zq() {};}// node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js-function Bq(e) {+function Iq(e) {return e;}// node_modules/@tanstack/table-core/dist/core/table/constructTable.js-function FSe(e, t = {}) {+function zSe(e, t = {}) {return Object.values(e).forEach((e) => {t = e.getInitialState?.(t) ?? t;- }), lq(t);+ }), aq(t);}-function ISe(e) {+function BSe(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: {- ...PSe,+ ...RSe,..._},_headerGroupInstanceInitFns: [],@@ -59444,7 +59444,7 @@ function ISe(e) {set(e) {v.optionsStore.set(() => e);}- })) : v.options = b, v.initialState = FSe(v._features, v.options.initialState);+ })) : v.options = b, v.initialState = zSe(v._features, v.options.initialState);let x = Object.keys(v.initialState);for (let e = 0; e < x.length; e++) {let n = x[e];@@ -59452,14 +59452,14 @@ function ISe(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 && cq(i, n)) {let e = i[n];return e === void 0 ? v.initialState[n] : e;}return r;}, { debugName: `table/atoms/${n}` });}- Iq(v), v.store = fxe(t.createReadonlyAtom(() => {+ Mq(v), v.store = gxe(t.createReadonlyAtom(() => {let e = {};for (let t = 0; t < x.length; t++) {let n = x[t];@@ -59467,7 +59467,7 @@ function ISe(e) {}return e;}, {- compare: iq,+ compare: eq,debugName: "table/store"}));for (let e = 0; e < y.length; e++) {@@ -59477,107 +59477,107 @@ function ISe(e) {return v;}// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js-function LSe() {- return dq();+function VSe() {+ return sq();}-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 Lq(e, t) {+ zq(e) && Vq(e.table, (n) => {+ let r = Object.assign(sq(), n), i = t ?? !yq(e, "getIsVisible", Rq), a = e.getLeafColumns();for (let e = 0; e < a.length; e++) {let t = a[e];- Uq(t) && (r[t.id] = i);+ zq(t) && (r[t.id] = i);}return r;});}-function Hq(e) {+function Rq(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) => yq(e, "getIsVisible", Rq)) : (cq(t, e.id) ? t[e.id] : void 0) ?? !0;}-function Uq(e) {+function zq(e) {return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);}-function RSe(e) {+function HSe(e) {return (t) => {- Vq(e, t.target.checked);+ Lq(e, t.target.checked);};}-function zSe(e) {+function USe(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);+ yq(r.column, "getIsVisible", Rq) && n.push(r);}- return Eq(e.table, n, (e) => e.column.id, () => Cq(e, "getVisibleCellsByColumnId", Wq));+ return Sq(e.table, n, (e) => e.column.id, () => yq(e, "getVisibleCellsByColumnId", Bq));}-function Wq(e) {- let t = dq(), n = e.getAllCells();+function Bq(e) {+ let t = sq(), 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);+ yq(r.column, "getIsVisible", Rq) && (t[r.column.id] = r);}return t;}-function BSe(e) {- return e.getAllFlatColumns().filter((e) => Cq(e, "getIsVisible", Hq));+function WSe(e) {+ return e.getAllFlatColumns().filter((e) => yq(e, "getIsVisible", Rq));}-function VSe(e) {- return e.getAllLeafColumns().filter((e) => Cq(e, "getIsVisible", Hq));+function GSe(e) {+ return e.getAllLeafColumns().filter((e) => yq(e, "getIsVisible", Rq));}-function Gq(e, t) {- _q(e, "columnVisibility", t);+function Vq(e, t) {+ pq(e, "columnVisibility", t);}-function HSe(e, t) {- Gq(e, t ? dq() : Object.assign(dq(), lq(e.initialState.columnVisibility ?? {})));+function KSe(e, t) {+ Vq(e, t ? sq() : Object.assign(sq(), aq(e.initialState.columnVisibility ?? {})));}-function Kq(e, t) {- t ??= !qq(e);- let n = dq(), r = e.getAllLeafColumns();+function Hq(e, t) {+ t ??= !Uq(e);+ let n = sq(), 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 || !zq(i);}- Gq(e, n);+ Vq(e, n);}-function qq(e) {- return !e.getAllLeafColumns().some((e) => !Cq(e, "getIsVisible", Hq));+function Uq(e) {+ return !e.getAllLeafColumns().some((e) => !yq(e, "getIsVisible", Rq));}-function USe(e) {- return e.getAllLeafColumns().some((e) => Cq(e, "getIsVisible", Hq));+function qSe(e) {+ return e.getAllLeafColumns().some((e) => yq(e, "getIsVisible", Rq));}-function WSe(e) {+function JSe(e) {return (t) => {- Kq(e, t.target.checked);+ Hq(e, t.target.checked);};}// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js-var Jq = {+var Wq = {getInitialState: (e) => ({- columnVisibility: LSe(),+ columnVisibility: VSe(),...e}),- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: pq("columnVisibility", e) }),+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: lq("columnVisibility", e) }),assignColumnPrototype: (e, t) => {- Sq("columnVisibilityFeature", e, t, {+ vq("columnVisibilityFeature", e, t, {column_getIsVisible: {- fn: (e) => Hq(e),+ fn: (e) => Rq(e),memoDeps: (e) => [t.options.columns,t.atoms.columnVisibility?.get(),e.columns]},- column_getCanHide: { fn: (e) => Uq(e) },- column_getToggleVisibilityHandler: { fn: (e) => RSe(e) },- column_toggleVisibility: { fn: (e, t) => Vq(e, t) }+ column_getCanHide: { fn: (e) => zq(e) },+ column_getToggleVisibilityHandler: { fn: (e) => HSe(e) },+ column_toggleVisibility: { fn: (e, t) => Lq(e, t) }});},assignRowPrototype: (e, t) => {- Sq("columnVisibilityFeature", e, t, {+ vq("columnVisibilityFeature", e, t, {row_getVisibleCells: {- fn: (e) => zSe(e),+ fn: (e) => USe(e),memoDeps: (e) => [e.getAllCells(),t.atoms.columnPinning?.get(),@@ -59585,15 +59585,15 @@ var Jq = {]},row_getVisibleCellsByColumnId: {- fn: (e) => Wq(e),+ fn: (e) => Bq(e),memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]}});},constructTableAPIs: (e) => {- xq("columnVisibilityFeature", e, {+ _q("columnVisibilityFeature", e, {table_getVisibleFlatColumns: {- fn: () => BSe(e),+ fn: () => WSe(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -59603,7 +59603,7 @@ var Jq = {]},table_getVisibleLeafColumns: {- fn: () => VSe(e),+ fn: () => GSe(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -59612,51 +59612,51 @@ var Jq = {e.options.groupedColumnMode]},- table_setColumnVisibility: { fn: (t) => Gq(e, t) },- table_resetColumnVisibility: { fn: (t) => HSe(e, t) },- table_toggleAllColumnsVisible: { fn: (t) => Kq(e, t) },- table_getIsAllColumnsVisible: { fn: () => qq(e) },- table_getIsSomeColumnsVisible: { fn: () => USe(e) },- table_getToggleAllColumnsVisibilityHandler: { fn: () => WSe(e) }+ table_setColumnVisibility: { fn: (t) => Vq(e, t) },+ table_resetColumnVisibility: { fn: (t) => KSe(e, t) },+ table_toggleAllColumnsVisible: { fn: (t) => Hq(e, t) },+ table_getIsAllColumnsVisible: { fn: () => Uq(e) },+ table_getIsSomeColumnsVisible: { fn: () => qSe(e) },+ table_getToggleAllColumnsVisibilityHandler: { fn: () => JSe(e) }});}-}, Yq = 0, Xq = 10;-function Zq() {+}, Gq = 0, Kq = 10;+function qq() {return {- pageIndex: Yq,- pageSize: Xq+ pageIndex: Gq,+ pageSize: Kq};}-function GSe(e) {+function YSe(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 ?? Gq) === Gq) return;+ Xq(e, !0);}}-function Qq(e, t) {- _q(e, "pagination", t);+function Jq(e, t) {+ pq(e, "pagination", t);}-function KSe(e, t) {- Qq(e, t ? Zq() : lq(e.initialState.pagination ?? Zq()));+function XSe(e, t) {+ Jq(e, t ? qq() : aq(e.initialState.pagination ?? qq()));}-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 Yq(e, t) {+ Jq(e, (n) => {+ let r = iq(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 Xq(e, t) {+ Yq(e, t ? Gq : e.initialState.pagination?.pageIndex ?? Gq);}-function qSe(e, t) {- tJ(e, t ? Xq : e.initialState.pagination?.pageSize ?? Xq);+function ZSe(e, t) {+ Zq(e, t ? Kq : e.initialState.pagination?.pageSize ?? Kq);}-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 Zq(e, t) {+ Jq(e, (e) => {+ let n = Math.max(1, iq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);return {...e,pageIndex: i,@@ -59664,231 +59664,231 @@ function tJ(e, t) {};});}-function JSe(e) {- let t = nJ(e), n = [];+function QSe(e) {+ let t = Qq(e), n = [];return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;}-function YSe(e) {+function $Se(e) {return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;}-function XSe(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? Yq, n = nJ(e);+function eCe(e) {+ let t = e.atoms.pagination?.get()?.pageIndex ?? Gq, n = Qq(e);return n === -1 || n !== 0 && t < n - 1;}-function ZSe(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? Yq, n = nJ(e);+function tCe(e) {+ let t = e.atoms.pagination?.get()?.pageIndex ?? Gq, n = Qq(e);return Number.isFinite(n) && n > 0 && t < n - 1;}-function QSe(e) {- return $q(e, (e) => e - 1);+function nCe(e) {+ return Yq(e, (e) => e - 1);}-function $Se(e) {- return $q(e, (e) => e + 1);+function rCe(e) {+ return Yq(e, (e) => e + 1);}-function eCe(e) {- return $q(e, 0);+function iCe(e) {+ return Yq(e, 0);}-function tCe(e) {- let t = nJ(e);- if (!(!Number.isFinite(t) || t <= 0)) return $q(e, t - 1);+function aCe(e) {+ let t = Qq(e);+ if (!(!Number.isFinite(t) || t <= 0)) return Yq(e, t - 1);}-function nJ(e) {+function Qq(e) {let t = e.options.pageCount;if (t != null) return t;- let n = rJ(e), r = e.atoms.pagination?.get()?.pageSize ?? Xq;+ let n = $q(e), r = e.atoms.pagination?.get()?.pageSize ?? Kq;return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);}-function rJ(e) {+function $q(e) {return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;}// node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js-var iJ = {+var eJ = {getInitialState: (e) => ({...e,pagination: {- ...Zq(),+ ...qq(),...e.pagination}}),- getDefaultTableOptions: (e) => ({ onPaginationChange: pq("pagination", e) }),+ getDefaultTableOptions: (e) => ({ onPaginationChange: lq("pagination", e) }),constructTableAPIs: (e) => {- xq("rowPaginationFeature", e, {- table_autoResetPageIndex: { fn: () => GSe(e) },- table_setPagination: { fn: (t) => Qq(e, t) },- table_resetPagination: { fn: (t) => KSe(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) => qSe(e, t) },- table_getPageOptions: { fn: () => JSe(e) },- table_getCanPreviousPage: { fn: () => YSe(e) },- table_getCanNextPage: { fn: () => XSe(e) },- table_getCanLastPage: { fn: () => ZSe(e) },- table_previousPage: { fn: () => QSe(e) },- table_nextPage: { fn: () => $Se(e) },- table_firstPage: { fn: () => eCe(e) },- table_lastPage: { fn: () => tCe(e) },- table_getRowCount: { fn: () => rJ(e) }+ _q("rowPaginationFeature", e, {+ table_autoResetPageIndex: { fn: () => YSe(e) },+ table_setPagination: { fn: (t) => Jq(e, t) },+ table_resetPagination: { fn: (t) => XSe(e, t) },+ table_setPageIndex: { fn: (t) => Yq(e, t) },+ table_resetPageIndex: { fn: (t) => Xq(e, t) },+ table_setPageSize: { fn: (t) => Zq(e, t) },+ table_getPageCount: { fn: () => Qq(e) },+ table_resetPageSize: { fn: (t) => ZSe(e, t) },+ table_getPageOptions: { fn: () => QSe(e) },+ table_getCanPreviousPage: { fn: () => $Se(e) },+ table_getCanNextPage: { fn: () => eCe(e) },+ table_getCanLastPage: { fn: () => tCe(e) },+ table_previousPage: { fn: () => nCe(e) },+ table_nextPage: { fn: () => rCe(e) },+ table_firstPage: { fn: () => iCe(e) },+ table_lastPage: { fn: () => aCe(e) },+ table_getRowCount: { fn: () => $q(e) }});}};// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js-function nCe() {- return dq();+function oCe() {+ return sq();}-function aJ(e, t) {+function tJ(e, t) {e.options.onRowSelectionChange?.(t);}-function rCe(e, t) {- e._lastSelectedRowId = null, aJ(e, t ? dq() : Object.assign(dq(), lq(e.initialState.rowSelection ?? {})));+function sCe(e, t) {+ e._lastSelectedRowId = null, tJ(e, t ? sq() : Object.assign(sq(), aq(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 nJ(e, t, n) {+ e._lastSelectedRowId = null, tJ(e, (r) => {+ if (t = t === void 0 ? !yq(e, "getIsAllRowsSelected", aJ) : t, n?.deselectAll && !t) return sq();+ let i = Object.assign(sq(), r), a = e.getPreGroupedRowModel().flatRows;if (t) {let e = /* @__PURE__ */ new Map();a.forEach((t) => {- yJ(t, e) && (i[t.id] = !0);+ hJ(t, e) && (i[t.id] = !0);});} else a.forEach((e) => {- hJ(e) && delete i[e.id];+ dJ(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 rJ(e, t, n) {+ e._lastSelectedRowId = null, tJ(e, (r) => {+ let i = t === void 0 ? !yq(e, "getIsAllPageRowsSelected", oJ) : t;+ if (n?.deselectAll && !i) return sq();+ let a = Object.assign(sq(), r);return e.getRowModel().rows.forEach((t) => {- vJ(a, t.id, i, !0, e, !0);+ mJ(a, t.id, i, !0, e, !0);}), a;});}-function iCe(e) {+function cCe(e) {return e.getCoreRowModel();}-function aCe(e) {+function lCe(e) {let t = e.getCoreRowModel();- return Cq(e, "getIsSomeRowsSelected", dJ) ? SJ(t, e) : {+ return yq(e, "getIsSomeRowsSelected", sJ) ? vJ(t, e) : {rows: [],flatRows: [],- rowsById: dq()+ rowsById: sq()};}-function oCe(e) {+function uCe(e) {let t = e.getFilteredRowModel();- return Cq(e, "getIsSomeRowsSelected", dJ) ? SJ(t, e) : {+ return yq(e, "getIsSomeRowsSelected", sJ) ? vJ(t, e) : {rows: [],flatRows: [],- rowsById: dq()+ rowsById: sq()};}-function sCe(e) {+function dCe(e) {let t = e.getSortedRowModel();- return Cq(e, "getIsSomeRowsSelected", dJ) ? SJ(t, e) : {+ return yq(e, "getIsSomeRowsSelected", sJ) ? vJ(t, e) : {rows: [],flatRows: [],- rowsById: dq()+ rowsById: sq()};}-function cJ(e) {+function iJ(e) {return Object.keys(e.atoms.rowSelection?.get() ?? {});}-function lJ(e) {+function aJ(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) => !yJ(t, n) && hJ(t, e)) && (r = !1);}return r;}-function uJ(e) {+function oJ(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 (yJ(a, n)) !i && hJ(a, r) && (i = !0);+ else if (hJ(a, r)) return !1;}return i;}-function dJ(e) {- return Cq(e, "getSelectedRowIds", cJ).length > 0;+function sJ(e) {+ return yq(e, "getSelectedRowIds", iJ).length > 0;}-function cCe(e) {- return e.getPaginatedRowModel().flatRows.filter((e) => hJ(e)).some((e) => pJ(e) || Cq(e, "getIsSomeSelected", mJ));+function fCe(e) {+ return e.getPaginatedRowModel().flatRows.filter((e) => dJ(e)).some((e) => lJ(e) || yq(e, "getIsSomeSelected", uJ));}-function lCe(e) {+function pCe(e) {return (t) => {- oJ(e, t.target.checked);+ nJ(e, t.target.checked);};}-function uCe(e) {+function mCe(e) {return (t) => {- sJ(e, t.target.checked);+ rJ(e, t.target.checked);};}-function fJ(e, t, n) {- let r = pJ(e);- aJ(e.table, (i) => {+function cJ(e, t, n) {+ let r = lJ(e);+ tJ(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(sq(), i);+ return mJ(a, e.id, t, (n?.selectChildren ?? !0) && pJ(e), e.table), !t && n?.deselectParents && gJ(a, e), a;});}-function pJ(e) {- return CJ(e, e.table.atoms.rowSelection?.get() ?? {});+function lJ(e) {+ return yJ(e, e.table.atoms.rowSelection?.get() ?? {});}-function mJ(e) {- return wJ(e) === "some";+function uJ(e) {+ return bJ(e) === "some";}-function dCe(e) {- return wJ(e) === "all";+function hCe(e) {+ return bJ(e) === "all";}-function hJ(e) {+function dJ(e) {let t = e.table.options;return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;}-function gJ(e) {+function fJ(e) {let t = e.table.options;return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;}-function _J(e) {+function pJ(e) {let t = e.table.options;return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;}-function fCe(e, t) {- let n = hJ(e);+function gCe(e, t) {+ let n = dJ(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) && pCe(e, s, o, t) || fJ(e, o, t), a._lastSelectedRowId = e.id;+ a.options.enableRowRangeSelection !== !1 && s !== null && pJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && _Ce(e, s, o, t) || cJ(e, o, t), a._lastSelectedRowId = e.id;};}-function pCe(e, t, n, r) {+function _Ce(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 || !pJ(s) || !pJ(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 tJ(a, (e) => {+ let t = Object.assign(sq(), 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));+ dJ(s) && pJ(s) && (mJ(t, s.id, n, i, a), !n && r?.deselectParents && gJ(t, s));}return t;}), !0;}-function vJ(e, t, n, r, i, a) {+function mJ(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 ? (pJ(o) || Object.keys(e).forEach((t) => delete e[t]), dJ(o) && (e[t] = !0)) : (!a || dJ(o)) && delete e[t], r && o.subRows.length && fJ(o) && o.subRows.forEach((t) => mJ(e, t.id, n, r, i, a));}-function yJ(e, t) {- if (!hJ(e)) return !1;+function hJ(e, t) {+ if (!dJ(e)) return !1;let n = e.table;if (n.options.enableSubRowSelection === !0) return !0;let r = e.parentId;@@ -59904,7 +59904,7 @@ function yJ(e, t) {}o.push(c);let r = a[c] ?? n.getRow(c, !0);- if (!gJ(r)) {+ if (!fJ(r)) {s = !1;break;}@@ -59912,50 +59912,50 @@ function yJ(e, t) {}return o.forEach((e) => t.set(e, s)), s;}-function bJ(e, t) {+function gJ(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 _J(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 = yJ(o, t);if (s && (n.push(o), r[o.id] = o), o.subRows.length) {- let e = xJ(o.subRows, t, n, r);+ let e = _J(o.subRows, t, n, r);if (s) {let t = Object.create(Object.getPrototypeOf(o));- uq(t, o), t.subRows = e, i.push(t);+ oq(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 vJ(e, t) {+ let n = [], r = sq(), i = t.atoms.rowSelection?.get() ?? {};return {- rows: xJ(e.rows, i, n, r),+ rows: _J(e.rows, i, n, r),flatRows: n,rowsById: r};}-function CJ(e, t) {- return !!(fq(t, e.id) && t[e.id]);+function yJ(e, t) {+ return !!(cq(t, e.id) && t[e.id]);}-function wJ(e) {+function bJ(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 (dJ(o) && (i = !0, yJ(o, t) ? n = !0 : r = !1), o.subRows.length) {+ let e = bJ(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 xJ = {initTableInstanceData: (e) => {e._lastSelectedRowId = null;},@@ -59963,11 +59963,11 @@ var TJ = {e._lastSelectedRowId = null;},getInitialState: (e) => ({- rowSelection: nCe(),+ rowSelection: oCe(),...e}),getDefaultTableOptions: (e) => ({- onRowSelectionChange: pq("rowSelection", e),+ onRowSelectionChange: lq("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableRowRangeSelection: !0,@@ -59978,11 +59978,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) },+ vq("rowSelectionFeature", e, t, {+ row_toggleSelected: { fn: (e, t, n) => cJ(e, t, n) },+ row_getIsSelected: { fn: (e) => lJ(e) },row_getIsSomeSelected: {- fn: (e) => mJ(e),+ fn: (e) => uJ(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),@@ -59990,44 +59990,44 @@ var TJ = {]},row_getIsAllSubRowsSelected: {- fn: (e) => dCe(e),+ fn: (e) => hCe(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) => fCe(e, t) }+ row_getCanSelect: { fn: (e) => dJ(e) },+ row_getCanSelectSubRows: { fn: (e) => fJ(e) },+ row_getCanMultiSelect: { fn: (e) => pJ(e) },+ row_getToggleSelectedHandler: { fn: (e, t) => gCe(e, t) }});},constructTableAPIs: (e) => {- xq("rowSelectionFeature", e, {- table_setRowSelection: { fn: (t) => aJ(e, t) },- table_resetRowSelection: { fn: (t) => rCe(e, t) },- table_toggleAllRowsSelected: { fn: (t, n) => oJ(e, t, n) },- table_toggleAllPageRowsSelected: { fn: (t, n) => sJ(e, t, n) },- table_getPreSelectedRowModel: { fn: () => iCe(e) },+ _q("rowSelectionFeature", e, {+ table_setRowSelection: { fn: (t) => tJ(e, t) },+ table_resetRowSelection: { fn: (t) => sCe(e, t) },+ table_toggleAllRowsSelected: { fn: (t, n) => nJ(e, t, n) },+ table_toggleAllPageRowsSelected: { fn: (t, n) => rJ(e, t, n) },+ table_getPreSelectedRowModel: { fn: () => cCe(e) },table_getSelectedRowModel: {- fn: () => aCe(e),+ fn: () => lCe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]},table_getFilteredSelectedRowModel: {- fn: () => oCe(e),+ fn: () => uCe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]},table_getGroupedSelectedRowModel: {- fn: () => sCe(e),+ fn: () => dCe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]},table_getSelectedRowIds: {- fn: () => cJ(e),+ fn: () => iJ(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsAllRowsSelected: {- fn: () => lJ(e),+ fn: () => aJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getFilteredRowModel(),@@ -60036,7 +60036,7 @@ var TJ = {]},table_getIsAllPageRowsSelected: {- fn: () => uJ(e),+ fn: () => oJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),@@ -60045,48 +60045,48 @@ var TJ = {]},table_getIsSomeRowsSelected: {- fn: () => dJ(e),+ fn: () => sJ(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsSomePageRowsSelected: {- fn: () => cCe(e),+ fn: () => fCe(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),e.options.enableRowSelection]},- table_getToggleAllRowsSelectedHandler: { fn: () => lCe(e) },- table_getToggleAllPageRowsSelectedHandler: { fn: () => uCe(e) }+ table_getToggleAllRowsSelectedHandler: { fn: () => pCe(e) },+ table_getToggleAllPageRowsSelectedHandler: { fn: () => mCe(e) }});}-}, mCe = /([0-9]+)/gm;+}, vCe = /([0-9]+)/gm;/* @__NO_SIDE_EFFECTS__ */-function hCe(e) {+function yCe(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__ */ hCe({ sort: (e, t) => gCe(e, t) });-function gCe(e, t) {+var SJ = /* @__PURE__ */ yCe({ sort: (e, t) => bCe(e, t) });+function bCe(e, t) {return e === t ? 0 : e > t ? 1 : -1;}// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js-function _Ce() {+function xCe() {return [];}-function DJ(e, t) {- _q(e, "sorting", t);+function CJ(e, t) {+ pq(e, "sorting", t);}-function OJ(e, t) {- DJ(e, t ? [] : lq(e.initialState.sorting ?? []));+function wJ(e, t) {+ CJ(e, t ? [] : aq(e.initialState.sorting ?? []));}-function vCe(e) {- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && OJ(e);+function SCe(e) {+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && wJ(e);}-function kJ(e) {+function TJ(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);@@ -60094,7 +60094,7 @@ function kJ(e) {r = "datetime";break;}- if (typeof a == "string" && (i = !0, a.split(mCe).length > 1)) {+ if (typeof a == "string" && (i = !0, a.split(vCe).length > 1)) {r = "alphanumeric";break;}@@ -60103,9 +60103,9 @@ function kJ(e) {let e = t?.[r];if (e || r === "alphanumeric" && (e = t?.text), e) return e;}- return EJ;+ return SJ;}-function AJ(e) {+function EJ(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);@@ -60113,14 +60113,14 @@ function AJ(e) {}return "desc";}-function jJ(e) {+function DJ(e) {let t = e.table._rowModelFns.sortFns;- return vxe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? kJ(e) : t?.[e.columnDef.sortFn] ?? EJ;+ return Sxe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? TJ(e) : t?.[e.columnDef.sortFn] ?? SJ;}-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 OJ(e, t, n) {+ let r = AJ(e, n && MJ(e)), i = t !== void 0;+ CJ(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 && MJ(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@@ -60136,40 +60136,40 @@ function MJ(e, t, n) {}], c;});}-function NJ(e) {- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? AJ(e) === "desc" ? "desc" : "asc";+function kJ(e) {+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? EJ(e) === "desc" ? "desc" : "asc";}-function PJ(e, t) {- let n = NJ(e), r = LJ(e);+function AJ(e, t) {+ let n = kJ(e), r = NJ(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 jJ(e) {return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;}-function IJ(e) {+function MJ(e) {return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;}-function LJ(e) {+function NJ(e) {let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);return t ? t.desc ? "desc" : "asc" : !1;}-function yCe(e) {+function CCe(e) {return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;}-function bCe(e) {- DJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);+function wCe(e) {+ CJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);}-function xCe(e) {- let t = FJ(e);+function TCe(e) {+ let t = jJ(e);return (n) => {- t && MJ(e, void 0, IJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);+ t && OJ(e, void 0, MJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);};}// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js-var RJ = {+var PJ = {getInitialState(e) {return {- sorting: _Ce(),+ sorting: xCe(),...e};},@@ -60182,58 +60182,58 @@ var RJ = {getDefaultTableOptions(e) {return {autoResetSorting: !1,- onSortingChange: pq("sorting", e),+ onSortingChange: lq("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) => yCe(e) },- column_clearSorting: { fn: (e) => bCe(e) },- column_getToggleSortingHandler: { fn: (e) => xCe(e) }+ vq("rowSortingFeature", e, t, {+ column_getAutoSortFn: { fn: (e) => TJ(e) },+ column_getAutoSortDir: { fn: (e) => EJ(e) },+ column_getSortFn: { fn: (e) => DJ(e) },+ column_toggleSorting: { fn: (e, t, n) => OJ(e, t, n) },+ column_getFirstSortDir: { fn: (e) => kJ(e) },+ column_getNextSortingOrder: { fn: (e, t) => AJ(e, t) },+ column_getCanSort: { fn: (e) => jJ(e) },+ column_getCanMultiSort: { fn: (e) => MJ(e) },+ column_getIsSorted: { fn: (e) => NJ(e) },+ column_getSortIndex: { fn: (e) => CCe(e) },+ column_clearSorting: { fn: (e) => wCe(e) },+ column_getToggleSortingHandler: { fn: (e) => TCe(e) }});},constructTableAPIs(e) {- xq("rowSortingFeature", e, {- table_autoResetSorting: { fn: () => vCe(e) },- table_setSorting: { fn: (t) => DJ(e, t) },- table_resetSorting: { fn: (t) => OJ(e, t) }+ _q("rowSortingFeature", e, {+ table_autoResetSorting: { fn: () => SCe(e) },+ table_setSorting: { fn: (t) => CJ(e, t) },+ table_resetSorting: { fn: (t) => wJ(e, t) }});}-}, SCe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;-function zJ(e, t) {+}, ECe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;+function FJ(e, t) {let [{ table: n, rootSource: r }] = (0, F.useState)(() => {- let t = ISe({+ let t = BSe({...e,features: {- coreReactivityFeature: hxe(),+ coreReactivityFeature: yxe(),...e.features}});- return t.Subscribe = ((e) => dxe({+ return t.Subscribe = ((e) => hxe({...e,source: e.source ?? t.store- })), t.FlexRender = exe, {+ })), t.FlexRender = ixe, {table: t,- rootSource: mxe(t.store, iq)+ rootSource: vxe(t.store, eq)};}), i = n;- Rq(i, (t) => ({+ Pq(i, (t) => ({...t,...e}), { syncExternalState: !1 });- let a = i.options.state, o = r.get(), s = sq(r, t, { compare: iq });- return SCe(() => {- r.markCommitted(o), Lq(i, a ?? null, iq);+ let a = i.options.state, o = r.get(), s = rq(r, t, { compare: eq });+ return ECe(() => {+ r.markCommitted(o), Nq(i, a ?? null, eq);}), (0, F.useMemo)(() => ({...n,options: e,@@ -60245,10 +60245,10 @@ 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 IJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, I.jsx)("div", {className: q("w-full overflow-x-auto", n),- children: /* @__PURE__ */ (0, I.jsx)(Kme, {+ children: /* @__PURE__ */ (0, I.jsx)(Jme, {ref: r,...i,className: q("bui-table", e === "sm" && "bui-table-sm", t)@@ -60256,7 +60256,7 @@ function BJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i});}// src/react/catalog-grid/catalog-table-columns.ts-var VJ = "peach.catalog-column-widths.v1", HJ = "peach.catalog-column-visibility.v1", CCe = {+var LJ = "peach.catalog-column-widths.v1", RJ = "peach.catalog-column-visibility.v1", DCe = {select: {width: 48,min: 48,@@ -60322,13 +60322,13 @@ var VJ = "peach.catalog-column-widths.v1", HJ = "peach.catalog-column-visibilitymin: 144,max: 560}-}, wCe = {+}, OCe = {code: !1,o: !1,new: !1,played: !1,release: !1-}, TCe = {+}, kCe = {select: "选择",name: "作品",dur: "时长",@@ -60342,7 +60342,7 @@ var VJ = "peach.catalog-column-widths.v1", HJ = "peach.catalog-column-visibilityrelease: "发行时间",code: "番号",tags: "标签"-}, UJ = [+}, zJ = ["select","name","tags",@@ -60358,13 +60358,13 @@ var VJ = "peach.catalog-column-widths.v1", HJ = "peach.catalog-column-visibility"release"].map((e) => ({id: e,- label: TCe[e],- ...CCe[e],+ label: kCe[e],+ ...DCe[e],flex: e === "name",required: e === "select" || e === "name",- visible: wCe[e] !== !1+ visible: OCe[e] !== !1}));-function WJ(e) {+function BJ(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -60372,9 +60372,9 @@ function WJ(e) {return {};}}-function ECe() {- 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 ACe() {+ let e = BJ(LJ), t = BJ(RJ);+ return zJ.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,@@ -60385,41 +60385,41 @@ function ECe() {});}// src/react/library-processing/completion-row.ts-var GJ = "peach.catalog.completion-row";-function KJ() {+var VJ = "peach.catalog.completion-row";+function HJ() {try {- return localStorage.getItem(GJ) === "1";+ return localStorage.getItem(VJ) === "1";} catch {return !1;}}-function DCe(e) {+function jCe(e) {try {- e ? localStorage.setItem(GJ, "1") : localStorage.removeItem(GJ);+ e ? localStorage.setItem(VJ, "1") : localStorage.removeItem(VJ);} catch {}}-var OCe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";+var MCe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";// src/catalog-content-skeleton.ts-function qJ(e) {+function UJ(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 kCe(e) {- let t = ECe(), 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() ? OCe : "") + `<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 NCe(e) {+ let t = ACe(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${B(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${UJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${B(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (HJ() ? MCe : "") + `<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 oG() === "list" ? kCe(e) : ic(e, {+function WJ(e, t) {+ return nG() === "list" ? NCe(e) : rc(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 GJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let i = (0, F.useRef)(null);return (0, F.useEffect)(() => {let e = i.current?.querySelector(".overflow-x-auto") ?? null;- Lo(e), Ac(e);+ Io(e), kc(e);}), /* @__PURE__ */ (0, I.jsx)("div", {ref: i,"data-board-data-table": !0,@@ -60429,9 +60429,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 && eK(e, r) && n(r.dataset.key);+ r && XG(e, r) && n(r.dataset.key);} : void 0,- children: r ? /* @__PURE__ */ (0, I.jsx)(Wme, {+ children: r ? /* @__PURE__ */ (0, I.jsx)(Kme, {className: "relative min-w-0",onResize: r.resize,onResizeEnd: r.save,@@ -60440,8 +60440,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, I.jsx)(eW, {+function KJ({ prefix: e, renderValue: t, size: n, ...r }) {+ if (e == null) return /* @__PURE__ */ (0, I.jsx)(QU, {...r,size: n,renderValue: t@@ -60451,14 +60451,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, I.jsx)(eW, {+ return /* @__PURE__ */ (0, I.jsx)(QU, {...r,size: n,renderValue: a});}// src/react/components/table-pagination.tsx-function ZJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {+function qJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {return t <= 1 ? null : /* @__PURE__ */ (0, I.jsxs)("nav", {"aria-label": r,"data-pagination-layout": "",@@ -60473,7 +60473,7 @@ function ZJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {}),/* @__PURE__ */ (0, I.jsx)("ul", {className: "flex min-w-0 flex-wrap items-center justify-center gap-1",- children: mr(e, t).map((t, r) => /* @__PURE__ */ (0, I.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, I.jsx)("span", {+ children: pr(e, t).map((t, r) => /* @__PURE__ */ (0, I.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,className: "px-1 text-body-2-regular text-text-tertiary",children: "…"@@ -60497,11 +60497,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 JJ({ label: e, options: t, sorting: n, onChange: r }) {let i = n[0];return /* @__PURE__ */ (0, I.jsxs)("span", {className: "flex flex-none items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsxs)(XJ, {+ children: [/* @__PURE__ */ (0, I.jsxs)(KJ, {"aria-label": `${e}排序`,prefix: "排序",selectedKey: i?.id ?? "default",@@ -60511,10 +60511,10 @@ function QJ({ label: e, options: t, sorting: n, onChange: r }) {desc: i?.desc ?? !1}]);},- children: [/* @__PURE__ */ (0, I.jsx)(tW, {+ children: [/* @__PURE__ */ (0, I.jsx)($U, {id: "default",children: "默认顺序"- }), t.map((e) => /* @__PURE__ */ (0, I.jsx)(tW, {+ }), t.map((e) => /* @__PURE__ */ (0, I.jsx)($U, {id: e.id,children: e.label}, e.id))]@@ -60522,7 +60522,7 @@ function QJ({ label: e, options: t, sorting: n, onChange: r }) {variant: "secondary",iconOnly: !0,disabled: !i,- leadingIcon: uG,+ leadingIcon: oG,"data-icon-state": i?.desc ? "b" : "a","aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,onClick: () => {@@ -60534,7 +60534,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 YJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [10,20,50,@@ -60549,7 +60549,7 @@ function $J({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记children: `${l.toLocaleString()}–${u.toLocaleString()} / ${t.toLocaleString()} ${i}`}), /* @__PURE__ */ (0, I.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, I.jsx)(XJ, {+ children: [/* @__PURE__ */ (0, I.jsx)(KJ, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(n.pageSize),@@ -60559,11 +60559,11 @@ function $J({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记pageSize: Number(e)});},- children: o.map((e) => /* @__PURE__ */ (0, I.jsx)(tW, {+ children: o.map((e) => /* @__PURE__ */ (0, I.jsx)($U, {id: String(e),children: `每页 ${e} ${a}`}, e))- }), /* @__PURE__ */ (0, I.jsx)(ZJ, {+ }), /* @__PURE__ */ (0, I.jsx)(qJ, {label: `${e}分页`,page: c + 1,pages: s,@@ -60576,7 +60576,7 @@ function $J({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记});}// src/react/components/table-column-preferences.ts-function eY(e) {+function XJ(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -60584,17 +60584,17 @@ function eY(e) {return {};}}-function tY(e, t) {+function ZJ(e, t) {try {localStorage.setItem(e, JSON.stringify(t));} catch {}}-function ACe(e, t) {+function PCe(e, t) {let n = (e) => Object.fromEntries(Object.entries(t).map(([t, n]) => {let r = e[t];return [t, typeof r == "number" && Number.isFinite(r) ? Math.max(n.min, Math.min(n.max, r)) : n.flex ? "1fr" : n.width];})), [r, i] = (0, F.useState)(() => {- let r = eY(e);+ let r = XJ(e);for (let [e, n] of Object.entries(t)) n.flex && r[e] === n.width && delete r[e];return n(r);});@@ -60611,7 +60611,7 @@ function ACe(e, t) {...r,...Object.fromEntries(t)});- i(a), tY(e, a);+ i(a), ZJ(e, a);},reset: () => {i(n({}));@@ -60621,26 +60621,26 @@ function ACe(e, t) {}};}-function jCe(e, t, n, r = {}) {+function FCe(e, t, n, r = {}) {let i = (e) => ({...r,...Object.fromEntries(t.filter((t) => !n.includes(t) && typeof e[t] == "boolean").map((t) => [t, e[t] === !0]))- }), [a, o] = (0, F.useState)(() => i(eY(e)));+ }), [a, o] = (0, F.useState)(() => i(XJ(e)));return {visibility: a,change: (t) => {let n = i(typeof t == "function" ? t(a) : t);- o(n), tY(e, n);+ o(n), ZJ(e, n);}};}-function nY(e, t, n) {+function QJ(e, t, n) {let r = (0, F.useMemo)(() => Object.fromEntries(t.map((e) => [e.id, {width: e.width ?? 180,min: e.min ?? 96,max: e.max ?? (e.flex ? 2e3 : 800),flex: e.flex- }])), [t]), i = ACe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = jCe(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 = PCe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = FCe(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,@@ -60659,15 +60659,15 @@ function nY(e, t, n) {};}// src/react/catalog-grid/catalog-column-widths.ts-function MCe() {- return nY("catalog", UJ, {- widths: VJ,- visibility: HJ+function ICe() {+ return QJ("catalog", zJ, {+ widths: LJ,+ visibility: RJ});}// src/react/components/rating-stars.tsx-var rY = wV("star");-function iY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {+var $J = SV("star");+function eY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {let i = Math.max(0, Math.min(5, e)), a = Math.round(i);return /* @__PURE__ */ (0, I.jsx)("span", {"data-rating-stars": "",@@ -60690,25 +60690,25 @@ function iY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {onClick: () => {n || t(e);},- children: n === e ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: zs("正在保存评分") } }) : /* @__PURE__ */ (0, I.jsx)(rY, {})+ children: n === e ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Rs("正在保存评分") } }) : /* @__PURE__ */ (0, I.jsx)($J, {})}, e) : /* @__PURE__ */ (0, I.jsx)("span", {"data-rate": e,"data-on": String(i >= e),children: /* @__PURE__ */ (0, I.jsxs)("span", {"data-rating-icon": "",- children: [/* @__PURE__ */ (0, I.jsx)(rY, {}), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)($J, {}), /* @__PURE__ */ (0, I.jsx)("span", {"data-rating-fill": "",style: { width: `${Math.max(0, Math.min(1, i - e + 1)) * 100}%` },- children: /* @__PURE__ */ (0, I.jsx)(rY, {})+ children: /* @__PURE__ */ (0, I.jsx)($J, {})})]})}, e))});}// src/react/catalog-grid/catalog-table-controls.tsx-function NCe({ item: e, actions: t }) {- let { rating: n } = e, r = EH(), i = (0, F.useRef)(0), a = bP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {- _P(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {+function LCe({ item: e, actions: t }) {+ let { rating: n } = e, r = wH(), i = (0, F.useRef)(0), a = bP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {+ _P(e.id, { rating: t }), U.setQueryData(["item", e.id], (e) => e && {...e,rating: t});@@ -60720,11 +60720,11 @@ function NCe({ item: e, actions: t }) {role: "group","aria-label": o,title: o,- children: [/* @__PURE__ */ (0, I.jsx)(iY, {+ children: [/* @__PURE__ */ (0, I.jsx)(eY, {value: a,onRate: c,busyStar: r.busy ? Number(r.busy) : void 0- }), r.error ? /* @__PURE__ */ (0, I.jsx)(xV, {+ }), r.error ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -60737,7 +60737,7 @@ function NCe({ item: e, actions: t }) {}) : null]});}-function aY(e) {+function tY(e) {if (e == null || e === "") return "—";let t = String(e);if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;@@ -60752,7 +60752,7 @@ function aY(e) {});}// src/react/components/selection-actions.tsx-function oY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {+function nY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-selection-actions": "","data-action-layout": t,@@ -60764,10 +60764,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, I.jsx)(TH, {+ }, e.label) : /* @__PURE__ */ (0, I.jsx)(CH, {size: "small",href: e.href,- trailingIcon: jB,+ trailingIcon: kB,className: t === "inline" ? "shrink-0" : "w-full",disabled: e.disabled,onClick: r,@@ -60776,15 +60776,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, F.useRef)(null), [l, u] = (0, F.useState)(!1), d = /* @__PURE__ */ (0, I.jsx)(oY, {+function rY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {+ let c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), d = /* @__PURE__ */ (0, I.jsx)(nY, {actions: a,layout: o,onNavigate: () => u(!1)}, "actions"), f = /* @__PURE__ */ (0, I.jsx)("div", {"data-selection-options": "",className: "flex min-w-0 flex-col gap-1",- children: r.length ? r.map((e) => /* @__PURE__ */ (0, I.jsx)(XV, {+ children: r.length ? r.map((e) => /* @__PURE__ */ (0, I.jsx)(JV, {isSelected: e.selected,className: "min-w-0 [&>span:last-child]:min-w-0 [&>span:last-child]:wrap-anywhere",isDisabled: e.disabled,@@ -60804,14 +60804,14 @@ function sY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,"aria-label": t,onClick: () => u(!0),children: t- }), /* @__PURE__ */ (0, I.jsx)(wz, {+ }), /* @__PURE__ */ (0, I.jsx)(Sz, {triggerRef: c,isOpen: l,onOpenChange: u,placement: "bottom end",offset: 4,- className: q(UV, "w-max overscroll-contain"),- children: ({ placement: t }) => /* @__PURE__ */ (0, I.jsx)(kH, {+ className: q(VV, "w-max overscroll-contain"),+ children: ({ placement: t }) => /* @__PURE__ */ (0, I.jsx)(DH, {"aria-label": e,"data-selection-placement": t ?? "bottom",className: "flex w-max max-w-full flex-col gap-2 outline-none",@@ -60820,13 +60820,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 iY({ preferences: e, label: t = "表格" }) {let n = e.columns.filter((e) => !e.required);return /* @__PURE__ */ (0, I.jsxs)("div", {role: "group","aria-label": `${t}列设置`,className: "flex flex-none gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(sY, {+ children: [/* @__PURE__ */ (0, I.jsx)(rY, {label: `${t}显示列`,triggerLabel: "显示列",actionLayout: "fullWidth",@@ -60854,39 +60854,39 @@ function cY({ preferences: e, label: t = "表格" }) {})]});}-function lY({ preferences: e, id: t }) {+function aY({ preferences: e, id: t }) {let n = e.columns.find((e) => e.id === t);- return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(the, { "aria-label": `调整${n.label}列宽` }) : null;+ return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(rhe, { "aria-label": `调整${n.label}列宽` }) : null;}// src/react/components/table-selection-header.tsx-function uY(e, t) {+function oY(e, t) {let n = (t ? e.getPaginatedRowModel() : e.getFilteredRowModel()).flatRows.filter((e) => e.getCanSelect()), r = n.filter((e) => e.getIsSelected()).length;return {all: n.length > 0 && r === n.length,some: r > 0 && r < n.length};}-function dY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {- let { all: i, some: a } = uY(e, n);- return /* @__PURE__ */ (0, I.jsx)(XV, {+function sY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {+ let { all: i, some: a } = oY(e, n);+ return /* @__PURE__ */ (0, I.jsx)(JV, {slot: null,"aria-label": t,isDisabled: r,isSelected: i,isIndeterminate: a,onChange: () => {- let t = !uY(e, n).all;+ let t = !oY(e, n).all;n ? e.toggleAllPageRowsSelected(t) : e.toggleAllRowsSelected(t);}});}// src/react/catalog-grid/catalog-list-page.tsx-var PCe = Bq({- rowSortingFeature: RJ,- rowSelectionFeature: TJ,- rowPaginationFeature: iJ,- columnVisibilityFeature: Jq-}), FCe = [+var RCe = Iq({+ rowSortingFeature: PJ,+ rowSelectionFeature: xJ,+ rowPaginationFeature: eJ,+ columnVisibilityFeature: Wq+}), zCe = [{id: "name",label: "名称"@@ -60923,12 +60923,12 @@ var PCe = Bq({id: "played",label: "观看时间"}-], fY = /* @__PURE__ */ new Map();-function ICe(e) {- let t = MCe(), n = $G(), r = pP(e.filters || {}, !1), [i] = (0, F.useState)(() => {+], cY = /* @__PURE__ */ new Map();+function BCe(e) {+ let t = ICe(), n = YG(), r = pP(e.filters || {}, !1), [i] = (0, F.useState)(() => {let t = new URLSearchParams(r);return new URLSearchParams(location.search).has("seed") || t.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${t}`;- }), [a, o] = (0, F.useState)(() => fY.get(i) || {+ }), [a, o] = (0, F.useState)(() => cY.get(i) || {sorting: [],pagination: {pageIndex: 0,@@ -60936,9 +60936,9 @@ function ICe(e) {}}), { sorting: s, pagination: c } = a;(0, F.useEffect)(() => {- fY.set(i, a);+ cY.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 = Nt({queryKey: ["catalog-grid","table",@@ -60948,7 +60948,7 @@ function ICe(e) {c,s],- placeholderData: ke,+ placeholderData: Oe,queryFn: async ({ signal: t }) => {let n = {limit: c.pageSize,@@ -60960,11 +60960,11 @@ function ICe(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), V(`/api/items?${i}`, t);}- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : WK(f, e.layout.javImage), [h] = (0, F.useState)(KJ);+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : BK(f, e.layout.javImage), [h] = (0, F.useState)(HJ);(0, F.useEffect)(() => {- d.data && !d.isPlaceholderData && DCe(m.length > 0);+ d.data && !d.isPlaceholderData && jCe(m.length > 0);}, [d.data,d.isPlaceholderData,@@ -60996,19 +60996,19 @@ function ICe(e) {p,c.pageIndex]);- let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = zJ({- features: PCe,+ let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = FJ({+ features: RCe,columns: (0, F.useMemo)(() => {- let t = zq();+ let t = Fq();return t.columns([t.display({id: "select",- header: ({ table: e }) => /* @__PURE__ */ (0, I.jsx)(dY, {+ header: ({ table: e }) => /* @__PURE__ */ (0, I.jsx)(sY, {table: e,label: "全选本页作品",disabled: d.isPlaceholderData}),- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(XV, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(JV, {slot: null,"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,isDisabled: d.isPlaceholderData,@@ -61020,7 +61020,7 @@ function ICe(e) {id: "name",header: "作品",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(LCe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(VCe, {item: t.original,props: e,disabled: d.isPlaceholderData@@ -61057,7 +61057,7 @@ function ICe(e) {id: "dur",header: "时长",enableSorting: !0,- cell: ({ row: e }) => qn(e.original.duration) || "—"+ cell: ({ row: e }) => Kn(e.original.duration) || "—"}),t.display({id: "resolution",@@ -61071,13 +61071,13 @@ function ICe(e) {id: "size",header: "体积",enableSorting: !0,- cell: ({ row: e }) => e.original.size == null ? "—" : Yn(e.original.size)+ cell: ({ row: e }) => e.original.size == null ? "—" : Jn(e.original.size)}),t.accessor((e) => e.rating, {id: "rating",header: "评分",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(NCe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(LCe, {item: t.original,actions: e.actions})@@ -61098,13 +61098,13 @@ function ICe(e) {id: "played",header: "观看时间",enableSorting: !0,- cell: ({ row: e }) => aY(e.original.last_played)+ cell: ({ row: e }) => tY(e.original.last_played)}),t.accessor((e) => e.first_seen, {id: "new",header: "入库时间",enableSorting: !0,- cell: ({ row: e }) => aY(e.original.first_seen)+ cell: ({ row: e }) => tY(e.original.first_seen)}),t.accessor((e) => e.release_date, {id: "release",@@ -61164,9 +61164,9 @@ function ICe(e) {"aria-label": "作品列表工具栏",children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, I.jsx)(cY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)(QJ, {+ children: [/* @__PURE__ */ (0, I.jsx)(iY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)(JJ, {label: "作品列表",- options: FCe,+ options: zCe,sorting: s,onChange: (e) => _.setSorting(e)})]@@ -61176,21 +61176,21 @@ function ICe(e) {"data-completion-skeleton": "","aria-hidden": "true",className: "skeleton-sheen"- }) : null : /* @__PURE__ */ (0, I.jsx)(GK, {+ }) : null : /* @__PURE__ */ (0, I.jsx)(VK, {className: "",assetIds: m}),- d.isError ? /* @__PURE__ */ (0, I.jsx)(zG, {- message: bn(d.error),+ d.isError ? /* @__PURE__ */ (0, I.jsx)(FG, {+ message: yn(d.error),onRetry: () => void d.refetch()}) : null,- /* @__PURE__ */ (0, I.jsx)(YJ, {+ /* @__PURE__ */ (0, I.jsx)(GJ, {follow: !0,preferences: t,onRowClick: e.selectMode ? (t) => {d.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);} : void 0,- children: /* @__PURE__ */ (0, I.jsxs)(BJ, {+ children: /* @__PURE__ */ (0, I.jsxs)(IJ, {"aria-label": "作品列表",size: "sm",sortDescriptor: u ? {@@ -61201,48 +61201,48 @@ function ICe(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, I.jsxs)(fB, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(pB, {+ children: [/* @__PURE__ */ (0, I.jsxs)(uB, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(dB, {id: e.id,isRowHeader: e.id === "name",allowsSorting: e.column.getCanSort(),...t.columnProps(e.id),children: ({ sortDirection: n }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex items-center gap-0.5",- children: [KK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, I.jsx)("span", {+ children: [HK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, I.jsx)("span", {"data-sort-indicator": !0,"data-direction": n || void 0,- children: /* @__PURE__ */ (0, I.jsx)(BV, {})+ children: /* @__PURE__ */ (0, I.jsx)(RV, {})}) : null]- }), /* @__PURE__ */ (0, I.jsx)(lY, {+ }), /* @__PURE__ */ (0, I.jsx)(aY, {preferences: t,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, I.jsx)(pB, {+ }, e.id)), /* @__PURE__ */ (0, I.jsx)(dB, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: t.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, I.jsx)(gB, {+ })] }), /* @__PURE__ */ (0, I.jsx)(mB, {renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(yB, {+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(_B, {id: `skeleton-${t}`,"data-list-skeleton-row": "","aria-hidden": "true",- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(xB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: qJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(xB, { "data-table-space": "" })]- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(yB, {+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(yB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: UJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(yB, { "data-table-space": "" })]+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(_B, {id: e.id,"data-catalog-row": "","data-id": e.original.id,"data-guide-video": (!e.original.medium || e.original.medium === "video") && e.original.location !== "online" && !String(e.original.name || "").toLowerCase().endsWith(".iso") ? "" : void 0,"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(xB, { children: KK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(xB, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(yB, { children: HK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(yB, { "data-table-space": "" })]}, e.id))})]})}),- d.data ? /* @__PURE__ */ (0, I.jsx)($J, {+ d.data ? /* @__PURE__ */ (0, I.jsx)(YJ, {label: "作品列表",total: p,pagination: c,@@ -61253,10 +61253,10 @@ function ICe(e) {]});}-function LCe({ item: e, props: t, disabled: n }) {- let r = wo(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() || "未命名作品";- gL();- let { avatar: l, who: u } = cK(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = $G({ 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, I.jsx)("svg", {+function VCe({ item: e, props: t, disabled: n }) {+ let r = Co(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() || "未命名作品";+ mL();+ let { avatar: l, who: u } = iK(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = YG({ 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, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })@@ -61281,9 +61281,9 @@ function LCe({ item: e, props: t, disabled: n }) {children: /* @__PURE__ */ (0, I.jsxs)("span", {"data-list-picture": "",children: [- r.html ? /* @__PURE__ */ (0, I.jsx)(iW, {+ r.html ? /* @__PURE__ */ (0, I.jsx)(nW, {artwork: r,- relayout: (e) => Tl(e, "small")+ relayout: (e) => wl(e, "small")}) : /* @__PURE__ */ (0, I.jsx)("span", { children: "无预览" }),i && !a ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-group": "",@@ -61336,7 +61336,7 @@ function LCe({ item: e, props: t, disabled: n }) {children: [p?.name ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-list-library": "",title: `媒体库:${p.name}`,- children: [/* @__PURE__ */ (0, I.jsx)(ZH, { mark: p.icon }), p.name]+ children: [/* @__PURE__ */ (0, I.jsx)(YH, { mark: p.icon }), p.name]}) : null, u]})]})@@ -61344,22 +61344,22 @@ function LCe({ item: e, props: t, disabled: n }) {});}// src/react/catalog-grid/catalog-grid-page.tsx-function pY(e) {- let t = sG();- if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(zCe, { ...e });+function lY(e) {+ let t = rG();+ if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(UCe, { ...e });let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${pP(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(ICe, { ...e }, n);+ if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(BCe, { ...e }, n);let r = e.mode === "entity" ? "entity" : `catalog:${!!e.wall}`;- return /* @__PURE__ */ (0, I.jsx)(BCe, { ...e }, r);+ return /* @__PURE__ */ (0, I.jsx)(WCe, { ...e }, r);}-function RCe({ name: e }) {+function HCe({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-function mY({ children: e, selectMode: t }) {+function uY({ children: e, selectMode: t }) {let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1);return (0, F.useLayoutEffect)(() => {let e = n.current;@@ -61375,8 +61375,8 @@ function mY({ children: e, selectMode: t }) {children: e});}-function zCe(e) {- let { actions: t } = e, n = (0, F.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, I.jsx)(uK, {+function UCe(e) {+ let { actions: t } = e, n = (0, F.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, I.jsx)(oK, {item: i,variant: r,layout: e.layout,@@ -61390,12 +61390,12 @@ function zCe(e) {return r === "next" ? /* @__PURE__ */ (0, I.jsx)("div", {"data-media-next-row": "",children: i- }) : /* @__PURE__ */ (0, I.jsx)(mY, {+ }) : /* @__PURE__ */ (0, I.jsx)(uY, {selectMode: e.selectMode,children: i});}-function BCe(e) {+function WCe(e) {let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Oue(e) : Due(e), [s] = (0, F.useState)(() => e.wall ? mP(o.queryKey) : void 0), c = JSON.stringify(o.queryKey), l = (0, F.useMemo)(() => e.restoreNavigation ? mP(o.queryKey) : void 0, [c, e.restoreNavigation]) || s || (i && e.initial ? {pages: [{...e.initial,@@ -61403,7 +61403,7 @@ function BCe(e) {offset: 0}],pageParams: [0]- } : void 0), u = It({+ } : void 0), u = Ft({queryKey: o.queryKey,queryFn: ({ pageParam: e, signal: t }) => o.queryFn({pageParam: e,@@ -61432,7 +61432,7 @@ function BCe(e) {e.mix,a,r.javImage- ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || Ibe(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && Abe(e.item) ? [e.item] : []), y = a ? [] : WK(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = VCe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);+ ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || Bbe(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && Pbe(e.item) ? [e.item] : []), y = a ? [] : BK(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = GCe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);(0, F.useLayoutEffect)(() => {if (!u.data || u.isPlaceholderData) return;let t = !0;@@ -61460,12 +61460,12 @@ function BCe(e) {let C = (0, F.useCallback)((e, t) => n.open(e, t), [n]), w = (0, F.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, F.useCallback)((e) => n.openShort(e), [n]), E = (0, F.useCallback)(async () => {let e = await u.fetchNextPage();if (e.isFetchNextPageError) throw e.error;- }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(UCe, {+ }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(qCe, {seed: i.seed,layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, I.jsx)(uK, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, I.jsx)(oK, {item: i.item,grouped: e.groupCollapse !== !1,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",@@ -61477,16 +61477,16 @@ function BCe(e) {actions: n,onOpen: a ? w : C}, i.item.id), O = () => {- if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(Gbe, {+ if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(Ybe, {sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${pP(e.filters || {}, !!e.excludeVertical)}`,items: v,finite: g,hasMore: !!u.hasNextPage,busy: u.isFetchingNextPage,loading: u.isPending || !u.data && u.isFetching,- error: !u.data && !u.isPending ? bn(u.error) : "",+ error: !u.data && !u.isPending ? yn(u.error) : "",retry: () => void u.refetch(),- emptyHtml: u.data && !v.length ? Jbe({+ emptyHtml: u.data && !v.length ? Qbe({libraryEmpty: !!u.data.pages[0]?.libraryEmpty,matches: h,hasMore: !!u.hasNextPage,@@ -61501,8 +61501,8 @@ function BCe(e) {javImage: r.javImage}, g ? "finite" : "explore");if (u.isPending) return null;- if (!u.data) return /* @__PURE__ */ (0, I.jsx)(zG, {- message: bn(u.error),+ if (!u.data) return /* @__PURE__ */ (0, I.jsx)(FG, {+ message: yn(u.error),onRetry: () => void u.refetch()});if (!f.length) {@@ -61518,12 +61518,12 @@ function BCe(e) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("div", {"data-media-sections": "","data-select-mode": e.selectMode ? "" : void 0,- children: Nue(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(mY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(HCe, {+ children: Nue(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(uY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(KCe, {cut: t.strip,props: e,onOpen: T}) : null] }, t.start))- }), u.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(hY, {+ }), u.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(dY, {entity: i,load: E,enabled: () => !u.isPlaceholderData && e.canLoadMore?.() !== !1@@ -61533,14 +61533,14 @@ function BCe(e) {ref: b,"data-media-body": "","aria-busy": u.isFetching && !u.isFetchingNextPage,- children: [/* @__PURE__ */ (0, I.jsx)(GK, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)(BG, {+ children: [/* @__PURE__ */ (0, I.jsx)(VK, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)(IG, {pending: u.isPending,skeletonHtml: e.skeletonHtml,children: O()})]});}-function hY({ entity: e, load: t, enabled: n, children: r }) {+function dY({ entity: e, load: t, enabled: n, children: r }) {let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(!1), s = (0, F.useRef)(!1), [c, l] = (0, F.useState)({busy: !1,error: ""@@ -61567,7 +61567,7 @@ function hY({ entity: e, load: t, enabled: n, children: r }) {} catch (e) {s.current = !0, i.current && l({busy: !1,- error: bn(e)+ error: yn(e)});} finally {o.current = !1;@@ -61582,7 +61582,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: RG });+ }, { rootMargin: PG });return a.current = t, t.observe(e), () => {t.disconnect(), a.current = null;};@@ -61604,15 +61604,15 @@ function hY({ entity: e, load: t, enabled: n, children: r }) {...p,hidden: !!c.error,onClick: () => void d(!0),- dangerouslySetInnerHTML: { __html: Vs(Bs) }- }), c.error ? /* @__PURE__ */ (0, I.jsx)(zG, {+ dangerouslySetInnerHTML: { __html: Bs(zs) }+ }), c.error ? /* @__PURE__ */ (0, I.jsx)(FG, {message: c.error,onRetry: () => void d(!0)}) : null] });}-function VCe(e, t, n, r, i) {+function GCe(e, t, n, r, i) {let a = ["catalog-short-layout", pP(e.filters || {}, !!e.excludeVertical)], o = `${a[1]}:${e.revision}`, s = () => {- let t = e.restoreNavigation ? H.getQueryData(a) : void 0, n = {+ let t = e.restoreNavigation ? U.getQueryData(a) : void 0, n = {parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()};@@ -61642,7 +61642,7 @@ function VCe(e, t, n, r, i) {let r = new AbortController();p.controllers.push(r);let i = n - 1;- B(`/api/items?${Mue(e.filters || {}, p.offset)}`, r.signal).then((e) => {+ V(`/api/items?${Mue(e.filters || {}, p.offset)}`, r.signal).then((e) => {if (c.current !== p || r.signal.aborted) return;let t = e.items || [];t.length ? f({@@ -61665,7 +61665,7 @@ function VCe(e, t, n, r, i) {total: d.total,items: _}];- p.cuts = y, H.setQueryData(a, {+ p.cuts = y, U.setQueryData(a, {cuts: y,offset: p.offset,handled: p.handled@@ -61675,7 +61675,7 @@ function VCe(e, t, n, r, i) {});}, [d]), m;}-function HCe({ cut: e, props: t, onOpen: n }) {+function KCe({ cut: e, props: t, onOpen: n }) {let r = (0, F.useRef)(null), { wireDrag: i } = t;return (0, F.useEffect)(() => {r.current && i(r.current);@@ -61691,12 +61691,12 @@ function HCe({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, I.jsx)(RCe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, I.jsx)(HCe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]})] }), /* @__PURE__ */ (0, I.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, I.jsx)(uK, {+ children: e.items.map((e) => /* @__PURE__ */ (0, I.jsx)(oK, {item: e,variant: "short",layout: t.layout,@@ -61711,17 +61711,17 @@ function HCe({ cut: e, props: t, onOpen: n }) {})]});}-function gY(e, t, n) {- return To(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);+function fY(e, t, n) {+ return wo(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function UCe({ seed: e, layout: t, helpers: n, actions: r }) {+function qCe({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, F.useRef)(/* @__PURE__ */ new Map()), a = (0, F.useRef)(t);a.current = t;- let o = jo(e, n.tagLabel), s = (0, F.useCallback)(async () => {+ let o = Ao(e, n.tagLabel), s = (0, F.useCallback)(async () => {let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => gP(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, I.jsx)(mK, {+ return i.current = new Map(n.map((e) => [String(e.id), fY(e, t, !0).html])), n.map((e) => String(e.id));+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = fY(e, t, !1);+ return /* @__PURE__ */ (0, I.jsx)(uK, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -61731,12 +61731,12 @@ function UCe({ 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 : fY(e, {...t,size: "small"}, !1).html,- relayoutArt: (e) => Tl(e, c),- ratio: sK(e, "grid", t),+ relayoutArt: (e) => wl(e, c),+ ratio: rK(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -61747,37 +61747,37 @@ function UCe({ seed: e, layout: t, helpers: n, actions: r }) {});}// src/react/media-sources.ts-async function _Y(e) {- await H.fetchQuery({- queryKey: vr,- queryFn: () => yr(e)+async function pY(e) {+ await U.fetchQuery({+ queryKey: _r,+ queryFn: () => vr(e)});}-var WCe = (e) => (e?.sources ?? []).filter((e) => _n.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), GCe = "/api/duplicates?limit=120", vY = ["duplicates"], yY = "/api/batch", bY = (e) => B(GCe, e), KCe = /[\s\-_.()[\]【】/\\]/;-function qCe(e) {+var JCe = (e) => (e?.sources ?? []).filter((e) => gn.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), YCe = "/api/duplicates?limit=120", mY = ["duplicates"], hY = "/api/batch", gY = (e) => V(YCe, e), XCe = /[\s\-_.()[\]【】/\\]/;+function ZCe(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 && !KCe.test(n[r - 1]);) --r;+ for (; r > 0 && !XCe.test(n[r - 1]);) --r;return r >= 8 ? n.slice(0, r) : "";}-var JCe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;-async function YCe(e) {- await Promise.all([H.fetchQuery({- queryKey: vY,- queryFn: () => bY(e)- }), _Y(e)]);+var QCe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;+async function $Ce(e) {+ await Promise.all([U.fetchQuery({+ queryKey: mY,+ queryFn: () => gY(e)+ }), pY(e)]);}-var XCe = {+var ewe = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, ZCe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), xY = (e, t) => ZCe(e, t).filter((t) => e.some((e) => e.location !== t)), QCe = (e, t) => t.filter((t) => e.some((e) => xY(e.files, [t]).length));-function $Ce(e, t) {+}, twe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), _Y = (e, t) => twe(e, t).filter((t) => e.some((e) => e.location !== t)), nwe = (e, t) => t.filter((t) => e.some((e) => _Y(e.files, [t]).length));+function rwe(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -61796,19 +61796,19 @@ function $Ce(e, t) {}return n;}-function ewe(e, t) {+function iwe(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 twe(e, t) {- for (let n = 0; n < e.length; n += 200) await V(yY, {+async function awe(e, t) {+ for (let n = 0; n < e.length; n += 200) await H(hY, {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"], nwe = {+var vY = "/api/media-repair", yY = ["media-repair"], bY = ["media-repair", "libraries"], owe = {status: "idle",library: "",stage: "",@@ -61820,39 +61820,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 rwe(e) {- await Promise.all([H.fetchQuery({- queryKey: CY,- queryFn: () => TY(e)- }), H.fetchQuery({- queryKey: wY,- queryFn: () => EY(e)+}, xY = (e) => V(vY, e), SY = async (e) => (await V("/api/libraries", e)).libraries || [];+async function swe(e) {+ await Promise.all([U.fetchQuery({+ queryKey: yY,+ queryFn: () => xY(e)+ }), U.fetchQuery({+ queryKey: bY,+ queryFn: () => SY(e)})]);}-var DY = (e) => Number(e).toLocaleString();-function iwe(e) {+var CY = (e) => Number(e).toLocaleString();+function cwe(e) {if (e.status === "running") {- let t = e.total ? `${DY(Math.min(e.checked || 0, e.total))} / ${DY(e.total)}` : "准备中";+ let t = e.total ? `${CY(Math.min(e.checked || 0, e.total))} / ${CY(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 ? `修好 ${CY(e.repaired)} 部,${CY(e.failed)} 部修不了` : `修好 ${CY(e.repaired)} 部` : "";}-var awe = (e) => `${DY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, owe = "/api/quality-goals?limit=200", OY = ["quality-goals"], kY = (e) => B(owe, e);-async function swe(e) {- await H.fetchQuery({- queryKey: OY,- queryFn: () => kY(e)+var lwe = (e) => `${CY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, uwe = "/api/quality-goals?limit=200", wY = ["quality-goals"], TY = (e) => V(uwe, e);+async function dwe(e) {+ await U.fetchQuery({+ queryKey: wY,+ queryFn: () => TY(e)});}-var cwe = (e) => e.has_cover ? co(e) : `/poster?id=${e.id}&c=4`;+var fwe = (e) => e.has_cover ? so(e) : `/poster?id=${e.id}&c=4`;// src/selection.ts-function AY(e, t, n, r, i, a = i || !e.has(r)) {+function EY(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 lwe = "/api/review", uwe = "/api/review/decision", dwe = "/api/review/genre", jY = ["review"], MY = {+var pwe = "/api/review", mwe = "/api/review/decision", hwe = "/api/review/genre", DY = ["review"], OY = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -61862,40 +61862,40 @@ var lwe = "/api/review", uwe = "/api/review/decision", dwe = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, fwe = Object.keys(MY), pwe = "metadata_fields", NY = (e) => typeof e == "string" && Object.hasOwn(MY, e), mwe = {+}, gwe = Object.keys(OY), _we = "metadata_fields", kY = (e) => typeof e == "string" && Object.hasOwn(OY, e), vwe = {creator_tags: "creator",western_identity: "creator"-}, PY = [+}, AY = ["pending","later","ignored"-], FY = {+], jY = {pending: "待处理",later: "稍后处理",ignored: "已忽略"-}, hwe = {+}, ywe = {approved: "已通过",rejected: "已忽略",skipped: "稍后处理"-}, IY = (e) => e === "later" || e === "ignored" ? e : "pending", LY = (e, t) => t === "pending" ? {+}, MY = (e) => e === "later" || e === "ignored" ? e : "pending", NY = (e, t) => t === "pending" ? {sections: e.sections,counts: e.counts} : e.queues[t];-function gwe(e, t) {+function bwe(e, t) {return {...e,- ...t(LY(e, "pending")),+ ...t(NY(e, "pending")),queues: {later: t(e.queues.later),ignored: t(e.queues.ignored)}};}-function _we(e, t) {+function xwe(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 RY(e, t) {+function PY(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -61912,43 +61912,43 @@ function RY(e, t) {}return [...n.values()];}-function vwe(e, t, n) {- return n && RY(e, t).find((e) => e.key === n)?.rows || e;+function Swe(e, t, n) {+ return n && PY(e, t).find((e) => e.key === n)?.rows || e;}-function ywe(e, t) {- let n = hr(e.length, 20), r = gr(t, n);+function Cwe(e, t) {+ let n = mr(e.length, 20), r = hr(t, n);return {page: r,pages: n,rows: e.slice((r - 1) * 20, r * 20)};}-function bwe(e) {+function wwe(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 xwe(e, t, n, r, i, a) {- return AY(e, t, n, r, i, a);+function Twe(e, t, n, r, i, a) {+ return EY(e, t, n, r, i, a);}-function Swe(e, t) {+function Ewe(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}-function zY(e, t) {+function FY(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}-var BY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function Cwe(e, t) {- let n = zY(e, t), r = BY(e, t);+var IY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";+function Dwe(e, t) {+ let n = FY(e, t), r = IY(e, t);return r ? `${n} · ${r}` : n;}-var wwe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Twe = (e) => String(e.tags || "").split("|").filter(Boolean), Ewe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function Dwe(e) {+var Owe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", kwe = (e) => String(e.tags || "").split("|").filter(Boolean), Awe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function jwe(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function Owe(e, t, n, r) {+function Mwe(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -61964,22 +61964,22 @@ function Owe(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var kwe = (e) => ({+var Nwe = (e) => ({approved: "已通过资料",rejected: "已忽略资料",skipped: "已移至稍后处理",restore: "已恢复待处理"})[e];-async function VY(e) {- let t = await B(lwe, e);- for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${FY[e]}状态未取得,请刷新或更新写入端`);+async function LY(e) {+ let t = await V(pwe, e);+ for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${jY[e]}状态未取得,请刷新或更新写入端`);return t;}-async function Awe(e) {- let t = await V(uwe, e);+async function Pwe(e) {+ let t = await H(mwe, e);if (t.ok && t.asset_revisions) {let e = t.asset_revisions;- H.setQueryData(jY, (t) => t && gwe(t, (t) => ({+ U.setQueryData(DY, (t) => t && bwe(t, (t) => ({...t,sections: {...t.sections,@@ -61995,33 +61995,33 @@ async function Awe(e) {}return t;}-function jwe(e, t) {- let n = H.getQueryData(jY);- return n && PY.flatMap((t) => LY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;+function Fwe(e, t) {+ let n = U.getQueryData(DY);+ return n && AY.flatMap((t) => NY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;}-var Mwe = (e, t) => V(dwe, {+var Iwe = (e, t) => H(hwe, {genre: e,tag: t});-async function Nwe(e) {- await H.fetchQuery({- queryKey: jY,- queryFn: () => VY(e)+async function Lwe(e) {+ await U.fetchQuery({+ queryKey: DY,+ queryFn: () => LY(e)});}-function Pwe(e, t, n) {+function Rwe(e, t, n) {let r = new Set(t);- r.size && H.setQueryData(jY, (t) => {+ r.size && U.setQueryData(DY, (t) => {if (!t) return t;- let i = PY.flatMap((n) => LY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));+ let i = AY.flatMap((n) => NY(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(PY.map((o) => {- let s = LY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({+ }[n], o = Object.fromEntries(AY.map((o) => {+ let s = NY(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: ""@@ -62048,272 +62048,272 @@ function Pwe(e, t, n) {};});}-var Fwe = () => H.invalidateQueries({- queryKey: jY,+var zwe = () => U.invalidateQueries({+ queryKey: DY,exact: !0});-function Iwe(e, t) {- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Sr(e.fetched_at)} 的缓存` : e?.error || t;+function Bwe(e, t) {+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${xr(e.fetched_at)} 的缓存` : e?.error || t;}// src/react/data-cleanup/links.ts-var Lwe = "/api/links", HY = "/api/links/check", UY = "/api/links/prune", WY = ["links"], GY = ["links", "check"], KY = ["links", "prune"], Rwe = {+var Vwe = "/api/links", RY = "/api/links/check", zY = "/api/links/prune", BY = ["links"], VY = ["links", "check"], HY = ["links", "prune"], Hwe = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",source_reference: "资料出处"};-async function qY(e) {+async function UY(e) {let t = await e;if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var JY = (e) => B(Lwe, e), YY = (e) => V(HY, { status_only: !0 }, "POST", e), zwe = ({ retry: e, checkId: t }) => qY(V(HY, e ? {+var WY = (e) => V(Vwe, e), GY = (e) => H(RY, { status_only: !0 }, "POST", e), Uwe = ({ retry: e, checkId: t }) => UY(H(RY, e ? {retry: e,check_id: t-} : { restart: !0 })), XY = (e) => B(UY, e), Bwe = ({ checkId: e, ids: t }) => qY(V(UY, {+} : { restart: !0 })), KY = (e) => V(zY, e), Wwe = ({ checkId: e, ids: t }) => UY(H(zY, {confirm: !0,check_id: e,background: !0,...t ? { ids: t } : {}-})), ZY = (e) => Number(e || 0).toLocaleString(), Vwe = (e) => `已删除 ${ZY(e.removed)} 条;${e.marked ? `已隐退女优的 ${ZY(e.marked)} 条留作不可点的记录;` : ""}保留 ${ZY(e.recovered)} 条未确认失效的链接。`;-function Hwe(e) {+})), qY = (e) => Number(e || 0).toLocaleString(), Gwe = (e) => `已删除 ${qY(e.removed)} 条;${e.marked ? `已隐退女优的 ${qY(e.marked)} 条留作不可点的记录;` : ""}保留 ${qY(e.recovered)} 条未确认失效的链接。`;+function Kwe(e) {let t = e.scope === "retry";- return e.total ? `${t ? "已重验" : "已检查"} ${ZY(e.checked)} / ${ZY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";+ return e.total ? `${t ? "已重验" : "已检查"} ${qY(e.checked)} / ${qY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}// src/configuration-endpoints.ts-var QY = "/api/configuration", $Y = "/api/pick-folder", eX = "/api/settings", tX = "/api/follow/schedule", nX = "/api/feeds/schedule", rX = "/api/thumbnail-jobs", iX = ["settings"], aX = ["follow-schedule"], oX = ["feed-schedule"], sX = ["thumbnail-jobs"], cX = "/api/media-processing", Uwe = ["media-processing"], Wwe = (e) => B(cX, e), lX = (e) => B(eX, e), Gwe = (e) => B(tX, e), Kwe = (e) => B(nX, e), qwe = (e) => B(rX, e);-function Jwe(e = H) {+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", qwe = ["media-processing"], Jwe = (e) => V(iX, e), aX = (e) => V(XY, e), Ywe = (e) => V(ZY, e), Xwe = (e) => V(QY, e), Zwe = (e) => V($Y, e);+function Qwe(e = U) {return e.fetchQuery({- queryKey: iX,- queryFn: ({ signal: e }) => lX(e),+ queryKey: eX,+ queryFn: ({ signal: e }) => aX(e),staleTime: 0}).catch(() => null);}-function uX() {- return Ft({- mutationFn: (e) => V(eX, e),- onSuccess: (e) => H.setQueryData(iX, e)+function oX() {+ return Pt({+ mutationFn: (e) => H(XY, e),+ onSuccess: (e) => U.setQueryData(eX, e)});}-function Ywe() {- return Ft({- mutationFn: (e) => V(tX, {+function $we() {+ return Pt({+ mutationFn: (e) => H(ZY, {enabled: e > 0,interval_minutes: e || 60}),- onSuccess: (e) => H.setQueryData(aX, e)+ onSuccess: (e) => U.setQueryData(tX, e)});}-var Xwe = {+var eTe = {follow: {- url: `${tX}/run`,- key: aX+ url: `${ZY}/run`,+ key: tX},feed: {- url: `${nX}/run`,- key: oX+ url: `${QY}/run`,+ key: nX}};-function Zwe(e) {- let { url: t, key: n } = Xwe[e];- return Ft({- mutationFn: () => V(t, {}),- onSuccess: (e) => H.setQueryData(n, e)+function tTe(e) {+ let { url: t, key: n } = eTe[e];+ return Pt({+ mutationFn: () => H(t, {}),+ onSuccess: (e) => U.setQueryData(n, e)});}-var Qwe = (e) => e?.running ? 3e3 : !1;-function $we() {- return Ft({- mutationFn: (e) => V(rX, { mode: e }),- onSuccess: (e) => H.setQueryData(sX, e)+var nTe = (e) => e?.running ? 3e3 : !1;+function rTe() {+ return Pt({+ mutationFn: (e) => H($Y, { mode: e }),+ onSuccess: (e) => U.setQueryData(rX, e)});}// src/react/data-cleanup/organize.ts-var eTe = "/api/organize", tTe = "/api/organize/preview", nTe = "/api/organize/apply", rTe = "/api/organize/rollback", dX = ["organize"], iTe = "/api/organize/example", aTe = (e, t, n) => B(`${iTe}?${new URLSearchParams({+var iTe = "/api/organize", aTe = "/api/organize/preview", oTe = "/api/organize/apply", sTe = "/api/organize/rollback", sX = ["organize"], cTe = "/api/organize/example", lTe = (e, t, n) => V(`${cTe}?${new URLSearchParams({file_template: e,dir_template: t-})}`, n), fX = (e) => B(eTe, e);-async function oTe(e) {- await H.fetchQuery({- queryKey: dX,- queryFn: () => fX(e)+})}`, n), cX = (e) => V(iTe, e);+async function uTe(e) {+ await U.fetchQuery({+ queryKey: sX,+ queryFn: () => cX(e)});}-var sTe = (e) => V(tTe, e), cTe = (e) => V($Y, { initial: e }), lTe = (e) => e.kind === "apply" ? V(nTe, {+var dTe = (e) => H(aTe, e), lX = (e) => H(YY, { initial: e }), fTe = (e) => e.kind === "apply" ? H(oTe, {...e.request,confirm: !0-}) : V(rTe, { confirm: !0 });-async function uTe(e) {- H.setQueryData(dX, (t) => t && {+}) : H(sTe, { confirm: !0 });+async function pTe(e) {+ U.setQueryData(sX, (t) => t && {...t,templates: e});try {- await V(eX, { organizeTemplates: e });+ await H(XY, { organizeTemplates: e });} catch {}}-var dTe = (e, t) => e && {+var mTe = (e, t) => e && {...e,...t-}, fTe = /目录模板|分隔符|盘符|`\.`/;-function pTe(e) {+}, hTe = /目录模板|分隔符|盘符|`\.`/;+function gTe(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}-var pX = (e) => Number(e || 0).toLocaleString();-function mTe(e) {- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${pX(t)}`).join(" · ");- return Number(e.counts?.change || 0) ? `${pX(e.counts.change)} 个文件会改名或移动,${pX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;+var uX = (e) => Number(e || 0).toLocaleString();+function _Te(e) {+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${uX(t)}`).join(" · ");+ return Number(e.counts?.change || 0) ? `${uX(e.counts.change)} 个文件会改名或移动,${uX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;}-function hTe(e) {+function vTe(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {- text: t ? `已退回 ${pX(r)} 个文件${n ? `,${pX(n)} 行未能退回` : ""}。` : `已整理 ${pX(r)} 个文件${n ? `,${pX(n)} 行未能处理` : ""}。`,+ text: t ? `已退回 ${uX(r)} 个文件${n ? `,${uX(n)} 行未能退回` : ""}。` : `已整理 ${uX(r)} 个文件${n ? `,${uX(n)} 行未能处理` : ""}。`,failed: n,rollback: t};}// src/react/data-cleanup/orphan-records.ts-var gTe = "/api/orphan-records", _Te = "/api/orphan-records/attach", mX = ["orphan-records"], vTe = [+var yTe = "/api/orphan-records", bTe = "/api/orphan-records/attach", dX = ["orphan-records"], xTe = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], hX = (e) => B(gTe, e), yTe = (e, t) => V(_Te, {+], fX = (e) => V(yTe, e), STe = (e, t) => H(bTe, {id: e,target: t-}), bTe = (e) => V(yY, {+}), CTe = (e) => H(hY, {ids: Array.isArray(e) ? e : [e],operation: "delete"-}), xTe = (e) => [+}), wTe = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], STe = (e) => [...vTe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...xTe(e)].filter(Boolean).join(" · "), CTe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", wTe = (e) => [e.name, CTe(e.duration)].filter(Boolean).join(" · "), gX = "/api/resource-sync/scan", _X = "/api/resource-sync/apply", vX = ["resource-sync", "scan"], yX = ["resource-sync", "apply"], bX = (e) => V(gX, {+], TTe = (e) => [...xTe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...wTe(e)].filter(Boolean).join(" · "), ETe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", DTe = (e) => [e.name, ETe(e.duration)].filter(Boolean).join(" · "), pX = "/api/resource-sync/scan", mX = "/api/resource-sync/apply", hX = ["resource-sync", "scan"], gX = ["resource-sync", "apply"], _X = (e) => H(pX, {background: !0,status_only: !0-}, "POST", e), TTe = () => V(gX, {+}, "POST", e), OTe = () => H(pX, {background: !0,restart: !0-}), xX = (e) => B(_X, e), ETe = (e) => V(_X, {+}), vX = (e) => V(mX, e), kTe = (e) => H(mX, {confirm: !0,clean_cache: !0,scan_id: e,background: !0-}), SX = (e) => (e?.sources ?? []).some((e) => gn.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);-async function DTe(e) {- SX(H.getQueryData(vr)) && await Promise.all([H.fetchQuery({- queryKey: vX,- queryFn: () => bX(e)- }), H.fetchQuery({- queryKey: yX,- queryFn: () => xX(e)+}), yX = (e) => (e?.sources ?? []).some((e) => hn.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);+async function ATe(e) {+ yX(U.getQueryData(_r)) && await Promise.all([U.fetchQuery({+ queryKey: hX,+ queryFn: () => _X(e)+ }), U.fetchQuery({+ queryKey: gX,+ queryFn: () => vX(e)})]);}-var OTe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), CX = (e) => Number(e || 0).toLocaleString(), kTe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", wX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), TX = (e) => e.vanish ? `${CX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", EX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", ATe = (e) => `将永久删除文件已不在盘上的 ${CX(wX(e))} 条记录和 ${CX(e.empty)} 个空文件夹,并清理 ${CX(e.cache?.files)} 个闲置缓存。${EX(e)}${TX(e)}`, jTe = (e) => `将永久删除文件已不在盘上的 ${CX(wX(e))} 条记录(含回收站里的)、${CX(e.empty)} 个空文件夹,并清理 ${CX(e.cache?.files)} 个闲置缓存。来源根目录保留。${EX(e)}${TX(e)}`, MTe = (e) => e.online ? [- `找不到文件 · 共 ${CX(e.total)} 项`,- e.vanish ? `${CX(e.vanish)} 项带个人记录` : "",- e.empty ? `空文件夹 ${CX(e.empty)} 个` : ""-].filter(Boolean).join(" · ") : `馆藏中有 ${CX(e.total)} 项`;-function DX(e) {+var jTe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), bX = (e) => Number(e || 0).toLocaleString(), MTe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", xX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), SX = (e) => e.vanish ? `${bX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", CX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", NTe = (e) => `将永久删除文件已不在盘上的 ${bX(xX(e))} 条记录和 ${bX(e.empty)} 个空文件夹,并清理 ${bX(e.cache?.files)} 个闲置缓存。${CX(e)}${SX(e)}`, PTe = (e) => `将永久删除文件已不在盘上的 ${bX(xX(e))} 条记录(含回收站里的)、${bX(e.empty)} 个空文件夹,并清理 ${bX(e.cache?.files)} 个闲置缓存。来源根目录保留。${CX(e)}${SX(e)}`, FTe = (e) => e.online ? [+ `找不到文件 · 共 ${bX(e.total)} 项`,+ e.vanish ? `${bX(e.vanish)} 项带个人记录` : "",+ e.empty ? `空文件夹 ${bX(e.empty)} 个` : ""+].filter(Boolean).join(" · ") : `馆藏中有 ${bX(e.total)} 项`;+function wX(e) {let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.vanished || 0) + Number(e.reattached || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");return {done: i,left: a,rest: [- t.length ? `${CX(t.length)} 条记录没有删除(${o})` : "",- n ? `${CX(n)} 个文件夹没有删除` : "",- r.length ? `${CX(r.length)} 个缓存没有清理` : ""+ t.length ? `${bX(t.length)} 条记录没有删除(${o})` : "",+ n ? `${bX(n)} 个文件夹没有删除` : "",+ r.length ? `${bX(r.length)} 个缓存没有清理` : ""].filter(Boolean).join(",")};}-var NTe = (e, t) => {- let { rest: n } = DX(e), r = `已永久删除 ${CX(e.purged)} 条失效记录和 ${CX(e.dirs_removed)} 个空文件夹,清理 ${CX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${CX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${CX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");+var ITe = (e, t) => {+ let { rest: n } = wX(e), r = `已永久删除 ${bX(e.purged)} 条失效记录和 ${bX(e.dirs_removed)} 个空文件夹,清理 ${bX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${bX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${bX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, OX = ["performer-delete-candidates"], kX = (e) => B("/api/performer/delete-candidates", e), PTe = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), FTe = (e) => V("/api/performer/delete", {+}, TX = ["performer-delete-candidates"], EX = (e) => V("/api/performer/delete-candidates", e), LTe = (e, t) => V(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), RTe = (e) => H("/api/performer/delete", {entity_ids: e.entity_ids,plan: e.plan-}), ITe = "/api/review?counts=1", AX = ["review", "counts"], LTe = "/api/ads?limit=1", jX = ["junk-summary"], MX = "/api/items?state=trash&limit=1", NX = ["trash-summary"], RTe = [+}), zTe = "/api/review?counts=1", DX = ["review", "counts"], BTe = "/api/ads?limit=1", OX = ["junk-summary"], kX = "/api/items?state=trash&limit=1", AX = ["trash-summary"], VTe = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], PX = (e) => B(ITe, e), FX = (e) => B(LTe, e), IX = (e) => {+], jX = (e) => V(zTe, e), MX = (e) => V(BTe, e), NX = (e) => {let t = sessionStorage.getItem("peach.library");- return B(t ? `${MX}&library=${encodeURIComponent(t)}` : MX, e);-}, LX = (e) => Number(e || 0).toLocaleString();-function zTe(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 V(t ? `${kX}&library=${encodeURIComponent(t)}` : kX, e);+}, PX = (e) => Number(e || 0).toLocaleString();+function HTe(e) {+ let t = OY, 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 BTe(e) {+function UTe(e) {if (!e) return "";- let t = RTe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${LX(e.counts[t])}`);- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${LX(e.dismissed_total)}`), t.join(" · ");-}-var VTe = [- [AX, ({ signal: e }) => PX(e)],- [OY, ({ signal: e }) => kY(e)],- [NX, ({ signal: e }) => IX(e)],- [jX, ({ signal: e }) => FX(e)],- [vY, ({ signal: e }) => bY(e)]+ let t = VTe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${PX(e.counts[t])}`);+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${PX(e.dismissed_total)}`), t.join(" · ");+}+var WTe = [+ [DX, ({ signal: e }) => jX(e)],+ [wY, ({ signal: e }) => TY(e)],+ [AX, ({ signal: e }) => NX(e)],+ [OX, ({ signal: e }) => MX(e)],+ [mY, ({ signal: e }) => gY(e)]];-async function HTe(e) {- for (let [t, n] of VTe) H.prefetchQuery({+async function GTe(e) {+ for (let [t, n] of WTe) U.prefetchQuery({queryKey: t,queryFn: () => n({ signal: e })});- await vH(e);+ await gH(e);}-async function UTe(e, t) {+async function KTe(e, t) {switch (e) {case "organize":- await oTe(t);+ await uTe(t);break;case "media-repair":- await rwe(t);+ await swe(t);break;case "resource-sync":- await _Y(t), await DTe(t);+ await pY(t), await ATe(t);break;case "orphan-records":- await H.prefetchQuery({- queryKey: mX,- queryFn: () => hX(t)+ await U.prefetchQuery({+ queryKey: dX,+ queryFn: () => fX(t)});break;case "batch-delete":- await H.prefetchQuery({- queryKey: OX,- queryFn: () => kX(t)+ await U.prefetchQuery({+ queryKey: TX,+ queryFn: () => EX(t)});break;case "links": await Promise.all([- H.prefetchQuery({- queryKey: WY,- queryFn: () => JY(t)+ U.prefetchQuery({+ queryKey: BY,+ queryFn: () => WY(t)}),- H.prefetchQuery({- queryKey: GY,- queryFn: () => YY(t)+ U.prefetchQuery({+ queryKey: VY,+ queryFn: () => GY(t)}),- H.prefetchQuery({- queryKey: KY,- queryFn: () => XY(t)+ U.prefetchQuery({+ queryKey: HY,+ queryFn: () => KY(t)})]);}}// src/react/feed-new/feed-new.ts-var RX = (e) => ["feed-new", e ?? "home"], WTe = 8, GTe = 1500;-function KTe(e, t, n) {+var FX = (e) => ["feed-new", e ?? "home"], qTe = 8, JTe = 1500;+function YTe(e, t, n) {let r = document.createElement("template");r.innerHTML = e;let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {@@ -62324,33 +62324,33 @@ function KTe(e, t, n) {setTimeout(e, n);})]);}-async function qTe(e, t, n) {+async function XTe(e, t, n) {let r = new URLSearchParams({ limit: String(lM().value.feedLimit) });e && r.set("entity", String(e));- let i = await wn(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);- return n && o.length && await KTe(s, WTe, GTe), {+ let i = await Cn(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);+ return n && o.length && await YTe(s, qTe, JTe), {items: o,html: s,fetching: o.some((e) => e.cover_fetching && !e.has_cover)};}-var zX = (e, t, n = !1) => ({- queryKey: RX(e),- queryFn: () => qTe(e, t, n),+var IX = (e, t, n = !1) => ({+ queryKey: FX(e),+ queryFn: () => XTe(e, t, n),staleTime: Infinity,refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1-}), BX = (e, t) => wn("/api/feeds/discovery", {+}), LX = (e, t) => Cn("/api/feeds/discovery", {method: "POST",body: JSON.stringify({action: t,ids: [e]})}).then(() => void 0, () => void 0);-async function JTe(e) {- H.removeQueries({ queryKey: RX(null) }), await H.fetchQuery(zX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));+async function ZTe(e) {+ U.removeQueries({ queryKey: FX(null) }), await U.fetchQuery(IX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}// src/react/entity-page/entity-page.ts-var VX = [+var RX = ["loc","creator","tag",@@ -62364,52 +62364,52 @@ var VX = ["browse","folder","folder_recursive"-], HX = {+], zX = {media: "videos",set: 0-}, UX = (e, t) => [+}, BX = (e, t) => ["entity",e,t-], YTe = (e, t, n, r) => [+], QTe = (e, t, n, r) => ["entity-items",e,t,n,r-], WX = (e, t, n, r) => [+], VX = (e, t, n, r) => ["entity-photos",e,t,n,r-], GX = (e) => String(e || "").split(",").filter(Boolean), XTe = (e, t) => GX(e).includes(t);-function KX(e, t, n, r, i = 0) {+], HX = (e) => String(e || "").split(",").filter(Boolean), $Te = (e, t) => HX(e).includes(t);+function UX(e, t, n, r, i = 0) {let a = new URLSearchParams();- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...GX(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 VX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...HX(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");+ for (let t of RX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);return r.jav && a.set("jav", "1"), a;}-async function qX(e, t, n, r, i, a, o) {- let s = KX(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 wn(`/api/items?${s}`, a ? { signal: a } : {});+async function WX(e, t, n, r, i, a, o) {+ let s = UX(e, t, n, r, i);+ return o && (s.set("limit", String(o.limit)), s.delete("count"), o.sort && s.set("sort", o.sort), o.dir && s.set("dir", o.dir)), await Cn(`/api/items?${s}`, a ? { signal: a } : {});}-var JX = (e) => {+var GX = (e) => {let t = {jav: e.jav,seed: e.seed- }, n = KX(e.kind, e.name, e.filters, t).toString();+ }, n = UX(e.kind, e.name, e.filters, t).toString();return {- queryKey: YTe(e.kind, e.name, n, e.revision),- queryFn: ({ signal: n }) => qX(e.kind, e.name, e.filters, t, 0, n),+ queryKey: QTe(e.kind, e.name, n, e.revision),+ queryFn: ({ signal: n }) => WX(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};-}, YX = (e, t) => ({- queryKey: UX(e, t),- queryFn: ({ signal: n }) => wn(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),+}, KX = (e, t) => ({+ queryKey: BX(e, t),+ queryFn: ({ signal: n }) => Cn(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});-function ZTe(e, t, n, r, i, a) {+function eEe(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)}` : ""}`;@@ -62418,10 +62418,10 @@ function ZTe(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 XX = (e, t, n, r) => ({- queryKey: WX(e, t, n, r),+var qX = (e, t, n, r) => ({+ queryKey: VX(e, t, n, r),queryFn: async ({ pageParam: i }) => {- let a = await wn(ZTe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {+ let a = await Cn(eEe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;return { error: String(e) };});@@ -62434,37 +62434,37 @@ var XX = (e, t, n, r) => ({seed: t[0]?.seed || ""} : void 0,staleTime: Infinity-}), ZX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];-async function QTe(e) {+}), JX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];+async function tEe(e) {let { kind: t, name: n } = e;if (!e.restoreNavigation) for (let e of ["entity","entity-items","entity-photos"- ]) H.removeQueries({ queryKey: [+ ]) U.removeQueries({ queryKey: [e,t,n] });- e.resolvedEntity?.id && H.setQueryData(UX(t, n), e.resolvedEntity), await Promise.all([- H.fetchQuery(YX(t, n)).then((t) => !t || t.error || !t.id ? null : (e.restoreNavigation || H.removeQueries({ queryKey: RX(Number(t.id)) }), H.fetchQuery(zX(Number(t.id), e.helpers.feedRowHtml, !0)))),- H.fetchQuery(JX(e)),- H.fetchInfiniteQuery(XX(t, n, 0, "")),- e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(XX(t, n, e.media.set, "")) : null+ e.resolvedEntity?.id && U.setQueryData(BX(t, n), e.resolvedEntity), await Promise.all([+ U.fetchQuery(KX(t, n)).then((t) => !t || t.error || !t.id ? null : (e.restoreNavigation || U.removeQueries({ queryKey: FX(Number(t.id)) }), U.fetchQuery(IX(Number(t.id), e.helpers.feedRowHtml, !0)))),+ U.fetchQuery(GX(e)),+ U.fetchInfiniteQuery(qX(t, n, 0, "")),+ e.media.media === "photos" && e.media.set ? U.fetchInfiniteQuery(qX(t, n, e.media.set, "")) : null]);}// src/identity-filter.ts-var QX = [+var YX = [["all", "全部"],["japanese_av", "女优"],["amateur", "素人"],["western", "西方"],["blogger", "网黄博主"],["animation", "动画作者"]-], $X = "mb-4 flex flex-wrap gap-2";-function $Te(e) {- let t = QX.some(([t]) => t === e) ? e : "all";- return `<div class="peach-react"><div aria-label="身份分类" class="${$X}">${QX.map(([e, n]) => Ds({+], XX = "mb-4 flex flex-wrap gap-2";+function nEe(e) {+ let t = YX.some(([t]) => t === e) ? e : "all";+ return `<div class="peach-react"><div aria-label="身份分类" class="${XX}">${YX.map(([e, n]) => Es({variant: e === t ? "primary" : "secondary",size: "small",label: n,@@ -62472,45 +62472,45 @@ function $Te(e) {})).join("")}</div></div>`;}// src/react/follow/online-vocab.ts-var eEe = "/api/follow/authors", tEe = "/api/follow/tags", nEe = (e) => [+var rEe = "/api/follow/authors", iEe = "/api/follow/tags", aEe = (e) => ["follow","authors",e-], rEe = (e, t) => [+], oEe = (e, t) => ["follow","tags",e,t];-function iEe(e, t, n) {+function sEe(e, t, n) {let r = new URLSearchParams({limit: String(t),offset: String(n)});- return e && r.set("q", e), `${eEe}?${r}`;+ return e && r.set("q", e), `${rEe}?${r}`;}-function aEe(e, t, n, r) {+function cEe(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), `${tEe}?${i}`;+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${iEe}?${i}`;}-var oEe = (e, t, n, r) => B(iEe(e, t, n), r), sEe = (e, t, n, r, i) => B(aEe(e, t, n, r), i), cEe = "/api/index", eZ = {+var lEe = (e, t, n, r) => V(sEe(e, t, n), r), uEe = (e, t, n, r, i) => V(cEe(e, t, n, r), i), dEe = "/api/index", ZX = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",series: "系列",tags: "标签"-}, lEe = {+}, fEe = {performers: "performer",creators: "creator",studios: "studio",agencies: "agency",series: "series"-}, tZ = [+}, QX = [["all", "全部"],["meta", "影片属性"],["relationship", "人物关系"],@@ -62520,31 +62520,31 @@ var oEe = (e, t, n, r) => B(iEe(e, t, n), r), sEe = (e, t, n, r, i) => B(aEe(e,["story", "故事剧情"],["position", "性交体位"],["general", "其他内容"]-], nZ = [+], $X = [["all", "全部"],["general", "通用"],["artist", "创作者"],["character", "角色"],["copyright", "作品"],["metadata", "元数据"]-], rZ = {+], eZ = {people: 120,tags: 100-}, iZ = (e) => e !== "tags", aZ = (e) => e === "studios" || e === "agencies";-function oZ(e) {- if (e.kind === "creators" && e.category === "animation") return oZ({+}, tZ = (e) => e !== "tags", nZ = (e) => e === "studios" || e === "agencies";+function rZ(e) {+ if (e.kind === "creators" && e.category === "animation") return rZ({...e,kind: "performers",scope: "local"});- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? nZ : tZ : e.kind === "performers" && t === "local" ? QX : []).some(([t]) => t === e.category);+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? $X : QX : e.kind === "performers" && t === "local" ? YX : []).some(([t]) => t === e.category);return {...e,scope: t,category: n ? e.category : "all"};}-function sZ(e) {+function iZ(e) {let { kind: t, q: n, scope: r, category: i } = e;return t === "tags" ? r === "online" ? {what: "online-tags",@@ -62564,51 +62564,51 @@ function sZ(e) {...i && i !== "all" ? { category: i } : {}};}-var cZ = (e, t, n = "all") => [+var aZ = (e, t, n = "all") => ["index",e,t,...e === "tags" || n !== "all" ? [n] : []];-function lZ(e, t, n, r, i) {+function oZ(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), `${cEe}?${a}`;+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${dEe}?${a}`;}-function uZ(e, t = rZ.tags) {- let n = e.what === "people" || e.what === "online-authors" ? rZ.people : t, r = {+function sZ(e, t = eZ.tags) {+ let n = e.what === "people" || e.what === "online-authors" ? eZ.people : t, r = {initialPageParam: 0,getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0};switch (e.what) {case "people": return {...r,- queryKey: cZ(e.kind, e.q, e.category || "all"),- queryFn: ({ pageParam: t, signal: r }) => B(lZ(e.kind, e.q, e.category || "all", n, t), r)+ queryKey: aZ(e.kind, e.q, e.category || "all"),+ queryFn: ({ pageParam: t, signal: r }) => V(oZ(e.kind, e.q, e.category || "all", n, t), r)};case "tags": return {...r,- queryKey: cZ("tags", e.q, e.category),- queryFn: ({ pageParam: t, signal: r }) => B(lZ("tags", e.q, e.category, n, t), r)+ queryKey: aZ("tags", e.q, e.category),+ queryFn: ({ pageParam: t, signal: r }) => V(oZ("tags", e.q, e.category, n, t), r)};case "online-authors": return {...r,- queryKey: nEe(e.q),- queryFn: ({ pageParam: t, signal: r }) => oEe(e.q, n, t, r)+ queryKey: aEe(e.q),+ queryFn: ({ pageParam: t, signal: r }) => lEe(e.q, n, t, r)};case "online-tags": return {...r,- queryKey: rEe(e.q, e.category),- queryFn: ({ pageParam: t, signal: r }) => sEe(e.q, e.category, n, t, r)+ queryKey: oEe(e.q, e.category),+ queryFn: ({ pageParam: t, signal: r }) => uEe(e.q, e.category, n, t, r)};}}-async function uEe(e, t) {- let n = uZ(sZ(oZ(e)));- await H.fetchInfiniteQuery({+async function pEe(e, t) {+ let n = sZ(iZ(rZ(e)));+ await U.fetchInfiniteQuery({queryKey: n.queryKey,queryFn: ({ pageParam: e }) => n.queryFn({pageParam: e,@@ -62619,20 +62619,20 @@ async function uEe(e, t) {staleTime: Infinity});}-var dEe = (e) => e ? e.pages.flatMap((e) => e.items) : [], fEe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, dZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", pEe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, mEe = {+var mEe = (e) => e ? e.pages.flatMap((e) => e.items) : [], hEe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, cZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", gEe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, _Ee = {numeric: !0,sensitivity: "base"};-function fZ(e, t) {+function lZ(e, t) {let n = /* @__PURE__ */ new Map();- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", mEe))) {- let e = $n(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", _Ee))) {+ let e = Qn(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/index/index-people.tsx-function pZ({ html: e, face: t, company: n, big: r }) {+function uZ({ html: e, face: t, company: n, big: r }) {let i = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");@@ -62644,18 +62644,18 @@ function pZ({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var hEe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", gEe = wV("rss");-function mZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {+var vEe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", yEe = SV("rss");+function dZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",...o,"data-index-cell": "",onClick: a,- className: PU({+ className: MU({radius: "plain",padding: "none",interactive: !0,- className: `${hEe} ${n ? "items-stretch text-left" : "items-center text-center"}`+ className: `${vEe} ${n ? "items-stretch text-left" : "items-center text-center"}`}),children: [r,@@ -62664,10 +62664,10 @@ function mZ({ name: e, readout: t, big: n, children: r, following: i, onPress: arole: "img","aria-label": "已订阅新作",className: "index-feed-mark absolute top-4 right-4 z-2 inline-flex",- children: /* @__PURE__ */ (0, I.jsx)(rW, {+ children: /* @__PURE__ */ (0, I.jsx)(tW, {variant: "caption",color: "soft",- children: /* @__PURE__ */ (0, I.jsx)(gEe, {})+ children: /* @__PURE__ */ (0, I.jsx)(yEe, {})})}) : null,/* @__PURE__ */ (0, I.jsx)("span", {@@ -62683,9 +62683,9 @@ function mZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a]});}-function hZ({ kind: e, items: t, layout: n, props: r }) {- let i = aZ(e) || e === "series";- gL();+function fZ({ kind: e, items: t, layout: n, props: r }) {+ let i = nZ(e) || e === "series";+ mL();let a = n === "big";return /* @__PURE__ */ (0, I.jsx)("div", {"data-index-grid": "",@@ -62693,16 +62693,16 @@ function hZ({ kind: e, items: t, layout: n, props: r }) {"data-cells": i ? "company" : "people",className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,children: t.map((t) => {- let n = t.entity_kind || lEe[e], o = r.personAvatar(t, n, a);- return /* @__PURE__ */ (0, I.jsx)(mZ, {+ let n = t.entity_kind || fEe[e], o = r.personAvatar(t, n, a);+ return /* @__PURE__ */ (0, I.jsx)(dZ, {"data-k": t.k,"data-kind": n,- name: tn(n, t.k, t.entity_id),- readout: `${pEe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,+ name: en(n, t.k, t.entity_id),+ readout: `${gEe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,big: a,following: t.following,onPress: () => r.openEntity(n, t.k),- children: /* @__PURE__ */ (0, I.jsx)(pZ, {+ children: /* @__PURE__ */ (0, I.jsx)(uZ, {html: o.html,face: o.face,company: i,@@ -62712,24 +62712,24 @@ function hZ({ kind: e, items: t, layout: n, props: r }) {})});}-function _Ee({ items: e, layout: t, props: n }) {- gL();+function bEe({ items: e, layout: t, props: n }) {+ mL();let r = t === "big";return /* @__PURE__ */ (0, I.jsx)("div", {"data-index-grid": "","data-layout": t,"data-cells": "people",className: "index-grid-person gap-3",- children: e.map((e) => /* @__PURE__ */ (0, I.jsx)(mZ, {+ children: e.map((e) => /* @__PURE__ */ (0, I.jsx)(dZ, {"data-follow-author": e.key,"data-kind": "performer",- name: tn("creator", e.k, e.entity_id),+ name: en("creator", e.k, e.entity_id),readout: `${e.n.toLocaleString()} 项更新${e.held_by ? " · 待确认" : ""}`,big: r,onPress: () => {e.entity_id ? n.openEntity("creator", e.k) : e.held_by ? n.openEntity("creator", e.held_by) : n.openFollowAuthor(e.key);},- children: /* @__PURE__ */ (0, I.jsx)(pZ, {+ children: /* @__PURE__ */ (0, I.jsx)(uZ, {html: n.authorAvatar(e),company: !1,big: r@@ -62738,8 +62738,8 @@ function _Ee({ items: e, layout: t, props: n }) {});}// src/board-tooltip.ts-var gZ = (e) => e.replace(/\s+/g, " ").trim();-function _Z(e) {+var pZ = (e) => e.replace(/\s+/g, " ").trim();+function mZ(e) {let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;for (; r = t.nextNode();) {let e = r.parentElement;@@ -62747,12 +62747,12 @@ function _Z(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 gZ(n);+ return pZ(n);}-function vZ(e) {+function hZ(e) {let t = e.getBoundingClientRect();if (t.width && t.height) {- if (e.matches("a") && _Z(e) && !yZ(e)) {+ if (e.matches("a") && mZ(e) && !gZ(e)) {let t = document.createRange();t.selectNodeContents(e);let n = t.getBoundingClientRect();@@ -62765,7 +62765,7 @@ function vZ(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 yZ(e) {+function gZ(e) {if (e.matches(".middle-truncated") || e.querySelector(".middle-truncated") || [e, ...e.querySelectorAll("*")].some((e) => e.clientWidth > 0 && (e.scrollWidth > e.clientWidth + 1 || e.scrollHeight > e.clientHeight + 1))) return !0;let t = document.createRange();t.selectNodeContents(e);@@ -62776,19 +62776,19 @@ function yZ(e) {}return !1;}-function vEe() {+function xEe() {let e = document.createElement("div");e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);let t = null, n = "", r = null, i, a, o = !1, s = () => e.hasAttribute("data-copy-key") && !!document.querySelector("[data-copy-bar]"), c = () => s() && (o || !!e.querySelector("[data-copy-inline],[contenteditable]") || !!document.querySelector("[data-copy-choice],[data-copy-bar][aria-busy=\"true\"]")), l = (t) => {- let n = vZ(t), r = e.getBoundingClientRect();+ let n = hZ(t), r = e.getBoundingClientRect();n && (e.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left + (n.width - r.width) / 2))}px`, e.style.top = `${n.top >= r.height + 16 ? n.top - r.height - 8 : Math.min(innerHeight - r.height - 8, n.bottom + 8)}px`);}, u = () => {clearTimeout(a), !c() && (clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, e.removeAttribute("data-copy-key"), t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null);}, d = (a, o) => {if (c() || !(a instanceof Element)) return;let d = a.closest("[title]");- (!t?.contains(a) || d && !d.contains(t)) && d && !d.closest(".vjs-control") && d.title.trim() && (u(), t = d, n = d.title, r = d.getAttribute("aria-describedby"), d.removeAttribute("title"), (_Z(d) !== gZ(n) || yZ(d)) && (i = setTimeout(() => {- if (t !== d || !d.isConnected || !vZ(d)) return;+ (!t?.contains(a) || d && !d.contains(t)) && d && !d.closest(".vjs-control") && d.title.trim() && (u(), t = d, n = d.title, r = d.getAttribute("aria-describedby"), d.removeAttribute("title"), (mZ(d) !== pZ(n) || gZ(d)) && (i = setTimeout(() => {+ if (t !== d || !d.isConnected || !hZ(d)) return;(d.closest("dialog[open]") ?? document.body).append(e), e.textContent = n;let i = d.getAttribute("data-tooltip-copy-key");i ? e.setAttribute("data-copy-key", i) : e.removeAttribute("data-copy-key"), e.style.pointerEvents = s() ? "auto" : "", e.hidden = !1, e.showPopover(), l(d), d.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" "));@@ -62812,33 +62812,33 @@ function vEe() {}), document.addEventListener("keydown", (e) => {e.key === "Escape" && !c() && u();}), document.addEventListener("scroll", (n) => {- if (!t || !us(n, t)) return;- let r = vZ(t);+ if (!t || !ls(n, t)) return;+ let r = hZ(t);t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && l(t) : u();}, !0), window.addEventListener("resize", u);}// src/board-controls.ts-function bZ(e) {+function _Z(e) {let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;e.style.setProperty("--board-range-value", `${i}%`);}-var xZ = /* @__PURE__ */ new WeakSet();-function yEe() {- if (xZ.has(document)) return;- xZ.add(document);+var vZ = /* @__PURE__ */ new WeakSet();+function SEe() {+ if (vZ.has(document)) return;+ vZ.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(bZ), xEe(e), bEe(e);+ e.querySelectorAll("input[type=range]").forEach(_Z), wEe(e), CEe(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]") && bZ(t), e(t));+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && _Z(t), e(t));}).observe(document.body, {subtree: !0,childList: !0}), document.addEventListener("input", (e) => {- e.target instanceof HTMLInputElement && e.target.type === "range" && bZ(e.target);- }), vEe();+ e.target instanceof HTMLInputElement && e.target.type === "range" && _Z(e.target);+ }), xEe();}-function bEe(e) {+function CEe(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;@@ -62862,15 +62862,15 @@ function bEe(e) {r.observe(e);});}-var SZ = /* @__PURE__ */ new Map();-function xEe(e) {+var yZ = /* @__PURE__ */ new Map();+function wEe(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 = SZ.get(n) ?? null, i = () => {+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = yZ.get(n) ?? null, i = () => {let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");if (!i || !i.offsetWidth) return;let a = {@@ -62879,7 +62879,7 @@ function xEe(e) {w: i.offsetWidth,h: i.offsetHeight};- Uc(t, r, a, "x"), r = a, SZ.set(n, a);+ Hc(t, r, a, "x"), r = a, yZ.set(n, a);};e.addEventListener("change", i);let a = new MutationObserver(i);@@ -62895,8 +62895,8 @@ function xEe(e) {});}// src/react/photo-lightbox/photo-lightbox.ts-var CZ = "/vendor/swiper/14.4.0/", wZ = null, SEe = () => wZ ??= Promise.all([new Promise((e, t) => {- let n = `${CZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);+var bZ = "/vendor/swiper/14.4.0/", xZ = null, TEe = () => xZ ??= Promise.all([new Promise((e, t) => {+ let n = `${bZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();return;@@ -62910,11 +62910,11 @@ var CZ = "/vendor/swiper/14.4.0/", wZ = null, SEe = () => wZ ??= Promise.all([nereturn;}let r = document.createElement("script");- r.src = `${CZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);+ r.src = `${bZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);})]).then(([, e]) => e).catch((e) => {- throw wZ = null, e;+ throw xZ = null, e;});-function CEe(e, t, n) {+function EEe(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);@@ -62935,46 +62935,46 @@ function CEe(e, t, n) {}};}-var TZ = (e) => {+var SZ = (e) => {let t = Number(e) || 0;- return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Yn(t)).replace(" ", "\xA0") : "大小未知";-}, wEe = (e) => e.asset?.name || e.name || "未命名图片";-function TEe(e, t) {+ return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Jn(t)).replace(" ", "\xA0") : "大小未知";+}, DEe = (e) => e.asset?.name || e.name || "未命名图片";+function OEe(e, t) {let n = e.asset;- if (n) return [tr[n.location ?? ""] || n.location || "来源未知", TZ(n.size)].join(" · ");+ if (n) return [er[n.location ?? ""] || n.location || "来源未知", SZ(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";return [e.source || "在线图片",r,- e.size ? TZ(e.size) : ""+ e.size ? SZ(e.size) : ""].filter(Boolean).join(" · ");}// src/react/photo-lightbox/photo-lightbox-dialog.tsx-var EZ = null, DZ = null, EEe = 0;-function DEe() {- return DZ && EZ?.isConnected || (DZ?.unmount(), EZ = document.createElement("div"), EZ.className = "peach-react", EZ.dataset.photoLightboxHost = "", document.body.append(EZ), DZ = (0, Rt.createRoot)(EZ)), DZ;+var CZ = null, wZ = null, kEe = 0;+function AEe() {+ return wZ && CZ?.isConnected || (wZ?.unmount(), CZ = document.createElement("div"), CZ.className = "peach-react", CZ.dataset.photoLightboxHost = "", document.body.append(CZ), wZ = (0, Lt.createRoot)(CZ)), wZ;}-async function OZ(e, t, n) {+async function TZ(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {- r = await SEe();+ r = await TEe();} catch {window.open(t[e].src, "_blank", "noopener");return;}- let i = DEe();- (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(OEe, {+ let i = AEe();+ (0, It.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(jEe, {slides: t,index: e,Swiper: r,host: n ?? null- }, ++EEe)));+ }, ++kEe)));}-function kZ() {- DZ && (0, Lt.flushSync)(() => DZ.render(null));+function EZ() {+ wZ && (0, It.flushSync)(() => wZ.render(null));}-function OEe({ slides: e, index: t, Swiper: n, host: r }) {+function jEe({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, F.useId)(), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), [_, v] = (0, F.useState)(t), [y, b] = (0, F.useState)(100), [x, S] = (0, F.useState)({}), [C, w] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, F.useState)(!1), [k, A] = (0, F.useState)({at: t,text: ""@@ -63017,8 +63017,8 @@ function OEe({ slides: e, index: t, Swiper: n, host: r }) {v(this.activeIndex), i(this.activeIndex);} }});- i(t, 0), h.current = CEe(e, a, b);- let m = rl(e, f.current, p.current), _ = (e = !1) => {+ i(t, 0), h.current = EEe(e, a, b);+ let m = nl(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 = {@@ -63034,18 +63034,18 @@ function OEe({ 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) : kZ());+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : EZ());};return document.addEventListener("keydown", x, !0), () => {document.removeEventListener("keydown", x, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");};}, []), (0, F.useLayoutEffect)(() => {- m.current && bZ(m.current);+ m.current && _Z(m.current);}, [y]);let j = e[_], M = j.asset ?? null, ee = async (e) => {if (!M || !r || e.getAttribute("aria-busy") === "true") return;let t = _;- Yc(e), O(!0), A({+ Jc(e), O(!0), A({at: t,text: ""});@@ -63055,7 +63055,7 @@ function OEe({ slides: e, index: t, Swiper: n, host: r }) {text: await r.revealSource(M.id)});} finally {- Yc(e, !1), O(!1);+ Jc(e, !1), O(!1);}}, N = (e, t) => {t.naturalWidth && t.naturalHeight && !x[e] && S((n) => ({@@ -63071,19 +63071,19 @@ function OEe({ slides: e, index: t, Swiper: n, host: r }) {"data-photo-lightbox": "","data-has-strip": i ? "" : void 0,onCancel: (e) => {- e.preventDefault(), kZ();+ e.preventDefault(), EZ();},onClick: (e) => {let t = e.target;- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && kZ();+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && EZ();},children: [/* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-photo-close": "","aria-label": "关闭",- onClick: kZ,- dangerouslySetInnerHTML: { __html: R("x") }+ onClick: EZ,+ dangerouslySetInnerHTML: { __html: z("x") }}),/* @__PURE__ */ (0, I.jsxs)("div", {ref: s,@@ -63118,14 +63118,14 @@ function OEe({ slides: e, index: t, Swiper: n, host: r }) {type: "button","data-photo-nav": "back","aria-label": "上一张",- dangerouslySetInnerHTML: { __html: R("chevron-left") }+ dangerouslySetInnerHTML: { __html: z("chevron-left") }}),/* @__PURE__ */ (0, I.jsx)("button", {ref: d,type: "button","data-photo-nav": "fwd","aria-label": "下一张",- dangerouslySetInnerHTML: { __html: R("chevron-left") }+ dangerouslySetInnerHTML: { __html: z("chevron-left") }})]}),@@ -63141,7 +63141,7 @@ function OEe({ slides: e, index: t, Swiper: n, host: r }) {"aria-haspopup": "dialog","aria-label": "图片详情",title: "图片详情",- dangerouslySetInnerHTML: { __html: R("info") }+ dangerouslySetInnerHTML: { __html: z("info") }}),/* @__PURE__ */ (0, I.jsxs)("div", { children: [/* @__PURE__ */ (0, I.jsx)("div", {"data-photo-count": "",@@ -63160,7 +63160,7 @@ function OEe({ slides: e, index: t, Swiper: n, host: r }) {"data-zoom-step": "-1","aria-label": "缩小",onClick: () => P(y - 10),- dangerouslySetInnerHTML: { __html: R("zoom-out") }+ dangerouslySetInnerHTML: { __html: z("zoom-out") }}),/* @__PURE__ */ (0, I.jsx)("input", {ref: m,@@ -63177,7 +63177,7 @@ function OEe({ slides: e, index: t, Swiper: n, host: r }) {"data-zoom-step": "1","aria-label": "放大",onClick: () => P(y + 10),- dangerouslySetInnerHTML: { __html: R("zoom-in") }+ dangerouslySetInnerHTML: { __html: z("zoom-in") }}),/* @__PURE__ */ (0, I.jsx)("b", {"data-photo-zoom-readout": "",@@ -63189,7 +63189,7 @@ function OEe({ slides: e, index: t, Swiper: n, host: r }) {"aria-label": "适应窗口",title: "适应窗口",onClick: () => P("fit"),- dangerouslySetInnerHTML: { __html: R("maximize") }+ dangerouslySetInnerHTML: { __html: z("maximize") }}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -63218,10 +63218,10 @@ function OEe({ slides: e, index: t, Swiper: n, host: r }) {id: `${a}-title`,"data-middle-truncate": "",tabIndex: -1,- children: wEe(j)+ children: DEe(j)}, _), /* @__PURE__ */ (0, I.jsx)("span", {"data-photo-detail-meta": "",- children: TEe(j, x[_])+ children: OEe(j, x[_])})]}),/* @__PURE__ */ (0, I.jsx)("button", {@@ -63229,7 +63229,7 @@ function OEe({ slides: e, index: t, Swiper: n, host: r }) {"data-photo-reveal": "",hidden: !M || !r,onClick: (e) => void ee(e.currentTarget),- dangerouslySetInnerHTML: { __html: (D ? zs("正在定位") : R("folder-open")) + "<span>在资源管理器中显示</span>" }+ dangerouslySetInnerHTML: { __html: (D ? Rs("正在定位") : z("folder-open")) + "<span>在资源管理器中显示</span>" }}),/* @__PURE__ */ (0, I.jsx)("span", {"data-photo-status": "",@@ -63259,41 +63259,41 @@ function OEe({ slides: e, index: t, Swiper: n, host: r }) {});}// src/react/entity-body/entity-body-page.tsx-function kEe(e) {- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(AEe, {+function MEe(e) {+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(NEe, {roster: e.roster,props: e- }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(jEe, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(PEe, {+ }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(PEe, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(LEe, {photos: e.photos,props: e}, e.photos.revision) : null;}-var AZ = rZ.people;-function AEe({ roster: e, props: t }) {+var DZ = eZ.people;+function NEe({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, F.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity- }), [n, r]), [a, o] = (0, F.useState)(AZ), s = (0, F.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, F.useCallback)(async () => {- o((e) => e + AZ);+ }), [n, r]), [a, o] = (0, F.useState)(DZ), s = (0, F.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, F.useCallback)(async () => {+ o((e) => e + DZ);}, []);- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(hZ, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(fZ, {kind: e.kind,items: s,layout: e.layout,props: i- }), a < e.people.length ? /* @__PURE__ */ (0, I.jsx)(hY, {+ }), a < e.people.length ? /* @__PURE__ */ (0, I.jsx)(dY, {entity: !0,load: c,enabled: () => !0}, a) : null] });}-function jEe(e) {+function PEe(e) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-grid": "",- children: /* @__PURE__ */ (0, I.jsx)(BG, {+ children: /* @__PURE__ */ (0, I.jsx)(IG, {pending: !e.items,skeletonHtml: e.skeletonHtml,- children: e.items ? /* @__PURE__ */ (0, I.jsx)(pY, {+ children: e.items ? /* @__PURE__ */ (0, I.jsx)(lY, {mode: "entity",entityKey: e.listScope || `${e.kind}:${e.name}`,revision: e.revision,@@ -63315,33 +63315,33 @@ function jEe(e) {})});}-var MEe = (e) => Array.from({ length: e.n }, (t, n) => ({+var FEe = (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 || "官方样张"-})), jZ = (e) => e.sample === !0, MZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, NZ = (e) => jZ(e) ? `/sample-thumb?${MZ(e)}` : `/photo-thumb?id=${e.id}`, NEe = (e) => jZ(e) ? {- src: `/sample-image?${MZ(e)}`,- thumb: NZ(e),+})), OZ = (e) => e.sample === !0, kZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, AZ = (e) => OZ(e) ? `/sample-thumb?${kZ(e)}` : `/photo-thumb?id=${e.id}`, IEe = (e) => OZ(e) ? {+ src: `/sample-image?${kZ(e)}`,+ thumb: AZ(e),name: e.name,asset: null,source: e.source} : {src: `/photo?id=${e.id}`,- thumb: NZ(e),+ thumb: AZ(e),name: e.name || "",asset: e};-function PEe({ photos: e, props: t }) {- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(MEe), ...e.items], [e]), [s, c] = (0, F.useState)(() => /* @__PURE__ */ new Set()), l = (0, F.useCallback)((e) => c((t) => {+function LEe({ photos: e, props: t }) {+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(FEe), ...e.items], [e]), [s, c] = (0, F.useState)(() => /* @__PURE__ */ new Set()), l = (0, F.useCallback)((e) => c((t) => {if (t.has(e)) return t;let n = new Set(t);return n.add(e), n;}), []), u = (0, F.useCallback)((e) => {- OZ(e, o.map(NEe), { revealSource: i.revealSource });- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(FEe, {+ TZ(e, o.map(IEe), { revealSource: i.revealSource });+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(REe, {item: e,index: t,lost: s.has(t),@@ -63359,7 +63359,7 @@ function PEe({ photos: e, props: t }) {};}), h = p;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(PZ, {+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(jZ, {label: e.code,title: e.name,meta: [@@ -63371,7 +63371,7 @@ function PEe({ photos: e, props: t }) {...f,children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))})] }, e.code)),- m.length && e.total ? /* @__PURE__ */ (0, I.jsx)(PZ, {+ m.length && e.total ? /* @__PURE__ */ (0, I.jsx)(jZ, {label: "本地图片",meta: `${e.total.toLocaleString()} 张`}) : null,@@ -63380,14 +63380,14 @@ function PEe({ photos: e, props: t }) {"data-local-wall": "",children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))}),- e.hasMore ? /* @__PURE__ */ (0, I.jsx)(hY, {+ e.hasMore ? /* @__PURE__ */ (0, I.jsx)(dY, {entity: !0,load: i.loadMorePhotos,enabled: () => a?.() !== !1}, e.items.length) : null] });}-function PZ({ label: e, title: t, meta: n }) {+function jZ({ label: e, title: t, meta: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-photo-group": "",children: [@@ -63404,7 +63404,7 @@ function PZ({ label: e, title: t, meta: n }) {]});}-function FEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {+function REe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {let a = e.name ?? "";return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -63413,7 +63413,7 @@ function FEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {title: a,onClick: () => i(t),children: n ? null : /* @__PURE__ */ (0, I.jsx)("img", {- src: NZ(e),+ src: AZ(e),alt: a,loading: "lazy",decoding: "async",@@ -63423,23 +63423,23 @@ function FEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {});}// src/react/background-job.ts-var IEe = 2e3, LEe = (e) => e, REe = (e, t) => t;-function FZ(e) {- let { queryKey: t, jobOf: n = LEe, withJob: r = REe, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);+var zEe = 2e3, BEe = (e) => e, VEe = (e, t) => t;+function MZ(e) {+ let { queryKey: t, jobOf: n = BEe, withJob: r = VEe, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);(0, F.useEffect)(() => {l.current = e;});- let u = Pt({+ let u = Nt({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" ? IEe : i ?? !1;+ return t !== void 0 && n(t)?.status === "running" ? zEe : i ?? !1;}- }), d = Ft({+ }), d = Pt({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), U.setQueryData(t, (t) => r(t, e)), U.invalidateQueries({queryKey: t,exact: !0});@@ -63458,19 +63458,19 @@ function FZ(e) {};}// src/react/follow-feed/follow-check.ts-var IZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);-function zEe(e, t) {- return t ? IZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];+var NZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);+function HEe(e, t) {+ return t ? NZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];}// src/react/follow-feed/follow-check-button.tsx-function BEe({ sources: e, report: t }) {- let n = IZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = FZ({- queryKey: Rr,- queryFn: ({ signal: e }) => _i(e),- start: (e) => bi(e),- onError: (e) => i(cr(e)),+function UEe({ sources: e, report: t }) {+ let n = NZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = MZ({+ queryKey: Lr,+ queryFn: ({ signal: e }) => gi(e),+ start: (e) => yi(e),+ onError: (e) => i(sr(e)),onFinish: (e) => {- e.status === "failed" && i(e.error || "检查失败"), Bi(), H.invalidateQueries({ queryKey: ["follow-feed"] }), t(e);+ e.status === "failed" && i(e.error || "检查失败"), zi(), U.invalidateQueries({ queryKey: ["follow-feed"] }), t(e);}}), s = a || o.isPending;return /* @__PURE__ */ (0, I.jsxs)("div", {@@ -63478,38 +63478,38 @@ function BEe({ sources: e, report: t }) {children: [/* @__PURE__ */ (0, I.jsx)(J, {size: "small",disabled: !n.length,- ...EV(s),+ ...wV(s),onClick: () => {n.length && !s && (i(""), o.mutate(n));},children: "检查更新"- }), r ? /* @__PURE__ */ (0, I.jsx)(xV, {+ }), r ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",children: r}) : null]});}// src/react/follow-feed/follow-card.tsx-var VEe = (e) => Number(e) > 0;-function LZ({ name: e, actions: t, children: n, ...r }) {+var WEe = (e) => Number(e) > 0;+function PZ({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, I.jsx)("a", {...r,- href: Nn("creator", e),+ href: Mn("creator", e),onClick: (n) => {n.stopPropagation(), !(n.button || n.ctrlKey || n.metaKey || n.shiftKey || n.altKey) && (n.preventDefault(), t.openAuthor(e));},children: n});}-var RZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var FZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: mG(e) }+ dangerouslySetInnerHTML: { __html: uG(e) }});-function HEe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {+function GEe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {let [s, c] = (0, F.useState)(!1), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);return (0, F.useEffect)(() => {c(!1);- }, [o]), s ? /* @__PURE__ */ (0, I.jsx)(RZ, { provider: i }) : /* @__PURE__ */ (0, I.jsx)("img", {+ }, [o]), s ? /* @__PURE__ */ (0, I.jsx)(FZ, { provider: i }) : /* @__PURE__ */ (0, I.jsx)("img", {src: l ? t : e,alt: "",loading: "lazy",@@ -63528,8 +63528,8 @@ function HEe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a} : void 0});}-function UEe(e) {- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ha(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) => kye(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? _a(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ya({+function KEe(e) {+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ma(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) => Nye(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? ga(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = va({cover: p,coverFace: (f?.thumb_url ? f : u).face,stack: t.stack,@@ -63537,7 +63537,7 @@ function UEe(e) {limit: 9}), S = (0, F.useRef)(x.faces);S.current = x.faces;- let C = dK({+ let C = sK({load: async () => S.current,canFlip: () => S.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -63545,7 +63545,7 @@ function UEe(e) {w.current = C.onPointerLeave;let T = (0, F.useCallback)((e) => {e && (e._stopHover = () => w.current());- }, []), E = yG(u, n, i), D = hG(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = SG(u, i), j = xG(t, u), M = u.status === "saved", ee = (e) => {+ }, []), E = hG(u, n, i), D = dG(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = vG(u, i), j = _G(t, u), M = u.status === "saved", ee = (e) => {e.target.closest("[data-media-tag]") || (l.toggleSelection && (o || e.shiftKey || e.ctrlKey || e.metaKey) ? (e.preventDefault(), l.toggleSelection(u.id, e.shiftKey)) : l.openDetail(u.id));}, N = (e, t) => {e.stopPropagation(), t();@@ -63560,7 +63560,7 @@ function UEe(e) {"data-collection": x.isMix ? "" : void 0,"data-selected": a ? "" : void 0,onClick: ee,- onMouseDown: tK,+ onMouseDown: ZG,onMouseEnter: C.onPointerEnter,onMouseLeave: C.onPointerLeave,children: [@@ -63574,7 +63574,7 @@ function UEe(e) {}), /* @__PURE__ */ (0, I.jsxs)("div", {"data-media-pic": "",children: [- p ? /* @__PURE__ */ (0, I.jsx)(HEe, {+ p ? /* @__PURE__ */ (0, I.jsx)(GEe, {src: p,fallback: m,width: _?.width,@@ -63582,7 +63582,7 @@ function UEe(e) {provider: O,onLearn: v,retryKey: e.retryKey- }, p) : /* @__PURE__ */ (0, I.jsx)(RZ, { provider: O }),+ }, p) : /* @__PURE__ */ (0, I.jsx)(FZ, { provider: O }),x.faces.length > 1 ? /* @__PURE__ */ (0, I.jsx)("div", {"data-mix-faces": "",hidden: !C.faces.length,@@ -63602,7 +63602,7 @@ function UEe(e) {"data-media-badge": "",title: u.provider_label || u.provider,"aria-label": `来源:${u.provider_label || u.provider}`,- dangerouslySetInnerHTML: { __html: mG(u.provider, u.provider_label) }+ dangerouslySetInnerHTML: { __html: uG(u.provider, u.provider_label) }}), j ? /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: j }@@ -63613,11 +63613,11 @@ function UEe(e) {onClick: (e) => {e.preventDefault(), e.stopPropagation(), l.toggleSelection?.(u.id, e.shiftKey);},- dangerouslySetInnerHTML: { __html: R("check") }+ dangerouslySetInnerHTML: { __html: z("check") }}) : null,- VEe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {+ WEe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-duration": "",- children: qn(u.duration)+ children: Kn(u.duration)}) : null,o ? null : /* @__PURE__ */ (0, I.jsxs)("div", {"data-follow-corner": "",@@ -63627,7 +63627,7 @@ function UEe(e) {onClick: (e) => N(e, () => l.openDetail(b)),children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: R(x.glyph) }+ dangerouslySetInnerHTML: { __html: z(x.glyph) }}), x.label]}) : null, e.variant === "next" ? null : /* @__PURE__ */ (0, I.jsxs)("div", {"data-follow-actions": "",@@ -63641,7 +63641,7 @@ function UEe(e) {"aria-busy": s === "save" || void 0,"aria-disabled": s === "save" || void 0,onClick: (t) => N(t, () => e.onSave?.(u.id)),- dangerouslySetInnerHTML: { __html: R(M ? "check" : "bookmark-plus") }+ dangerouslySetInnerHTML: { __html: z(M ? "check" : "bookmark-plus") }}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -63653,7 +63653,7 @@ function UEe(e) {"aria-busy": s === "seen" || void 0,"aria-disabled": s === "seen" || void 0,onClick: (t) => N(t, () => e.onStatus?.(u.id, "seen")),- dangerouslySetInnerHTML: { __html: R("eye") }+ dangerouslySetInnerHTML: { __html: z("eye") }}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -63665,7 +63665,7 @@ function UEe(e) {"aria-busy": s === "ignored" || void 0,"aria-disabled": s === "ignored" || void 0,onClick: (t) => N(t, () => e.onStatus?.(u.id, "ignored")),- dangerouslySetInnerHTML: { __html: R("eye-off") }+ dangerouslySetInnerHTML: { __html: z("eye-off") }}),u.status === "seen" || u.status === "ignored" ? /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -63676,7 +63676,7 @@ function UEe(e) {"aria-busy": s === "new" || void 0,"aria-disabled": s === "new" || void 0,onClick: (t) => N(t, () => e.onStatus?.(u.id, "new")),- dangerouslySetInnerHTML: { __html: R("rotate-ccw") }+ dangerouslySetInnerHTML: { __html: z("rotate-ccw") }}) : null]})]@@ -63687,7 +63687,7 @@ function UEe(e) {/* @__PURE__ */ (0, I.jsxs)("div", {"data-media-meta": "",children: [- E.entityName ? /* @__PURE__ */ (0, I.jsx)(LZ, {+ E.entityName ? /* @__PURE__ */ (0, I.jsx)(PZ, {name: E.entityName,actions: l,"data-media-avatar": "",@@ -63706,12 +63706,12 @@ function UEe(e) {/* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-media-title": "",- dangerouslySetInnerHTML: { __html: bG(t, u) + z(D) }+ dangerouslySetInnerHTML: { __html: gG(t, u) + B(D) }}),/* @__PURE__ */ (0, I.jsxs)("div", {"data-follow-byline": "",children: [- E.entityName ? /* @__PURE__ */ (0, I.jsx)(LZ, {+ E.entityName ? /* @__PURE__ */ (0, I.jsx)(PZ, {name: E.entityName,actions: l,"data-follow-author": "",@@ -63724,8 +63724,8 @@ function UEe(e) {}),/* @__PURE__ */ (0, I.jsx)("time", {dateTime: u.published_at || "",- title: wG(u),- children: TG(u)+ title: bG(u),+ children: xG(u)}),E.credited ? /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-credit": "",@@ -63747,7 +63747,7 @@ function UEe(e) {"data-media-tag": "","data-tag-cat": `r34-${u.tag_types?.[e] || "unknown"}`,"data-follow-tag": e,- children: Il(e)+ children: Fl(e)}, e))})]@@ -63760,9 +63760,9 @@ function UEe(e) {]});}-var zZ = (0, F.memo)(UEe);+var IZ = (0, F.memo)(KEe);// src/react/components/use-masonry-grid.ts-function WEe(e, t) {+function qEe(e, t) {let n = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {let t = n.current;@@ -63797,37 +63797,37 @@ function WEe(e, t) {}, [e, t]), n;}// src/react/follow-manage/manage-route.ts-var BZ = [+var LZ = [["list", "关注列表"],["add", "添加关注"],["tags", "标签管理"]-], VZ = BZ.map(([e]) => e);-function HZ(e) {+], RZ = LZ.map(([e]) => e);+function zZ(e) {let t = new URLSearchParams(e), n = t.get("tab");return {- tab: VZ.find((e) => e === n) || "list",+ tab: RZ.find((e) => e === n) || "list",page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),sort: t.get("sort") || "",dir: t.get("dir") || ""};}-function UZ(e) {+function BZ(e) {let t = new URLSearchParams();return e.tab !== "list" && t.set("tab", e.tab), e.page > 1 && t.set("page", String(e.page)), e.sort && t.set("sort", e.sort), e.dir && t.set("dir", e.dir), "/subscriptions" + (t.size ? `?${t}` : "");}-function WZ(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" : UZ({- tab: t || HZ(e).tab,+function VZ(e, t) {+ return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : BZ({+ tab: t || zZ(e).tab,page: 1,sort: "",dir: ""});}// src/react/follow-feed/follow-feed-page.tsx-var GZ = () => /* @__PURE__ */ (0, I.jsx)("span", {+var HZ = () => /* @__PURE__ */ (0, I.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), GEe = wV("settings"), KZ = wV("chevron-down"), KEe = wV("history"), qEe = wV("arrow-up"), JEe = wV("arrow-down"), YEe = [[+}), JEe = SV("settings"), UZ = SV("chevron-down"), YEe = SV("history"), XEe = SV("arrow-up"), ZEe = SV("arrow-down"), QEe = [["fixed","固定比例","layout-grid"@@ -63836,19 +63836,19 @@ var GZ = () => /* @__PURE__ */ (0, I.jsx)("span", {"瀑布流","columns-2"]];-function XEe(e, t, n) {+function $Ee(e, t, n) {return (0, F.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 = sa([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = sa(o.works || [], (e) => e[0], n).slice(0, 24);+ let f = oa([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = oa(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 = sa([...u], (e) => e[0], n).slice(0, 20);+ let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = oa([...u], (e) => e[0], n).slice(0, 20);t.tags.forEach((e) => {h.some(([t]) => t === e) || h.push([e, u.get(e) || m]);});@@ -63856,7 +63856,7 @@ function XEe(e, t, n) {videos: 0,images: 0};- r.forEach((e) => ma(e).forEach((e) => {+ r.forEach((e) => pa(e).forEach((e) => {g[e === "image" ? "images" : "videos"] += 1;}));let _ = t.media === "images" ? "image" : "video";@@ -63871,7 +63871,7 @@ function XEe(e, t, n) {workRows: p,allCount: m,mediaCounts: g,- visible: r.filter((e) => ma(e).has(_)),+ visible: r.filter((e) => pa(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]])),@@ -63884,15 +63884,15 @@ function XEe(e, t, n) {n]);}-function ZEe(e) {- let { view: t, seed: n, revision: r, actions: i } = e, a = It(na(t, r)), o = Pt({- queryKey: ra,- queryFn: ({ signal: e }) => ia(e)- }), s = (0, F.useMemo)(() => oa(a.data), [a.data]), c = (0, F.useMemo)(() => new Set((o.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [o.data]), l = (0, F.useMemo)(() => ({+function eDe(e) {+ let { view: t, seed: n, revision: r, actions: i } = e, a = Ft(ta(t, r)), o = Nt({+ queryKey: na,+ queryFn: ({ signal: e }) => ra(e)+ }), s = (0, F.useMemo)(() => aa(a.data), [a.data]), c = (0, F.useMemo)(() => new Set((o.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [o.data]), l = (0, F.useMemo)(() => ({sources: s?.sources || [],aliases: s?.author_aliases || [],credentials: c- }), [s, c]), u = XEe(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;+ }), [s, c]), u = $Ee(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;(0, F.useEffect)(() => {fm(() => location.pathname === "/follow", document.querySelector("#stats [data-filter-frame]"), { pending: d });}, [@@ -63901,11 +63901,11 @@ function ZEe(e) {t]);let p = (0, F.useMemo)(() => ({- tags: Gl(u.visible.flatMap(ca).map((e) => ({ tags: e.tags || [] }))),+ tags: Wl(u.visible.flatMap(sa).map((e) => ({ tags: e.tags || [] }))),providers: [...u.providers].map(([e, t]) => [e,t,- qi(e)+ Ki(e)]),duration: !!s?.facets?.duration}), [@@ -63926,23 +63926,23 @@ function ZEe(e) {p,i]);- let m = $Ee(e, !!s);+ let m = nDe(e, !!s);if (!s) return a.isError ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-follow-feed": "",- children: [/* @__PURE__ */ (0, I.jsx)(qZ, {}), /* @__PURE__ */ (0, I.jsx)(zG, {- message: bn(a.error),+ children: [/* @__PURE__ */ (0, I.jsx)(WZ, {}), /* @__PURE__ */ (0, I.jsx)(FG, {+ message: yn(a.error),onRetry: () => void a.refetch()})]}) : null;let h = (e) => i.route({...t,...e- }), g = wa({+ }), g = Ca({...t,author: u.author,provider: u.provider}, {- authors: new Map([...u.authorSources].map(([e, t]) => [e, gG(t, l)])),+ authors: new Map([...u.authorSources].map(([e, t]) => [e, fG(t, l)])),providers: u.providers,works: u.workNames}), _ = t.status ? u.counts[t.status] || 0 : u.allCount, v = u.sources.some((e) => e.can_backfill);@@ -63951,7 +63951,7 @@ function ZEe(e) {ref: m.host,"data-follow-progress": ""}, m.generation),- !m.busy && m.report ? /* @__PURE__ */ (0, I.jsx)(xV, {+ !m.busy && m.report ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "neutral",title: "检查结果",children: m.report@@ -63960,7 +63960,7 @@ function ZEe(e) {"data-follow-feed": "","data-select-mode": e.selectMode ? "" : void 0,children: [- /* @__PURE__ */ (0, I.jsx)(qZ, { children: u.sources.length ? /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(WZ, { children: u.sources.length ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "primary","data-follow-recheck": "","aria-label": "检查每个来源的更新",@@ -63968,23 +63968,23 @@ function ZEe(e) {onClick: () => void m.start(!1),children: m.starting === "check" ? /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: zs("检查中") }+ dangerouslySetInnerHTML: { __html: Rs("检查中") }}) : "检查更新"}) : null }),- /* @__PURE__ */ (0, I.jsx)(eDe, {+ /* @__PURE__ */ (0, I.jsx)(rDe, {facets: u,pressed: u.author,context: l,props: e,onPick: (e) => h({ author: u.author === e ? "" : e })}),- /* @__PURE__ */ (0, I.jsx)(tDe, {+ /* @__PURE__ */ (0, I.jsx)(iDe, {rows: u.workRows,pressed: t.work,props: e,onPick: (e) => h({ work: t.work === e ? "" : e })}),- /* @__PURE__ */ (0, I.jsx)(nDe, {+ /* @__PURE__ */ (0, I.jsx)(aDe, {facets: u,view: t,total: _,@@ -63992,9 +63992,9 @@ function ZEe(e) {props: e,route: h}),- /* @__PURE__ */ (0, I.jsx)(rDe, {+ /* @__PURE__ */ (0, I.jsx)(oDe, {conditions: g,- onDrop: (e) => i.route(Ta(t, e)),+ onDrop: (e) => i.route(wa(t, e)),onClear: () => h({author: "",provider: "",@@ -64004,8 +64004,8 @@ function ZEe(e) {durMax: 0})}),- u.broken.length ? /* @__PURE__ */ (0, I.jsx)(iDe, { count: u.broken.length }) : null,- /* @__PURE__ */ (0, I.jsx)(aDe, {+ u.broken.length ? /* @__PURE__ */ (0, I.jsx)(sDe, { count: u.broken.length }) : null,+ /* @__PURE__ */ (0, I.jsx)(cDe, {retryKey: a.dataUpdatedAt,pending: d,facets: u,@@ -64028,16 +64028,16 @@ function ZEe(e) {"data-follow-pagination": "",children: [s.has_more ? /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-page-action": "",- children: s.groups.length < 500 ? /* @__PURE__ */ (0, I.jsxs)(hY, {+ children: s.groups.length < 500 ? /* @__PURE__ */ (0, I.jsxs)(dY, {entity: !0,enabled: () => !m.busyRef.current,load: async () => {await a.fetchNextPage({ throwOnError: !0 });},- children: [/* @__PURE__ */ (0, I.jsx)(KZ, { className: "size-(--icon-inline)" }), "加载更多"]- }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(QEe, {+ children: [/* @__PURE__ */ (0, I.jsx)(UZ, { className: "size-(--icon-inline)" }), "加载更多"]+ }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(tDe, {busy: a.isFetchingNextPage,- error: a.isFetchNextPageError ? bn(a.error) : "",+ error: a.isFetchNextPageError ? yn(a.error) : "",load: () => {!m.busyRef.current && !a.isFetchingNextPage && a.fetchNextPage();}@@ -64046,17 +64046,17 @@ function ZEe(e) {"data-follow-page-action": "",children: [/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- leadingIcon: m.olderBusy ? void 0 : KEe,+ leadingIcon: m.olderBusy ? void 0 : YEe,"data-follow-older": "","aria-busy": m.busy || void 0,onClick: () => void m.start(!0),children: m.olderBusy ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: zs("抓取中") }+ dangerouslySetInnerHTML: { __html: Rs("抓取中") }}), /* @__PURE__ */ (0, I.jsx)("span", { children: "抓取中" })] }) : "抓更早的一页"}), /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-backfill": "",- children: ba(u.sources)+ children: ya(u.sources)})]}) : null]}) : null@@ -64064,7 +64064,7 @@ function ZEe(e) {})] });}-function qZ({ children: e }) {+function WZ({ children: e }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-follow-head": "",children: [/* @__PURE__ */ (0, I.jsx)("h2", {@@ -64072,30 +64072,30 @@ function qZ({ children: e }) {children: "关注"}), /* @__PURE__ */ (0, I.jsxs)("span", {"data-follow-head-actions": "",- children: [/* @__PURE__ */ (0, I.jsx)(jL, {+ children: [/* @__PURE__ */ (0, I.jsx)(kL, {variant: "secondary",- leadingIcon: GEe,+ leadingIcon: JEe,"data-follow-manage": "",- href: JZ(),+ href: GZ(),children: "管理关注"}), e]})]});}-function QEe({ busy: e, error: t, load: n }) {+function tDe({ busy: e, error: t, load: n }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-entity-more": "","aria-busy": e || void 0,"aria-disabled": e || void 0,onClick: n,- children: [/* @__PURE__ */ (0, I.jsx)(KZ, { className: "size-(--icon-inline)" }), "加载更多"]- }), t ? /* @__PURE__ */ (0, I.jsx)(zG, {+ children: [/* @__PURE__ */ (0, I.jsx)(UZ, { className: "size-(--icon-inline)" }), "加载更多"]+ }), t ? /* @__PURE__ */ (0, I.jsx)(FG, {message: t,onRetry: n}) : null] });}-function $Ee(e, t) {+function nDe(e, t) {let { helpers: n, actions: r } = e, [i, a] = (0, F.useState)(0), [o, s] = (0, F.useState)(!1), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(""), [f, p] = (0, F.useState)(!1), m = (0, F.useRef)(!1), h = (0, F.useRef)(null), g = (0, F.useRef)({helpers: n,actions: r@@ -64110,7 +64110,7 @@ function $Ee(e, t) {return g.current.helpers.jobProgress({host: e,active: () => t,- read: (e) => B(Tr, e),+ read: (e) => V(wr, e),busy: (e) => {t && (m.current = e, s(e));},@@ -64120,10 +64120,10 @@ function $Ee(e, t) {ok: !1,error: e.error}] } : e;- g.current.actions.checkReport(n), d(Hi({+ g.current.actions.checkReport(n), d(Vi({...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), U.invalidateQueries({ queryKey: ["follow-feed"] }), a((e) => e + 1);}}), () => {t = !1;@@ -64138,7 +64138,7 @@ function $Ee(e, t) {m.current = !0, l(e ? "older" : "check"), d("");let t = !1;try {- let n = await V(Tr, e ? {+ let n = await H(wr, e ? {older: !0,background: !0} : { background: !0 });@@ -64146,8 +64146,8 @@ function $Ee(e, t) {} catch (t) {g.current.actions.checkReport({ results: [{ok: !1,- error: bn(t)- }] }), e && H.invalidateQueries({ queryKey: ["follow-feed"] });+ error: yn(t)+ }] }), e && U.invalidateQueries({ queryKey: ["follow-feed"] });} finally {m.current = t, l("");}@@ -64157,12 +64157,12 @@ function $Ee(e, t) {olderBusy: c === "older" || f && o};}-function eDe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {+function rDe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {let a = (0, F.useRef)(null);(0, F.useEffect)(() => {r.helpers.wireDrag(a.current);}, [r.helpers]);- let o = (t) => gG(e.authorSources.get(t) || [], n);+ let o = (t) => fG(e.authorSources.get(t) || [], n);return e.authorOrder.length ? /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-authors-bar": "",children: /* @__PURE__ */ (0, I.jsx)("div", {@@ -64170,14 +64170,14 @@ function eDe({ 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 = _G(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {+ let a = e.authorSources.get(n) || [], s = pG(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-follow-ring": "",- dangerouslySetInnerHTML: { __html: vG(a, o(n)) }+ dangerouslySetInnerHTML: { __html: mG(a, o(n)) }}), /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-name": "",children: o(n)})] });- return s ? /* @__PURE__ */ (0, I.jsx)(LZ, {+ return s ? /* @__PURE__ */ (0, I.jsx)(PZ, {name: s,actions: r.actions,"data-follow-author": n,@@ -64194,7 +64194,7 @@ function eDe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {})}) : null;}-function tDe({ rows: e, pressed: t, props: n, onPick: r }) {+function iDe({ rows: e, pressed: t, props: n, onPick: r }) {let i = (0, F.useRef)(null);return (0, F.useEffect)(() => {n.helpers.wireDrag(i.current);@@ -64209,19 +64209,19 @@ function tDe({ rows: e, pressed: t, props: n, onPick: r }) {onClick: () => r(e[0]),children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-follow-mark": "",- "data-fallback": Qn(e[1], 2),+ "data-fallback": Zn(e[1], 2),dangerouslySetInnerHTML: { __html: n.helpers.workMark(e) }}), e[1]]}, e[0]))}) : null;}-function nDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {- let { helpers: o, actions: s } = i, c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = kL(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = kL(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);+function aDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {+ let { helpers: o, actions: s } = i, c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = DL(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = DL(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, F.useEffect)(() => {o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);}, [o]);let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";- return /* @__PURE__ */ (0, I.jsx)(wL, {+ return /* @__PURE__ */ (0, I.jsx)(SL, {label: "筛选与排序",topLabel: m ? "媒体与关注筛选" : "关注筛选",attrs: {@@ -64270,10 +64270,10 @@ function nDe({ 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: z(i) }}, e);})- }), /* @__PURE__ */ (0, I.jsx)(GZ, {})] }) : null, /* @__PURE__ */ (0, I.jsxs)("div", {+ }), /* @__PURE__ */ (0, I.jsx)(HZ, {})] }) : null, /* @__PURE__ */ (0, I.jsxs)("div", {ref: f,"data-entity-scroll": "",children: [/* @__PURE__ */ (0, I.jsxs)("div", {@@ -64282,7 +64282,7 @@ function nDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"aria-label": "状态","data-entity-states": "",onPointerLeave: h.leave,- children: [Xi.map(([e, n]) => /* @__PURE__ */ (0, I.jsx)("button", {+ children: [Yi.map(([e, n]) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-entity-state": e,"data-follow-filter": e,@@ -64293,7 +64293,7 @@ function nDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {t.status !== e && a({ status: e });},children: n- }, e)), v ? /* @__PURE__ */ (0, I.jsx)(GZ, {}) : null]+ }, e)), v ? /* @__PURE__ */ (0, I.jsx)(HZ, {}) : null]}), /* @__PURE__ */ (0, I.jsxs)("div", {ref: p,"data-entity-tags": "",@@ -64306,16 +64306,16 @@ function nDe({ 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: mG(t, n) }+ dangerouslySetInnerHTML: { __html: uG(t, n) }}, t)),- _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(GZ, {}) : null,- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(TL, {+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(HZ, {}) : null,+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(CL, {"data-follow-tag": n,"data-entity-press": "",- "data-tag-cat": `r34-${Ea(e.groups, n)}`,+ "data-tag-cat": `r34-${Ta(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: [Il(n), r ? /* @__PURE__ */ (0, I.jsx)("span", {+ children: [Fl(n), r ? /* @__PURE__ */ (0, I.jsx)("span", {"data-count-badge": n,children: String(r)}) : null]@@ -64327,23 +64327,23 @@ function nDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {/* @__PURE__ */ (0, I.jsx)("h3", {"data-entity-readout": "","data-follow-readout": "",- children: /* @__PURE__ */ (0, I.jsx)(_L, {+ children: /* @__PURE__ */ (0, I.jsx)(hL, {text: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`,busy: r})}),- /* @__PURE__ */ (0, I.jsx)(zV, {+ /* @__PURE__ */ (0, I.jsx)(LV, {currentHref: () => location.pathname + location.search,kind: "creator"}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, I.jsx)(NG, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(MG, {+ /* @__PURE__ */ (0, I.jsx)(kG, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(OG, {label: "图片布局",value: i.photoLayout,- options: YEe,+ options: QEe,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",@@ -64357,10 +64357,10 @@ function nDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"aria-hidden": "true"}) : null, /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: R("captions-off") }+ dangerouslySetInnerHTML: { __html: z("captions-off") }})]})] }) : null,- Zi.map(([e, n]) => {+ Xi.map(([e, n]) => {let r = t.sort === e;return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",@@ -64368,14 +64368,14 @@ function nDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"data-follow-sort": e,"data-entity-press": "","aria-pressed": r,- "aria-label": Sa(e, n, t.sort, t.dir) || void 0,+ "aria-label": xa(e, n, t.sort, t.dir) || void 0,onClick: () => {- let n = xa(e, t.sort, t.dir);+ let n = ba(e, t.sort, t.dir);n && a(n);},- children: [n, r ? /* @__PURE__ */ (0, I.jsx)(lG, {- a: qEe,- b: JEe,+ children: [n, r ? /* @__PURE__ */ (0, I.jsx)(aG, {+ a: XEe,+ b: ZEe,state: t.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]@@ -64386,7 +64386,7 @@ function nDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {] })});}-function rDe({ conditions: e, onDrop: t, onClear: n }) {+function oDe({ conditions: e, onDrop: t, onClear: n }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-combo": "","data-follow-combo": "",@@ -64411,21 +64411,21 @@ function rDe({ conditions: e, onDrop: t, onClear: n }) {})] }) : null});}-function iDe({ count: e }) {+function sDe({ count: e }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-broken": "",- dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(JZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }+ dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${z("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${B(GZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }});}-var JZ = () => WZ(window.location.search);-function aDe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {+var GZ = () => VZ(window.location.search);+function cDe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {let { view: s, helpers: c } = i, l = s.media === "images";return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-list-body": "",- children: /* @__PURE__ */ (0, I.jsx)(BG, {+ children: /* @__PURE__ */ (0, I.jsx)(IG, {pending: e,skeletonHtml: () => c.listSkeletonHtml(s.media),- children: e ? null : /* @__PURE__ */ (0, I.jsx)(oDe, {+ children: e ? null : /* @__PURE__ */ (0, I.jsx)(lDe, {facets: t,data: n,context: r,@@ -64437,29 +64437,29 @@ function aDe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a})});}-function oDe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {- let { view: s, actions: c } = r, l = XZ(r), u = i ? {+function lDe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {+ let { view: s, actions: c } = r, l = qZ(r), u = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)- } : {}, d = WEe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;+ } : {}, d = qEe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;return f = e.visible.length ? e.visible.map((t) => {let i = e.byId.get(t.primary?.source_id), o = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;- return /* @__PURE__ */ (0, I.jsx)(zZ, {+ return /* @__PURE__ */ (0, I.jsx)(IZ, {group: t,authorSources: o,media: s.media,retryKey: a,context: n,- selected: r.selected.has(YZ(t, s)),+ selected: r.selected.has(KZ(t, s)),selectMode: r.selectMode,- busy: l.busy.get(YZ(t, s)) || "",- failure: l.failures.get(YZ(t, s)) || "",+ busy: l.busy.get(KZ(t, s)) || "",+ failure: l.failures.get(KZ(t, s)) || "",actions: c,onStatus: l.status,onSave: l.save}, `${u}:${s.media}`);- }) : /* @__PURE__ */ (0, I.jsx)(sDe, {+ }) : /* @__PURE__ */ (0, I.jsx)(uDe, {data: t,filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),checkAction: o,@@ -64472,7 +64472,7 @@ function oDe({ 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) => ma(e).has("video")) ? "videos" : "images" : s.media+ media: t.groups.length ? t.groups.some((e) => pa(e).has("video")) ? "videos" : "images" : s.media})}), /* @__PURE__ */ (0, I.jsx)("div", {ref: d,@@ -64482,22 +64482,22 @@ function oDe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,children: f});}-function YZ(e, t) {- return ha(e, t.media).id;+function KZ(e, t) {+ return ma(e, t.media).id;}-function sDe({ data: e, filtered: t, clear: n, checkAction: r }) {+function uDe({ data: e, filtered: t, clear: n, checkAction: r }) {let i = !!e.groups.length || t, a = !!e.sources.length;return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, I.jsx)(SV, {- icon: wV(i ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, I.jsx)(bV, {+ icon: SV(i ? "search-x" : "rss"),title: i ? "当前筛选下没有更新" : a ? "还没有更新" : "还没有关注任何来源",actions: i ? /* @__PURE__ */ (0, I.jsx)(J, {size: "small",onClick: n,children: "清除筛选"- }) : a ? r : /* @__PURE__ */ (0, I.jsx)(jL, {+ }) : a ? r : /* @__PURE__ */ (0, I.jsx)(kL, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -64506,52 +64506,52 @@ function sDe({ data: e, filtered: t, clear: n, checkAction: r }) {})});}-var cDe = {+var dDe = {new: "已恢复未看",seen: "已标记已看",ignored: "已忽略"};-function XZ(e) {- let { view: t, revision: n, actions: r } = e, [i, a] = (0, F.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, F.useState)(() => /* @__PURE__ */ new Map()), c = na(t, n).queryKey, l = (e, t, n) => n((n) => {+function qZ(e) {+ let { view: t, revision: n, actions: r } = e, [i, a] = (0, F.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, F.useState)(() => /* @__PURE__ */ new Map()), c = ta(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 && Ca(r, t, e, n));- }, d = () => void H.invalidateQueries({+ U.setQueryData(c, (r) => r && Sa(r, t, e, n));+ }, d = () => void U.invalidateQueries({queryKey: c,exact: !0}), f = (e) => {- let t = oa(H.getQueryData(c));+ let t = aa(U.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(jr, {+ }, p = Pt({+ mutationFn: ({ id: e, to: t }) => H(Ar, {item: e,to: t}),onSuccess: (e, { id: t, to: n, was: i }) => {- u(t, n), d(), r.toast(cDe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {- await V(jr, {+ u(t, n), d(), r.toast(dDe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ await H(Ar, {item: t,to: i}), u(t, i), d();} });},onError: (e, { id: t }) => {- l(t, bn(e), s), r.failure("更新关注状态", e);+ l(t, yn(e), s), r.failure("更新关注状态", e);},onSettled: (e, t, { id: n }) => l(n, "", a)- }), m = Ft({- mutationFn: (e) => V("/api/follow/save", { item: e }),+ }), m = Pt({+ mutationFn: (e) => H("/api/follow/save", { item: e }),onSuccess: (e, t) => {u(t, "saved"), d(), r.toast("已保存到数据库");},onError: (e, t) => {- l(t, bn(e), s), r.failure("保存到数据库", e);+ l(t, yn(e), s), r.failure("保存到数据库", e);},onSettled: (e, t, n) => l(n, "", a)}), h = (0, F.useRef)({@@ -64579,23 +64579,23 @@ function XZ(e) {};}// src/react/entity-body/entity-online.tsx-function lDe(e) {+function fDe(e) {let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData;- return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(zG, {- message: bn(t.error),+ return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(FG, {+ message: yn(t.error),onRetry: () => {t.refetch();}}) : /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-list-body": "","data-entity-online": "",- children: /* @__PURE__ */ (0, I.jsxs)(BG, {+ children: /* @__PURE__ */ (0, I.jsxs)(IG, {pending: a,skeletonHtml: () => i.listSkeletonHtml(r),- children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(uDe, {+ children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(pDe, {...e,data: n- }), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(hY, {+ }), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(dY, {entity: !0,enabled: () => e.canLoadMore?.() !== !1,load: async () => {@@ -64605,8 +64605,8 @@ function lDe(e) {})});}-function uDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {- let u = XZ({+function pDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {+ let u = qZ({view: e,revision: 0,actions: c@@ -64623,8 +64623,8 @@ function uDe({ 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 = ha(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;- return /* @__PURE__ */ (0, I.jsx)(zZ, {+ let n = ma(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;+ return /* @__PURE__ */ (0, I.jsx)(IZ, {group: e,authorSources: r && d.byAuthor.get(r) || [],media: t,@@ -64637,11 +64637,11 @@ function uDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,onStatus: u.status,onSave: u.save}, `${e.primary.id}:${t}`);- }) : /* @__PURE__ */ (0, I.jsx)(dDe, {+ }) : /* @__PURE__ */ (0, I.jsx)(mDe, {searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),clear: l,actions: c,- sources: zEe(n.sources || [], e.author)+ sources: HEe(n.sources || [], e.author)});return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-list": "",@@ -64650,21 +64650,21 @@ function uDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,children: m});}-function dDe({ searched: e, clear: t, actions: n, sources: r }) {+function mDe({ searched: e, clear: t, actions: n, sources: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, I.jsx)(SV, {- icon: wV(e ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, I.jsx)(bV, {+ icon: SV(e ? "search-x" : "rss"),title: e ? "当前筛选下没有更新" : "还没有抓到更新",actions: e ? /* @__PURE__ */ (0, I.jsx)(J, {size: "small",onClick: t,children: "清除筛选"- }) : r.length ? /* @__PURE__ */ (0, I.jsx)(BEe, {+ }) : r.length ? /* @__PURE__ */ (0, I.jsx)(UEe, {sources: r,report: n.checkReport- }) : /* @__PURE__ */ (0, I.jsx)(jL, {+ }) : /* @__PURE__ */ (0, I.jsx)(kL, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -64673,7 +64673,7 @@ function dDe({ searched: e, clear: t, actions: n, sources: r }) {})});}-function ZZ(e) {+function JZ(e) {return {x0: 0,y0: 0,@@ -64681,7 +64681,7 @@ function ZZ(e) {y1: e.height};}-function QZ(e) {+function YZ(e) {return {x0: Math.round(e.x0),y0: Math.round(e.y0),@@ -64689,40 +64689,40 @@ function QZ(e) {y1: Math.round(e.y1)};}-function $Z(e) {+function XZ(e) {return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;}-function eQ(e, t) {- if (!$Z(e)) return {+function ZZ(e, t) {+ if (!XZ(e)) return {x0: 0,y0: 0,x1: 0,y1: 0};- if (t == null || !(t > 0)) return ZZ(e);+ if (t == null || !(t > 0)) return JZ(e);let n = e.width, r = n / t;r > e.height && (r = e.height, n = r * t);let i = (e.width - n) / 2, a = (e.height - r) / 2;- return QZ({+ return YZ({x0: i,y0: a,x1: i + n,y1: a + r});}-function fDe(e, t) {- if (!$Z(e) || !(t > 0)) return ZZ(e);+function hDe(e, t) {+ if (!XZ(e) || !(t > 0)) return JZ(e);let n = Math.min(e.width, e.height * t);- return QZ({+ return YZ({x0: e.width - n,y0: 0,x1: e.width,y1: e.height});}-function pDe(e, t, n) {- if (!$Z(t) || !(n > 0)) return ZZ(t);- let r = tQ(e, t), i = eQ({+function gDe(e, t, n) {+ if (!XZ(t) || !(n > 0)) return JZ(t);+ let r = QZ(e, t), i = ZZ({width: r.x1 - r.x0,height: r.y1 - r.y0}, n);@@ -64733,8 +64733,8 @@ function pDe(e, t, n) {y1: r.y0 + i.y1};}-function tQ(e, t, n = null, r = "width") {- if (!$Z(t)) return {+function QZ(e, t, n = null, r = "width") {+ if (!XZ(t)) return {x0: 0,y0: 0,x1: 0,@@ -64743,43 +64743,43 @@ function tQ(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 QZ({+ return YZ({x0: s,y0: c,x1: s + a,y1: c + o});}-function nQ(e, t, n, r) {+function $Z(e, t, n, r) {let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));- return QZ({+ return YZ({x0: o,y0: s,x1: o + i,y1: s + a});}-function rQ(e, t, n, r = null) {- if (!$Z(n) || !(t > 0)) return e;+function eQ(e, t, n, r = null) {+ if (!XZ(n) || !(t > 0)) return e;let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;- return tQ({+ return QZ({x0: i - o / 2,y0: a - s / 2,x1: i + o / 2,y1: a + s / 2}, n, r);}-function mDe(e, t, n, r, i = null) {+function _De(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 tQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");+ return QZ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}-function hDe(e, t) {- return $Z(t) ? {+function vDe(e, t) {+ return XZ(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,width: (e.x1 - e.x0) / t.width * 100,@@ -64791,8 +64791,8 @@ function hDe(e, t) {height: 0};}-function gDe(e, t) {- if (!$Z(t)) return {+function yDe(e, t) {+ if (!XZ(t)) return {size: "cover",position: "50% 50%"};@@ -64802,7 +64802,7 @@ function gDe(e, t) {position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`};}-function _De(e, t) {+function bDe(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}%`,@@ -64811,15 +64811,15 @@ function _De(e, t) {height: `${t.height / r * 100}%`};}-function iQ(e, t, n) {+function tQ(e, t, n) {return t > 0 ? e * n / t : 0;}-function vDe(e, t) {+function xDe(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 yDe = .02, aQ = 1.08;-function oQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {+var SDe = .02, nQ = 1.08;+function rQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, F.useRef)(null), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);(0, F.useEffect)(() => {u(!1);@@ -64838,8 +64838,8 @@ function oQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odx: 0,dy: 0} : {- dx: iQ(e, n.clientWidth, r.width),- dy: iQ(t, n.clientHeight, r.height)+ dx: tQ(e, n.clientWidth, r.width),+ dy: tQ(t, n.clientHeight, r.height)};}, [r]);function m(e) {@@ -64856,22 +64856,22 @@ function oQ({ 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(nQ(n.box, o.dx, o.dy, r)) : i(mDe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));+ n.mode === "move" ? i($Z(n.box, o.dx, o.dy, r)) : i(_De(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) * yDe), o = {+ let a = Math.max(1, (n.x1 - n.x0) * SDe), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],ArrowDown: [0, a]};- o[e.key] ? (e.preventDefault(), i(nQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(rQ(n, e.key === "-" ? 1 / aQ : aQ, r, t)));+ o[e.key] ? (e.preventDefault(), i($Z(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(eQ(n, e.key === "-" ? 1 / nQ : nQ, r, t)));}- let v = n && r ? hDe(tQ(n, r, t), r) : null, y = v ? vDe(v, d) : !1, b = v ? {+ let v = n && r ? vDe(QZ(n, r, t), r) : null, y = v ? xDe(v, d) : !1, b = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -64890,7 +64890,7 @@ function oQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odraggable: !1,onLoad: (e) => {let t = e.currentTarget;- $Z({+ XZ({width: t.naturalWidth,height: t.naturalHeight}) && a({@@ -64929,7 +64929,7 @@ function oQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oonPointerCancel: g,onKeyDown: _,onWheel: (e) => {- n && r && i(rQ(n, e.deltaY > 0 ? aQ : 1 / aQ, r, t));+ n && r && i(eQ(n, e.deltaY > 0 ? nQ : 1 / nQ, r, t));},className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",children: /* @__PURE__ */ (0, I.jsx)("span", {@@ -64951,13 +64951,13 @@ function oQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o});}// src/react/avatar-picker/avatar-picker.ts-var bDe = "/api/avatar-choices", sQ = "/api/avatar-pick", xDe = "/api/avatar-code-cover", cQ = "/api/avatar-frame", SDe = "/avatar-choice", lQ = (e, t) => [+var CDe = "/api/avatar-choices", iQ = "/api/avatar-pick", wDe = "/api/avatar-code-cover", aQ = "/api/avatar-frame", TDe = "/avatar-choice", oQ = (e, t) => ["avatar-choices",e,t-], uQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, dQ = (e, t, n, r = "") => `${SDe}${uQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), fQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", CDe = (e, t, n) => B(bDe + uQ(e, t), n), wDe = (e) => V(xDe, { code: e });-async function TDe(e, t, n) {- let r = await V(cQ, {+], sQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, cQ = (e, t, n, r = "") => `${TDe}${sQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), lQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", EDe = (e, t, n) => V(CDe + sQ(e, t), n), DDe = (e) => H(wDe, { code: e });+async function ODe(e, t, n) {+ let r = await H(aQ, {kind: e,id: t,ref: n.ref@@ -64970,31 +64970,31 @@ async function TDe(e, t, n) {bases: r.bases};}-var EDe = (e, t, n) => V(cQ, {+var kDe = (e, t, n) => H(aQ, {kind: e,id: t,url: n-}), DDe = (e, t, n) => pQ(`${cQ}${uQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);-async function pQ(e, t) {+}), ADe = (e, t, n) => uQ(`${aQ}${sQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);+async function uQ(e, t) {let n = await fetch(e, {method: "POST",credentials: "same-origin",body: t}), r = await n.json().catch(() => null);if (n.ok) return r;- throw new or(r?.error || `请求失败(${n.status})`, n.status, r);+ throw new ar(r?.error || `请求失败(${n.status})`, n.status, r);}-function mQ(e, t, n) {+function dQ(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? pDe(e.focus, t, n) : eQ(t, n);+ return e.focus && r ? gDe(e.focus, t, n) : ZZ(t, n);}-var ODe = (e) => e.crop && $Z({+var jDe = (e) => e.crop && XZ({width: e.width,height: e.height});-async function kDe(e, t, n) {+async function MDe(e, t, n) {if (!("file" in n)) {- await V(sQ, {+ await H(iQ, {kind: e,id: t,...n@@ -65007,19 +65007,19 @@ async function kDe(e, t, n) {i.x1,i.y1].join(",")}` : "";- await pQ(`${sQ}${uQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);+ await uQ(`${iQ}${sQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}-var hQ = 2;-function ADe(e, t) {+var fQ = 2;+function NDe(e, t) {if (!t) return e;let n = t.matched_names.filter((t) => t !== e);- return n.length ? `${e}:图库里按${`「${n.slice(0, hQ).join("」「")}」`}${n.length > hQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;+ return n.length ? `${e}:图库里按${`「${n.slice(0, fQ).join("」「")}」`}${n.length > fQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;}-var jDe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function MDe(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 ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${jDe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+var PDe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function FDe(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 ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${PDe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var gQ = (e) => e.cast > 1, NDe = (e) => gQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, PDe = {+var pQ = (e) => e.cast > 1, IDe = (e) => pQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, LDe = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -65029,7 +65029,7 @@ var gQ = (e) => e.cast > 1, NDe = (e) => gQ(e) ? `${e.label}:${e.cast.toLocalesocial: "社媒头像",online: "在线作品"};-function FDe(e) {+function RDe(e) {if (e.startsWith("follow:")) {let t = e.split(":")[2];return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;@@ -65040,19 +65040,19 @@ function FDe(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var IDe = (e) => `${PDe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (gQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), LDe = 8, RDe = 3 / 4;-async function zDe(e, t, n) {+var zDe = (e) => `${LDe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (pQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), BDe = 8, VDe = 3 / 4;+async function HDe(e, t, n) {switch (n.via) {- case "choice": return { choice: await TDe(e, t, n.choice) };- case "code": return { choice: await wDe(n.code) };- case "url": return { choice: await EDe(e, t, n.url) };+ case "choice": return { choice: await ODe(e, t, n.choice) };+ case "code": return { choice: await DDe(n.code) };+ case "url": return { choice: await kDe(e, t, n.url) };case "file": return {- choice: await DDe(e, t, n.file),+ choice: await ADe(e, t, n.file),file: n.file};}}-function BDe({ kind: e, entityId: t, name: n, onPicked: r }) {+function UDe({ kind: e, entityId: t, name: n, onPicked: r }) {let [i, a] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "absolute right-1 bottom-1 z-10",@@ -65062,17 +65062,17 @@ function BDe({ kind: e, entityId: t, name: n, onPicked: r }) {"aria-label": `更换${n}的头像`,onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",- children: /* @__PURE__ */ (0, I.jsx)(Phe, {+ children: /* @__PURE__ */ (0, I.jsx)(Ihe, {"aria-hidden": !0,className: "size-4"})})- }), /* @__PURE__ */ (0, I.jsx)(yV, {+ }), /* @__PURE__ */ (0, I.jsx)(_V, {isOpen: i,onOpenChange: a,width: "avatar-picker",label: "更换头像",- children: /* @__PURE__ */ (0, I.jsx)(VDe, {+ children: /* @__PURE__ */ (0, I.jsx)(WDe, {kind: e,entityId: t,name: n,@@ -65081,24 +65081,24 @@ function BDe({ kind: e, entityId: t, name: n, onPicked: r }) {})})] });}-function VDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, F.useRef)(null), o = ZV(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = lQ(e, t), m = (0, F.useRef)(!1), h = Pt({+function WDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, F.useRef)(null), o = YV(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = oQ(e, t), m = (0, F.useRef)(!1), h = Nt({queryKey: p,- queryFn: ({ signal: n }) => CDe(e, t, n),+ queryFn: ({ signal: n }) => EDe(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, F.useEffect)(() => () => {- m.current && H.removeQueries({ queryKey: lQ(e, t) });+ m.current && U.removeQueries({ queryKey: oQ(e, t) });}, [e, t]);- let g = Ft({- mutationFn: (n) => kDe(e, t, n),+ let g = Pt({+ mutationFn: (n) => MDe(e, t, n),onSuccess: () => {m.current = !0, i(), r();}- }), _ = Ft({- mutationFn: (n) => zDe(e, t, n),+ }), _ = Pt({+ mutationFn: (n) => HDe(e, t, n),onMutate: () => {g.reset();},@@ -65119,39 +65119,39 @@ function VDe({ 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 ? cr(g.error) : "") || (!d && _.error ? cr(_.error) : "") || (h.error ? cr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : MDe(x), E = !!C && !!h.error && C === cr(h.error), D = h.isPending || S.length > 0;+ let x = h.data, S = x?.choices ?? [], C = (g.error ? sr(g.error) : "") || (!d && _.error ? sr(_.error) : "") || (h.error ? sr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : FDe(x), E = !!C && !!h.error && C === sr(h.error), D = h.isPending || S.length > 0;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, I.jsx)(bV, { children: /* @__PURE__ */ (0, I.jsx)(lV, { className: "size-6" }) }),+ /* @__PURE__ */ (0, I.jsx)(vV, { children: /* @__PURE__ */ (0, I.jsx)(sV, { className: "size-6" }) }),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)($L, {+ children: [/* @__PURE__ */ (0, I.jsx)(ZL, {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"- }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(rW, {+ }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(tW, {color: "soft",children: [S.length.toLocaleString(), " 张可选"]}) : null]}),/* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: d ? NDe(d.choice) : ADe(n, x)+ children: d ? IDe(d.choice) : NDe(n, x)}),- T ? /* @__PURE__ */ (0, I.jsx)(xV, {+ T ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "neutral",children: T}) : null,- C ? /* @__PURE__ */ (0, I.jsx)(xV, {+ C ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",action: E ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...EV(h.isFetching),+ ...wV(h.isFetching),onClick: () => {h.isFetching || h.refetch();},@@ -65161,14 +65161,14 @@ function VDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, I.jsx)(yL, {- icon: IB,+ /* @__PURE__ */ (0, I.jsx)(_L, {+ icon: PB,size: "small","aria-label": "关闭",onClick: i})]- }), d ? /* @__PURE__ */ (0, I.jsx)(UDe, {+ }), d ? /* @__PURE__ */ (0, I.jsx)(KDe, {kind: e,entityId: t,choice: d.choice,@@ -65188,7 +65188,7 @@ function VDe({ 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: LDe }, (e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {+ children: h.isPending ? Array.from({ length: BDe }, (e, t) => /* @__PURE__ */ (0, I.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",@@ -65201,8 +65201,8 @@ function VDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {role: "option","data-avatar-choice": !0,"aria-selected": n.current,- title: IDe(n),- ...EV(w),+ title: zDe(n),+ ...wV(w),onClick: () => {w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({via: "choice",@@ -65211,8 +65211,8 @@ function VDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",children: [- /* @__PURE__ */ (0, I.jsx)(HDe, {- src: dQ(e, t, n.ref, fQ(n, n.ref)),+ /* @__PURE__ */ (0, I.jsx)(GDe, {+ src: cQ(e, t, n.ref, lQ(n, n.ref)),choice: n}),/* @__PURE__ */ (0, I.jsx)("span", {@@ -65221,15 +65221,15 @@ function VDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),n.current ? /* @__PURE__ */ (0, I.jsx)("span", {className: "absolute top-1 left-1",- children: /* @__PURE__ */ (0, I.jsx)(rW, {+ children: /* @__PURE__ */ (0, I.jsx)(tW, {variant: "caption",color: "gray",children: "在用"})}) : null,- gQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {+ pQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, I.jsxs)(rW, {+ children: /* @__PURE__ */ (0, I.jsxs)(tW, {variant: "caption",color: "gray",children: [n.cast.toLocaleString(), " 人"]@@ -65251,7 +65251,7 @@ function VDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},children: [/* @__PURE__ */ (0, I.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, I.jsx)(vV, {+ children: /* @__PURE__ */ (0, I.jsx)(gV, {"aria-label": "番号",placeholder: "番号,如 ABW-232",value: l,@@ -65261,7 +65261,7 @@ function VDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {type: "submit",variant: "secondary",disabled: !l.trim(),- ...EV(v("code")),+ ...wV(v("code")),children: "取封面来框"})]}), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -65270,7 +65270,7 @@ function VDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",onClick: () => a.current?.click(),- ...EV(v("file")),+ ...wV(v("file")),children: "从本机选图片"}),/* @__PURE__ */ (0, I.jsx)("input", {@@ -65290,7 +65290,7 @@ function VDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {className: "flex min-w-0 flex-1 basis-56 items-center gap-2",children: [/* @__PURE__ */ (0, I.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, I.jsx)(vV, {+ children: /* @__PURE__ */ (0, I.jsx)(gV, {type: "url","aria-label": "图片地址",placeholder: "https://…",@@ -65300,7 +65300,7 @@ function VDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}), /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",disabled: !s.trim(),- ...EV(v("url")),+ ...wV(v("url")),onClick: () => {w || _.mutate({via: "url",@@ -65314,7 +65314,7 @@ function VDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {})]})] })] });}-function HDe({ src: e, choice: t }) {+function GDe({ src: e, choice: t }) {let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)(!1);(0, F.useEffect)(() => {n.current?.complete && n.current.naturalWidth && i(!0);@@ -65322,7 +65322,7 @@ function HDe({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = ODe(t) ? _De(mQ(t, s, RDe), s) : null, l = r || a ? !0 : void 0;+ }, c = jDe(t) ? bDe(dQ(t, s, VDe), s) : null, l = r || a ? !0 : void 0;return /* @__PURE__ */ (0, I.jsxs)("span", {"data-choice-lost": a || void 0,className: "relative block w-full aspect-avatar-choice overflow-hidden",@@ -65348,23 +65348,23 @@ function HDe({ src: e, choice: t }) {})]});}-function UDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = fQ(n, s), m = dQ(e, t, s, p), h = ZV();+function KDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = lQ(n, s), m = cQ(e, t, s, p), h = YV();function g(e) {c(e), u(null), f(null);}- let _ = d && l ? gDe(d, l) : null;+ let _ = d && l ? yDe(d, l) : null;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {ref: h,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: [m ? /* @__PURE__ */ (0, I.jsx)(oQ, {+ children: [m ? /* @__PURE__ */ (0, I.jsx)(rQ, {src: m,aspect: 1,box: d,size: l,label: `${n.label} 的头像取景框`,onSize: (e) => {- u(e), $Z(e) && f(s === n.ref ? mQ(n, e, 1) : eQ(e, 1));+ u(e), XZ(e) && f(s === n.ref ? dQ(n, e, 1) : ZZ(e, 1));},onBox: f}) : null, o.length > 1 ? /* @__PURE__ */ (0, I.jsx)("div", {@@ -65378,7 +65378,7 @@ function UDe({ 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: FDe(e)+ children: RDe(e)}, e))}) : null]}), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -65398,12 +65398,12 @@ function UDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",onClick: i,- ...EV(r),+ ...wV(r),children: "返回备选图片"}),n.crop ? null : /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...EV(r),+ ...wV(r),onClick: () => {r || a(null);},@@ -65411,7 +65411,7 @@ function UDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}),/* @__PURE__ */ (0, I.jsx)(J, {disabled: !d || !l,- ...EV(r),+ ...wV(r),onClick: () => {d && !r && a({ref: s,@@ -65426,17 +65426,17 @@ function UDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })})] });}// src/react/components/source-picture.tsx-var _Q = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;-function vQ({ title: e, detail: t, busy: n, onRetry: r }) {+var mQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;+function hQ({ title: e, detail: t, busy: n, onRetry: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, I.jsx)(SV, {+ children: /* @__PURE__ */ (0, I.jsx)(bV, {size: "compact",- icon: JB,+ icon: KB,title: e,actions: /* @__PURE__ */ (0, I.jsx)(J, {size: "small",- ...EV(!!n),+ ...wV(!!n),onClick: r,children: "立即重试"}),@@ -65444,15 +65444,15 @@ function vQ({ title: e, detail: t, busy: n, onRetry: r }) {})});}-function WDe({ code: e }) {- let t = EH(), [n, r] = (0, F.useState)("");- return /* @__PURE__ */ (0, I.jsx)(vQ, {+function qDe({ code: e }) {+ let t = wH(), [n, r] = (0, F.useState)("");+ return /* @__PURE__ */ (0, I.jsx)(hQ, {title: "封面未取得",detail: t.error || n,busy: !!t.busy,onRetry: () => {- t.run("cover", (t) => V("/api/jav/cover", { code: e }, "POST", t), (t) => {- t.has_cover ? H.setQueriesData({ queryKey: ["jav-detail"] }, (n) => n?.code === e ? {+ t.run("cover", (t) => H("/api/jav/cover", { code: e }, "POST", t), (t) => {+ t.has_cover ? U.setQueriesData({ queryKey: ["jav-detail"] }, (n) => n?.code === e ? {...n,has_cover: !0,cover_version: t.cover_version@@ -65461,8 +65461,8 @@ function WDe({ code: e }) {}});}-function yQ({ item: e, image: t, thumbnail: n = !1 }) {- let [r, i] = (0, F.useState)(0), [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? _Q(e.code, t, r) : u ? co(e, !0) : e.cover_url || "";+function gQ({ item: e, image: t, thumbnail: n = !1 }) {+ let [r, i] = (0, F.useState)(0), [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? mQ(e.code, t, r) : u ? so(e, !0) : e.cover_url || "";if ((0, F.useLayoutEffect)(() => {let e = l.current;e?.complete && e.naturalWidth > 0 && o({@@ -65479,8 +65479,8 @@ function yQ({ item: e, image: t, thumbnail: n = !1 }) {src: p,alt: f})- }) : n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "封面未取得" }) : /* @__PURE__ */ (0, I.jsx)(WDe, { code: e.code });- if (s === p) return n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)(vQ, {+ }) : n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "封面未取得" }) : /* @__PURE__ */ (0, I.jsx)(qDe, { code: e.code });+ if (s === p) return n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)(hQ, {title: "图片未取得",onRetry: () => i((e) => e + 1)});@@ -65529,8 +65529,8 @@ function yQ({ item: e, image: t, thumbnail: n = !1 }) {] });}// src/react/components/source-avatar.tsx-function bQ({ code: e, person: t, detail: n = !1 }) {- gL();+function _Q({ code: e, person: t, detail: n = !1 }) {+ mL();let r = (0, F.useRef)(null), [i, a] = (0, F.useState)(n || typeof IntersectionObserver > "u");(0, F.useEffect)(() => {if (!r.current || i) return;@@ -65542,9 +65542,9 @@ function bQ({ code: e, person: t, detail: n = !1 }) {let o = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {ref: r,"data-source-initial": "",- children: $n(tn("performer", t.name))+ children: Qn(en("performer", t.name))}), i && t.source_actor_id ? /* @__PURE__ */ (0, I.jsx)("img", {- src: _Q(e, `actor:${t.source_actor_id}`),+ src: mQ(e, `actor:${t.source_actor_id}`),alt: "","data-drop": "self"}) : null] });@@ -65554,8 +65554,8 @@ function bQ({ code: e, person: t, detail: n = !1 }) {}) : o;}// src/react/feed-new/feed-new-row.tsx-function xQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {- let a = (0, F.useContext)(ZW), o = (0, F.useRef)(null), [s, c] = (0, F.useState)([]), l = e?.items.length ? e.html : "";+function vQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {+ let a = (0, F.useContext)(qW), o = (0, F.useRef)(null), [s, c] = (0, F.useState)([]), l = e?.items.length ? e.html : "";(0, F.useLayoutEffect)(() => {t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);}, [@@ -65587,7 +65587,7 @@ function xQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {u(e);},dangerouslySetInnerHTML: { __html: l }- }), s.map((e, t) => (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(bQ, {+ }), s.map((e, t) => (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(_Q, {code: e.dataset.code,person: {name: e.dataset.name,@@ -65596,8 +65596,8 @@ function xQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {}), e, `${l.length}:${t}`))] }) : null;}// src/react/entity-hero/glyph.tsx-function SQ({ name: e }) {- let { wide: t, viewBox: n } = Sn(e);+function yQ({ name: e }) {+ let { wide: t, viewBox: n } = xn(e);return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: n,"aria-hidden": "true",@@ -65606,20 +65606,20 @@ function SQ({ name: e }) {});}// src/react/entity-hero/hero-pop.tsx-function CQ(e, t) {+function bQ(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 wQ = (e) => !!e?.isConnected && e.matches(":popover-open");-function TQ(e, t, n, r) {+var xQ = (e) => !!e?.isConnected && e.matches(":popover-open");+function SQ(e, t, n, r) {let i = (0, F.useRef)(r);i.current = r, (0, F.useEffect)(() => {if (!e) return;let r = () => {- t.current && wQ(n.current) ? CQ(t.current, n.current) : i.current();+ t.current && xQ(n.current) ? bQ(t.current, n.current) : i.current();};return addEventListener("scroll", r, {capture: !0,@@ -65633,17 +65633,17 @@ function TQ(e, t, n, r) {n]);}-function EQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {+function CQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = (0, F.useRef)(!1), d = (0, F.useRef)(0), f = () => {- clearTimeout(d.current), u.current = !1, wQ(s.current) && s.current.hidePopover(), l(!1);+ clearTimeout(d.current), u.current = !1, xQ(s.current) && s.current.hidePopover(), l(!1);}, p = () => {- clearTimeout(d.current), s.current && o.current && !wQ(s.current) && (s.current.showPopover(), CQ(o.current, s.current), l(!0));+ clearTimeout(d.current), s.current && o.current && !xQ(s.current) && (s.current.showPopover(), bQ(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 TQ(c, o, s, f), (0, F.useEffect)(() => {+ return SQ(c, o, s, f), (0, F.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -65669,7 +65669,7 @@ function EQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {u.current ? f() : (p(), u.current = !0);},onKeyDown: (e) => {- e.key === "Escape" && wQ(s.current) && (e.preventDefault(), f());+ e.key === "Escape" && xQ(s.current) && (e.preventDefault(), f());},children: ["+", t]}), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -65687,16 +65687,16 @@ function EQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}), a]})] });}-function GDe({ following: e, busy: t, onToggle: n, tip: r }) {+function JDe({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), [s, c] = (0, F.useState)(!1), l = (0, F.useRef)(!1), u = () => {- wQ(o.current) && o.current.hidePopover(), c(!1);+ xQ(o.current) && o.current.hidePopover(), c(!1);}, d = () => {- !l.current && o.current && i.current && !wQ(o.current) && (o.current.showPopover(), CQ(i.current, o.current), c(!0));+ !l.current && o.current && i.current && !xQ(o.current) && (o.current.showPopover(), bQ(i.current, o.current), c(!0));}, f = () => {l.current = !1, u();};- return TQ(s, i, o, () => c(!1)), (0, F.useEffect)(() => {- i.current && wQ(o.current) && CQ(i.current, o.current);+ return SQ(s, i, o, () => c(!1)), (0, F.useEffect)(() => {+ i.current && xQ(o.current) && bQ(i.current, o.current);}, [r]), /* @__PURE__ */ (0, I.jsxs)("label", {ref: i,"data-entry-feed": "",@@ -65705,7 +65705,7 @@ function GDe({ following: e, busy: t, onToggle: n, tip: r }) {a.current?.matches(":focus-visible") || f();},children: [- /* @__PURE__ */ (0, I.jsx)(SQ, { name: "rss" }),+ /* @__PURE__ */ (0, I.jsx)(yQ, { name: "rss" }),/* @__PURE__ */ (0, I.jsx)("input", {ref: a,type: "checkbox",@@ -65739,29 +65739,29 @@ function GDe({ following: e, busy: t, onToggle: n, tip: r }) {});}// src/react/entity-hero/name-picker.tsx-function KDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {+function YDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, F.useState)(!1), o = (0, F.useRef)(null);return (0, F.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");- }, []), /* @__PURE__ */ (0, I.jsxs)(rme, {+ }, []), /* @__PURE__ */ (0, I.jsxs)(ame, {isOpen: i,onOpenChange: a,- children: [/* @__PURE__ */ (0, I.jsx)(ZL, {+ children: [/* @__PURE__ */ (0, I.jsx)(YL, {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",- children: /* @__PURE__ */ (0, I.jsx)(SQ, { name: "chevron-down" })- }), /* @__PURE__ */ (0, I.jsx)(wz, {+ children: /* @__PURE__ */ (0, I.jsx)(yQ, { name: "chevron-down" })+ }), /* @__PURE__ */ (0, I.jsx)(Sz, {placement: "bottom start",offset: 8,containerPadding: 8,- className: UV,+ className: VV,"data-namepick-menu": "",- children: /* @__PURE__ */ (0, I.jsxs)(ame, {+ children: /* @__PURE__ */ (0, I.jsxs)(sme, {"aria-label": "名字与别名","data-namepick-list": "",children: [- /* @__PURE__ */ (0, I.jsx)(Mz, {+ /* @__PURE__ */ (0, I.jsx)(Az, {selectionMode: "single",disallowEmptySelection: !0,selectedKeys: [e],@@ -65769,34 +65769,34 @@ function KDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let r = [...t][0];r && r !== e && n(r);},- children: t.map((e) => /* @__PURE__ */ (0, I.jsxs)(Pz, {+ children: t.map((e) => /* @__PURE__ */ (0, I.jsxs)(Mz, {id: e.value,textValue: e.label,"data-namepick-name": e.value,- children: [/* @__PURE__ */ (0, I.jsx)(SQ, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]+ children: [/* @__PURE__ */ (0, I.jsx)(yQ, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]}, e.value))}),- /* @__PURE__ */ (0, I.jsx)(Bpe, { "data-namepick-rule": "" }),- /* @__PURE__ */ (0, I.jsx)(Mz, { children: /* @__PURE__ */ (0, I.jsxs)(Pz, {+ /* @__PURE__ */ (0, I.jsx)(Hpe, { "data-namepick-rule": "" }),+ /* @__PURE__ */ (0, I.jsx)(Az, { children: /* @__PURE__ */ (0, I.jsxs)(Mz, {id: "alias",textValue: "添加别名","data-namepick-alias": "",onAction: r,- children: [/* @__PURE__ */ (0, I.jsx)(SQ, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]+ children: [/* @__PURE__ */ (0, I.jsx)(yQ, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]}) })]})})]});}-var qDe = (e) => e === "studio" || e === "agency", DQ = (e) => e === "performer" || e === "creator", JDe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function YDe(e, t = "zh-CN") {+var XDe = (e) => e === "studio" || e === "agency", wQ = (e) => e === "performer" || e === "creator", ZDe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+function QDe(e, t = "zh-CN") {return e.name_display ? e.name_display.choices[t] : [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t).map((e) => ({value: e,label: e}));}-function OQ(e) {+function TQ(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0,@@ -65808,13 +65808,13 @@ function OQ(e) {linked: !1} : null;}-function kQ(e, t) {- let n = Gn(e, "performer"), r = Hn(t);- return r && [e.label, n].map(Hn).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";+function EQ(e, t) {+ let n = Wn(e, "performer"), r = Vn(t);+ return r && [e.label, n].map(Vn).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}-var AQ = (e) => ({ site: Rn(e) });-function XDe(e, t) {- let n = OQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+var DQ = (e) => ({ site: Ln(e) });+function $De(e, t) {+ let n = TQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -65824,7 +65824,7 @@ function XDe(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${kQ(e, n)} · ${t}`+ title: `${EQ(e, n)} · ${t}`};}let r = e.url || "";@@ -65832,32 +65832,32 @@ function XDe(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if (DQ(t) && e.link_kind !== "social") return {+ if (wQ(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: kQ(e, n),- mark: AQ(e)+ title: EQ(e, n),+ mark: DQ(e)};if (e.link_kind === "social") {- let t = Vn(r);+ let t = Bn(r);return {type: "icon",url: r,title: e.label || "",- mark: t ? { brand: t } : AQ(e)+ mark: t ? { brand: t } : DQ(e)};}return {type: "url",url: r,title: e.label || "",- text: Gn(e, t, i),- mark: AQ(e)+ text: Wn(e, t, i),+ mark: DQ(e)};});- return [...r, ...ZDe(a)];+ return [...r, ...eOe(a)];}-function ZDe(e) {+function eOe(e) {let t = e.filter((e) => e.type === "private");return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {type: "private",@@ -65865,8 +65865,8 @@ function ZDe(e) {sources: t.map((e) => e.label)}];}-var jQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function QDe(e) {+var OQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+function tOe(e) {return [["legal_name",@@ -65922,7 +65922,7 @@ function QDe(e) {}]}] : []);}-function $De(e) {+function nOe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -65979,14 +65979,14 @@ function $De(e) {tags: e.tags}), t;}-function MQ(e, t = 4) {+function kQ(e, t = 4) {let n = e.length > t + 1 ? t : e.length;return {shown: e.slice(0, n),rest: e.length - n};}-function eOe(e) {+function rOe(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 ? {@@ -65996,20 +65996,20 @@ function eOe(e) {} : null;}// src/react/entity-hero/entity-hero-page.tsx-function tOe(e) {- return ho({+function iOe(e) {+ return mo({id: e.id,hasImage: e.has_image,version: e.image_version,rep: e.has_avatar ? e.rep : null,- style: yo(e.avatar_focus),+ style: vo(e.avatar_focus),focus: e.avatar_focus,standIn: e.avatar_stand_in});}-function nOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- gL();- let s = tn(e, n.canonical_name, Number(n.id)), c = nn(e, n.canonical_name, Number(n.id)), l = DQ(e), u = qDe(e), d = l ? $De(n.profile) : u ? QDe(n.company_profile) : [], f = XDe(n, e), p = jQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);+function aOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {+ mL();+ let s = en(e, n.canonical_name, Number(n.id)), c = tn(e, n.canonical_name, Number(n.id)), l = wQ(e), u = XDe(e), d = l ? nOe(n.profile) : u ? tOe(n.company_profile) : [], f = $De(n, e), p = OQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);return (0, F.useEffect)(() => {o.wireScroller(h.current);}, [o, f.length]), (0, F.useEffect)(() => {@@ -66022,7 +66022,7 @@ function nOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-entity-portrait-wrap": "",- children: [/* @__PURE__ */ (0, I.jsx)(rOe, {+ children: [/* @__PURE__ */ (0, I.jsx)(oOe, {kind: e,name: s,helpers: o,@@ -66030,7 +66030,7 @@ function nOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,company: u}), l && n.id ? /* @__PURE__ */ (0, I.jsx)("span", {"data-avatar-picker": "",- children: /* @__PURE__ */ (0, I.jsx)(BDe, {+ children: /* @__PURE__ */ (0, I.jsx)(UDe, {kind: e,entityId: Number(n.id),name: s || t,@@ -66045,17 +66045,17 @@ function nOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,"data-entity-title": "",children: [/* @__PURE__ */ (0, I.jsx)("h2", {- lang: QI(s),+ lang: XI(s),title: c || void 0,children: s}),- e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(KDe, {+ e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(YDe, {current: n.canonical_name,- choices: YDe(n, Yt()),+ choices: QDe(n, Jt()),onChoose: a.chooseName,onAddAlias: a.addAlias}),- n.id ? /* @__PURE__ */ (0, I.jsx)(RV, { item: {+ n.id ? /* @__PURE__ */ (0, I.jsx)(IV, { item: {entity_id: Number(n.id),kind: e,name: n.canonical_name || t,@@ -66065,11 +66065,11 @@ function nOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),c ? /* @__PURE__ */ (0, I.jsx)("span", {"data-name-fallback": "",- "data-copy-key": `performer-name-fallback.${Yt()}`,+ "data-copy-key": `performer-name-fallback.${Jt()}`,className: "text-caption-1-regular text-text-secondary",children: c}) : null,- /* @__PURE__ */ (0, I.jsx)(iOe, {+ /* @__PURE__ */ (0, I.jsx)(sOe, {kind: e,entity: n,actions: a@@ -66077,7 +66077,7 @@ function nOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,n.related_identities?.length ? /* @__PURE__ */ (0, I.jsx)("div", {className: "flex min-w-0 flex-wrap gap-2 text-caption-1-regular text-text-secondary",children: n.related_identities.map((e) => {- let t = `${e.relation === "same_person" ? "同一人" : "关联账号"}:${tn(e.kind, e.canonical_name, e.id)}`;+ let t = `${e.relation === "same_person" ? "同一人" : "关联账号"}:${en(e.kind, e.canonical_name, e.id)}`;return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",title: t,@@ -66090,14 +66090,14 @@ function nOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,f.length ? /* @__PURE__ */ (0, I.jsx)("div", {ref: h,"data-entity-links": "",- children: f.map((e, t) => /* @__PURE__ */ (0, I.jsx)(uOe, { link: e }, t))+ children: f.map((e, t) => /* @__PURE__ */ (0, I.jsx)(pOe, { link: e }, t))}) : null,- p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(dOe, {+ p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(mOe, {entity: n,actions: a,helpers: o}) : null,- n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)(sOe, {+ n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)(uOe, {follow: n.follow,displayName: s,actions: a@@ -66106,11 +66106,11 @@ function nOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),d.length ? /* @__PURE__ */ (0, I.jsx)("dl", {"data-entity-facts": "",- children: d.map((e) => /* @__PURE__ */ (0, I.jsx)(cOe, {+ children: d.map((e) => /* @__PURE__ */ (0, I.jsx)(dOe, {glyph: e.glyph,label: e.label,clip: e.clip,- children: e.tags ? /* @__PURE__ */ (0, I.jsx)(lOe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {+ children: e.tags ? /* @__PURE__ */ (0, I.jsx)(fOe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,children: [t ? " " : "", e.text]}, t))@@ -66129,26 +66129,26 @@ function nOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onClick: () => a.openEntity("performer", e.k),children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-hero-ring": "",- dangerouslySetInnerHTML: { __html: `<span>${z($n(tn("performer", e.k, e.id)))}</span>${tOe(e)}` }+ dangerouslySetInnerHTML: { __html: `<span>${B(Qn(en("performer", e.k, e.id)))}</span>${iOe(e)}` }}), /* @__PURE__ */ (0, I.jsx)("span", {"data-hero-costar-name": "",- children: tn("performer", e.k, e.id)+ children: en("performer", e.k, e.id)})]}, e.k))})}) : null]- }), i ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(xQ, {+ }), i ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(vQ, {feedNew: r,host: i,wire: o.wireFeedRow,act: (e, t) => a.feedAction(e, t)}), i) : null] });}-function rOe({ kind: e, name: t, helpers: n, people: r, company: i }) {- let a = (0, F.useRef)(null), [o] = (0, F.useState)(() => `${n.portraitImg()}<span data-portrait-initial="">${z($n(t))}</span>`);+function oOe({ kind: e, name: t, helpers: n, people: r, company: i }) {+ let a = (0, F.useRef)(null), [o] = (0, F.useState)(() => `${n.portraitImg()}<span data-portrait-initial="">${B(Qn(t))}</span>`);return (0, F.useLayoutEffect)(() => {let e = a.current?.querySelector("[data-portrait-initial]");- e && (e.textContent = $n(t));+ e && (e.textContent = Qn(t));for (let e of a.current?.querySelectorAll("img[alt]") || []) e.alt &&= t;}, [t]), /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-portrait": r ? "round" : "square",@@ -66158,54 +66158,54 @@ function rOe({ kind: e, name: t, helpers: n, people: r, company: i }) {dangerouslySetInnerHTML: { __html: o }});}-function iOe({ kind: e, entity: t, actions: n }) {- let r = OQ(t), i = (e, t) => (r) => {+function sOe({ kind: e, entity: t, actions: n }) {+ let r = TQ(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, I.jsx)("a", {- href: Nn("agency", r.name, r.id),+ href: Mn("agency", r.name, r.id),"data-agency": r.name,onClick: i("agency", r.name),children: r.name}) : r.name : null, o = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });if (e === "performer" || e === "creator") {- let e = t.name_display?.groups[Yt()] ?? t.name_groups, r = eOe(e);+ let e = t.name_display?.groups[Jt()] ?? t.name_groups, r = rOe(e);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-entity-alias": "meta",children: [- /* @__PURE__ */ (0, I.jsx)(NQ, { entity: t }),+ /* @__PURE__ */ (0, I.jsx)(AQ, { entity: t }),/* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, I.jsx)(SQ, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]+ children: [/* @__PURE__ */ (0, I.jsx)(yQ, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]}),- t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(oOe, {+ t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(lOe, {follow: t.follow,actions: n}) : null,a ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, I.jsx)(SQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, I.jsx)(yQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]}) : null,r ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-meta-item": "names",children: [- /* @__PURE__ */ (0, I.jsx)(SQ, { name: "id-card" }),+ /* @__PURE__ */ (0, I.jsx)(yQ, { name: "id-card" }),/* @__PURE__ */ (0, I.jsx)("span", {"data-alias-names": "",title: "别名",children: r.names.map((e, t) => /* @__PURE__ */ (0, I.jsx)("span", {- lang: QI(e),+ lang: XI(e),children: e}, t))}),- r.rest > 0 ? /* @__PURE__ */ (0, I.jsx)(EQ, {+ r.rest > 0 ? /* @__PURE__ */ (0, I.jsx)(CQ, {id: "entityAliasPop",hook: "alias",rest: r.rest,label: `另外 ${r.rest.toLocaleString()} 个别名`,heading: `${r.total.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, I.jsx)("dl", { children: (e?.groups || []).map((e, t) => /* @__PURE__ */ (0, I.jsx)(PQ, {+ children: /* @__PURE__ */ (0, I.jsx)("dl", { children: (e?.groups || []).map((e, t) => /* @__PURE__ */ (0, I.jsx)(jQ, {label: e.label,names: e.names}, t)) })@@ -66227,61 +66227,61 @@ function iOe({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-entity-alias": "meta",children: [- e === "creator" ? /* @__PURE__ */ (0, I.jsx)(NQ, { entity: t }) : null,+ e === "creator" ? /* @__PURE__ */ (0, I.jsx)(AQ, { entity: t }) : null,/* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, I.jsx)(SQ, { name: "film" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [o, c] })]+ children: [/* @__PURE__ */ (0, I.jsx)(yQ, { name: "film" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [o, c] })]}),a ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, I.jsx)(SQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, I.jsx)(yQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]}) : null,l ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "片商",- children: [/* @__PURE__ */ (0, I.jsx)(SQ, { name: "clapperboard" }), /* @__PURE__ */ (0, I.jsx)("a", {- href: Nn("studio", l.name, l.id),+ children: [/* @__PURE__ */ (0, I.jsx)(yQ, { name: "clapperboard" }), /* @__PURE__ */ (0, I.jsx)("a", {+ href: Mn("studio", l.name, l.id),"data-studio-link": l.name,onClick: i("studio", l.name),children: l.name})]}) : null,- s.length ? /* @__PURE__ */ (0, I.jsx)(aOe, { aliases: s }) : null+ s.length ? /* @__PURE__ */ (0, I.jsx)(cOe, { aliases: s }) : null]});}-function aOe({ aliases: e }) {- let { shown: t, rest: n } = MQ(e, 3);+function cOe({ aliases: e }) {+ let { shown: t, rest: n } = kQ(e, 3);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-meta-item": "names","data-company-names": "",children: [- /* @__PURE__ */ (0, I.jsx)(SQ, { name: "id-card" }),+ /* @__PURE__ */ (0, I.jsx)(yQ, { name: "id-card" }),/* @__PURE__ */ (0, I.jsx)("span", {"data-alias-names": "",title: "别名",children: t.map((e, t) => /* @__PURE__ */ (0, I.jsx)("span", { children: e }, t))}),- n ? /* @__PURE__ */ (0, I.jsx)(EQ, {+ n ? /* @__PURE__ */ (0, I.jsx)(CQ, {id: "entityAliasPop",hook: "alias",rest: n,label: `另外 ${n.toLocaleString()} 个别名`,heading: `${e.length.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, I.jsx)("dl", { children: /* @__PURE__ */ (0, I.jsx)(PQ, { names: e.map((e) => ({ name: e })) }) })+ children: /* @__PURE__ */ (0, I.jsx)("dl", { children: /* @__PURE__ */ (0, I.jsx)(jQ, { names: e.map((e) => ({ name: e })) }) })}) : null]});}-function oOe({ follow: e, actions: t }) {+function lOe({ follow: e, actions: t }) {let n = e.providers.join(" · ");return /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "","data-entity-follow": "",title: n ? `关注 · ${n}` : "关注",- children: [/* @__PURE__ */ (0, I.jsx)(SQ, { name: "rss" }), /* @__PURE__ */ (0, I.jsxs)("a", {+ children: [/* @__PURE__ */ (0, I.jsx)(yQ, { name: "rss" }), /* @__PURE__ */ (0, I.jsxs)("a", {href: "?media=online",onClick: (n) => {n.preventDefault(), t.openFollowAuthor(e.key);@@ -66290,7 +66290,7 @@ function oOe({ follow: e, actions: t }) {})]});}-function sOe({ follow: e, displayName: t, actions: n }) {+function uOe({ follow: e, displayName: t, actions: n }) {let [r, i] = (0, F.useState)(""), a = async (e, t) => {if (!r) {i(e);@@ -66304,12 +66304,12 @@ function sOe({ follow: e, displayName: t, actions: n }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-held": "",className: "flex flex-col gap-2",- children: e.held.map((e) => /* @__PURE__ */ (0, I.jsxs)(xV, {+ children: e.held.map((e) => /* @__PURE__ */ (0, I.jsxs)(yV, {tone: "info",title: `关注里有同名作者 ${e.name}`,action: /* @__PURE__ */ (0, I.jsx)(J, {size: "small",- ...EV(r === e.key),+ ...wV(r === e.key),onClick: () => {a(e.key, e.name);},@@ -66324,37 +66324,37 @@ function sOe({ follow: e, displayName: t, actions: n }) {}, e.key))});}-function NQ({ entity: e }) {+function AQ({ entity: e }) {return e.identity_labels?.length ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "classification","data-identity-classification": "",- children: [/* @__PURE__ */ (0, I.jsx)(SQ, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.identity_labels.join(" · ") })]+ children: [/* @__PURE__ */ (0, I.jsx)(yQ, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.identity_labels.join(" · ") })]}) : null;}-function PQ({ label: e, names: t }) {+function jQ({ label: e, names: t }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, I.jsx)("dd", {"data-wide": e ? void 0 : "",children: t.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {"data-pop-name": "",- lang: QI(e.name),+ lang: XI(e.name),children: [e.name, e.reading ? /* @__PURE__ */ (0, I.jsx)("small", { children: e.reading }) : null]}, t))})] });}-function cOe({ glyph: e, label: t, clip: n, children: r }) {- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(SQ, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {+function dOe({ glyph: e, label: t, clip: n, children: r }) {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(yQ, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}-function lOe({ tags: e }) {- let { shown: t, rest: n } = MQ(e);+function fOe({ tags: e }) {+ let { shown: t, rest: n } = kQ(e);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, I.jsx)("span", {"data-fact-tag": "",title: e,children: e- }, e)), n ? /* @__PURE__ */ (0, I.jsx)(EQ, {+ }, e)), n ? /* @__PURE__ */ (0, I.jsx)(CQ, {id: "entityTagPop",hook: "fact",rest: n,@@ -66370,18 +66370,18 @@ function lOe({ tags: e }) {})}) : null] });}-function FQ({ mark: e }) {+function MQ({ mark: e }) {if ("brand" in e) return /* @__PURE__ */ (0, I.jsx)("span", {"data-link-icon": "brand",- children: /* @__PURE__ */ (0, I.jsx)(SQ, { name: e.brand })+ children: /* @__PURE__ */ (0, I.jsx)(yQ, { 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 = z("globe") + ("site" in e ? `<img src="${B(e.site)}" alt="" width="20" height="20" loading="lazy" decoding="async" referrerpolicy="no-referrer" data-drop="self">` : "");return /* @__PURE__ */ (0, I.jsx)("span", {"data-link-icon": "",dangerouslySetInnerHTML: { __html: t }});}-function uOe({ link: e }) {+function pOe({ link: e }) {switch (e.type) {case "icon": return /* @__PURE__ */ (0, I.jsx)("a", {"data-link": "icon",@@ -66390,19 +66390,19 @@ function uOe({ link: e }) {rel: "noopener noreferrer",title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, I.jsx)(FQ, { mark: e.mark })+ children: /* @__PURE__ */ (0, I.jsx)(MQ, { mark: e.mark })});case "gone": return /* @__PURE__ */ (0, I.jsx)("span", {"data-link": "gone",tabIndex: 0,title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, I.jsx)(FQ, { mark: { globe: !0 } })+ children: /* @__PURE__ */ (0, I.jsx)(MQ, { mark: { globe: !0 } })});case "private": return /* @__PURE__ */ (0, I.jsxs)("span", {"data-link": "private",title: e.sources ? e.sources.join("\n") : e.label,- children: [/* @__PURE__ */ (0, I.jsx)(FQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(MQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, I.jsx)("span", {"data-link-label": "",children: e.sources ? e.label : `来源 · ${e.label}`})]@@ -66414,7 +66414,7 @@ function uOe({ link: e }) {rel: "noopener noreferrer",title: e.title,children: [- /* @__PURE__ */ (0, I.jsx)(FQ, { mark: e.mark }),+ /* @__PURE__ */ (0, I.jsx)(MQ, { mark: e.mark }),/* @__PURE__ */ (0, I.jsx)("span", {"data-link-label": "",children: e.text@@ -66429,7 +66429,7 @@ function uOe({ link: e }) {});}}-function dOe({ entity: e, actions: t, helpers: n }) {+function mOe({ entity: e, actions: t, helpers: n }) {let [r, i] = (0, F.useState)(!!e.feed?.following), [a, o] = (0, F.useState)(!1), s = (0, F.useRef)(!1), c = async (e) => {if (s.current) return !1;s.current = !0, o(!0);@@ -66447,35 +66447,35 @@ function dOe({ entity: e, actions: t, helpers: n }) {};return /* @__PURE__ */ (0, I.jsxs)("div", {"data-entry-marks": "",- children: [jQ(e).map((e, t) => /* @__PURE__ */ (0, I.jsxs)("a", {+ children: [OQ(e).map((e, t) => /* @__PURE__ */ (0, I.jsxs)("a", {"data-entry-mark": "",href: e.url,target: "_blank",rel: "noopener noreferrer",title: e.label,"aria-label": e.label,- children: [e.mark ? /* @__PURE__ */ (0, I.jsx)(SQ, { name: e.mark }) : /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [e.mark ? /* @__PURE__ */ (0, I.jsx)(yQ, { name: e.mark }) : /* @__PURE__ */ (0, I.jsxs)("span", {"data-missav-mark": "",children: [/* @__PURE__ */ (0, I.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "AV" })]}), e.ordinal ? /* @__PURE__ */ (0, I.jsx)("span", {"data-entry-ordinal": "",children: e.ordinal}) : null]- }, t)), e.feed ? /* @__PURE__ */ (0, I.jsx)(GDe, {+ }, t)), e.feed ? /* @__PURE__ */ (0, I.jsx)(JDe, {following: r,busy: a,onToggle: (e) => {l(e);},- tip: JDe(r)+ tip: ZDe(r)}) : null]});}// src/react/entity-page/use-entity-online.ts-var fOe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;-function pOe(e, t, n) {- let [r, i] = (0, F.useState)(() => ga(e));- r.author !== e && i(ga(e));+var hOe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;+function gOe(e, t, n) {+ let [r, i] = (0, F.useState)(() => ha(e));+ r.author !== e && i(ha(e));let [a, o] = (0, F.useState)({author: e,media: ""@@ -66487,24 +66487,24 @@ function pOe(e, t, n) {let s = a.author === e ? a.media : "", c = (t) => o({author: e,media: t- }), l = na(r, 0), u = It({+ }), l = ta(r, 0), u = Ft({...l,enabled: t && !!e- }), d = Pt({- queryKey: ra,- queryFn: ({ signal: e }) => ia(e),+ }), d = Nt({+ queryKey: na,+ queryFn: ({ signal: e }) => ra(e),enabled: t- }), f = (0, F.useMemo)(() => oa(u.data), [u.data]), p = u.isPending || u.isPlaceholderData, m = (0, F.useMemo)(() => {+ }), f = (0, F.useMemo)(() => aa(u.data), [u.data]), p = u.isPending || u.isPlaceholderData, m = (0, F.useMemo)(() => {let e = {videos: 0,images: 0};- return (f?.groups || []).forEach((t) => ma(t).forEach((t) => {+ return (f?.groups || []).forEach((t) => pa(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, F.useMemo)(() => (f?.groups || []).filter((e) => ma(e).has(g === "images" ? "image" : "video")), [f, g]), v = (0, F.useMemo)(() => ({+ let g = s || h, _ = (0, F.useMemo)(() => (f?.groups || []).filter((e) => pa(e).has(g === "images" ? "image" : "video")), [f, g]), v = (0, F.useMemo)(() => ({sources: f?.sources || [],aliases: f?.author_aliases || [],credentials: new Set((d.data?.providers || []).filter((e) => e.present).map((e) => e.provider))@@ -66519,22 +66519,22 @@ function pOe(e, t, n) {photoLayouts: n.photoLayouts,imagesOnly: n.imagesOnly,status: r.status,- statuses: Xi,+ statuses: Yi,provider: r.provider,providers: (y.providers || []).map((e) => [e, b.get(e) || e]),tags: x.map(([e, t]) => ({k: e,- label: Il(e),+ label: Fl(e),n: t,selected: r.tags.includes(e),- cat: Ea(f?.groups || [], e)+ cat: Ta(f?.groups || [], e)})),- sorts: Zi.map(([e, t]) => ({+ sorts: Xi.map(([e, t]) => ({key: e,label: t,pressed: r.sort === e,dir: r.sort === e ? r.dir : "",- ariaLabel: Sa(e, t, r.sort, r.dir)+ ariaLabel: xa(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,@@ -66551,15 +66551,15 @@ function pOe(e, t, n) {actions: {onlineMedia: (e) => c(e),onlineShuffle: () => T({- sort: $i,- seed: fOe()+ sort: Qi,+ seed: hOe()}),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 = xa(e, r.sort, r.dir);+ let t = ba(e, r.sort, r.dir);t && T(t);}},@@ -66582,8 +66582,8 @@ function pOe(e, t, n) {};}// src/react/entity-page/entity-page-view.tsx-function mOe(e) {- let { kind: t, name: n } = e, r = Pt(YX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {+function _Oe(e) {+ let { kind: t, name: n } = e, r = Nt(KX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {kind: t,name: a} : void 0), { actions: s } = e;@@ -66601,17 +66601,17 @@ function mOe(e) {s,o?.kind,o?.name- ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(zG, {- message: cr(r.error),+ ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(FG, {+ message: sr(r.error),onRetry: () => {r.refetch();}- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(_Oe, {+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(bOe, {...e,entity: r.data});}-function IQ(e) {+function NQ(e) {let [t, n] = (0, F.useState)({key: e,n: 1@@ -66623,22 +66623,22 @@ function IQ(e) {};return n(r), r.n;}-var hOe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);-function gOe(e, t) {+var vOe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);+function yOe(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}-function _Oe(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(XX(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 || ZX(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {+function bOe(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 = Ft(qX(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || JX(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {media: "online",set: 0- } : HX, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);+ } : zX, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);S !== x && (C(x), b("videos"));- let w = l && y === "people" && u.length ? "people" : v.media, T = pOe(g, w === "online", {+ let w = l && y === "people" && u.length ? "people" : v.media, T = gOe(g, w === "online", {photoLayout: e.photoLayout,photoLayouts: e.photoLayouts,imagesOnly: e.followImagesOnly,setImagesOnly: e.follow.actions.setImagesOnly- }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, F.useState)(0), k = JX(e), A = Pt(k), j = IQ(JSON.stringify([k.queryKey, D])), [M] = (0, F.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));+ }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, F.useState)(0), k = GX(e), A = Nt(k), j = NQ(JSON.stringify([k.queryKey, D])), [M] = (0, F.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));(0, F.useLayoutEffect)(() => {s.javContext(M);}, [s, M]);@@ -66648,26 +66648,26 @@ function _Oe(e) {}, [e.layout, M]), N = {jav: e.jav,seed: e.seed- }, te = (0, F.useCallback)((e, r, a) => qX(t, n, i, N, e, r, a), [j]), [P, ne] = (0, F.useState)({}), re = v.set, ie = P[re] || "", ae = It({- ...XX(t, n, re, ie),+ }, te = (0, F.useCallback)((e, r, a) => WX(t, n, i, N, e, r, a), [j]), [P, ne] = (0, F.useState)({}), re = v.set, ie = P[re] || "", ae = Ft({+ ...qX(t, n, re, ie),enabled: w === "photos"- }), oe = ae.data?.pages[0], se = IQ(JSON.stringify(WX(t, n, re, ie))), ce = (0, F.useMemo)(() => {+ }), oe = ae.data?.pages[0], se = NQ(JSON.stringify(VX(t, n, re, ie))), ce = (0, F.useMemo)(() => {let e = ae.data?.pages;if (!e?.[0] || e[0].error) return null;let t = e[0];return {revision: se,- codeSets: t.id ? [] : ZX(t),+ codeSets: t.id ? [] : JX(t),items: e.flatMap((e) => e.items || []),total: t.total || 0,hasMore: !!e[e.length - 1]?.has_more};- }, [ae.data, se]), le = ae.refetch, ue = ae.fetchNextPage, de = Pt({- ...zX(d, o.feedRowHtml),+ }, [ae.data, se]), le = ae.refetch, ue = ae.fetchNextPage, de = Nt({+ ...IX(d, o.feedRowHtml),enabled: !!d}), fe = (0, F.useRef)(e.feedRevision);(0, F.useEffect)(() => {- fe.current !== e.feedRevision && (fe.current = e.feedRevision, H.invalidateQueries({ queryKey: RX(d) }));+ fe.current !== e.feedRevision && (fe.current = e.feedRevision, U.invalidateQueries({ queryKey: FX(d) }));}, [d, e.feedRevision]);let pe = !!A.data;(0, F.useEffect)(() => {@@ -66700,14 +66700,14 @@ function _Oe(e) {(0, F.useEffect)(() => () => {me.current = !1;}, []);- let he = (0, F.useCallback)(async () => {- await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: UX(t, n) }), await H.invalidateQueries({ queryKey: [+ let L = (0, F.useCallback)(async () => {+ await U.invalidateQueries({ queryKey: ["entity-route"] }), await U.invalidateQueries({ queryKey: BX(t, n) }), await U.invalidateQueries({ queryKey: ["entity-items",t,n] });- }, [t, n]), ge = Ft({- mutationFn: (e) => wn("/api/entity-alias", {+ }, [t, n]), he = Pt({+ mutationFn: (e) => Cn("/api/entity-alias", {method: "POST",body: JSON.stringify({kind: t,@@ -66715,9 +66715,9 @@ function _Oe(e) {...e})}),- onSuccess: () => he()- }), _e = Ft({- mutationFn: ({ from: e, to: n }) => wn("/api/entity-name", {+ onSuccess: () => L()+ }), ge = Pt({+ mutationFn: ({ from: e, to: n }) => Cn("/api/entity-name", {method: "POST",body: JSON.stringify({kind: t,@@ -66725,9 +66725,9 @@ function _Oe(e) {canonical: n})}),- onSuccess: () => he()- }), ve = Ft({- mutationFn: (e) => wn("/api/feeds/source", {+ onSuccess: () => L()+ }), _e = Pt({+ mutationFn: (e) => Cn("/api/feeds/source", {method: "POST",body: JSON.stringify({action: "follow",@@ -66735,35 +66735,35 @@ function _Oe(e) {enabled: e})}),- onSuccess: (e, r) => H.setQueryData(UX(t, n), (e) => e && {+ onSuccess: (e, r) => U.setQueryData(BX(t, n), (e) => e && {...e,feed: {...e.feed,following: r}})- }), ye = Ft({ mutationFn: (e) => wn("/api/follow/creator", {+ }), ve = Pt({ mutationFn: (e) => Cn("/api/follow/creator", {method: "POST",body: JSON.stringify({entity_id: d,key: e})- }) }), be = (0, F.useMemo)(() => ({+ }) }), ye = (0, F.useMemo)(() => ({openEntity: s.openEntity,chooseName: (e) => {let n = r.canonical_name;- e !== n && cl({+ e !== n && sl({title: "更改统一名称",body: `「${e}」将成为这份档案显示的名称,「${n}」留作别名。作品上的署名、搜索和标签都会跟着改写。`,confirmLabel: "更改统一名称",- onConfirm: () => _e.mutateAsync({+ onConfirm: () => ge.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 ge.mutateAsync({from: r.canonical_name || "",to: r.previous_name || ""}), s.openEntity(t, r.previous_name || "");@@ -66771,11 +66771,11 @@ function _Oe(e) {});},addAlias: () => {- o.aliasForm(r.user_aliases || [], (e) => ge.mutateAsync(e));+ o.aliasForm(r.user_aliases || [], (e) => he.mutateAsync(e));},follow: async (e) => {try {- await ve.mutateAsync(e);+ await _e.mutateAsync(e);} catch (t) {throw o.failure(e ? "订阅新作" : "取消订阅新作", t), t;}@@ -66786,15 +66786,15 @@ function _Oe(e) {await new Promise((e) => {setTimeout(e, 3e3);});- let e = await wn("/api/feeds/check").catch(() => null);+ let e = await Cn("/api/feeds/check").catch(() => null);if (!e || e.status !== "running") break;}- me.current && await H.invalidateQueries({ queryKey: RX(d) });+ me.current && await U.invalidateQueries({ queryKey: FX(d) });})();},- feedAction: BX,+ feedAction: LX,avatarPicked: () => {- s.avatarChanged(), he().then(() => {+ s.avatarChanged(), L().then(() => {me.current && O((e) => e + 1);});},@@ -66806,27 +66806,27 @@ function _Oe(e) {},confirmFollowAuthor: async (e, t) => {try {- await ye.mutateAsync(e);+ await ve.mutateAsync(e);} catch (e) {throw o.failure("关联关注中的创作者", e), e;}- o.receipt(`已把关注里的 ${t} 记到 ${r.canonical_name} 名下`), await he();+ o.receipt(`已把关注里的 ${t} 记到 ${r.canonical_name} 名下`), await L();}}), [s,- ge,- ye,+ he,+ ve,r,d,i,- ve,+ _e,g,o,t,n,- he,- _e- ]), xe = (0, F.useMemo)(() => ({+ L,+ ge+ ]), be = (0, F.useMemo)(() => ({portraitImg: () => o.portraitImg(t, r),wireScroller: o.wireDrag,wireFeedRow: o.wireFeedRow,@@ -66835,24 +66835,24 @@ function _Oe(e) {r,o,t- ]), Se = (0, F.useMemo)(() => ({+ ]), xe = (0, F.useMemo)(() => ({setView: (e) => {(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {media: e,set: 0- } : HX));+ } : zX));},setState: (e) => s.route({...i,state: e- }, HX),+ }, zX),toggleTag: s.toggleTag,clearFilter: s.clearFilter,clearAll: s.clearAll,setSort: s.setSort,reshuffle: async () => {if (w !== "photos") {- let r = s.reshuffleVideos(), a = JX({+ let r = s.reshuffleVideos(), a = GX({kind: t,name: n,filters: {@@ -66863,10 +66863,10 @@ function _Oe(e) {seed: r,revision: e.revision});- await H.fetchQuery(a).catch(() => null);+ await U.fetchQuery(a).catch(() => null);return;}- let r = hOe(), a = await H.fetchInfiniteQuery(XX(t, n, re, r)).catch(() => null);+ let r = vOe(), a = await U.fetchInfiniteQuery(qX(t, n, re, r)).catch(() => null);me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({...e,[re]: r@@ -66890,19 +66890,19 @@ function _Oe(e) {e.revision,w,re- ]), Ce = (0, F.useMemo)(() => ({+ ]), Se = (0, F.useMemo)(() => ({wireDrag: o.wireDrag,wireScroller: o.wireScroller,sourceToolsHtml: o.sourceToolsHtml,wireSourceTools: (e) => o.wireSourceTools(e, () => {le();})- }), [o, le]), we = (r.tags || []).map((e) => ({+ }), [o, le]), Ce = (r.tags || []).map((e) => ({k: e.k,- label: Il(e.k),+ label: Fl(e.k),n: e.n,- selected: XTe(i.tag, e.k)- })), Te = [+ selected: $Te(i.tag, e.k)+ })), we = [u.length,!_,m,@@ -66917,40 +66917,40 @@ function _Oe(e) {videos: _ ? null : { count: r.asset_count || 0 },photos: m ? { count: m } : null,online: g ? { count: r.follow?.n || 0 } : null- } : null, Ee = {+ } : null, Te = {sorts: o.sortKeys(i.sort || "new", i.dir || "", M),jav: M ? {layout: e.javLayout,options: e.javLayouts} : null- }, De = !!oe?.id && !oe.error, Oe = oe && !oe.error ? {- back: De,+ }, Ee = !!oe?.id && !oe.error, De = oe && !oe.error ? {+ back: Ee,shuffle: !!oe.total,layout: e.photoLayout,layouts: e.photoLayouts,- setId: De ? Number(oe.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: Ee ? Number(oe.id) : 0+ } : null, Oe = o.comboItems(i), ke = Oe.length > 0 || !!i.state, Ae = w === "videos" && !!A.data && !(A.data.items || []).length, je = () => s.route({...i,state: "",tag: "",creator: "",studio: "",owner: ""- }, HX), 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()} 项更新`;+ }, zX), Me = "", Ne = !1;+ if (w === "people") Me = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;+ else if (w === "online") Ne = T.busy, Me = `在线 · ${(T.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;else if (w === "videos") {- Pe = !A.data;- let e = GX(i.tag).length;- Ne = `视频 · ${(A.data?.work_total ?? A.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;- } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : gOe(oe, ZX(oe).length) : Pe = ae.isPending;- let Fe = (0, F.useMemo)(() => ({+ Ne = !A.data;+ let e = HX(i.tag).length;+ Me = `视频 · ${(A.data?.work_total ?? A.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;+ } else oe && !oe.error ? Me = Ee ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : yOe(oe, JX(oe).length) : Ne = ae.isPending;+ let Pe = (0, F.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {let e = await ue();if (e.isError) throw e.error;}- }), [ue, e.card.actions]), Ie = (0, F.useMemo)(() => u.length ? {+ }), [ue, e.card.actions]), Fe = (0, F.useMemo)(() => u.length ? {kind: t === "studio" ? "studios" : "performers",people: u,layout: e.peopleLayout@@ -66960,36 +66960,36 @@ function _Oe(e) {u]);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(nOe, {+ /* @__PURE__ */ (0, I.jsx)(aOe, {kind: t,name: n,entity: r,feedNew: de.data ?? null,feedHost: d ? c.feed : null,jav: M,- actions: be,- helpers: xe+ actions: ye,+ helpers: be}, D),- (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Pye, {+ (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(Rye, {kind: t,name: n,view: w,- views: Te,+ views: we,state: i.state || "",states: e.states,- tags: we,- combo: ke,- readout: Ne,- busy: Pe,- video: je ? null : Ee,- photo: Oe,+ tags: Ce,+ combo: Oe,+ readout: Me,+ busy: Ne,+ video: Ae ? null : Te,+ photo: De,online: w === "online" ? T.head : null,- actions: Se,- helpers: Ce+ actions: xe,+ helpers: Se}), c.filter),- (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(xye, {+ (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(Tye, {enabled: w === "videos",- children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(lDe, {+ children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(fDe, {view: T.view,media: T.media,result: T.result,@@ -67003,20 +67003,20 @@ function _Oe(e) {actions: e.follow.actions,canLoadMore: e.canLoadMore,clearFilters: T.clearFilters- }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(zG, {- message: cr(A.error),+ }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(FG, {+ message: sr(A.error),onRetry: () => {A.refetch();}- }) : je ? /* @__PURE__ */ (0, I.jsx)(vOe, {- filtered: Ae,- onShowAll: Me,- onOnline: g ? () => Se.setView("online") : void 0- }) : /* @__PURE__ */ (0, I.jsx)(kEe, {+ }) : Ae ? /* @__PURE__ */ (0, I.jsx)(xOe, {+ filtered: ke,+ onShowAll: je,+ onOnline: g ? () => xe.setView("online") : void 0+ }) : /* @__PURE__ */ (0, I.jsx)(MEe, {kind: t,name: n,view: w,- roster: Ie,+ roster: Fe,items: A.data ?? null,revision: j,fetchPage: te,@@ -67032,7 +67032,7 @@ function _Oe(e) {photoSize: e.photoSize,photoLayout: e.photoLayout,helpers: e.card.helpers,- actions: Fe,+ actions: Pe,layout: ee,selectMode: e.selectMode,selected: e.selected,@@ -67045,9 +67045,9 @@ function _Oe(e) {}), c.body)] });}-function vOe({ filtered: e, onShowAll: t, onOnline: n }) {- return e ? /* @__PURE__ */ (0, I.jsx)(SV, {- icon: wV("search"),+function xOe({ filtered: e, onShowAll: t, onOnline: n }) {+ return e ? /* @__PURE__ */ (0, I.jsx)(bV, {+ icon: SV("search"),title: "没有符合条件的视频",actions: /* @__PURE__ */ (0, I.jsx)(J, {size: "small",@@ -67055,14 +67055,14 @@ function vOe({ filtered: e, onShowAll: t, onOnline: n }) {children: "清除筛选"}),children: "清除筛选后查看名下全部视频。"- }) : /* @__PURE__ */ (0, I.jsx)(SV, {- icon: wV("film"),+ }) : /* @__PURE__ */ (0, I.jsx)(bV, {+ icon: SV("film"),title: "还没有视频",actions: n ? /* @__PURE__ */ (0, I.jsx)(J, {size: "small",onClick: n,children: "查看在线作品"- }) : /* @__PURE__ */ (0, I.jsx)(jL, {+ }) : /* @__PURE__ */ (0, I.jsx)(kL, {size: "small",href: "/",children: "浏览馆藏"@@ -67071,30 +67071,30 @@ function vOe({ filtered: e, onShowAll: t, onOnline: n }) {});}// src/react/diagnostics/diagnostics.ts-var LQ = ["diagnostics"], RQ = (e) => B("/api/diagnostics", e);-async function yOe(e) {- await H.fetchQuery({- queryKey: LQ,- queryFn: () => RQ(e),+var PQ = ["diagnostics"], FQ = (e) => V("/api/diagnostics", e);+async function SOe(e) {+ await U.fetchQuery({+ queryKey: PQ,+ queryFn: () => FQ(e),staleTime: 1e4});}// src/react/feed-new/feed-new-page.tsx-function bOe({ host: e, revision: t, helpers: n, actions: r }) {- let i = Pt(zX(null, n.feedRowHtml)), a = (0, F.useRef)(t);+function COe({ host: e, revision: t, helpers: n, actions: r }) {+ let i = Nt(IX(null, n.feedRowHtml)), a = (0, F.useRef)(t);return (0, F.useEffect)(() => {- a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: RX(null) }));- }, [t]), (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(xQ, {+ a.current !== t && (a.current = t, U.invalidateQueries({ queryKey: FX(null) }));+ }, [t]), (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(vQ, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,- act: BX,+ act: LX,settled: r.settled}), e);}// src/react/index/index-search.tsx-var xOe = wV("search");-function zQ({ label: e, value: t, onQuery: n }) {+var wOe = SV("search");+function IQ({ label: e, value: t, onQuery: n }) {let [r, i] = (0, F.useState)(t), a = (0, F.useRef)(!1), o = (0, F.useRef)(void 0);(0, F.useEffect)(() => {clearTimeout(o.current), i(t);@@ -67111,15 +67111,15 @@ function zQ({ label: e, value: t, onQuery: n }) {onCompositionEnd: (e) => {a.current = !1, s(e.target.value);},- children: /* @__PURE__ */ (0, I.jsx)(hV, {+ children: /* @__PURE__ */ (0, I.jsx)(pV, {"aria-label": e,value: r,onChange: (e) => {i(e), a.current || s(e);},- children: /* @__PURE__ */ (0, I.jsx)(_V, {+ children: /* @__PURE__ */ (0, I.jsx)(hV, {type: "search",- leadingIcon: xOe,+ leadingIcon: wOe,spellCheck: !1,autoComplete: "off",enterKeyHint: "search",@@ -67131,7 +67131,7 @@ function zQ({ label: e, value: t, onQuery: n }) {});}// src/react/index/tag-pagination.ts-function BQ(e) {+function LQ(e) {let [t, n] = (0, F.useState)({filter: e,pageIndex: 0,@@ -67148,7 +67148,7 @@ function BQ(e) {}), [e])};}-function VQ(e, t, n) {+function RQ(e, t, n) {let { pageIndex: r, pageSize: i } = t;(0, F.useEffect)(() => {if (e === void 0) return;@@ -67165,11 +67165,11 @@ function VQ(e, t, n) {]);}// src/react/index/index-tags.tsx-var HQ = () => /* @__PURE__ */ (0, I.jsx)("span", {+var zQ = () => /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"-}), UQ = wV("pencil"), WQ = (e, t) => ({+}), BQ = SV("pencil"), VQ = (e, t) => ({kind: "tag",name: e.k,favorite: e.favorite,@@ -67178,7 +67178,7 @@ var HQ = () => /* @__PURE__ */ (0, I.jsx)("span", {tag_id: e.id || e.k} : { entity_id: e.entity_id }});-function SOe({ tag: e, actions: t }) {+function TOe({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 items-center gap-1",@@ -67187,13 +67187,13 @@ function SOe({ tag: e, actions: t }) {type: "button","data-alpha-tag": "","data-k": e.k,- "data-tag-cat": dZ(t.online, e.cat),+ "data-tag-cat": cZ(t.online, e.cat),"aria-pressed": n,title: e.label,onClick: () => t.press(e.k),className: "flex h-9 min-w-0 flex-1 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [- /* @__PURE__ */ (0, I.jsx)(HQ, {}),+ /* @__PURE__ */ (0, I.jsx)(zQ, {}),/* @__PURE__ */ (0, I.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -67204,32 +67204,32 @@ function SOe({ tag: e, actions: t }) {})]}),- t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(RV, { item: WQ(e, t.online) }),- t.edit ? /* @__PURE__ */ (0, I.jsx)(LV, {+ t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(IV, { item: VQ(e, t.online) }),+ t.edit ? /* @__PURE__ */ (0, I.jsx)(FV, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, I.jsx)(UQ, {})+ children: /* @__PURE__ */ (0, I.jsx)(BQ, {})}) : null]});}-function GQ({ groups: e, actions: t }) {+function HQ({ groups: e, actions: t }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",children: e.map(([e, n], r) => /* @__PURE__ */ (0, I.jsxs)("section", {"data-alpha-group": r,- className: PU({+ className: MU({radius: "plain",padding: "none",className: "px-5 pt-4 pb-3"}),children: [/* @__PURE__ */ (0, I.jsxs)("h3", {className: "mb-2 flex items-center text-title-2-medium text-text-primary",- children: [e, /* @__PURE__ */ (0, I.jsx)(CW, { value: n.length })]+ children: [e, /* @__PURE__ */ (0, I.jsx)(yW, { value: n.length })]}), /* @__PURE__ */ (0, I.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",- children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(SOe, {+ children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(TOe, {tag: e,actions: t}, e.k))@@ -67237,26 +67237,26 @@ function GQ({ groups: e, actions: t }) {}, e))});}-var COe = "\xA0";-function KQ({ tags: e, actions: t }) {+var EOe = "\xA0";+function UQ({ tags: e, actions: t }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-tag-cloud": "",className: "flex flex-wrap gap-1.75",children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("span", {"data-tag-token": "",- "data-tag-cat": dZ(t.online, e.cat),+ "data-tag-cat": cZ(t.online, e.cat),className: "inline-flex max-w-full min-w-0 items-center gap-1 rounded-lg border p-1",children: [/* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-tag-chip": "","data-k": e.k,- "data-tag-cat": dZ(t.online, e.cat),+ "data-tag-cat": cZ(t.online, e.cat),"aria-pressed": t.picked.has(e.k),onClick: () => t.press(e.k),className: "inline-flex max-w-full min-w-0 cursor-pointer items-center rounded-lg px-2 py-0.5 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "min-w-0 truncate",- children: e.label + COe+ children: e.label + EOe}), /* @__PURE__ */ (0, I.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",@@ -67265,16 +67265,16 @@ function KQ({ tags: e, actions: t }) {}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-tag-actions": "",className: "inline-flex flex-none items-center gap-1",- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(RV, { item: WQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(LV, {+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(IV, { item: VQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(FV, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, I.jsx)(UQ, {})+ children: /* @__PURE__ */ (0, I.jsx)(BQ, {})}) : null]}) : null]}, e.k))});}-var wOe = [[+var DOe = [["cloud","标签云","tags"@@ -67283,34 +67283,34 @@ var wOe = [["字母表","text-aa"]];-function qQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {- let d = SL();- return /* @__PURE__ */ (0, I.jsx)(wL, {+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 = bL();+ return /* @__PURE__ */ (0, I.jsx)(SL, {label: "标签筛选",topLabel: "标签类型",top: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l ? /* @__PURE__ */ (0, I.jsxs)("div", {role: "group","aria-label": "标签状态",className: "flex flex-none items-center gap-1.75 border-r border-(--glass-low) pr-3",- children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(TL, {+ children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(CL, {"data-tag-pill": "","data-tag-cat": "all",pressed: !l.blocked && l.hidden === e,onPress: () => l.onChange(!!e),children: t- }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, I.jsx)(TL, {+ }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, I.jsx)(CL, {"data-tag-pill": "","data-tag-cat": "all",pressed: !!l.blocked,onPress: l.onBlocked,children: "已屏蔽内容"}) : null]- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(TL, {+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(CL, {"data-tag-pill": "",- "data-tag-cat": e === "all" ? "all" : dZ(n, e),+ "data-tag-cat": e === "all" ? "all" : cZ(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, I.jsx)(HQ, {}), r]+ children: [/* @__PURE__ */ (0, I.jsx)(zQ, {}), r]}, e))] }),bottom: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {@@ -67331,19 +67331,19 @@ function qQ({ categories: e, category: t, online: n, readout: r, letters: i, viechildren: e}, e))}) : null,- /* @__PURE__ */ (0, I.jsx)(Wz, {+ /* @__PURE__ */ (0, I.jsx)(Hz, {"aria-label": "标签视图",orientation: "horizontal",value: a,onChange: (e) => c(e),- className: `ml-auto ${_U}`,- children: wOe.map(([e, t, n]) => {- let r = wV(n);- return /* @__PURE__ */ (0, I.jsx)(Gz, {+ className: `ml-auto ${hU}`,+ children: DOe.map(([e, t, n]) => {+ let r = SV(n);+ return /* @__PURE__ */ (0, I.jsx)(Uz, {value: e,"aria-label": t,"data-glass-segment": "",- className: vU,+ className: gU,children: /* @__PURE__ */ (0, I.jsx)("span", {title: t,className: "contents",@@ -67355,13 +67355,13 @@ function qQ({ categories: e, category: t, online: n, readout: r, letters: i, vie] })});}-function TOe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+function OOe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {return /* @__PURE__ */ (0, I.jsxs)(kj, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,children: [- /* @__PURE__ */ (0, I.jsx)(XV, {+ /* @__PURE__ */ (0, I.jsx)(JV, {isSelected: t === "any",onChange: (e) => n(e ? "any" : "all"),children: /* @__PURE__ */ (0, I.jsxs)("span", {@@ -67392,74 +67392,74 @@ function TOe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {});}// src/react/toaster.tsx-var JQ = (e, t) => /* @__PURE__ */ (0, I.jsx)("span", {+var GQ = (e, t) => /* @__PURE__ */ (0, I.jsx)("span", {"data-toast-glyph": t ? "draw" : "still","aria-hidden": "true",dangerouslySetInnerHTML: { __html: e }-}), YQ = null, XQ = { "--floating-radius": "var(--radius-2xl)" }, ZQ = (e) => `max(${e}px, var(--selection-dock-space, 0px), var(--miniplayer-space, 0px))`;-function QQ() {- let e = YQ;- YQ = null, e?.root.unmount();-}-var $Q = (e, t) => {- if (YQ?.host === e) return;- QQ();- let n = (0, Rt.createRoot)(e);- YQ = {+}), KQ = null, qQ = { "--floating-radius": "var(--radius-2xl)" }, JQ = (e) => `max(${e}px, var(--selection-dock-space, 0px), var(--miniplayer-space, 0px))`;+function YQ() {+ let e = KQ;+ KQ = null, e?.root.unmount();+}+var XQ = (e, t) => {+ if (KQ?.host === e) return;+ YQ();+ let n = (0, Lt.createRoot)(e);+ KQ = {host: e,root: n- }, n.render(/* @__PURE__ */ (0, I.jsxs)($V, { children: [/* @__PURE__ */ (0, I.jsx)(sH, {+ }, n.render(/* @__PURE__ */ (0, I.jsxs)(ZV, { children: [/* @__PURE__ */ (0, I.jsx)(aH, {id: "receipts",position: "bottom-right",closeButton: !0,gap: 8,style: {- ...XQ,+ ...qQ,"--width": "min(560px, calc(100vw - 48px))"},offset: {right: 24,- bottom: `calc(${ZQ(24)} + var(--processing-toast-space, 0px))`+ bottom: `calc(${JQ(24)} + var(--processing-toast-space, 0px))`},mobileOffset: {right: 16,left: 16,- bottom: `calc(${ZQ(16)} + var(--processing-toast-space, 0px))`+ bottom: `calc(${JQ(16)} + var(--processing-toast-space, 0px))`},toastOptions: { closeButtonAriaLabel: "关闭提示" },containerAriaLabel: "通知",icons: {- success: JQ(t.success, !0),- error: JQ(t.error, !1)+ success: GQ(t.success, !0),+ error: GQ(t.error, !1)}- }), /* @__PURE__ */ (0, I.jsx)(sH, {+ }), /* @__PURE__ */ (0, I.jsx)(aH, {id: "processing",position: "bottom-right",gap: 8,expand: !0,style: {- ...XQ,+ ...qQ,"--width": "min(400px, calc(100vw - 32px))"},offset: {right: 24,- bottom: ZQ(24)+ bottom: JQ(24)},mobileOffset: {right: 16,left: 16,- bottom: ZQ(16)+ bottom: JQ(16)},toastOptions: { closeButtonAriaLabel: "关闭任务提示" },containerAriaLabel: "后台任务"})] }));-}, EOe = 6e3, e$ = (e, t) => {+}, kOe = 6e3, ZQ = (e, t) => {if (!String(t.html ?? "").trim()) return;- let n = t.alert ? nH.error : nH.success, r = t.action;+ let n = t.alert ? eH.error : eH.success, r = t.action;n(/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,toasterId: "receipts",- duration: t.timeout > 0 ? t.timeout : EOe,+ duration: t.timeout > 0 ? t.timeout : kOe,action: r ? {label: r.label,onClick: (e) => {@@ -67467,7 +67467,7 @@ var $Q = (e, t) => {}} : void 0});-}, t$ = (e) => e.id ?? e.entity_id, n$ = {+}, QQ = (e) => e.id ?? e.entity_id, $Q = {rename: "重命名标签",merge: "合并标签",hide: "隐藏标签",@@ -67475,26 +67475,26 @@ var $Q = (e, t) => {repair: "整理重复标签",block: "屏蔽内容",unblock: "恢复内容"-}, r$ = (e, t) => V("/api/tag-management/preview", e, "POST", t);-async function i$(e, t, n) {+}, e$ = (e, t) => H("/api/tag-management/preview", e, "POST", t);+async function t$(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 cl({- title: n$[e.operation],+ return !(await sl({+ title: $Q[e.operation],body: i,- confirmLabel: n$[e.operation],- onConfirm: () => V("/api/tag-management", {+ confirmLabel: $Q[e.operation],+ onConfirm: () => H("/api/tag-management", {...e,token: t.token}, "POST", n)- })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), e$(`tag-management-${Date.now()}`, {- html: `已${n$[e.operation]}`,+ })).confirmed || n?.aborted ? !1 : (await U.invalidateQueries(), ZQ(`tag-management-${Date.now()}`, {+ html: `已${$Q[e.operation]}`,alert: !1,timeout: 6e3,action: null}), !0);}-function a$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {+function n$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {let a = (0, F.useRef)({operation: e,selected: t,@@ -67503,24 +67503,24 @@ function a$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }scope: i}), o = (0, F.useRef)({name: t[0]?.k || "",- target_id: t[0] ? t$(t[0]) : 0+ target_id: t[0] ? QQ(t[0]) : 0}), [s, c] = (0, F.useState)(null);return (0, F.useEffect)(() => {- let e = new AbortController(), t = a.current, n = ol({- title: n$[t.operation],+ let e = new AbortController(), t = a.current, n = al({+ title: $Q[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(t$),+ ids: t.selected.map(QQ),...t.scope === "online" ? { scope: t.scope } : {},...t.operation === "rename" ? { name: o.current.name.trim() } : { target_id: o.current.target_id }};return {command: n,- plan: await r$(n, e.signal)+ plan: await e$(n, e.signal)};}});@@ -67531,14 +67531,14 @@ function a$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }if (!e.signal.aborted) {if (n.confirmed) {let r = n.result;- await i$(r.command, r.plan, e.signal) && t.done();+ await t$(r.command, r.plan, e.signal) && t.done();}e.signal.aborted || t.close();}}), () => {e.abort(), n.close();};- }, []), s ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(DOe, {+ }, []), s ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(AOe, {operation: a.current.operation,selected: a.current.selected,dialog: s.dialog,@@ -67547,8 +67547,8 @@ function a$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }}}), s.host) : null;}-function DOe({ operation: e, selected: t, dialog: n, update: r }) {- let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? t$(t[0]) : 0);+function AOe({ operation: e, selected: t, dialog: n, update: r }) {+ let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? QQ(t[0]) : 0);return (0, F.useEffect)(() => {r({name: i,@@ -67561,28 +67561,28 @@ function DOe({ operation: e, selected: t, dialog: n, update: r }) {e,t,r- ]), e === "rename" ? /* @__PURE__ */ (0, I.jsx)(vV, {+ ]), e === "rename" ? /* @__PURE__ */ (0, I.jsx)(gV, {autoFocus: !0,"aria-label": "标签名称",value: i,onChange: a,maxLength: 80- }) : /* @__PURE__ */ (0, I.jsx)(XJ, {+ }) : /* @__PURE__ */ (0, I.jsx)(KJ, {"aria-label": "保留的标签",prefix: "保留",selectedKey: String(o),onSelectionChange: (e) => {- let n = t.find((t) => String(t$(t)) === String(e));- n && s(t$(n));+ let n = t.find((t) => String(QQ(t)) === String(e));+ n && s(QQ(n));},- children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(tW, {- id: String(t$(e)),+ children: t.map((e) => /* @__PURE__ */ (0, I.jsx)($U, {+ id: String(QQ(e)),children: e.k- }, t$(e)))+ }, QQ(e)))});}// src/react/index/tag-manager.tsx-function o$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {+function r$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {let s = o === "online", c = (0, F.useRef)(null), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(t), [p, m] = (0, F.useState)(n), h = r ? t : d, g = i ? n : p, _ = e ?? l, [v, y] = (0, F.useState)(!1), [b, x] = (0, F.useState)(!1), S = JSON.stringify([o,_,@@ -67590,7 +67590,7 @@ function o$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,g,v,b- ]), { pagination: C, onChange: w } = BQ(S), T = new URLSearchParams({+ ]), { pagination: C, onChange: w } = LQ(S), T = new URLSearchParams({limit: String(C.pageSize),offset: String(C.pageIndex * C.pageSize),q: _,@@ -67598,34 +67598,34 @@ function o$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,view: g,state: b ? "blocked" : v ? "hidden" : "active",scope: o- }), E = Pt({+ }), E = Nt({queryKey: ["tag-management",o,"page",T.toString()],- queryFn: ({ signal: e }) => B(`/api/tag-management?${T}`, e)+ queryFn: ({ signal: e }) => V(`/api/tag-management?${T}`, e)});- VQ(E.data?.total, C, w);+ RQ(E.data?.total, C, w);let [D, O] = (0, F.useState)(/* @__PURE__ */ new Map());(0, F.useEffect)(() => {O(/* @__PURE__ */ new Map());}, [S]);- let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = EH(), ee = E.data?.items || [], N = ee, te = (s ? nZ : tZ).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({+ let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = wH(), ee = E.data?.items || [], N = ee, te = (s ? $X : QX).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({...e,label: e.k- })), ne = g === "alphabet" ? fZ(P, (e) => e) : [], re = [...D.values()], ie = (e) => {+ })), ne = g === "alphabet" ? lZ(P, (e) => e) : [], re = [...D.values()], ie = (e) => {M.run(e.operation, async (t) => {let n = s ? {...e,scope: o} : e;- return i$(n, await r$(n, t), t);+ return t$(n, await e$(n, t), t);}, (e) => {e && O(/* @__PURE__ */ new Map());});- }, ae = re.map(t$), oe = {+ }, ae = re.map(QQ), oe = {online: s,favorites: s,picked: k,@@ -67646,13 +67646,13 @@ function o$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,children: [e === void 0 ? /* @__PURE__ */ (0, I.jsx)("div", {className: "mb-4 flex",- children: /* @__PURE__ */ (0, I.jsx)(zQ, {+ children: /* @__PURE__ */ (0, I.jsx)(IQ, {label: "过滤标签",value: l,onQuery: u})}) : null,- /* @__PURE__ */ (0, I.jsx)(qQ, {+ /* @__PURE__ */ (0, I.jsx)(WQ, {categories: te,category: h,online: s,@@ -67680,7 +67680,7 @@ function o$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,} } : {}},actions: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, I.jsx)(EL, {+ E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, I.jsx)(wL, {busy: M.busy === "repair",onPress: () => ie({operation: "repair",@@ -67688,20 +67688,20 @@ function o$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,}),children: "整理重复标签"}) : null,- N.length ? /* @__PURE__ */ (0, I.jsx)(EL, {+ N.length ? /* @__PURE__ */ (0, I.jsx)(wL, {onPress: () => O((e) => new Map([...e, ...N.map((e) => [e.k, e])])),children: "选择本页"}) : null,- k.size ? /* @__PURE__ */ (0, I.jsx)(EL, {+ k.size ? /* @__PURE__ */ (0, I.jsx)(wL, {onPress: () => O(/* @__PURE__ */ new Map()),children: "清空选择"}) : null] })}),- E.isPending ? /* @__PURE__ */ (0, I.jsx)("div", { dangerouslySetInnerHTML: { __html: nc({+ E.isPending ? /* @__PURE__ */ (0, I.jsx)("div", { dangerouslySetInnerHTML: { __html: tc({mode: g,pageSize: C.pageSize- }) } }) : E.isError ? /* @__PURE__ */ (0, I.jsx)(xV, {+ }) } }) : E.isError ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -67709,29 +67709,29 @@ function o$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,children: "立即重试"}),children: "无法读取标签"- }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(GQ, {+ }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(HQ, {groups: ne,actions: oe- }) : /* @__PURE__ */ (0, I.jsx)(KQ, {+ }) : /* @__PURE__ */ (0, I.jsx)(UQ, {tags: P,actions: oe- }) : /* @__PURE__ */ (0, I.jsx)(xV, {+ }) : /* @__PURE__ */ (0, I.jsx)(yV, {tone: "neutral",children: "没有符合条件的标签。"}),E.data ? /* @__PURE__ */ (0, I.jsx)("div", {className: "mt-5",- children: /* @__PURE__ */ (0, I.jsx)($J, {+ children: /* @__PURE__ */ (0, I.jsx)(YJ, {label: "标签管理",total: E.data.total,pagination: C,onChange: w,unit: "个标签",pageUnit: "个",- pageSizes: tc+ pageSizes: ec})}) : null,- M.error ? /* @__PURE__ */ (0, I.jsx)(xV, {+ M.error ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",children: M.error}) : null,@@ -67757,7 +67757,7 @@ function o$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...EV(!!M.busy),+ ...wV(!!M.busy),onClick: () => ie({operation: v ? "restore" : "hide",ids: ae@@ -67767,7 +67767,7 @@ function o$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,s ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...EV(!!M.busy),+ ...wV(!!M.busy),onClick: () => ie({operation: b ? "unblock" : "block",ids: ae@@ -67776,7 +67776,7 @@ function o$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,}) : null]}),- A ? /* @__PURE__ */ (0, I.jsx)(a$, {+ A ? /* @__PURE__ */ (0, I.jsx)(n$, {operation: A,selected: re,scope: o,@@ -67787,7 +67787,7 @@ function o$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,});}// src/react/index/index-page.tsx-var OOe = [+var jOe = [{value: "studios",label: "厂牌",@@ -67803,7 +67803,7 @@ var OOe = [label: "系列",symbol: "list"}-], kOe = [{+], MOe = [{value: "local",label: "本地",symbol: "hard-drive"@@ -67811,7 +67811,7 @@ var OOe = [value: "online",label: "在线",symbol: "rss"-}], AOe = [+}], NOe = [{value: "performers",label: "艺人",@@ -67827,7 +67827,7 @@ var OOe = [label: "在线",symbol: "rss"}-], jOe = {+], POe = {people: [["big","大图 · 竖幅头像",@@ -67856,20 +67856,20 @@ var OOe = ["layout-grid"]]};-function MOe({ kind: e, layout: t, onChange: n }) {- return /* @__PURE__ */ (0, I.jsx)(mU, {- "aria-label": `${eZ[e]}索引版式`,+function FOe({ kind: e, layout: t, onChange: n }) {+ return /* @__PURE__ */ (0, I.jsx)(fU, {+ "aria-label": `${ZX[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",- className: `flex-none ${hU}`,- children: jOe[e === "series" ? "series" : aZ(e) ? "company" : "people"].map(([e, t, n]) => {- let r = wV(n);- return /* @__PURE__ */ (0, I.jsx)(Gz, {+ className: `flex-none ${pU}`,+ children: POe[e === "series" ? "series" : nZ(e) ? "company" : "people"].map(([e, t, n]) => {+ let r = SV(n);+ return /* @__PURE__ */ (0, I.jsx)(Uz, {value: e,"aria-label": t,- className: ove,+ className: cve,children: /* @__PURE__ */ (0, I.jsx)("span", {title: t,className: "contents",@@ -67879,8 +67879,8 @@ function MOe({ kind: e, layout: t, onChange: n }) {})});}-function NOe(e) {- let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => oZ({+function IOe(e) {+ let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => rZ({kind: e.kind,q: e.q,scope: e.scope,@@ -67893,8 +67893,8 @@ function NOe(e) {e.view,e.category]), [o, s] = (0, F.useState)(a);- a !== o && (s(a), i(oZ(e)));- let [c, l] = (0, F.useState)(e.layout), [u, d] = (0, F.useState)(/* @__PURE__ */ new Set()), [f, p] = (0, F.useState)("any"), m = (0, F.useRef)(null), { kind: h, q: g, scope: _, view: v, category: y } = r, b = eZ[h], x = h === "tags" && _ === "online", S = h === "performers" && _ === "online";+ a !== o && (s(a), i(rZ(e)));+ let [c, l] = (0, F.useState)(e.layout), [u, d] = (0, F.useState)(/* @__PURE__ */ new Set()), [f, p] = (0, F.useState)("any"), m = (0, F.useRef)(null), { kind: h, q: g, scope: _, view: v, category: y } = r, b = ZX[h], x = h === "tags" && _ === "online", S = h === "performers" && _ === "online";(0, F.useEffect)(() => {if (r.kind === e.kind && r.scope === e.scope && r.category === e.category) return;let t = !0;@@ -67913,7 +67913,7 @@ function NOe(e) {...t};i(o), e.route(o, { replace: a });- }, { pagination: w, onChange: T } = BQ(JSON.stringify(r)), E = uZ(sZ(r), w.pageSize), D = It({+ }, { pagination: w, onChange: T } = LQ(JSON.stringify(r)), E = sZ(iZ(r), w.pageSize), D = Ft({queryKey: h === "tags" && (w.pageIndex || w.pageSize !== 100) ? [...E.queryKey,"page",@@ -67927,8 +67927,8 @@ function NOe(e) {initialPageParam: h === "tags" ? w.pageIndex * w.pageSize : 0,getNextPageParam: h === "tags" ? () => void 0 : E.getNextPageParam,enabled: !(t && h === "tags"),- placeholderData: ke- }), O = dEe(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;+ placeholderData: Oe+ }), O = mEe(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;(0, F.useEffect)(() => {fm(() => window.location.pathname === `/${h}` && !!m.current?.isConnected, m.current?.querySelector("[data-index-body]"), { pending: k });}, [@@ -67936,15 +67936,15 @@ function NOe(e) {D.isPending,D.isPlaceholderData,r- ]), VQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);- let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : fEe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;+ ]), RQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);+ let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : hEe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;te && !D.isPlaceholderData && (N.current = {key: ee,counts: te});let P = te ?? (N.current?.key === ee ? N.current.counts : void 0), ne = D.isPending && !P, re = ([e]) => e === "all" || ne || Number(P?.[e] || 0) > 0;(0, F.useLayoutEffect)(() => {- m.current && wl(m.current);+ m.current && Cl(m.current);}, [c]);let ie = (0, F.useMemo)(() => h === "tags" ? O.map((t) => ({...t,@@ -67953,15 +67953,15 @@ function NOe(e) {O,h,x- ]), ae = (0, F.useMemo)(() => h === "tags" && v === "alphabet" ? fZ(ie, (t) => x ? t : e.tagLabel(t)) : [], [+ ]), ae = (0, F.useMemo)(() => h === "tags" && v === "alphabet" ? lZ(ie, (t) => x ? t : e.tagLabel(t)) : [], [ie,v,h,x]), oe = (t) => {l(t), e.savePreference({ layout: t });- }, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(TW, {- tabs: kOe,+ }, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(xW, {+ tabs: MOe,value: _,label: "词表",onChange: (e) => {@@ -67971,8 +67971,8 @@ function NOe(e) {view: e === "online" ? "alphabet" : v});}- }) : aZ(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(TW, {- tabs: OOe,+ }) : nZ(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(xW, {+ tabs: jOe,value: h,label: "资料类型",onChange: (e) => C({ kind: e })@@ -67981,7 +67981,7 @@ function NOe(e) {let n = new Set(e);return n.delete(t) || n.add(t), n;}) : ie.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");- }, le = (x ? nZ : tZ).filter(re);+ }, le = (x ? $X : QX).filter(re);return /* @__PURE__ */ (0, I.jsxs)("div", {ref: m,"data-index-page": h,@@ -67996,10 +67996,10 @@ function NOe(e) {className: "flex flex-none items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",children: b}),- iZ(h) ? /* @__PURE__ */ (0, I.jsx)("span", {+ tZ(h) ? /* @__PURE__ */ (0, I.jsx)("span", {"data-index-count": "",className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums max-board-narrow:order-1 max-board-narrow:basis-full",- children: /* @__PURE__ */ (0, I.jsx)(_L, {+ children: /* @__PURE__ */ (0, I.jsx)(hL, {text: k ? void 0 : D.isError ? "" : M,busy: k,placeholder: /* @__PURE__ */ (0, I.jsx)("span", {@@ -68008,18 +68008,18 @@ function NOe(e) {})})}) : null,- iZ(h) ? /* @__PURE__ */ (0, I.jsx)(MOe, {+ tZ(h) ? /* @__PURE__ */ (0, I.jsx)(FOe, {kind: h,layout: c,onChange: oe}) : null,- /* @__PURE__ */ (0, I.jsx)(zV, { kind: h === "tags" ? "tag" : h === "series" ? "series" : h === "studios" ? "studio" : h === "agencies" ? "agency" : h === "creators" ? "creator" : "performer" }),+ /* @__PURE__ */ (0, I.jsx)(LV, { kind: h === "tags" ? "tag" : h === "series" ? "series" : h === "studios" ? "studio" : h === "agencies" ? "agency" : h === "creators" ? "creator" : "performer" }),h === "tags" ? /* @__PURE__ */ (0, I.jsx)(J, {variant: t ? "primary" : "ghost",iconOnly: !0,className: "flex-none","data-tag-mode": "",- leadingIcon: wV("pencil"),+ leadingIcon: SV("pencil"),"aria-label": t ? "返回标签浏览" : "管理标签",title: t ? "返回标签浏览" : "管理标签","aria-pressed": t,@@ -68027,7 +68027,7 @@ function NOe(e) {e.exitSelectMode(), d(/* @__PURE__ */ new Set()), n(!t);}}) : null,- /* @__PURE__ */ (0, I.jsx)(zQ, {+ /* @__PURE__ */ (0, I.jsx)(IQ, {label: `过滤${b}`,value: g,onQuery: (e) => {@@ -68036,8 +68036,8 @@ function NOe(e) {})]}),- h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(TW, {- tabs: AOe,+ h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(xW, {+ tabs: NOe,value: S ? "online" : h,label: "人物名册",onChange: (t) => {@@ -68049,7 +68049,7 @@ function NOe(e) {}}) : null,se,- t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(o$, {+ t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(r$, {scope: _,search: g,category: y,@@ -68063,8 +68063,8 @@ function NOe(e) {}, _) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [h === "performers" && _ === "local" ? /* @__PURE__ */ (0, I.jsx)("div", {"aria-label": "身份分类",- className: $X,- children: QX.filter((e) => e[0] === y || re(e)).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(J, {+ className: XX,+ children: YX.filter((e) => e[0] === y || re(e)).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(J, {variant: y === e ? "primary" : "secondary",size: "small","aria-pressed": y === e,@@ -68072,7 +68072,7 @@ function NOe(e) {children: t}, e))}) : null,- h === "tags" ? /* @__PURE__ */ (0, I.jsx)(qQ, {+ h === "tags" ? /* @__PURE__ */ (0, I.jsx)(WQ, {categories: le,category: y,online: x,@@ -68088,29 +68088,29 @@ function NOe(e) {}) : null,/* @__PURE__ */ (0, I.jsx)("div", {"data-index-body": "",- children: /* @__PURE__ */ (0, I.jsx)(BG, {+ children: /* @__PURE__ */ (0, I.jsx)(IG, {pending: k,- skeletonHtml: () => h === "tags" ? nc({+ skeletonHtml: () => h === "tags" ? tc({mode: v,pageSize: w.pageSize- }) : ac({+ }) : ic({kind: h,layout: c,mode: v}),children: (() => {if (k) return null;- if (D.isError) return /* @__PURE__ */ (0, I.jsx)(SV, {- icon: wV("alert"),+ if (D.isError) return /* @__PURE__ */ (0, I.jsx)(bV, {+ icon: SV("alert"),title: `没能读取${b}`,actions: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",onClick: () => void D.refetch(),children: "立即重试"}),- children: bn(D.error)+ children: yn(D.error)});- if (!O.length) return /* @__PURE__ */ (0, I.jsx)(FOe, {+ if (!O.length) return /* @__PURE__ */ (0, I.jsx)(ROe, {kind: h,filtered: !!g || y !== "all",online: x || S,@@ -68119,12 +68119,12 @@ function NOe(e) {category: "all"})});- if (S) return /* @__PURE__ */ (0, I.jsx)(_Ee, {+ if (S) return /* @__PURE__ */ (0, I.jsx)(bEe, {items: O,layout: c,props: e});- if (iZ(h)) return /* @__PURE__ */ (0, I.jsx)(hZ, {+ if (tZ(h)) return /* @__PURE__ */ (0, I.jsx)(fZ, {kind: h,items: O,layout: c,@@ -68135,10 +68135,10 @@ function NOe(e) {picked: u,press: ce};- return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(GQ, {+ return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(HQ, {groups: ae,actions: t- }) : /* @__PURE__ */ (0, I.jsx)(KQ, {+ }) : /* @__PURE__ */ (0, I.jsx)(UQ, {tags: ie,actions: t});@@ -68147,14 +68147,14 @@ function NOe(e) {}),h === "tags" && !k && !D.isError ? /* @__PURE__ */ (0, I.jsx)("div", {className: "mt-5",- children: /* @__PURE__ */ (0, I.jsx)($J, {+ children: /* @__PURE__ */ (0, I.jsx)(YJ, {label: "标签",total: j ?? O.length,pagination: w,onChange: T,unit: "个标签",pageUnit: "个",- pageSizes: tc+ pageSizes: ec})}) : null,A ? /* @__PURE__ */ (0, I.jsx)("div", {@@ -68168,11 +68168,11 @@ function NOe(e) {onClick: () => void D.fetchNextPage(),children: [D.isFetchingNextPage ? /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: zs("正在载入下一批") }+ dangerouslySetInnerHTML: { __html: Rs("正在载入下一批") }}) : null, "载入更多"]})}) : null,- h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(TOe, {+ h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(OOe, {count: u.size,match: f,onMatch: p,@@ -68186,7 +68186,7 @@ function NOe(e) {]});}-var POe = {+var LOe = {tags: "标签",performers: "艺人",creators: "卖家",@@ -68194,9 +68194,9 @@ var POe = {agencies: "事务所",series: "系列"};-function FOe({ kind: e, filtered: t, online: n, onClear: r }) {- if (t) return /* @__PURE__ */ (0, I.jsx)(SV, {- icon: wV("search"),+function ROe({ kind: e, filtered: t, online: n, onClear: r }) {+ if (t) return /* @__PURE__ */ (0, I.jsx)(bV, {+ icon: SV("search"),title: "没有符合条件的内容",actions: /* @__PURE__ */ (0, I.jsx)(J, {size: "small",@@ -68205,16 +68205,16 @@ function FOe({ kind: e, filtered: t, online: n, onClear: r }) {}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : POe[e], a = /* @__PURE__ */ (0, I.jsx)(jL, {+ let i = n && e === "performers" ? "创作者" : LOe[e], a = /* @__PURE__ */ (0, I.jsx)(kL, {size: "small",variant: n ? "primary" : "secondary",href: "/subscriptions?tab=add",children: "添加关注"});- return /* @__PURE__ */ (0, I.jsx)(SV, {- icon: wV(e === "tags" ? "tags" : "user-round"),+ return /* @__PURE__ */ (0, I.jsx)(bV, {+ icon: SV(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,- actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(jL, {+ actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(kL, {size: "small",href: "/settings/library",children: "添加媒体"@@ -68222,15 +68222,15 @@ function FOe({ kind: e, filtered: t, online: n, onClear: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var s$ = {+var i$ = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, IOe = (e) => s$[e.junk_kind || "other"] || s$.other;-function LOe(e) {+}, zOe = (e) => i$[e.junk_kind || "other"] || i$.other;+function BOe(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -68241,40 +68241,40 @@ function LOe(e) {glyph: "check"};}-var c$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), ROe = (e, t) => [+var a$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), VOe = (e, t) => ["junk-queue",e.view,e.kind,t];-function zOe({ kind: e, view: t }) {+function HOe({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function BOe(e, t) {- let n = await B(`/api/ads?${zOe(e)}`, t);+async function UOe(e, t) {+ let n = await V(`/api/ads?${HOe(e)}`, t);return {...n,items: n.items || []};}// src/react/junk-queue/junk-card.tsx-function l$({ name: e }) {+function o$({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-var u$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function VOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {- let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = IOe(e), m = String(e.name || ""), h = LOe(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]") || u$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));+var s$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;+function WOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {+ let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = zOe(e), m = String(e.name || ""), h = BOe(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]") || s$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {- t.stopPropagation(), u$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);+ t.stopPropagation(), s$(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) => {@@ -68289,12 +68289,12 @@ function VOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-middle-truncate": "",title: m,onClick: y,- dangerouslySetInnerHTML: { __html: z(m || "未命名资源") }+ dangerouslySetInnerHTML: { __html: B(m || "未命名资源") }}) : /* @__PURE__ */ (0, I.jsx)("span", {"data-junk-title": "","data-middle-truncate": "",title: m,- dangerouslySetInnerHTML: { __html: z(m || "未命名资源") }+ dangerouslySetInnerHTML: { __html: B(m || "未命名资源") }});return /* @__PURE__ */ (0, I.jsxs)("article", {ref: o,@@ -68305,7 +68305,7 @@ function VOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-junk-kind": d,"data-selected": n ? "" : void 0,onClick: v,- onMouseDown: tK,+ onMouseDown: ZG,children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-media-pic": "",@@ -68313,7 +68313,7 @@ function VOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, I.jsx)(l$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]+ children: [/* @__PURE__ */ (0, I.jsx)(o$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]}),g ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-art": "thumb",@@ -68325,7 +68325,7 @@ function VOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}),/* @__PURE__ */ (0, I.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, I.jsx)(l$, { name: "check" })+ children: /* @__PURE__ */ (0, I.jsx)(o$, { name: "check" })})]}),@@ -68344,7 +68344,7 @@ function VOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}) : null,/* @__PURE__ */ (0, I.jsx)("span", {"data-junk-size": "",- children: Number(e.size) > 0 ? Yn(Number(e.size)) : "大小未知"+ children: Number(e.size) > 0 ? Jn(Number(e.size)) : "大小未知"})]})]@@ -68361,8 +68361,8 @@ function VOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionsonClick: b,children: [s === "reveal" ? /* @__PURE__ */ (0, I.jsx)("span", {"data-junk-spinner": "",- dangerouslySetInnerHTML: { __html: zs("正在定位") }- }) : /* @__PURE__ */ (0, I.jsx)(l$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {+ dangerouslySetInnerHTML: { __html: Rs("正在定位") }+ }) : /* @__PURE__ */ (0, I.jsx)(o$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {"data-junk-label": "",children: "打开位置"})]@@ -68374,7 +68374,7 @@ function VOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": h.label,...S(h.operation),onClick: x(h.operation),- children: [/* @__PURE__ */ (0, I.jsx)(l$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(o$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {"data-junk-label": "",children: h.label})]@@ -68386,7 +68386,7 @@ function VOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": "移入回收站",...S("dispose"),onClick: x("dispose"),- children: [/* @__PURE__ */ (0, I.jsx)(l$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(o$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {"data-junk-label": "",children: "移入回收站"})]@@ -68401,9 +68401,9 @@ function VOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var HOe = (0, F.memo)(VOe);+var GOe = (0, F.memo)(WOe);// src/react/components/collection-summary.tsx-function d$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {+function c$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-collection-summary": "",className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5@@ -68429,31 +68429,31 @@ function d$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !});}// src/react/junk-queue/junk-count.tsx-function f$({ name: e }) {+function l$({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-function p$({ scope: e, count: t }) {+function u$({ scope: e, count: t }) {return t ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [" ", /* @__PURE__ */ (0, I.jsx)("span", {"data-count-badge": `junk:${e}`,children: t.toLocaleString()})] }) : null;}-function UOe({ route: e, page: t, failed: n, onNavigate: r }) {- let i = ZV(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = kL(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? qU.map(([e]) => c$(t, e)).join(",") : ""}`), l = XU(s), u = (e) => {+function KOe({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = YV(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = DL(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? GU.map(([e]) => a$(t, e)).join(",") : ""}`), l = JU(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") || YU()));+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || qU()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";return /* @__PURE__ */ (0, I.jsxs)("div", {"data-junk-count": "",children: [/* @__PURE__ */ (0, I.jsx)("div", {"data-junk-summary": "","aria-live": "polite",- children: /* @__PURE__ */ (0, I.jsx)(d$, {- label: ZU(s),+ children: /* @__PURE__ */ (0, I.jsx)(c$, {+ label: YU(s),figure: d,pending: !t && !n,flush: !0@@ -68473,17 +68473,17 @@ function UOe({ route: e, page: t, failed: n, onNavigate: r }) {onClick: u,onPointerLeave: c.leave,children: [- qU.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {- href: YU(e, s),+ GU.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {+ href: qU(e, s),"data-junk-kind-link": e,"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,children: [- /* @__PURE__ */ (0, I.jsx)(f$, { name: r }),+ /* @__PURE__ */ (0, I.jsx)(l$, { name: r }),n,- /* @__PURE__ */ (0, I.jsx)(p$, {+ /* @__PURE__ */ (0, I.jsx)(u$, {scope: e,- count: t ? c$(t, e) : 0+ count: t ? a$(t, e) : 0})]}, e || "all")),@@ -68497,9 +68497,9 @@ function UOe({ route: e, page: t, failed: n, onNavigate: r }) {"aria-current": s === "dismissed" ? "page" : void 0,onPointerEnter: s === "dismissed" ? void 0 : c.hover,children: [- /* @__PURE__ */ (0, I.jsx)(f$, { name: l.glyph }),+ /* @__PURE__ */ (0, I.jsx)(l$, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, I.jsx)(p$, {+ /* @__PURE__ */ (0, I.jsx)(u$, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -68511,33 +68511,33 @@ function UOe({ route: e, page: t, failed: n, onNavigate: r }) {});}// src/react/junk-queue/junk-queue-page.tsx-var WOe = wV("check"), GOe = (e, t) => e[1] === t.view && e[2] === t.kind;-function KOe(e) {+var qOe = SV("check"), JOe = (e, t) => e[1] === t.view && e[2] === t.kind;+function YOe(e) {let t = {kind: e.kind,view: e.view- }, n = Pt({- queryKey: ROe(t, e.revision),- queryFn: ({ signal: e }) => BOe(t, e),- placeholderData: (e, n) => n && GOe(n.queryKey, t) ? e : void 0+ }, n = Nt({+ queryKey: VOe(t, e.revision),+ queryFn: ({ signal: e }) => UOe(t, e),+ placeholderData: (e, n) => n && JOe(n.queryKey, t) ? e : void 0});(0, F.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = qOe(e.countRow), i = n.isPending;+ let r = XOe(e.countRow), i = n.isPending;(0, F.useLayoutEffect)(() => {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, F.useLayoutEffect)(() => {- r && n.data && $s(r, "junk");+ r && n.data && Qs(r, "junk");}, [r, n.data]);- let { navigate: a } = e.actions, o = r ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(UOe, {+ let { navigate: a } = e.actions, o = r ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(KOe, {route: t,page: n.data,failed: n.isError && !n.data,onNavigate: a}), r) : null;- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(JOe, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(ZOe, {props: e,data: n.data,pending: i,@@ -68545,7 +68545,7 @@ function KOe(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function qOe(e) {+function XOe(e) {let [t, n] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {if (!e) return;@@ -68555,8 +68555,8 @@ function qOe(e) {};}, [e]), t;}-function JOe({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = ebe(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {+function ZOe({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = ibe(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, I.jsxs)("div", {@@ -68564,16 +68564,16 @@ function JOe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-grid-reveal": a.fading ? "" : void 0,children: [a.layer, (() => {if (n) return null;- if (!t) return /* @__PURE__ */ (0, I.jsx)(zG, {- message: bn(r),+ if (!t) return /* @__PURE__ */ (0, I.jsx)(FG, {+ message: yn(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";- return /* @__PURE__ */ (0, I.jsx)(SV, {- icon: WOe,+ return /* @__PURE__ */ (0, I.jsx)(bV, {+ icon: qOe,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",- actions: t ? /* @__PURE__ */ (0, I.jsx)(jL, {+ actions: t ? /* @__PURE__ */ (0, I.jsx)(kL, {size: "small",href: "/junk-files",children: "查看待判断"@@ -68586,7 +68586,7 @@ function JOe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-media-grid": "","data-junk-grid": "","data-select-mode": e.selectMode ? "" : void 0,- children: u.map((t) => /* @__PURE__ */ (0, I.jsx)(HOe, {+ children: u.map((t) => /* @__PURE__ */ (0, I.jsx)(GOe, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -68595,7 +68595,7 @@ function JOe({ props: e, data: t, pending: n, error: r, retry: i }) {actions: e.actions}, t.id))}),- u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(YOe, { onMore: f }, s) : null,+ u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(QOe, { onMore: f }, s) : null,u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, I.jsx)("p", {"data-junk-truncated": "",className: "py-6 text-center text-caption-1-regular text-text-secondary",@@ -68605,39 +68605,39 @@ function JOe({ props: e, data: t, pending: n, error: r, retry: i }) {})()]});}-function YOe({ onMore: e }) {+function QOe({ onMore: e }) {let t = (0, F.useRef)(null);return (0, F.useEffect)(() => {let n = t.current;if (!n || typeof IntersectionObserver > "u") return;let r = new IntersectionObserver((t) => {t.some((e) => e.isIntersecting) && e();- }, { rootMargin: RG });+ }, { rootMargin: PG });return r.observe(n), () => r.disconnect();}, [e]), /* @__PURE__ */ (0, I.jsx)("div", {ref: t,"data-load-more": "",onClick: e,- dangerouslySetInnerHTML: { __html: Vs(Bs) }+ dangerouslySetInnerHTML: { __html: Bs(zs) }});}// src/react/components/fieldset-layout.ts-var XOe = PU({+var $Oe = MU({padding: "none",className: "overflow-hidden"-}), m$ = {+}), d$ = {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"-}, h$ = {+}, f$ = {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 g$(e) {- return `${XOe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;+function p$(e) {+ return `${$Oe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;}// src/react/data-cleanup/cleanup-entry.ts-var _$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", v$ = {- face: PU({+var m$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", h$ = {+ face: MU({padding: "none",radius: "plain",interactive: !0,@@ -68649,34 +68649,34 @@ var _$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", vsummary: "text-body-2-regular tabular-nums text-text-secondary wrap-anywhere",detail: "text-caption-1-regular text-text-tertiary wrap-anywhere",arrow: "size-4 shrink-0 self-center text-foreground-icon-tertiary"-}, ZOe = [+}, eke = ["text-chart-6","text-chart-5","text-chart-7","text-chart-8"-], QOe = [+], tke = ["bg-chart-6/10","bg-chart-5/10","bg-chart-7/10","bg-chart-8/10"];-function $Oe(e = {}) {- return `${PU({+function nke(e = {}) {+ return `${MU({...e,padding: "none"})} flex flex-col overflow-hidden pt-4 text-left`;}-var eke = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", tke = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";-function y$({ interactive: e = !1 } = {}) {- return PU({+var rke = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", ike = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";+function g$({ interactive: e = !1 } = {}) {+ return MU({padding: "none",radius: "plain",interactive: e,className: "flex min-h-33 flex-col gap-2 p-4 text-left"});}-var b$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";-function nke({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {+var _$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";+function ake({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",@@ -68709,13 +68709,13 @@ function nke({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMet})] });}-function rke({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {+function oke({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",children: [t ? /* @__PURE__ */ (0, I.jsx)("i", {"aria-hidden": !0,- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${ZOe[n % 4]} ${QOe[n % 4]}`,+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${eke[n % 4]} ${tke[n % 4]}`,children: /* @__PURE__ */ (0, I.jsx)(t, {"aria-hidden": !0,className: "size-4"@@ -68736,96 +68736,96 @@ function rke({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {] });}// src/management.ts-var x$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", S$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", C$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", w$ = "disabled data-skeleton-action", ike = "aria-disabled=\"true\"", T$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, E$ = (e, t, n) => `<div class="${m$[n]}"><div class="flex flex-col gap-2">+var v$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", y$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", b$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", x$ = "disabled data-skeleton-action", ske = "aria-disabled=\"true\"", S$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, C$ = (e, t, n) => `<div class="${d$[n]}"><div class="flex flex-col gap-2"><h3 class="text-title-2-medium text-text-primary">${e}</h3><p class="text-body-2-regular text-text-secondary">${t}</p></div></div>`;-function ake() {- return T$(`<section aria-label="扫描与采集" class="${g$("stack")}" data-cleanup-task data-cleanup-processing>- ${E$("扫描与采集", x$, "stack")}- <footer class="${h$.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>${ws("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Ds({+function cke() {+ return S$(`<section aria-label="扫描与采集" class="${p$("stack")}" data-cleanup-task data-cleanup-processing>+ ${C$("扫描与采集", v$, "stack")}+ <footer class="${f$.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>${Cs("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Es({label: "同步新增文件",- attrs: w$- })}${Ds({+ attrs: x$+ })}${Es({glyph: "chevron-down",- attrs: `${w$} aria-label="更多同步方式"`+ attrs: `${x$} aria-label="更多同步方式"`})}</span></footer></section>`);}-function oke() {- return T$(`<section aria-label="媒体修复" class="${g$("split")}" data-cleanup-task data-cleanup-processing>- ${E$("媒体修复", S$, "split")}- <footer class="${h$.split}">${ks(C$, {+function lke() {+ return S$(`<section aria-label="媒体修复" class="${p$("split")}" data-cleanup-task data-cleanup-processing>+ ${C$("媒体修复", y$, "split")}+ <footer class="${f$.split}">${Os(b$, {className: "w-48",- attrs: ike- })}${Ds({+ attrs: ske+ })}${Es({label: "开始修复",- attrs: w$+ attrs: x$})}</footer></section>`);}-function ske() {- let e = (e, t, n, r = "") => `<div class="${v$.face}"><span class="${v$.icon}">${ws(t, "size-5")}</span><span class="${v$.body}"><span class="${v$.title}">${e}</span><span class="${v$.summary}">${n}</span>${r ? `<span class="${v$.detail}">${r}</span>` : ""}</span>${ws("chevron-right", v$.arrow)}</div>`, t = (e, t) => `<div class="${y$()}"><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">${ws(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${C$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${C$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => Yf.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");+function uke() {+ let e = (e, t, n, r = "") => `<div class="${h$.face}"><span class="${h$.icon}">${Cs(t, "size-5")}</span><span class="${h$.body}"><span class="${h$.title}">${e}</span><span class="${h$.summary}">${n}</span>${r ? `<span class="${h$.detail}">${r}</span>` : ""}</span>${Cs("chevron-right", h$.arrow)}</div>`, t = (e, t) => `<div class="${g$()}"><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">${Cs(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${b$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${b$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => Jf.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">- <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${b$}">${[+ <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${_$}">${[["人工复核", "square-check-big"],["重复文件", "file-stack"],["垃圾文件", "file-archive"],["高清版", "sparkles"],["回收站", "trash"]].map(([e, n]) => t(e, n)).join("")}</div></section>- <div id="libraryProcessing" class="scroll-mt-20">${ake()}</div>- <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${_$}">${r(!1)}</div></section>- <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${_$}">${r(!0)}</div></section>+ <div id="libraryProcessing" class="scroll-mt-20">${cke()}</div>+ <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${m$}">${r(!1)}</div></section>+ <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${m$}">${r(!0)}</div></section></div></div>`;}// src/react/components/fieldset.tsx-var cke = PU({+var dke = MU({padding: "none",radius: "surface",className: "overflow-hidden"-}), lke = "border-t border-border-button-default p-4 first:border-t-0";-function uke({ id: e, children: t }) {+}), fke = "border-t border-border-button-default p-4 first:border-t-0";+function pke({ id: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)("h2", {id: e,className: "text-title-2-medium! m-0! text-text-primary",children: t});}-function D$({ id: e, gap: t = "none", children: n }) {+function w$({ id: e, gap: t = "none", children: n }) {return /* @__PURE__ */ (0, I.jsx)("h3", {id: e,className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,children: n});}-function O$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {+function T$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {return /* @__PURE__ */ (0, I.jsxs)("section", {id: r,"aria-label": t,"aria-labelledby": n,...o,- className: g$(e),+ className: p$(e),children: [/* @__PURE__ */ (0, I.jsx)("div", {- className: m$[e],+ className: d$[e],children: a}), i ? /* @__PURE__ */ (0, I.jsx)("footer", {- className: h$[e],+ className: f$[e],children: i}) : null]});}// src/react/components/name-link.tsx-function k$({ className: e, ...t }) {+function E$({ className: e, ...t }) {return /* @__PURE__ */ (0, I.jsx)("a", {...t,className: q("text-body-2-medium underline-offset-4 hover:underline", e)});}// src/react/components/issue-row.tsx-function A$({ title: e, href: t, children: n }) {+function D$({ title: e, href: t, children: n }) {return /* @__PURE__ */ (0, I.jsxs)("li", {className: "flex min-w-0 flex-col gap-1 border-b border-current/15 py-2 pr-6 wrap-anywhere first:pt-0 last:border-b-0 last:pb-0",- children: [t ? /* @__PURE__ */ (0, I.jsx)(k$, {+ children: [t ? /* @__PURE__ */ (0, I.jsx)(E$, {href: t,children: e}) : /* @__PURE__ */ (0, I.jsx)("span", {@@ -68835,23 +68835,23 @@ function A$({ title: e, href: t, children: n }) {});}// src/react/components/status-label.tsx-var dke = {+var mke = {success: "lime",progress: "blue",warning: "yellow",error: "rose",neutral: "neutral"};-function j$({ tone: e = "neutral", ...t }) {- return /* @__PURE__ */ (0, I.jsx)(rW, {+function O$({ tone: e = "neutral", ...t }) {+ return /* @__PURE__ */ (0, I.jsx)(tW, {"data-status-tone": e,variant: "caption",- color: dke[e],+ color: mke[e],...t});}// src/react/components/path-line.tsx-function fke({ className: e }) {+function hke({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -68864,8 +68864,8 @@ function fke({ className: e }) {children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-folder-open" })});}-var pke = "打开文件管理器失败,请重试";-function M$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {+var gke = "打开文件管理器失败,请重试";+function k$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {let [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(!0);(0, F.useEffect)(() => () => {l.current = !1;@@ -68874,9 +68874,9 @@ function M$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {if (!a) {o(!0), c("");try {- await V("/api/reveal", { path: e }), i?.("已在资源管理器中显示");+ await H("/api/reveal", { path: e }), i?.("已在资源管理器中显示");} catch (e) {- l.current && c(e instanceof or ? e.message : pke);+ l.current && c(e instanceof ar ? e.message : gke);} finally {l.current && o(!1);}@@ -68891,12 +68891,12 @@ function M$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {children: [t, e]}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(yL, {- icon: fke,+ children: [/* @__PURE__ */ (0, I.jsx)(_L, {+ icon: hke,size: "small","aria-label": "在资源管理器中显示",onClick: () => void u(),- ...EV(a)+ ...wV(a)}), r]})]}), s ? /* @__PURE__ */ (0, I.jsx)("p", {@@ -68906,7 +68906,7 @@ function M$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {});}// src/react/library-processing/issue-export.ts-async function mke(e, t) {+async function _ke(e, t) {if (!e.job_id) throw Error("请先选择有问题记录的任务");let n = [], r = 1, i = "";for (let a = 0; a < r; a += 200) {@@ -68916,7 +68916,7 @@ async function mke(e, t) {limit: "200"});i && o.set("revision", i);- let s = await B(`/api/library-processing/issues?${o}`, t);+ let s = await V(`/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);@@ -68929,69 +68929,69 @@ async function mke(e, t) {rows: n}, null, 2);}-function hke(e, t) {+function vke(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 gke = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", _ke = (e) => {+var yke = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", bke = (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(",")}。`;-}, vke = (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} 部视频预览。` : "") + _ke(e);-function yke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = C_e(e), o = EH(), s = EH(), [c, l] = (0, F.useState)(""), u = fH(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = b_e(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && pH(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = uH(e), y = ZV(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => V(cH, {+}, xke = (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} 部视频预览。` : "") + bke(e);+function Ske({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+ let a = T_e(e), o = wH(), s = wH(), [c, l] = (0, F.useState)(""), u = uH(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = S_e(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && dH(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = cH(e), y = YV(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => H(oH, {action: t ? "archive" : "unarchive",job_id: e.job_id}, "POST", n), (n) => {- H.setQueryData(lH, n), l(t ? e.job_id : "");+ U.setQueryData(sH, n), l(t ? e.job_id : "");}), x = e.issue_count && !u ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...EV(!!o.busy),- onClick: () => void o.run("export", (t) => mke(e, t), (t) => {- hke(e.job_id, t), i("已导出问题清单");+ ...wV(!!o.busy),+ onClick: () => void o.run("export", (t) => _ke(e, t), (t) => {+ vke(e.job_id, t), i("已导出问题清单");}),children: "导出完整问题清单"}) : null, S = p ? [t || e.error || "处理未完成,请重试",- m ? mH : "",+ m ? fH : "",f].filter(Boolean).join("\n") : f || `这一趟有 ${(e.issue_count || 0).toLocaleString()} 项问题。`;return /* @__PURE__ */ (0, I.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",children: [- v ? /* @__PURE__ */ (0, I.jsx)(E_e, {+ v ? /* @__PURE__ */ (0, I.jsx)(O_e, {state: e,slow: v- }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(xV, {+ }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "warning",title: "处理较慢",- children: gke+ children: yke}) : null,- n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(xV, {+ n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "success",title: "处理完成",- children: vke(n)+ children: xke(n)}) : null,- (n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(xV, {+ (n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "neutral",title: "已取消上次任务",children: "已取得的资料和预览已保留,这一轮不会自动继续,需要时重新同步。"}) : null,- h ? /* @__PURE__ */ (0, I.jsx)(xV, {+ h ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: p ? m ? "warning" : "error" : "neutral",className: "gap-0 p-3",title: p ? m ? "处理已结束,部分项目需处理" : "处理未完成" : void 0,action: /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- m ? /* @__PURE__ */ (0, I.jsx)(TH, {- href: hH,+ m ? /* @__PURE__ */ (0, I.jsx)(CH, {+ href: pH,size: "small",- trailingIcon: jB,+ trailingIcon: kB,children: "查看全部内容"}) : null,d ? /* @__PURE__ */ (0, I.jsx)(J, {@@ -69005,7 +69005,7 @@ function yke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {variant: "secondary",size: "small","aria-label": "归档提示",- ...EV(!!s.busy),+ ...wV(!!s.busy),onClick: () => b(!0),children: "归档"}) : null@@ -69013,7 +69013,7 @@ function yke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}),extra: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [a ? /* @__PURE__ */ (0, I.jsx)("div", {className: "-mx-3 mt-3 border-t border-current/20 px-3 pt-3",- children: /* @__PURE__ */ (0, I.jsx)(XH, {+ children: /* @__PURE__ */ (0, I.jsx)(JH, {summary: a.label,contentClassName: "gap-0",children: /* @__PURE__ */ (0, I.jsx)("div", {@@ -69021,7 +69021,7 @@ function yke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {children: /* @__PURE__ */ (0, I.jsx)("ul", {ref: y,className: "max-h-96 overflow-y-auto",- children: a.items.map((e) => /* @__PURE__ */ (0, I.jsxs)(A$, {+ children: a.items.map((e) => /* @__PURE__ */ (0, I.jsxs)(D$, {title: e.label,href: e.href,children: [/* @__PURE__ */ (0, I.jsx)("span", {@@ -69037,7 +69037,7 @@ function yke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {})}) : null, _ ? /* @__PURE__ */ (0, I.jsx)("div", {className: "-mx-3 mt-3 border-t border-current/20 px-3 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, I.jsx)(M$, {+ children: /* @__PURE__ */ (0, I.jsx)(k$, {path: _,prefix: "完整记录:",className: "text-caption-1-regular",@@ -69050,70 +69050,70 @@ function yke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null] }),children: S}) : null,- e.archived && c === e.job_id && !t ? /* @__PURE__ */ (0, I.jsx)(xV, {+ e.archived && c === e.job_id && !t ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "neutral",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...EV(!!s.busy),+ ...wV(!!s.busy),onClick: () => b(!1),children: "撤销"}),children: "已归档上一趟的问题提示,完整记录仍保留。"}) : null,- o.error || s.error ? /* @__PURE__ */ (0, I.jsx)(xV, {+ o.error || s.error ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "warning",children: o.error || s.error}) : null]});}-function N$(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = LH(e), o = Ft({- mutationFn: (e) => V(cH, e),+function A$(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = FH(e), o = Pt({+ mutationFn: (e) => H(oH, e),onSuccess: (e) => {- a(), H.setQueryData(lH, e), H.invalidateQueries({ queryKey: lH });+ a(), U.setQueryData(sH, e), U.invalidateQueries({ queryKey: sH });}});(0, F.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = fU(c), u = o.error ? cr(o.error) : r.isError ? r.data ? yH : cr(r.error) : "", d = o.isPending || fH(s), f = async (e) => {+ let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = uU(c), u = o.error ? sr(o.error) : r.isError ? r.data ? _H : sr(r.error) : "", d = o.isPending || uH(s), f = async (e) => {d || (o.reset(), await o.mutateAsync(e));};return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, I.jsx)(O$, {+ children: [/* @__PURE__ */ (0, I.jsx)(T$, {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(TH, {+ /* @__PURE__ */ (0, I.jsx)(CH, {href: "/sources",size: "small",- trailingIcon: jB,+ trailingIcon: kB,children: "来源和凭证"}),- /* @__PURE__ */ (0, I.jsx)(TH, {+ /* @__PURE__ */ (0, I.jsx)(CH, {href: "/settings/diagnostics",size: "small",- trailingIcon: jB,+ trailingIcon: kB,children: "诊断与日志"}),- s.candidates ? /* @__PURE__ */ (0, I.jsx)(TH, {+ s.candidates ? /* @__PURE__ */ (0, I.jsx)(CH, {href: "/review",size: "small",- trailingIcon: jB,+ trailingIcon: kB,children: "复核资料"}) : null,- /* @__PURE__ */ (0, I.jsx)(UK, {+ /* @__PURE__ */ (0, I.jsx)(zK, {scan: !0,busy: o.isPending,- occupied: fH(s),+ occupied: uH(s),metadataOnly: s?.metadata_only,speedMode: s.speed_mode,pendingCount: s.new_asset_count,onRun: f,- onOccupied: () => t(v_e(s))+ onOccupied: () => t(b_e(s))})] }),children: /* @__PURE__ */ (0, I.jsxs)("div", {@@ -69123,7 +69123,7 @@ function N$(e) {className: "flex flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(D$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(rW, {+ children: [/* @__PURE__ */ (0, I.jsx)(w$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(tW, {variant: "caption",color: "blue",children: /* @__PURE__ */ (0, I.jsxs)("span", {@@ -69131,31 +69131,31 @@ function N$(e) {children: [s.new_asset_count.toLocaleString(), " 部待补全"]})}) : null]- }), l && (fH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, I.jsx)(J, {+ }), l && (uH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- onClick: () => dU(c, !0),+ onClick: () => lU(c, !0),children: "显示进度浮窗"}) : null]}),/* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: x$+ children: v$}),s.status === "paused" && !s.total ? /* @__PURE__ */ (0, I.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, I.jsx)(j$, { children: "已暂停" })- }) : fH(s) ? /* @__PURE__ */ (0, I.jsx)(P_e, { state: s }) : null,- fH(s) ? /* @__PURE__ */ (0, I.jsx)("p", {+ children: /* @__PURE__ */ (0, I.jsx)(O$, { children: "已暂停" })+ }) : uH(s) ? /* @__PURE__ */ (0, I.jsx)(I_e, { state: s }) : null,+ uH(s) ? /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular text-text-secondary tabular-nums","data-processing-eta": "",- children: gH(s)+ children: mH(s)}) : null,- fH(s) ? /* @__PURE__ */ (0, I.jsx)(iU, { traffic: s.traffic }) : null,- fH(s) ? /* @__PURE__ */ (0, I.jsx)(IH, { state: s }) : null+ uH(s) ? /* @__PURE__ */ (0, I.jsx)(nU, { traffic: s.traffic }) : null,+ uH(s) ? /* @__PURE__ */ (0, I.jsx)(PH, { state: s }) : null]})- }), /* @__PURE__ */ (0, I.jsx)(yke, {+ }), /* @__PURE__ */ (0, I.jsx)(Ske, {state: s,problem: u,settled: i,@@ -69170,32 +69170,32 @@ function N$(e) {});}// src/react/playlists/playlists.ts-var bke = "/api/playlists", P$ = "/api/playlist", F$ = ["playlists"], I$ = (e) => B(bke, e);-async function xke(e) {- await H.fetchQuery({- queryKey: F$,- queryFn: () => I$(e),+var Cke = "/api/playlists", j$ = "/api/playlist", M$ = ["playlists"], N$ = (e) => V(Cke, e);+async function wke(e) {+ await U.fetchQuery({+ queryKey: M$,+ queryFn: () => N$(e),staleTime: 0});}-var Ske = () => H.invalidateQueries({- queryKey: F$,+var Tke = () => U.invalidateQueries({+ queryKey: M$,exact: !0-}), Cke = (e) => e.current_asset_id || e.preview_asset_id || null, wke = (e) => `/poster?id=${e}&c=4`, Tke = (e) => V(P$, {+}), Eke = (e) => e.current_asset_id || e.preview_asset_id || null, Dke = (e) => `/poster?id=${e}&c=4`, Oke = (e) => H(j$, {action: "create",name: e,asset_ids: []-}), Eke = (e, t) => V(P$, {+}), kke = (e, t) => H(j$, {action: "rename",id: e,name: t-}), Dke = (e) => V(P$, {+}), Ake = (e) => H(j$, {action: "delete",id: e-}), Oke = (e) => B(`${P$}?id=${e}`).catch(() => null);-function kke(e) {+}), jke = (e) => V(`${j$}?id=${e}`).catch(() => null);+function Mke(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;- return V(P$, {+ return H(j$, {action: "create",name: e.name,asset_ids: t,@@ -69204,79 +69204,86 @@ function kke(e) {});}// src/react/scraping/custom-source-data.ts-var L$ = "/api/custom-metadata", R$ = ["custom-metadata"], z$ = (e) => B(L$, e), Ake = "/api/scraping", jke = "/api/scraping/settings", Mke = "/api/scraping/check", B$ = "/api/scraping/cover", Nke = "/api/scraping/amane-bridge", Pke = "/api/scraping/amane-bridge/check", Fke = "/api/scraping/amane-bridge/rebuild", V$ = ["scraping"], H$ = ["scraping", "cover"], U$ = ["scraping", "amane-bridge"], Ike = 262144, W$ = (e) => B(Ake, e), G$ = (e) => B(B$, e), K$ = (e) => B(Nke, e);-async function Lke(e) {+var P$ = "/api/custom-metadata", F$ = ["custom-metadata"], I$ = (e) => V(P$, e), Nke = "/api/scraping", Pke = "/api/scraping/settings", Fke = "/api/scraping/check", L$ = "/api/scraping/cover", Ike = "/api/scraping/amane-bridge", Lke = "/api/scraping/amane-bridge/check", Rke = "/api/scraping/amane-bridge/rebuild", R$ = ["scraping"], z$ = ["scraping", "cover"], B$ = ["scraping", "amane-bridge"], zke = 262144, V$ = (e) => V(Nke, e), H$ = (e) => V(L$, e), U$ = (e) => V(Ike, e);+async function Bke(e) {await Promise.all([- H.fetchQuery({- queryKey: V$,- queryFn: () => W$(e)+ U.fetchQuery({+ queryKey: R$,+ queryFn: () => V$(e)}),- H.fetchQuery({- queryKey: H$,- queryFn: () => G$(e)+ U.fetchQuery({+ queryKey: z$,+ queryFn: () => H$(e)}),- H.fetchQuery({- queryKey: U$,- queryFn: () => K$(e)+ U.fetchQuery({+ queryKey: B$,+ queryFn: () => U$(e)}),- H.fetchQuery({- queryKey: R$,- queryFn: () => z$(e)+ U.fetchQuery({+ queryKey: F$,+ queryFn: () => I$(e)})]);}-function Rke(e, t) {+function Vke(e, t) {return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");}-var q$ = /* @__PURE__ */ new Set([+var W$ = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), J$ = /* @__PURE__ */ new Set([+]), G$ = /* @__PURE__ */ new Set(["asset","jav","post","photo","release"-]), Y$ = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();-function zke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {+]);+function K$(e) {+ let t = e.pool ?? [], n = Math.min(e.size ?? e.items.length, t.length);+ if (t.length <= n) return e;+ let r = ((e.offset ?? 0) + n) % t.length;+ return {+ ...e,+ offset: r,+ items: Array.from({ length: n }, (e, n) => t[(r + n) % t.length])+ };+}+var q$ = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+function Hke({ 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 || Y$(t).includes(Y$(e)));+ }, d = t.filter((t) => !e || q$(t).includes(q$(e)));if (!e) {if (s.length) {- let e = ({ pending: e, ...t }) => ({- ...t,- options: t.items.map((e) => u({+ let e = ({ pending: e, pool: t, offset: n, size: r, ...i }) => ({+ ...i,+ options: i.items.map((e) => u({type: "suggest",value: e.value,- kind: t.kind,+ kind: i.kind,item: e})),- pending: e ? J$.has(t.kind) ? 5 : 3 : void 0- }), t = s.filter((e) => !J$.has(e.kind)).map(e);- d.length && t.push({+ pending: e ? G$.has(i.kind) ? 5 : 3 : void 0,+ shuffle: (t?.length ?? 0) > i.items.length || void 0+ }), t = s.filter((e) => !G$.has(e.kind)).map(e);+ return d.length && t.push({label: "搜索记录",options: d.map((e) => u({type: "history",value: e}))- });- let n = s.filter((e) => J$.has(e.kind)).map(e);- return n[0] &&= {- ...n[0],- shuffle: !0- }, {+ }), {tabs: null,recent: null,left: t,- right: n,+ right: s.filter((e) => G$.has(e.kind)).map(e),empty: !1,options: l};@@ -69326,7 +69333,7 @@ function zke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: n,more: r};- }, g = m.filter((e) => !J$.has(e.kind)).map(h), _ = m.filter((e) => J$.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);+ }, g = m.filter((e) => !G$.has(e.kind)).map(h), _ = m.filter((e) => G$.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);return {tabs: f && a.length > 1 ? [...a] : null,recent: p,@@ -69336,16 +69343,16 @@ function zke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: l};}-function Bke(e, t, n = Math.random) {+function Uke(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) => Y$(t) === Y$(e))).slice(0, 5);+ return r.filter((e) => !t.some((t) => q$(t) === q$(e))).slice(0, 5);}// src/react/search/search-page.tsx-var Vke = () => ({+var Wke = () => ({dismissed: !1,history: [],pool: [],@@ -69356,8 +69363,7 @@ var Vke = () => ({recommendationLoading: !1,recommendationRequest: 0,cancelIdle: () => {},- reshuffling: !1,- shuffleUntil: 0,+ shuffled: {},cancelRoll: () => {},query: "",picks: [],@@ -69371,7 +69377,7 @@ var Vke = () => ({active: -1,reveal: !1,rewind: !1-}), X$ = (e) => zke({+}), J$ = (e) => Hke({query: e.query,history: e.history,picks: e.picks,@@ -69380,27 +69386,27 @@ var Vke = () => ({tabs: e.tabs,kind: e.kind,recommendations: e.recommendations-}), Hke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), Z$ = 4e3, Uke = 5e3, Q$ = 1200;-function $$(e) {+}), Gke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), Y$ = 4e3, Kke = 5e3, X$ = 1200;+function Z$(e) {if (window.requestIdleCallback) {- let t = window.requestIdleCallback(e, { timeout: Z$ });+ let t = window.requestIdleCallback(e, { timeout: Y$ });return () => window.cancelIdleCallback(t);}- let t = window.setTimeout(e, Z$);+ let t = window.setTimeout(e, Y$);return () => window.clearTimeout(t);}-var e1 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {+var Q$ = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});-function Wke(e) {+function qke(e) {let t = (0, F.useRef)(e);t.current = e;let n = (0, F.useRef)(null);- n.current ??= Vke();+ n.current ??= Wke();let r = n.current, i = (0, F.useRef)(null), [, a] = (0, F.useReducer)((e) => e + 1, 0), o = (0, F.useRef)(null);- o.current ??= qke(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);+ o.current ??= Yke(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);let s = o.current;(0, F.useLayoutEffect)(() => {let { input: e } = t.current, n = (e) => s.input(e), i = () => {@@ -69411,7 +69417,7 @@ function Wke(e) {e.addEventListener("input", n), e.addEventListener("compositionend", n), e.addEventListener("compositionstart", i), e.addEventListener("keydown", a), e.addEventListener("focus", o), e.addEventListener("click", c);let l = { close: s.close };t.current.expose(l), s.warm();- let u = window.setInterval(s.rotatePlaceholder, Uke);+ let u = window.setInterval(s.rotatePlaceholder, Kke);return () => {e.removeEventListener("input", n), e.removeEventListener("compositionend", n), e.removeEventListener("compositionstart", i), e.removeEventListener("keydown", a), e.removeEventListener("focus", o), e.removeEventListener("click", c), clearTimeout(r.timer), r.cancelIdle(), window.clearInterval(u), r.cancelRoll(), r.recommendationRequest++, t.current.expose(null);};@@ -69419,7 +69425,7 @@ function Wke(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 = X$(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(Yke, {+ let c = J$(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(Zke, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -69428,12 +69434,12 @@ function Wke(e) {onRemove: s.remove}, `${t.type}:${t.value}:${t.index}`), d = (e) => e.href ? /* @__PURE__ */ (0, I.jsx)("a", {href: e.href,- onMouseDown: n1,+ onMouseDown: t1,onClick: (t) => {t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));},children: e.action || "查看全部"- }) : null, f = r.reshuffling || Date.now() < r.shuffleUntil, p = (e) => /* @__PURE__ */ (0, I.jsxs)("section", {+ }) : null, f = (e = "") => Date.now() < (r.shuffled[e] ?? 0), p = (e) => /* @__PURE__ */ (0, I.jsxs)("section", {"data-search-group": "","data-kind": e.kind,children: [@@ -69442,18 +69448,18 @@ function Wke(e) {children: [/* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-search-shuffle": "",- "aria-label": "换一批",+ "aria-label": `${e.label}换一批`,title: "换一批",- "aria-busy": f || void 0,- onMouseDown: n1,- onClick: s.reshuffle,- children: /* @__PURE__ */ (0, I.jsx)(e1, { name: "shuffle" })+ "aria-busy": f(e.kind) || void 0,+ onMouseDown: t1,+ onClick: () => s.reshuffle(e.kind),+ children: /* @__PURE__ */ (0, I.jsx)(Q$, { name: "shuffle" })}), d(e)]}) : d(e)] }),e.pending ? /* @__PURE__ */ (0, I.jsx)("div", {"data-search-items": "","aria-busy": "true",- children: Kke(e)+ children: Jke(e)}) : e.kind ? /* @__PURE__ */ (0, I.jsx)("div", {"data-search-items": "",children: e.options.map(u)@@ -69467,7 +69473,7 @@ function Wke(e) {"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,"data-history-limit": l,children: [- c.tabs ? /* @__PURE__ */ (0, I.jsx)(Jke, {+ c.tabs ? /* @__PURE__ */ (0, I.jsx)(Xke, {tabs: c.tabs,kind: r.kind,onPick: s.pickKind,@@ -69493,7 +69499,7 @@ function Wke(e) {]});}-function Gke(e, t) {+function $$(e, t) {let n = e.flatMap((e) => e.items.flatMap((e) => [e.card ? t.coverHtml(e.card) : "",e.avatarHtml || "",@@ -69505,9 +69511,9 @@ function Gke(e, t) {t && (new Image().src = t);}}-var t1 = "\xA0";-function Kke(e) {- let t = J$.has(e.kind ?? "");+var e1 = "\xA0";+function Jke(e) {+ let t = G$.has(e.kind ?? "");return Array.from({ length: e.pending ?? 0 }, (e, n) => t ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-search-option": "work","data-search-placeholder": "",@@ -69519,10 +69525,10 @@ function Kke(e) {"data-search-meta": "",children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-search-name": "",- children: t1+ children: e1}), /* @__PURE__ */ (0, I.jsx)("span", {"data-search-sub": "",- children: t1+ children: e1})]})]}, n) : /* @__PURE__ */ (0, I.jsxs)("div", {@@ -69533,26 +69539,26 @@ function Kke(e) {"data-search-meta": "",children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-search-name": "",- children: t1+ children: e1}), /* @__PURE__ */ (0, I.jsx)("span", {"data-search-sub": "",- children: t1+ children: e1})]})]}, n));}-function qke(e, t, n, r) {+function Yke(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 V(`/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) => Y$(e) !== Y$(t))]), V("/api/search-history", { query: t }).catch(() => null));+ t && e().historyLimit && (s([t, ...o().filter((e) => q$(e) !== q$(t))]), H("/api/search-history", { query: t }).catch(() => null));}, u = (n) => {let r = i();r.dataset.suggestion = n, t.cancelRoll();@@ -69575,32 +69581,37 @@ function qke(e, t, n, r) {let n = e().helpers;if (!n.recommendations || t.recommendationLoading) return;t.recommendationLoading = !0;- let o = t.recommendationRequest, s = (n, s) => {- o === t.recommendationRequest && (s && t.reshuffling ? (t.reshuffling = !1, t.recommendations = n, a() && !i().value.trim() ? x() : r(), h()) : t.recommendationsFilling ? (t.recommendations = n, s && (t.recommendationsFilling = !1), a() && !i().value.trim() && x()) : s && (t.nextRecommendations = n, Gke(n, e().helpers)));+ let r = t.recommendationRequest, o = (n, o) => {+ r === t.recommendationRequest && (t.recommendationsFilling ? (t.recommendations = n, o && (t.recommendationsFilling = !1, $$(n.map(K$), e().helpers)), a() && !i().value.trim() && x()) : o && (t.nextRecommendations = n, $$(n, e().helpers)));};- n.recommendations((e) => s(e, !1)).then((e) => s(e, !0), () => {- o === t.recommendationRequest && t.reshuffling && (t.reshuffling = !1, r()), o === t.recommendationRequest && t.recommendationsFilling && (t.recommendations = [], t.recommendationsFilling = !1, a() && !i().value.trim() && x());+ n.recommendations((e) => o(e, !1)).then((e) => o(e, !0), () => {+ r === t.recommendationRequest && t.recommendationsFilling && (t.recommendations = [], t.recommendationsFilling = !1, a() && !i().value.trim() && x());}).finally(() => {t.recommendationLoading = !1;});}, m = () => {let n = e().helpers;- n.recommendations && (t.nextRecommendations &&= (t.recommendations = t.nextRecommendations, null), !t.recommendations.length && (t.recommendations = n.pendingRecommendations?.() ?? [], t.recommendationsFilling = !0, p()));+ n.recommendations && (t.nextRecommendations && (t.recommendations = t.nextRecommendations, t.nextRecommendations = null, $$(t.recommendations.map(K$), n)), !t.recommendations.length && (t.recommendations = n.pendingRecommendations?.() ?? [], t.recommendationsFilling = !0, p()));}, h = () => {- t.cancelIdle(), t.cancelIdle = $$(() => {+ t.cancelIdle(), t.cancelIdle = Z$(() => {t.nextRecommendations || p();});}, g = () => {- t.cancelIdle(), t.cancelIdle = $$(() => {+ t.cancelIdle(), t.cancelIdle = Z$(() => {t.nextRecommendations || p(), t.pool.length || f();});- }, _ = () => {- t.shuffleUntil = Date.now() + Q$, window.setTimeout(r, Q$), t.nextRecommendations ? (t.recommendations = t.nextRecommendations, t.nextRecommendations = null, x(), h()) : (t.reshuffling = !0, r(), p());+ }, _ = (n) => {+ t.recommendations = t.recommendations.map((e) => e.kind === n ? K$(e) : e), t.shuffled = {+ ...t.shuffled,+ [n]: Date.now() + X$+ }, window.setTimeout(r, X$);+ let i = t.recommendations.find((e) => e.kind === n);+ i && $$([K$(i)], e().helpers), r();}, v = async (e, n = "") => {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 V(`/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,@@ -69622,9 +69633,9 @@ function qke(e, t, n, r) {i && e().helpers.dismiss(i), t.active = -1, h(), r();}, x = () => {if (t.dismissed) return;- t.query = i().value.trim(), t.picks = t.query ? [] : Bke(t.pool, o()), t.active = -1;+ t.query = i().value.trim(), t.picks = t.query ? [] : Uke(t.pool, o()), t.active = -1;let a = n();- a && (Hke(X$(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (Gke(J$(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, S = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -69636,7 +69647,7 @@ function qke(e, t, n, r) {n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), x(), t.rewind = !0, v(n, e).then(() => {a() && t.kind === e && x();}));- }, w = () => y() ? X$(t).options : [], T = (e) => {+ }, w = () => y() ? J$(t).options : [], T = (e) => {let n = w();return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;}, E = (t, n) => {@@ -69645,7 +69656,7 @@ function qke(e, t, n, r) {}, D = (t, n) => {i().blur(), l(n), e().actions.openEntity(t, n);}, O = (t) => {- t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? k(t.item.href) : t.type === "more" ? (E(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && q$.has(t.kind) ? D(t.kind, t.value) : (i().value = t.value, E(!1, !0));+ t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? k(t.item.href) : t.type === "more" ? (E(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && W$.has(t.kind) ? D(t.kind, t.value) : (i().value = t.value, E(!1, !0));}, k = (t) => {b(), i().blur(), e().actions.openPath?.(t);};@@ -69688,10 +69699,10 @@ function qke(e, t, n, r) {b(), i().blur(), e().actions.openItem(t.id);},remove: async (e) => {- await V("/api/search-history", {+ await H("/api/search-history", {operation: "remove",query: e- }).catch(() => null), s(o().filter((t) => Y$(t) !== Y$(e))), t.active = -1, r();+ }).catch(() => null), s(o().filter((t) => q$(t) !== q$(e))), t.active = -1, r();},pickKind: C,openPath: k,@@ -69701,7 +69712,7 @@ function qke(e, t, n, r) {rotatePlaceholder: d};}-function Jke({ tabs: e, kind: t, onPick: n, wire: r }) {+function Xke({ tabs: e, kind: t, onPick: n, wire: r }) {let i = (0, F.useRef)(null);(0, F.useLayoutEffect)(() => {r(i.current);@@ -69715,9 +69726,9 @@ function Jke({ tabs: e, kind: t, onPick: n, wire: r }) {"data-pill-variant": "gray",onMouseDown: (e) => e.preventDefault(),onClick: () => n(e),- children: [r, i ? /* @__PURE__ */ (0, I.jsx)(CW, { value: i }) : null]+ children: [r, i ? /* @__PURE__ */ (0, I.jsx)(yW, { value: i }) : null]}, e || "all");- return /* @__PURE__ */ (0, I.jsxs)(JI, {+ return /* @__PURE__ */ (0, I.jsxs)(KI, {ref: i,"data-search-tabs": "","data-pill-nav": "",@@ -69726,9 +69737,9 @@ function Jke({ tabs: e, kind: t, onPick: n, wire: r }) {children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]});}-var n1 = (e) => e.preventDefault();-function Yke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {- gL();+var t1 = (e) => e.preventDefault();+function Zke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {+ mL();let o = {"data-search-value": e.value,"data-active": t ? "" : void 0,@@ -69740,33 +69751,33 @@ function Yke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-search-option": "more",...o,- onMouseDown: n1,+ onMouseDown: t1,children: ["查看全部 ",e.total.toLocaleString()," 个视频",- /* @__PURE__ */ (0, I.jsx)(e1, { name: "chevron-right" })+ /* @__PURE__ */ (0, I.jsx)(Q$, { name: "chevron-right" })]});if (e.type !== "suggest") return /* @__PURE__ */ (0, I.jsxs)("div", {"data-search-option": "",...o,children: [- /* @__PURE__ */ (0, I.jsx)(e1, { name: e.type === "history" ? "history" : "sparkles" }),+ /* @__PURE__ */ (0, I.jsx)(Q$, { name: e.type === "history" ? "history" : "sparkles" }),/* @__PURE__ */ (0, I.jsx)("span", { children: e.value }),e.type === "history" ? /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-remove-history": e.value,"aria-label": `删除历史 ${e.value}`,- onMouseDown: n1,+ onMouseDown: t1,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, I.jsx)(e1, { name: "x" })+ children: /* @__PURE__ */ (0, I.jsx)(Q$, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = q$.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = W$.has(c) ? c : void 0;if (["asset","jav",@@ -69780,8 +69791,8 @@ function Yke({ 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: n1,- children: [/* @__PURE__ */ (0, I.jsx)(r1, {+ onMouseDown: t1,+ children: [/* @__PURE__ */ (0, I.jsx)(n1, {card: s.card,helpers: n}), /* @__PURE__ */ (0, I.jsxs)("span", {@@ -69810,9 +69821,9 @@ function Yke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "person","data-open-entity": l,...o,- onMouseDown: n1,+ onMouseDown: t1,children: [- /* @__PURE__ */ (0, I.jsx)(i1, {+ /* @__PURE__ */ (0, I.jsx)(r1, {item: s,kind: c}),@@ -69820,10 +69831,10 @@ function Yke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-search-person": "","data-search-meta": "",- "aria-label": `查看 ${tn(c, s.value)}`,+ "aria-label": `查看 ${en(c, s.value)}`,children: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-search-name": "",- children: [/* @__PURE__ */ (0, I.jsx)("span", { children: tn(c, s.value) }), u]+ children: [/* @__PURE__ */ (0, I.jsx)("span", { children: en(c, s.value) }), u]}), /* @__PURE__ */ (0, I.jsx)("span", {"data-search-sub": "",children: t@@ -69835,11 +69846,11 @@ function Yke({ 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: n1,+ onMouseDown: t1,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, I.jsx)(r1, {+ children: /* @__PURE__ */ (0, I.jsx)(n1, {card: e,helpers: n})@@ -69853,7 +69864,7 @@ function Yke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)(i1, {+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)(r1, {item: s,kind: c}) : null,@@ -69866,13 +69877,13 @@ function Yke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function r1({ card: e, helpers: t }) {+function n1({ card: e, helpers: t }) {return /* @__PURE__ */ (0, I.jsx)("span", {"data-search-pic": "",dangerouslySetInnerHTML: { __html: t.coverHtml(e) }});}-function i1({ item: e, kind: t }) {+function r1({ item: e, kind: t }) {if (e.avatarHtml) return /* @__PURE__ */ (0, I.jsx)("span", {"data-search-face": "",dangerouslySetInnerHTML: { __html: e.avatarHtml }@@ -69883,7 +69894,7 @@ function i1({ item: e, kind: t }) {image_version: e.image_version,avatar_focus: e.avatar_focus,avatar_stand_in: e.avatar_stand_in- }, r = go(e.value, n, e.rep || null, t, e.mark || null, e.has_logo ? e.value : "", "icon", void 0, !0);+ }, r = ho(e.value, n, e.rep || null, t, e.mark || null, e.has_logo ? e.value : "", "icon", void 0, !0);return /* @__PURE__ */ (0, I.jsx)("span", {"data-search-face": "","data-kind": t,@@ -69891,28 +69902,28 @@ function i1({ item: e, kind: t }) {});}// src/react/settings/configuration.ts-var a1 = ["configuration"], o1 = (e) => B(QY, e);-async function Xke(e) {- await H.fetchQuery({- queryKey: a1,- queryFn: () => o1(e)+var i1 = ["configuration"], a1 = (e) => V(JY, e);+async function Qke(e) {+ await U.fetchQuery({+ queryKey: i1,+ queryFn: () => a1(e)});}// src/react/settings-panel/legacy-controls.tsx-var s1 = (e) => e.map(([e, t, n]) => n ? [+var o1 = (e) => e.map(([e, t, n]) => n ? [e,t,n] : [e, t]);-function c1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {+function s1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {let u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(l);return f.current = l, (0, F.useLayoutEffect)(() => {let e = u.current;- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Qc(t, n, s1(r), i, {+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Zc(t, n, o1(r), i, {attr: a,className: o,text: s- }), $c(e, a, (e) => {+ }), Qc(e, a, (e) => {d.current = {value: e,epoch: c@@ -69926,18 +69937,18 @@ function c1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:ref: u});}-function l1({ 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 c1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {let d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(-1), m = (0, F.useRef)(l);return m.current = l, (0, F.useLayoutEffect)(() => {let e = d.current;if (!e) return;if (p.current !== c || !f.current) {- e.innerHTML = ps(s1(n), r, { label: t });- let i = ms(e.firstElementChild);+ e.innerHTML = fs(o1(n), r, { label: t });+ let i = ps(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 && Yc(o, a), u?.(o);+ o.value !== r && (o.value = r), o.disabled !== i && (o.disabled = i), o.getAttribute("aria-busy") === "true" !== a && Jc(o, a), u?.(o);}), /* @__PURE__ */ (0, I.jsx)("div", {id: e,ref: d,@@ -69945,7 +69956,7 @@ function l1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a ="aria-describedby": s});}-function Zke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {+function $ke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {let s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)({onStep: a,onSettle: o@@ -69955,14 +69966,14 @@ function Zke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSetonSettle: o}, (0, F.useLayoutEffect)(() => {let i = s.current;- i && !c.current && (i.insertAdjacentHTML("beforeend", tl({+ i && !c.current && (i.insertAdjacentHTML("beforeend", el({value: r,min: 0,max: n,step: 1,label: t,attr: `data-glow-dial="${e}"`- })), c.current = nl(i.lastElementChild, {+ })), c.current = tl(i.lastElementChild, {onInput: (e) => l.current.onStep(e),onChange: (e) => l.current.onSettle(e)}));@@ -69979,7 +69990,7 @@ function Zke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet});}// src/react/settings-panel/glow-settings.tsx-var Qke = [+var eAe = [["strength","强度",@@ -70006,8 +70017,8 @@ var Qke = [100]];-function $ke({ host: e, spot: t, index: n, glow: r }) {- let i = tle[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = ZV(), [l, u] = (0, F.useState)("all");+function tAe({ host: e, spot: t, index: n, glow: r }) {+ let i = tle[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = YV(), [l, u] = (0, F.useState)("all");(0, F.useLayoutEffect)(() => {let [e, t, n] = [a.current,@@ -70016,11 +70027,11 @@ function $ke({ host: e, spot: t, index: n, glow: r }) {];e && t && n && (t.addEventListener("click", () => {n.style.width = `${t.offsetWidth}px`;- }), ds(e, t, n));+ }), us(e, t, n));}, []);let d = r[t].color, f = (n) => {let r = e.store.value.homeGlow;- r[t].color = tM(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), as(), o.current?.focus();+ r[t].color = tM(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), is(), o.current?.focus();};return /* @__PURE__ */ (0, I.jsxs)("div", {"data-glow-stop": t,@@ -70088,7 +70099,7 @@ function $ke({ host: e, spot: t, index: n, glow: r }) {})]});}-function eAe({ host: e }) {+function nAe({ host: e }) {let t = e.store.value.homeGlow, n = Jj(t.preset);return /* @__PURE__ */ (0, I.jsxs)("section", {"data-glow-setting": "",@@ -70122,7 +70133,7 @@ function eAe({ host: e }) {}),/* @__PURE__ */ (0, I.jsx)("div", {"data-glow-fields": "",- children: Qke.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(Zke, {+ children: eAe.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)($ke, {field: r,label: i,max: a,@@ -70162,7 +70173,7 @@ function eAe({ host: e }) {"data-glow-colour-card": "",children: /* @__PURE__ */ (0, I.jsx)("div", {"data-glow-stops": "",- children: Gj.map((n, r) => /* @__PURE__ */ (0, I.jsx)($ke, {+ children: Gj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(tAe, {host: e,spot: n,index: r,@@ -70174,7 +70185,7 @@ function eAe({ host: e }) {});}// src/react/settings-panel/number-setting.tsx-var tAe = {+var rAe = {batchSizeSetting: {min: 1,max: 200,@@ -70221,22 +70232,22 @@ var tAe = {optional: !0,fallback: 60}-}, u1 = (e) => `peach.number.${e}`;-function d1(e, t) {+}, l1 = (e) => `peach.number.${e}`;+function u1(e, t) {if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";let n = e / 1440;return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}-function f1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = tAe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);- d.current ||= Pj(Number(localStorage.getItem(u1(e))), o, s, n && n > 0 ? n : l);+function d1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {+ let a = rAe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);+ d.current ||= Pj(Number(localStorage.getItem(l1(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, F.useState)(n ?? 0), [m, h] = (0, F.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, F.useState)(""), v = (0, F.useRef)(null), y = (0, F.useRef)(i);y.current = i, (0, F.useLayoutEffect)(() => {n !== null && (p(n), n > 0 && h(String(n)));}, [n]);let b = () => {let t = v.current;- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(u1(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(l1(e), String(d.current)), y.current(d.current)));}, x = (0, F.useRef)(b);x.current = b, (0, F.useEffect)(() => {let e = v.current;@@ -70246,7 +70257,7 @@ function f1({ 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(u1(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(l1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));}, w = r || n === null;return /* @__PURE__ */ (0, I.jsxs)("div", {"data-number-setting": "",@@ -70283,7 +70294,7 @@ function f1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}}), /* @__PURE__ */ (0, I.jsxs)("span", {"aria-hidden": "true",- children: [c, d1(Number(m), c) ? ` · ${d1(Number(m), c)}` : ""]+ children: [c, u1(Number(m), c) ? ` · ${u1(Number(m), c)}` : ""]})]}), /* @__PURE__ */ (0, I.jsx)("small", {id: `${e}-error`,@@ -70296,13 +70307,13 @@ function f1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {});}// src/react/sidebar/sidebar-order.ts-function p1(e) {- let { mutate: t } = uX();+function f1(e) {+ let { mutate: t } = oX();return (0, F.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);}-function m1(e, t, n, r) {+function p1(e, t, n, r) {if (t === n) return null;let i = [...e], a = i.indexOf(t);if (a < 0) return null;@@ -70311,23 +70322,23 @@ function m1(e, t, n, r) {return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);}// src/react/settings-panel/sidebar-order.tsx-var nAe = "__home__", h1 = (e) => e === "" ? nAe : e;-function rAe({ host: e }) {- let t = p1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {- let a = m1(n, e, r, i);+var iAe = "__home__", m1 = (e) => e === "" ? iAe : e;+function aAe({ host: e }) {+ let t = f1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {+ let a = p1(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]) => h1(e) === o) ?? a[0], y = () => {- h.current && cs(h.current), l(!1);+ }, v = a.find(([e]) => m1(e) === o) ?? a[0], y = () => {+ h.current && ss(h.current), l(!1);}, b = () => {let e = h.current;if (!e) return;let t = !c;- t ? ss(e) : cs(e), l(t), t && e.querySelector("[aria-selected=\"true\"]")?.focus();+ t ? os(e) : ss(e), l(t), t && e.querySelector("[aria-selected=\"true\"]")?.focus();}, x = (e) => {if (e.key === "Escape") {e.preventDefault(), y(), m.current?.focus();@@ -70342,7 +70353,7 @@ function rAe({ host: e }) {}, C = (e) => ({draggable: !0,onDragStart: (t) => {- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", h1(e));+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", m1(e));},onDragOver: (t) => {if (u === null || u === e) return;@@ -70416,7 +70427,7 @@ function rAe({ host: e }) {})]})]- }, h1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {+ }, m1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {"data-sidebar-add-row": "",children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-sidebar-add-picker": "",@@ -70449,15 +70460,15 @@ function rAe({ host: e }) {children: a.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",role: "option",- "data-sidebar-add-option": h1(e),+ "data-sidebar-add-option": m1(e),"aria-selected": v?.[0] === e,tabIndex: v?.[0] === e ? 0 : -1,onKeyDown: x,onClick: () => {- s(h1(e)), y(), m.current?.focus();+ s(m1(e)), y(), m.current?.focus();},children: [/* @__PURE__ */ (0, I.jsx)(qF, { name: n ?? "" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]- }, h1(e)))+ }, m1(e)))}) : null]}), /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -70473,13 +70484,13 @@ function rAe({ host: e }) {});}// src/react/settings-panel/settings-panel.tsx-var g1 = [+var h1 = [["外观与导航", "ri-palette-line"],["浏览与播放", "ri-play-circle-line"],["JAV 与新作", "jav"],["搜索与推荐", "ri-search-line"],["内容显示", "ri-shield-check-line"]-], iAe = [+], oAe = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -70488,7 +70499,7 @@ var g1 = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], aAe = [["desc", "降序"], ["asc", "升序"]], oAe = [[+], sAe = [["desc", "降序"], ["asc", "升序"]], cAe = [["cover","官方封面",""@@ -70496,7 +70507,7 @@ var g1 = ["thumbnail","预览图",""-]], sAe = [+]], lAe = [["feedHideGroupSetting","feedHideGroupCompilations",@@ -70515,88 +70526,88 @@ var g1 = ["切片","隐藏切片"]-], cAe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", _1 = null, v1 = {+], uAe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", g1 = null, _1 = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null-}, y1 = 0, b1 = null, x1 = /* @__PURE__ */ new Set();-function lAe(e) {- return x1.add(e), () => {- x1.delete(e);+}, v1 = 0, y1 = null, b1 = /* @__PURE__ */ new Set();+function dAe(e) {+ return b1.add(e), () => {+ b1.delete(e);};}-function uAe() {- for (let e of [...x1]) e();+function fAe() {+ for (let e of [...b1]) e();}-function S1(e) {- v1 = {- ...v1,+function x1(e) {+ _1 = {+ ..._1,...e- }, (0, Lt.flushSync)(uAe);+ }, (0, It.flushSync)(fAe);}-async function dAe(e) {- let t = v1.epoch, n = await e.configurable();- v1.open && v1.epoch === t && S1({ configurable: n });+async function pAe(e) {+ let t = _1.epoch, n = await e.configurable();+ _1.open && _1.epoch === t && x1({ configurable: n });}-function fAe(e = "") {- let t = _1;+function mAe(e = "") {+ let t = g1;if (!t) return;- let n = g1.findIndex(([t]) => t === e);- if (v1.open && !v1.closing) {- n >= 0 && n !== v1.tab && S1({ tab: n });+ let n = h1.findIndex(([t]) => t === e);+ if (_1.open && !_1.closing) {+ n >= 0 && n !== _1.tab && x1({ tab: n });return;}- as(), y1 += 1, b1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");- let r = Jwe();- S1({+ is(), v1 += 1, y1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ let r = Qwe();+ x1({open: !0,closing: !1,configurable: null,- epoch: v1.epoch + 1,- tab: n >= 0 ? n : v1.tab+ epoch: _1.epoch + 1,+ tab: n >= 0 ? n : _1.tab}), r.then((e) => {e && t.syncRemote(e);- }), dAe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+ }), pAe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}-function C1(e = !0) {- if (!v1.open || v1.closing) return;- let t = ++y1;- e && _1?.closed?.(), S1({ closing: !0 });+function S1(e = !0) {+ if (!_1.open || _1.closing) return;+ let t = ++v1;+ e && g1?.closed?.(), x1({ closing: !0 });let n = () => {- t === y1 && v1.closing && (S1({+ t === v1 && _1.closing && (x1({open: !1,closing: !1- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), b1 instanceof HTMLElement && document.contains(b1) && b1.focus(), b1 = null);+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), y1 instanceof HTMLElement && document.contains(y1) && y1.focus(), y1 = null);};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}-var pAe = {- open: fAe,- close: C1,- isOpen: () => v1.open,+var hAe = {+ open: mAe,+ close: S1,+ isOpen: () => _1.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function mAe(e) {- return _1 = e, pAe;+function gAe(e) {+ return g1 = e, hAe;}-function hAe() {- let e = (0, F.useSyncExternalStore)(lAe, () => v1);- return _1 ? /* @__PURE__ */ (0, I.jsx)(vAe, {- host: _1,+function _Ae() {+ let e = (0, F.useSyncExternalStore)(dAe, () => _1);+ return g1 ? /* @__PURE__ */ (0, I.jsx)(bAe, {+ host: g1,view: e}) : null;}-function gAe(e) {+function vAe(e) {if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(cAe)].filter((e) => e.getClientRects().length > 0);+ let t = [...e.currentTarget.querySelectorAll(uAe)].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 w1 = (e) => `settings-tab-${e}`, T1 = (e) => `settings-group-${e}`;-function _Ae({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {+var C1 = (e) => `settings-tab-${e}`, w1 = (e) => `settings-group-${e}`;+function yAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(e), l = (0, F.useRef)([]), u = (e, t) => {let n = o.current;if (!n) return;@@ -70611,12 +70622,12 @@ function _Ae({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectw: e.offsetWidth,h: e.offsetHeight}, i = s.current;- s.current = r, Uc(n, t ? i : null, r, "y");+ s.current = r, Hc(n, t ? i : null, r, "y");}, d = (0, F.useRef)(u);d.current = u, (0, F.useLayoutEffect)(() => {let e = a.current;if (!e) return;- kc(e);+ Oc(e);let t = new ResizeObserver(() => d.current(l.current[c.current], !1));return t.observe(e), () => t.disconnect();}, []), (0, F.useLayoutEffect)(() => {@@ -70624,7 +70635,7 @@ function _Ae({ 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 = g1.length, r = t;+ let n = h1.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;@@ -70653,11 +70664,11 @@ function _Ae({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectrole: "presentation",children: "设置"}),- g1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {+ h1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",role: "tab",- id: w1(r),- "aria-controls": T1(r),+ id: C1(r),+ "aria-controls": w1(r),"aria-selected": r === e,tabIndex: r === e ? 0 : -1,ref: (e) => {@@ -70688,17 +70699,17 @@ function _Ae({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect]});}-function E1({ index: e, tab: t, children: n, cards: r = !1 }) {+function T1({ index: e, tab: t, children: n, cards: r = !1 }) {return /* @__PURE__ */ (0, I.jsxs)("section", {"data-setting-group": "","data-setting-layout": r ? "cards" : void 0,- id: T1(e),+ id: w1(e),role: "tabpanel",- "aria-labelledby": w1(e),+ "aria-labelledby": C1(e),hidden: e !== t,children: [- /* @__PURE__ */ (0, I.jsx)("h3", { children: g1[e][0] }),- /* @__PURE__ */ (0, I.jsx)(jve, { chapter: [+ /* @__PURE__ */ (0, I.jsx)("h3", { children: h1[e][0] }),+ /* @__PURE__ */ (0, I.jsx)(Nve, { chapter: ["appearance","playback","jav-settings",@@ -70709,7 +70720,7 @@ function E1({ index: e, tab: t, children: n, cards: r = !1 }) {]});}-function D1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {+function E1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {return /* @__PURE__ */ (0, I.jsxs)("label", {"data-setting-row": "",children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, I.jsx)("small", {@@ -70726,7 +70737,7 @@ function D1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se})]});}-function O1({ title: e, description: t, kind: n, children: r }) {+function D1({ title: e, description: t, kind: n, children: r }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-setting-row": "","data-setting-sort": n === "sort" ? "" : void 0,@@ -70734,7 +70745,7 @@ function O1({ title: e, description: t, kind: n, children: r }) {children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, I.jsx)("small", { children: t }) : t] }), r]});}-function vAe({ host: e, view: t }) {+function bAe({ host: e, view: t }) {(0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);let n = e.store.value, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(t.tab), l = () => {let [e, t] = [i.current, o.current];@@ -70745,17 +70756,17 @@ function vAe({ host: e, view: t }) {u.current = l, (0, F.useLayoutEffect)(() => {let t = o.current;if (!t || !r.current) return;- s.current = Lo(t) ?? s.current, e.attached(r.current);+ s.current = Io(t) ?? s.current, e.attached(r.current);let n = () => u.current();return t.addEventListener("scroll", n, { passive: !0 }), () => t.removeEventListener("scroll", n);}, [e]), (0, F.useLayoutEffect)(() => {let e = c.current !== t.tab;- c.current = t.tab, o.current && (o.current.scrollTop = 0), e && a.current && ec(a.current, "h2"), u.current();+ c.current = t.tab, o.current && (o.current.scrollTop = 0), e && a.current && $s(a.current, "h2"), u.current();}, [t.tab, t.epoch]), (0, F.useLayoutEffect)(() => {s.current?.();});let d = t.epoch, f = (t) => {- t !== v1.tab && (S1({ tab: t }), e.selectSection?.(g1[t][0]));+ t !== _1.tab && (x1({ tab: t }), e.selectSection?.(h1[t][0]));}, p = () => e.store.save();return /* @__PURE__ */ (0, I.jsx)("section", {"data-settings-panel": "",@@ -70766,9 +70777,9 @@ function vAe({ host: e, view: t }) {"aria-labelledby": "settingsTitle","data-closing": t.closing ? "" : void 0,ref: r,- onKeyDown: gAe,+ onKeyDown: vAe,onClick: (e) => {- e.target === e.currentTarget && C1();+ e.target === e.currentTarget && S1();},children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-settings-card": "",@@ -70779,27 +70790,27 @@ function vAe({ host: e, view: t }) {ref: a,children: [/* @__PURE__ */ (0, I.jsx)("h2", {id: "settingsTitle",- children: g1[t.tab][0]- }), /* @__PURE__ */ (0, I.jsx)(TV, {+ children: h1[t.tab][0]+ }), /* @__PURE__ */ (0, I.jsx)(CV, {id: "settingsClose",label: "关闭设置",- onPress: () => C1()+ onPress: () => S1()})]}),- /* @__PURE__ */ (0, I.jsx)(_Ae, {+ /* @__PURE__ */ (0, I.jsx)(yAe, {tab: t.tab,epoch: d,configurable: t.configurable,onSelect: f,openConfiguration: () => {- C1(!1), e.openConfiguration();+ S1(!1), e.openConfiguration();}}),/* @__PURE__ */ (0, I.jsxs)("div", {"data-settings-scroll": "",ref: o,children: [- /* @__PURE__ */ (0, I.jsxs)(E1, {+ /* @__PURE__ */ (0, I.jsxs)(T1, {index: 0,tab: t.tab,cards: !0,@@ -70807,9 +70818,9 @@ function vAe({ host: e, view: t }) {/* @__PURE__ */ (0, I.jsxs)("div", {"data-setting-card": "",children: [- /* @__PURE__ */ (0, I.jsx)(O1, {+ /* @__PURE__ */ (0, I.jsx)(D1, {title: "主题",- children: /* @__PURE__ */ (0, I.jsx)(c1, {+ children: /* @__PURE__ */ (0, I.jsx)(s1, {id: "themeSetting",name: "theme",legend: "主题",@@ -70837,7 +70848,7 @@ function vAe({ host: e, view: t }) {onChange: (t) => e.setHighContrast(t.target.checked)})]}),- /* @__PURE__ */ (0, I.jsx)(D1, {+ /* @__PURE__ */ (0, I.jsx)(E1, {id: "uiSoundsSetting",title: "界面音效",checked: n.uiSounds,@@ -70845,7 +70856,7 @@ function vAe({ host: e, view: t }) {n.uiSounds = t, p(), e.changed("uiSounds");}}),- /* @__PURE__ */ (0, I.jsx)(D1, {+ /* @__PURE__ */ (0, I.jsx)(E1, {id: "homeGlowSetting",title: "侧栏光晕",checked: n.homeGlow.on,@@ -70855,7 +70866,7 @@ function vAe({ host: e, view: t }) {})]}),- /* @__PURE__ */ (0, I.jsx)(eAe, { host: e }),+ /* @__PURE__ */ (0, I.jsx)(nAe, { host: e }),/* @__PURE__ */ (0, I.jsxs)("section", {"data-setting-block": "","aria-labelledby": "sidebarOrderTitle",@@ -70867,35 +70878,35 @@ function vAe({ host: e, view: t }) {"data-setting-card": "",children: /* @__PURE__ */ (0, I.jsx)("section", {"data-sidebar-setting": "",- children: /* @__PURE__ */ (0, I.jsx)(rAe, { host: e })+ children: /* @__PURE__ */ (0, I.jsx)(aAe, { host: e })})})]})]}),- /* @__PURE__ */ (0, I.jsx)(bAe, {+ /* @__PURE__ */ (0, I.jsx)(SAe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, I.jsx)(xAe, {+ /* @__PURE__ */ (0, I.jsx)(CAe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, I.jsxs)(E1, {+ /* @__PURE__ */ (0, I.jsxs)(T1, {index: 3,tab: t.tab,children: [- /* @__PURE__ */ (0, I.jsx)(TAe, {+ /* @__PURE__ */ (0, I.jsx)(DAe, {host: e,epoch: d}),- /* @__PURE__ */ (0, I.jsx)(O1, {+ /* @__PURE__ */ (0, I.jsx)(D1, {title: "相关推荐数量",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, I.jsx)(f1, {+ children: /* @__PURE__ */ (0, I.jsx)(d1, {id: "relatedLimitSetting",label: "相关推荐数量",value: n.relatedLimit,@@ -70905,24 +70916,24 @@ function vAe({ host: e, view: t }) {}, d)})}),- /* @__PURE__ */ (0, I.jsx)(O1, {+ /* @__PURE__ */ (0, I.jsx)(D1, {title: "口味与记录",children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, I.jsx)(jL, {+ children: /* @__PURE__ */ (0, I.jsx)(kL, {variant: "secondary",href: "/taste",- onClick: () => C1(!1),+ onClick: () => S1(!1),children: "打开口味与记录"})})})]}),- /* @__PURE__ */ (0, I.jsx)(E1, {+ /* @__PURE__ */ (0, I.jsx)(T1, {index: 4,tab: t.tab,- children: /* @__PURE__ */ (0, I.jsx)(D1, {+ children: /* @__PURE__ */ (0, I.jsx)(E1, {id: "censorSetting",title: "SFW 模式",describedBy: "sfwDescription",@@ -70937,19 +70948,19 @@ function vAe({ host: e, view: t }) {})});}-function yAe(e, t) {+function xAe(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;- n.querySelector("[data-icon-swap]") || (n.innerHTML = Gs("arrow-up", "arrow-down", "a", {+ n.querySelector("[data-icon-swap]") || (n.innerHTML = Ws("arrow-up", "arrow-down", "a", {className: "gselectmark",iconClass: "gselectmark"- }) + "<span data-sort-direction-label></span>"), Ks(n, t ? "a" : "b");+ }) + "<span data-sort-direction-label></span>"), Gs(n, t ? "a" : "b");let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}-function bAe({ host: e, tab: t, epoch: n }) {+function SAe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";- return /* @__PURE__ */ (0, I.jsxs)(E1, {+ return /* @__PURE__ */ (0, I.jsxs)(T1, {index: 1,tab: t,children: [@@ -70957,11 +70968,11 @@ function bAe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品列表"}),- /* @__PURE__ */ (0, I.jsx)(O1, {+ /* @__PURE__ */ (0, I.jsx)(D1, {title: "每批加载作品",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "batchSizeSetting",- children: /* @__PURE__ */ (0, I.jsx)(f1, {+ children: /* @__PURE__ */ (0, I.jsx)(d1, {id: "batchSizeSetting",label: "每批作品",value: r.batchSize,@@ -70971,24 +70982,24 @@ function bAe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, I.jsx)(O1, {+ /* @__PURE__ */ (0, I.jsx)(D1, {title: "默认排序",kind: "sort",children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-setting-sort-controls": "",- children: [/* @__PURE__ */ (0, I.jsx)(l1, {+ children: [/* @__PURE__ */ (0, I.jsx)(c1, {id: "defaultSortSetting",label: "默认排序",- options: iAe,+ options: oAe,value: r.defaultSort,epoch: n,onPick: (t) => {r.defaultSort = t, i(), e.changed("defaultSort");}- }), /* @__PURE__ */ (0, I.jsx)(l1, {+ }), /* @__PURE__ */ (0, I.jsx)(c1, {id: "defaultSortDirectionSetting",label: "默认排序方向",- options: aAe,+ options: sAe,value: o ? "asc" : "desc",hidden: a,disabled: a,@@ -70996,13 +71007,13 @@ function bAe({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSortDirection = t, i(), e.changed("sortDirection");},- decorate: (e) => yAe(e, o)+ decorate: (e) => xAe(e, o)})]})}),- /* @__PURE__ */ (0, I.jsx)(O1, {+ /* @__PURE__ */ (0, I.jsx)(D1, {title: "视频卡片大小",- children: /* @__PURE__ */ (0, I.jsx)(c1, {+ children: /* @__PURE__ */ (0, I.jsx)(s1, {id: "javSizeSetting",name: "video-size",legend: "视频卡片大小",@@ -71028,11 +71039,11 @@ function bAe({ host: e, tab: t, epoch: n }) {}})]}),- /* @__PURE__ */ (0, I.jsx)(O1, {+ /* @__PURE__ */ (0, I.jsx)(D1, {title: "悬停预览延迟",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, I.jsx)(f1, {+ children: /* @__PURE__ */ (0, I.jsx)(d1, {id: "hoverDelaySetting",label: "悬停预览延迟",value: r.hoverDelaySeconds,@@ -71046,16 +71057,16 @@ function bAe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "播放"}),- /* @__PURE__ */ (0, I.jsx)(wAe, {+ /* @__PURE__ */ (0, I.jsx)(EAe, {host: e,epoch: n})]});}-function xAe({ host: e, tab: t, epoch: n }) {+function CAe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();- return /* @__PURE__ */ (0, I.jsxs)(E1, {+ return /* @__PURE__ */ (0, I.jsxs)(T1, {index: 2,tab: t,children: [@@ -71063,24 +71074,24 @@ function xAe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品显示"}),- /* @__PURE__ */ (0, I.jsx)(SAe, {+ /* @__PURE__ */ (0, I.jsx)(wAe, {host: e,epoch: n}),- /* @__PURE__ */ (0, I.jsx)(O1, {+ /* @__PURE__ */ (0, I.jsx)(D1, {title: "默认图片",- children: /* @__PURE__ */ (0, I.jsx)(c1, {+ children: /* @__PURE__ */ (0, I.jsx)(s1, {id: "javImageSetting",name: "jav-image",legend: "默认图片",- options: oAe,+ options: cAe,value: r.javImage,attr: "data-jav-image-choice",variant: "javimageswitch",text: !0,epoch: n,onChoose: (t) => {- r.javImage = $a(t), i(), e.changed("javImage");+ r.javImage = Qa(t), i(), e.changed("javImage");}})}),@@ -71088,11 +71099,11 @@ function xAe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "新作显示"}),- /* @__PURE__ */ (0, I.jsx)(O1, {+ /* @__PURE__ */ (0, I.jsx)(D1, {title: "显示数量",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "feedLimitSetting",- children: /* @__PURE__ */ (0, I.jsx)(f1, {+ children: /* @__PURE__ */ (0, I.jsx)(d1, {id: "feedLimitSetting",label: "新作显示数量",value: r.feedLimit,@@ -71102,7 +71113,7 @@ function xAe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, I.jsx)(D1, {+ /* @__PURE__ */ (0, I.jsx)(E1, {id: "feedAutoScrollSetting",title: "自动滚动",checked: r.feedAutoScroll,@@ -71110,7 +71121,7 @@ function xAe({ host: e, tab: t, epoch: n }) {r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}}),- sAe.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(CAe, {+ lAe.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(TAe, {host: e,id: t,settingKey: n,@@ -71120,19 +71131,19 @@ function xAe({ host: e, tab: t, epoch: n }) {]});}-function SAe({ host: e, epoch: t }) {- let n = Pt({- queryKey: iX,- queryFn: ({ signal: e }) => lX(e),+function wAe({ host: e, epoch: t }) {+ let n = Nt({+ queryKey: eX,+ queryFn: ({ signal: e }) => aX(e),staleTime: 0- }), r = uX(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(O1, {+ }), r = oX(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(D1, {title: "女优名称",description: /* @__PURE__ */ (0, I.jsx)("small", {"data-copy-key": "performer-name-language-help",children: "名称与别名只显示所选语言的写法;缺少对应时保留当前名称。偏好保存在数据库,其他设备读取同一份设置。"}),- children: /* @__PURE__ */ (0, I.jsx)(l1, {+ children: /* @__PURE__ */ (0, I.jsx)(c1, {id: "performerNameLanguageSetting",label: "女优名称",epoch: t,@@ -71150,20 +71161,20 @@ function SAe({ host: e, epoch: t }) {}));}})- }), n.isError ? /* @__PURE__ */ (0, I.jsx)(xV, {+ }), n.isError ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",children: "未取得数据库中的名称偏好,请重新打开设置。"}) : null] });}-function CAe({ host: e, id: t, settingKey: n, label: r, title: i }) {- let a = uX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {- s(t), Yc(c.current), a.mutate({ [n]: t }, {+function TAe({ host: e, id: t, settingKey: n, label: r, title: i }) {+ let a = oX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {+ s(t), Jc(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), Yc(c.current, !1);+ s(null), Jc(c.current, !1);}});};@@ -71180,10 +71191,10 @@ function CAe({ host: e, id: t, settingKey: n, label: r, title: i }) {})]});}-function wAe({ host: e, epoch: t }) {+function EAe({ host: e, epoch: t }) {let n = e.store.value, r = () => e.store.save();return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(D1, {+ /* @__PURE__ */ (0, I.jsx)(E1, {id: "detailAutoplaySetting",title: "打开详情自动播放",checked: n.detailAutoplay,@@ -71191,7 +71202,7 @@ function wAe({ host: e, epoch: t }) {n.detailAutoplay = e, r();}}),- /* @__PURE__ */ (0, I.jsx)(D1, {+ /* @__PURE__ */ (0, I.jsx)(E1, {id: "miniplayerSetting",title: "离开详情后小窗播放",checked: n.miniplayer,@@ -71199,11 +71210,11 @@ function wAe({ host: e, epoch: t }) {n.miniplayer = t, r(), e.changed("miniplayer");}}),- /* @__PURE__ */ (0, I.jsx)(O1, {+ /* @__PURE__ */ (0, I.jsx)(D1, {title: "快进 / 快退步长",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, I.jsx)(f1, {+ children: /* @__PURE__ */ (0, I.jsx)(d1, {id: "seekSecondsSetting",label: "快进 / 快退",value: n.seekSeconds,@@ -71215,13 +71226,13 @@ function wAe({ host: e, epoch: t }) {})] });}-function TAe({ host: e, epoch: t }) {- let n = e.store.value, r = uX();- return /* @__PURE__ */ (0, I.jsx)(O1, {+function DAe({ host: e, epoch: t }) {+ let n = e.store.value, r = oX();+ return /* @__PURE__ */ (0, I.jsx)(D1, {title: "搜索记录数量",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, I.jsx)(f1, {+ children: /* @__PURE__ */ (0, I.jsx)(d1, {id: "searchHistoryLimitSetting",label: "搜索记录",value: n.searchHistoryLimit,@@ -71233,7 +71244,7 @@ function TAe({ host: e, epoch: t }) {});}// src/react/sidebar/use-sidebar-reorder.ts-function EAe(e, t, n, r) {+function OAe(e, t, n, r) {let [i, a] = (0, F.useState)(null), [o, s] = (0, F.useState)(""), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(!1), d = (0, F.useRef)({order: t,commit: n,@@ -71268,8 +71279,8 @@ function EAe(e, t, n, r) {let m = (t) => {let n = c.current;if (!n || (c.current = null, !n.started)) return;- let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : m1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);- p(), e.current.style.minHeight = n.minHeight, document.body.style.cursor = n.cursor, n.node.style.removeProperty("--sidebar-drag-x"), n.node.style.removeProperty("--sidebar-drag-y"), u.current = !0, (0, Lt.flushSync)(() => {+ let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : p1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);+ p(), e.current.style.minHeight = n.minHeight, document.body.style.cursor = n.cursor, n.node.style.removeProperty("--sidebar-drag-x"), n.node.style.removeProperty("--sidebar-drag-y"), u.current = !0, (0, It.flushSync)(() => {a(null), l && d.current.commit(l), s(l ? `${n.node.ariaLabel},已移动到第 ${o + 1} 项` : t && o === r.origin ? "顺序未变" : "已取消排序");}), d.current.settled();};@@ -71306,7 +71317,7 @@ function EAe(e, t, n, r) {if (Math.hypot(r, i) < 6) return;n.started = !0, p(), e.current.style.minHeight = `${e.current.offsetHeight}px`, document.body.style.cursor = "grabbing";let t = n.node.offsetTop, o = n.keys.indexOf(n.key);- (0, Lt.flushSync)(() => a({+ (0, It.flushSync)(() => a({key: n.key,top: t,origin: o,@@ -71321,7 +71332,7 @@ function EAe(e, t, n, r) {let e = f().filter((e) => e !== n.node), r = e.findIndex((e) => t.clientY - s.top < e.offsetTop + e.offsetHeight / 2);u = r < 0 ? e.length : r;}- u !== d.current.picked?.slot && (0, Lt.flushSync)(() => a((e) => e && {+ u !== d.current.picked?.slot && (0, It.flushSync)(() => a((e) => e && {...e,slot: u}));@@ -71330,8 +71341,8 @@ function EAe(e, t, n, r) {e.preventDefault();let a = f().map((e) => e.dataset.nav), o = a.indexOf(i), c = e.key === "ArrowDown", l = a[o + (c ? 1 : -1)];if (l === void 0) return;- let u = m1(t, i, l, c);- u && (p(), (0, Lt.flushSync)(() => n(u)), s(`${e.currentTarget.ariaLabel},已移动到第 ${o + (c ? 2 : 0)} 项`), r());+ let u = p1(t, i, l, c);+ u && (p(), (0, It.flushSync)(() => n(u)), s(`${e.currentTarget.ariaLabel},已移动到第 ${o + (c ? 2 : 0)} 项`), r());}, v = i ? f().filter((e) => e.dataset.nav !== i.key) : [], y = !!i && i.slot !== null && i.slot !== i.origin;return {picked: i,@@ -71369,68 +71380,68 @@ function EAe(e, t, n, r) {};}// src/react/sidebar/sidebar-island.tsx-var k1 = "__home__", DAe = {+var O1 = "__home__", kAe = {creator: 26,tag: 30,tech: 16-}, A1 = 180, j1 = null, M1 = {+}, k1 = 180, A1 = null, j1 = {props: {content: null,filters: {},latest: null},epoch: 0-}, N1 = /* @__PURE__ */ new Set();-function OAe(e) {- return N1.add(e), () => {- N1.delete(e);+}, M1 = /* @__PURE__ */ new Set();+function AAe(e) {+ return M1.add(e), () => {+ M1.delete(e);};}-function P1() {- for (let e of [...N1]) e();+function N1() {+ for (let e of [...M1]) e();}-var kAe = {+var jAe = {render(e) {- M1 = {- ...M1,+ j1 = {+ ...j1,props: e- }, (0, Lt.flushSync)(P1);+ }, (0, It.flushSync)(N1);},navChanged() {- M1 = {- ...M1,- epoch: M1.epoch + 1- }, (0, Lt.flushSync)(P1);+ j1 = {+ ...j1,+ epoch: j1.epoch + 1+ }, (0, It.flushSync)(N1);}};-function AAe(e) {- return j1 = e, M1 = {- ...M1,+function MAe(e) {+ return A1 = e, j1 = {+ ...j1,props: {content: null,filters: {},latest: null}- }, kAe;+ }, jAe;}-function jAe() {- let e = (0, F.useSyncExternalStore)(OAe, () => M1);- return j1 ? /* @__PURE__ */ (0, I.jsx)(MAe, {- host: j1,+function NAe() {+ let e = (0, F.useSyncExternalStore)(AAe, () => j1);+ return A1 ? /* @__PURE__ */ (0, I.jsx)(PAe, {+ host: A1,props: e.props,epoch: e.epoch}) : null;}-function MAe({ host: e, props: t, epoch: n }) {+function PAe({ host: e, props: t, epoch: n }) {let r = (0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("div", { "data-sidebar-head": "" }),- /* @__PURE__ */ (0, I.jsx)(NAe, {+ /* @__PURE__ */ (0, I.jsx)(FAe, {host: e,epoch: n,version: r}),- t.content ? /* @__PURE__ */ (0, I.jsx)(FAe, {+ t.content ? /* @__PURE__ */ (0, I.jsx)(LAe, {host: e,content: t.content,filters: t.filters,@@ -71438,8 +71449,8 @@ function MAe({ host: e, props: t, epoch: n }) {}) : null] });}-function NAe({ host: e, epoch: t, version: n }) {- let r = p1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = kL(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || k1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;+function FAe({ host: e, epoch: t, version: n }) {+ let r = f1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = DL(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || O1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, F.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());[@@ -71458,7 +71469,7 @@ function NAe({ host: e, epoch: t, version: n }) {i.disconnect(), cancelAnimationFrame(a), document.removeEventListener("board:sidebar", o);};}, [e, d]);- let f = EAe(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;+ let f = OAe(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-sidebar-nav": "",ref: c,@@ -71495,7 +71506,7 @@ function NAe({ host: e, epoch: t, version: n }) {decoding: "async",draggable: !1}) : /* @__PURE__ */ (0, I.jsx)(qF, { name: r }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]- }, t || k1);+ }, t || O1);}),f.hint ? /* @__PURE__ */ (0, I.jsx)("span", {"data-sidebar-drop-line": "",@@ -71510,14 +71521,14 @@ function NAe({ host: e, epoch: t, version: n }) {children: f.announcement})]- }), p ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)("span", {+ }), p ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)("span", {"data-sidebar-glide": "","aria-hidden": "true",ref: l}), p) : null] });}-var F1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);-function PAe(e) {+var P1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);+function IAe(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [["loc", e.locations],@@ -71531,17 +71542,17 @@ function PAe(e) {for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);return t;}-function FAe({ host: e, content: t, filters: n, latest: r }) {+function LAe({ host: e, content: t, filters: n, latest: r }) {let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;(0, F.useLayoutEffect)(() => {- t.kind === "catalog" && $s(e.scroll, "drawer");+ t.kind === "catalog" && Qs(e.scroll, "drawer");}, [e,i,t.kind]);- let a = t.kind === "catalog" ? IAe(e, t.facets, n, r, i) : LAe(e, t, n), o = 0;- return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(RAe, {+ let a = t.kind === "catalog" ? RAe(e, t.facets, n, r, i) : zAe(e, t, n), o = 0;+ return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(BAe, {title: e.title,kind: e.kind,active: e.active,@@ -71550,11 +71561,11 @@ function FAe({ host: e, content: t, filters: n, latest: r }) {children: e.body}, e.title));}-function IAe(e, t, n, r, i) {- let a = PAe(r), o = (t, r, i) => {+function RAe(e, t, n, r, i) {+ let a = IAe(r), o = (t, r, i) => {if (!t.length) return null;- let o = F1(n, r);- return /* @__PURE__ */ (0, I.jsx)(R1, {+ let o = P1(n, r);+ return /* @__PURE__ */ (0, I.jsx)(L1, {rows: t,filterKey: r,multi: i,@@ -71564,7 +71575,7 @@ function IAe(e, t, n, r, i) {});}, s = (t, s, c, l, u, d) => {if (!c.length) return null;- let f = F1(n, l), p = c.some((e) => f.includes(e.value));+ let f = P1(n, l), p = c.some((e) => f.includes(e.value));if (!d) return {title: t,kind: s,@@ -71576,12 +71587,12 @@ function IAe(e, t, n, r, i) {title: t,kind: s,active: p,- body: /* @__PURE__ */ (0, I.jsx)(BAe, {+ body: /* @__PURE__ */ (0, I.jsx)(HAe, {epoch: i,title: t,rows: c,latest: m ?? null,- limit: DAe[d],+ limit: kAe[d],filterKey: l,selected: f,counts: a,@@ -71596,7 +71607,7 @@ function IAe(e, t, n, r, i) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, I.jsx)(V1, {+ body: /* @__PURE__ */ (0, I.jsx)(B1, {host: e,filters: n})@@ -71611,7 +71622,7 @@ function IAe(e, t, n, r, i) {title: "关注标签",kind: "online",active: !1,- body: /* @__PURE__ */ (0, I.jsx)(z1, {+ body: /* @__PURE__ */ (0, I.jsx)(R1, {rows: t.followTags,host: e,selected: null,@@ -71620,14 +71631,14 @@ function IAe(e, t, n, r, i) {} : null];}-function LAe(e, t, n) {- let r = t.providers || [], i = F1(n, "provider"), a = new Set(t.selected);+function zAe(e, t, n) {+ let r = t.providers || [], i = P1(n, "provider"), a = new Set(t.selected);return [r.length ? {title: "来源",kind: "src",active: r.some((e) => i.includes(e.value)),- body: /* @__PURE__ */ (0, I.jsx)(R1, {+ body: /* @__PURE__ */ (0, I.jsx)(L1, {rows: r,filterKey: "provider",multi: !1,@@ -71641,7 +71652,7 @@ function LAe(e, t, n) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, I.jsx)(V1, {+ body: /* @__PURE__ */ (0, I.jsx)(B1, {host: e,filters: n,commit: e.setFollowDuration@@ -71651,7 +71662,7 @@ function LAe(e, t, n) {title: "内容标签",kind: "online",active: t.tags.some((e) => a.has(e.value)),- body: /* @__PURE__ */ (0, I.jsx)(z1, {+ body: /* @__PURE__ */ (0, I.jsx)(R1, {rows: t.tags,host: e,selected: a,@@ -71660,25 +71671,25 @@ function LAe(e, t, n) {} : null];}-function I1(e, t) {+function F1(e, t) {let n = null;try {n = sessionStorage.getItem(`peach.sidebar.group.${e}`);} catch {}return n === null ? t : n === "open";}-function RAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {- let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => I1(e, n)), u = (0, F.useRef)(!1);+function BAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {+ let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => F1(e, n)), u = (0, F.useRef)(!1);(0, F.useLayoutEffect)(() => {let t = o.current, r = s.current;if (!t || !r) return;- let i = u.current ? I1(e, n) : c;+ let i = u.current ? F1(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;- zo(o.current, s.current, n), l(n);+ Ro(o.current, s.current, n), l(n);try {sessionStorage.setItem(`peach.sidebar.group.${e}`, n ? "open" : "closed");} catch {}@@ -71704,7 +71715,7 @@ function RAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })children: /* @__PURE__ */ (0, I.jsx)("div", {"data-sidebar-body": "",id: `sidebar-group-${encodeURIComponent(e)}`,- children: /* @__PURE__ */ (0, I.jsx)(L1.Provider, {+ children: /* @__PURE__ */ (0, I.jsx)(I1.Provider, {value: d,children: a})@@ -71713,15 +71724,15 @@ function RAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })})]});}-var L1 = (0, F.createContext)(() => {});-function zAe({ dot: e }) {+var I1 = (0, F.createContext)(() => {});+function VAe({ dot: e }) {return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, I.jsx)(qF, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, I.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""}) : /* @__PURE__ */ (0, I.jsx)("i", { "data-sidebar-cost": e.cost }) : null;}-function R1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {+function L1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => {@@ -71738,7 +71749,7 @@ function R1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,title: e.offline || e.label,onClick: () => o(t, e.value, n),children: [- /* @__PURE__ */ (0, I.jsx)(zAe, { dot: e.dot }),+ /* @__PURE__ */ (0, I.jsx)(VAe, { dot: e.dot }),/* @__PURE__ */ (0, I.jsx)("span", {"data-sidebar-chip-label": "",children: e.label@@ -71753,8 +71764,8 @@ function R1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,})});}-function BAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {- let u = (0, F.useContext)(L1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);+function HAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {+ let u = (0, F.useContext)(I1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);p !== e && (m(e), f(null));let h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;return (0, F.useLayoutEffect)(() => {@@ -71766,10 +71777,10 @@ function BAe({ 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"), Uo(e.body, e.before, () => !!t?.open && !e.body.inert);+ e.body.classList.add("ui-fcollapse"), Ho(e.body, e.before, () => !!t?.open && !e.body.inert);}t(), requestAnimationFrame(t);- }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(R1, {+ }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(L1, {rows: _ ? v : v.slice(0, i),filterKey: a,multi: !1,@@ -71797,7 +71808,7 @@ function BAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, schildren: /* @__PURE__ */ (0, I.jsx)(qF, { name: "chevron-down" })}) : null] });}-function z1({ rows: e, host: t, selected: n, badges: r }) {+function R1({ rows: e, host: t, selected: n, badges: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("button", {@@ -71819,10 +71830,10 @@ function z1({ rows: e, host: t, selected: n, badges: r }) {}, e.value))});}-var B1 = (e, t) => e ? Math.min(A1, Number(e) / 60) : t;-function V1({ host: e, filters: t, commit: n = e.setDuration }) {- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [B1(t.dur_min, 0), B1(t.dur_max, A1)]), [c, l] = (0, F.useState)("max");- i !== r && (a(r), s([B1(t.dur_min, 0), B1(t.dur_max, A1)]));+var z1 = (e, t) => e ? Math.min(k1, Number(e) / 60) : t;+function B1({ host: e, filters: t, commit: n = e.setDuration }) {+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [z1(t.dur_min, 0), z1(t.dur_max, k1)]), [c, l] = (0, F.useState)("max");+ i !== r && (a(r), s([z1(t.dur_min, 0), z1(t.dur_max, k1)]));let [u, d] = o, f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(o);h.current = o;let g = (e, t) => {@@ -71835,11 +71846,11 @@ function V1({ host: e, filters: t, commit: n = e.setDuration }) {}, [n]), (0, F.useLayoutEffect)(() => {let e = f.current;if (!e) return;- e.style.setProperty("--lo", `${u / A1 * 100}%`), e.style.setProperty("--hi", `${d / A1 * 100}%`);+ e.style.setProperty("--lo", `${u / k1 * 100}%`), e.style.setProperty("--hi", `${d / k1 * 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 / A1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");+ e.style.left = `${n / k1 * 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`);});@@ -71849,7 +71860,7 @@ function V1({ 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 >= A1 ? "不限" : `${t} 分钟`+ children: e === "max" && t >= k1 ? "不限" : `${t} 分钟`});return /* @__PURE__ */ (0, I.jsx)("div", {"data-sidebar-duration": "",@@ -71864,7 +71875,7 @@ function V1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMin",type: "range",min: "0",- max: A1,+ max: k1,step: "5",value: u,"aria-label": "最短时长(分钟)",@@ -71875,7 +71886,7 @@ function V1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMax",type: "range",min: "0",- max: A1,+ max: k1,step: "5",value: d,"aria-label": "最长时长(分钟)",@@ -71889,8 +71900,8 @@ function V1({ host: e, filters: t, commit: n = e.setDuration }) {});}// src/diagnostics-skeleton.ts-function H1() {- let e = (e) => Ds({+function V1() {+ let e = (e) => Es({label: e,variant: "secondary",attrs: "disabled data-skeleton-action"@@ -71903,11 +71914,11 @@ function H1() {</div></div>`;}// src/react/settings/library-policy-copy.ts-var U1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", VAe = [+var H1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", UAe = ["自动补全","仅使用本地资料","自定义"-], HAe = [+], WAe = [["读本地 NFO 和图片","✓",@@ -71938,7 +71949,7 @@ var U1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式"—","可选"]-], UAe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", W1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", G1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", K1 = "只填域名,留空用默认地址", WAe = [+], GAe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", U1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", W1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", G1 = "只填域名,留空用默认地址", KAe = [{provider: "coomer",label: "Coomer",@@ -72028,8 +72039,8 @@ var U1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式label: "SubscribeStar",requirement: "none"}-], q1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", GAe = "peach.configuration.shape.v1";-function J1() {+], K1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", qAe = "peach.configuration.shape.v1";+function q1() {try {let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");return e && typeof e == "object" ? e : {};@@ -72037,28 +72048,28 @@ function J1() {return {};}}-function KAe(e, t) {+function JAe(e, t) {try {- let n = J1();+ let n = q1();if (JSON.stringify(n[e]) === JSON.stringify(t)) return;- localStorage.setItem(GAe, JSON.stringify({+ localStorage.setItem(qAe, JSON.stringify({...n,[e]: t}));} catch {}}-var Y1 = (e) => J1()[e], X1 = (e) => e === !0, Z1 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, Q1 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], $1 = "disabled data-skeleton-action", e0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, t0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, n0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, r0 = (e = "3em") => n0(e, "24px"), i0 = () => n0("var(--icon-inline)", "var(--icon-inline)"), a0 = (e, t = "primary", n = "medium") => Ds({+var J1 = (e) => q1()[e], Y1 = (e) => e === !0, X1 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, Z1 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], Q1 = "disabled data-skeleton-action", $1 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, e0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, t0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, n0 = (e = "3em") => t0(e, "24px"), r0 = () => t0("var(--icon-inline)", "var(--icon-inline)"), i0 = (e, t = "primary", n = "medium") => Es({label: e,variant: t,size: n,- attrs: $1-}), o0 = (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>`, s0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, qAe = (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">${i0()}${e}</span>` : e}</p>`;+ attrs: Q1+}), a0 = (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>`, o0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, YAe = (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">${r0()}${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;-}, c0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${qAe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? o0(n, i) : ""}</div></section>`, l0 = (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>`, u0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => l0(e, t, `<span class="skeleton ${n}"></span>`), d0 = (e, t = "", n = "4em") => l0(e, t, e0(n)), f0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, p0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, m0 = (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>${t0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, h0 = (e) => `<div class="flex flex-col gap-1">${p0(e)}${ks(e0("8em"))}</div>`, g0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${n0("16px", "16px")}${e}</span>`, _0 = (e) => `<span class="inline-flex items-center gap-1">${i0()}${e}</span>`, v0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${ws("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, JAe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), y0 = (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">${JAe.has(e) ? e0("100%") + e0("80%") + e0("6em") : e0("6em")}</dd></div>`).join("")}</dl>`, YAe = WAe;-function XAe(e = Y1("credentials")) {- let t = new Set(Q1(e?.done, 64, String));- return YAe.map((e) => {+}, s0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${YAe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? a0(n, i) : ""}</div></section>`, c0 = (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>`, l0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => c0(e, t, `<span class="skeleton ${n}"></span>`), u0 = (e, t = "", n = "4em") => c0(e, t, $1(n)), d0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, f0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, p0 = (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>${e0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, m0 = (e) => `<div class="flex flex-col gap-1">${f0(e)}${Os($1("8em"))}</div>`, h0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${t0("16px", "16px")}${e}</span>`, g0 = (e) => `<span class="inline-flex items-center gap-1">${r0()}${e}</span>`, _0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Cs("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, XAe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), v0 = (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">${XAe.has(e) ? $1("100%") + $1("80%") + $1("6em") : $1("6em")}</dd></div>`).join("")}</dl>`, ZAe = KAe;+function QAe(e = J1("credentials")) {+ let t = new Set(Z1(e?.done, 64, String));+ return ZAe.map((e) => {let n = t.has(e.provider);return {...e,@@ -72067,134 +72078,134 @@ function XAe(e = Y1("credentials")) {};});}-function ZAe(e) {- let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = r0() + (n && !e.done ? t.map(() => r0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${n0("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 ? f0(z(e.why)) : ""}</div>`;- let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + f0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? f0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => m0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${a0("保存配置")}</div>${v0("凭据文件")}</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>${v0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;+function $Ae(e) {+ let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = n0() + (n && !e.done ? t.map(() => n0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${t0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${B(e.label)}</b>${r}</span>`;+ if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? d0(B(e.why)) : ""}</div>`;+ let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + d0(`${B(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? d0(B(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => p0(B(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${i0("保存配置")}</div>${_0("凭据文件")}</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>${_0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;}-function b0() {- let e = XAe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;- return c0("来源凭据", s0(`<div class="flex flex-col gap-4">${[+function y0() {+ let e = QAe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;+ return s0("来源凭据", o0(`<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(ZAe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? e0("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($Ae).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? $1("5em") : "" });}-function x0() {- let e = Q1(Y1("indexers")?.open, 20, X1).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">${ws("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${e0("6em")}${e0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${m0("名称")}${m0("Torznab 地址")}${m0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${g0("启用")}${a0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");- return c0("资源搜索", s0(`<div class="flex min-w-0 flex-col gap-4">${v0("索引器连接帮助")}${e}</div>`), a0("添加索引器", "secondary") + a0("保存配置"));+function b0() {+ let e = Z1(J1("indexers")?.open, 20, Y1).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">${Cs("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${$1("6em")}${$1("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${p0("名称")}${p0("Torznab 地址")}${p0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${h0("启用")}${i0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");+ return s0("资源搜索", o0(`<div class="flex min-w-0 flex-col gap-4">${_0("索引器连接帮助")}${e}</div>`), i0("添加索引器", "secondary") + i0("保存配置"));}-function S0() {- let e = Y1("javBrowser"), t = X1(e?.enabled);- return c0("浏览器添加 JAV", s0(`<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>${e0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${r0()}</div><p class="text-caption-1-regular text-text-secondary">${e0("70%")}</p><div class="flex flex-wrap items-center gap-2">${a0("重新检测", "secondary")}</div></div>`}${h0("浏览器添加的下载渠道")}${X1(e?.ready) ? "" : f0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${m0("Peach 地址")}</div>`), (t ? a0("关闭浏览器添加", "secondary") : "") + a0(t ? "更新渠道与令牌" : "启用并生成令牌"));+function x0() {+ let e = J1("javBrowser"), t = Y1(e?.enabled);+ return s0("浏览器添加 JAV", o0(`<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>${$1("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${n0()}</div><p class="text-caption-1-regular text-text-secondary">${$1("70%")}</p><div class="flex flex-wrap items-center gap-2">${i0("重新检测", "secondary")}</div></div>`}${m0("浏览器添加的下载渠道")}${Y1(e?.ready) ? "" : d0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${p0("Peach 地址")}</div>`), (t ? i0("关闭浏览器添加", "secondary") : "") + i0(t ? "更新渠道与令牌" : "启用并生成令牌"));}-var C0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${p0(e)}${ks(e0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${m0(`${e}地址`)}</div><div class="w-full sm:w-28">${m0(`${e}端口`)}</div></div>${v0("代理认证")}` : "") + "</div>";-function w0() {- let e = Y1("cloudProxy"), t = Q1(e?.accounts, 12, (e) => Array.isArray(e) ? [X1(e[0]), X1(e[1])] : [!1, !1]), n = Z1(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${p0(_0(e0("6em")))}${f0(e0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${p0(_0(e0("8em")))}${f0(e0("50%"))}${C0("数据代理", e)}${C0("API 代理", t)}<div class="flex justify-end">${a0("保存配置")}</div></div>`).join("") : f0(e0("60%"));- return c0("CloudDrive 代理", s0(`${f0(q1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), a0("重新读取", "secondary"));+var S0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${f0(e)}${Os($1("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${p0(`${e}地址`)}</div><div class="w-full sm:w-28">${p0(`${e}端口`)}</div></div>${_0("代理认证")}` : "") + "</div>";+function C0() {+ let e = J1("cloudProxy"), t = Z1(e?.accounts, 12, (e) => Array.isArray(e) ? [Y1(e[0]), Y1(e[1])] : [!1, !1]), n = X1(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${f0(g0($1("6em")))}${d0($1("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${f0(g0($1("8em")))}${d0($1("50%"))}${S0("数据代理", e)}${S0("API 代理", t)}<div class="flex justify-end">${i0("保存配置")}</div></div>`).join("") : d0($1("60%"));+ return s0("CloudDrive 代理", o0(`${d0(K1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), i0("重新读取", "secondary"));}-var T0 = (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>`, QAe = (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">${t0()}</span>${Ds({+var w0 = (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>`, eje = (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">${e0()}</span>${Es({glyph: "folder-search",variant: "secondary",- attrs: $1+ attrs: Q1})}</div>- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${T0("来源", ks(e0("6em")), "w-full @lg:w-60")}${T0("读取策略", ks(e0("4em")), "w-full @lg:w-32")}${e > 1 ? T0("移到媒体库", ks(e0("4em")), "w-full @lg:w-48") : ""}</div></div>- </div>`, $Ae = (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>${Ds({+ <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${w0("来源", Os($1("6em")), "w-full @lg:w-60")}${w0("读取策略", Os($1("4em")), "w-full @lg:w-32")}${e > 1 ? w0("移到媒体库", Os($1("4em")), "w-full @lg:w-48") : ""}</div></div>+ </div>`, tje = (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>${Es({label: "自动识别",variant: "secondary",- attrs: $1-})}${t0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${ks(e0("4em"), { prefix: "处理方式" })}</div>- <div data-library-folders>${QAe(t).repeat(e)}<div class="flex">${Ds({+ attrs: Q1+})}${e0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${Os($1("4em"), { prefix: "处理方式" })}</div>+ <div data-library-folders>${eje(t).repeat(e)}<div class="flex">${Es({label: "添加文件夹",variant: "secondary",- attrs: $1-})}</div></div></div>`, eje = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${U1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, tje = "<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 nje(e = Y1("media")) {- let t = Q1(e?.folders, 12, (e) => Z1(e, 50)).filter(Boolean);+ attrs: Q1+})}</div></div></div>`, nje = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${H1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, rje = "<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 ije(e = J1("media")) {+ let t = Z1(e?.folders, 12, (e) => X1(e, 50)).filter(Boolean);return t.length ? {folders: t,- cloud: X1(e?.cloud)+ cloud: Y1(e?.cloud)} : {folders: [1],cloud: !1};}-function rje() {- let e = Y1("discovery"), t = X1(e?.enabled), n = t && X1(e?.cloud), r = n && X1(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${t0()}</span>${ks(e0("4em"), { prefix: "对应目录" })}${Ds({+function aje() {+ let e = J1("discovery"), t = Y1(e?.enabled), n = t && Y1(e?.cloud), r = n && Y1(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${e0()}</span>${Os($1("4em"), { prefix: "对应目录" })}${Es({glyph: "trash",variant: "secondary",- attrs: $1+ attrs: Q1})}</div>`;- return c0("自动发现新文件", s0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${r0()}</div>`) + u0("发现新文件后自动入库", t ? e0("10em") : "") + u0("监视本机文件夹", t && X1(e?.watchLocal) ? e0("12em") : "") + u0("接收 CloudDrive2 通知", "网盘目录有变化时由 CloudDrive2 推送过来。") + (n ? l0("Webhook 配置", e0("20em"), "") : "") + (r ? s0(v0("查看配置"), !0) : "") + (n ? s0(`<div class="flex flex-col gap-3">${p0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(Z1(e?.prefixes, 20))}</div><div>${a0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? a0("更换密钥", "secondary") : "") + a0("保存配置"));-}-var ije = () => {- let e = nje();- return c0("媒体库与目录", s0(`${eje}<div class="flex flex-col gap-4">${e.folders.map((t) => $Ae(t, e.folders.length)).join("")}</div>- <div class="self-start">${a0("添加媒体库", "secondary")}</div>- <p class="text-body-2-regular text-text-secondary">${W1}</p>- ${e.cloud ? tje : ""}<span class="text-body-medium text-text-primary">${e0("15em")}</span>`), a0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? w0() : "") + rje() + c0("番号识别规则", s0(`${e0("90%")}${e0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), a0("保存配置")) + c0("视频预览", u0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + u0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + u0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));-}, aje = () => `<div>${a0("采集来源与登录状态", "secondary")}</div>` + b0() + c0("关注采集", l0("自动检查更新", "", "<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>") + d0("订阅源拉取") + u0("首次采集范围", "新关注的来源第一次回看多久以前的内容。", "ui-configuration-skeleton-select") + d0("头像刷新", "重新获取关注创作者的头像。") + d0("favicon 刷新", "重新获取来源站点的图标。")) + x0() + c0("作品资料站点", s0(`<p class="text-body-2-regular text-text-secondary">${G1}</p>${m0(_0("JavDB 地址"), K1)}${m0(_0("MISSAV 地址"), K1)}`), a0("保存配置")), oje = () => {- let e = Y1("downloads"), t = X1(e?.pikpak), n = X1(e?.pikpakRoots) ? h0(_0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${p0(_0("PikPak 根目录对应的媒体目录"))}${f0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = X1(e?.cloud) ? c0("云下载", s0(m0("CloudDrive2 地址") + m0("CloudDrive2 API 令牌", "需要离线任务权限。") + (X1(e?.has115) ? m0(_0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? m0(_0("PikPak 目标目录"), "目录要已经存在。") + n : "") + m0("等待上限(小时)", e0("14em"))), a0("检查连接", "secondary") + a0("保存配置")) : "", i = X1(e?.pikpakLoggedIn);- return r + (t ? c0("PikPak 账号", i ? y0(["账号", e0("4em")]) : s0(m0("账号") + m0("密码") + g0("保存密码,登录过期时自动重新登录")), i ? a0("登出", "secondary") : (X1(e?.browserLogin) ? a0("用浏览器登录", "secondary") : "") + a0("登录"), {- aside: r0(),+ return s0("自动发现新文件", o0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${n0()}</div>`) + l0("发现新文件后自动入库", t ? $1("10em") : "") + l0("监视本机文件夹", t && Y1(e?.watchLocal) ? $1("12em") : "") + l0("接收 CloudDrive2 通知", "网盘目录有变化时由 CloudDrive2 推送过来。") + (n ? c0("Webhook 配置", $1("20em"), "") : "") + (r ? o0(_0("查看配置"), !0) : "") + (n ? o0(`<div class="flex flex-col gap-3">${f0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(X1(e?.prefixes, 20))}</div><div>${i0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? i0("更换密钥", "secondary") : "") + i0("保存配置"));+}+var oje = () => {+ let e = ije();+ return s0("媒体库与目录", o0(`${nje}<div class="flex flex-col gap-4">${e.folders.map((t) => tje(t, e.folders.length)).join("")}</div>+ <div class="self-start">${i0("添加媒体库", "secondary")}</div>+ <p class="text-body-2-regular text-text-secondary">${U1}</p>+ ${e.cloud ? rje : ""}<span class="text-body-medium text-text-primary">${$1("15em")}</span>`), i0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? C0() : "") + aje() + s0("番号识别规则", o0(`${$1("90%")}${$1("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), i0("保存配置")) + s0("视频预览", l0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + l0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + l0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));+}, sje = () => `<div>${i0("采集来源与登录状态", "secondary")}</div>` + y0() + s0("关注采集", c0("自动检查更新", "", "<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>") + u0("订阅源拉取") + l0("首次采集范围", "新关注的来源第一次回看多久以前的内容。", "ui-configuration-skeleton-select") + u0("头像刷新", "重新获取关注创作者的头像。") + u0("favicon 刷新", "重新获取来源站点的图标。")) + b0() + s0("作品资料站点", o0(`<p class="text-body-2-regular text-text-secondary">${W1}</p>${p0(g0("JavDB 地址"), G1)}${p0(g0("MISSAV 地址"), G1)}`), i0("保存配置")), cje = () => {+ let e = J1("downloads"), t = Y1(e?.pikpak), n = Y1(e?.pikpakRoots) ? m0(g0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${f0(g0("PikPak 根目录对应的媒体目录"))}${d0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = Y1(e?.cloud) ? s0("云下载", o0(p0("CloudDrive2 地址") + p0("CloudDrive2 API 令牌", "需要离线任务权限。") + (Y1(e?.has115) ? p0(g0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? p0(g0("PikPak 目标目录"), "目录要已经存在。") + n : "") + p0("等待上限(小时)", $1("14em"))), i0("检查连接", "secondary") + i0("保存配置")) : "", i = Y1(e?.pikpakLoggedIn);+ return r + (t ? s0("PikPak 账号", i ? v0(["账号", $1("4em")]) : o0(p0("账号") + p0("密码") + h0("保存密码,登录过期时自动重新登录")), i ? i0("登出", "secondary") : (Y1(e?.browserLogin) ? i0("用浏览器登录", "secondary") : "") + i0("登录"), {+ aside: n0(),mark: !0- }) : "") + S0();-}, E0 = {+ }) : "") + x0();+}, T0 = {legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"-}, D0 = {+}, E0 = {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};-function sje(e) {- let t = e === "locked" ? "" : m0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + m0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");- return (E0[e] ? f0(E0[e]) : "") + (e === "open" ? n0("100%", "64px") : "") + (e === "password" || e === "legacy" ? g0("关闭访问密码") : "") + (e === "password" ? m0("当前访问密码 *") : "") + t;+function lje(e) {+ let t = e === "locked" ? "" : p0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + p0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");+ return (T0[e] ? d0(T0[e]) : "") + (e === "open" ? t0("100%", "64px") : "") + (e === "password" || e === "legacy" ? h0("关闭访问密码") : "") + (e === "password" ? p0("当前访问密码 *") : "") + t;}-var cje = () => {- let e = Y1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = X1(e?.tunnelNamed), r = (n && X1(e?.tunnelNamedMode) ? f0(D0.named) + m0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + m0("隧道令牌", e0("16em")) : f0(D0.quick)) + (X1(e?.tunnelNote) ? n0("100%", "64px") : ""), i = Z1(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">${m0([+var uje = () => {+ let e = J1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = Y1(e?.tunnelNamed), r = (n && Y1(e?.tunnelNamedMode) ? d0(E0.named) + p0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + p0("隧道令牌", $1("16em")) : d0(E0.quick)) + (Y1(e?.tunnelNote) ? t0("100%", "64px") : ""), i = X1(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">${p0(["本机地址","手机连接地址","备用 IP 地址"- ][t])}</div>${a0("复制地址", "secondary")}</div>`).join("");- return (i || X1(e?.port) ? c0("访问地址", s0(a + (i ? n0("100%", "40px") : "") + (X1(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${p0("谁可以访问")}${n0("min(100%, 20em)", "36px")}</div>` + (X1(e?.lan) ? m0("局域网访问地址") : "") : "") + (X1(e?.port) ? m0("端口") : "")), X1(e?.port) ? a0("保存配置") : "", X1(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + c0("访问密码", s0(sje(t)), t === "locked" ? "" : a0("保存配置")) + c0("Cloudflare 公网入口", s0((n ? n0("10.5em", "36px") : "") + r), a0("启动公网入口", n ? "secondary" : "primary") + (n ? a0("保存配置") : ""), { aside: r0() }) + c0("Peach 代理", u0("连接方式", "Peach 访问外网和采集来源时使用。", "ui-configuration-skeleton-select") + (X1(e?.proxyAddress) ? s0(m0("代理地址"), !0) : ""), a0("保存配置"));-}, lje = [+ ][t])}</div>${i0("复制地址", "secondary")}</div>`).join("");+ return (i || Y1(e?.port) ? s0("访问地址", o0(a + (i ? t0("100%", "40px") : "") + (Y1(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${f0("谁可以访问")}${t0("min(100%, 20em)", "36px")}</div>` + (Y1(e?.lan) ? p0("局域网访问地址") : "") : "") + (Y1(e?.port) ? p0("端口") : "")), Y1(e?.port) ? i0("保存配置") : "", Y1(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + s0("访问密码", o0(lje(t)), t === "locked" ? "" : i0("保存配置")) + s0("Cloudflare 公网入口", o0((n ? t0("10.5em", "36px") : "") + r), i0("启动公网入口", n ? "secondary" : "primary") + (n ? i0("保存配置") : ""), { aside: n0() }) + s0("Peach 代理", l0("连接方式", "Peach 访问外网和采集来源时使用。", "ui-configuration-skeleton-select") + (Y1(e?.proxyAddress) ? o0(p0("代理地址"), !0) : ""), i0("保存配置"));+}, dje = ["版本","操作系统","数据目录","设置文件","日志目录"-], uje = () => {- let e = Y1("maintenance"), t = [+], fje = () => {+ let e = J1("maintenance"), t = ["当前版本","安装方式","更新通道","最新版本","下载内容"- ].slice(0, Math.max(4, Z1(e?.releaseFacts, 5))), n = Z1(e?.releaseNotes, 4), r = Z1(e?.storageRows, 12), i = Z1(e?.storageNotes, 3), a = Q1(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${r0("6em")}</span>`, s = (t) => !e || X1(t), c = s(e?.reporting) ? u0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (X1(e?.reportingIdle) ? s0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${u0("上传馆藏与口味明细", X1(e?.sharingNotice) ? e0("12em") : "")}${X1(e?.sharingIdle) ? s0(o, !0) : ""}${o0(a0("预览上传内容", "secondary"))}</div>` : "";- return c0("检查更新", y0(t) + (n ? s0(f0(e0("50%")).repeat(n), !0) : ""), a0("检查更新"), {- aside: r0("4em"),- status: e0("5em")- }) + c0("自动更新", u0("自动检查新版本") + u0("自动下载更新", "发现新版本后先下载,重启安装前会询问。") + u0("检查频率", X1(e?.autoUpdateHelp) ? e0("12em") : "", "ui-configuration-skeleton-select"), a0("保存配置")) + c0("开机自启", u0("开机后启动 Peach") + u0("只启动托盘,不打开网页", "开机后在后台运行,需要时从托盘打开页面。") + u0("在桌面创建快捷方式", X1(e?.desktopNote) ? e0("12em") : "") + (X1(e?.startupNote) ? s0(f0(e0("60%")), !0) : ""), a0("保存配置")) + c0("视频播放", u0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + c0("存储空间", y0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => l0(e0("6em"), "", e0("4em"))).join("") : s0(f0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? s0(f0(e0("80%")).repeat(i), !0) : ""), a0("更改位置", "secondary") + a0(r ? "重新统计" : "统计占用")) + (c || l ? c0("数据上传", c + l) : "") + c0("运行信息", y0(a.length ? a : lje)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${l0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", a0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? c0("卸载 Peach", (X1(e?.uninstallHelp) ? s0(f0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + u0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + s0(v0("数据目录"), !0), a0("卸载 Peach"), { status: e0("16em") }) : "");+ ].slice(0, Math.max(4, X1(e?.releaseFacts, 5))), n = X1(e?.releaseNotes, 4), r = X1(e?.storageRows, 12), i = X1(e?.storageNotes, 3), a = Z1(e?.facts, 12, (e) => B(String(e))), o = `<span class="self-start">${n0("6em")}</span>`, s = (t) => !e || Y1(t), c = s(e?.reporting) ? l0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (Y1(e?.reportingIdle) ? o0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${l0("上传馆藏与口味明细", Y1(e?.sharingNotice) ? $1("12em") : "")}${Y1(e?.sharingIdle) ? o0(o, !0) : ""}${a0(i0("预览上传内容", "secondary"))}</div>` : "";+ return s0("检查更新", v0(t) + (n ? o0(d0($1("50%")).repeat(n), !0) : ""), i0("检查更新"), {+ aside: n0("4em"),+ status: $1("5em")+ }) + s0("自动更新", l0("自动检查新版本") + l0("自动下载更新", "发现新版本后先下载,重启安装前会询问。") + l0("检查频率", Y1(e?.autoUpdateHelp) ? $1("12em") : "", "ui-configuration-skeleton-select"), i0("保存配置")) + s0("开机自启", l0("开机后启动 Peach") + l0("只启动托盘,不打开网页", "开机后在后台运行,需要时从托盘打开页面。") + l0("在桌面创建快捷方式", Y1(e?.desktopNote) ? $1("12em") : "") + (Y1(e?.startupNote) ? o0(d0($1("60%")), !0) : ""), i0("保存配置")) + s0("视频播放", l0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + s0("存储空间", v0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => c0($1("6em"), "", $1("4em"))).join("") : o0(d0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? o0(d0($1("80%")).repeat(i), !0) : ""), i0("更改位置", "secondary") + i0(r ? "重新统计" : "统计占用")) + (c || l ? s0("数据上传", c + l) : "") + s0("运行信息", v0(a.length ? a : dje)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${c0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", i0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? s0("卸载 Peach", (Y1(e?.uninstallHelp) ? o0(d0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + l0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + o0(_0("数据目录"), !0), i0("卸载 Peach"), { status: $1("16em") }) : "");};-function dje(e) {+function pje(e) {switch (e) {- case "系统诊断": return H1();- case "来源与订阅": return aje();- case "下载渠道": return oje();- case "网络与访问": return cje();- case "应用与维护": return uje();- default: return ije();+ case "系统诊断": return V1();+ case "来源与订阅": return sje();+ case "下载渠道": return cje();+ case "网络与访问": return uje();+ case "应用与维护": return fje();+ default: return oje();}}-function fje(e = "媒体库与入库") {- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(kf).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">${dje(e)}</div></div></div>`;+function mje(e = "媒体库与入库") {+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(Of).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">${pje(e)}</div></div></div>`;}// src/react/jav/discovery-sorts.ts-var O0 = [+var D0 = [["taste","口味",@@ -72221,10 +72232,10 @@ var O0 = ["按番号排序"]];-function pje(e) {+function hje(e) {return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";}-function mje(e) {+function gje(e) {if (typeof e != "number" || !Number.isFinite(e)) return {score: "—",label: "资料未取得",@@ -72249,8 +72260,8 @@ function mje(e) {};}// src/jav-skeleton.ts-var k0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, hje = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, A0 = "w-full min-w-0";-function j0() {+var O0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, _je = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, k0 = "w-full min-w-0";+function A0() {return ["w-20","w-16",@@ -72260,8 +72271,8 @@ function j0() {"w-24"].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-8 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");}-function M0(e, t = bM()) {- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${k0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${hje("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${k0("80%")}${k0("60%")}${k0("40%")}</div></div>`).join("")}</div>`;+function j0(e, t = bM()) {+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${O0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${_je("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">${O0("80%")}${O0("60%")}${O0("40%")}</div></div>`).join("")}</div>`;let n = OM({...DM({active: !0,@@ -72270,45 +72281,45 @@ function M0(e, t = bM()) {}),size: t});- return `<div data-media-grid class="${A0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">+ return `<div data-media-grid class="${k0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3"><span data-jav-skeleton-cover class="skeleton block w-full rounded-2lg" style="aspect-ratio:${n}"></span><div data-media-meta><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span><div data-media-text>- <div data-media-title>${k0("85%")}${k0("65%")}</div><div data-media-byline>${k0("55%")}</div>+ <div data-media-title>${O0("85%")}${O0("65%")}</div><div data-media-byline>${O0("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 gje(e) {+function vje(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>${Ds({+ <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>${Es({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">${yU.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}">${Es("筛选番号、女优或标题", "", 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>${k0("100%")}</div>${M0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${_je()}${M0(e)}</section>`}</div></div>`;+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${_U.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}">${Ts("筛选番号、女优或标题", "", 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>${O0("100%")}</div>${j0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${yje()}${j0(e)}</section>`}</div></div>`;}-function _je() {- 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="" ${bM() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${ws(t, "size-4")}</span>`;+function yje() {+ 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="" ${bM() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Cs(t, "size-4")}</span>`;return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col"><div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">- <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${j0()}</div></div>+ <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${A0()}</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>- ${Ts()}- <span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${ws("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>- ${O0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? ws("arrow-down", "size-3.5") : ""}</button>`).join("")}+ ${ws()}+ <span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${Cs("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>+ ${D0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Cs("arrow-down", "size-3.5") : ""}</button>`).join("")}</span></div></div>`;}// src/management-skeletons.ts-var N0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", P0 = (e = "60%") => `<span class="${N0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, F0 = "disabled data-skeleton-action", I0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";-function vje() {+var M0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", N0 = (e = "60%") => `<span class="${M0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, P0 = "disabled data-skeleton-action", F0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";+function bje() {let e = ["馆藏视频","看过",@@ -72316,27 +72327,27 @@ function vje() {"使用空间"].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="${N0} 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">${P0("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">${P0("6em")}</small>- </div>`).join(""), t = (e) => `<section class="${I0}" 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">${P0("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="${M0} 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">${N0("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">${N0("6em")}</small>+ </div>`).join(""), t = (e) => `<section class="${F0}" 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">${N0("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">${P0()}</span><b class="text-title-2-medium">${P0("3em")}</b><small class="text-caption-1-regular">${P0()}</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">${N0()}</span><b class="text-title-2-medium">${N0("3em")}</b><small class="text-caption-1-regular">${N0()}</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">数据库中的当前统计 · ${P0("12em")}</p>+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${N0("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="${I0}"><h3 class="text-title-2-medium">${e}</h3><div class="${N0} h-64"></div></section>`).join("")}</div>+ ].map((e) => `<section class="${F0}"><h3 class="text-title-2-medium">${e}</h3><div class="${M0} h-64"></div></section>`).join("")}</div></div></div><section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">@@ -72345,11 +72356,11 @@ function vje() {"最近看过","标签来源"].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="${N0} 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="${M0} h-7"></div>`).join("")}</div></section></div></div>`;}-function yje() {+function xje() {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 = ["浏览记录","口味维度",@@ -72357,20 +72368,20 @@ function yje() {"私有导出"].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="${N0} 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">${P0("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">${P0("6em")}</small>- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${N0} h-6"></div>`).join(""), r = (e) => `<section class="${I0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${N0} 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="${M0} 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">${N0("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">${N0("6em")}</small>+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${M0} h-6"></div>`).join(""), r = (e) => `<section class="${F0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${M0} 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">${ks("全部时间")}<span data-button-group data-split-button data-variant="primary">${Ds({+ <div class="flex flex-wrap items-center gap-2">${Os("全部时间")}<span data-button-group data-split-button data-variant="primary">${Es({glyph: "compass",label: "读取浏览器历史",- attrs: F0- })}${Ds({+ attrs: P0+ })}${Es({glyph: "chevron-down",- attrs: F0+ attrs: P0})}</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>@@ -72388,11 +72399,11 @@ function yje() {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">${P0("8em")}</small></div>+ <small class="text-caption-1-regular">${N0("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="${I0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${N0} h-72 max-sm:h-48"></div></section>+ <section class="${F0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${M0} 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(["标签",@@ -72400,123 +72411,123 @@ function yje() {"常访问网站","浏览线索"])}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${N0} 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="${M0} h-7"></div>`).join("")}</div></section></div></div></div>`;}-function bje() {+function Sje() {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="${N0} 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">${P0("70%")}</span>- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${P0("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">${P0("75%")}</span>+ <span class="${M0} 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">${N0("70%")}</span>+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${N0("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">${N0("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">${P0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${P0("8em")}</span>+ <b class="text-title-2-medium">${N0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${N0("8em")}</span><span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${["留最大","留最长","整组回收"- ].map((e) => Ds({+ ].map((e) => Es({variant: "secondary",size: "small",label: e,- attrs: F0+ attrs: P0})).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">${P0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${P0("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">${N0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${N0("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 ${F0} 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 ${P0} 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 xje() {+function Cje() {let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 p-3">- <div class="flex min-w-0 gap-4"><span class="${N0} 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">${P0("80%")}</h3><p class="text-body-2-regular">${P0("60%")}</p></div>+ <div class="flex min-w-0 gap-4"><span class="${M0} 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">${N0("80%")}</h3><p class="text-body-2-regular">${N0("60%")}</p></div></div>- <footer class="flex justify-end">${Ds({+ <footer class="flex justify-end">${Es({variant: "secondary",size: "small",label: "查看版本",- attrs: F0+ attrs: P0})}</footer></li>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">- ${Fs("待升级")}+ ${Ps("待升级")}<ul class="card-grid-cover gap-5">${e.repeat(6)}</ul></div></div>`;}// src/board-skeleton.ts-var L0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, Sje = () => `${L0("80%")}${L0("48%")}`, R0 = (e, t) => e.repeat(t), z0 = "disabled data-skeleton-action", B0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, V0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, Cje = "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", H0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[+var I0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, wje = () => `${I0("80%")}${I0("48%")}`, L0 = (e, t) => e.repeat(t), R0 = "disabled data-skeleton-action", z0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, B0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, Tje = "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", V0 = () => `<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="${Cje}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${B0("3em")}</b></div>`).join("")}</div>`, wje = (e = "") => BZ.some(([t]) => t === e) ? e : "list", U0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${BZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, W0 = (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>`, Tje = ({ table: e, sort: t, dir: n }) => {- let r = lr.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">${B0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Ds({+].map((e) => `<div class="${Tje}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${z0("3em")}</b></div>`).join("")}</div>`, Eje = (e = "") => LZ.some(([t]) => t === e) ? e : "list", H0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${LZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, U0 = (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>`, Dje = ({ table: e, sort: t, dir: n }) => {+ let r = cr.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">${z0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Es({glyph: "refresh-cw",label: "检查全部",compact: !0,- attrs: z0- })}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${Ds({+ attrs: R0+ })}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${Es({variant: "ghost",glyph: "layout-grid",attrs: `aria-pressed="${!e}"`- })}${Ds({+ })}${Es({variant: "ghost",glyph: "table",attrs: `aria-pressed="${e}"`- })}</span><span class="flex flex-none items-center gap-2">${ks(r, { prefix: "排序" })}${Ds({+ })}</span><span class="flex flex-none items-center gap-2">${Os(r, { prefix: "排序" })}${Es({variant: "secondary",glyph: n === "asc" ? "arrow-up" : "arrow-down"- })}</span>${e ? "" : Ds({+ })}</span>${e ? "" : Es({variant: "secondary",glyph: "chevron-up",label: "全部收起",compact: !0,- attrs: z0+ attrs: R0})}</span></div></div>`;-}, G0 = () => `<span class="flex shrink-0 items-center gap-1">${Ds({+}, W0 = () => `<span class="flex shrink-0 items-center gap-1">${Es({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: z0-})}${Ds({+ attrs: R0+})}${Es({variant: "secondary",size: "small",glyph: "trash",- attrs: z0-})}</span>`, Eje = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${W0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${B0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${V0(14, 14)}</span>${V0(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">${B0("113px")}</span>${G0()}</span></div>`, K0 = (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>${V0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${B0("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">${Ds({+ attrs: R0+})}</span>`, Oje = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${U0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${z0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${B0(14, 14)}</span>${B0(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">${z0("113px")}</span>${W0()}</span></div>`, G0 = (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>${B0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${z0("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">${Es({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: z0-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${V0(14, 14)}${V0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Ds({+ attrs: R0+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${B0(14, 14)}${B0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Es({variant: "secondary",size: "small",glyph: "check-check",label: "全选",- attrs: z0-})}${Ds({+ attrs: R0+})}${Es({variant: "secondary",size: "small",glyph: "chevron-up",label: "收起",- attrs: z0-})}</span></span></div><div data-source-divider>${R0(Eje(), e)}</div></section>`, Dje = () => {+ attrs: R0+})}</span></span></div><div data-source-divider>${L0(Oje(), e)}</div></section>`, kje = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {return 20;}-}, Oje = [+}, Aje = [["select", ""],["author", "创作者"],["source", "来源"],@@ -72524,92 +72535,92 @@ var L0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, Sje["status", "状态"],["checked", "上次检查"],["actions", ""]-], kje = {+], jje = {name: "author",source: "source",provider: "provider",status: "status",checked: "checked"-}, q0 = "<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>", Aje = (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>${Oje.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${kje[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${q0}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${R0(`<tr>${[- W0(),- `<span class="flex min-w-0 items-center gap-2">${V0(32, 32, !0)}${B0("5em")}</span>`,- B0("10em"),- `<span class="flex items-center gap-1.5">${V0(14, 14)}${B0("4em")}</span>`,- V0(48, 24),- B0("113px"),- G0()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, jje = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${B0("111px")}</span><div data-toolbar-actions>${ks(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${V0(204, 32)}</div></div>`, Mje = () => `<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">${B0("120px")}</h3>${[+}, K0 = "<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>", Mje = (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>${Aje.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${jje[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${K0}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${L0(`<tr>${[+ U0(),+ `<span class="flex min-w-0 items-center gap-2">${B0(32, 32, !0)}${z0("5em")}</span>`,+ z0("10em"),+ `<span class="flex items-center gap-1.5">${B0(14, 14)}${z0("4em")}</span>`,+ B0(48, 24),+ z0("113px"),+ W0()+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, Nje = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${z0("111px")}</span><div data-toolbar-actions>${Os(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${B0(204, 32)}</div></div>`, Pje = () => `<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">${z0("120px")}</h3>${["72%","56%","64%","40%"-].map((e) => `<span class="text-body-medium">${B0(e)}</span>`).join("")}</div>`, Nje = (e) => {- let t = wje(e.followTab);- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${H0()}<div class="flex flex-col gap-6">${U0(t)}<div class="flex flex-col gap-4">${Mje()}</div></div></div></div>`;- let n = e.followLayout === "table", r = pr(e.followSort, e.followDir), i = e.followPageSize || Dje(), a = n ? Aje(i, r) : `${W0("全选本页")}<div class="flex flex-col gap-3">${K0(3)}${K0(4)}${K0(3)}</div>`;- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${H0()}<div class="flex flex-col gap-6">${U0(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"}">${Tje({+].map((e) => `<span class="text-body-medium">${z0(e)}</span>`).join("")}</div>`, Fje = (e) => {+ let t = Eje(e.followTab);+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${V0()}<div class="flex flex-col gap-6">${H0(t)}<div class="flex flex-col gap-4">${Pje()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = fr(e.followSort, e.followDir), i = e.followPageSize || kje(), a = n ? Mje(i, r) : `${U0("全选本页")}<div class="flex flex-col gap-3">${G0(3)}${G0(4)}${G0(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${V0()}<div class="flex flex-col gap-6">${H0(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"}">${Dje({table: n,...r- })}${a}${jje(n, i)}</div></div></div></div></div>`;+ })}${a}${Nje(n, i)}</div></div></div></div></div>`;};-function Pje() {- 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">${L0("85%")}${L0("65%")}${R0(Sje(), 4)}</div></aside></div>`;+function Ije() {+ 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">${I0("85%")}${I0("65%")}${L0(wje(), 4)}</div></aside></div>`;}-function Fje(e, t = {}) {+function Lje(e, t = {}) {let n = "";- if (e === "/stats") n = vje();- else if (e === "/jav") n = gje(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");- else if (e === "/taste") n = yje();- else if (e === "/subscriptions") n = Nje(t);- else if (e.startsWith("/settings/") && e.split("/")[2] in kf) n = fje(kf[e.split("/")[2]]);+ if (e === "/stats") n = bje();+ else if (e === "/jav") n = vje(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");+ else if (e === "/taste") n = xje();+ else if (e === "/subscriptions") n = Fje(t);+ else if (e.startsWith("/settings/") && e.split("/")[2] in Of) n = mje(Of[e.split("/")[2]]);else if (e === "/tasks") n = `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${["正在进行","本次未执行","最近完成"- ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${B0("8em")}</span><span class="text-caption-1-regular">${B0("14em")}</span>${B0("60%")}${B0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${B0("6em")}</div></div></section>`).join("")}</div></div>`;- else if (e === "/duplicates") n = bje();- else if (e === "/quality-goals") n = xje();- 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>${Ds({+ ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${z0("8em")}</span><span class="text-caption-1-regular">${z0("14em")}</span>${z0("60%")}${z0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${z0("6em")}</div></div></section>`).join("")}</div></div>`;+ else if (e === "/duplicates") n = Sje();+ else if (e === "/quality-goals") n = Cje();+ 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>${Es({label: "新建",- attrs: z0- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${R0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;+ attrs: R0+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${L0("<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 Ije(e) {+function Rje(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 J0(e) {+function q0(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return Ije(n ?? t.body);+ return Rje(n ?? t.body);}-var Y0 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";-function Lje(e) {+var J0 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";+function zje(e) {let t = e.querySelector(":scope > [data-react-overlays]");for (let e = t?.lastElementChild; e; e = e.previousElementSibling) {- let t = e.matches(Y0) ? e : e.querySelector(Y0);+ let t = e.matches(J0) ? e : e.querySelector(J0);if (t) return t;}return null;}-function X0(e) {+function Y0(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 Z0 = (e) => ["follow-item", e], Rje = (e) => `/api/follow?item=${encodeURIComponent(e)}`, zje = "/api/follow/save", Bje = "/api/follow/media/hide", Q0 = class extends Error {+var X0 = (e) => ["follow-item", e], Bje = (e) => `/api/follow?item=${encodeURIComponent(e)}`, Vje = "/api/follow/save", Hje = "/api/follow/media/hide", Z0 = class extends Error {constructor() {super("这条关注内容已不存在");}};-async function $0(e, t) {- let n = await B(Rje(e), t);+async function Q0(e, t) {+ let n = await V(Bje(e), t);for (let t of n.groups || []) {- let r = ca(t).find((t) => t.id === e);+ let r = sa(t).find((t) => t.id === e);if (r) return {item: r,group: t,@@ -72617,12 +72628,12 @@ async function $0(e, t) {aliases: n.author_aliases || []};}- throw new Q0();+ throw new Z0();}-function Vje(e) {- for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {+function Uje(e) {+ for (let [, t] of U.getQueriesData({ queryKey: ["follow-item"] })) {if (!t?.group) continue;- let n = ca(t.group).find((t) => t.id === e);+ let n = sa(t.group).find((t) => t.id === e);if (n) return {...t,item: n@@ -72630,21 +72641,21 @@ function Vje(e) {}return null;}-async function e2(e, t) {- let n = Z0(e.id), r = la(e.id), i = H.getQueryData(ra) ? null : H.fetchQuery({- queryKey: ra,- queryFn: () => ia(t)+async function $0(e, t) {+ let n = X0(e.id), r = ca(e.id), i = U.getQueryData(na) ? null : U.fetchQuery({+ queryKey: na,+ queryFn: () => ra(t)}), a = r ? {...r,item: r.item- } : H.getQueryData(n) ?? Vje(e.id);- a ? H.setQueryData(n, a) : await H.fetchQuery({+ } : U.getQueryData(n) ?? Uje(e.id);+ a ? U.setQueryData(n, a) : await U.fetchQuery({queryKey: n,- queryFn: () => $0(e.id, t)+ queryFn: () => Q0(e.id, t)}), await i;}-function Hje(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 && _a(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 Wje(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 && ga(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,@@ -72658,32 +72669,32 @@ function Hje(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var Uje = (e) => ca(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), Wje = {+var Gje = (e) => sa(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), Kje = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA","mega.io": "MEGA","mediafire.com": "MediaFire","drive.google.com": "Google Drive"-}, Gje = {+}, qje = {gofile: "Gofile",pixeldrain: "Pixeldrain",mega: "MEGA",mediafire: "MediaFire",google_drive: "Google Drive"};-function Kje(e) {+function Jje(e) {try {let t = new URL(e).hostname.replace(/^www\./, "");- return Wje[t] || t;+ return Kje[t] || t;} catch {return "外部文件页";}}-function t2(e, t) {- return Gje[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";+function e2(e, t) {+ return qje[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}-function qje(e, t, n = "") {+function Yje(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;@@ -72692,54 +72703,54 @@ function qje(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var Jje = (e) => String(e.name || "").trim(), n2 = (e, t) => e.tag_types?.[t] || "unknown", Yje = /* @__PURE__ */ new Set([+var Xje = (e) => String(e.name || "").trim(), t2 = (e, t) => e.tag_types?.[t] || "unknown", Zje = /* @__PURE__ */ new Set(["artist","character","copyright","metadata","unknown"]);-function Xje(e, t) {- let n = n2(e, t);- return `r34-${Yje.has(n) ? n : "general"}`;+function Qje(e, t) {+ let n = t2(e, t);+ return `r34-${Zje.has(n) ? n : "general"}`;}-var r2 = [+var n2 = ["copyright","character","artist","general","metadata"];-function Zje(e, t) {+function $je(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = r2.indexOf(n2(e, t));- return n < 0 ? r2.length : n;+ let n = n2.indexOf(t2(e, t));+ return n < 0 ? n2.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function i2(e, t) {+function r2(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 Qje = (e, t) => ({+var eMe = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), a2 = (e) => e?.size ? { size: e.size } : {};-function $je(e, t) {+}), i2 = (e) => e?.size ? { size: e.size } : {};+function tMe(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: t2(t, e),- ...a2(t)+ source: e2(t, e),+ ...i2(t)})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: t2(a, e),- ...a2(a)+ source: e2(a, e),+ ...i2(a)}] : e.thumb_url ? [{src: e.thumb_url,thumb: e.thumb_url,@@ -72747,7 +72758,7 @@ function $je(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var eMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", o2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", s2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", c2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", l2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", u2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", d2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", f2 = "disabled data-skeleton-action", p2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, m2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, h2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, g2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}​</span></div></div></div></div>`, tMe = [+var nMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", a2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", o2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", s2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", c2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", l2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", u2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", d2 = "disabled data-skeleton-action", f2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, p2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, m2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, h2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}​</span></div></div></div></div>`, rMe = ["3em","5em","5em",@@ -72757,7 +72768,7 @@ var eMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", o2"8em","8em","10em"-], nMe = [+], iMe = ["5.8em","6.4em","7em",@@ -72767,121 +72778,121 @@ var eMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", o2"5.8em","9em","9em"-], _2 = (e, t) => Ds({+], g2 = (e, t) => Es({variant: e,size: "small",- label: p2(t)+ label: f2(t)});-function rMe() {- return `<section class="${g$("stack")}">- <div class="${m$.stack}">${h2("整理", "mb-3")}- <p class="text-body-regular text-text-secondary">${o2}</p>+function aMe() {+ return `<section class="${p$("stack")}">+ <div class="${d$.stack}">${m2("整理", "mb-3")}+ <p class="text-body-regular text-text-secondary">${a2}</p><div class="mt-3 flex flex-col gap-3">- <div class="flex min-w-0 flex-wrap items-start gap-2">${ks(p2("3em"), {+ <div class="flex min-w-0 flex-wrap items-start gap-2">${Os(f2("3em"), {prefix: "来源",className: "w-fit min-w-25",attrs: "aria-disabled=\"true\""})}- <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${g2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs size-9">${ws("folder-search", "size-5 shrink-0")}</button></div>+ <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${h2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs size-9">${Cs("folder-search", "size-5 shrink-0")}</button></div></div>- <p class="text-caption-1-regular text-text-secondary">${s2}</p>- ${g2(p2("12em"), { label: "文件名模板" })}${g2(p2("8em"), { label: "目录模板" })}- <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${tMe.map((e) => _2("secondary", e)).join("")}</div></div>- <p class="text-caption-1-regular text-text-secondary">路径示例:${p2("16em")}</p>- <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${nMe.map((e) => _2("ghost", e)).join("")}</div></div>- <p class="text-caption-1-regular leading-4.5 text-text-secondary">${c2}</p>+ <p class="text-caption-1-regular text-text-secondary">${o2}</p>+ ${h2(f2("12em"), { label: "文件名模板" })}${h2(f2("8em"), { label: "目录模板" })}+ <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${rMe.map((e) => g2("secondary", e)).join("")}</div></div>+ <p class="text-caption-1-regular text-text-secondary">路径示例:${f2("16em")}</p>+ <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${iMe.map((e) => g2("ghost", e)).join("")}</div></div>+ <p class="text-caption-1-regular leading-4.5 text-text-secondary">${s2}</p></div></div>- <footer class="${h$.stack}">${Ds({+ <footer class="${f$.stack}">${Es({label: "预览",- attrs: f2+ attrs: d2})}</footer></section>`;}-var iMe = () => `<section class="flex scroll-mt-20 flex-col gap-4">- <section class="${g$("split")}"><div class="${m$.split}">${h2("资源同步", "mb-2")}- <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${l2}</p></div>- <footer class="${h$.split}">${Ds({+var oMe = () => `<section class="flex scroll-mt-20 flex-col gap-4">+ <section class="${p$("split")}"><div class="${d$.split}">${m2("资源同步", "mb-2")}+ <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${c2}</p></div>+ <footer class="${f$.split}">${Es({glyph: "git-compare",label: "检查文件",- attrs: f2+ attrs: d2})}</footer></section>-</section>`, v2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${p2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${p2("14em")}</small>` : ""}</div>`, aMe = () => `<section class="flex scroll-mt-20 flex-col gap-4">- <section class="${g$("stack")}"><div class="${m$.stack}">${h2("链接管理", "mb-2")}- <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${v2("链接总数", !0)}${[+</section>`, _2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${f2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${f2("14em")}</small>` : ""}</div>`, sMe = () => `<section class="flex scroll-mt-20 flex-col gap-4">+ <section class="${p$("stack")}"><div class="${d$.stack}">${m2("链接管理", "mb-2")}+ <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${_2("链接总数", !0)}${[0,1,2-].map(() => v2(p2("5em"))).join("")}</div>+].map(() => _2(f2("5em"))).join("")}</div><div class="mt-4 flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span><div class="flex min-w-0 flex-wrap gap-x-5 gap-y-2">${["7em","10em","8em"-].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${m2(16, 16)}${p2(e)}${m2(28, 24)}</span>`).join("")}</div></div></div>- <footer class="${h$.stack}">${Ds({+].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${p2(16, 16)}${f2(e)}${p2(28, 24)}</span>`).join("")}</div></div></div>+ <footer class="${f$.stack}">${Es({glyph: "link",label: "检查死链",- attrs: f2+ attrs: d2})}</footer></section></section>`;-function y2({ title: e, description: t, search: n = "", columns: r, rows: i }) {- let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${W0()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${q0}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${W0()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Es("", "", n)}</div>` : "";- return `<div data-data-table-panel class="${PU({+function v2({ title: e, description: t, search: n = "", columns: r, rows: i }) {+ let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${U0()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${K0}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${U0()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ts("", "", n)}</div>` : "";+ return `<div data-data-table-panel class="${MU({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"})}">- <div data-responsive-toolbar><div data-toolbar-heading>${h2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${p2("4em")}</span></div>- <div data-toolbar-actions>${c}<div class="flex flex-none gap-2">${Ds({+ <div data-responsive-toolbar><div data-toolbar-heading>${m2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${f2("4em")}</span></div>+ <div data-toolbar-actions>${c}<div class="flex flex-none gap-2">${Es({variant: "secondary",label: "显示列"- })}${Ds({+ })}${Es({variant: "secondary",label: "重置列宽"})}</div>- <span class="flex flex-none items-center gap-2">${ks("默认顺序", { prefix: "排序" })}${Ds({+ <span class="flex flex-none items-center gap-2">${Os("默认顺序", { prefix: "排序" })}${Es({variant: "secondary",glyph: "arrow-up",- attrs: f2+ attrs: d2})}</span></div></div><p class="text-body-2-regular text-text-secondary">${t}</p><div data-board-data-table data-resizable-table data-follow-table><div class="relative min-w-0"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="min-width:${a}px"><thead><tr>${o}</tr></thead><tbody>${s.repeat(i)}</tbody></table></div></div></div>- <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${p2("8em")}</span><div data-toolbar-actions>${ks("每页 20 条", { size: "sm" })}</div></div>+ <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${f2("8em")}</span><div data-toolbar-actions>${Os("每页 20 条", { size: "sm" })}</div></div></div>`;}-var oMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${p2(e)}</span><small class="text-caption-1-regular">${p2(t)}</small></span>`, sMe = {+var cMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${f2(e)}</span><small class="text-caption-1-regular">${f2(t)}</small></span>`, lMe = {organize: {label: "正在读取整理配置",- body: rMe+ body: aMe},"resource-sync": {label: "正在读取资源同步状态",- body: iMe+ body: oMe},"orphan-records": {label: "正在读取文件已丢失的记录",- body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${y2({+ body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${v2({title: "文件已丢失的记录",- description: u2,+ description: l2,rows: 4,columns: [{label: "作品",width: 480,- cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${oMe("70%", "40%")}</span>`+ cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${cMe("70%", "40%")}</span>`},{label: "个人记录",width: 176,- cell: p2("6em")+ cell: f2("6em")},{label: "操作",width: 128,- cell: Ds({+ cell: Es({variant: "secondary",size: "small",label: "删除记录",- attrs: f2+ attrs: d2})}]@@ -72889,50 +72900,50 @@ var oMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl},"media-repair": {label: "正在读取媒体修复状态",- body: oke+ body: lke},links: {label: "正在读取链接统计",- body: aMe+ body: sMe},"batch-delete": {label: "正在读取女优列表",- body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${y2({+ body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${v2({title: "批量删除",- description: d2,+ description: u2,search: "搜索女优姓名或别名",rows: 12,columns: [{label: "女优",width: 280,- cell: `<span class="flex min-w-0 items-center gap-3">${m2(32, 32, !0)}${p2("5em")}</span>`+ cell: `<span class="flex min-w-0 items-center gap-3">${p2(32, 32, !0)}${f2("5em")}</span>`},{label: "影片",width: 104,- cell: p2("3em")+ cell: f2("3em")},{label: "文件",width: 104,- cell: p2("3em")+ cell: f2("3em")},{label: "登记大小",width: 136,- cell: p2("4em")+ cell: f2("4em")}]})}</section>`}};-function b2(e) {- let { label: t, body: n } = sMe[e];+function y2(e) {+ let { label: t, body: n } = lMe[e];return `<div class="peach-react" data-skeleton="cleanup/${e}" aria-busy="true" role="status" aria-label="${t}"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">${n()}</div></div>`;}// src/management-placeholder.ts-var x2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => ic(e, {+var b2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => rc(e, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -72940,7 +72951,7 @@ var x2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill...i ? { count: i } : {},...a === void 0 ? {} : { fill: a },...o ? { cardRatio: o } : {}-}), cMe = [+}), uMe = ["元数据字段","创作者标签","厂牌 Logo",@@ -72950,41 +72961,41 @@ var x2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill"FC2 评论标记","FC2 跨号相似","片尾/出处证据"-], lMe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">+], dMe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}"><div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>- <div class="reviewtabs" data-section-items>${cMe.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>${uMe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div><div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>- <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, uMe = {- "/data-cleanup": () => ske(),- ...Object.fromEntries(Yf.map((e) => [e.path, () => b2(e.key)])),- "/resource-sync": () => b2("resource-sync"),- "/review": () => lMe(),+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, fMe = {+ "/data-cleanup": () => uke(),+ ...Object.fromEntries(Jf.map((e) => [e.path, () => y2(e.key)])),+ "/resource-sync": () => y2("resource-sync"),+ "/review": () => dMe(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>- ${x2("正在读取采集来源", {+ ${b2("正在读取采集来源", {cards: !0,count: 4,fill: !1,className: "cleanup-skeleton"})}</div>`};-function S2(e, { followLayout: t, followSort: n, followDir: r }) {- return Fje(e, {+function x2(e, { followLayout: t, followSort: n, followDir: r }) {+ return Lje(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (uMe[e] ?? (() => x2("正在读取页面")))();+ }) || (fMe[e] ?? (() => b2("正在读取页面")))();}-var C2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";-function w2(e, t) {- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = C2(t);- r && r === n || (e.innerHTML = t, fc(e));+var S2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";+function C2(e, t) {+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = S2(t);+ r && r === n || (e.innerHTML = t, dc(e));}// src/react/components/related-section.tsx-function T2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {+function w2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {let c = (0, F.useCallback)((e) => {- e && (fc(e), t(e));+ e && (dc(e), t(e));}, [t]);return /* @__PURE__ */ (0, I.jsxs)("div", {...s,@@ -72995,17 +73006,17 @@ function T2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,children: "接着看"}), i ? /* @__PURE__ */ (0, I.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, I.jsx)(zG, {+ children: /* @__PURE__ */ (0, I.jsx)(FG, {message: i,onRetry: a || (() => {})})}) : r && !n ? /* @__PURE__ */ (0, I.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, I.jsx)(SV, {+ children: /* @__PURE__ */ (0, I.jsx)(bV, {size: "compact",- icon: uV,+ icon: cV,title: "暂无接着看的内容",- actions: /* @__PURE__ */ (0, I.jsx)(jL, {+ actions: /* @__PURE__ */ (0, I.jsx)(kL, {size: "small",href: o ? "/follow" : "/",children: o ? "返回关注" : "浏览馆藏"@@ -73021,7 +73032,7 @@ function T2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,});}// src/react/components/detail-continuation.tsx-function E2({ queue: e, children: t, queueCards: n }) {+function T2({ queue: e, children: t, queueCards: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-detail-continuation": "","data-queue-cards": n == null ? void 0 : Math.min(3, n),@@ -73029,12 +73040,12 @@ function E2({ queue: e, children: t, queueCards: n }) {});}// src/react/components/media-carousel.tsx-function D2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {+function E2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {let a = (0, F.useRef)(null), o = e.some((e) => e.video), s = !!i;if ((0, F.useLayoutEffect)(() => {let e = a.current?.querySelector("[data-media-thumbnails]");if (!e) return;- let t = kc(e, { drag: !0 }), n = () => {+ let t = Oc(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);@@ -73052,7 +73063,7 @@ function D2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]), (0, F.useLayoutEffect)(() => {let e = a.current, t = e?.querySelector("[data-follow-image-dots]"), n = e?.closest("[data-stage-media]");if (!e || !t) return;- let i = kc(t, { drag: !0 }), o = () => {+ let i = Oc(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);@@ -73080,7 +73091,7 @@ function D2({ 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, I.jsx)("span", { dangerouslySetInnerHTML: { __html: R("play") } }) : null+ children: r.video ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: z("play") } }) : null}, r.index);return /* @__PURE__ */ (0, I.jsxs)("div", {ref: a,@@ -73095,7 +73106,7 @@ function D2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"aria-label": o ? "上一项媒体" : "上一张图片",title: "上一张",onClick: () => c(-1),- dangerouslySetInnerHTML: { __html: R("chevron-left") }+ dangerouslySetInnerHTML: { __html: z("chevron-left") }}), /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-follow-image-step": "1",@@ -73103,13 +73114,13 @@ function D2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"aria-label": o ? "下一项媒体" : "下一张图片",title: "下一张",onClick: () => c(1),- dangerouslySetInnerHTML: { __html: R("chevron-right") }+ dangerouslySetInnerHTML: { __html: z("chevron-right") }})] }),i ? /* @__PURE__ */ (0, I.jsx)("div", {"data-media-thumbnails": "",role: "group","aria-label": "媒体缩略图",- children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(dMe, {+ children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(pMe, {item: e,selected: r === t,onSelect: n,@@ -73128,7 +73139,7 @@ function D2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]});}-function dMe({ item: e, selected: t, onSelect: n, render: r }) {+function pMe({ item: e, selected: t, onSelect: n, render: r }) {let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(typeof IntersectionObserver > "u");return (0, F.useEffect)(() => {if (!i.current || a) return;@@ -73149,25 +73160,25 @@ function dMe({ item: e, selected: t, onSelect: n, render: r }) {children: [a ? r(e) : /* @__PURE__ */ (0, I.jsx)("span", { className: "block h-full w-full skeleton-sheen" }), e.video ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-thumbnail-play": "","aria-hidden": !0,- dangerouslySetInnerHTML: { __html: R("play") }+ dangerouslySetInnerHTML: { __html: z("play") }}) : null]});}// src/react/follow-detail/follow-related.ts-var fMe = (e, t, n) => [+var mMe = (e, t, n) => ["follow-feed","related",e,t,n];-function O2(e, t, n, r) {- let i = new Set((t.group ? ca(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 D2(e, t, n, r) {+ let i = new Set((t.group ? sa(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 = ca(e);- return t.some((e) => i.has(e.id) || a.has(e.id)) || !ma(e).has(n === "images" ? "image" : "video") || ha(e, n).status !== "new" ? !1 : (t.forEach((e) => a.add(e.id)), !0);+ let t = sa(e);+ return t.some((e) => i.has(e.id) || a.has(e.id)) || !pa(e).has(n === "images" ? "image" : "video") || ma(e, n).status !== "new" ? !1 : (t.forEach((e) => a.add(e.id)), !0);}).map((e, t) => {- let r = ha(e, n), i = r.source_id === void 0 ? void 0 : c.get(r.source_id);+ let r = ma(e, n), i = r.source_id === void 0 ? void 0 : c.get(r.source_id);return {group: e,order: t,@@ -73176,40 +73187,40 @@ function O2(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 pMe(e, t, n, r) {+async function hMe(e, t, n, r) {let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {- ...ga(i),+ ...ha(i),status: "new",media: t,sort: "rand",seed: e.item.id}, o = [], s = async (e, t) => {- let n = await B(ea({+ let n = await V($i({...a,author: e}, t), r);return o.push(n), n;}, c = await s(i, 0);- return O2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && O2(o, e, t, n).length < n && await s("", 0), {+ return D2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && D2(o, e, t, n).length < n && await s("", 0), {pages: o,pageParams: o.map((e) => e.offset || 0)};}// src/react/components/detail-tags.tsx-var k2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var O2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: R(e) }+ dangerouslySetInnerHTML: { __html: z(e) }});-function A2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {- let [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(!1), m = Pt({+function k2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {+ let [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(!1), m = Nt({queryKey: ["tag-management", n],- queryFn: ({ signal: e }) => B(`/api/tag-management${n === "online" ? "?scope=online" : ""}`, e),+ queryFn: ({ signal: e }) => V(`/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 = EH(), _ = (e) => {+ }), h = m.data?.items?.filter((e) => !e.hidden && !e.blocked && (n === "online" || e.cat !== "meta")) || t, g = wH(), _ = (e) => {g.run("rename", async (t) => {- let r = (await H.fetchQuery({+ let r = (await U.fetchQuery({queryKey: ["tag-management", n],- queryFn: () => B(`/api/tag-management${n === "online" ? "?scope=online" : ""}`, t)+ queryFn: () => V(`/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;@@ -73237,9 +73248,9 @@ function A2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe"data-edit-tag": e.k,title: "修改标签名称","aria-label": `修改标签 ${a(e.k)}`,- ...EV(!!g.busy),+ ...wV(!!g.busy),onClick: () => _(e),- children: /* @__PURE__ */ (0, I.jsx)(k2, { name: "pencil" })+ children: /* @__PURE__ */ (0, I.jsx)(O2, { name: "pencil" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -73248,10 +73259,10 @@ function A2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe"aria-label": `删除标签 ${a(e.k)}`,...l(e.k),onClick: () => c(e),- children: /* @__PURE__ */ (0, I.jsx)(k2, { name: "x" })+ children: /* @__PURE__ */ (0, I.jsx)(O2, { name: "x" })})]- }, e.k)), /* @__PURE__ */ (0, I.jsx)(mMe, {+ }, e.k)), /* @__PURE__ */ (0, I.jsx)(gMe, {tags: e,candidates: h,label: a,@@ -73262,11 +73273,11 @@ function A2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labeloading: m.isFetching})]}),- g.error ? /* @__PURE__ */ (0, I.jsx)(xV, {+ g.error ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",children: g.error}) : null,- m.isError ? /* @__PURE__ */ (0, I.jsx)(xV, {+ m.isError ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -73275,7 +73286,7 @@ function A2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe}),children: "无法读取标签候选"}) : null,- u ? /* @__PURE__ */ (0, I.jsx)(a$, {+ u ? /* @__PURE__ */ (0, I.jsx)(n$, {operation: "rename",selected: [u],scope: n,@@ -73284,8 +73295,8 @@ function A2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe}) : null] });}-function mMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {- let c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = ZV(), d = (0, F.useRef)(null), f = (0, F.useRef)(!1), [p, m] = (0, F.useState)(!1), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), [y, b] = (0, F.useState)(-1), x = (0, F.useRef)({+function gMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {+ let c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = YV(), d = (0, F.useRef)(null), f = (0, F.useRef)(!1), [p, m] = (0, F.useState)(!1), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), [y, b] = (0, F.useState)(-1), x = (0, F.useRef)({adding: i,query: h,tags: e,@@ -73304,7 +73315,7 @@ function mMe({ 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 = ds(e.parentElement, e, t);+ let n = us(e.parentElement, e, t);S.current = n;let r = () => {let e = x.current;@@ -73313,7 +73324,7 @@ function mMe({ 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) => Hn(t.k) === Hn(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) => Vn(t.k) === Vn(e.query.trim()))) && (g(""), v("")), b(-1), requestAnimationFrame(() => d.current?.focus({ preventScroll: !0 })));};e.addEventListener("click", r);let i = new MutationObserver(() => m(n.isOpen()));@@ -73358,7 +73369,7 @@ function mMe({ 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) => Hn(e.k) === Hn(t.k)), o = t.cat || e.find((e) => Hn(e.k) === Hn(t.k))?.cat || "unknown", s = o === "unknown" ? "r34-unknown" : a === "online" && [+ let r = O, i = e.some((e) => Vn(e.k) === Vn(t.k)), o = t.cat || e.find((e) => Vn(e.k) === Vn(t.k))?.cat || "unknown", s = o === "unknown" ? "r34-unknown" : a === "online" && ["general","artist","character",@@ -73373,7 +73384,7 @@ function mMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,"aria-pressed": i,onClick: () => E(t, i),children: [- /* @__PURE__ */ (0, I.jsx)(k2, { name: i ? "check" : "tags" }),+ /* @__PURE__ */ (0, I.jsx)(O2, { name: i ? "check" : "tags" }),/* @__PURE__ */ (0, I.jsx)("span", {"data-pick-name": "",children: n(t.k)@@ -73393,8 +73404,8 @@ function mMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,title: "添加标签","aria-label": "添加标签","aria-expanded": p,- ...EV(!!i),- children: /* @__PURE__ */ (0, I.jsx)(k2, { name: "plus" })+ ...wV(!!i),+ children: /* @__PURE__ */ (0, I.jsx)(O2, { name: "plus" })}), /* @__PURE__ */ (0, I.jsxs)("div", {ref: l,id: "tagPicker",@@ -73406,8 +73417,8 @@ function mMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,"data-tag-search": "",children: [s ? /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: zs("正在读取标签") }- }) : /* @__PURE__ */ (0, I.jsx)(k2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {+ dangerouslySetInnerHTML: { __html: Rs("正在读取标签") }+ }) : /* @__PURE__ */ (0, I.jsx)(O2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {ref: d,id: "tagPickSearch",maxLength: 80,@@ -73451,7 +73462,7 @@ function mMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,onClick: () => {C(), r(w.create);},- children: [/* @__PURE__ */ (0, I.jsx)(k2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(O2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {"data-pick-name": "",children: ["新建“",@@ -73468,15 +73479,15 @@ function mMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,})] });}// src/react/follow-detail/follow-tags.tsx-function hMe({ item: e, label: t, actions: n }) {- let r = EH(), i = () => H.invalidateQueries({ predicate: (e) => [+function _Me({ item: e, label: t, actions: n }) {+ let r = wH(), i = () => U.invalidateQueries({ predicate: (e) => ["follow-feed","follow","tag-management"].includes(String(e.queryKey[0])) }), a = (e) => {- ua(e.item), H.setQueriesData({ queryKey: ["follow-item"] }, (t) => {+ la(e.item), U.setQueriesData({ queryKey: ["follow-item"] }, (t) => {if (!t) return t;- let n = ca(e.group).find((e) => e.id === t.item.id);+ let n = sa(e.group).find((e) => e.id === t.item.id);return n ? {...t,item: n,@@ -73485,7 +73496,7 @@ function hMe({ 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 H("/api/follow/tag", {id: e.id,operation: o,tag: s@@ -73495,7 +73506,7 @@ function hMe({ item: e, label: t, actions: n }) {o === "add" && UP(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 H("/api/follow/tag", {id: e.id,operation: r,tag: s@@ -73508,10 +73519,10 @@ function hMe({ item: e, label: t, actions: n }) {"aria-label": "内容标签","data-follow-tag-editor": "","data-follow-detail-tags": "",- children: [/* @__PURE__ */ (0, I.jsx)(A2, {- tags: Zje(e, t).map((t) => ({+ children: [/* @__PURE__ */ (0, I.jsx)(k2, {+ tags: $je(e, t).map((t) => ({k: t,- cat: Xje(e, t)+ cat: Qje(e, t)})),scope: "online",adding: !!r.busy,@@ -73520,30 +73531,30 @@ function hMe({ item: e, label: t, actions: n }) {onOpen: n.openTag,onAdd: (e) => o("add", e),onRemove: (e) => o("remove", e.k),- busyAttrs: () => EV(!!r.busy)- }), r.error ? /* @__PURE__ */ (0, I.jsx)(xV, {+ busyAttrs: () => wV(!!r.busy)+ }), r.error ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",children: r.error}) : null]});}// src/react/follow-detail/follow-detail-page.tsx-var j2 = (e) => Number(e) > 0, gMe = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var A2 = (e) => Number(e) > 0, vMe = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: R(e) }-}), M2 = R("external-link", "ui-externalmark");-function _Me(e) {- let { id: t, actions: n } = e, r = Pt({- queryKey: Z0(t),- queryFn: ({ signal: e }) => $0(t, e)- }), i = Pt({- queryKey: ra,- queryFn: ({ signal: e }) => ia(e)+ dangerouslySetInnerHTML: { __html: z(e) }+}), j2 = z("external-link", "ui-externalmark");+function yMe(e) {+ let { id: t, actions: n } = e, r = Nt({+ queryKey: X0(t),+ queryFn: ({ signal: e }) => Q0(t, e)+ }), i = Nt({+ queryKey: na,+ queryFn: ({ signal: e }) => ra(e)}), a = (0, F.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, F.useState)(e.mediaIndex);- return r.data ? /* @__PURE__ */ (0, I.jsx)(bMe, {+ return r.data ? /* @__PURE__ */ (0, I.jsx)(SMe, {...e,data: r.data,- context: Qje(r.data, a),+ context: eMe(r.data, a),mediaIndex: o,onMedia: s}) : /* @__PURE__ */ (0, I.jsx)("div", {@@ -73552,37 +73563,37 @@ function _Me(e) {children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, I.jsx)(N2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {+ children: [/* @__PURE__ */ (0, I.jsx)(M2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? vMe(r.error) ? /* @__PURE__ */ (0, I.jsx)(yMe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(zG, {- message: bn(r.error),+ children: r.isError ? bMe(r.error) ? /* @__PURE__ */ (0, I.jsx)(xMe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(FG, {+ message: yn(r.error),onRetry: () => void r.refetch()}) : null})]})});}-var vMe = (e) => e instanceof Q0 || e instanceof or && e.status === 404;-function yMe({ onBack: e }) {+var bMe = (e) => e instanceof Z0 || e instanceof ar && e.status === 404;+function xMe({ onBack: e }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-detail-gone": "",onClick: (t) => {t.target.closest("[data-note-action]") && e();},- dangerouslySetInnerHTML: { __html: Rs("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }+ dangerouslySetInnerHTML: { __html: Ls("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }});}-var N2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {+var M2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",title: "关闭","aria-label": "关闭",onClick: e,- dangerouslySetInnerHTML: { __html: R("x") }+ dangerouslySetInnerHTML: { __html: z("x") }});-function bMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {- let { item: c, group: l } = e, u = Hje(c, l, n, i), d = EMe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({+function SMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {+ let { item: c, group: l } = e, u = Wje(c, l, n, i), d = OMe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({key: "",kind: ""}), h = {@@ -73602,20 +73613,20 @@ function bMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? Uje(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(L2, {+ let g = !u.embedded.length && u.collection ? Gje(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(I2, {item: c,current: u.selected.index,helpers: o,actions: s,onMedia: r- }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(L2, {+ }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(I2, {item: g,current: null,helpers: o,actions: s,onMedia: r,currentId: c.id- }) : /* @__PURE__ */ (0, I.jsx)(CMe, {+ }) : /* @__PURE__ */ (0, I.jsx)(TMe, {group: u.collection,itemId: c.id,helpers: o,@@ -73625,14 +73636,14 @@ function bMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel"data-stage-grid": "","data-with-queue": _ ? "" : void 0,"data-follow-detail": "",- children: [/* @__PURE__ */ (0, I.jsx)(SMe, {+ children: [/* @__PURE__ */ (0, I.jsx)(wMe, {item: c,media: u,helpers: o,actions: s,onMedia: r,issues: h- }, f), /* @__PURE__ */ (0, I.jsx)(wMe, {+ }, f), /* @__PURE__ */ (0, I.jsx)(EMe, {item: c,data: e,context: t,@@ -73642,9 +73653,9 @@ function bMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relhelpers: o,actions: s})]- }), /* @__PURE__ */ (0, I.jsx)(E2, {+ }), /* @__PURE__ */ (0, I.jsx)(T2, {queue: _,- children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(xMe, {+ children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(CMe, {data: e,media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,limit: a,@@ -73654,37 +73665,37 @@ function bMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel}) : null})] });}-function xMe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {- let o = Pt({- queryKey: fMe(e.item.id, t, n),- queryFn: ({ signal: r }) => pMe(e, t, n, r)- }), [s] = (0, F.useState)(() => x2("正在读取推荐", {+function CMe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {+ let o = Nt({+ queryKey: mMe(e.item.id, t, n),+ queryFn: ({ signal: r }) => hMe(e, t, n, r)+ }), [s] = (0, F.useState)(() => b2("正在读取推荐", {cards: !0,className: "related-skeleton"})), c = (0, F.useMemo)(() => ({openDetail: a.openItem,openAuthor: a.openAuthor,canFlip: () => !1- }), [a]), l = O2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {+ }), [a]), l = D2(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, I.jsx)(T2, {+ return /* @__PURE__ */ (0, I.jsx)(w2, {online: !0,"data-follow-related": "",wireDrag: i.wireDrag,busy: o.isPending,empty: !!o.data && !l.length,- error: o.isError ? `读取接着看失败:${bn(o.error)}` : void 0,+ error: o.isError ? `读取接着看失败:${yn(o.error)}` : void 0,onRetry: () => {o.refetch();},- children: o.data ? l.map((e) => /* @__PURE__ */ (0, I.jsx)(zZ, {+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, I.jsx)(IZ, {variant: "next",group: e,media: t,- authorSources: i2(e.primary, u),+ authorSources: r2(e.primary, u),context: d,selected: !1,selectMode: !1,@@ -73697,8 +73708,8 @@ function xMe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }})});}-function SMe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, F.useRef)(null), p = $je(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, F.useState)(g), b = (0, F.useRef)({+function wMe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, F.useRef)(null), p = tMe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, F.useState)(g), b = (0, F.useRef)({item: e,selected: o}), x = (0, F.useRef)(i.failed);@@ -73712,14 +73723,14 @@ function SMe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-framed": d ? "" : void 0,style: { "--follow-frame-ratio": d ? d.toFixed(4) : void 0 },children: [- /* @__PURE__ */ (0, I.jsx)(N2, { onClose: n.close }),+ /* @__PURE__ */ (0, I.jsx)(M2, { onClose: n.close }),h ? null : g ? /* @__PURE__ */ (0, I.jsx)("img", {"data-follow-detail-poster": "","data-zoomable": p.length ? "" : void 0,src: v,alt: e.title,referrerPolicy: "no-referrer",- onClick: p.length ? () => void OZ(Math.max(0, l), p) : void 0,+ onClick: p.length ? () => void TZ(Math.max(0, l), p) : void 0,onError: () => {_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();}@@ -73727,10 +73738,10 @@ function SMe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-follow-detail-placeholder": "",children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: pG(e.resource_provider || e.provider) }+ dangerouslySetInnerHTML: { __html: lG(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, I.jsx)("span", { children: "没有可用预览" })]}),- u ? /* @__PURE__ */ (0, I.jsx)(D2, {+ u ? /* @__PURE__ */ (0, I.jsx)(E2, {items: c,position: l,onSelect: r,@@ -73747,11 +73758,11 @@ function SMe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var P2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var N2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }+ dangerouslySetInnerHTML: { __html: z(e === "image" ? "image-off" : "play") }});-function F2({ src: e }) {+function P2({ src: e }) {let [t, n] = (0, F.useState)(!1);return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {src: e,@@ -73761,30 +73772,30 @@ function F2({ src: e }) {onError: () => n(!0)});}-function I2(e) {+function F2(e) {return (0, F.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}-function CMe({ group: e, itemId: t, helpers: n, actions: r }) {- let i = _a(e), a = I2(n);- return /* @__PURE__ */ (0, I.jsx)(NK, {+function TMe({ group: e, itemId: t, helpers: n, actions: r }) {+ let i = ga(e), a = F2(n);+ return /* @__PURE__ */ (0, I.jsx)(kK, {kind: "collection","data-follow-queue": "",title: "视频合集",onClose: r.close,listRef: a,- summary: `${hG(e.primary)} · ${i.length} 个视频`,+ summary: `${dG(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = qje(e, n, i ? n.provider_label : ""), o = i ? pG(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, I.jsxs)(PK, {+ let i = e.duplicates.includes(n), a = Yje(e, n, i ? n.provider_label : ""), o = i ? lG(n.provider, n.provider_label) : "";+ return /* @__PURE__ */ (0, I.jsxs)(AK, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(F2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(P2, { kind: "video" }), j2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(P2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(N2, { kind: "video" }), A2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {className: "mono","data-mix-item-duration": "",- children: qn(n.duration)+ children: Kn(n.duration)}) : null] }),children: [/* @__PURE__ */ (0, I.jsx)("b", {"data-truncate-end": "",@@ -73799,15 +73810,15 @@ function CMe({ group: e, itemId: t, helpers: n, actions: r }) {children: a.label}), /* @__PURE__ */ (0, I.jsx)("time", {dateTime: n.published_at || "",- children: wG(n)+ children: bG(n)})]})]}, n.id);})});}-function L2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = I2(r), c = [];+function I2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {+ let o = e.media_items || [], s = F2(r), c = [];o.forEach((e) => {let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);n || (n = {@@ -73817,26 +73828,26 @@ function L2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, c.push(n)), n.items.push(e);});let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);- return /* @__PURE__ */ (0, I.jsx)(NK, {+ return /* @__PURE__ */ (0, I.jsx)(kK, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,- summary: `${hG(e)} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(Hbe, {+ summary: `${dG(e)} · ${o.length} 个媒体`,+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(Kbe, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(PK, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(AK, {current: n.index === t,"data-follow-media-owner": e.id,"data-follow-media-item": n.index,"data-media-kind": n.media_kind || "",onClick: () => l(n),- pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(F2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(P2, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(P2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(N2, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, I.jsx)("b", {"data-middle-truncate": "",- children: Jje(n)+ children: Xje(n)}), /* @__PURE__ */ (0, I.jsx)("span", {"data-truncate-end": "",children: n.media_kind === "image" ? "图片" : "视频"@@ -73844,13 +73855,13 @@ function L2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, n.index))])});}-function wMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {+function EMe({ 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 = xG(d, e), p = yG(e, i2(e, t.sources), n), m = p.credited ? "" : e.author && Hn(e.author) !== Hn(p.author) ? e.author : "", h = SG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {+ }, f = _G(d, e), p = hG(e, r2(e, t.sources), n), m = p.credited ? "" : e.author && Vn(e.author) !== Vn(p.author) ? e.author : "", h = vG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -73866,7 +73877,7 @@ function wMe({ 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: bG(d, e) + z(hG(e)) }+ dangerouslySetInnerHTML: { __html: gG(d, e) + B(dG(e)) }}), e.url ? /* @__PURE__ */ (0, I.jsx)("a", {"data-follow-origin": "",href: e.url,@@ -73874,7 +73885,7 @@ function wMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: M2 }+ dangerouslySetInnerHTML: { __html: j2 }}) : null]}),/* @__PURE__ */ (0, I.jsxs)("div", {@@ -73882,8 +73893,8 @@ function wMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-meta": "","data-reveal-line": "",children: [- /* @__PURE__ */ (0, I.jsx)("span", { children: wG(e) }),- j2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: qn(e.duration) }) : null,+ /* @__PURE__ */ (0, I.jsx)("span", { children: bG(e) }),+ A2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: Kn(e.duration) }) : null,f ? /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }@@ -73900,7 +73911,7 @@ function wMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: "创作者"}), /* @__PURE__ */ (0, I.jsx)("div", {"data-id-row": "",- children: p.entityName ? /* @__PURE__ */ (0, I.jsxs)(LZ, {+ children: p.entityName ? /* @__PURE__ */ (0, I.jsxs)(PZ, {name: p.entityName,actions: s,"data-id-cell": "creator",@@ -73932,7 +73943,7 @@ function wMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: [m ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]}) : null]}),- e.summary ? /* @__PURE__ */ (0, I.jsx)(TMe, { text: e.summary }, e.id) : null,+ e.summary ? /* @__PURE__ */ (0, I.jsx)(DMe, { text: e.summary }, e.id) : null,h ? /* @__PURE__ */ (0, I.jsx)("p", {"data-follow-media-issue": "",children: h@@ -73955,9 +73966,9 @@ function wMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpehref: e,target: "_blank",rel: "noreferrer noopener",- children: [Kje(e), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [Jje(e), /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: M2 }+ dangerouslySetInnerHTML: { __html: j2 }})]}, e))}) : null,@@ -73974,7 +73985,7 @@ function wMe({ 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: z(g ? "check" : "bookmark-plus") }}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -73985,7 +73996,7 @@ function wMe({ 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: z("star") }}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -73996,7 +74007,7 @@ function wMe({ 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: z("eye") }}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -74007,7 +74018,7 @@ function wMe({ 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: z("eye-off") }}),e.status === "seen" || e.status === "ignored" ? /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -74016,7 +74027,7 @@ function wMe({ 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: z("rotate-ccw") }}) : null,c === "image" && l ? /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -74026,7 +74037,7 @@ function wMe({ 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: z("image-off") }}) : null,u ? /* @__PURE__ */ (0, I.jsx)("a", {"data-stage-action-link": "",@@ -74035,7 +74046,7 @@ function wMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpedownload: "","aria-label": "下载到本地",title: "下载到本地",- dangerouslySetInnerHTML: { __html: R("download") }+ dangerouslySetInnerHTML: { __html: z("download") }}) : null]}),@@ -74057,7 +74068,7 @@ function wMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-label": `恢复显示 ${e.name || ""}`,...v(`restore:${e.index}`),onClick: () => i.restore(e.index),- children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(F2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(gMe, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(P2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(vMe, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: z("rotate-ccw") } })]}, e.index))})]}) : null,@@ -74066,7 +74077,7 @@ function wMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-live": "polite",children: i.failure}),- /* @__PURE__ */ (0, I.jsx)(hMe, {+ /* @__PURE__ */ (0, I.jsx)(_Me, {item: e,label: o.tagLabel,actions: s@@ -74075,7 +74086,7 @@ function wMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe})});}-function TMe({ text: e }) {+function DMe({ text: e }) {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);return (0, F.useLayoutEffect)(() => {let e = t.current;@@ -74088,7 +74099,7 @@ function TMe({ text: e }) {ref: t,"data-follow-detail-summary": "","data-long-text": "",- lang: QI(e),+ lang: XI(e),"data-clamped": n ? void 0 : "",children: e}), i || n ? /* @__PURE__ */ (0, I.jsx)(J, {@@ -74100,28 +74111,28 @@ function TMe({ text: e }) {children: n ? "收起" : "展开"}) : null] });}-function EMe(e, t, n) {- let r = e.id, i = Z0(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {+function OMe(e, t, n) {+ let r = e.id, i = X0(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), u = (e) => {- H.setQueryData(i, (t) => t && {+ U.setQueryData(i, (t) => t && {...t,item: {...t.item,status: e}- }), da(r, e);+ }), ua(r, e);}, d = (e) => {- c(bn(e) || "操作失败"), t.failure("更新关注状态", e);- }, f = Ft({- mutationFn: ({ to: e }) => V(jr, {+ c(yn(e) || "操作失败"), t.failure("更新关注状态", e);+ }, f = Pt({+ mutationFn: ({ to: e }) => H(Ar, {item: r,to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && vW(), t.toast(eMe(n), { undo: i === "saved" ? void 0 : async () => {- await V(jr, {+ u(n), c(""), n === "ignored" && gW(), t.toast(nMe(n), { undo: i === "saved" ? void 0 : async () => {+ await H(Ar, {item: r,to: i}), u(i);@@ -74129,37 +74140,37 @@ function EMe(e, t, n) {},onError: d,onSettled: (e, t, { to: n }) => l(n, !1)- }), p = Ft({- mutationFn: () => V(zje, { item: r }),+ }), p = Pt({+ mutationFn: () => H(Vje, { item: r }),onSuccess: () => {u("saved"), c(""), t.toast("已保存到数据库");},onError: d,onSettled: () => l("save", !1)- }), m = Ft({+ }), m = Pt({mutationFn: async ({ index: e, hidden: t }) => {- await V(Bje, {+ await H(Hje, {item: r,media: e,hidden: t- }), await H.invalidateQueries({+ }), await U.invalidateQueries({queryKey: i,exact: !0});},onSuccess: (e, { hidden: r, next: a }) => {- let o = H.getQueryData(i);- o && ua(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");+ let o = U.getQueryData(i);+ o && la(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: nye(r),- queryFn: ({ signal: e }) => aye(r, e)- }).data?.want ?? null, g = Ft({- mutationFn: async (e) => (e ? await _W([e.id]) : await gW({ follow: r }), !e),+ }), h = Nt({+ queryKey: iye(r),+ queryFn: ({ signal: e }) => sye(r, e)+ }).data?.want ?? null, g = Pt({+ mutationFn: async (e) => (e ? await hW([e.id]) : await mW({ follow: r }), !e),onSuccess: (e) => {- c(""), t.toast(e ? "已加入想要" : "已取消想要"), vW();+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), gW();},onError: d,onSettled: () => l("want", !1)@@ -74198,11 +74209,11 @@ function EMe(e, t, n) {};}// src/react/components/identity-cell.tsx-function R2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {- gL();- let o = tn(e, t.name, t.id), s = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, I.jsx)("span", {+function L2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {+ mL();+ let o = en(e, t.name, t.id), s = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, I.jsx)("span", {"data-id-face": "",- dangerouslySetInnerHTML: { __html: `<span>${z($n(o))}</span>` + ho({+ dangerouslySetInnerHTML: { __html: `<span>${B(Qn(o))}</span>` + mo({kind: e,id: t.id,hasImage: t.has_image,@@ -74213,8 +74224,8 @@ function R2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })}) }}) : /* @__PURE__ */ (0, I.jsxs)("span", {"data-id-face": "",- children: [/* @__PURE__ */ (0, I.jsx)("span", { children: e === "studio" ? Qn(t.name, 2) : $n(t.name) }), e === "studio" && t.has_logo ? /* @__PURE__ */ (0, I.jsx)("img", {- src: fo(t.name, "icon", t.logo_version),+ children: [/* @__PURE__ */ (0, I.jsx)("span", { children: e === "studio" ? Zn(t.name, 2) : Qn(t.name) }), e === "studio" && t.has_logo ? /* @__PURE__ */ (0, I.jsx)("img", {+ src: uo(t.name, "icon", t.logo_version),alt: "",width: 128,height: 128,@@ -74227,7 +74238,7 @@ function R2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })children: o})] }), l = {"data-id-cell": e,- title: nn(e, t.name, t.id) || o,+ title: tn(e, t.name, t.id) || o,hidden: r,"data-castoverflow": i ? "" : void 0};@@ -74237,7 +74248,7 @@ function R2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })"data-entity-kind": e,"data-entity-name": t.name,onClick: () => {- cn(e, t.name, t.id), n(e, t.name);+ sn(e, t.name, t.id), n(e, t.name);},children: c}) : /* @__PURE__ */ (0, I.jsx)("span", {@@ -74245,12 +74256,12 @@ function R2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })children: c});}-function z2({ people: e, onOpen: t }) {+function R2({ people: e, onOpen: t }) {if (!e.length) return null;let n = (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "contents","aria-hidden": "true",- dangerouslySetInnerHTML: { __html: R("tags") }+ dangerouslySetInnerHTML: { __html: z("tags") }}), /* @__PURE__ */ (0, I.jsx)("span", { children: e.name })] });return /* @__PURE__ */ (0, I.jsxs)("section", {"data-id-group": "series",@@ -74266,7 +74277,7 @@ function z2({ people: e, onOpen: t }) {"data-entity-name": e.name,title: e.name,onClick: () => {- cn("series", e.name, e.id), t("series", e.name);+ sn("series", e.name, e.id), t("series", e.name);},children: n(e)}, e.name) : /* @__PURE__ */ (0, I.jsx)("span", {@@ -74278,7 +74289,7 @@ function z2({ people: e, onOpen: t }) {});}// src/react/components/folded-title.ts-function B2(e) {+function z2(e) {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);return (0, F.useLayoutEffect)(() => {let e = t.current;@@ -74295,9 +74306,9 @@ function B2(e) {};}// src/react/item-detail/catalog-picture.tsx-function V2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {+function B2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {let [i, a] = (0, F.useState)(""), [o, s] = (0, F.useState)(0);- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(yQ, {+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(gQ, {item: {code: e.code,has_cover: !1,@@ -74306,12 +74317,12 @@ function V2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {image: String(t - 1),thumbnail: r});- let c = t < 0 ? co(e, !0) : `/${r ? "sample-thumb" : "sample-image"}?code=${encodeURIComponent(e.code || "")}&n=${t}`;+ let c = t < 0 ? so(e, !0) : `/${r ? "sample-thumb" : "sample-image"}?code=${encodeURIComponent(e.code || "")}&n=${t}`;return r ? i === c ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)("img", {src: c,alt: "",onError: () => a(c)- }) : i === c ? /* @__PURE__ */ (0, I.jsx)(xV, {+ }) : i === c ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "neutral",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -74329,39 +74340,39 @@ function V2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {}, o);}// src/react/jav-detail/jav-detail.ts-var H2 = (e) => ["jav-detail", e], U2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), DMe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), W2 = (e, t) => H.ensureQueryData({- queryKey: H2(e.code),- queryFn: () => U2(e.code, t),+var V2 = (e) => ["jav-detail", e], H2 = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), kMe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), U2 = (e, t) => U.ensureQueryData({+ queryKey: V2(e.code),+ queryFn: () => H2(e.code, t),staleTime: 216e5,revalidateIfStale: !0});-function OMe(e, t) {+function AMe(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 G2 = "peach.playback-target.v1", K2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];-function kMe() {+var W2 = "peach.playback-target.v1", G2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];+function jMe() {try {- return localStorage.getItem(G2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;+ return localStorage.getItem(W2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;} catch {return "local:default";}}-function q2({ id: e, onOpened: t }) {- let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(kMe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = EH();+function K2({ id: e, onOpened: t }) {+ let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(jMe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = wH();(0, F.useEffect)(() => {let e = new AbortController();- return B("/api/local-players", e.signal).then((t) => {- e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || K2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));+ return V("/api/local-players", e.signal).then((t) => {+ e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || G2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));}).catch((t) => {- e.signal.aborted || (r([]), a((e) => K2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));+ e.signal.aborted || (r([]), a((e) => G2.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 H(`/api/local-playback?id=${e}&player=${encodeURIComponent(i.slice(6))}`, {}, "POST", t), null;+ let n = await H(`/api/external-playback?id=${e}`, {}, "POST", t);return {url: new URL(n.url, location.origin).href,playlist: new URL(n.playlist, location.origin).href@@ -74380,29 +74391,29 @@ function q2({ id: e, onOpened: t }) {children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-local-playback-row": "",- children: [/* @__PURE__ */ (0, I.jsx)(l1, {+ children: [/* @__PURE__ */ (0, I.jsx)(c1, {id: `external-player-${e}`,label: "外部播放器",- options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...K2],+ options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...G2],value: i,disabled: n === null || !!f.busy,epoch: u * 2 + Number(n !== null),onPick: (e) => {a(e), s(null), f.setError("");try {- localStorage.setItem(G2, e);+ localStorage.setItem(W2, e);} catch {}}}), /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary","aria-label": "使用外部播放器打开",disabled: n === null,- ...EV(f.busy === "open"),+ ...wV(f.busy === "open"),onClick: p,children: "打开"})]}),- f.error || c ? /* @__PURE__ */ (0, I.jsx)(JH, { children: f.error || c }) : null,+ f.error || c ? /* @__PURE__ */ (0, I.jsx)(KH, { children: f.error || c }) : null,c ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",disabled: !!f.busy,@@ -74411,16 +74422,16 @@ function q2({ id: e, onOpened: t }) {},children: "重新检测播放器"}) : null,- o ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(vV, {+ o ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(gV, {label: "网络播放地址",value: o.url,isReadOnly: !0- }), /* @__PURE__ */ (0, I.jsx)(qH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null+ }), /* @__PURE__ */ (0, I.jsx)(GH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null]});}// src/react/boardui/components/base/switch/switch.tsx-var AMe = KI({+var MMe = WI({sm: {track: "h-4 w-7",trackRadius: {@@ -74482,8 +74493,8 @@ var AMe = KI({}}});-function jMe({ state: e, size: t = "md", shape: n = "pill" }) {- let r = AMe[t];+function NMe({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = MMe[t];return /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,className: q("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? q("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),@@ -74493,12 +74504,12 @@ function jMe({ state: e, size: t = "md", shape: n = "pill" }) {})});}-function J2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, I.jsx)(Ome, {+function q2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+ return /* @__PURE__ */ (0, I.jsx)(Ame, {ref: i,...a,className: (t) => q("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(jMe, {+ children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(NMe, {state: e,size: n,shape: r@@ -74509,12 +74520,12 @@ function J2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:});}// src/react/cover-crop/cover-crop.ts-var MMe = "/api/cover-crop", NMe = (e, t) => V(MMe, {+var PMe = "/api/cover-crop", FMe = (e, t) => H(PMe, {code: e,box: t});// src/react/cover-crop/cover-crop-page.tsx-function Y2({ className: e }) {+function J2({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -74527,7 +74538,7 @@ function Y2({ className: e }) {children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-crop" })});}-function PMe({ code: e, coverUrl: t, box: n, onSaved: r }) {+function IMe({ code: e, coverUrl: t, box: n, onSaved: r }) {let [i, a] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -74537,13 +74548,13 @@ function PMe({ code: e, coverUrl: t, box: n, onSaved: r }) {title: "裁剪封面:框出正封那一块",onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, I.jsx)(Y2, { className: "size-3.75" })- }), /* @__PURE__ */ (0, I.jsx)(yV, {+ children: /* @__PURE__ */ (0, I.jsx)(J2, { className: "size-3.75" })+ }), /* @__PURE__ */ (0, I.jsx)(_V, {isOpen: i,onOpenChange: a,width: "cover-crop",label: "裁剪封面",- children: /* @__PURE__ */ (0, I.jsx)(FMe, {+ children: /* @__PURE__ */ (0, I.jsx)(LMe, {code: e,coverUrl: t,box: n,@@ -74552,9 +74563,9 @@ function PMe({ code: e, coverUrl: t, box: n, onSaved: r }) {})})] });}-function FMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(null), [l, u] = (0, F.useState)(!0), d = ZV(), f = Ft({- mutationFn: (t) => NMe(e, t),+function LMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+ let [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(null), [l, u] = (0, F.useState)(!0), d = YV(), f = Pt({+ mutationFn: (t) => FMe(e, t),onSuccess: (e) => {i(), r(e.poster_box);}@@ -74566,19 +74577,19 @@ function FMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : fDe(e, to);- c(tQ(t, e, null));+ } : hDe(e, eo);+ c(QZ(t, e, null));}let m = f.isPending;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, I.jsx)(bV, { children: /* @__PURE__ */ (0, I.jsx)(Y2, { className: "size-6" }) }),+ /* @__PURE__ */ (0, I.jsx)(vV, { children: /* @__PURE__ */ (0, I.jsx)(J2, { className: "size-6" }) }),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [- /* @__PURE__ */ (0, I.jsx)($L, {+ /* @__PURE__ */ (0, I.jsx)(ZL, {slot: "title",className: "text-title-3-semibold text-text-primary",children: "裁剪封面"@@ -74587,14 +74598,14 @@ function FMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "text-body-2-regular text-text-secondary",children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]}),- f.error ? /* @__PURE__ */ (0, I.jsx)(xV, {+ f.error ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",- children: cr(f.error)+ children: sr(f.error)}) : null]}),- /* @__PURE__ */ (0, I.jsx)(yL, {- icon: IB,+ /* @__PURE__ */ (0, I.jsx)(_L, {+ icon: PB,size: "small","aria-label": "关闭",onClick: i@@ -74604,24 +74615,24 @@ function FMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, I.jsx)("div", {ref: d,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: /* @__PURE__ */ (0, I.jsx)(oQ, {+ children: /* @__PURE__ */ (0, I.jsx)(rQ, {src: t,- aspect: l ? to : null,+ aspect: l ? eo : null,box: s,size: a,label: `${e} 的正封取景框`,onSize: (e) => {- $Z(e) && p(e);+ XZ(e) && p(e);},onBox: c})}),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, I.jsx)(J2, {+ children: [/* @__PURE__ */ (0, I.jsx)(q2, {isSelected: l,onChange: (e) => {- u(e), e && s && a && c(tQ(s, a, to));+ u(e), e && s && a && c(QZ(s, a, eo));},children: /* @__PURE__ */ (0, I.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -74631,14 +74642,14 @@ function FMe({ 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, I.jsx)(J, {variant: "secondary",- ...EV(m),+ ...wV(m),onClick: () => {m || f.mutate(null);},children: "恢复默认"}), /* @__PURE__ */ (0, I.jsx)(J, {disabled: !s || !a,- ...EV(m),+ ...wV(m),onClick: () => {s && !m && f.mutate(s);},@@ -74649,19 +74660,19 @@ function FMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {] });}// src/react/item-detail/item-detail-page.tsx-var X2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var Y2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: R(e) }-}), Z2 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+ dangerouslySetInnerHTML: { __html: z(e) }+}), X2 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }-}), Q2 = (e) => Number(e) > 0 ? Yn(Number(e)) : "大小未知";-function IMe(e) {- let { queue: t, actions: n } = e, r = Pt({+}), Z2 = (e) => Number(e) > 0 ? Jn(Number(e)) : "大小未知";+function RMe(e) {+ let { queue: t, actions: n } = e, r = Nt({queryKey: t ? CP(t) : ["item-queue", "none"],queryFn: ({ signal: n }) => MP(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? FP(i, e.id) : t ? null : e.id, o = Pt({+ }), i = t && r.data || null, a = i ? FP(i, e.id) : t ? null : e.id, o = Nt({queryKey: SP(a ?? 0),queryFn: ({ signal: e }) => jP(a, e),enabled: a != null@@ -74674,10 +74685,10 @@ function IMe(e) {children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, I.jsx)($2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {+ children: [/* @__PURE__ */ (0, I.jsx)(Q2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, I.jsx)(zG, {- message: bn(e),+ children: e ? /* @__PURE__ */ (0, I.jsx)(FG, {+ message: yn(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();}@@ -74686,27 +74697,27 @@ function IMe(e) {})});}- return /* @__PURE__ */ (0, I.jsx)(LMe, {+ return /* @__PURE__ */ (0, I.jsx)(zMe, {...e,item: Rue(o.data, i),queue: i}, o.data.id);}-var $2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {+var Q2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",title: "关闭","aria-label": "关闭",onClick: e,- dangerouslySetInnerHTML: { __html: R("x") }+ dangerouslySetInnerHTML: { __html: z("x") }});-function LMe(e) {- let { item: t, queue: n, actions: r, helpers: i } = e, a = QMe(t, r, i.tagLabel), o = (0, F.useRef)(t);+function zMe(e) {+ let { item: t, queue: n, actions: r, helpers: i } = e, a = eNe(t, r, i.tagLabel), o = (0, F.useRef)(t);(0, F.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, F.useEffect)(() => {- n?.kind === "playlist" && V(wP, {+ n?.kind === "playlist" && H(wP, {action: "progress",id: n.playlistId,asset_id: t.id@@ -74717,7 +74728,7 @@ function LMe(e) {"data-stage-grid": "","data-with-queue": n ? "" : void 0,"data-item-detail": "",- children: [/* @__PURE__ */ (0, I.jsx)(RMe, {+ children: [/* @__PURE__ */ (0, I.jsx)(BMe, {item: t,gate: s,helpers: i,@@ -74730,22 +74741,22 @@ function LMe(e) {autoplay: !0}, c.id);}- }), /* @__PURE__ */ (0, I.jsx)(UMe, {+ }), /* @__PURE__ */ (0, I.jsx)(GMe, {item: t,queue: n,write: a,helpers: i,actions: r})]- }), /* @__PURE__ */ (0, I.jsx)(E2, {+ }), /* @__PURE__ */ (0, I.jsx)(T2, {queueCards: n?.kind === "parts" || n?.kind === "editions" ? n.items.length : void 0,- queue: n ? /* @__PURE__ */ (0, I.jsx)(BMe, {+ queue: n ? /* @__PURE__ */ (0, I.jsx)(HMe, {queue: n,itemId: t.id,helpers: i,actions: r}) : null,- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)(ZMe, {+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)($Me, {...e,item: n ? {...t,@@ -74754,12 +74765,12 @@ function LMe(e) {}) : null})] });}-function RMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {- let [o, s] = (0, F.useState)(t ? "" : "auto"), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(-2), d = (0, F.useRef)(!1), f = Pt({- queryKey: H2(e.code || ""),+function BMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {+ let [o, s] = (0, F.useState)(t ? "" : "auto"), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(-2), d = (0, F.useRef)(!1), f = Nt({+ queryKey: V2(e.code || ""),queryFn: ({ signal: t }) => {let n = d.current;- return d.current = !1, U2(e.code, t, n);+ return d.current = !1, H2(e.code, t, n);},staleTime: 216e5,enabled: !!e.is_jav && !!e.code && !e.sample_images?.length@@ -74804,7 +74815,7 @@ function RMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a"data-item-gallery": h ? "" : void 0,"data-item-picture": l === -2 ? void 0 : "",children: [- /* @__PURE__ */ (0, I.jsx)($2, { onClose: r.close }),+ /* @__PURE__ */ (0, I.jsx)(Q2, { onClose: r.close }),/* @__PURE__ */ (0, I.jsxs)("div", {"data-player-toolbar": "",children: [@@ -74814,21 +74825,21 @@ function RMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a"data-jav-preview-toggle": "","aria-pressed": l !== -2,onClick: () => g(l === -2 ? m[0].index : -2),- children: [/* @__PURE__ */ (0, I.jsx)(X2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]+ children: [/* @__PURE__ */ (0, I.jsx)(Y2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]}) : null,/* @__PURE__ */ (0, I.jsx)("span", { "data-player-net-slot": "" })]}),- h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(V2, {+ h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(B2, {item: e,image: l,source: p.find((e) => e.index === l)?.source- }, e.id), /* @__PURE__ */ (0, I.jsx)(D2, {+ }, e.id), /* @__PURE__ */ (0, I.jsx)(E2, {items: m,position: Math.max(0, m.findIndex((e) => e.index === l)),onSelect: g,below: !0,- renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(V2, {+ renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(B2, {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,@@ -74844,8 +74855,8 @@ function RMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aclassName: "relative block h-12 w-20 skeleton-sheen"}) : /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...EV(f.isFetching),- title: f.data?.message || bn(f.error),+ ...wV(f.isFetching),+ title: f.data?.message || yn(f.error),"aria-label": "立即重试样图",onClick: () => {d.current = !0, f.refetch();@@ -74853,7 +74864,7 @@ function RMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: "立即重试"})}) : null,- t === "offline" ? /* @__PURE__ */ (0, I.jsx)(zMe, {+ t === "offline" ? /* @__PURE__ */ (0, I.jsx)(VMe, {item: e,badge: y,helpers: n,@@ -74864,7 +74875,7 @@ function RMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: [/* @__PURE__ */ (0, I.jsx)("b", { children: "ISO 原盘" }),/* @__PURE__ */ (0, I.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),- /* @__PURE__ */ (0, I.jsx)(q2, {+ /* @__PURE__ */ (0, I.jsx)(K2, {id: e.id,onOpened: () => r.toast("已请求打开本地播放器")}, e.id)@@ -74874,7 +74885,7 @@ function RMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: arole: "status","data-item-gate": "online",children: [- /* @__PURE__ */ (0, I.jsx)(Z2, { html: y }),+ /* @__PURE__ */ (0, I.jsx)(X2, { html: y }),/* @__PURE__ */ (0, I.jsx)("b", { children: "在线作品" }),/* @__PURE__ */ (0, I.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),/* @__PURE__ */ (0, I.jsx)("button", {@@ -74889,12 +74900,12 @@ function RMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aid: "gate","data-item-gate": "metered",onClick: () => s("clicked"),- children: [/* @__PURE__ */ (0, I.jsx)(Z2, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", Q2(e.size)] })]+ children: [/* @__PURE__ */ (0, I.jsx)(X2, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", Z2(e.size)] })]}) : null]});}-function zMe({ item: e, badge: t, helpers: n, actions: r }) {+function VMe({ item: e, badge: t, helpers: n, actions: r }) {let [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = async () => {a(!0);let t = await r.checkSource(e.location || "").catch(() => !1);@@ -74905,7 +74916,7 @@ function zMe({ item: e, badge: t, helpers: n, actions: r }) {role: "status","data-item-gate": "offline",children: [- /* @__PURE__ */ (0, I.jsx)(Z2, { html: t }),+ /* @__PURE__ */ (0, I.jsx)(X2, { html: t }),/* @__PURE__ */ (0, I.jsx)("b", { children: "媒体目录无法访问" }),/* @__PURE__ */ (0, I.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),/* @__PURE__ */ (0, I.jsx)("button", {@@ -74919,8 +74930,8 @@ function zMe({ item: e, badge: t, helpers: n, actions: r }) {]});}-function BMe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = Wue(e), a = (0, F.useRef)(null), o = HMe(e, t, r), s = (0, F.useRef)(o);+function HMe({ queue: e, itemId: t, helpers: n, actions: r }) {+ let i = Wue(e), a = (0, F.useRef)(null), o = WMe(e, t, r), s = (0, F.useRef)(o);s.current = o;let c = (0, F.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -74928,26 +74939,26 @@ function BMe({ 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 = VMe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {+ }, [n, e.kind]), l = UMe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-save-mix": "",title: "保存为播放列表","aria-label": "保存为播放列表",onClick: l,- dangerouslySetInnerHTML: { __html: R("playlist") }+ dangerouslySetInnerHTML: { __html: z("playlist") }}) : e.kind === "playlist" ? /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-edit-playlist": "",title: "编辑播放列表","aria-label": "编辑播放列表",onClick: r.editPlaylist,- dangerouslySetInnerHTML: { __html: R("playlist") }+ dangerouslySetInnerHTML: { __html: z("playlist") }}) : null, d = {kind: e.kind,seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, I.jsx)(NK, {+ return /* @__PURE__ */ (0, I.jsx)(kK, {kind: e.kind,title: i.title,summary: i.summary,@@ -74960,7 +74971,7 @@ function BMe({ queue: e, itemId: t, helpers: n, actions: r }) {"data-queue-edition": "",children: i.edition_label}) : null, s = e.kind === "playlist" && PP(i);- return /* @__PURE__ */ (0, I.jsxs)(PK, {+ return /* @__PURE__ */ (0, I.jsxs)(AK, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -74970,25 +74981,25 @@ function BMe({ queue: e, itemId: t, helpers: n, actions: r }) {onClick: () => {s || r.openQueueItem(d, i.id);},- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Z2, { html: Do(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(X2, { html: Eo(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {className: "mono","data-mix-item-duration": "",- children: qn(i.duration)+ children: Kn(i.duration)})] }),- lead: /* @__PURE__ */ (0, I.jsx)(Z2, { html: Ao(i) }),+ lead: /* @__PURE__ */ (0, I.jsx)(X2, { html: ko(i) }),after: e.kind === "playlist" ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-queue-edit": "",children: [/* @__PURE__ */ (0, I.jsx)("i", {"data-queue-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(X2, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, I.jsx)(Y2, { name: "grip-vertical" })}), /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-queue-remove": i.id,title: "移出播放列表","aria-label": "移出播放列表",onClick: () => o.remove(i.id),- children: /* @__PURE__ */ (0, I.jsx)(X2, { name: "x" })+ children: /* @__PURE__ */ (0, I.jsx)(Y2, { name: "x" })})]}) : null,children: [/* @__PURE__ */ (0, I.jsxs)("span", {@@ -74999,14 +75010,14 @@ function BMe({ queue: e, itemId: t, helpers: n, actions: r }) {})]}), /* @__PURE__ */ (0, I.jsx)("span", {"data-truncate-end": "",- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? WP(i.part_label) : jo(i, n.tagLabel)+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? WP(i.part_label) : Ao(i, n.tagLabel)})]}, i.id);})});}-function VMe(e, t) {- let n = Ft({ mutationFn: (t) => V(wP, {+function UMe(e, t) {+ let n = Pt({ mutationFn: (t) => H(wP, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -75019,14 +75030,14 @@ function VMe(e, t) {save: (e) => n.mutateAsync(e)});}-function HMe(e, t, n) {+function WMe(e, t, n) {let r = CP({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (H.setQueryData(r, NP(e)), e), a = (t) => V(wP, {+ }), i = (e) => (U.setQueryData(r, NP(e)), e), a = (t) => H(wP, {id: e.playlistId,...t- }).then((e) => e.playlist), o = Ft({+ }).then((e) => e.playlist), o = Pt({mutationFn: (e) => a({action: "reorder",asset_ids: e@@ -75051,7 +75062,7 @@ function HMe(e, t, n) {},remove: (e) => {let r = s;- cl({+ sl({title: "移出播放列表",body: "这个视频将从播放列表移除,视频文件保留。",confirmLabel: "移出播放列表",@@ -75082,7 +75093,7 @@ function HMe(e, t, n) {}};}-function UMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {+function GMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("div", {"data-stage-side": "",@@ -75090,7 +75101,7 @@ function UMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-side-content": "",children: [- /* @__PURE__ */ (0, I.jsx)(WMe, {+ /* @__PURE__ */ (0, I.jsx)(KMe, {item: e,queue: t,helpers: r,@@ -75102,7 +75113,7 @@ function UMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-live": "polite",children: n.sourceState}),- /* @__PURE__ */ (0, I.jsx)(KMe, {+ /* @__PURE__ */ (0, I.jsx)(JMe, {item: e,write: n}),@@ -75113,7 +75124,7 @@ function UMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: [e.width && e.height ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, I.jsx)(X2, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [+ children: [/* @__PURE__ */ (0, I.jsx)(Y2, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.width,"×",e.height@@ -75121,11 +75132,11 @@ function UMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null,/* @__PURE__ */ (0, I.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, I.jsx)(X2, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: Q2(e.size) })]+ children: [/* @__PURE__ */ (0, I.jsx)(Y2, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: Z2(e.size) })]}),e.release_date ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, I.jsx)(X2, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]+ children: [/* @__PURE__ */ (0, I.jsx)(Y2, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]}) : null,e.region_label ? /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",@@ -75133,32 +75144,32 @@ function UMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"data-open-region": e.region || "",title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",onClick: () => i.openRegion(e.region || ""),- children: [/* @__PURE__ */ (0, I.jsx)(X2, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]+ children: [/* @__PURE__ */ (0, I.jsx)(Y2, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]}) : null]}),- (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(q2, {+ (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(K2, {id: e.id,onOpened: () => i.toast("已请求打开本地播放器")}, e.id) : null,- /* @__PURE__ */ (0, I.jsx)(qMe, {+ /* @__PURE__ */ (0, I.jsx)(YMe, {item: e,helpers: r,actions: i}),- /* @__PURE__ */ (0, I.jsx)(JMe, {+ /* @__PURE__ */ (0, I.jsx)(XMe, {item: e,write: n,helpers: r,actions: i}),- /* @__PURE__ */ (0, I.jsx)(GK, {- assetIds: WK([e], r.javImage()),+ /* @__PURE__ */ (0, I.jsx)(VK, {+ assetIds: BK([e], r.javImage()),onComplete: () => {- H.invalidateQueries({ queryKey: SP(e.id) });+ U.invalidateQueries({ queryKey: SP(e.id) });}}),- /* @__PURE__ */ (0, I.jsx)(YMe, { item: e }),+ /* @__PURE__ */ (0, I.jsx)(ZMe, { item: e }),/* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-actions": "","data-item-feedback": "",@@ -75172,7 +75183,7 @@ function UMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.liked,...o("like"),onClick: () => n.preference({ liked: !e.liked }),- children: /* @__PURE__ */ (0, I.jsx)(X2, { name: "thumbs-up" })+ children: /* @__PURE__ */ (0, I.jsx)(Y2, { name: "thumbs-up" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75184,7 +75195,7 @@ function UMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-controls": "preferencePanel","data-has-reason": String(!!e.like_reason),onClick: () => c((e) => !e),- children: /* @__PURE__ */ (0, I.jsx)(X2, { name: "notebook-pen" })+ children: /* @__PURE__ */ (0, I.jsx)(Y2, { name: "notebook-pen" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75195,7 +75206,7 @@ function UMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "dislike",...o("dislike"),onClick: () => n.feedback("dislike"),- children: /* @__PURE__ */ (0, I.jsx)(X2, { name: "thumbs-down" })+ children: /* @__PURE__ */ (0, I.jsx)(Y2, { name: "thumbs-down" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75206,7 +75217,7 @@ function UMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "seen",...o("seen"),onClick: () => n.feedback("seen"),- children: /* @__PURE__ */ (0, I.jsx)(X2, { name: "eye" })+ children: /* @__PURE__ */ (0, I.jsx)(Y2, { name: "eye" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75217,7 +75228,7 @@ function UMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.watch_later,...o("later"),onClick: n.later,- children: /* @__PURE__ */ (0, I.jsx)(X2, { name: e.watch_later ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, I.jsx)(Y2, { name: e.watch_later ? "check" : "bookmark-plus" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75226,7 +75237,7 @@ function UMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-label": "加入播放列表",title: "加入播放列表",onClick: () => i.addToPlaylist(e),- children: /* @__PURE__ */ (0, I.jsx)(X2, { name: "playlist" })+ children: /* @__PURE__ */ (0, I.jsx)(Y2, { name: "playlist" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75237,7 +75248,7 @@ function UMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.better_version,...o("quality"),onClick: n.quality,- children: /* @__PURE__ */ (0, I.jsx)(X2, { name: "sparkles" })+ children: /* @__PURE__ */ (0, I.jsx)(Y2, { name: "sparkles" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75248,11 +75259,11 @@ function UMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.disposal === "trash",...o("dispose"),onClick: () => n.feedback("dispose"),- children: /* @__PURE__ */ (0, I.jsx)(X2, { name: "trash" })+ children: /* @__PURE__ */ (0, I.jsx)(Y2, { name: "trash" })})]}),- /* @__PURE__ */ (0, I.jsx)(XMe, {+ /* @__PURE__ */ (0, I.jsx)(QMe, {item: e,open: s,write: n@@ -75263,7 +75274,7 @@ function UMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {...o("o"),onClick: () => n.feedback("o"),children: [- /* @__PURE__ */ (0, I.jsx)(X2, { name: "sperm" }),+ /* @__PURE__ */ (0, I.jsx)(Y2, { name: "sperm" }),/* @__PURE__ */ (0, I.jsx)("span", { children: "记一次高潮" }),/* @__PURE__ */ (0, I.jsx)("b", {className: "mono",@@ -75276,8 +75287,8 @@ function UMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {})});}-function WMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {- let { text: a, expanded: o, foldable: s, toggle: c } = B2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Gue(e, t);+function KMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {+ let { text: a, expanded: o, foldable: s, toggle: c } = z2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Gue(e, t);return /* @__PURE__ */ (0, I.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, I.jsxs)("div", {@@ -75304,23 +75315,23 @@ function WMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {"aria-label": o ? "收起标题" : "展开标题",title: o ? "收起标题" : "展开完整标题",onClick: c,- children: /* @__PURE__ */ (0, I.jsx)(WH, {})+ children: /* @__PURE__ */ (0, I.jsx)(HH, {})}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, I.jsx)("span", {"data-cover-crop-host": "",- children: /* @__PURE__ */ (0, I.jsx)(PMe, {+ children: /* @__PURE__ */ (0, I.jsx)(IMe, {code: e.cover_key || e.code || "",- coverUrl: co(e),+ coverUrl: so(e),box: e.poster_box || null,onSaved: (t) => {- H.invalidateQueries({+ U.invalidateQueries({queryKey: SP(e.id),exact: !0}), vP((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,- e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(GMe, {+ e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(qMe, {id: e.id,actions: r,onStatus: i@@ -75330,7 +75341,7 @@ function WMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {})});}-function GMe({ id: e, actions: t, onStatus: n }) {+function qMe({ id: e, actions: t, onStatus: n }) {let [r, i] = (0, F.useState)(""), a = async () => {r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));}, o = async () => {@@ -75349,7 +75360,7 @@ function GMe({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void a(),- dangerouslySetInnerHTML: { __html: r === "reveal" ? zs("正在定位") : R("folder-open") }+ dangerouslySetInnerHTML: { __html: r === "reveal" ? Rs("正在定位") : z("folder-open") }}), /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-sync": e,@@ -75360,10 +75371,10 @@ function GMe({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void o(),- children: /* @__PURE__ */ (0, I.jsx)(X2, { name: "folder-sync" })+ children: /* @__PURE__ */ (0, I.jsx)(Y2, { name: "folder-sync" })})] });}-function KMe({ item: e, write: t }) {+function JMe({ item: e, write: t }) {let n = bP(e.rating);return /* @__PURE__ */ (0, I.jsxs)("div", {id: "detailRating",@@ -75371,7 +75382,7 @@ function KMe({ item: e, write: t }) {"data-item-rating": "","aria-label": "评分","data-value": yP(e.rating),- children: [/* @__PURE__ */ (0, I.jsx)(iY, {+ children: [/* @__PURE__ */ (0, I.jsx)(eY, {value: n,onRate: (e) => t.rate(e),busyStar: [@@ -75389,10 +75400,10 @@ function KMe({ item: e, write: t }) {})]});}-function qMe({ item: e, actions: t }) {+function YMe({ item: e, actions: t }) {let n = (0, F.useMemo)(() => zue(e), [e]), [r, i] = (0, F.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r;- return /* @__PURE__ */ (0, I.jsx)(R2, {+ return /* @__PURE__ */ (0, I.jsx)(L2, {kind: e,person: n,onOpen: t.openEntity,@@ -75424,19 +75435,19 @@ function qMe({ item: e, actions: t }) {onClick: t.openUnowned,children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-id-face": "",- children: /* @__PURE__ */ (0, I.jsx)(X2, { name: "user-round" })+ children: /* @__PURE__ */ (0, I.jsx)(Y2, { name: "user-round" })}), /* @__PURE__ */ (0, I.jsx)("span", {"data-id-name": "",children: "未归属"})]})})]- }, "unowned") : s(mo(e), "performer", n.cast, a && !r ? /* @__PURE__ */ (0, I.jsxs)(J, {+ }, "unowned") : s(po(e), "performer", n.cast, a && !r ? /* @__PURE__ */ (0, I.jsxs)(J, {variant: "secondary",size: "small",id: "castMore","data-cast-more": "",- trailingIcon: AB,+ trailingIcon: OB,"aria-expanded": !1,onClick: () => i(!0),children: [@@ -75455,16 +75466,16 @@ function qMe({ item: e, actions: t }) {children: [c.length ? /* @__PURE__ */ (0, I.jsx)("div", {"data-identity-primary": "",children: c- }) : null, /* @__PURE__ */ (0, I.jsx)(z2, {+ }) : null, /* @__PURE__ */ (0, I.jsx)(R2, {people: n.series,onOpen: t.openEntity})]});}-function JMe({ item: e, write: t, helpers: n, actions: r }) {+function XMe({ item: e, write: t, helpers: n, actions: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-item-tags": "",- children: /* @__PURE__ */ (0, I.jsx)(A2, {+ children: /* @__PURE__ */ (0, I.jsx)(k2, {id: "detailTags",tags: Bue(e, n),candidates: n.tagCandidates(),@@ -75477,7 +75488,7 @@ function JMe({ item: e, write: t, helpers: n, actions: r }) {})});}-function YMe({ item: e }) {+function ZMe({ item: e }) {let t = Yue(e);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-item-trace": "",@@ -75512,7 +75523,7 @@ function YMe({ item: e }) {})]});}-function XMe({ item: e, open: t, write: n }) {+function QMe({ item: e, open: t, write: n }) {let [r, i] = (0, F.useState)(e.like_reason || ""), a = (0, F.useRef)(null);(0, F.useEffect)(() => {t && a.current?.focus();@@ -75546,25 +75557,25 @@ function XMe({ item: e, open: t, write: n }) {"aria-label": "提交喜爱理由",...n.busyAttrs("preference"),onClick: () => n.preference({ reason: r }),- dangerouslySetInnerHTML: { __html: o ? `${zs("正在提交喜爱理由")}<span>提交中</span>` : "<span>提交</span>" }+ dangerouslySetInnerHTML: { __html: o ? `${Rs("正在提交喜爱理由")}<span>提交中</span>` : "<span>提交</span>" }})]})]});}-function ZMe(e) {- let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Pt({+function $Me(e) {+ let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Nt({queryKey: Fue(t.id, n),- queryFn: async ({ signal: e }) => (await B(Lue(t.id, n), e)).items || []+ queryFn: async ({ signal: e }) => (await V(Lue(t.id, n), e)).items || []}), [o] = (0, F.useState)(() => r.relatedSkeletonHtml());- return /* @__PURE__ */ (0, I.jsx)(T2, {+ return /* @__PURE__ */ (0, I.jsx)(w2, {wireDrag: r.wireDrag,busy: a.isPending,empty: a.data?.length === 0,- error: a.isError ? `读取接着看失败:${bn(a.error)}` : void 0,+ error: a.isError ? `读取接着看失败:${yn(a.error)}` : void 0,onRetry: () => {a.refetch();},- children: a.data ? /* @__PURE__ */ (0, I.jsx)(pY, {+ children: a.data ? /* @__PURE__ */ (0, I.jsx)(lY, {mode: "items",variant: "next",items: a.data,@@ -75577,19 +75588,19 @@ function ZMe(e) {revision: 0,wireDrag: r.wireDrag,skeletonHtml: () => ""- }) : /* @__PURE__ */ (0, I.jsx)(Z2, { html: o })+ }) : /* @__PURE__ */ (0, I.jsx)(X2, { html: o })});}-function QMe(e, t, n) {+function eNe(e, t, n) {let r = e.id, i = SP(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;- }), f = () => H.getQueryData(i) || e, p = (e) => {+ }), f = () => U.getQueryData(i) || e, p = (e) => {let t = typeof e == "function" ? e(f()) : {...f(),...e};- H.setQueryData(i, t);+ U.setQueryData(i, t);let n = {feedback: t.feedback,disposal: t.disposal,@@ -75598,10 +75609,10 @@ function QMe(e, t, n) {o_count: t.o_count};return _P(r, n), t;- }, m = (e, t) => V(e, {+ }, m = (e, t) => H(e, {id: r,...t- }), h = Ft({+ }), h = Pt({mutationFn: ({ run: e }) => e(),onError: (e, { action: n }) => t.failure(n, e),onSettled: (e, t, { name: n }) => d(n, !1)@@ -75721,11 +75732,11 @@ function QMe(e, t, n) {};}// src/react/publication-cache.ts-var e4 = 864e5, t4 = (e) => {+var $2 = 864e5, e4 = (e) => {let t = new Date(e);return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());};-function n4(e) {+function t4(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));@@ -75733,25 +75744,25 @@ function n4(e) {let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();return Date.UTC(n, r + 1, Math.min(i, o));}-function $Me(e, t = Date.now()) {- let n = n4(e);- return n !== void 0 && t4(t) > n ? Infinity : e4;+function tNe(e, t = Date.now()) {+ let n = t4(e);+ return n !== void 0 && e4(t) > n ? Infinity : $2;}-function r4(e, t, n = Date.now()) {- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : $Me(t, n) === Infinity ? t4(e) > n4(t) : n - e < e4;+function n4(e, t, n = Date.now()) {+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : tNe(t, n) === Infinity ? e4(e) > t4(t) : n - e < $2;}// src/react/wants/resource-cache.ts-var i4 = "peach.want-resources.v2";-function a4(e) {+var r4 = "peach.want-resources.v2";+function i4(e) {return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);}-function o4(e, t, n) {- return !!e && !e.cache_stale && (e.state === "error" || !a4(e) ? Date.now() - t < 6e4 : r4(t, n));+function a4(e, t, n) {+ return !!e && !e.cache_stale && (e.state === "error" || !i4(e) ? Date.now() - t < 6e4 : n4(t, n));}-function s4() {+function o4() {try {- let e = JSON.parse(localStorage.getItem(i4) || "[]");- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && a4(e.result) && e.result.items.every((e) => e && [+ let e = JSON.parse(localStorage.getItem(r4) || "[]");+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && i4(e.result) && e.result.items.every((e) => e && ["magnet","ed2k","url"@@ -75760,23 +75771,23 @@ function s4() {return [];}}-function eNe(e, t) {- let n = s4().find((t) => t.code === e);- return n && r4(n.saved, t) ? n : void 0;+function nNe(e, t) {+ let n = o4().find((t) => t.code === e);+ return n && n4(n.saved, t) ? n : void 0;}-function tNe(e) {- let t = new Map(s4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();+function rNe(e) {+ let t = new Map(o4().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 && r4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));+ e && n4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));}return n;}-function nNe(e, t) {- if (t.state === "ready" && a4(t)) try {- let n = s4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");- localStorage.setItem(i4, JSON.stringify([{+function iNe(e, t) {+ if (t.state === "ready" && i4(t)) try {+ let n = o4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");+ localStorage.setItem(r4, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -75784,15 +75795,15 @@ function nNe(e, t) {} catch {}}// src/react/wants/resource-display.ts-function rNe(e) {+function aNe(e) {let t = (e ?? "").trim(), n = /^([\d,]+)\s*B$/i.exec(t);- return /^[\d,.]+$/.test(t) ? "大小未知" : n ? Yn(Number(n[1].replaceAll(",", ""))) : e || "大小未知";+ return /^[\d,.]+$/.test(t) ? "大小未知" : n ? Jn(Number(n[1].replaceAll(",", ""))) : e || "大小未知";}-function iNe(e) {+function oNe(e) {return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;}// src/react/wants/want-magnets.tsx-function c4({ icon: e, children: t, title: n }) {+function s4({ icon: e, children: t, title: n }) {return /* @__PURE__ */ (0, I.jsxs)("span", {title: n,className: "inline-flex items-center gap-1",@@ -75802,8 +75813,8 @@ function c4({ icon: e, children: t, title: n }) {}), t]});}-function l4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {- let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = EH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => eNe(h, e.release_date), [h, e.release_date]);+function c4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {+ let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = wH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => nNe(h, e.release_date), [h, e.release_date]);(0, F.useEffect)(() => {if (!s.current || c) return;let e = new IntersectionObserver((t) => {@@ -75811,7 +75822,7 @@ function l4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}, { rootMargin: "100px" });return e.observe(s.current), () => e.disconnect();}, [c]);- let _ = Pt({+ let _ = Nt({queryKey: o ? ["work-resources",o,@@ -75822,23 +75833,23 @@ function l4({ 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", nNe(h, i), i;+ let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await V(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);+ return m.current = n && i.state === "busy", iNe(h, i), i;},initialData: g?.result,initialDataUpdatedAt: g?.saved,enabled: c,retry: !1,- staleTime: (t) => o4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,+ staleTime: (t) => a4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,gcTime: 864e5,- refetchOnMount: (t) => !o4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",+ refetchOnMount: (t) => !a4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",refetchOnWindowFocus: !1,refetchInterval: (e) => e.state.data?.state === "busy" && 3e3});(0, F.useEffect)(() => {_.data?.source_url && a?.(_.data.source_url);}, [_.data?.source_url, a]), (0, F.useEffect)(() => {- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && iye(e.id, _.data.items.some((e) => e.protocol === "magnet"));+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && oye(e.id, _.data.items.some((e) => e.protocol === "magnet"));}, [_.data,o,@@ -75846,7 +75857,7 @@ function l4({ 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(aW, {+ let n = await H(rW, {magnet: r.uri,provider: v.key,target: v.target,@@ -75857,11 +75868,11 @@ function l4({ 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: oW });+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: iW });});}, b = (e) => {f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));- }, x = _.isFetching || _.data?.state === "busy", S = _.error ? cr(_.error) : _.data?.error;+ }, x = _.isFetching || _.data?.state === "busy", S = _.error ? sr(_.error) : _.data?.error;return /* @__PURE__ */ (0, I.jsxs)("div", {ref: s,"data-want-magnets": "",@@ -75875,39 +75886,39 @@ function l4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}), /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: tV,- ...EV(x),+ leadingIcon: $B,+ ...wV(x),onClick: () => {x || (m.current = !0, _.refetch());},children: "重新查询"})]}),- x ? /* @__PURE__ */ (0, I.jsx)(RH, { label: "正在查找资源链接" }) : null,- S ? /* @__PURE__ */ (0, I.jsx)(xV, {+ x ? /* @__PURE__ */ (0, I.jsx)(IH, { label: "正在查找资源链接" }) : null,+ S ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",title: "资源链接未取得",children: S}) : null,- _.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(xV, {+ _.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(yV, {tone: "neutral",- children: iNe(e)+ children: oNe(e)}, e)),- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(jL, {+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(kL, {variant: "secondary",size: "small",className: "self-start",- trailingIcon: BB,+ trailingIcon: RB,href: _.data.source_url,target: "_blank",rel: "noopener noreferrer",children: "查看来源页"}) : null,- _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, I.jsx)(xV, {+ _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "neutral",children: "暂未找到资源链接。"}) : null,- f.error ? /* @__PURE__ */ (0, I.jsx)(xV, {+ f.error ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",title: "操作未完成",children: f.error@@ -75922,7 +75933,7 @@ function l4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcclassName: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(rW, {+ children: [/* @__PURE__ */ (0, I.jsx)(tW, {variant: "caption",color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"@@ -75936,26 +75947,26 @@ function l4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-facts": "",className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",children: [- /* @__PURE__ */ (0, I.jsx)(c4, {- icon: cge,+ /* @__PURE__ */ (0, I.jsx)(s4, {+ icon: uge,children: e.source}),- /* @__PURE__ */ (0, I.jsx)(c4, {- icon: qB,+ /* @__PURE__ */ (0, I.jsx)(s4, {+ icon: GB,title: e.size ? `来源大小:${e.size}` : void 0,- children: rNe(e.size)+ children: aNe(e.size)}),- e.files ? /* @__PURE__ */ (0, I.jsx)(c4, {- icon: Zhe,+ e.files ? /* @__PURE__ */ (0, I.jsx)(s4, {+ icon: $he,children: e.files.replaceAll("個", "个")}) : null,- /* @__PURE__ */ (0, I.jsx)(c4, {- icon: zhe,+ /* @__PURE__ */ (0, I.jsx)(s4, {+ icon: Vhe,title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",children: e.date ? e.date.slice(0, 10) : "日期未知"}),- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(c4, {- icon: eV,+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(s4, {+ icon: QB,children: e}, e))]@@ -75964,11 +75975,11 @@ function l4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-actions": "",className: "flex flex-wrap gap-2",children: [- /* @__PURE__ */ (0, I.jsx)(jL, {+ /* @__PURE__ */ (0, I.jsx)(kL, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: BB,+ trailingIcon: RB,href: e.source_url,target: "_blank",rel: "noopener noreferrer",@@ -75977,18 +75988,18 @@ function l4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: Yhe,- ...EV(f.busy === `copy:${e.id}`),+ leadingIcon: Zhe,+ ...wV(f.busy === `copy:${e.id}`),onClick: () => b(e),children: "复制链接"}),e.protocol === "magnet" ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "primary",size: "small",- leadingIcon: v ? $H(v.key) : Whe,+ leadingIcon: v ? ZH(v.key) : Khe,title: v ? `下载到 ${v.label}` : void 0,disabled: t || !n?.available || !v || r,- ...EV(f.busy === e.id),+ ...wV(f.busy === e.id),onClick: () => y(e),children: r ? "已添加" : "添加下载"}) : null@@ -75999,7 +76010,7 @@ function l4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcreturn /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: e.slice(0, 3)- }), e.length > 3 ? /* @__PURE__ */ (0, I.jsx)(XH, {+ }), e.length > 3 ? /* @__PURE__ */ (0, I.jsx)(JH, {summary: `更多资源(${e.length - 3} 条)`,children: /* @__PURE__ */ (0, I.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",@@ -76011,10 +76022,10 @@ function l4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc});}// src/react/jav-detail/review-cache.ts-var u4 = "peach.jav-reviews.v2";-function d4() {+var l4 = "peach.jav-reviews.v2";+function u4() {try {- let e = localStorage.getItem(u4) || "[]";+ let e = localStorage.getItem(l4) || "[]";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")) : [];@@ -76022,21 +76033,21 @@ function d4() {return [];}}-function aNe(e, t) {+function sNe(e, t) {if (t.ok && !t.cache_stale) try {let n = Date.parse(t.checked_at || ""), r = [{code: e,saved: Number.isFinite(n) ? n : Date.now(),result: t- }, ...d4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);- i.length <= 2e6 && localStorage.setItem(u4, i);+ }, ...u4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);+ i.length <= 2e6 && localStorage.setItem(l4, i);} catch {}}-function oNe(e, t) {- let n = d4(), r = [], i = Infinity;+function cNe(e, t) {+ let n = u4(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);- if (!o || !r4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;+ if (!o || !n4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;}return r.length ? {pages: r,@@ -76044,16 +76055,16 @@ function oNe(e, t) {saved: i} : void 0;}-function sNe(e, t, n) {- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && r4(Date.parse(e.checked_at || "") || t, n));+function lNe(e, t, n) {+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && n4(Date.parse(e.checked_at || "") || t, n));}// src/react/jav-detail/jav-detail-page.tsx-function cNe(e) {- let t = (0, F.useRef)(!1), n = Pt({- queryKey: H2(e.code),+function uNe(e) {+ let t = (0, F.useRef)(!1), n = Nt({+ queryKey: V2(e.code),queryFn: ({ signal: n }) => {let r = t.current;- return t.current = !1, U2(e.code, n, r);+ return t.current = !1, H2(e.code, n, r);},staleTime: 216e5}), r = () => {@@ -76063,34 +76074,34 @@ function cNe(e) {"data-jav-detail": "","data-item-detail": "","data-stage-grid": "",- children: n.data ? /* @__PURE__ */ (0, I.jsx)(lNe, {+ children: n.data ? /* @__PURE__ */ (0, I.jsx)(dNe, {...e,item: n.data,retry: r,retrying: n.isFetching}, e.code) : /* @__PURE__ */ (0, I.jsxs)("div", {"data-jav-failure": "",- children: [/* @__PURE__ */ (0, I.jsx)(f4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(zG, {- message: cr(n.error),+ children: [/* @__PURE__ */ (0, I.jsx)(d4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(FG, {+ message: sr(n.error),onRetry: r}) : null]})});}-var f4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {+var d4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage","aria-label": "关闭",title: "关闭",onClick: e,- dangerouslySetInnerHTML: { __html: R("x") }+ dangerouslySetInnerHTML: { __html: z("x") }});-function lNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {+function dNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {(0, F.useEffect)(() => {n.canonicalCode?.(t.code);}, [n, t.code]), (0, F.useEffect)(() => {- t.state === "ready" && H.invalidateQueries({ queryKey: ["jav-discoveries", "external"] });+ t.state === "ready" && U.invalidateQueries({ queryKey: ["jav-discoveries", "external"] });}, [t.code, t.state]);let [o, s] = (0, F.useState)(-1), c = [{@@ -76106,13 +76117,13 @@ function lNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: alabel: "视频预览",video: !0}] : []- ], [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(t.want_id), p = EH(), m = () => {- p.run("want", async (e) => d ? (await _W([d], e), null) : (await gW({ code: t.code }, e)).want.id, (t) => {- f(t), H.setQueryData(H2(e), (e) => e && {+ ], [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(t.want_id), p = wH(), m = () => {+ p.run("want", async (e) => d ? (await hW([d], e), null) : (await mW({ code: t.code }, e)).want.id, (t) => {+ f(t), U.setQueryData(V2(e), (e) => e && {...e,wanted: !!t,want_id: t- }), n.receipt(t ? "已加入想要" : "已取消想要"), vW(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });+ }), n.receipt(t ? "已加入想要" : "已取消想要"), gW(), U.invalidateQueries({ queryKey: ["feed-new"] }), U.invalidateQueries({ queryKey: ["jav-discoveries"] });});};return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [@@ -76121,24 +76132,24 @@ function lNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-art": "","data-jav-playing": o === -2 ? "" : void 0,children: [- /* @__PURE__ */ (0, I.jsx)(f4, { close: n.close }),+ /* @__PURE__ */ (0, I.jsx)(d4, { close: n.close }),t.preview_video_url ? /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": o === -2,onClick: () => s(o === -2 ? -1 : -2),- children: [/* @__PURE__ */ (0, I.jsx)(p4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]+ children: [/* @__PURE__ */ (0, I.jsx)(f4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(fNe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(yQ, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(mNe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(gQ, {item: t,image: o === -1 ? "cover" : String(o)}, t.code),- /* @__PURE__ */ (0, I.jsx)(D2, {+ /* @__PURE__ */ (0, I.jsx)(E2, {items: c,position: Math.max(0, c.findIndex((e) => e.index === o)),onSelect: s,below: !0,- renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(yQ, {+ renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(gQ, {item: t,image: e.index < 0 ? "cover" : String(e.index),thumbnail: !0@@ -76152,33 +76163,33 @@ function lNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-stage-side-content": "","data-jav-info": "",children: [- /* @__PURE__ */ (0, I.jsx)(uNe, { item: t }),- Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(h4, { score: Number(t.score) }) : null,+ /* @__PURE__ */ (0, I.jsx)(fNe, { item: t }),+ Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(m4, { score: Number(t.score) }) : null,/* @__PURE__ */ (0, I.jsxs)("div", {className: "mono","data-stage-meta": "","data-reveal-line": "",- children: [/* @__PURE__ */ (0, I.jsx)(m4, {+ children: [/* @__PURE__ */ (0, I.jsx)(p4, {glyph: "calendar",label: "发行日期",value: t.release_date- }), /* @__PURE__ */ (0, I.jsx)(m4, {+ }), /* @__PURE__ */ (0, I.jsx)(p4, {glyph: "clock",label: "时长",value: t.duration ? `${t.duration} 分钟` : void 0})]}),- /* @__PURE__ */ (0, I.jsx)(dNe, {+ /* @__PURE__ */ (0, I.jsx)(pNe, {item: t,navigate: n.navigate}),/* @__PURE__ */ (0, I.jsxs)("div", {"data-jav-facts": "",- children: [/* @__PURE__ */ (0, I.jsx)(m4, {+ children: [/* @__PURE__ */ (0, I.jsx)(p4, {glyph: "briefcase",label: "发行商",value: t.publisher- }), /* @__PURE__ */ (0, I.jsx)(m4, {+ }), /* @__PURE__ */ (0, I.jsx)(p4, {glyph: "clapperboard",label: "导演",value: t.director@@ -76198,23 +76209,23 @@ function lNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: achildren: /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-tag": e.name,- title: Il(e.name),+ title: Fl(e.name),onClick: () => n.openTag(e.name),- children: Il(e.name)+ children: Fl(e.name)})}, e.name))}) : null,t.summary ? /* @__PURE__ */ (0, I.jsx)("p", {"data-jav-summary": "","data-long-text": "",- lang: QI(t.summary),+ lang: XI(t.summary),children: t.summary}) : null,- t.message ? /* @__PURE__ */ (0, I.jsx)(xV, {+ t.message ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "neutral",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...EV(a),+ ...wV(a),onClick: i,children: "立即重试"}),@@ -76223,10 +76234,10 @@ function lNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a/* @__PURE__ */ (0, I.jsxs)("div", {"data-jav-actions": "",children: [- t.source_url ? /* @__PURE__ */ (0, I.jsx)(jL, {+ t.source_url ? /* @__PURE__ */ (0, I.jsx)(kL, {"data-button-link": "",variant: "secondary",- trailingIcon: BB,+ trailingIcon: RB,href: t.source_url,target: "_blank",rel: "noopener noreferrer",@@ -76236,7 +76247,7 @@ function lNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: avariant: "secondary",disabled: r,"aria-pressed": !!d,- ...EV(!!p.busy),+ ...wV(!!p.busy),onClick: m,children: d ? "取消想要" : "想要"}),@@ -76254,16 +76265,16 @@ function lNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a})]}),- p.error ? /* @__PURE__ */ (0, I.jsx)(xV, {+ p.error ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "error",children: p.error}) : null,- /* @__PURE__ */ (0, I.jsx)(pNe, {+ /* @__PURE__ */ (0, I.jsx)(hNe, {code: t.code,count: t.comments_count,released: t.release_date}),- /* @__PURE__ */ (0, I.jsx)(mNe, {+ /* @__PURE__ */ (0, I.jsx)(gNe, {item: t,actions: n,readOnly: r@@ -76271,24 +76282,24 @@ function lNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a]})}),- /* @__PURE__ */ (0, I.jsx)(fW, {+ /* @__PURE__ */ (0, I.jsx)(uW, {prefill: l,close: () => u(null),receipt: n.receipt})] });}-var p4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var f4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents","aria-hidden": "true",- dangerouslySetInnerHTML: { __html: R(e) }-}), m4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {+ dangerouslySetInnerHTML: { __html: z(e) }+}), p4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-spec-item": "",title: t,- children: [/* @__PURE__ */ (0, I.jsx)(p4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, I.jsx)(f4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]}) : null;-function uNe({ item: e }) {- let { text: t, expanded: n, foldable: r, toggle: i } = B2(e.title), a = e.title === e.code ? "" : e.title;+function fNe({ item: e }) {+ let { text: t, expanded: n, foldable: r, toggle: i } = z2(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, I.jsxs)("div", {"data-item-title": "",children: [/* @__PURE__ */ (0, I.jsx)("h1", {@@ -76304,7 +76315,7 @@ function uNe({ item: e }) {r && !String(getSelection() || "") && i();},children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e.code }), a ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [" ", /* @__PURE__ */ (0, I.jsx)("span", {- lang: QI(a),+ lang: XI(a),children: a})] }) : null]})@@ -76318,26 +76329,26 @@ function uNe({ item: e }) {"aria-label": n ? "收起标题" : "展开标题",title: n ? "收起标题" : "展开完整标题",onClick: i,- children: /* @__PURE__ */ (0, I.jsx)(WH, {})+ children: /* @__PURE__ */ (0, I.jsx)(HH, {})})})]});}-function h4({ score: e, review: t = !1 }) {+function m4({ score: e, review: t = !1 }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-item-rating": "","data-jav-rating": "","data-review-rating": t ? "" : void 0,role: "img","aria-label": `${t ? "评论" : "JavDB"}评分 ${e} / 5`,- children: [/* @__PURE__ */ (0, I.jsx)(iY, { value: e }), /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(eY, { value: e }), /* @__PURE__ */ (0, I.jsxs)("span", {"data-rating-value": "",children: [e.toFixed(1), " / 5"]})]});}-function dNe({ item: e, navigate: t }) {- let n = (e, n) => t(Nn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, I.jsxs)("section", {+function pNe({ item: e, navigate: t }) {+ let n = (e, n) => t(Mn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, I.jsxs)("section", {"data-id-group": t,"data-id-gender": a,children: [/* @__PURE__ */ (0, I.jsx)("h5", {@@ -76345,14 +76356,14 @@ function dNe({ item: e, navigate: t }) {children: r}), /* @__PURE__ */ (0, I.jsx)("div", {"data-id-row": "",- children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(R2, {+ children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(L2, {kind: t,person: {...r,id: r.id ?? null},onOpen: n,- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, I.jsx)(bQ, {+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, I.jsx)(_Q, {code: e.code,person: r,detail: !0@@ -76369,7 +76380,7 @@ function dNe({ item: e, navigate: t }) {r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),r("studio", "厂牌", e.studio_refs)]- }), /* @__PURE__ */ (0, I.jsx)(z2, {+ }), /* @__PURE__ */ (0, I.jsx)(R2, {people: e.series_refs.map((e) => ({...e,id: e.id ?? null@@ -76378,7 +76389,7 @@ function dNe({ item: e, navigate: t }) {})]});}-function fNe({ src: e }) {+function mNe({ src: e }) {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(0);return (0, F.useLayoutEffect)(() => {let n = t.current, i = document.createElement("video");@@ -76389,7 +76400,7 @@ function fNe({ src: e }) {}, [e, i]), /* @__PURE__ */ (0, I.jsx)("div", {ref: t,"data-jav-video": "",- children: n ? /* @__PURE__ */ (0, I.jsx)(xV, {+ children: n ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "neutral",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -76402,8 +76413,8 @@ function fNe({ src: e }) {}) : null});}-function pNe({ code: e, count: t, released: n }) {- let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => oNe(e, n), [e, n]), s = (0, F.useRef)(!1), c = It({+function hNe({ code: e, count: t, released: n }) {+ let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => cNe(e, n), [e, n]), s = (0, F.useRef)(!1), c = Ft({queryKey: ["jav-reviews", e],enabled: i,initialPageParam: 1,@@ -76412,12 +76423,12 @@ function pNe({ code: e, count: t, released: n }) {pageParams: o.pageParams} : void 0,initialDataUpdatedAt: o?.saved,- staleTime: (e) => sNe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,+ staleTime: (e) => lNe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,gcTime: 864e5,refetchOnWindowFocus: !1,queryFn: async ({ signal: t, pageParam: n }) => {- let i = await DMe(e, n, t, s.current);- if (aNe(e, i), !i.ok || i.cache_stale) {+ let i = await kMe(e, n, t, s.current);+ if (sNe(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,@@ -76427,18 +76438,18 @@ function pNe({ code: e, count: t, released: n }) {}return i;},- getNextPageParam: OMe+ getNextPageParam: AMe});(0, F.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 ? cr(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 ? sr(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;return /* @__PURE__ */ (0, I.jsx)("section", {"data-jav-reviews": "",- children: /* @__PURE__ */ (0, I.jsxs)(XH, {+ children: /* @__PURE__ */ (0, I.jsxs)(JH, {trailing: !0,summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(Bhe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, I.jsx)(Hhe, { "aria-hidden": !0 }),"评论",t > 0 ? ` · ${t}` : ""] }),@@ -76475,7 +76486,7 @@ function pNe({ code: e, count: t, released: n }) {"data-jav-review-meta": "",children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e.username }),- Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(h4, {+ Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(m4, {score: Number(e.score),review: !0}) : null,@@ -76487,28 +76498,28 @@ function pNe({ code: e, count: t, released: n }) {]}), /* @__PURE__ */ (0, I.jsx)("p", {"data-long-text": "",- lang: QI(e.content),+ lang: XI(e.content),children: e.content})]}, e.id)),- d ? /* @__PURE__ */ (0, I.jsx)(xV, {+ d ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "neutral",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...EV(c.isFetching),+ ...wV(c.isFetching),onClick: () => {s.current = !0, c.refetch();},children: "立即重试"}),children: d- }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, I.jsx)(xV, {+ }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, I.jsx)(yV, {tone: "neutral",children: "暂无评论"}) : null,!d && l.length ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...EV(c.isFetching),+ ...wV(c.isFetching),onClick: () => {s.current = !0, c.refetch();},@@ -76516,13 +76527,13 @@ function pNe({ code: e, count: t, released: n }) {}) : null,c.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...EV(c.isFetchingNextPage),+ ...wV(c.isFetchingNextPage),onClick: () => {c.isFetchingNextPage || c.fetchNextPage();},children: "更多评论"}) : null,- !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, I.jsxs)(xV, {+ !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, I.jsxs)(yV, {tone: "neutral",children: ["已显示 ",@@ -76534,21 +76545,21 @@ function pNe({ code: e, count: t, released: n }) {})});}-function mNe({ item: e, actions: t, readOnly: n }) {- let [r, i] = (0, F.useState)(!1), a = Pt({- queryKey: oW,+function gNe({ item: e, actions: t, readOnly: n }) {+ let [r, i] = (0, F.useState)(!1), a = Nt({+ queryKey: iW,enabled: r,- queryFn: ({ signal: e }) => B(`${aW}?limit=50`, e)+ queryFn: ({ signal: e }) => V(`${rW}?limit=50`, e)}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("section", {"data-jav-resources": "",- children: /* @__PURE__ */ (0, I.jsx)(XH, {+ children: /* @__PURE__ */ (0, I.jsx)(JH, {trailing: !0,- summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(p4, { name: "link" }), "资源"] }),+ summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(f4, { name: "link" }), "资源"] }),onOpenChange: (e) => {i(e), e && c(!0);},- children: s ? /* @__PURE__ */ (0, I.jsx)(l4, {+ children: s ? /* @__PURE__ */ (0, I.jsx)(c4, {want: {id: 0,code: e.code,@@ -76565,31 +76576,31 @@ function mNe({ item: e, actions: t, readOnly: n }) {});}// src/react/stage/stage-player.ts-var g4 = null, _4 = null, v4 = null, y4 = null, b4 = null, x4 = !1, S4 = 0, C4 = null, w4 = () => !1, T4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;-function hNe(e, t) {- g4 = e, w4 = () => t.isOpen(), C4 = () => t.requestClose(), Ile({+var h4 = null, g4 = null, _4 = null, v4 = null, y4 = null, b4 = !1, x4 = 0, S4 = null, C4 = () => !1, w4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;+function _Ne(e, t) {+ h4 = e, C4 = () => t.isOpen(), S4 = () => t.requestClose(), Ile({...e.player,stage: () => document.getElementById("stage")}), Lle({- inMiniplayer: (e) => _4?.player === e,- kind: (e) => _4?.player === e ? _4.kind : v4?.kind ?? y4?.kind ?? "item",- expand: () => G4(),- toMiniplayer: () => K4()- }), E4 || (E4 = !0, addEventListener("pagehide", () => ZN()));-}-var E4 = !1;-function D4() {- if (!g4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");- return g4;-}-function O4(e) {- y4 = e;-}-var gNe = () => y4;-function k4(e, t) {- let { kind: n, item: r, media: i = null } = t, a = T4(n, r.id, i?.index ?? null);- if (_4 && _4.key === a) return vNe(e, _4);- _4 && W4();+ inMiniplayer: (e) => g4?.player === e,+ kind: (e) => g4?.player === e ? g4.kind : _4?.kind ?? v4?.kind ?? "item",+ expand: () => W4(),+ toMiniplayer: () => G4()+ }), T4 || (T4 = !0, addEventListener("pagehide", () => ZN()));+}+var T4 = !1;+function E4() {+ if (!h4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");+ return h4;+}+function D4(e) {+ v4 = e;+}+var vNe = () => v4;+function O4(e, t) {+ let { kind: n, item: r, media: i = null } = t, a = w4(n, r.id, i?.index ?? null);+ if (g4 && g4.key === a) return bNe(e, g4);+ g4 && U4();let o = {player: null,kind: n,@@ -76597,7 +76608,7 @@ function k4(e, t) {mediaIndex: i?.index ?? null,key: a};- v4 = o;+ _4 = 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 = uP(s, {@@ -76607,42 +76618,42 @@ function k4(e, t) {autoplay: t.autoplay,resume: t.resume ?? null,onPlayer: (e) => {- v4 === o && (o.player = e);+ _4 === o && (o.player = e);},- handedOff: (e) => _4?.player === e+ handedOff: (e) => g4?.player === e});return () => {- let e = !!o.player && _4?.player === o.player;- v4 === o && (v4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), ZN());+ let e = !!o.player && g4?.player === o.player;+ _4 === o && (_4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), ZN());};}-async function _Ne(e, t, n) {- let r = await wn(`/api/item?id=${e.id}`, { signal: n });+async function yNe(e, t, n) {+ let r = await Cn(`/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 D4().player.loadSourceStatus();- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(D4().player.offlineReason(String(r.root_id || r.location || "")));+ let i = await E4().player.loadSourceStatus();+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(E4().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 || "未归属")};- O4(a);- let o = k4(t, {+ D4(a);+ let o = O4(t, {kind: "item",item: r,autoplay: !0}), s = !1;return (e = !1) => {- s || (s = !0, e && y4 === a && j4(!0), o(), y4 === a && O4(null));+ s || (s = !0, e && v4 === a && A4(!0), o(), v4 === a && D4(null));};}-function vNe(e, t) {+function bNe(e, t) {let { player: n } = t;- H4(t), _4 = null, U4(), n.el().classList.remove("vjs-peach-mini"), cP(e), e.append(n.el()), tN(n);+ V4(t), g4 = null, H4(), n.el().classList.remove("vjs-peach-mini"), cP(e), e.append(n.el()), tN(n);let r = {player: n,kind: t.kind,@@ -76650,23 +76661,23 @@ function vNe(e, t) {mediaIndex: t.mediaIndex,key: t.key};- v4 = r;+ _4 = r;let i = lP(n, e);return nN(n), () => {- v4 === r && (v4 = null), i(), _4?.player !== n && (eN() === n && tN(null), HN(n), ZN());+ _4 === r && (_4 = null), i(), g4?.player !== n && (eN() === n && tN(null), HN(n), ZN());};}-var A4 = () => {- let e = v4?.player;+var k4 = () => {+ let e = _4?.player;return e && !e.isDisposed() ? e : null;};-function j4(e) {- let t = x4;- x4 = !1, _4?.pending && W4();- let n = v4, r = n?.player, i = y4;- if (!n || !r || r.isDisposed() || !i || !b4) return;- let a = D4().player.settings();- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && SNe({+function A4(e) {+ let t = b4;+ b4 = !1, g4?.pending && U4();+ let n = _4, r = n?.player, i = v4;+ if (!n || !r || r.isDisposed() || !i || !y4) return;+ let a = E4().player.settings();+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && wNe({player: r,kind: n.kind,item: n.item,@@ -76674,46 +76685,46 @@ function j4(e) {key: n.key}, i);}-function M4(e, t) {- x4 = !1, _4 && (_4.kind === e && _4.item.id === t ? (_4.pending = !0, U4()) : W4());+function j4(e, t) {+ b4 = !1, g4 && (g4.kind === e && g4.item.id === t ? (g4.pending = !0, H4()) : U4());}-function N4(e) {- b4 = e, b4 && B4();+function M4(e) {+ y4 = e, y4 && z4();}-var P4 = () => !!_4 && !_4.pending && !_4.player.isDisposed();-function yNe() {- return P4() ? b4?.frame.querySelector("video") ?? null : null;+var N4 = () => !!g4 && !g4.pending && !g4.player.isDisposed();+function xNe() {+ return N4() ? y4?.frame.querySelector("video") ?? null : null;}-function bNe() {- return w4() ? document.getElementById("stage")?.querySelector("video") ?? null : A4()?.el().querySelector("video") ?? yNe();+function SNe() {+ return C4() ? document.getElementById("stage")?.querySelector("video") ?? null : k4()?.el().querySelector("video") ?? xNe();}-function F4(e) {- b4 && (b4.title.textContent = e.title || "", b4.sub.textContent = e.sub || "", b4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));+function P4(e) {+ y4 && (y4.title.textContent = e.title || "", y4.sub.textContent = e.sub || "", y4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));}-function I4(e = _4?.item) {- if (!b4) return;- let t = b4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;- b4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);+function F4(e = g4?.item) {+ if (!y4) return;+ let t = y4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;+ y4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);}-function L4() {- let e = _4?.player;- if (!e || e.isDisposed() || !b4) return;+function I4() {+ let e = g4?.player;+ if (!e || e.isDisposed() || !y4) return;let t = e.paused();- b4.play.setAttribute("aria-label", t ? "播放" : "暂停"), b4.play.querySelector("[data-icon-swap]") || (b4.play.innerHTML = Gs("player-pause", "player-play", t ? "b" : "a")), Ks(b4.play, t ? "b" : "a");-}-function R4() {- let e = _4?.player;- if (!e || e.isDisposed() || !b4) return;- let t = Kn(_4?.item.duration) || Kn(e.duration());- b4.time.textContent = `${Jn(e.currentTime())} / ${t ? Jn(t) : "0:00"}`;-}-var z4 = () => Math.max(1, Number(D4().player.settings().seekSeconds) || 10);-function B4() {- if (!b4 || !g4) return;- let e = z4();- for (let [t, n] of [[b4.back, `后退 ${e} 秒`], [b4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+ y4.play.setAttribute("aria-label", t ? "播放" : "暂停"), y4.play.querySelector("[data-icon-swap]") || (y4.play.innerHTML = Ws("player-pause", "player-play", t ? "b" : "a")), Gs(y4.play, t ? "b" : "a");}-function V4(e) {+function L4() {+ let e = g4?.player;+ if (!e || e.isDisposed() || !y4) return;+ let t = Gn(g4?.item.duration) || Gn(e.duration());+ y4.time.textContent = `${qn(e.currentTime())} / ${t ? qn(t) : "0:00"}`;+}+var R4 = () => Math.max(1, Number(E4().player.settings().seekSeconds) || 10);+function z4() {+ if (!y4 || !h4) return;+ let e = R4();+ for (let [t, n] of [[y4.back, `后退 ${e} 秒`], [y4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+}+function B4(e) {let t = (t, n) => {e.player.on(t, n), e.off.push(() => {try {@@ -76725,17 +76736,17 @@ function V4(e) {"play","pause","ended"- ], L4), t([+ ], I4), t(["timeupdate","durationchange","loadedmetadata"- ], R4), t("loadedmetadata", () => I4()), L4(), R4(), I4(), B4();+ ], L4), t("loadedmetadata", () => F4()), I4(), L4(), F4(), z4();}-function H4(e) {+function V4(e) {e.off.forEach((e) => e()), e.off = [];}-function xNe() {- let e = b4?.root;+function CNe() {+ let e = y4?.root;if (!e) return;let t = e.hidden;if (e.hidden = !1, !t) return;@@ -76743,8 +76754,8 @@ function xNe() {let n = () => e.removeAttribute("data-miniplayer-enter");e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);}-function U4() {- let e = b4?.root;+function H4() {+ let e = y4?.root;if (e) {e.hidden = !0;for (let t of [@@ -76755,73 +76766,73 @@ function U4() {e.style.transform = "";}}-function SNe(e, t) {- if (!b4) return;+function wNe(e, t) {+ if (!y4) return;let n = {...e,meta: t,off: [],pending: !1};- _4 = n, S4++, e.player.el().classList.add("vjs-peach-mini"), b4.frame.prepend(e.player.el()), F4(t), V4(n), xNe(), nN(e.player);+ g4 = n, x4++, e.player.el().classList.add("vjs-peach-mini"), y4.frame.prepend(e.player.el()), P4(t), B4(n), CNe(), nN(e.player);}-function W4() {- let e = _4;- e && H4(e), _4 = null, S4++;+function U4() {+ let e = g4;+ e && V4(e), g4 = null, x4++;let t = e?.player ?? null;- t && eN() === t && tN(null), HN(t), t && ZN(), b4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), QM(), U4();+ t && eN() === t && tN(null), HN(t), t && ZN(), y4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), QM(), H4();}-function G4() {- if (!P4() || !_4) return;- let { kind: e, item: t, mediaIndex: n } = _4;- D4().expand(e, t.id, n);+function W4() {+ if (!N4() || !g4) return;+ let { kind: e, item: t, mediaIndex: n } = g4;+ E4().expand(e, t.id, n);}-function K4() {- P4() && !w4() ? G4() : w4() && A4() && C4 && (x4 = !0, C4());+function G4() {+ N4() && !C4() ? W4() : C4() && k4() && S4 && (b4 = !0, S4());}-function CNe() {- let e = _4?.player;+function TNe() {+ let e = g4?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}-function q4(e) {- let t = _4?.player;+function K4(e) {+ let t = g4?.player;if (!t || t.isDisposed()) return;- let n = Kn(t.duration()) || Kn(_4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + z4() * e);+ let n = Gn(t.duration()) || Gn(g4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + R4() * e);t.currentTime(n ? Math.min(n, r) : r);}-function J4(e) {- return !(!P4() || !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 || D4().sourceOffline(String(e.root_id || e.location || "")));-}-async function wNe(e) {- if (!P4() || !_4 || !b4) return;- let t = ++S4, n = await wn(`/api/item?id=${e}`).catch(() => null);- if (t !== S4 || !P4() || !_4 || !b4 || !n || n.error) return;- if (!J4(n)) {- D4().openItem(e);+function q4(e) {+ return !(!N4() || !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 || E4().sourceOffline(String(e.root_id || e.location || "")));+}+async function ENe(e) {+ if (!N4() || !g4 || !y4) return;+ let t = ++x4, n = await Cn(`/api/item?id=${e}`).catch(() => null);+ if (t !== x4 || !N4() || !g4 || !y4 || !n || n.error) return;+ if (!q4(n)) {+ E4().openItem(e);return;}- let r = _4;- H4(r), eN() === r.player && tN(null), HN(r.player), ZN(), b4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ let r = g4;+ V4(r), eN() === r.player && tN(null), HN(r.player), ZN(), y4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", b4.frame.prepend(i);+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", y4.frame.prepend(i);let a = {kind: "item",item: n,title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- F4(a), uP(i, {+ P4(a), uP(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {- if (t !== S4) {+ if (t !== x4) {r && eN() === r && tN(null), HN(r);return;}if (!r) {- W4(), D4().openItem(e);+ U4(), E4().openItem(e);return;}r.el().classList.add("vjs-peach-mini");@@ -76830,25 +76841,25 @@ async function wNe(e) {kind: "item",item: n,mediaIndex: null,- key: T4("item", n.id, null),+ key: w4("item", n.id, null),meta: a,off: [],pending: !1};- _4 = i, V4(i);+ g4 = i, B4(i);}- }), I4(n);+ }), F4(n);}// src/react/stage/miniplayer.tsx-var Y4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {+var J4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })-}), TNe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, X4 = (e) => (t) => {+}), DNe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, Y4 = (e) => (t) => {t.stopPropagation(), e();-}, ENe = (0, F.memo)(function() {+}, ONe = (0, F.memo)(function() {let e = (0, F.useRef)(null), t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null);- return (0, F.useLayoutEffect)(() => (N4({+ return (0, F.useLayoutEffect)(() => (M4({root: e.current,frame: n.current,play: r.current,@@ -76858,7 +76869,7 @@ var Y4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => N4(null)), []), (0, F.useEffect)(() => kNe(e.current, t.current), []), (0, F.useEffect)(() => DNe(e.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {+ }), () => M4(null)), []), (0, F.useEffect)(() => jNe(e.current, t.current), []), (0, F.useEffect)(() => kNe(e.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -76882,24 +76893,24 @@ var Y4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {id: "miniplayerExpand","aria-label": "展开到详情","aria-keyshortcuts": "i",- onClick: X4(G4),- children: /* @__PURE__ */ (0, I.jsx)(Y4, { name: "maximize-2" })+ onClick: Y4(W4),+ children: /* @__PURE__ */ (0, I.jsx)(J4, { name: "maximize-2" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-miniplayer-button": "close",id: "miniplayerClose","aria-label": "关闭小窗",- onClick: X4(W4),- children: /* @__PURE__ */ (0, I.jsx)(Y4, { name: "x" })+ onClick: Y4(U4),+ children: /* @__PURE__ */ (0, I.jsx)(J4, { name: "x" })}),/* @__PURE__ */ (0, I.jsx)("button", {ref: a,type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: X4(() => q4(-1)),- children: /* @__PURE__ */ (0, I.jsx)(Y4, { name: "rotate-ccw" })+ onClick: Y4(() => K4(-1)),+ children: /* @__PURE__ */ (0, I.jsx)(J4, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, I.jsx)("button", {ref: r,@@ -76908,16 +76919,16 @@ var Y4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: X4(CNe),- dangerouslySetInnerHTML: TNe+ onClick: Y4(TNe),+ dangerouslySetInnerHTML: DNe}),/* @__PURE__ */ (0, I.jsx)("button", {ref: o,type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: X4(() => q4(1)),- children: /* @__PURE__ */ (0, I.jsx)(Y4, { name: "rotate-cw" })+ onClick: Y4(() => K4(1)),+ children: /* @__PURE__ */ (0, I.jsx)(J4, { name: "rotate-cw" })}),/* @__PURE__ */ (0, I.jsx)("span", {ref: i,@@ -76934,7 +76945,7 @@ var Y4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {"data-miniplayer-info": "",id: "miniplayerInfo","aria-label": "展开到详情",- onClick: () => G4(),+ onClick: () => W4(),children: [/* @__PURE__ */ (0, I.jsx)("span", {ref: s,"data-miniplayer-title": "",@@ -76948,7 +76959,7 @@ var Y4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {})});});-function DNe(e) {+function kNe(e) {let t = () => {let t = e.dataset.corner || "";!e.hidden && t.startsWith("b") && (t === "br" || innerWidth <= 600) ? document.documentElement.style.setProperty("--miniplayer-space", `${Math.ceil(e.offsetHeight + 16 + 12)}px`) : document.documentElement.style.removeProperty("--miniplayer-space");@@ -76962,7 +76973,7 @@ function DNe(e) {n.disconnect(), r.disconnect(), window.removeEventListener("resize", t), document.documentElement.style.removeProperty("--miniplayer-space");};}-function ONe(e, t, n) {+function ANe(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@@ -76984,7 +76995,7 @@ function ONe(e, t, n) {};e.addEventListener("transitionend", u), setTimeout(u, 600);}-function kNe(e, t) {+function jNe(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 = {@@ -77010,7 +77021,7 @@ function kNe(e, t) {} catch {}i.moved && (e.dataset.dragged = "1", setTimeout(() => {delete e.dataset.dragged;- }, 0), ONe(e, i.dx, i.dy));+ }, 0), ANe(e, i.dx, i.dy));}, o = (t) => {e.dataset.dragged && (t.stopPropagation(), t.preventDefault());}, s = (e) => {@@ -77021,57 +77032,57 @@ function kNe(e, t) {};}// src/react/stage/stage.tsx-var Z4 = null, Q4 = null, $4 = null, e3 = /* @__PURE__ */ new Set(), t3 = 0, n3 = null, r3 = !1, i3 = !1, a3 = () => {+var X4 = null, Z4 = null, Q4 = null, $4 = /* @__PURE__ */ new Set(), e3 = 0, t3 = null, n3 = !1, r3 = !1, i3 = () => {let e = document.getElementById("stage");return e instanceof HTMLDialogElement ? e : null;};-function o3() {- if (!Z4) throw Error("舞台还没有接上宿主(configureStage)");- return Z4;+function a3() {+ if (!X4) throw Error("舞台还没有接上宿主(configureStage)");+ return X4;}-function ANe(e) {- return e3.add(e), () => {- e3.delete(e);+function MNe(e) {+ return $4.add(e), () => {+ $4.delete(e);};}-function jNe() {- for (let e of [...e3]) e();+function NNe() {+ for (let e of [...$4]) e();}-function s3() {- (0, Lt.flushSync)(jNe);+function o3() {+ (0, It.flushSync)(NNe);}-function MNe({ view: e }) {- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(NNe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(ENe, {})] });+function PNe({ view: e }) {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(FNe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(ONe, {})] });}-var c3 = () => /* @__PURE__ */ (0, I.jsx)("div", {+var s3 = () => /* @__PURE__ */ (0, I.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",- dangerouslySetInnerHTML: { __html: Pje() }+ dangerouslySetInnerHTML: { __html: Ije() }});-function l3(e) {+function c3(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 u3() {- let e = a3(), t = e && Lje(e);+function l3() {+ let e = i3(), t = e && zje(e);t ? (t.focus({ preventScroll: !0 }), t.dispatchEvent(new KeyboardEvent("keydown", {key: "Escape",bubbles: !0,cancelable: !0- }))) : d3();+ }))) : u3();}-function NNe({ view: e }) {+function FNe({ view: e }) {let t = (0, F.useRef)(null);(0, F.useLayoutEffect)(() => {let e = t.current, n = (t) => {- t.target === e && (t.preventDefault(), u3());+ t.target === e && (t.preventDefault(), l3());};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(IMe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(cNe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(_Me, { ...r.props }, r.props.id);+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(RMe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(uNe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(yMe, { ...r.props }, r.props.id);return /* @__PURE__ */ (0, I.jsxs)("dialog", {ref: t,id: "stage",@@ -77079,27 +77090,27 @@ function NNe({ view: e }) {"data-stage-kind": r.kind,"aria-label": "作品详情",onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), u3());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), l3());},onPointerDown: (e) => {- i3 = l3(e);+ r3 = c3(e);},onClick: (e) => {- i3 && l3(e) && d3();+ r3 && c3(e) && u3();},children: [- n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(c3, {}, "skeleton") : null,+ n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(s3, {}, "skeleton") : null,n === "reveal" ? /* @__PURE__ */ (0, I.jsx)("div", {"data-stage-fade": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(c3, {})+ children: /* @__PURE__ */ (0, I.jsx)(s3, {})}, "fade") : null,n === "skeleton" ? null : /* @__PURE__ */ (0, I.jsx)("div", {"data-stage-scroll": "",children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-react",children: /* @__PURE__ */ (0, I.jsx)(DD, {- getContainer: () => J0(t.current),+ getContainer: () => q0(t.current),children: i})})@@ -77107,14 +77118,14 @@ function NNe({ view: e }) {]});}-function d3() {- Q4 && !r3 && (r3 = !0, Q4.request.actions.close());+function u3() {+ Z4 && !n3 && (n3 = !0, Z4.request.actions.close());}-function f3(e, t) {- let n = a3();+function d3(e, t) {+ let n = i3();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}-function p3(e) {+function f3(e) {if (e.kind === "jav") return {kind: "jav",props: {@@ -77122,30 +77133,30 @@ function p3(e) {readOnly: e.readOnly,actions: {...e.actions,- close: d3+ close: u3}}};let t = e.resume ?? null, n = (n) => {let r = t && (e.id == null || e.id === n) ? t : null;return t = null, r;- }, r = () => o3().player.settings(), i = () => Q4?.request === e;+ }, r = () => a3().player.settings(), i = () => Z4?.request === e;if (e.kind === "item") {let { kind: t, resume: a, actions: o, ...s } = e, c = {...o,- close: d3,+ close: u3,present: (e, t) => {let n = e.performers;- O4({+ D4({kind: "item",item: e,title: String(e.title || e.name || ""),sub: String(n?.[0] || e.creator || "未归属")- }), f3(r().ambientMode, r().theaterMode), queueMicrotask(() => {+ }), d3(r().ambientMode, r().theaterMode), queueMicrotask(() => {i() && o.present(e, t);});},- mountPlayer: (e, t, r, i) => k4(e, {+ mountPlayer: (e, t, r, i) => O4(e, {kind: "item",item: t,autoplay: i?.autoplay,@@ -77163,18 +77174,18 @@ function p3(e) {}let { kind: a, resume: o, actions: s, ...c } = e, l = {...s,- close: d3,+ close: u3,present: (e, t) => {- O4({+ D4({kind: "follow",item: e,title: e.title || "",sub: e.author || e.source_label || ""- }), f3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {+ }), d3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {i() && s.present(e, t);});},- mountPlayer: (e, t, r, i) => k4(e, {+ mountPlayer: (e, t, r, i) => O4(e, {kind: "follow",item: t,media: r,@@ -77191,106 +77202,106 @@ function p3(e) {}};}-function PNe(e, t) {+function INe(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"), Z4?.generation === t && Z4.phase === "reveal" && (Z4 = {+ ...Z4,phase: "content"- }, s3());+ }, o3());}, a = (e) => {e.target === n && i();};n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);}-function m3(e) {- let t = a3();- return !Q4 || Q4.content.kind !== e || r3 || !t?.open || t.hasAttribute("data-closing") ? null : t;+function p3(e) {+ let t = i3();+ return !Z4 || Z4.content.kind !== e || n3 || !t?.open || t.hasAttribute("data-closing") ? null : t;}-async function FNe(e) {- !$4 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && ($4 = {+async function LNe(e) {+ !Q4 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (Q4 = {left: window.scrollX,top: window.scrollY,anchor: document.activeElement});- let t = m3(e.kind);+ let t = p3(e.kind);if (t) {- await LNe(e, t);+ await zNe(e, t);return;}- Q4 && h3({ miniplayer: !1 });- let n = ++t3, r = new AbortController();- n3 = r, r3 = !1, i3 = !1, e.kind === "jav" ? W4() : M4(e.kind, e.id ?? NaN);- let i = p3(e);- Q4 = {+ Z4 && m3({ miniplayer: !1 });+ let n = ++e3, r = new AbortController();+ t3 = r, n3 = !1, r3 = !1, e.kind === "jav" ? U4() : j4(e.kind, e.id ?? NaN);+ let i = f3(e);+ Z4 = {generation: n,request: e,content: i,phase: "skeleton"};- let a = i.kind === "item" ? LP(i.props, r.signal) : i.kind === "jav" ? W2(i.props, r.signal) : e2(i.props, r.signal);- if (n !== t3 || Q4?.request !== e) {+ let a = i.kind === "item" ? LP(i.props, r.signal) : i.kind === "jav" ? U2(i.props, r.signal) : $0(i.props, r.signal);+ if (n !== e3 || Z4?.request !== e) {await a.catch(() => {});return;}- let o = INe(i);- Q4 = {- ...Q4,+ let o = RNe(i);+ Z4 = {+ ...Z4,phase: o ? "content" : "skeleton"- }, s3();- let s = a3();+ }, o3();+ let s = i3();if (!s) {await a.catch(() => {});return;}- o || fc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), X0(s);+ o || dc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), Y0(s);try {await a;} catch {if (r.signal.aborted) return;}- if (n !== t3 || !Q4 || o) return;+ if (n !== e3 || !Z4 || o) return;let c = !!s.querySelector(".skeleton-awaiting");- Q4 = {- ...Q4,+ Z4 = {+ ...Z4,phase: c ? "content" : "reveal"- }, s3(), c || PNe(s, n), ec(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, o3(), c || INe(s, n), $s(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");let l = document.activeElement;l !== s && s.contains(l) || s.querySelector("#closeStage")?.focus();}-function INe(e) {- if (e.kind === "jav") return !!H.getQueryData(H2(e.props.code));- if (e.kind === "follow") return !!H.getQueryData(Z0(e.props.id));- let { queue: t, id: n } = e.props, r = t ? H.getQueryData(CP(t)) : null;+function RNe(e) {+ if (e.kind === "jav") return !!U.getQueryData(V2(e.props.code));+ if (e.kind === "follow") return !!U.getQueryData(X0(e.props.id));+ let { queue: t, id: n } = e.props, r = t ? U.getQueryData(CP(t)) : null;if (t && !r) return !1;let i = r ? FP(r, n) : n;- return i != null && !!H.getQueryData(SP(i));+ return i != null && !!U.getQueryData(SP(i));}-async function LNe(e, t) {- let n = ++t3;- n3?.abort();+async function zNe(e, t) {+ let n = ++e3;+ t3?.abort();let r = new AbortController();- n3 = r, i3 = !1;- let i = p3(e);+ t3 = r, r3 = !1;+ let i = f3(e);try {- i.kind === "item" ? await LP(i.props, r.signal) : i.kind === "jav" ? await W2(i.props, r.signal) : await e2(i.props, r.signal);+ i.kind === "item" ? await LP(i.props, r.signal) : i.kind === "jav" ? await U2(i.props, r.signal) : await $0(i.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== t3 || !Q4 || m3(e.kind) !== t) return;- e.kind === "jav" ? W4() : M4(e.kind, e.id ?? NaN), Ml(t), QM(), Q4 = {- ...Q4,+ if (n !== e3 || !Z4 || p3(e.kind) !== t) return;+ e.kind === "jav" ? U4() : j4(e.kind, e.id ?? NaN), jl(t), QM(), Z4 = {+ ...Z4,request: e,content: i,phase: "content"- }, s3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), ec(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, o3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), $s(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 RNe() {- X0(null);- let e = a3();+function BNe() {+ Y0(null);+ let e = i3();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();@@ -77300,14 +77311,14 @@ function RNe() {e.addEventListener("animationend", i), n = window.setTimeout(r, 380);}));}-function h3({ miniplayer: e = !0 } = {}) {- if (t3++, n3?.abort(), n3 = null, j4(e), !Q4) return;- let t = a3();- t && Ml(t), QM(), X0(null), t?.open && t.close(), Q4 = null, r3 = !1, i3 = !1, s3(), O4(null), document.body.removeAttribute("data-detail-open");- let n = $4;- $4 = null;+function m3({ miniplayer: e = !0 } = {}) {+ if (e3++, t3?.abort(), t3 = null, A4(e), !Z4) return;+ let t = i3();+ t && jl(t), QM(), Y0(null), t?.open && t.close(), Z4 = null, n3 = !1, r3 = !1, o3(), D4(null), document.body.removeAttribute("data-detail-open");+ let n = Q4;+ Q4 = null;let r = () => {- !Q4 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({+ !Z4 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({left: n.left,top: n.top,behavior: "instant"@@ -77315,80 +77326,80 @@ function h3({ miniplayer: e = !0 } = {}) {};r(), requestAnimationFrame(r);}-function zNe(e) {- Q4 && (Q4 = {- ...Q4,- content: Q4.content.kind === "item" ? {+function VNe(e) {+ Z4 && (Z4 = {+ ...Z4,+ content: Z4.content.kind === "item" ? {kind: "item",props: {- ...Q4.content.props,+ ...Z4.content.props,...e}- } : Q4.content.kind === "jav" ? Q4.content : {+ } : Z4.content.kind === "jav" ? Z4.content : {kind: "follow",props: {- ...Q4.content.props,+ ...Z4.content.props,...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }}}- }, s3());+ }, o3());}-function BNe() {- let e = gNe(), t = e?.kind === "item" ? e.item : null, n = t ? Oo(t, o3().player.settings().javImage) : "";+function HNe() {+ let e = vNe(), t = e?.kind === "item" ? e.item : null, n = t ? Do(t, a3().player.settings().javImage) : "";if (!n) return;- let r = A4();+ let r = k4();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}-var VNe = {- open: FNe,- update: zNe,- exit: RNe,- dispose: h3,- requestClose: d3,- requestEscape: u3,- repaintPoster: BNe,- isOpen: () => !!Q4,- showing: () => Q4 && m3(Q4.content.kind) ? Q4.content.kind : null,- activeVideo: () => bNe(),- mountWallPlayer: _Ne,+var UNe = {+ open: LNe,+ update: VNe,+ exit: BNe,+ dispose: m3,+ requestClose: u3,+ requestEscape: l3,+ repaintPoster: HNe,+ isOpen: () => !!Z4,+ showing: () => Z4 && p3(Z4.content.kind) ? Z4.content.kind : null,+ activeVideo: () => SNe(),+ mountWallPlayer: yNe,toggleTheater: () => {- Q4 && kN(!o3().player.settings().theaterMode);+ Z4 && kN(!a3().player.settings().theaterMode);},- toggleMiniplayer: () => K4(),- closeMiniplayer: () => W4(),- miniplayerActive: () => P4(),- miniplayerTakesCard: (e) => J4(e),+ toggleMiniplayer: () => G4(),+ closeMiniplayer: () => U4(),+ miniplayerActive: () => N4(),+ miniplayerTakesCard: (e) => q4(e),miniplayerPlay: (e) => {- wNe(e);+ ENe(e);}};-function HNe(e) {- return Z4 = e, hNe(e, {- isOpen: () => !!Q4,- requestClose: d3- }), VNe;+function WNe(e) {+ return X4 = e, _Ne(e, {+ isOpen: () => !!Z4,+ requestClose: u3+ }), UNe;}-function UNe() {- let e = (0, F.useSyncExternalStore)(ANe, () => Q4);- return Z4 ? /* @__PURE__ */ (0, I.jsx)(MNe, { view: e }) : null;+function GNe() {+ let e = (0, F.useSyncExternalStore)(MNe, () => Z4);+ return X4 ? /* @__PURE__ */ (0, I.jsx)(PNe, { view: e }) : null;}// src/react/stats/stats.ts-var WNe = "/api/stats", g3 = ["stats"], _3 = (e) => B(WNe, e);-async function GNe(e) {- await H.fetchQuery({- queryKey: g3,- queryFn: () => _3(e)- });-}-var v3 = (e) => e != null && Number.isFinite(e), KNe = (e) => v3(e) ? e.toLocaleString() : "未取得", qNe = (e, t) => v3(e) && v3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, JNe = (e, t) => {- let n = qNe(e, t);- return !n && v3(e) && e > 0 && v3(t) && t > 0 ? "<1%" : `${n}%`;-}, y3 = (e) => {- if (!v3(e)) return "未取得";+var KNe = "/api/stats", h3 = ["stats"], g3 = (e) => V(KNe, e);+async function qNe(e) {+ await U.fetchQuery({+ queryKey: h3,+ queryFn: () => g3(e)+ });+}+var _3 = (e) => e != null && Number.isFinite(e), JNe = (e) => _3(e) ? e.toLocaleString() : "未取得", YNe = (e, t) => _3(e) && _3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, XNe = (e, t) => {+ let n = YNe(e, t);+ return !n && _3(e) && e > 0 && _3(t) && t > 0 ? "<1%" : `${n}%`;+}, v3 = (e) => {+ if (!_3(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)} 分钟`;-}, b3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, x3 = (e) => (e.max_reached || 0) * 100, YNe = (e) => e.kind === "online" ? "在线直接观看" : b3(e) < x3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", XNe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;-function ZNe(e, t = 6) {+}, y3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, b3 = (e) => (e.max_reached || 0) * 100, ZNe = (e) => e.kind === "online" ? "在线直接观看" : y3(e) < b3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", QNe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;+function $Ne(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);@@ -77398,7 +77409,7 @@ function ZNe(e, t = 6) {bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)}];}-var QNe = (e) => Math.max(1, ...e) * 1.1, $Ne = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, ePe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), tPe = {+var ePe = (e) => Math.max(1, ...e) * 1.1, tPe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, nPe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), rPe = {video: "视频",image: "图片",illustration: "插画",@@ -77406,18 +77417,18 @@ var QNe = (e) => Math.max(1, ...e) * 1.1, $Ne = (e, t) => e > 0 ? Math.max(e, taudio: "音频",account: "账号",other: "其它文件"-}, nPe = (e) => e.map((e) => ({- name: tPe[e.k] ?? e.k,+}, iPe = (e) => e.map((e) => ({+ name: rPe[e.k] ?? e.k,value: e.n-})).sort((e, t) => t.value - e.value), rPe = {+})).sort((e, t) => t.value - e.value), aPe = {速食: "<5 分钟",短: "5–15 分钟",中: "15–40 分钟",长: ">40 分钟"-}, S3 = (e, t = {}) => e.map((e) => ({+}, x3 = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), iPe = (e) => S3(e, rPe), aPe = [+})), oPe = (e) => x3(e, aPe), sPe = [[1,1,@@ -77453,12 +77464,12 @@ var QNe = (e) => Math.max(1, ...e) * 1.1, $Ne = (e, t) => e > 0 ? Math.max(e, tInfinity,"≥10"]-], oPe = (e) => aPe.map(([t, n, r]) => ({+], cPe = (e) => sPe.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 C3(e, t) {+function S3(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 {@@ -77468,7 +77479,7 @@ function C3(e, t) {return n;}// node_modules/d3-array/src/min.js-function w3(e, t) {+function C3(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 {@@ -77478,7 +77489,7 @@ function w3(e, t) {return n;}// node_modules/d3-array/src/sum.js-function T3(e, t) {+function w3(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -77488,64 +77499,64 @@ function T3(e, t) {return n;}// node_modules/d3-sankey/src/align.js-function sPe(e, t) {+function lPe(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}// node_modules/d3-sankey/src/constant.js-function E3(e) {+function T3(e) {return function() {return e;};}// node_modules/d3-sankey/src/sankey.js+function E3(e, t) {+ return O3(e.source, t.source) || e.index - t.index;+}function D3(e, t) {- return k3(e.source, t.source) || e.index - t.index;+ return O3(e.target, t.target) || e.index - t.index;}function O3(e, t) {- return k3(e.target, t.target) || e.index - t.index;-}-function k3(e, t) {return e.y0 - t.y0;}-function A3(e) {+function k3(e) {return e.value;}-function cPe(e) {+function uPe(e) {return e.index;}-function lPe(e) {+function dPe(e) {return e.nodes;}-function uPe(e) {+function fPe(e) {return e.links;}-function j3(e, t) {+function A3(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function M3({ nodes: e }) {+function j3({ nodes: e }) {for (let t of e) {let e = t.y0, n = e;for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;}}-function dPe() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = cPe, c = sPe, l, u, d = lPe, f = uPe, p = 6;+function pPe() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = uPe, c = lPe, l, u, d = dPe, f = fPe, 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), M3(e), e;+ return h(e), g(e), _(e), v(e), x(e), j3(e), e;}m.update = function(e) {- return M3(e), e;+ return j3(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : E3(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : T3(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : E3(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : T3(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -77553,9 +77564,9 @@ function dPe() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : E3(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : T3(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : E3(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : T3(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -77571,12 +77582,12 @@ function dPe() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = j3(n, t)), typeof i != "object" && (i = r.target = j3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = A3(n, t)), typeof i != "object" && (i = r.target = A3(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(T3(t.sourceLinks, A3), T3(t.targetLinks, A3)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(w3(t.sourceLinks, k3), w3(t.targetLinks, k3)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -77601,7 +77612,7 @@ function dPe() {}}function y({ nodes: t }) {- let r = C3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = S3(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];@@ -77610,7 +77621,7 @@ function dPe() {return o;}function b(e) {- let n = w3(e, (e) => (r - t - (e.length - 1) * o) / T3(e, A3));+ let n = C3(e, (e) => (r - t - (e.length - 1) * o) / w3(e, k3));for (let i of e) {let e = t;for (let t of i) {@@ -77627,7 +77638,7 @@ function dPe() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (C3(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (S3(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);@@ -77646,7 +77657,7 @@ function dPe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(k3), w(i, n);+ l === void 0 && i.sort(O3), w(i, n);}}function C(e, t, n) {@@ -77662,7 +77673,7 @@ function dPe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(k3), w(i, n);+ l === void 0 && i.sort(O3), w(i, n);}}function w(e, n) {@@ -77683,12 +77694,12 @@ function dPe() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(O3);- for (let { target: { targetLinks: t } } of e) t.sort(D3);+ for (let { source: { sourceLinks: e } } of t) e.sort(D3);+ for (let { target: { targetLinks: t } } of e) t.sort(E3);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(O3), n.sort(D3);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(D3), n.sort(E3);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -77717,15 +77728,15 @@ function dPe() {return m;}// node_modules/d3-path/src/path.js-var N3 = Math.PI, P3 = 2 * N3, F3 = 1e-6, fPe = P3 - F3;-function I3() {+var M3 = Math.PI, N3 = 2 * M3, P3 = 1e-6, mPe = N3 - P3;+function F3() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function L3() {- return new I3();+function I3() {+ return new F3();}-I3.prototype = L3.prototype = {- constructor: I3,+F3.prototype = I3.prototype = {+ constructor: F3,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -77746,11 +77757,11 @@ I3.prototype = L3.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 > F3) {- if (!(Math.abs(u * s - c * l) > F3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);+ else if (d > P3) {+ if (!(Math.abs(u * s - c * l) > P3) || !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((N3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > F3 && (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((M3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > P3 && (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);}}},@@ -77758,7 +77769,7 @@ I3.prototype = L3.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) > F3 || Math.abs(this._y1 - l) > F3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % P3 + P3), d > fPe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > F3 && (this._ += "A" + n + "," + n + ",0," + +(d >= N3) + "," + 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) > P3 || Math.abs(this._y1 - l) > P3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % N3 + N3), d > mPe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > P3 && (this._ += "A" + n + "," + n + ",0," + +(d >= M3) + "," + 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";@@ -77768,93 +77779,93 @@ I3.prototype = L3.prototype = {}};// node_modules/d3-shape/src/constant.js-function R3(e) {+function L3(e) {return function() {return e;};}// node_modules/d3-shape/src/point.js-function pPe(e) {+function hPe(e) {return e[0];}-function mPe(e) {+function gPe(e) {return e[1];}// node_modules/d3-shape/src/array.js-var hPe = Array.prototype.slice;+var _Pe = Array.prototype.slice;// node_modules/d3-shape/src/link/index.js-function gPe(e) {+function vPe(e) {return e.source;}-function _Pe(e) {+function yPe(e) {return e.target;}-function vPe(e) {- var t = gPe, n = _Pe, r = pPe, i = mPe, a = null;+function bPe(e) {+ var t = vPe, n = yPe, r = hPe, i = gPe, a = null;function o() {- var o, s = hPe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = L3(), 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 = _Pe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = I3(), 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 : R3(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : L3(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : R3(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : L3(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function yPe(e, t, n, r, i) {+function xPe(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function bPe() {- return vPe(yPe);+function SPe() {+ return bPe(xPe);}// node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function xPe(e) {+function CPe(e) {return [e.source.x1, e.y0];}-function SPe(e) {+function wPe(e) {return [e.target.x0, e.y1];}-function CPe() {- return bPe().source(xPe).target(SPe);+function TPe() {+ return SPe().source(CPe).target(wPe);}// src/react/taste/taste.ts-var wPe = "/api/taste", z3 = "/api/taste/refresh", TPe = "/api/taste/import", B3 = "/api/taste/source", V3 = (e) => ["taste", e], EPe = ["taste", "refresh"], DPe = [+var EPe = "/api/taste", R3 = "/api/taste/refresh", DPe = "/api/taste/import", z3 = "/api/taste/source", B3 = (e) => ["taste", e], OPe = ["taste", "refresh"], kPe = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], OPe = 2e3, kPe = (e) => e?.stale && !e.error ? OPe : !1, APe = (e) => e ? new Date(e).toLocaleString("zh-CN", {+], APe = 2e3, jPe = (e) => e?.stale && !e.error ? APe : !1, MPe = (e) => e ? new Date(e).toLocaleString("zh-CN", {month: "numeric",day: "numeric",hour: "2-digit",minute: "2-digit"-}) : "—", jPe = (e, t) => V(B3, {+}) : "—", NPe = (e, t) => H(z3, {...e,window: t-}), H3 = (e, t, n = !1) => B(`${wPe}?window=${e}${n ? "&retry=1" : ""}`, t), MPe = (e) => B(z3, e);-async function NPe(e, t) {- await H.fetchQuery({- queryKey: V3(e),- queryFn: () => H3(e, t)+}), V3 = (e, t, n = !1) => V(`${EPe}?window=${e}${n ? "&retry=1" : ""}`, t), PPe = (e) => V(R3, e);+async function FPe(e, t) {+ await U.fetchQuery({+ queryKey: B3(e),+ queryFn: () => V3(e, t)});}-var PPe = (e) => V(z3, {+var IPe = (e) => H(R3, {window: e,background: !0-}), FPe = (e, t) => V(B3, {+}), LPe = (e, t) => H(z3, {operation: "remove",source_key: e,window: t});-async function IPe(e) {- let t = await fetch(TPe, {+async function RPe(e) {+ let t = await fetch(DPe, {method: "POST",credentials: "same-origin",headers: {@@ -77868,56 +77879,56 @@ async function IPe(e) {} catch {}if (!t.ok) {let e = n?.error;- throw new or(e || `导入失败(${t.status})`, t.status, n);+ throw new ar(e || `导入失败(${t.status})`, t.status, n);}return n;}-var LPe = 1e4, U3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";-function RPe(e) {+var zPe = 1e4, H3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+function BPe(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"- }) : U3(e);+ }) : H3(e);return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;}-var zPe = y3, BPe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), VPe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function HPe(e) {+var VPe = v3, HPe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), UPe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function WPe(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 UPe(e) {- let t = e.map(VPe), n = Math.max(1, ...t);+function GPe(e) {+ let t = e.map(UPe), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var W3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({+var U3 = (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 WPe(e) {- let t = W3(e, 6);+function KPe(e) {+ let t = U3(e, 6);return t.length < 3 ? [] : t;}-var G3 = {+var W3 = {width: 720,height: 435-}, GPe = {+}, qPe = {source: 145,target: 545-}, K3 = 30, KPe = 240;-function q3(e, t, n) {+}, G3 = 30, JPe = 240;+function K3(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 qPe(e = []) {+function YPe(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;- let n = q3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = q3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();+ let n = K3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = K3(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, {@@ -77926,7 +77937,7 @@ function qPe(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) * K3 + KPe), u = dPe().nodeId((e) => e.id).nodeWidth(10).nodePadding(K3).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) * G3 + JPe), u = pPe().nodeId((e) => e.id).nodeWidth(10).nodePadding(G3).extent([[155, 16], [535, l]])({nodes: [...o.map((e) => ({id: `source:${e}`,name: e,@@ -77941,7 +77952,7 @@ function qPe(e = []) {target: `target:${e.target}`,value: e.value}))- }), d = a.reduce((e, t) => e + t.value, 0), f = CPe();+ }), d = a.reduce((e, t) => e + t.value, 0), f = TPe();return {nodes: u.nodes.map((e) => ({id: e.id,@@ -77969,17 +77980,17 @@ function qPe(e = []) {};}),total: d,- height: l + G3.height - 404+ height: l + W3.height - 404};}-var JPe = (e) => er(e, 17), J3 = {+var XPe = (e) => $n(e, 17), q3 = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",series: "系列",tags: "标签"-}, YPe = [[+}, ZPe = [["big","大图 · 竖幅头像","maximize"@@ -77987,7 +77998,7 @@ var JPe = (e) => er(e, 17), J3 = {"compact","紧凑 · 圆形头像","layout-grid"-]], XPe = [[+]], QPe = [["big","大图 · 完整标识","maximize"@@ -77995,7 +78006,7 @@ var JPe = (e) => er(e, 17), J3 = {"compact","紧凑 · 圆形标识","layout-grid"-]], ZPe = [[+]], $Pe = [["big","大图 · 系列图片","maximize"@@ -78003,7 +78014,7 @@ var JPe = (e) => er(e, 17), J3 = {"compact","紧凑 · 系列图片","layout-grid"-]], QPe = [+]], eFe = [["studios","厂牌",@@ -78019,7 +78030,7 @@ var JPe = (e) => er(e, 17), J3 = {"系列","file-stack"]-], $Pe = [[+], tFe = [["local","本地","hard-drive"@@ -78027,7 +78038,7 @@ var JPe = (e) => er(e, 17), J3 = {"online","在线","rss"-]], eFe = [+]], nFe = [["performers","艺人",@@ -78043,7 +78054,7 @@ var JPe = (e) => er(e, 17), J3 = {"在线","rss"]-], tFe = [[+], rFe = [["cloud","标签云","tags"@@ -78051,8 +78062,8 @@ var JPe = (e) => er(e, 17), J3 = {"alphabet","字母表","text-aa"-]], Y3 = (e) => e === "compact" ? "compact" : "big";-function X3(e, t) {+]], J3 = (e) => e === "compact" ? "compact" : "big";+function Y3(e, t) {let n = new URLSearchParams(t);return {kind: e,@@ -78062,7 +78073,7 @@ function X3(e, t) {category: n.get("category") || "all"};}-var Z3 = (e, t, n) => Hs(e.map(([e, t, n]) => ({+var X3 = (e, t, n) => Vs(e.map(([e, t, n]) => ({value: e,label: t,symbol: n@@ -78070,43 +78081,43 @@ var Z3 = (e, t, n) => Hs(e.map(([e, t, n]) => ({active: t,label: n,className: "indextabs"-}), nFe = (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">+}), iFe = (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">${Qc("tag-view", "标签视图", tFe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;-function rFe({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = J3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Qc("people-layout", o + "索引版式", e === "series" ? ZPe : c ? XPe : YPe, a) : "";+ <span class="ml-auto">${Zc("tag-view", "标签视图", rFe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;+function aFe({ kind: e, q: t, scope: n, view: r, category: i }, a) {+ let o = q3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Zc("people-layout", o + "索引版式", e === "series" ? $Pe : c ? QPe : ZPe, 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}- ${Ts("default")}- ${e === "tags" ? Ds({+ ${ws("default")}+ ${e === "tags" ? Es({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">${Es("", t, "过滤" + o)}</div>+ <div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ts("", t, "过滤" + o)}</div></div>- ${e === "tags" ? Z3($Pe, n, "词表") : e === "performers" || e === "creators" ? Z3(eFe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? Z3(QPe, e, "资料类型") : ""}- ${e === "tags" ? nFe(r) : ""}- ${e === "performers" && n !== "online" ? $Te(i) : ""}- ${ac({+ ${e === "tags" ? X3(tFe, n, "词表") : e === "performers" || e === "creators" ? X3(nFe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? X3(eFe, e, "资料类型") : ""}+ ${e === "tags" ? iFe(r) : ""}+ ${e === "performers" && n !== "online" ? nEe(i) : ""}+ ${ic({kind: e,layout: a,mode: r})}`;}-var iFe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";-function Q3(e, t, n) {- let r = rFe(t, n);- e.querySelector("[data-skeleton]")?.dataset.skeleton !== iFe(r) && (e.innerHTML = r, fc(e));+var oFe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";+function Z3(e, t, n) {+ let r = aFe(t, n);+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== oFe(r) && (e.innerHTML = r, dc(e));}// src/react/router/pages/index-entity.tsx-var aFe = () => fu, oFe = () => Zl, $3 = () => document.getElementById("index");-function e6(e, t, n = {}) {- let r = (0, F.useSyncExternalStore)(Cu, aFe);- ef();- let i = Bf(W.navigation.location.pathname), a = (0, F.useRef)({+var sFe = () => du, cFe = () => Xl, Q3 = () => document.getElementById("index");+function $3(e, t, n = {}) {+ let r = (0, F.useSyncExternalStore)(Su, sFe);+ $d();+ let i = zf(Dp.navigation.location.pathname), a = (0, F.useRef)({mounted: !0,epoch: -1,opens: -1,@@ -78130,8 +78141,8 @@ function e6(e, t, n = {}) {r !== 0 && queueMicrotask(() => {let t = a.current;if (!t.mounted) return;- let n = t.epoch !== e || t.opens !== fu, r = t.opens !== fu;- if (t.epoch = e, t.opens = fu, Bf(W.navigation.location.pathname)) {+ let n = t.epoch !== e || t.opens !== du, r = t.opens !== du;+ if (t.epoch = e, t.opens = du, zf(Dp.navigation.location.pathname)) {n && o.current.options.onCovered?.();return;}@@ -78152,14 +78163,14 @@ function e6(e, t, n = {}) {i]);}-async function sFe(e, t, n, r) {- let i = $3();+async function lFe(e, t, n, r) {+ let i = Q3();if (!i) return;- let a = `/${t}`, o = X3(t, n), s = Y3(lM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;- c || (e.surfaceChanged("index", a), Q3(i, o, s), fm(r, i, { pending: !0 })), await mp(a, {+ let a = `/${t}`, o = Y3(t, n), s = J3(lM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;+ c || (e.surfaceChanged("index", a), Z3(i, o, s), fm(r, i, { pending: !0 })), await pp(a, {...o,layout: s,- selectMode: Zl,+ selectMode: Xl,configurable: !!e.configurable?.()}, {container: i,@@ -78167,39 +78178,39 @@ async function sFe(e, t, n, r) {reuse: c}) && r() && (e.surfaceShown?.("index", a), fm(r, i));}-function cFe(e) {- let t = $3(), n = t ? lp(t) : null;+function uFe(e) {+ let t = Q3(), n = t ? cp(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}-function lFe({ epoch: e }) {- let t = (0, F.useContext)(ZW), n = ef(), r = n.pathname.split("/").filter(Boolean)[0];- return e6(e, (e, i) => {- t && sFe(t, r, n.search, i);- }, { shown: () => cFe(`/${r}`) }), null;+function dFe({ epoch: e }) {+ let t = (0, F.useContext)(qW), n = $d(), r = n.pathname.split("/").filter(Boolean)[0];+ return $3(e, (e, i) => {+ t && lFe(t, r, n.search, i);+ }, { shown: () => uFe(`/${r}`) }), null;}-function uFe() {- let e = XW(), t = (0, F.useSyncExternalStore)(Cu, oFe), n = (0, F.useRef)(t);+function fFe() {+ let e = KW(), t = (0, F.useSyncExternalStore)(Su, cFe), n = (0, F.useRef)(t);return (0, F.useEffect)(() => {- n.current !== t && (n.current = t, window.location.pathname === "/tags" && gp($3(), { selectMode: t }));- }, [t]), /* @__PURE__ */ (0, I.jsx)(lFe, { epoch: e }, e);+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && hp(Q3(), { selectMode: t }));+ }, [t]), /* @__PURE__ */ (0, I.jsx)(dFe, { epoch: e }, e);}-function dFe(e) {+function pFe(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(jn, n) ? jn[n] : void 0, a = r.join("/");return i && a ? {segment: n,kind: i,name: a} : null;}-var t6 = /* @__PURE__ */ new WeakMap();-function fFe(e) {- let t = t6.get(e);+var e6 = /* @__PURE__ */ new WeakMap();+function mFe(e) {+ let t = e6.get(e);return t || (t = {helpers: {...e.grid.helpers,@@ -78209,18 +78220,18 @@ function fFe(e) {...e.grid.actions,revealSource: e.revealSource}- }, t6.set(e, t)), t;+ }, e6.set(e, t)), t;}-function n6() {- let e = $3(), t = e ? lp(e) : null;+function t6() {+ let e = Q3(), t = e ? cp(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}-async function pFe(e, t, n, r, i, a, o) {- let s = $3();+async function hFe(e, t, n, r, i, a, o) {+ let s = Q3();if (!s) return;let { segment: c, kind: l, name: u } = n;if (!a()) return;- xu({ entityJavLayout: !1 });+ bu({ 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 = {@@ -78239,48 +78250,48 @@ async function pFe(e, t, n, r, i, a, o) {let g = {...h,hosts: m,- card: fFe(e),+ card: mFe(e),resolvedEntity: o,restoreNavigation: um(),actions: {...h.actions,javContext: (e) => {- xu({ entityJavLayout: !!e });+ bu({ entityJavLayout: !!e });}}};- await mp(`/${c}/*`, g, {+ await pp(`/${c}/*`, g, {container: s,isCurrent: a,beforePlace: () => e.surfaceChanged("entity", r),place: (e) => (e.replaceChildren(...f), p.firstElementChild)- }) && a() && n6() && (e.surfaceShown?.("entity", r), fm(a, m.filter));+ }) && a() && t6() && (e.surfaceShown?.("entity", r), fm(a, m.filter));}-function mFe({ target: e }) {- let t = (0, F.useContext)(ZW), n = XW(), r = ef();- return e6(n, (n, i) => {+function gFe({ target: e }) {+ let t = (0, F.useContext)(qW), n = KW(), r = $d();+ return $3(n, (n, i) => {let a = t?.entity;t && a && (async () => {- if (n || !n6()) {+ if (n || !t6()) {if (t.surfaceChanged("entity", r.pathname), await a.loading(e.kind, e.name, i), !i()) return;- fm(i, $3(), { pending: !0 });+ fm(i, Q3(), { pending: !0 });}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 U.fetchQuery({queryKey: ["entity-route",e.kind,e.name],- queryFn: ({ signal: e }) => B(`/api/entity?${o}`, e),+ queryFn: ({ signal: e }) => V(`/api/entity?${o}`, e),staleTime: um() ? Infinity : 0}).catch(() => null);if (!i()) return;if (s?.redirect) {- Op(Nn(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {+ Op(Mn(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {replace: !0,- state: W.navigation.location.state+ state: Dp.navigation.location.state});return;}@@ -78288,25 +78299,25 @@ function mFe({ target: e }) {a.missing(e.kind), fm(i);return;}- let c = String(s.canonical_name || e.name), l = Nn(e.kind, c, Number(s.id));- l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? fm(i, $3()?.querySelector("[data-entity-filter]")) : pFe(t, a, {+ let c = String(s.canonical_name || e.name), l = Mn(e.kind, c, Number(s.id));+ l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? fm(i, Q3()?.querySelector("[data-entity-filter]")) : hFe(t, a, {...e,name: c}, r.pathname, r.search, i, s) : Op(l + r.search + r.hash, {replace: !0,- state: W.navigation.location.state+ state: Dp.navigation.location.state});})();- }, { shown: () => n6() && !$3()?.hidden }), null;+ }, { shown: () => t6() && !Q3()?.hidden }), null;}-function hFe() {- let e = dFe(ef().pathname);- return e ? /* @__PURE__ */ (0, I.jsx)(mFe, { target: e }, JSON.stringify([e.kind, e.name])) : null;+function _Fe() {+ let e = pFe($d().pathname);+ return e ? /* @__PURE__ */ (0, I.jsx)(gFe, { target: e }, JSON.stringify([e.kind, e.name])) : null;}// src/react/router/pages/follow.tsx-var r6 = () => document.getElementById("stats"), gFe = () => vu;-async function _Fe(e, t) {- let n = r6(), r = e.follow;+var n6 = () => document.getElementById("stats"), vFe = () => _u;+async function yFe(e, t) {+ let n = n6(), r = e.follow;if (!n || !r) return;let i = lm("follow"), a = r.refresh(i), o = r.props();if (cm("follow", {@@ -78314,147 +78325,147 @@ async function _Fe(e, t) {seed: o.seed,revision: o.revision}), a) return;- let s = H.getQueryData(na(o.view, o.revision).queryKey) !== void 0;- s || (e.surfaceChanged("follow", "/follow"), w2(n, r.skeleton()), fm(t, n, { pending: !0 })), await mp("/follow", o, {+ let s = U.getQueryData(ta(o.view, o.revision).queryKey) !== void 0;+ s || (e.surfaceChanged("follow", "/follow"), C2(n, r.skeleton()), fm(t, n, { pending: !0 })), await pp("/follow", o, {container: n,isCurrent: t,beforePlace: s ? () => e.surfaceChanged("follow", "/follow") : void 0}), t() && fm(t, n.querySelector("[data-filter-frame]"));}-function vFe() {- let e = r6(), t = e ? lp(e) : null;+function bFe() {+ let e = n6(), t = e ? cp(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}-function yFe() {- let e = (0, F.useContext)(ZW);- return e6(XW(), (t, n) => {- e && _Fe(e, n);+function xFe() {+ let e = (0, F.useContext)(qW);+ return $3(KW(), (t, n) => {+ e && yFe(e, n);}, {- shown: vFe,+ shown: bFe,onCovered: () => {- W.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();+ Dp.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();}}), null;}-function i6(e) {- let t = e ? lp(e) : null;+function r6(e) {+ let t = e ? cp(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}-async function bFe(e, t) {- let n = r6();- n && (e.surfaceChanged("playlists", "/playlists"), w2(n, S2("/playlists", {+async function SFe(e, t) {+ let n = n6();+ n && (e.surfaceChanged("playlists", "/playlists"), C2(n, x2("/playlists", {followLayout: "",followSort: "",followDir: ""- })), fm(t, n, { pending: !0 }), await mp("/playlists", { revision: vu }, {+ })), fm(t, n, { pending: !0 }), await pp("/playlists", { revision: _u }, {container: n,isCurrent: t}), t() && fm(t));}-function xFe() {- let e = (0, F.useContext)(ZW), t = (0, F.useSyncExternalStore)(Cu, gFe), n = (0, F.useRef)(t);+function CFe() {+ let e = (0, F.useContext)(qW), t = (0, F.useSyncExternalStore)(Su, vFe), n = (0, F.useRef)(t);return (0, F.useEffect)(() => {if (n.current === t) return;n.current = t;- let e = r6();- i6(e) && gp(e, { revision: t });- }, [t]), e6(XW(), (t, n) => {- e && bFe(e, n);+ let e = n6();+ r6(e) && hp(e, { revision: t });+ }, [t]), $3(KW(), (t, n) => {+ e && SFe(e, n);}, { shown: () => {- let e = r6();- return i6(e) && !e.hidden;+ let e = n6();+ return r6(e) && !e.hidden;} }), null;}// src/react/router/pages/immerse.tsx-function SFe() {- let e = new URLSearchParams(W.navigation.location.search).get("id");+function wFe() {+ let e = new URLSearchParams(Dp.navigation.location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function CFe() {- let e = (0, F.useContext)(ZW);- return WW(() => {- e?.openImmerse(SFe());+function TFe() {+ let e = (0, F.useContext)(qW);+ return BW(() => {+ e?.openImmerse(wFe());}, !0), null;}-function wFe() {- return /* @__PURE__ */ (0, I.jsx)(CFe, {}, XW());+function EFe() {+ return /* @__PURE__ */ (0, I.jsx)(TFe, {}, KW());}// src/react/router/pages/managed.tsx-var TFe = () => fu > 0, a6 = () => (0, F.useSyncExternalStore)(Cu, TFe), o6 = () => lM().value.followLayout === "table" ? "table" : "default", s6 = () => new URLSearchParams(window.location.search);-function c6(e) {- return wn("/healthz", { signal: e.controller.signal }).catch((e) => {- if (Tn(e)) return null;+var DFe = () => du > 0, i6 = () => (0, F.useSyncExternalStore)(Su, DFe), a6 = () => lM().value.followLayout === "table" ? "table" : "default", o6 = () => new URLSearchParams(window.location.search);+function s6(e) {+ return Cn("/healthz", { signal: e.controller.signal }).catch((e) => {+ if (wn(e)) return null;throw e;});}-function l6(e, t) {+function c6(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 EFe(e, t) {+async function OFe(e, t) {if (e === "/jav") {- let e = await c6(t);+ let e = await s6(t);return t.live ? {- tab: bU(s6().get("tab")),+ tab: vU(o6().get("tab")),readOnly: !!e?.ledger_read_only} : null;}if (e === "/stats") return {};if (e === "/taste") {- let e = du;- return xu({ cameFromSetup: !1 }), { onboarding: e };+ let e = uu;+ return bu({ cameFromSetup: !1 }), { onboarding: e };}if (e.startsWith("/settings/")) {- window.location.hash === "#peachProxy" && xu({ configurationRequestedSection: "网络与访问" });- let t = s6().get("section") || lu || Af(e);+ window.location.hash === "#peachProxy" && bu({ configurationRequestedSection: "网络与访问" });+ let t = o6().get("section") || cu || kf(e);return t ? { section: t } : {};}if (e === "/review") {- let e = s6().get("category") || "", n = await c6(t);+ let e = o6().get("category") || "", n = await s6(t);return t.live ? {- category: NY(e) ? e : "",- queue: IY(s6().get("queue")),- ...l6(n, "/review")+ category: kY(e) ? e : "",+ queue: MY(o6().get("queue")),+ ...c6(n, "/review")} : null;}if (e === "/subscriptions") {- let e = HZ("?" + s6().toString()), n = await c6(t);+ let e = zZ("?" + o6().toString()), n = await s6(t);if (!t.live) return null;let r = lM().value;return {...e,pageSize: Number(r.followPageSize) || 20,- layout: o6(),- ...l6(n, "/subscriptions")+ layout: a6(),+ ...c6(n, "/subscriptions")};}return {};}-async function DFe(e, t, n) {- let r = W.navigation.seq, i = () => n.live && W.navigation.seq === r;- if (e === "/jav" && bU(s6().get("tab")) === "library") {- W.replace(sve(window.location.search));+async function kFe(e, t, n) {+ let r = Dp.navigation.seq, i = () => n.live && Dp.navigation.seq === r;+ if (e === "/jav" && vU(o6().get("tab")) === "library") {+ Dp.replace(lve(window.location.search));return;}- if (e === "/subscriptions" && s6().get("tab") === "wants") {+ if (e === "/subscriptions" && o6().get("tab") === "wants") {Op("/jav?tab=wants", { replace: !0 });return;}- if (e === "/subscriptions" && s6().get("tab") === "source") {+ if (e === "/subscriptions" && o6().get("tab") === "source") {Op("/settings/subscriptions", { replace: !0 });return;}let a = document.getElementById("stats");if (!a) return;- t.surfaceChanged("management", e), w2(a, S2(e, {- followLayout: o6(),- followSort: s6().get("sort") || "",- followDir: s6().get("dir") || ""- })), fm(i, a, { pending: !0 }), e === "/taste" && (xu({ state: {- ...U,+ t.surfaceChanged("management", e), C2(a, x2(e, {+ followLayout: a6(),+ followSort: o6().get("sort") || "",+ followDir: o6().get("dir") || ""+ })), fm(i, a, { pending: !0 }), e === "/taste" && (bu({ state: {+ ...W,creator: "",studio: "",tag: "",@@ -78468,13 +78479,13 @@ async function DFe(e, t, n) {q: "",jav: ""} }), t.clearSearch());- let o = await EFe(e, n);+ let o = await OFe(e, n);if (!o) return;- let s = await mp(e, o, {+ let s = await pp(e, o, {container: a,isCurrent: i});- if (s && (n.revision = lp(a)?.revision ?? 0), e.startsWith("/settings/") && s && xu({ configurationRequestedSection: "" }), s && i()) {+ if (s && (n.revision = cp(a)?.revision ?? 0), e.startsWith("/settings/") && s && bu({ configurationRequestedSection: "" }), s && i()) {let { hash: t } = window.location;e === "/settings/library" && t === "#libraryProcessing" ? queueMicrotask(() => {i() && Op("/data-cleanup#libraryProcessing", {@@ -78484,21 +78495,21 @@ async function DFe(e, t, n) {}) : fm(i);}}-function u6({ path: e }) {- let t = XW();- ef();- let n = Bf(W.navigation.location.pathname), r = (0, F.useRef)(n ? null : t), i = (0, F.useRef)(n);+function l6({ path: e }) {+ let t = KW();+ $d();+ let n = zf(Dp.navigation.location.pathname), r = (0, F.useRef)(n ? null : t), i = (0, F.useRef)(n);n || i.current && r.current !== null || (r.current = t), i.current = n;let a = e.startsWith("/settings/") ? "/settings/configuration" : e;- return /* @__PURE__ */ (0, I.jsx)(OFe, {+ return /* @__PURE__ */ (0, I.jsx)(AFe, {path: e,covered: r.current === null}, `${a} ${r.current ?? "covered"}`);}-function OFe({ path: e, covered: t }) {- let n = (0, F.useContext)(ZW), r = a6(), i = (0, F.useRef)(null);+function AFe({ path: e, covered: t }) {+ let n = (0, F.useContext)(qW), r = i6(), i = (0, F.useRef)(null);return (0, F.useEffect)(() => {- e.startsWith("/settings/") && gp(document.getElementById("stats"), { section: Af(e) });+ e.startsWith("/settings/") && hp(document.getElementById("stats"), { section: kf(e) });}, [e]), (0, F.useEffect)(() => {if (t || !n || !r || i.current) return;let a = {@@ -78507,17 +78518,17 @@ function OFe({ path: e, covered: t }) {controller: new AbortController()};i.current = a, queueMicrotask(() => {- a.live && DFe(e, n, a);+ a.live && kFe(e, n, a);});}, [r]), (0, F.useEffect)(() => () => {let e = i.current;e && (e.live = !1, e.controller.abort());}, []), null;}-function kFe() {- let e = a6(), t = (0, F.useRef)(!1);+function jFe() {+ let e = i6(), t = (0, F.useRef)(!1);return (0, F.useEffect)(() => {- if (!e || t.current || Bf(W.navigation.location.pathname)) return;+ if (!e || t.current || zf(Dp.navigation.location.pathname)) return;t.current = !0;let n = !0;return queueMicrotask(() => {@@ -78528,24 +78539,24 @@ function kFe() {}, [e]), null;}// src/react/router/route-chunk.ts-var d6 = [], f6 = "peach.chunkReloadAt", AFe = 3e4;-async function jFe() {+var u6 = [], d6 = "peach.chunkReloadAt", MFe = 3e4;+async function NFe() {try {- let e = Number(sessionStorage.getItem(f6) || 0);- if (Date.now() - e < AFe || !(await fetch("/healthz", {+ let e = Number(sessionStorage.getItem(d6) || 0);+ if (Date.now() - e < MFe || !(await fetch("/healthz", {cache: "no-store",credentials: "same-origin"})).ok) return;- sessionStorage.setItem(f6, String(Date.now())), location.reload();+ sessionStorage.setItem(d6, String(Date.now())), location.reload();} catch {}}-function p6(e) {+function f6(e) {let t = null, n = null, r = () => n ??= e().then((e) => (t = { module: e }, e), (e) => {throw n = null, e;});- return d6.push(r), {+ return u6.push(r), {preload: () => r().catch(async (e) => {- throw await jFe(), e;+ throw await NFe(), e;}),get: () => {if (!t) throw Error("页面代码还没装载");@@ -78553,10 +78564,10 @@ function p6(e) {}};}-function MFe() {+function PFe() {let e = globalThis.requestIdleCallback;if (typeof e != "function") return;- let t = [...d6], n = () => {+ let t = [...u6], n = () => {let r = t.shift();r && e(() => {r().catch(() => {}).finally(n);@@ -78565,31 +78576,31 @@ function MFe() {document.readyState === "complete" ? n() : window.addEventListener("load", n, { once: !0 });}// src/react/router/managed-routes.tsx-async function m6(e, t) {+async function p6(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 h6 = p6(() => import("./peach-app.jav-page-DUZe3Cv7.js")), g6 = p6(() => import("./peach-app.stats-page-DhNggTPt.js")), _6 = p6(() => import("./peach-app.taste-page-O5P41pRb.js")), v6 = p6(() => import("./peach-app.review-page-kd1HFP2A.js")), y6 = p6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), b6 = p6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), x6 = p6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), S6 = p6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), C6 = p6(async () => {+var m6 = f6(() => import("./peach-app.jav-page-DUZe3Cv7.js")), h6 = f6(() => import("./peach-app.stats-page-DhNggTPt.js")), g6 = f6(() => import("./peach-app.taste-page-O5P41pRb.js")), _6 = f6(() => import("./peach-app.review-page-kd1HFP2A.js")), v6 = f6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), y6 = f6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), b6 = f6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), x6 = f6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), S6 = f6(async () => {let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-BkqUJk6k.js"), import("./peach-app.diagnostics-page-DS1L_wLs.js")]);return {ConfigurationPage: e,DiagnosticsPage: t};-}), w6 = p6(() => import("./peach-app.activity-page-CDOzqSMm.js")), T6 = p6(() => import("./peach-app.follow-manage-page-Bvnaf0EO.js")), E6 = p6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));-function NFe(e, t, n) {+}), C6 = f6(() => import("./peach-app.activity-page-CDOzqSMm.js")), w6 = f6(() => import("./peach-app.follow-manage-page-Bvnaf0EO.js")), T6 = f6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));+function FFe(e, t, n) {if (e === "duplicates") {n("/duplicates");return;}let r = t.managePath(e);- k6(r) ? n(r) : t.openManage(e);+ O6(r) ? n(r) : t.openManage(e);}-var D6 = (e) => ({- element: /* @__PURE__ */ (0, I.jsx)(u6, { path: e }),- prefetch: (t, n) => m6(C6, Promise.all([Xke(n), ...e === "/settings/diagnostics" ? [yOe(n)] : []]).then(() => {})),+var E6 = (e) => ({+ element: /* @__PURE__ */ (0, I.jsx)(l6, { path: e }),+ prefetch: (t, n) => p6(S6, Promise.all([Qke(n), ...e === "/settings/diagnostics" ? [SOe(n)] : []]).then(() => {})),page: (t, n) => {- let { ConfigurationPage: r, DiagnosticsPage: i } = C6.get();+ let { ConfigurationPage: r, DiagnosticsPage: i } = S6.get();return /* @__PURE__ */ (0, I.jsx)(r, {receipt: (e) => n.receipt(e),reopenTutorial: n.reopenTutorial,@@ -78600,12 +78611,12 @@ var D6 = (e) => ({})});}-}), O6 = {- ...Yf.reduce((e, t) => (e[t.path] = {- element: /* @__PURE__ */ (0, I.jsx)(u6, { path: t.path }),- prefetch: (e, n) => m6(y6, UTe(t.key, n)),+}), D6 = {+ ...Jf.reduce((e, t) => (e[t.path] = {+ element: /* @__PURE__ */ (0, I.jsx)(l6, { path: t.path }),+ prefetch: (e, n) => p6(v6, KTe(t.key, n)),page: (e, n) => {- let { DataCleanupToolPage: r } = y6.get();+ let { DataCleanupToolPage: r } = v6.get();return /* @__PURE__ */ (0, I.jsx)(r, {tool: t.key,failure: n.failure,@@ -78614,10 +78625,10 @@ var D6 = (e) => ({}}, e), {}),"/jav": {- element: /* @__PURE__ */ (0, I.jsx)(u6, { path: "/jav" }),- prefetch: (e, t) => m6(h6, SW(e.tab, t)),+ element: /* @__PURE__ */ (0, I.jsx)(l6, { path: "/jav" }),+ prefetch: (e, t) => p6(m6, fye(e.tab, t)),page: (e, t) => {- let { JavPage: n } = h6.get();+ let { JavPage: n } = m6.get();return /* @__PURE__ */ (0, I.jsx)(n, {...e,navigate: t.navigate,@@ -78626,21 +78637,21 @@ var D6 = (e) => ({}},"/stats": {- element: /* @__PURE__ */ (0, I.jsx)(u6, { path: "/stats" }),- prefetch: (e, t) => m6(g6, GNe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(l6, { path: "/stats" }),+ prefetch: (e, t) => p6(h6, qNe(t)),page: (e, t) => {- let { StatsPage: n } = g6.get();+ let { StatsPage: n } = h6.get();return /* @__PURE__ */ (0, I.jsx)(n, {- tagLabel: Il,+ tagLabel: Fl,onTag: t.openTag});}},"/taste": {- element: /* @__PURE__ */ (0, I.jsx)(u6, { path: "/taste" }),- prefetch: (e, t) => m6(_6, NPe("all", t)),+ element: /* @__PURE__ */ (0, I.jsx)(l6, { path: "/taste" }),+ prefetch: (e, t) => p6(g6, FPe("all", t)),page: (e, t, n) => {- let { TastePage: r } = _6.get();+ let { TastePage: r } = g6.get();return /* @__PURE__ */ (0, I.jsx)(r, {onSignal: t.openTasteSignal,navigate: n,@@ -78650,10 +78661,10 @@ var D6 = (e) => ({}},"/review": {- element: /* @__PURE__ */ (0, I.jsx)(u6, { path: "/review" }),- prefetch: (e, t) => m6(v6, Nwe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(l6, { path: "/review" }),+ prefetch: (e, t) => p6(_6, Lwe(t)),page: (e, t) => {- let { ReviewPage: n } = v6.get();+ let { ReviewPage: n } = _6.get();return /* @__PURE__ */ (0, I.jsx)(n, {...e,route: t.routeReview,@@ -78665,23 +78676,23 @@ var D6 = (e) => ({}},"/data-cleanup": {- element: /* @__PURE__ */ (0, I.jsx)(u6, { path: "/data-cleanup" }),- prefetch: (e, t) => m6(y6, HTe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(l6, { path: "/data-cleanup" }),+ prefetch: (e, t) => p6(v6, GTe(t)),page: (e, t, n) => {- let { DataCleanupPage: r } = y6.get();+ let { DataCleanupPage: r } = v6.get();return /* @__PURE__ */ (0, I.jsx)(r, {navigate: n,failure: t.failure,- open: (e) => NFe(e, t, n),+ open: (e) => FFe(e, t, n),toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)});}},"/duplicates": {- element: /* @__PURE__ */ (0, I.jsx)(u6, { path: "/duplicates" }),- prefetch: (e, t) => m6(b6, YCe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(l6, { path: "/duplicates" }),+ prefetch: (e, t) => p6(y6, $Ce(t)),page: (e, t) => {- let { DuplicatesPage: n } = b6.get();+ let { DuplicatesPage: n } = y6.get();return /* @__PURE__ */ (0, I.jsx)(n, {openItem: t.openItem,failure: t.failure,@@ -78690,46 +78701,46 @@ var D6 = (e) => ({}},"/quality-goals": {- element: /* @__PURE__ */ (0, I.jsx)(u6, { path: "/quality-goals" }),- prefetch: (e, t) => m6(x6, swe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(l6, { path: "/quality-goals" }),+ prefetch: (e, t) => p6(b6, dwe(t)),page: (e, t) => {- let { QualityGoalsPage: n } = x6.get();+ let { QualityGoalsPage: n } = b6.get();return /* @__PURE__ */ (0, I.jsx)(n, {openItem: t.openItem,- javTitleHtml: tL,- javDisplayName: eL,+ javTitleHtml: $I,+ javDisplayName: QI,toast: (e) => t.receipt(e),srcBadge: t.srcBadge});}},"/sources": {- element: /* @__PURE__ */ (0, I.jsx)(u6, { path: "/sources" }),- prefetch: (e, t) => m6(S6, Lke(t)),+ element: /* @__PURE__ */ (0, I.jsx)(l6, { path: "/sources" }),+ prefetch: (e, t) => p6(x6, Bke(t)),page: (e, t) => {- let { ScrapingPage: n } = S6.get();+ let { ScrapingPage: n } = x6.get();return /* @__PURE__ */ (0, I.jsx)(n, { toast: (e) => t.toast(e) });}},- "/settings/library": D6("/settings/library"),- "/settings/subscriptions": D6("/settings/subscriptions"),- "/settings/downloads": D6("/settings/downloads"),- "/settings/network": D6("/settings/network"),- "/settings/maintenance": D6("/settings/maintenance"),- "/settings/diagnostics": D6("/settings/diagnostics"),+ "/settings/library": E6("/settings/library"),+ "/settings/subscriptions": E6("/settings/subscriptions"),+ "/settings/downloads": E6("/settings/downloads"),+ "/settings/network": E6("/settings/network"),+ "/settings/maintenance": E6("/settings/maintenance"),+ "/settings/diagnostics": E6("/settings/diagnostics"),"/tasks": {- element: /* @__PURE__ */ (0, I.jsx)(u6, { path: "/tasks" }),- prefetch: (e, t) => m6(w6, Kfe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(l6, { path: "/tasks" }),+ prefetch: (e, t) => p6(C6, Jfe(t)),page: () => {- let { ActivityPage: e } = w6.get();+ let { ActivityPage: e } = C6.get();return /* @__PURE__ */ (0, I.jsx)(e, {});}},"/subscriptions": {- element: /* @__PURE__ */ (0, I.jsx)(u6, { path: "/subscriptions" }),- prefetch: (e, t) => m6(T6, Li(t)),+ element: /* @__PURE__ */ (0, I.jsx)(l6, { path: "/subscriptions" }),+ prefetch: (e, t) => p6(w6, Ii(t)),page: (e, t) => {- let { FollowManagePage: n } = T6.get();+ let { FollowManagePage: n } = w6.get();return /* @__PURE__ */ (0, I.jsx)(n, {...e,route: t.routeFollowManage,@@ -78739,12 +78750,12 @@ var D6 = (e) => ({});}}-}, k6 = (e) => Object.hasOwn(O6, e), PFe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(kFe, {}) } }, FFe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(wFe, {}) } }, A6 = {+}, O6 = (e) => Object.hasOwn(D6, e), IFe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(jFe, {}) } }, LFe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(EFe, {}) } }, k6 = {"/playlists": {- element: /* @__PURE__ */ (0, I.jsx)(xFe, {}),- prefetch: (e, t) => m6(E6, xke(t)),+ element: /* @__PURE__ */ (0, I.jsx)(CFe, {}),+ prefetch: (e, t) => p6(T6, wke(t)),page: (e, t) => {- let { PlaylistsPage: n } = E6.get();+ let { PlaylistsPage: n } = T6.get();return /* @__PURE__ */ (0, I.jsx)(n, {revision: e.revision,openPlaylist: t.openPlaylist,@@ -78755,73 +78766,73 @@ var D6 = (e) => ({}},"/follow": {- element: /* @__PURE__ */ (0, I.jsx)(yFe, {}),- prefetch: (e, t) => aa(e, t),- page: (e) => /* @__PURE__ */ (0, I.jsx)(ZEe, { ...e })- }-}, j6 = (e) => Object.hasOwn(A6, e), M6 = {- element: /* @__PURE__ */ (0, I.jsx)(uFe, {}),- prefetch: (e, t) => uEe(e, t),- page: (e, t) => /* @__PURE__ */ (0, I.jsx)(NOe, {+ element: /* @__PURE__ */ (0, I.jsx)(xFe, {}),+ prefetch: (e, t) => ia(e, t),+ page: (e) => /* @__PURE__ */ (0, I.jsx)(eDe, { ...e })+ }+}, A6 = (e) => Object.hasOwn(k6, e), j6 = {+ element: /* @__PURE__ */ (0, I.jsx)(fFe, {}),+ prefetch: (e, t) => pEe(e, t),+ page: (e, t) => /* @__PURE__ */ (0, I.jsx)(IOe, {...e,route: t.routeIndex,savePreference: t.savePeopleLayout,exitSelectMode: t.exitSelectMode,personAvatar: t.personAvatar,authorAvatar: t.authorAvatar,- tagLabel: Il,+ tagLabel: Fl,openEntity: t.openEntity,showTags: t.showIndexTags,openFollowAuthor: t.openFollowAuthor,openFollowTag: t.openFollowTag})+}, M6 = {+ "/performers": j6,+ "/creators": j6,+ "/studios": j6,+ "/agencies": j6,+ "/tags": j6,+ "/series": j6}, N6 = {- "/performers": M6,- "/creators": M6,- "/studios": M6,- "/agencies": M6,- "/tags": M6,- "/series": M6+ element: /* @__PURE__ */ (0, I.jsx)(_Fe, {}),+ prefetch: (e) => tEe(e),+ page: (e) => /* @__PURE__ */ (0, I.jsx)(_Oe, { ...e })}, P6 = {- element: /* @__PURE__ */ (0, I.jsx)(hFe, {}),- prefetch: (e) => QTe(e),- page: (e) => /* @__PURE__ */ (0, I.jsx)(mOe, { ...e })+ "/performers/*": N6,+ "/studios/*": N6,+ "/creators/*": N6,+ "/series/*": N6,+ "/agencies/*": N6,+ "/tags/*": N6}, F6 = {- "/performers/*": P6,- "/studios/*": P6,- "/creators/*": P6,- "/series/*": P6,- "/agencies/*": P6,- "/tags/*": P6-}, I6 = {"/": {- element: /* @__PURE__ */ (0, I.jsx)(zW, {}),+ element: /* @__PURE__ */ (0, I.jsx)(FW, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, I.jsx)(pY, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(lY, { ...e })},"/junk-files": {- element: /* @__PURE__ */ (0, I.jsx)(zW, {}),+ element: /* @__PURE__ */ (0, I.jsx)(FW, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, I.jsx)(KOe, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(YOe, { ...e })}-}, L6 = (e) => Object.hasOwn(I6, e), IFe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(Z_e, { ...e }) : /* @__PURE__ */ (0, I.jsx)(N$, { ...e }), R6 = {+}, I6 = (e) => Object.hasOwn(F6, e), RFe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)($_e, { ...e }) : /* @__PURE__ */ (0, I.jsx)(A$, { ...e }), L6 = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, I.jsx)(Kye, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(Xye, { ...e })},"feed-new": {- prefetch: (e) => JTe(e),- page: (e) => /* @__PURE__ */ (0, I.jsx)(bOe, { ...e })+ prefetch: (e) => ZTe(e),+ page: (e) => /* @__PURE__ */ (0, I.jsx)(COe, { ...e })},"library-processing": {- prefetch: (e, t) => vH(t),- page: (e) => /* @__PURE__ */ (0, I.jsx)(IFe, { ...e })+ prefetch: (e, t) => gH(t),+ page: (e) => /* @__PURE__ */ (0, I.jsx)(RFe, { ...e })},search: {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, I.jsx)(Wke, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(qke, { ...e })}-}, z6 = (e) => Object.hasOwn(R6, e), B6 = {+}, R6 = (e) => Object.hasOwn(L6, e), z6 = {"batch-dock": {prefetch: async () => {},page: () => /* @__PURE__ */ (0, I.jsx)(Qce, {})@@ -78832,7 +78843,7 @@ var D6 = (e) => ({},"manage-header": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(Tfe, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(Dfe, {})},immerse: {prefetch: async () => {},@@ -78840,17 +78851,17 @@ var D6 = (e) => ({},"settings-panel": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(hAe, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(_Ae, {})},sidebar: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(jAe, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(NAe, {})},stage: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(UNe, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(GNe, {})}-}, V6 = (e) => Object.hasOwn(B6, e), H6 = [+}, B6 = (e) => Object.hasOwn(z6, e), V6 = ["/","/wall","/unseen",@@ -78860,99 +78871,99 @@ var D6 = (e) => ({"/junk-files"];[- ...Object.keys(O6),- ...Object.keys(A6),- ...Object.keys(N6),- ...Object.keys(F6),- ...H6+ ...Object.keys(D6),+ ...Object.keys(k6),+ ...Object.keys(M6),+ ...Object.keys(P6),+ ...V6];-var U6 = (e) => k6(e) || j6(e) || Object.hasOwn(N6, e) || Object.hasOwn(F6, e) || L6(e) || z6(e) || V6(e);-function W6(e) {- return k6(e) ? O6[e] : j6(e) ? A6[e] : L6(e) ? I6[e] : z6(e) ? R6[e] : V6(e) ? B6[e] : Object.hasOwn(N6, e) ? N6[e] : F6[e];+var H6 = (e) => O6(e) || A6(e) || Object.hasOwn(M6, e) || Object.hasOwn(P6, e) || I6(e) || R6(e) || B6(e);+function U6(e) {+ return O6(e) ? D6[e] : A6(e) ? k6[e] : I6(e) ? F6[e] : R6(e) ? L6[e] : B6(e) ? z6[e] : Object.hasOwn(M6, e) ? M6[e] : P6[e];}-function LFe(e, t, n) {- return U6(e) ? W6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));+function zFe(e, t, n) {+ return H6(e) ? U6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}-function RFe(e, t, n, r) {- return W6(e).page(t, n, r);+function BFe(e, t, n, r) {+ return U6(e).page(t, n, r);}// src/react/application-residents.ts-var G6 = null, K6 = null, q6 = 0, J6 = /* @__PURE__ */ new Set();-function zFe(e) {- return G6 = e, K6 && e(K6), () => {- G6 === e && (G6 = null);+var W6 = null, G6 = null, K6 = 0, q6 = /* @__PURE__ */ new Set();+function VFe(e) {+ return W6 = e, G6 && e(G6), () => {+ W6 === e && (W6 = null);};}-function BFe(e) {- return G6 && (K6 = e, G6(e), cp(Promise.resolve(LFe)), MFe()), Promise.resolve();+function HFe(e) {+ return W6 && (G6 = e, W6(e), sp(Promise.resolve(zFe)), PFe()), Promise.resolve();}-async function Y6(e, t, n = (e) => e) {- let r = q6;- if (t.isConnected || J6.add(t), !await mp(e, {}, {+async function J6(e, t, n = (e) => e) {+ let r = K6;+ if (t.isConnected || q6.add(t), !await pp(e, {}, {container: t,resident: !0,- isCurrent: () => !!G6 && r === q6,+ isCurrent: () => !!W6 && r === K6,place: () => n(t)- }) || r !== q6 || !G6) throw new DOMException("应用已卸载", "AbortError");-}-function VFe() {- q6 += 1, G6 = null, K6 = null, X6 = null, Z6 = null, e8 = null, t8 = null, r8 = null, i8 = null, o8 = null, s8 = null, l8 = null, u8 = null, f8 = null, p8 = null, h8 = null;- for (let e of J6) e.remove();- J6.clear(), QQ();-}-var X6 = null, Z6 = null;-function Q6(e) {- return X6 ??= (async () => {- let t = HNe(e), n = document.createElement("div");- return n.dataset.stageHost = "", await Y6("stage", n, (e) => (document.body.append(e), e)), Z6 = t, t;- })(), X6;+ }) || r !== K6 || !W6) throw new DOMException("应用已卸载", "AbortError");}-var $6 = () => Z6, e8 = null, t8 = null;-function HFe(e) {- return e8 ??= (async () => {- let t = Ode(e), n = document.createElement("div");- return n.dataset.immerseHost = "", await Y6("immerse", n, (e) => (document.body.append(e), e)), t8 = t, t;- })(), e8;+function UFe() {+ K6 += 1, W6 = null, G6 = null, Y6 = null, X6 = null, $6 = null, e8 = null, n8 = null, r8 = null, a8 = null, o8 = null, c8 = null, l8 = null, d8 = null, f8 = null, m8 = null;+ for (let e of q6) e.remove();+ q6.clear(), YQ();}-var n8 = () => t8, r8 = null, i8 = null;-function UFe(e) {- return r8 ??= (async () => {- let t = mAe(e), n = document.createElement("div");- return n.dataset.settingsHost = "", await Y6("settings-panel", n, (e) => (document.body.append(e), e)), i8 = t, t;- })(), r8;+var Y6 = null, X6 = null;+function Z6(e) {+ return Y6 ??= (async () => {+ let t = WNe(e), n = document.createElement("div");+ return n.dataset.stageHost = "", await J6("stage", n, (e) => (document.body.append(e), e)), X6 = t, t;+ })(), Y6;}-var a8 = () => i8, o8 = null, s8 = null;+var Q6 = () => X6, $6 = null, e8 = null;function WFe(e) {- return o8 ??= (async () => {- let t = AAe(e);- return await Y6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), s8 = t, t;- })(), o8;+ return $6 ??= (async () => {+ let t = Ode(e), n = document.createElement("div");+ return n.dataset.immerseHost = "", await J6("immerse", n, (e) => (document.body.append(e), e)), e8 = t, t;+ })(), $6;}-var c8 = () => s8, l8 = null, u8 = null;+var t8 = () => e8, n8 = null, r8 = null;function GFe(e) {- return l8 ??= (async () => {- let t = wfe(e);- return await Y6("manage-header", e.root, (e) => (e.replaceChildren(), e)), u8 = t, t;- })(), l8;+ return n8 ??= (async () => {+ let t = gAe(e), n = document.createElement("div");+ return n.dataset.settingsHost = "", await J6("settings-panel", n, (e) => (document.body.append(e), e)), r8 = t, t;+ })(), n8;}-var d8 = () => u8, f8 = null, p8 = null;+var i8 = () => r8, a8 = null, o8 = null;function KFe(e) {- return f8 ??= (async () => {- let t = Zce(e);- return await Y6("batch-dock", e.root), p8 = t, t;- })(), f8;+ return a8 ??= (async () => {+ let t = MAe(e);+ return await J6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), o8 = t, t;+ })(), a8;}-var m8 = () => p8, h8 = null;+var s8 = () => o8, c8 = null, l8 = null;function qFe(e) {- return h8 ??= (async () => {- Nle(e), await Y6("glow-picker", e.root);- })(), h8;+ return c8 ??= (async () => {+ let t = Efe(e);+ return await J6("manage-header", e.root, (e) => (e.replaceChildren(), e)), l8 = t, t;+ })(), c8;+}+var u8 = () => l8, d8 = null, f8 = null;+function JFe(e) {+ return d8 ??= (async () => {+ let t = Zce(e);+ return await J6("batch-dock", e.root), f8 = t, t;+ })(), d8;+}+var p8 = () => f8, m8 = null;+function YFe(e) {+ return m8 ??= (async () => {+ Nle(e), await J6("glow-picker", e.root);+ })(), m8;}-function g8(e, t, n, r) {- $Q(e, t), e$(n, r);+function h8(e, t, n, r) {+ XQ(e, t), ZQ(n, r);}// src/application/receipts.js-var _8 = {+var g8 = {toastBody: void 0,toastSeq: void 0,toast: void 0,@@ -78961,15 +78972,15 @@ var _8 = {rollSeed: void 0,seededSample: void 0};-function JFe() {- $Q(L("#toasts"), {- success: R("check"),- error: R("circle-alert")- }), _8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), _8.toastSeq = 0, _8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {- let a = `toast-${++_8.toastSeq}`, o = (e, t, n, r) => {- Zo(i || (t ? "error" : "success")), g8(L("#toasts"), {- success: R("check"),- error: R("circle-alert")+function XFe() {+ XQ(R("#toasts"), {+ success: z("check"),+ error: z("circle-alert")+ }), g8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : B(e && typeof e == "object" ? e.text ?? "" : e ?? ""), g8.toastSeq = 0, g8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {+ let a = `toast-${++g8.toastSeq}`, o = (e, t, n, r) => {+ Xo(i || (t ? "error" : "success")), h8(R("#toasts"), {+ success: z("check"),+ error: z("circle-alert")}, a, {html: e,alert: !!t,@@ -78977,15 +78988,15 @@ function JFe() {action: r && !t ? {label: r.label,run: (e) => {- Yc(e), r.run();+ Jc(e), r.run();}} : null});};- return o(_8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(_8.toastBody(e), t, n, null) };- }, _8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {+ return o(g8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(g8.toastBody(e), t, n, null) };+ }, g8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {let r = null;- return r = _8.toast({ text: e }, {+ return r = g8.toast({ text: e }, {timeout: n,action: t ? {label: "撤销",@@ -78998,14 +79009,14 @@ function JFe() {}} : null}), r;- }, _8.actionFailure = (e, t) => _8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), _8.rollSeed = () => rr(), _8.seededSample = (e, t, n, r = (e) => e.k) => {+ }, g8.actionFailure = (e, t) => g8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), g8.rollSeed = () => nr(), g8.seededSample = (e, t, n, r = (e) => e.k) => {if (e.length <= t) return e;- let i = new Set([...e].sort((e, t) => nr(n, r(e)) - nr(n, r(t))).slice(0, t).map(r));+ let i = new Set([...e].sort((e, t) => tr(n, r(e)) - tr(n, r(t))).slice(0, t).map(r));return e.filter((e) => i.has(r(e)));};}// src/react/catalog-grid/catalog-state.ts-var YFe = [+var ZFe = ["loc","creator","studio",@@ -79026,17 +79037,17 @@ var YFe = ["folder","folder_recursive"];-function v8(e, t, n, r = n.defaultSort) {+function _8(e, t, n, r = n.defaultSort) {return Wj(e, t, n.defaultSort, n.defaultSortDirection, r);}-function XFe(e, t, n) {- let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = An(r) || r === "/trash", o = (e) => a ? i.get(e) : null;+function QFe(e, t, n) {+ let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = kn(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: ar(o("tag")),+ tag: ir(o("tag")),tag_match: o("tag_match") === "any" ? "any" : "all",len: o("len") || "",dur_min: o("dur_min") || "",@@ -79044,8 +79055,8 @@ function XFe(e, t, n) {orient: o("orient") || "",region: o("region") || "",year: o("year") || "",- state: On[r] || o("state") || "",- ...v8(o("sort"), o("dir"), t),+ state: Dn[r] || o("state") || "",+ ..._8(o("sort"), o("dir"), t),seed: o("seed") || n(),q: o("q") || "",jav: o("jav") || "",@@ -79055,18 +79066,18 @@ function XFe(e, t, n) {folder_recursive: o("folder_recursive") === "0" ? "0" : ""};}-function ZFe(e, t) {+function $Fe(e, t) {return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;}-function QFe(e) {- let t = Dn[e.state ?? ""] || "/", n = new URLSearchParams();- for (let t of YFe) {+function eIe(e) {+ let t = En[e.state ?? ""] || "/", n = new URLSearchParams();+ for (let t of ZFe) {let r = e[t];!r || t === "tag_match" && r === "all" || t === "dir" && r === Vj(e.sort ?? "") || n.set(t, r);}- return !Dn[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");+ return !En[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}-function $Fe(e, t, n) {+function tIe(e, t, n) {return {loc: e.loc ?? "",creator: "",@@ -79092,7 +79103,7 @@ function $Fe(e, t, n) {folder_recursive: ""};}-function y8(e) {+function v8(e) {return {state: e,barsContext: {@@ -79103,7 +79114,7 @@ function y8(e) {};}// src/react/catalog-grid/catalog-controller.ts-var eIe = class {+var nIe = class {currentRevision = 0;currentPage = "";painting = null;@@ -79148,55 +79159,55 @@ var eIe = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, b8 = Infinity, x8 = 0, tIe = (e, t = x8) => [+}, y8 = Infinity, b8 = 0, rIe = (e, t = b8) => ["facets",e,t-], nIe = (e, t, n = x8) => [+], iIe = (e, t, n = b8) => ["tops",e,t,n-], rIe = (e, t = x8) => [+], aIe = (e, t = b8) => ["tops",e,t];-async function S8(e) {- let t = String(e), n = await wn(`/api/tops?${t}`), r = new URLSearchParams(t);- return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await wn(`/api/tops?${r}`));-}-function iIe(e, t) {- return Promise.all([H.fetchQuery({- queryKey: tIe(e),- queryFn: () => wn(`/api/facets${e ? `?${e}` : ""}`),- staleTime: b8- }), H.fetchQuery({- queryKey: nIe(t, e),- queryFn: () => S8(t),- staleTime: b8- })]);+async function x8(e) {+ let t = String(e), n = await Cn(`/api/tops?${t}`), r = new URLSearchParams(t);+ return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await Cn(`/api/tops?${r}`));}-function aIe(e) {- return H.fetchQuery({+function oIe(e, t) {+ return Promise.all([U.fetchQuery({queryKey: rIe(e),- queryFn: () => S8(e),- staleTime: b8+ queryFn: () => Cn(`/api/facets${e ? `?${e}` : ""}`),+ staleTime: y8+ }), U.fetchQuery({+ queryKey: iIe(t, e),+ queryFn: () => x8(t),+ staleTime: y8+ })]);+}+function sIe(e) {+ return U.fetchQuery({+ queryKey: aIe(e),+ queryFn: () => x8(e),+ staleTime: y8});}-function C8() {- x8 += 1;+function S8() {+ b8 += 1;let e = (e) => e.state.fetchStatus === "idle";- H.removeQueries({+ U.removeQueries({queryKey: ["facets"],predicate: e- }), H.removeQueries({+ }), U.removeQueries({queryKey: ["tops"],predicate: e});}// src/application/navigation-items.ts-var w8 = [+var C8 = [["","首页",@@ -79247,7 +79258,7 @@ var w8 = ["管理","wrench"]-], T8 = [+], w8 = [["stats","统计",@@ -79293,18 +79304,18 @@ var w8 = ["Peach 配置","folder-cog"]-], E8 = [+], T8 = ["stats","taste","cleanup","follow","activity","configuration"-], oIe = (e) => T8.filter(([t]) => E8.includes(t) && (t !== "configuration" || e)), D8 = T8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], cIe = (e) => w8.filter(([t]) => T8.includes(t) && (t !== "configuration" || e)), E8 = w8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,t,n-]]), sIe = [...w8, ...D8], cIe = {+]]), lIe = [...C8, ...E8], uIe = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -79312,54 +79323,54 @@ var w8 = ["follow-manage": "follow",quality: "quality",activity: "activity"-}, O8 = [+}, D8 = [["0", "不限时间"],["7", "最近 7 天"],["30", "最近 30 天"],["90", "最近 90 天"]];// src/react/index/index-controller.ts-function k8({ kind: e, q: t, scope: n, view: r, category: i }) {+function O8({ 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 A8(e, t, n) {+function k8(e, t, n) {let r = e.entity_id || e.id, i = t === "studio" || t === "agency";return {- html: go(e.k, r ? {+ html: ho(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: vo(e.avatar_focus)+ face: _o(e.avatar_focus)};}-function j8(e) {- let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${z(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${Ba({ fallbacks: [e.avatar_fallback || ""] })}>` : "";- return `<span class="ini">${z(n)}</span>${r}`;+function A8(e) {+ let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${B(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${za({ fallbacks: [e.avatar_fallback || ""] })}>` : "";+ return `<span class="ini">${B(n)}</span>${r}`;}-function lIe(e) {+function dIe(e) {let t = (t) => {- e.adoptFollowView(t), e.hideIndex(), e.openPage(Oa(t));+ e.adoptFollowView(t), e.hideIndex(), e.openPage(Da(t));};return {route(t, { replace: n = !1 } = {}) {- e.route(k8(t), n);+ e.route(O8(t), n);},- personAvatar: A8,- authorAvatar: j8,+ personAvatar: k8,+ authorAvatar: A8,openFollowAuthor(n) {- t(ka(e.followView(), n));+ t(Oa(e.followView(), n));},openFollowTag(n) {- t(Aa(e.followView(), n));+ t(ka(e.followView(), n));}};}// src/application/effects.ts-var M8 = class {+var j8 = class {cleanups = /* @__PURE__ */ new Set();active = !0;disposed = !1;@@ -79440,80 +79451,80 @@ var M8 = class {}if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}-}, N8 = new M8();-function uIe() {- return N8.dispose(), N8 = new M8(), N8;+}, M8 = new j8();+function fIe() {+ return M8.dispose(), M8 = new j8(), M8;}// src/application/source-action.ts-function dIe(e) {+function pIe(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";- r && (Yc(r), r.innerHTML = `${zs("正在定位")}${a ? `<span>${z(a)}</span>` : ""}`), n.textContent = "";+ r && (Jc(r), r.innerHTML = `${Rs("正在定位")}${a ? `<span>${B(a)}</span>` : ""}`), n.textContent = "";try {await e.request(t), n.textContent = "", e.success();} catch (t) {n.textContent = e.failureText(t);} finally {- r && (Yc(r, !1), r.innerHTML = i);+ r && (Jc(r, !1), r.innerHTML = i);}};}// src/react/entity-page/entity-route.ts-var P8 = () => Object.fromEntries(VX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));-function F8(e, t) {- let n = new URLSearchParams(e), r = P8();- for (let e of VX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");+var N8 = () => Object.fromEntries(RX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));+function P8(e, t) {+ let n = new URLSearchParams(e), r = N8();+ for (let e of RX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,...Wj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}-function I8(e) {+function F8(e) {let t = new URLSearchParams();- for (let n of VX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Vj(e.sort || "") || t.set(n, e[n]);+ for (let n of RX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Vj(e.sort || "") || t.set(n, e[n]);return t.toString();}-function L8(e) {+function I8(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 R8(e, t) {- let n = new URLSearchParams(I8(e));+function L8(e, t) {+ let n = new URLSearchParams(F8(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 fIe(e, t, n, r) {- let i = R8(n, r);- return Nn(e, t) + (i ? `?${i}` : "");+function mIe(e, t, n, r) {+ let i = L8(n, r);+ return Mn(e, t) + (i ? `?${i}` : "");}-function pIe() {+function hIe() {let e = "";return {fresh(t, n) {- return e = Nn(t, n), e;+ return e = Mn(t, n), e;},read(t, n, r, i) {- let a = e === Nn(t, n) && !r;+ let a = e === Mn(t, n) && !r;e = "";- let o = a ? P8() : { ...F8(r, i) };+ let o = a ? N8() : { ...P8(r, i) };return t === "creator" && (o.creator = ""), {filters: o,media: a ? {media: "videos",set: 0- } : L8(r)+ } : I8(r)};}};}// src/react/entity-page/photo-surface.ts-function mIe(e, t) {+function gIe(e, t) {return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();}-function hIe(e) {+function _Ie(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);@@ -79535,12 +79546,12 @@ function hIe(e) {};}// src/react/entity-page/entity-controller.ts-function gIe(e, t, n) {+function vIe(e, t, n) {let r = (t, n, r, i = {media: "videos",set: 0}, { push: a = !0 } = {}) => {- if (a && e.route(fIe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;+ if (a && e.route(mIe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;e.releaseBodyPreviews();let o = e.state();return e.push({@@ -79550,11 +79561,11 @@ function gIe(e, t, n) {jav: o.jav}), !0;}, i = /* @__PURE__ */ new Map(), a = (t, a) => {- let o = Nn(t, a), s = i.get(o);+ let o = Mn(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 : P8();+ return n?.kind === t && n.name === a ? n.filters : N8();}, l = {...n,route: (e, n) => {@@ -79587,7 +79598,7 @@ function gIe(e, t, n) {e.setPhotoLayout(t), e.syncPhotoWalls();},openEntity: (t, n, r = !1) => {- r ? e.route(Nn(t, n) + e.suffix(), !0) : e.openEntity(t, n);+ r ? e.route(Mn(t, n) + e.suffix(), !0) : e.openEntity(t, n);},painted: (t, n) => {let r = e.photoViewActive();@@ -79618,7 +79629,7 @@ function gIe(e, t, n) {};}// src/react/entity-page/entity-loading.ts-function _Ie(e) {+function yIe(e) {return async (t, n, r) => {e.paintSkeleton(t, n), e.resetView(), e.shapesReady(t, n) || e.waitShapes().then(() => {r() && e.syncParts(t, n);@@ -79628,8 +79639,8 @@ function _Ie(e) {};}// src/react/entity-page/entity-portrait.ts-function vIe(e, t) {- let n = e === "studio" || e === "agency", r = t.id ? ho({+function bIe(e, t) {+ let n = e === "studio" || e === "agency", r = t.id ? mo({kind: e,id: t.id,hasImage: t.has_image,@@ -79640,21 +79651,21 @@ function vIe(e, t) {logo: n && t.has_logo ? t.canonical_name : "",logoVersion: t.logo_version,logoVariant: "large",- alt: z(t.canonical_name),+ alt: B(t.canonical_name),lazy: !1,- style: n ? "" : yo(t.avatar_focus),+ style: n ? "" : vo(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" ${Ba({ fallbacks: [i.avatar_fallback || ""] })}>` : "");+ return r || (i?.avatar ? `<img src="${B(i.avatar)}" alt="${B(t.canonical_name)}" referrerpolicy="no-referrer" ${za({ fallbacks: [i.avatar_fallback || ""] })}>` : "");}// src/react/entity-page/entity-application.ts-function yIe(e) {- let t = pIe(), n = {+function xIe(e) {+ let t = hIe(), n = {...e.helpers,- portraitImg: vIe- }, r = gIe(e.controller, n, e.actions);+ portraitImg: bIe+ }, r = vIe(e.controller, n, e.actions);return {...r,helpers: n,@@ -79663,20 +79674,20 @@ function yIe(e) {let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());return r.props(n, i, o, s);},- loading: _Ie(e.loading),- photos: hIe(e.photos)+ loading: yIe(e.loading),+ photos: _Ie(e.photos)};}// src/card-art/feed-identity.ts-function bIe(e) {+function SIe(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 ? "" : go(t.name, t, null);- return "id" in t && t.id ? `<a class="mav"${r} href="${z(Nn("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="${B(e.code)}" data-actor="${B(t.source_actor_id)}" data-name="${B(t.name)}"` : "", i = n ? "" : ho(t.name, t, null);+ return "id" in t && t.id ? `<a class="mav"${r} href="${B(Mn("performer", t.name, t.id))}" aria-label="打开女优页:${B(t.name)}">${i}</a>` : `<span class="mav"${r} title="${B(t.name)}">${i}</span>`;}).join("");return r.length > 1 ? `<div class="mavstack">${i}</div>` : i;}// src/application/feed.js-var z8 = {+var R8 = {FEED_SKELETON_CARDS: void 0,feedNewSkeletonHtml: void 0,entityShapes: void 0,@@ -79692,112 +79703,112 @@ var z8 = {feedNewActions: void 0,HERO_WIDE_PX: void 0};-function B8(e) {- return e.has_cover ? xo(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Vs("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : xo(e, "big").replace(/ src="[^"]*"/, ` src="${z(uo(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");+function z8(e) {+ return e.has_cover ? bo(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Bs("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : bo(e, "big").replace(/ src="[^"]*"/, ` src="${B(lo(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");}-function xIe(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 = B8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? tL({+function CIe(e) {+ let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = z8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? $I({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>` : "";+ }) : B(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${B(r)} 的作品详情"></a>` : "";return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">${a}<div class="pic" style="--card-ratio:${vM}">${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">${bIe(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="想要 ${B(r)}">${z("star")}</button>+ <button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${B(r)}">${z("x")}</button>+ <button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${B(r)}">${z("check")}</button></div></div>+ <div class="meta">${SIe(e)}<div class="mtext"><span class="t">${i}</span><div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;}-function SIe() {+function wIe() {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;- z8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Hn(e)}`, t.parts]));+ R8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Vn(e)}`, t.parts]));} catch {}}-async function V8() {- let e = N8, t = await wn("/api/entity/shapes", { signal: e.signal }).catch(() => null);- return e.isActive && t && !t.error && (z8.entityShapesComplete = !0, z8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Hn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && U8(t.home.feed), q8(location.pathname) && W8(L("#feedNew"))), z8.entityShapes;+async function B8() {+ let e = M8, t = await Cn("/api/entity/shapes", { signal: e.signal }).catch(() => null);+ return e.isActive && t && !t.error && (R8.entityShapesComplete = !0, R8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Vn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && H8(t.home.feed), K8(location.pathname) && U8(R("#feedNew"))), R8.entityShapes;}-var H8 = "peach.home-feed.v1";-function U8(e) {+var V8 = "peach.home-feed.v1";+function H8(e) {X.homeHasFeed = e;try {- localStorage.setItem(H8, e ? "1" : "0");+ localStorage.setItem(V8, e ? "1" : "0");} catch {}}-function CIe() {+function TIe() {try {- let e = localStorage.getItem(H8);+ let e = localStorage.getItem(V8);return e === "1" || e !== "0" && null;} catch {return null;}}-function W8(e) {- !e || up(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = z8.feedNewSkeletonHtml())));+function U8(e) {+ !e || lp(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = R8.feedNewSkeletonHtml())));}-function wIe(e, t) {- return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : Rs(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {+function EIe(e, t) {+ return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : Ls(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",actionLabel: "配置连接方式",actionHref: "/sources"});}-function G8(e) {+function W8(e) {let t = e && !e.error && e.items || [];- return wIe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(xIe).join("")}</div>`;+ return EIe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(CIe).join("")}</div>`;}-function K8(e) {- e && ($7(e), Z.appSettings.feedAutoScroll && zc(e));+function G8(e) {+ e && (Q7(e), Z.appSettings.feedAutoScroll && Rc(e));}-function q8(e) {- return An(e) && e !== "/junk-files";+function K8(e) {+ return kn(e) && e !== "/junk-files";}-function TIe() {- let e = L("#feedNew");- up(e) ? e.hidden = X.homeHasFeed !== !0 : (W8(e), mp("feed-new", {+function DIe() {+ let e = R("#feedNew");+ lp(e) ? e.hidden = X.homeHasFeed !== !0 : (U8(e), pp("feed-new", {host: e,- revision: z8.feedRevision,- helpers: z8.feedNewHelpers,- actions: z8.feedNewActions+ revision: R8.feedRevision,+ helpers: R8.feedNewHelpers,+ actions: R8.feedNewActions}, {container: e,- isCurrent: () => q8(location.pathname)+ isCurrent: () => K8(location.pathname)}));}-function J8() {- let e = L("#feedNew");- e.querySelectorAll(".feednewrow").forEach(Bc), e.hidden = !0;+function q8() {+ let e = R("#feedNew");+ e.querySelectorAll(".feednewrow").forEach(zc), e.hidden = !0;}-function Y8() {- z8.feedRevision += 1, gp(L("#feedNew"), { revision: z8.feedRevision }), n5({ feedRevision: z8.feedRevision });+function J8() {+ R8.feedRevision += 1, hp(R("#feedNew"), { revision: R8.feedRevision }), t5({ feedRevision: R8.feedRevision });}-function EIe() {- document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? zc(e) : Bc(e));+function OIe() {+ document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Rc(e) : zc(e));}-var X8 = 0;-function DIe([e]) {- let t = e.contentRect.width >= z8.HERO_WIDE_PX;- cancelAnimationFrame(X8), X8 = requestAnimationFrame(() => {- X8 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);+var Y8 = 0;+function kIe([e]) {+ let t = e.contentRect.width >= R8.HERO_WIDE_PX;+ cancelAnimationFrame(Y8), Y8 = requestAnimationFrame(() => {+ Y8 = 0, R("#index")?.toggleAttribute("data-hero-wide", t);});}-function OIe() {- z8.FEED_SKELETON_CARDS = 8, z8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${vM}"></div>+function AIe() {+ R8.FEED_SKELETON_CARDS = 8, R8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${vM}"></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(z8.FEED_SKELETON_CARDS)}</div>`, z8.entityShapes = null, z8.entityShapesComplete = !1, z8.hasEntityShape = (e, t) => z8.entityShapesComplete || !!z8.entityShapes?.has(`${e}/${Hn(t)}`), z8.hasEntityPart = (e, t, n) => !!t && !!z8.entityShapes?.get(`${e}/${Hn(t)}`)?.includes(n), z8.feedNewSkeletonSection = () => `<section class="feednew">${z8.feedNewSkeletonHtml()}</section>`, z8.COSTAR_SKELETON_PEOPLE = 12, z8.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(z8.COSTAR_SKELETON_PEOPLE)}</div></div>`, z8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, z8.feedRevision = 0, z8.feedNewHelpers = {- feedRowHtml: G8,- wireFeedRow: (e) => K8(e)- }, z8.feedNewActions = { settled: (e) => U8(e) }, z8.HERO_WIDE_PX = 900, N8.resize(DIe).observe(L("#index"));+ <div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(R8.FEED_SKELETON_CARDS)}</div>`, R8.entityShapes = null, R8.entityShapesComplete = !1, R8.hasEntityShape = (e, t) => R8.entityShapesComplete || !!R8.entityShapes?.has(`${e}/${Vn(t)}`), R8.hasEntityPart = (e, t, n) => !!t && !!R8.entityShapes?.get(`${e}/${Vn(t)}`)?.includes(n), R8.feedNewSkeletonSection = () => `<section class="feednew">${R8.feedNewSkeletonHtml()}</section>`, R8.COSTAR_SKELETON_PEOPLE = 12, R8.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(R8.COSTAR_SKELETON_PEOPLE)}</div></div>`, R8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, R8.feedRevision = 0, R8.feedNewHelpers = {+ feedRowHtml: W8,+ wireFeedRow: (e) => G8(e)+ }, R8.feedNewActions = { settled: (e) => H8(e) }, R8.HERO_WIDE_PX = 900, M8.resize(kIe).observe(R("#index"));}// src/entity-skeleton.ts-function kIe(e, t, n, r = "") {+function jIe(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">@@ -79811,10 +79822,10 @@ function kIe(e, t, n, r = "") {<div class="entitysection">${o}</div></div></section>`;}// src/filter-controls-skeleton.ts-var Z8 = (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>` : ws(e, "size-4 shrink-0"), Q8 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", $8 = (e, t, n) => `<span data-entity-layout="" class="${_U}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${vU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${Q8}>${Z8(r)}</span>`).join("")}</span>`;-function e5(e, t) {- let n = oG(), r = new URLSearchParams(location.search), i = t && n === "cards" ? $8(t.label, t.value, t.options) : "";- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${Q8}>${Z8("shuffle")}</button>${i}${$8("馆藏显示方式", n, [[+var X8 = (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>` : Cs(e, "size-4 shrink-0"), Z8 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", Q8 = (e, t, n) => `<span data-entity-layout="" class="${hU}" role="radiogroup" aria-label="${B(e)}">${n.map(([e, n, r]) => `<span class="${gU}" role="radio" aria-label="${B(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${Z8}>${X8(r)}</span>`).join("")}</span>`;+function $8(e, t) {+ let n = nG(), r = new URLSearchParams(location.search), i = t && n === "cards" ? Q8(t.label, t.value, t.options) : "";+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${Z8}>${X8("shuffle")}</button>${i}${Q8("馆藏显示方式", n, [["cards","卡片","ri-layout-grid-line"@@ -79822,7 +79833,7 @@ function e5(e, t) {"list","列表","ri-list-unordered"- ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${Q8}>${Z8("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${Q8}>${z(e.label)}${e.dir ? Z8(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")}" ${Z8}>${X8("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${B(e.key)}" aria-pressed="${e.pressed}" ${Z8}>${B(e.label)}${e.dir ? X8(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;}// src/application/entity.jsvar Y = {@@ -79850,16 +79861,16 @@ var Y = {sourceToolButtons: void 0,application: void 0};-function t5() {- let e = lp(L("#index"));+function e5() {+ let e = cp(R("#index"));return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;}-function n5(e) {- Y.entityPageCurrent() && gp(L("#index"), e);+function t5(e) {+ Y.entityPageCurrent() && hp(R("#index"), e);}-function r5() {- if (ql.type === "item") return ql;- let e = t5();+function n5() {+ if (Kl.type === "item") return Kl;+ let e = e5();if (e) {let { kind: t, name: n, filters: r } = e.props;return {@@ -79869,10 +79880,10 @@ function r5() {filters: { ...r }};}- return ql;+ return Kl;}-function i5(e, t, n = $5()) {- return SLe(n).map(([n, r]) => {+function r5(e, t, n = Q5()) {+ return wLe(n).map(([n, r]) => {let i = e === n, a = Hj(n, e, t);return {key: n,@@ -79883,53 +79894,53 @@ function i5(e, t, n = $5()) {};});}-function a5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {+function i5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {return Y.application.route(e, t, n, r, i);}-function o5() {- return mIe({+function a5() {+ return gIe({entityWall: Y.entityPageWall,entityCurrent: Y.entityPageCurrent(),- indexVisible: !L("#index").hidden,+ indexVisible: !R("#index").hidden,pathname: location.pathname,followMedia: $.followMediaView,- statsVisible: !L("#stats").hidden+ statsVisible: !R("#stats").hidden}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));}-function s5() {+function o5() {Y.photos.sync();}-function c5() {- o5() ? Ele(wM()) : LM();+function s5() {+ a5() ? Ele(wM()) : LM();}-function AIe(e) {+function MIe(e) {Y.photos.setSize(e);}-var l5 = dIe({- request: (e) => wn("/api/reveal", {+var c5 = pIe({+ request: (e) => Cn("/api/reveal", {method: "POST",body: JSON.stringify({ id: e })}),- success: () => _8.toast({ text: "已在资源管理器中显示" }),+ success: () => g8.toast({ text: "已在资源管理器中显示" }),failureText: (e) => Y.sourceHint(e instanceof Error ? e.message : String(e))});-async function u5(e) {+async function l5(e) {let t = { textContent: "" };- return await l5(e, t), t.textContent;+ return await c5(e, t), t.textContent;}-async function jIe(e) {+async function NIe(e) {let t = { textContent: "" }, n = [];- return await d5(e, t, (e) => {+ return await u5(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));}), {text: t.textContent,removed: n};}-async function d5(e, t, n) {+async function u5(e, t, n) {t.textContent = "正在核对目录…";try {- let r = await wn("/api/purge-missing", {+ let r = await Cn("/api/purge-missing", {method: "POST",body: JSON.stringify({ id: e })});@@ -79939,8 +79950,8 @@ async function d5(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), _8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {- await wn("/api/batch", {+ n && n(r), g8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {+ await Cn("/api/batch", {method: "POST",body: JSON.stringify({ids: e,@@ -79951,36 +79962,36 @@ async function d5(e, t, n) {restored: e.length});} : null });- } else _8.actionReceipt("目录核对完成,无需改动");+ } else g8.actionReceipt("目录核对完成,无需改动");} catch (e) {- t.textContent = Y.sourceHint(e.message), _8.actionFailure("核对目录", e);+ t.textContent = Y.sourceHint(e.message), g8.actionFailure("核对目录", e);}}-function MIe(e) {+function PIe(e) {return `<div class="srctools">${Y.sourceToolButtons(e)}<span class="srcstate" aria-live="polite"></span></div>`;}-function NIe(e, t) {+function FIe(e, t) {let n = e.querySelector(".srcstate");if (!n) return;let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");- r && N8.handler(r, "onclick", () => l5(Number(r.dataset.reveal), n, { button: r })), i && N8.handler(i, "onclick", () => d5(Number(i.dataset.sync), n, t));+ r && M8.handler(r, "onclick", () => c5(Number(r.dataset.reveal), n, { button: r })), i && M8.handler(i, "onclick", () => u5(Number(i.dataset.sync), n, t));}-async function PIe(e, t) {- let n = ol({+async function IIe(e, t) {+ let n = al({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">${B(e)}+ <button type="button" data-alias-drop="${B(e)}"+ aria-label="撤销别名 ${B(e)}">${z("x")}</button></span>`).join("")}</div></div>` : ""),confirmLabel: "添加别名",confirmDisabled: !0,onConfirm: () => t({ alias: r.value.trim() })}), r = n.dialog.querySelector("[name=alias]");- N8.handler(r, "oninput", () => {+ M8.handler(r, "oninput", () => {n.confirmButton.disabled = !r.value.trim();- }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => N8.handler(e, "onclick", async () => {+ }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => M8.handler(e, "onclick", async () => {let r = e.dataset.aliasDrop;n.close();try {@@ -79989,53 +80000,53 @@ async function PIe(e, t) {remove: !0});} catch (e) {- _8.actionFailure("撤销别名", e);+ g8.actionFailure("撤销别名", e);return;}- _8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {+ g8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {await t({ alias: r });} });}));let { confirmed: i, result: a } = await n.done;- i && (a?.added ? _8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {+ i && (a?.added ? g8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {await t({alias: a.alias,remove: !0});- } }) : _8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));+ } }) : g8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));}-function f5(e, t) {- let n = ["performer", "studio"].includes(e) && z8.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>${Ts()}${e === "agency" ? "" : e5(i5(U.sort, U.dir, n), n ? {+function d5(e, t) {+ let n = ["performer", "studio"].includes(e) && R8.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>${ws()}${e === "agency" ? "" : $8(r5(W.sort, W.dir, n), n ? {name: "jav-layout",label: "JAV 卡片版式",value: bM(),options: hM- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${Q8}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${Q8}>${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}" ${Q8}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = kIe(e, r, e === "agency" ? ac({+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${Z8}>${z("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${Z8}>${z("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${B(e.k)}" aria-pressed="${W.state === e.k}" ${Z8}>${B(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = jIe(e, r, e === "agency" ? ic({kind: "performers",- layout: O5.peopleIndexLayout()- }) : JJ("正在读取作品", OM(DM({+ layout: D5.peopleIndexLayout()+ }) : WJ("正在读取作品", OM(DM({active: n,home: !1,portrait: !1}))), i);- L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? p5(e, t) : (L("#index").innerHTML = a, p5(e, t), fc(L("#index")));+ R("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? f5(e, t) : (R("#index").innerHTML = a, f5(e, t), dc(R("#index")));}-function p5(e, t) {- let n = L("#index").firstElementChild;+function f5(e, t) {+ let n = R("#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" && z8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", z8.costarSkeletonFoot())), r(n.querySelector(".feednew"), z8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", z8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && z8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", z8.factsSkeleton()));+ r(n.querySelector(".entityfoot"), e !== "agency" && R8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", R8.costarSkeletonFoot())), r(n.querySelector(".feednew"), R8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", R8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && R8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", R8.factsSkeleton()));}-function m5(e) {- let t = jn[e] || e, n = J3[t] || "条目", r = J3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";- L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });+function p5(e) {+ let t = An[e] || e, n = q3[t] || "条目", r = q3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";+ R("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });}-function h5(e, t) {- _9(Y.application.fresh(e, t));+function m5(e, t) {+ g9(Y.application.fresh(e, t));}-function FIe() {+function LIe() {Y.ENTITY_FILTER_KEYS = ["loc","creator",@@ -80047,40 +80058,40 @@ function FIe() {"year","sort","dir"- ], Y.emptyEntityFilters = P8, Y.parseEntityFilters = (e) => F8(e, {+ ], Y.emptyEntityFilters = N8, Y.parseEntityFilters = (e) => P8(e, {sort: Z.appSettings.defaultSort,dir: Z.appSettings.defaultSortDirection- }), Y.entityFilterSearch = I8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {+ }), Y.entityFilterSearch = F8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {...e,filters: { ...e.filters }} : e, Y.activeFilterState = () => {- let e = r5();- return e.type === "home" ? U : e.filters;- }, L("#q").value = U.q, X.rememberSearchValue();-}-function IIe() {- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!t5(), Y.entityPageLive = (e, t) => {- let n = t5();- return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;+ let e = n5();+ return e.type === "home" ? W : e.filters;+ }, R("#q").value = W.q, X.rememberSearchValue();+}+function RIe() {+ Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!e5(), Y.entityPageLive = (e, t) => {+ let n = e5();+ return !!n && !R("#index").hidden && n.props.kind === e && n.props.name === t;}, Y.EMPTY_ENTITY_MEDIA = {media: "videos",set: 0- }, Y.parseMediaView = L8, Y.entityViewSearch = R8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => G7(), Y.entityPageHelpers = {+ }, Y.parseMediaView = I8, Y.entityViewSearch = L8, Y.entityBodyCanLoadMore = () => !R("#index").hidden && R("#stats").hidden, Y.entityBodySkeleton = () => W7(), Y.entityPageHelpers = {wireDrag: (e) => {- e && $7(e);+ e && Q7(e);},wireScroller: (e) => {- e && kc(e);+ e && Oc(e);},- wireFeedRow: (e) => K8(e),- feedRowHtml: G8,- receipt: (e, t) => _8.actionReceipt(e, t),- failure: (e, t) => _8.actionFailure(e, t),- aliasForm: (e, t) => PIe(e, t),- sourceToolsHtml: (e) => MIe(e),- wireSourceTools: (e, t) => NIe(e, t),- comboItems: (e) => P7(e),- sortKeys: (e, t, n) => i5(e, t, n)+ wireFeedRow: (e) => G8(e),+ feedRowHtml: W8,+ receipt: (e, t) => g8.actionReceipt(e, t),+ failure: (e, t) => g8.actionFailure(e, t),+ aliasForm: (e, t) => IIe(e, t),+ sourceToolsHtml: (e) => PIe(e),+ wireSourceTools: (e, t) => FIe(e, t),+ comboItems: (e) => N7(e),+ sortKeys: (e, t, n) => r5(e, t, n)}, Y.entityFollowActions = {...$.followFeedActions,route: () => {},@@ -80099,34 +80110,34 @@ function IIe() {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="定位源文件">${z("folder-open")}</button><button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"- aria-label="同步删除">${R("folder-sync")}</button>`;+ aria-label="同步删除">${z("folder-sync")}</button>`;}-function LIe() {- Y.application = yIe({+function zIe() {+ Y.application = xIe({controller: {context: () => {- let e = r5();+ let e = n5();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: () => xu({ barsContext: {+ restoreHomeContext: () => bu({ barsContext: {type: "home",- filters: U+ filters: W} }),- releaseBodyPreviews: () => Ml(L("#index [data-entity-body]")),- push: n5,+ releaseBodyPreviews: () => jl(R("#index [data-entity-body]")),+ push: t5,state: () => ({- seed: String(U.seed || ""),- jav: U.jav === "1"+ seed: String(W.seed || ""),+ jav: W.jav === "1"}),preferences: () => ({revision: Y.entityPageRevision,- feedRevision: z8.feedRevision,+ feedRevision: R8.feedRevision,photoSize: wM(),photoLayout: TM(),photoLayouts: _M,@@ -80134,13 +80145,13 @@ function LIe() {javLayout: bM(),javLayouts: hM,states: X.VIEW_PILLS,- peopleLayout: O5.peopleIndexLayout(),- layout: W7(),- selectMode: Zl,- selected: new Set(Yl),+ peopleLayout: D5.peopleIndexLayout(),+ layout: U7(),+ selectMode: Xl,+ selected: new Set(Jl),seekSeconds: Z.appSettings.seekSeconds,groupCollapse: Z.appSettings.groupCollapse,- wireDrag: $7,+ wireDrag: Q7,skeletonHtml: Y.entityBodySkeleton,canLoadMore: Y.entityBodyCanLoadMore,follow: {@@ -80148,35 +80159,35 @@ function LIe() {actions: Y.entityFollowActions}}),- changeFilter: x7,- rollSeed: () => _8.rollSeed(),+ changeFilter: b7,+ rollSeed: () => g8.rollSeed(),writeSeed: (e) => {- U.seed = e, Su();+ W.seed = e, xu();},- setJavLayout: n7,+ setJavLayout: t7,javLayout: bM,setPhotoLayout: AM,- syncPhotoWalls: s5,- openEntity: h5,- photoViewActive: o5,+ syncPhotoWalls: o5,+ openEntity: m5,+ photoViewActive: a5,recordPainted: (e, t) => {Y.entityPageView = e, Y.entityPageWall = t;},- syncDensity: c5,- scheduleSticky: l7,- releasePage: () => _p(L("#index")),- showMissing: m5,- dropBars: C8+ syncDensity: s5,+ scheduleSticky: c7,+ releasePage: () => gp(R("#index")),+ showMissing: p5,+ dropBars: S8},loading: {- shapesReady: (e, t) => z8.hasEntityShape(e, t),- waitShapes: F5,- paintSkeleton: f5,+ shapesReady: (e, t) => R8.hasEntityShape(e, t),+ waitShapes: P5,+ paintSkeleton: d5,resetView: () => {- xu({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;+ bu({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;},- loadShapes: V8,- syncParts: p5+ loadShapes: B8,+ syncParts: f5},photos: {preferences: () => ({@@ -80185,16 +80196,16 @@ function LIe() {imagesOnly: !!Z.appSettings.followImagesOnly}),walls: () => document.querySelectorAll(".followphotowall"),- pushEntity: n5,- pushFollow: S9,- syncDensity: c5,+ pushEntity: t5,+ pushFollow: x9,+ syncDensity: s5,storeSize: wle},helpers: Y.entityPageHelpers,actions: {- toggleTag: N7,- openFollowAuthor: j5,- javContext: (e) => xu({ entityJavLayout: !!e })+ toggleTag: M7,+ openFollowAuthor: A5,+ javContext: (e) => bu({ entityJavLayout: !!e })},sortPreference: () => ({sort: Z.appSettings.defaultSort,@@ -80203,10 +80214,10 @@ function LIe() {}), Y.photos = Y.application.photos, Y.entityPageHelpers = Y.application.helpers;}// src/application/playlists.js-var g5 = { playlistWrite: void 0 };-function RIe(e, t) {- e === "tag" ? (xu({ state: {- ...U,+var h5 = { playlistWrite: void 0 };+function BIe(e, t) {+ e === "tag" ? (bu({ state: {+ ...W,tag: t,tag_match: "all",creator: "",@@ -80214,17 +80225,17 @@ function RIe(e, t) {q: "",state: "",orient: ""- } }), X.clearSearchField(), Q.route(m7()), B5(), j7()) : h5(e, t);+ } }), X.clearSearchField(), Q.route(p7()), z5(), A7()) : m5(e, t);}-function _5(e = "") {+function g5(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"- maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;+ maxlength="80" placeholder="输入名称" value="${B(e)}"></label>`;}-async function zIe({ title: e, count: t, save: n }) {- let r = ol({+async function VIe({ title: e, count: t, save: n }) {+ let r = al({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,- body: _5(e),+ body: g5(e),confirmLabel: "保存为播放列表",onConfirm: () => {let e = r.dialog.querySelector("[name=\"name\"]").value.trim();@@ -80234,28 +80245,28 @@ async function zIe({ title: e, count: t, save: n }) {});r.dialog.querySelector("[name=\"name\"]").select();let { confirmed: i, result: a } = await r.done;- i && (await a9(a.id, a.current_asset_id, !0), _8.actionReceipt("已保存为播放列表", { undo: async () => {- await g5.playlistWrite({+ i && (await i9(a.id, a.current_asset_id, !0), g8.actionReceipt("已保存为播放列表", { undo: async () => {+ await h5.playlistWrite({action: "delete",id: a.id- }), _9("/playlists");+ }), g9("/playlists");} }));}-async function BIe(e) {- let t = ((await wn("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Ws(`data-pick-playlist="${e.id}"`)}- <span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = ol({+async function HIe(e) {+ let t = ((await Cn("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Us(`data-pick-playlist="${e.id}"`)}+ <span class="pickrowtext"><b>${B(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = al({title: "加入播放列表",description: "勾选要加入的列表,或者填个名称新建一份。",- body: _5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Rs("还没有播放列表,填个名称就能新建一份。", { size: "small" })),+ body: g5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Ls("还没有播放列表,填个名称就能新建一份。", { 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 g5.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 h5.playlistWrite({action: "create",name: t,asset_ids: [e.id]})).playlist : null;- for (let t of r) await g5.playlistWrite({+ for (let t of r) await h5.playlistWrite({action: "add",id: t,asset_ids: [e.id]@@ -80269,46 +80280,46 @@ async function BIe(e) {let e = n.dialog.querySelector("[name=\"name\"]").value.trim();n.confirmButton.disabled = !e && !n.dialog.querySelector("[data-pick-playlist]:checked");};- N8.listen(n.dialog, "input", r), N8.listen(n.dialog, "change", r);+ M8.listen(n.dialog, "input", r), M8.listen(n.dialog, "change", r);let { confirmed: i, result: a } = await n.done;if (!i) return;let o = +!!a.created + a.added.length;- _8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {- for (let t of a.added) await g5.playlistWrite({+ g8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {+ for (let t of a.added) await h5.playlistWrite({action: "remove",id: t,asset_id: e.id});- a.created && await g5.playlistWrite({+ a.created && await h5.playlistWrite({action: "delete",id: a.created.id});} });}-function v5() {- Ml(), r9(!1), z5();- let e = lp(L("#stats"));- e?.path !== "/playlists" || !e.host.isConnected ? xu({ pageOpens: fu + 1 }) : (R5({ manage: !1 }), xu({ playlistsRevision: vu + 1 }));+function _5() {+ jl(), n9(!1), R5();+ let e = cp(R("#stats"));+ e?.path !== "/playlists" || !e.host.isConnected ? bu({ pageOpens: du + 1 }) : (L5({ manage: !1 }), bu({ playlistsRevision: _u + 1 }));}-function VIe(e) {+function UIe(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 y5(e) {- xu({ configurationRequestedSection: e }), Q.navigatePath(Pf(e));+function v5(e) {+ bu({ configurationRequestedSection: e }), Q.navigatePath(Nf(e));}-function HIe() {- g5.playlistWrite = (e) => wn("/api/playlist", {+function WIe() {+ h5.playlistWrite = (e) => Cn("/api/playlist", {method: "POST",body: JSON.stringify(e)});}// src/react/catalog-grid/selection-controller.ts-function b5(e) {+function y5(e) {return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";}-function x5(e, t, n, r, i = !1) {+function b5(e, t, n, r, i = !1) {return i && (e.selected.clear(), e.followSelected.clear()), {selectMode: r,selectSurface: r ? t.selectMode ? t.selectSurface : n : "",@@ -80316,23 +80327,23 @@ function x5(e, t, n, r, i = !1) {followLastSelectedId: i ? null : t.followLastSelectedId};}-function S5(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 x5(e, t, n, r, i, a = !1) {+ let o = n === "follow", s = EY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);return {- ...x5(e, t, n, !0),+ ...b5(e, t, n, !0),...o ? { followLastSelectedId: s } : { lastSelectedId: s }};}-function UIe(e, t, n, r) {- let i = b5(t);+function GIe(e, t, n, r) {+ let i = y5(t);return {count: (i === "follow" ? e.followSelected : e.selected).size,context: i === "catalog" && r === "trash" ? "trash" : i,- junkDismissed: JU(n).view === "dismissed"+ junkDismissed: KU(n).view === "dismissed"};}// src/application/selection.js-var C5 = {+var S5 = {batchDockProps: void 0,trashCount: void 0,currentSelectSurface: void 0,@@ -80340,43 +80351,43 @@ var C5 = {BATCH_RUNNERS: void 0,coverRecheck: void 0};-function w5() {- H7({- selected: new Set(Yl),- selectMode: Zl- }), n5({+function C5() {+ V7({+ selected: new Set(Jl),+ selectMode: Xl+ }), t5({+ selected: new Set(Jl),+ selectMode: Xl+ }), x9({selected: new Set(Yl),- selectMode: Zl- }), S9({- selected: new Set(Xl),- selectMode: Zl- }), C5.batchDockProps = $Ie(), m8() && (m8().render(C5.batchDockProps), Z.syncGlassOptics());+ selectMode: Xl+ }), S5.batchDockProps = tLe(), p8() && (p8().render(S5.batchDockProps), Z.syncGlassOptics());}-function T5(e, t = !1) {- xu(x5({- selected: Yl,- followSelected: Xl- }, D5(), b5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Zl), Zl && Ml(), L("#selectMode").setAttribute("aria-pressed", String(Zl)), w5();+function w5(e, t = !1) {+ bu(b5({+ selected: Jl,+ followSelected: Yl+ }, E5(), y5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Xl), Xl && jl(), R("#selectMode").setAttribute("aria-pressed", String(Xl)), C5();}-function WIe() {- return [...M5.gridCards()].map((e) => +e.dataset.id);+function KIe() {+ return [...j5.gridCards()].map((e) => +e.dataset.id);}-function E5(e, t = !1) {- xu(S5({- selected: Yl,- followSelected: Xl- }, D5(), b5(location.pathname), WIe(), e, t)), T5(!0);+function T5(e, t = !1) {+ bu(x5({+ selected: Jl,+ followSelected: Yl+ }, E5(), y5(location.pathname), KIe(), e, t)), w5(!0);}-function GIe() {+function qIe() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function KIe(e, t = !1) {- xu(S5({- selected: Yl,- followSelected: Xl- }, D5(), "follow", GIe(), e, t)), T5(!0);+function JIe(e, t = !1) {+ bu(x5({+ selected: Jl,+ followSelected: Yl+ }, E5(), "follow", qIe(), e, t)), w5(!0);}-async function qIe(e, t) {+async function YIe(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -80391,16 +80402,16 @@ async function qIe(e, t) {dispose: "移入回收站",restore: "还原所选项目",delete: "永久删除所选项目"- }, i = [...Yl];- if (i.length) return cl({+ }, i = [...Jl];+ if (i.length) return sl({title: r[e],body: `将处理选中的 ${i.length} 项。${e === "delete" ? "文件和馆藏记录会永久删除,无法恢复。" : e === "dispose" ? "馆藏记录可在回收站还原。" : ""}`,confirmLabel: r[e],danger: e === "delete",onConfirm: async () => {- Yc(t);+ Jc(t);try {- let t = await wn("/api/batch", {+ let t = await Cn("/api/batch", {method: "POST",body: JSON.stringify({ids: i,@@ -80408,9 +80419,9 @@ async function qIe(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"));- T5(!1, !0), await i7();+ w5(!1, !0), await r7();let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;- _8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {+ g8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {if (r === "dispose" && t.restored_reasons) for (let e of [null,"manual",@@ -80419,7 +80430,7 @@ async function qIe(e, t) {"missing"]) {let n = i.filter((n) => t.restored_reasons[n] === e);- n.length && await wn("/api/batch", {+ n.length && await Cn("/api/batch", {method: "POST",body: JSON.stringify({ids: n,@@ -80428,37 +80439,37 @@ async function qIe(e, t) {})});}- else await wn("/api/batch", {+ else await Cn("/api/batch", {method: "POST",body: JSON.stringify({ids: i,operation: r})});- await i7();+ await r7();} : null });} catch (e) {- throw Yc(t, !1), e;+ throw Jc(t, !1), e;} finally {- Yc(t, !1), w5();+ Jc(t, !1), C5();}}});}-async function JIe() {- let e = [...Yl];+async function XIe() {+ let e = [...Jl];if (!e.length) return;- let t = ol({+ let t = al({title: "判定产地",description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,- body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + C5.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=\"产地\">" + S5.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 wn("/api/batch", {+ return await Cn("/api/batch", {method: "POST",body: JSON.stringify({ids: e,@@ -80471,14 +80482,14 @@ async function JIe() {};}});- t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => N8.handler(e, "onclick", () => {+ t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => M8.handler(e, "onclick", () => {t.dialog.querySelectorAll("[data-region-pick]").forEach((t) => t.setAttribute("aria-pressed", String(t === e))), t.confirmButton.disabled = !1;}));let { confirmed: n, result: r } = await t.done;- n && (T5(!1, !0), await i7(), _8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));+ n && (w5(!1, !0), await r7(), g8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function YIe(e, t) {- let n = [...Xl];+async function ZIe(e, t) {+ let n = [...Yl];if (!n.length) return;let r = {save: "保存到数据库",@@ -80489,31 +80500,31 @@ async function YIe(e, t) {seen: "标记为已看",ignored: "忽略所选作品"};- return cl({+ return sl({title: i[e],body: `将处理选中的 ${n.length} 项关注作品。`,confirmLabel: i[e],danger: !1,onConfirm: async () => {- Yc(t);+ Jc(t);try {- await wn(e === "save" ? "/api/follow/save" : "/api/follow/status", {+ await Cn(e === "save" ? "/api/follow/save" : "/api/follow/status", {method: "POST",body: JSON.stringify(e === "save" ? { items: n } : {items: n,to: e})- }), T5(!1, !0), location.pathname === "/follow" && xu({ pageOpens: fu + 1 }), _8.actionReceipt(`已${r[e]} ${n.length} 项`);+ }), w5(!1, !0), location.pathname === "/follow" && bu({ pageOpens: du + 1 }), g8.actionReceipt(`已${r[e]} ${n.length} 项`);} catch (e) {- throw Yc(t, !1), e;+ throw Jc(t, !1), e;} finally {- Yc(t, !1), w5();+ Jc(t, !1), C5();}}});}-async function XIe(e, t) {- let n = [...Yl];+async function QIe(e, t) {+ let n = [...Jl];if (!n.length) return;let r = {"dismiss-junk": "不是垃圾",@@ -80524,157 +80535,157 @@ async function XIe(e, t) {"reconsider-junk": "重新检查文件",dispose: "移入回收站"};- return cl({+ return sl({title: i[e],body: `将处理选中的 ${n.length} 个文件。`,confirmLabel: i[e],danger: !1,onConfirm: async () => {- Yc(t);+ Jc(t);try {- await wn("/api/batch", {+ await Cn("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: e,...e === "dispose" ? { disposal_reason: "junk" } : {}})- }), T5(!1, !0), await I7();+ }), w5(!1, !0), await F7();let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;- _8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {- await wn("/api/batch", {+ g8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {+ await Cn("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: t})- }), await I7();+ }), await F7();} : null });} catch (e) {- throw Yc(t, !1), e;+ throw Jc(t, !1), e;} finally {- Yc(t, !1), w5();+ Jc(t, !1), C5();}}});}-function ZIe() {- KFe({- root: L("[data-batch-dock]"),+function $Ie() {+ JFe({+ root: R("[data-batch-dock]"),run: (e, t, n) => {- C5.BATCH_RUNNERS[e]?.(t, n);+ S5.BATCH_RUNNERS[e]?.(t, n);}}).then((e) => {- e.render(C5.batchDockProps), Z.syncGlassOptics();+ e.render(S5.batchDockProps), Z.syncGlassOptics();}).catch(() => {});}-function QIe() {- C5.batchDockProps = {+function eLe() {+ S5.batchDockProps = {count: 0,context: "catalog",junkDismissed: !1- }, C5.trashCount = null, C5.currentSelectSurface = () => b5(location.pathname), N8.handler(L("#selectMode"), "onclick", () => T5(!Zl, !!Zl)), C5.REGION_CHOICES = [+ }, S5.trashCount = null, S5.currentSelectSurface = () => y5(location.pathname), M8.handler(R("#selectMode"), "onclick", () => w5(!Xl, !!Xl)), S5.REGION_CHOICES = [["jp", "日本"],["kr", "韩国"],["cn", "国产"],["west", "欧美"],["other", "其他"],["none", "撤回判定"]- ], C5.BATCH_RUNNERS = {- batch: qIe,- region: JIe,- follow: YIe,- junk: XIe,- clear: () => T5(!1, !0)- }, N8.handler(L("#density"), "onclick", () => {- o5() ? AIe(wM() === "big" ? "small" : "big") : Tle();- }), LM(), Al({- selecting: () => Zl,- censored: () => Z7(),+ ], S5.BATCH_RUNNERS = {+ batch: YIe,+ region: XIe,+ follow: ZIe,+ junk: QIe,+ clear: () => w5(!1, !0)+ }, M8.handler(R("#density"), "onclick", () => {+ a5() ? MIe(wM() === "big" ? "small" : "big") : Tle();+ }), LM(), kl({+ selecting: () => Xl,+ censored: () => X7(),delaySeconds: () => Z.appSettings.hoverDelaySeconds- }), N8.listen(window, "pagehide", () => Ml()), N8.listen(document, "visibilitychange", () => {- document.hidden && Ml();- }), Dl(), C5.coverRecheck = 0, N8.listen(window, "resize", () => {- wl(L("#index")), clearTimeout(C5.coverRecheck), C5.coverRecheck = N8.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {- e.complete && hl(e);+ }), M8.listen(window, "pagehide", () => jl()), M8.listen(document, "visibilitychange", () => {+ document.hidden && jl();+ }), El(), S5.coverRecheck = 0, M8.listen(window, "resize", () => {+ Cl(R("#index")), clearTimeout(S5.coverRecheck), S5.coverRecheck = M8.delay(() => R("#index").querySelectorAll("img.cover").forEach((e) => {+ e.complete && ml(e);}), 200);}, { passive: !0 });}-function D5() {+function E5() {return {- selectMode: Zl,- selectSurface: eu,- lastSelectedId: Ql,- followLastSelectedId: $l+ selectMode: Xl,+ selectSurface: $l,+ lastSelectedId: Zl,+ followLastSelectedId: Ql};}-function $Ie() {- return UIe({- selected: Yl,- followSelected: Xl- }, location.pathname, location.search, U.state);+function tLe() {+ return GIe({+ selected: Jl,+ followSelected: Yl+ }, location.pathname, location.search, W.state);}// src/application/index.js-var O5 = {+var D5 = {peopleIndexLayout: void 0,personAvatar: void 0};-function eLe() {+function nLe() {return Z.appSettings.followLayout === "table" ? "table" : "default";}-function tLe() {- return HZ(location.search);+function rLe() {+ return zZ(location.search);}-function nLe(e) {- return UZ(e);+function iLe(e) {+ return BZ(e);}-function rLe(e) {- Q.route(nLe(e));+function aLe(e) {+ Q.route(iLe(e));}-function iLe(e = "") {- return WZ(location.search, e);+function oLe(e = "") {+ return VZ(location.search, e);}-function aLe(e) {- return j8(e);+function sLe(e) {+ return A8(e);}-function k5(e) {- return k8(e);+function O5(e) {+ return O8(e);}-function A5() {- L("#stats").hidden = !0, L("#index").hidden = !1, R7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;+function k5() {+ R("#stats").hidden = !0, R("#index").hidden = !1, L7(), X.hideCatalogCombo(), R("#count").textContent = "", R("#loadSentinel").hidden = !0;}-function oLe(e, t) {- xu({ state: {- ...U,+function cLe(e, t) {+ bu({ state: {+ ...W,state: "",tag: e.join(","),tag_match: t- } }), T5(!1, !1), Q.route(m7()), B5(), p9(), j7();+ } }), w5(!1, !1), Q.route(p7()), z5(), f9(), A7();}-function j5(e) {- O5.controller.openFollowAuthor(e);+function A5(e) {+ D5.controller.openFollowAuthor(e);}-function sLe(e) {- O5.controller.openFollowTag(e);+function lLe(e) {+ D5.controller.openFollowTag(e);}-function cLe() {- $.FOLLOW_MANAGE_TABS = VZ, N8.listen(document, "click", (e) => {- e.target.closest?.("[data-empty-settings]") && y5("媒体库与入库");- }), O5.peopleIndexLayout = () => Y3(Z.appSettings.peopleLayout), O5.personAvatar = A8;+function uLe() {+ $.FOLLOW_MANAGE_TABS = RZ, M8.listen(document, "click", (e) => {+ e.target.closest?.("[data-empty-settings]") && v5("媒体库与入库");+ }), D5.peopleIndexLayout = () => J3(Z.appSettings.peopleLayout), D5.personAvatar = k8;}-function lLe() {- O5.controller = lIe({+function dLe() {+ D5.controller = dIe({route: Q.route,- followView: y9,- adoptFollowView: b9,+ followView: v9,+ adoptFollowView: y9,hideIndex: () => {- L("#index").hidden = !0;+ R("#index").hidden = !0;},- openPage: _9+ openPage: g9});}// src/application/loading.js-var M5 = {+var j5 = {setGridCards: void 0,gridCards: void 0,managementPlaceholder: void 0,@@ -80683,54 +80694,54 @@ var M5 = {ENTITY_SHAPES_WAIT: void 0,syncPageTitle: void 0};-function N5(e = "正在读取作品") {+function M5(e = "正在读取作品") {if (location.pathname === "/wall") {- L("#loadSentinel").hidden = !0;+ R("#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 = Vve(JU(location.search)), fc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && C7({+ let t = R("#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 = Uve(KU(location.search)), dc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && S7({count: null,- ...E7()- })), L("#loadSentinel").hidden = !0, V7()) return;- let r = L("#grid"), i = G7(e), a = r.querySelector(".catalog-skeleton");- (a?.dataset.skeleton !== C2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== K7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : M5.setGridCards(i), fc(L("#grid")));+ ...T7()+ })), R("#loadSentinel").hidden = !0, B7()) return;+ let r = R("#grid"), i = W7(e), a = r.querySelector(".catalog-skeleton");+ (a?.dataset.skeleton !== S2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== G7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : j5.setGridCards(i), dc(R("#grid")));}-function P5() {- L("#catalogFilter").style.display = "none", S7();+function N5() {+ R("#catalogFilter").style.display = "none", x7();}-function F5() {+function P5() {let e = new Promise((e) => {- let t = M5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {+ let t = j5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {let i = performance.now();- t -= Math.min(i - n, 50), n = i, t > 0 ? N8.delay(r, Math.min(t, 50)) : e();+ t -= Math.min(i - n, 50), n = i, t > 0 ? M8.delay(r, Math.min(t, 50)) : e();};- N8.delay(r, 50);+ M8.delay(r, 50);});- return Promise.race([M5.entityShapesReady ||= V8(), e]);+ return Promise.race([j5.entityShapesReady ||= B8(), e]);}-function uLe() {+function fLe() {let e = decodeURIComponent(location.pathname);- if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), P5();- else if (/^\/assets\/\d+$/.test(e)) P5();- else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) P5();- else if (e === "/junk-files") N5("正在读取垃圾文件");- else if (e === "/jav" && bU(new URLSearchParams(location.search).get("tab")) === "library") N5("正在读取馆藏");+ if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), N5();+ else if (/^\/assets\/\d+$/.test(e)) N5();+ else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) N5();+ else if (e === "/junk-files") M5("正在读取垃圾文件");+ else if (e === "/jav" && vU(new URLSearchParams(location.search).get("tab")) === "library") M5("正在读取馆藏");else if (Q.managedPagePath(e)) {- P5();- let t = L("#stats");- t.hidden = !1, R7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : M5.managementPlaceholder(e), fc(t);- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) P5(), A5(), Q3(L("#index"), X3(e.slice(1), location.search), O5.peopleIndexLayout());+ N5();+ let t = R("#stats");+ t.hidden = !1, L7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : j5.managementPlaceholder(e), dc(t);+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) N5(), k5(), Z3(R("#index"), Y3(e.slice(1), location.search), D5.peopleIndexLayout());else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {- P5(), L("#index").hidden = !1, R7();- let t = Mn[e.split("/")[1]], n = e.split("/").slice(2).join("/");- (z8.hasEntityShape(t, n) ? Promise.resolve() : F5()).then(() => {- L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (f5(t, n), fc(L("#index")));+ N5(), R("#index").hidden = !1, L7();+ let t = jn[e.split("/")[1]], n = e.split("/").slice(2).join("/");+ (R8.hasEntityShape(t, n) ? Promise.resolve() : P5()).then(() => {+ R("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (d5(t, n), dc(R("#index")));});- } else Q.routeMeta(e) ? N5() : (R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);+ } else Q.routeMeta(e) ? M5() : (L7(), R("#count").textContent = "", R("#loadSentinel").hidden = !0);}-function dLe() {- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => x2(t, {+function pLe() {+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => b2(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",@@ -80742,37 +80753,37 @@ function dLe() {<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 = Vs(Bs), M5.setGridCards = (e) => rc(L("#grid"), () => {- L("#grid").innerHTML = `<div class="grid">${e}</div>`;- }), M5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), M5.managementPlaceholder = (e) => S2(e, {- followLayout: eLe(),+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, R("#loadSentinel").innerHTML = Bs(zs), j5.setGridCards = (e) => nc(R("#grid"), () => {+ R("#grid").innerHTML = `<div class="grid">${e}</div>`;+ }), j5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), j5.managementPlaceholder = (e) => x2(e, {+ followLayout: nLe(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(tLe())- }), M5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", M5.entityShapesReady = null, M5.ENTITY_SHAPES_WAIT = 400, M5.syncPageTitle = (e) => {- let t = new URL(e, location.origin), n = ep(decodeURIComponent(t.pathname))?.title;- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, d9();+ }))(rLe())+ }), j5.wantsDiscoveryBars = () => R("#catalogFilter").style.display !== "none", j5.entityShapesReady = null, j5.ENTITY_SHAPES_WAIT = 400, j5.syncPageTitle = (e) => {+ let t = new URL(e, location.origin), n = $f(decodeURIComponent(t.pathname))?.title;+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, u9();};}// src/sidebar-skeleton.ts-var I5 = (e) => e.replace(/[&<>"']/g, (e) => ({+var F5 = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"})[e]);-function fLe(e, t, n) {+function mLe(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-${I5(r)}"/></svg>`;- return `<button type="button" data-nav="${I5(e)}" aria-pressed="${n(e)}" aria-label="${I5(t)}">${i}<span>${I5(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-${F5(r)}"/></svg>`;+ return `<button type="button" data-nav="${F5(e)}" aria-pressed="${n(e)}" aria-label="${F5(t)}">${i}<span>${F5(t)}</span></button>`;}).join("")}</div>`;}// src/application/filter-scroll.js-function pLe(e, t, n, r = !1) {+function hLe(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -80790,7 +80801,7 @@ function pLe(e, t, n, r = !1) {};}// src/application/layout.js-var L5 = {+var I5 = {sidebarProps: void 0,sidebarSurface: void 0,sidebarCatalog: void 0,@@ -80812,25 +80823,25 @@ var L5 = {mobileFilterHost: void 0,mobileFilterPath: void 0};-function R5({ manage: e = !0, placeholder: t = "" } = {}) {- L("#stats").hidden = !1, L("#index").hidden = !0, R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? J5() : (Y5(""), p9()), t && w2(L("#stats"), t);+function L5({ manage: e = !0, placeholder: t = "" } = {}) {+ R("#stats").hidden = !1, R("#index").hidden = !0, L7(), R("#count").textContent = "", R("#loadSentinel").hidden = !0, e ? q5() : (J5(""), f9()), t && C2(R("#stats"), t);}-function z5() {- L("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), P5(), document.body.classList.remove("entity-open", "index-open");+function R5() {+ R("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), N5(), document.body.classList.remove("entity-open", "index-open");}-function B5() {- L("#javLibraryHeader").hidden = !An(location.pathname) || !$5(), document.body.classList.remove("entity-open", "index-open"), _p(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, q8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", S7(), J5(), X5();+function z5() {+ R("#javLibraryHeader").hidden = !kn(location.pathname) || !Q5(), document.body.classList.remove("entity-open", "index-open"), gp(R("#index")), R("#stats").hidden = !0, R("#index").hidden = !0, K8(location.pathname) || (R("#feedNew").hidden = !0), R("#catalogFilter").style.display = "", x7(), q5(), Y5();}-function mLe() {- Q.route("/"), B5();+function gLe() {+ Q.route("/"), z5();}-function V5({ tags: e = [], providers: t = [], duration: n = !1 }) {- f9({+function B5({ tags: e = [], providers: t = [], duration: n = !1 }) {+ d9({content: e.length || t.length || n ? {kind: "follow",tags: e.map(([e, t]) => ({value: e,- label: Il(e),+ label: Fl(e),n: t})),selected: [...$.followTags],@@ -80848,72 +80859,72 @@ function V5({ tags: e = [], providers: t = [], duration: n = !1 }) {filters: $.followSidebarFilters()});}-function H5(e) {- gRe({- ...y9(),+function V5(e) {+ vRe({+ ...v9(),...e- }), f9({ filters: $.followSidebarFilters() });+ }), d9({ filters: $.followSidebarFilters() });}-function U5() {+function H5() {return matchMedia("(max-width:760px)").matches;}-function W5(e) {- let t = L("#drawer"), n = !e && t.contains(document.activeElement);- t.inert = !e && U5(), 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 U5(e) {+ let t = R("#drawer"), n = !e && t.contains(document.activeElement);+ t.inert = !e && H5(), t.classList.toggle("open", e), R("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), R("#filterBtn").setAttribute("aria-expanded", String(!!e)), R("#filterBtn").setAttribute("aria-controls", "drawer"), R("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && R("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");}-function G5() {- U5() && W5(!1);+function W5() {+ H5() && U5(!1);}-function hLe() {- uu === null && (xu({ runtimeConfigurable: !1 }), wn("/healthz").then((e) => {- xu({ runtimeConfigurable: !!e.configurable }), uu && q5() && J5();+function _Le() {+ lu === null && (bu({ runtimeConfigurable: !1 }), Cn("/healthz").then((e) => {+ bu({ runtimeConfigurable: !!e.configurable }), lu && K5() && q5();}).catch(() => {}));}-function K5(e = "", t = !1) {- if (!t && !Mf(location.pathname)) {- let t = W.navigation;- W.push(Pf(e), { settingsBackground: {+function G5(e = "", t = !1) {+ if (!t && !jf(location.pathname)) {+ let t = Dp.navigation;+ Dp.push(Nf(e), { settingsBackground: {pathname: location.pathname,search: location.search,state: t.location.state,seq: t.seq} });- } else !t && e && Op(Pf(e), {+ } else !t && e && Op(Nf(e), {replace: !0,- state: W.navigation.location.state+ state: Dp.navigation.location.state});- return e ||= Nf(location.pathname), UFe(L5.settingsHost()).then((t) => (t.open(e), t));+ return e ||= Mf(location.pathname), GFe(I5.settingsHost()).then((t) => (t.open(e), t));}-function gLe() {- Mf(location.pathname) && (Ff(W.navigation.location.state) ? W.go(-1) : Q.navigatePath("/", !0));+function vLe() {+ jf(location.pathname) && (Pf(Dp.navigation.location.state) ? Dp.go(-1) : Q.navigatePath("/", !0));}-function _Le() {+function yLe() {return {- scroll: L("#drawerScroll"),+ scroll: R("#drawerScroll"),store: Z.settingsStore,- navCatalog: L5.NAV_CATALOG,- navOn: o7,- navTo: s7,+ navCatalog: I5.NAV_CATALOG,+ navOn: a7,+ navTo: o7,navToTop: () => {- G5(), dm();+ W5(), dm();},- toggleChip: (e, t, n) => x7((r) => {+ toggleChip: (e, t, n) => b7((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) => x7((n) => {+ setDuration: (e, t) => b7((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]), W5(!1), _9(v9());+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), U5(!1), g9(_9());},selectFollowTag: (e) => {- $.followTags = /* @__PURE__ */ new Set([e]), W5(!1), _9(v9());+ $.followTags = /* @__PURE__ */ new Set([e]), U5(!1), g9(_9());},- selectFollowProvider: (e) => H5({ provider: $.followProviders.has(e) ? "" : e }),- setFollowDuration: (e, t) => H5({+ selectFollowProvider: (e) => V5({ provider: $.followProviders.has(e) ? "" : e }),+ setFollowDuration: (e, t) => V5({durMin: e ? e * 60 : 0,durMax: t < 180 ? t * 60 : 0}),@@ -80922,151 +80933,151 @@ function _Le() {}};}-function vLe() {- let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];- e.innerHTML = fLe(Z.appSettings.sidebarOrder, L5.NAV_CATALOG, o7), e.querySelector("[data-sidebar-head]").append(...t), N8.listen(e, "click", (e) => {- if (c8()) return;+function bLe() {+ let e = R("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];+ e.innerHTML = mLe(Z.appSettings.sidebarOrder, I5.NAV_CATALOG, a7), e.querySelector("[data-sidebar-head]").append(...t), M8.listen(e, "click", (e) => {+ if (s8()) return;let t = e.target.closest?.("[data-nav]");- t && s7(t.dataset.nav);- }), WFe(_Le()).then((e) => e.render(L5.sidebarProps)).catch(() => {});+ t && o7(t.dataset.nav);+ }), KFe(yLe()).then((e) => e.render(I5.sidebarProps)).catch(() => {});}-async function yLe() {- let e = N8, t = null;+async function xLe() {+ let e = M8, t = null;try {- t = await wn("/api/settings", { signal: e.signal });+ t = await Cn("/api/settings", { signal: e.signal });} catch {return;}e.isActive && uM(t, (e) => Z.settingsEffects[e]?.());}-function q5() {- return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");+function K5() {+ return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (W.state === "ads" ? "cleanup" : "");}-function J5() {- let e = q5();- hLe(), e && P5(), L("#count").classList.toggle("no-tagbar", !!e), p9(), e !== "trash" && (C5.trashCount = null), Y5(e);+function q5() {+ let e = K5();+ _Le(), e && N5(), R("#count").classList.toggle("no-tagbar", !!e), f9(), e !== "trash" && (S5.trashCount = null), J5(e);}-function bLe(e) {+function SLe(e) {return {section: e,path: decodeURIComponent(location.pathname),- sections: L5.MANAGE_SECTIONS,- menu: e ? L5.manageMenuSections() : [],- trash: C5.trashCount+ sections: I5.MANAGE_SECTIONS,+ menu: e ? I5.manageMenuSections() : [],+ trash: S5.trashCount};}-function Y5(e = q5()) {- X5();- let t = bLe(e), n = d8();+function J5(e = K5()) {+ Y5();+ let t = SLe(e), n = u8();if (n) n.render(t);else {let e = Nde(t);- e !== L5.manageHeaderSkeleton && (L5.manageHeaderSkeleton = e, L5.manageHeaderRoot().innerHTML = e);+ e !== I5.manageHeaderSkeleton && (I5.manageHeaderSkeleton = e, I5.manageHeaderRoot().innerHTML = e);}let r = UF(t)?.title || "";- r !== L5.lastManagePageLabel && (L5.lastManagePageLabel = r, r && ec(L5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));+ r !== I5.lastManagePageLabel && (I5.lastManagePageLabel = r, r && $s(I5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function xLe() {- let e = L5.manageHeaderRoot();- N8.listen(e, "click", (e) => {- if (d8()) return;+function CLe() {+ let e = I5.manageHeaderRoot();+ M8.listen(e, "click", (e) => {+ if (u8()) return;let t = e.target.closest?.("[data-manage]");- if (t) Q5(t.dataset.manage);+ if (t) Z5(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]") && M7();- }), GFe({+ } else e.target.closest?.("[data-empty-trash]") && j7();+ }), qFe({root: e,- openManage: Q5,+ openManage: Z5,openDataCleanup: () => Q.navigatePath("/data-cleanup"),- emptyTrash: M7- }).then(() => Y5()).catch(() => {});+ emptyTrash: j7+ }).then(() => J5()).catch(() => {});}-function X5() {- let e = L("#listTitle");+function Y5() {+ let e = R("#listTitle");if (!e) return;- let t = decodeURIComponent(location.pathname), n = !q5() && An(t) && kn[U.state] || "";+ let t = decodeURIComponent(location.pathname), n = !K5() && kn(t) && On[W.state] || "";e.hidden = !n, n && (e.textContent = n);- let r = L("#catalogPageHeading");- r.hidden = !!q5() || !An(t) || !!n || U.jav === "1", Z5(r, U.q);+ let r = R("#catalogPageHeading");+ r.hidden = !!K5() || !kn(t) || !!n || W.jav === "1", X5(r, W.q);}-function Z5(e, t) {+function X5(e, t) {let n = e?.querySelector("[data-page-title]");if (!n) return;let r = String(t || "").trim() || "首页";n.textContent !== r && (n.textContent = r);}-function Q5(e = "stats") {+function Z5(e = "stats") {let t = Q.routePathOf("section", e);- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", Su(), Q.route(YU()), B5(), p9(), j7());+ t ? Q.openRoutePath(t) : (W.orient = "", W.state = "ads", xu(), Q.route(qU()), z5(), f9(), A7());}-function $5() {+function Q5() {let e = decodeURIComponent(location.pathname);- return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || mu : !1;+ return e === "/" ? W.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? W.jav === "1" || pu : !1;}-function SLe(e = $5()) {+function wLe(e = Q5()) {let t = Fj.filter(([e]) => e !== "seed");return e ? [Ij, ...t] : t;}-function e7() {- return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";+function $5() {+ return decodeURIComponent(location.pathname) === "/" && W.jav !== "1";}-function t7() {- return xM(e7());+function e7() {+ return xM($5());}-function CLe(e) {- Sle(e), r7(), L("#grid").hidden || q7();+function TLe(e) {+ Sle(e), n7(), R("#grid").hidden || K7();}-function n7(e) {- kM(e), r7(), q7();+function t7(e) {+ kM(e), n7(), K7();}-function r7() {+function n7() {document.querySelectorAll("[data-video-layout]").forEach((e) => {- e.checked = e.value === t7();- }), X.catalogFilterProps && C7({ layout: T7() });+ e.checked = e.value === e7();+ }), X.catalogFilterProps && S7({ layout: w7() });}-function wLe(e) {- Cle(e), r7(), q7();+function ELe(e) {+ Cle(e), n7(), K7();}-async function i7() {- C8(), X.mixRelatedCache.clear(), await Promise.all([a7(), j7()]);+async function r7() {+ S8(), X.mixRelatedCache.clear(), await Promise.all([i7(), A7()]);}-async function a7() {- if (Y.entityPageCurrent() && !L("#index").hidden) {- n5({ revision: ++Y.entityPageRevision });+async function i7() {+ if (Y.entityPageCurrent() && !R("#index").hidden) {+ t5({ revision: ++Y.entityPageRevision });return;}let e = decodeURIComponent(location.pathname);- if (ep(e)?.reload === "reopen" || e === "/follow") {- xu({ pageOpens: fu + 1 });+ if ($f(e)?.reload === "reopen" || e === "/follow") {+ bu({ pageOpens: du + 1 });return;}let t = Q.routeMeta(e);- t?.route.reload ? await t.route.reload() : await I7();+ t?.route.reload ? await t.route.reload() : await F7();}-function o7(e) {- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = L5.DIRECT_MANAGE_NAV[e];- if (r) return q5() === r;+function a7(e) {+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = I5.DIRECT_MANAGE_NAV[e];+ if (r) return K5() === r;if (e === "manage") {- let e = q5();- return !!e && !Z.appSettings.sidebarOrder.some((t) => L5.DIRECT_MANAGE_NAV[t] === e);+ let e = K5();+ return !!e && !Z.appSettings.sidebarOrder.some((t) => I5.DIRECT_MANAGE_NAV[t] === e);}- return e === "jav" ? t === "/jav" || $5() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !q5() && !U.state && !$5() && U.orient !== "竖屏" : Dn[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";+ return e === "jav" ? t === "/jav" || Q5() : e === "shorts" ? W.orient === "竖屏" : e === "" ? t === "/" && !K5() && !W.state && !Q5() && W.orient !== "竖屏" : En[e] ? n === e && W.orient !== "竖屏" : n ? n === e : t === "/" && W.state === e && W.orient !== "竖屏";}-function s7(e) {+function o7(e) {let t = am(e);if (t === location.pathname + location.search + location.hash) return;- if (G5(), t) {+ if (W5(), t) {Q.navigatePath(t);return;}- if (L5.DIRECT_MANAGE_NAV[e]) {- Q5(L5.DIRECT_MANAGE_NAV[e]);+ if (I5.DIRECT_MANAGE_NAV[e]) {+ Z5(I5.DIRECT_MANAGE_NAV[e]);return;}if (e === "manage") {- Q5();+ Z5();return;}if (e === "jav") {@@ -81074,25 +81085,25 @@ function s7(e) {return;}if (e === "") {- h7();+ m7();return;}- let n = Dn[e] ? null : Q.routePathOf("nav", e);- n ? Q.openRoutePath(n) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), Su(), Q.route(m7()), p9(), j7());+ let n = En[e] ? null : Q.routePathOf("nav", e);+ n ? Q.openRoutePath(n) : (e === "shorts" ? (W.orient = "竖屏", W.state = "") : (W.orient = "", W.state = e), xu(), Q.route(p7()), f9(), A7());}-function c7() {+function s7() {let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);- Zl && eu !== C5.currentSelectSurface() && T5(!1, !0);- let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Mn, t[0]), r = An(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";- L("#selectMode").hidden = !i, L("#density").hidden = !a, s5(), !i && Zl && T5(!1, !0);+ Xl && $l !== S5.currentSelectSurface() && w5(!1, !0);+ let n = t.length > 1 && Object.prototype.hasOwnProperty.call(jn, t[0]), r = kn(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";+ R("#selectMode").hidden = !i, R("#density").hidden = !a, o5(), !i && Xl && w5(!1, !0);}-function TLe() {+function DLe() {let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);- (t !== L5.mobileFilterHost || location.pathname !== L5.mobileFilterPath) && (L5.mobileFilterScroll = null), L5.mobileFilterHost = t, L5.mobileFilterPath = location.pathname;+ (t !== I5.mobileFilterHost || location.pathname !== I5.mobileFilterPath) && (I5.mobileFilterScroll = null), I5.mobileFilterHost = t, I5.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\"]");- L5.mobileFilterScroll = pLe(L5.mobileFilterScroll, n, innerWidth <= 760, r);+ I5.mobileFilterScroll = hLe(I5.mobileFilterScroll, n, innerWidth <= 760, r);for (let n of e) {- let e = n === t && L5.mobileFilterScroll.free;+ let e = n === t && I5.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);@@ -81104,63 +81115,63 @@ function TLe() {});}}-function ELe() {- TLe(), [".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 OLe() {+ DLe(), [".board-filter-frame", "#count"].forEach((e) => {+ let t = R(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 l7() {- L5.stickyFrame ||= N8.frame(() => {- L5.stickyFrame = 0, ELe();+function c7() {+ I5.stickyFrame ||= M8.frame(() => {+ I5.stickyFrame = 0, OLe();});}-function DLe() {+function kLe() {$.followSidebarFilters = () => ({provider: [...$.followProviders][0] || "",dur_min: $.followDurMin || "",dur_max: $.followDurMax || ""- }), N8.handler(L("#filterBtn"), "onclick", () => W5(!L("#drawer").classList.contains("open"))), L5.SIDEBAR_ITEMS = w8, L5.MANAGE_SECTIONS = T8, L5.MANAGE_MENU_SECTIONS = E8, L5.manageMenuSections = () => oIe(uu === !0), L5.OPTIONAL_SIDEBAR_ITEMS = D8, L5.NAV_CATALOG = sIe, L5.DIRECT_MANAGE_NAV = cIe, L5.settingsHost = () => ({- selectSection: (e) => Op(Pf(e), {+ }), M8.handler(R("#filterBtn"), "onclick", () => U5(!R("#drawer").classList.contains("open"))), I5.SIDEBAR_ITEMS = C8, I5.MANAGE_SECTIONS = w8, I5.MANAGE_MENU_SECTIONS = T8, I5.manageMenuSections = () => cIe(lu === !0), I5.OPTIONAL_SIDEBAR_ITEMS = E8, I5.NAV_CATALOG = lIe, I5.DIRECT_MANAGE_NAV = uIe, I5.settingsHost = () => ({+ selectSection: (e) => Op(Nf(e), {replace: !0,- state: W.navigation.location.state+ state: Dp.navigation.location.state}),- closed: gLe,+ closed: vLe,store: Z.settingsStore,changed: (e) => Z.settingsEffects[e]?.(),- sound: (e) => Zo(e),- navCatalog: L5.NAV_CATALOG,+ sound: (e) => Xo(e),+ navCatalog: I5.NAV_CATALOG,themeOptions: _le,videoLayouts: hM,- followInitialRanges: O8,- videoLayout: () => t7(),- setVideoLayout: wLe,- censored: Z7,- setCensored: YLe,+ followInitialRanges: D8,+ videoLayout: () => e7(),+ setVideoLayout: ELe,+ censored: X7,+ setCensored: ZLe,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),- setHighContrast: XLe,- receipt: (e) => _8.actionReceipt(e),- failure: _8.actionFailure,+ setHighContrast: QLe,+ receipt: (e) => g8.actionReceipt(e),+ failure: g8.actionFailure,syncRemote: (e) => uM(e, (e) => Z.settingsEffects[e]?.()),openConfiguration: () => Q.navigatePath("/settings/library"),attached: () => Z.syncGlassOptics(),- configurable: () => wn("/healthz").then((e) => (xu({ runtimeConfigurable: !!e.configurable }), uu)).catch(() => null)- }), N8.handler(L("#settingsBtn"), "onclick", () => void K5()), L5.lastManagePageLabel = "", L5.manageHeaderSkeleton = "", L5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, L5.scrollT = null, L5.stickyFrame = 0, L5.mobileFilterScroll = null, L5.mobileFilterHost = null, L5.mobileFilterPath = "", N8.listen(document, "focusin", l7), N8.listen(document, "focusout", l7), N8.listen(window, "scroll", () => {- l7(), location.pathname === "/follow" && x9() && xu({ followScrollY: scrollY }), window.__scrolling = !0, Ml(), clearTimeout(L5.scrollT), L5.scrollT = N8.delay(() => {+ configurable: () => Cn("/healthz").then((e) => (bu({ runtimeConfigurable: !!e.configurable }), lu)).catch(() => null)+ }), M8.handler(R("#settingsBtn"), "onclick", () => void G5()), I5.lastManagePageLabel = "", I5.manageHeaderSkeleton = "", I5.manageHeaderRoot = () => R("[data-manage-header]"), window.__scrolling = !1, I5.scrollT = null, I5.stickyFrame = 0, I5.mobileFilterScroll = null, I5.mobileFilterHost = null, I5.mobileFilterPath = "", M8.listen(document, "focusin", c7), M8.listen(document, "focusout", c7), M8.listen(window, "scroll", () => {+ c7(), location.pathname === "/follow" && b9() && bu({ followScrollY: scrollY }), window.__scrolling = !0, jl(), clearTimeout(I5.scrollT), I5.scrollT = M8.delay(() => {window.__scrolling = !1;}, 180);- }, { passive: !0 }), N8.listen(window, "resize", l7, { passive: !0 }), N8.handler(L("#scrim"), "onclick", () => W5(!1));+ }, { passive: !0 }), M8.listen(window, "resize", c7, { passive: !0 }), M8.handler(R("#scrim"), "onclick", () => U5(!1));}// src/catalog-filter-skeleton.ts-var u7 = 64, d7 = (e) => e.replace(/[&<>"]/g, (e) => ({+var l7 = 64, u7 = (e) => e.replace(/[&<>"]/g, (e) => ({"&": "&","<": "<",">": ">","\"": """-})[e]), f7 = (e) => e.repeat(u7);-function OLe(e, t, n) {- let r = e.map((e) => `<a href="${d7(e.href)}" data-catalog-view="${d7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${d7(e.label)}</a>`).join(""), i = FG();- 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\">" + f7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + f7("<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(u7) + `</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>${Ts()}</span>` + (n ? e5(n.sorts, n.layout) : "") + "</div></div></div></div>";+})[e]), d7 = (e) => e.repeat(l7);+function ALe(e, t, n) {+ let r = e.map((e) => `<a href="${u7(e.href)}" data-catalog-view="${u7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${u7(e.label)}</a>`).join(""), i = jG();+ 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\">" + d7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + d7("<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(l7) + `</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>${ws()}</span>` + (n ? $8(n.sorts, n.layout) : "") + "</div></div></div></div>";}// src/application/catalog.jsvar X = {@@ -81199,80 +81210,80 @@ var X = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function kLe() {- X.initialParams.has("loc") || (U.loc = p7(U.loc), Su());+function jLe() {+ X.initialParams.has("loc") || (W.loc = f7(W.loc), xu());}-function p7(e) {- return ZFe(e, Z.sourceOnline);+function f7(e) {+ return $Fe(e, Z.sourceOnline);}-function m7(e = U) {- return QFe(e);+function p7(e = W) {+ return eIe(e);}-function ALe() {- xu(y8($Fe(U, Z.appSettings, _8.rollSeed)));+function MLe() {+ bu(v8(tIe(W, Z.appSettings, g8.rollSeed)));}-function h7(e = null) {- ALe(), e && (Object.assign(U, e), Su()), Q.route(e ? m7() : "/"), X.clearSearchField(), r9(!1), p9(), j7();+function m7(e = null) {+ MLe(), e && (Object.assign(W, e), xu()), Q.route(e ? p7() : "/"), X.clearSearchField(), n9(!1), f9(), A7();}-function jLe(e, t = null) {+function NLe(e, t = null) {let n = e.id;- !e.medium || e.medium === "video" ? s9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : E5(n);+ !e.medium || e.medium === "video" ? o9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : T5(n);}-function g7(e) {- return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, wn("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {+function h7(e) {+ return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, Cn("/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 MLe(e, t) {- $6()?.miniplayerTakesCard(e) ? $6().miniplayerPlay(e.id) : _7(e, t);+function PLe(e, t) {+ Q6()?.miniplayerTakesCard(e) ? Q6().miniplayerPlay(e.id) : g7(e, t);}-function _7(e, t) {- e.edition_group ? rRe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? iRe(e.part_group.seed_id, e.id, !0, t) : s9(e.id, !0, null, t);+function g7(e, t) {+ e.edition_group ? aRe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? oRe(e.part_group.seed_id, e.id, !0, t) : o9(e.id, !0, null, t);}-async function NLe(e, t) {+async function FLe(e, t) {try {- let n = await wn("/api/watch-later", {+ let n = await Cn("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })});- e.watch_later = n.watch_later, t(!!n.watch_later), _8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- let n = await wn("/api/watch-later", {+ e.watch_later = n.watch_later, t(!!n.watch_later), g8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {+ let n = await Cn("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })});e.watch_later = n.watch_later, t(!!n.watch_later);} });} catch (e) {- _8.actionFailure("更新稍后看", e);+ g8.actionFailure("更新稍后看", e);}}-async function PLe(e, t) {+async function ILe(e, t) {try {- await wn("/api/batch", {+ await Cn("/api/batch", {method: "POST",body: JSON.stringify({ids: [e.id],operation: t})- }), await I7();+ }), await F7();let n = t === "restore" ? "dispose" : "restore";- _8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {- await wn("/api/batch", {+ g8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {+ await Cn("/api/batch", {method: "POST",body: JSON.stringify({ids: [e.id],operation: n,...n === "dispose" ? { disposal_reason: e.disposal_reason ?? null } : {}})- }), await I7();+ }), await F7();} });} catch (e) {- throw _8.actionFailure("操作", e), e;+ throw g8.actionFailure("操作", e), e;}}-async function FLe(e, t, n, r) {+async function LLe(e, t, n, r) {let i = Number(e.rating) || 0, a = xP(i, t), o = async (t, r) => {- let i = (await wn("/api/feedback", {+ let i = (await Cn("/api/feedback", {method: "POST",body: JSON.stringify({id: e.id,@@ -81285,14 +81296,14 @@ async function FLe(e, t, n, r) {};try {let e = await o(a, r);- _8.actionReceipt(e ? `已评 ${bP(e)} 星` : "已取消评分", { undo: () => o(i) });+ g8.actionReceipt(e ? `已评 ${bP(e)} 星` : "已取消评分", { undo: () => o(i) });} catch (e) {- throw r?.aborted || _8.actionFailure("评分", e), e;+ throw r?.aborted || g8.actionFailure("评分", e), e;}}-async function v7(e) {+async function _7(e) {let t = new URLSearchParams();- if ($5() && 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 (Q5() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && W.state && t.set("state", W.state), e.type !== "item") {let e = Y.activeFilterState();["loc",@@ -81314,33 +81325,33 @@ async function v7(e) {e[n] && t.set(n, e[n]);});}- return iIe(t.toString(), X.topsQueryParams(e).toString());+ return oIe(t.toString(), X.topsQueryParams(e).toString());}-function y7(e) {- r5().type !== "entity" && C7({ tags: D7(e) }), f9({ filters: { ...e } }), F7();+function v7(e) {+ n5().type !== "entity" && S7({ tags: E7(e) }), d9({ filters: { ...e } }), P7();}-async function b7(e) {- let t = ++X.facetCountsSeq, [n] = await v7(e);- t === X.facetCountsSeq && (e.type === "home" && (e9.facets = n), f9({ latest: X7(n, e) }));+async function y7(e) {+ let t = ++X.facetCountsSeq, [n] = await _7(e);+ t === X.facetCountsSeq && (e.type === "home" && ($7.facets = n), d9({ latest: Y7(n, e) }));}-function x7(e) {- let t = r5();+function b7(e) {+ let t = n5();if (t.type === "entity") {let n = { ...t.filters };- e(n), a5(t.kind, t.name, n), y7(n), b7(r5());+ e(n), i5(t.kind, t.name, n), v7(n), y7(n5());} else if (t.type === "item") {- let t = Y.cloneBarsContext(Jl);- if (r9(!1), xu({ detailReturnBarsContext: null }), t && t.type === "entity") {- e(t.filters), a5(t.kind, t.name, t.filters) ? j7() : xu({ pageOpens: fu + 1 });+ let t = Y.cloneBarsContext(ql);+ if (n9(!1), bu({ detailReturnBarsContext: null }), t && t.type === "entity") {+ e(t.filters), i5(t.kind, t.name, t.filters) ? A7() : bu({ pageOpens: du + 1 });return;}- e(U), xu({ barsContext: {+ e(W), bu({ barsContext: {type: "home",- filters: U- } }), Q.route(m7()), B5(), j7();- } else e(U), Su(), Q.route(m7()), y7(U), b7(ql);+ filters: W+ } }), Q.route(p7()), z5(), A7();+ } else e(W), xu(), Q.route(p7()), v7(W), y7(Kl);}-function ILe() {+function RLe() {return {tiers: null,tiersPending: !1,@@ -81357,226 +81368,226 @@ function ILe() {offscreen: !1,combo: [],comboHidden: !0,- comboHost: L("#combo"),- actions: w7(),+ comboHost: R("#combo"),+ actions: C7(),helpers: {- wireDrag: $7,+ wireDrag: Q7,wireScroller: (e) => {- e && kc(e);+ e && Oc(e);}}};}-function S7() {- X.catalogFilterProps && C7({});+function x7() {+ X.catalogFilterProps && S7({});}-function C7(e) {- let t = L("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");+function S7(e) {+ let t = R("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");e = {...e,offscreen: n}, X.catalogFilterProps = {- ...X.catalogFilterProps || ILe(),+ ...X.catalogFilterProps || RLe(),...e- }, !X.catalogFilterMounting && (up(t) ? gp(t, e) : (!t.firstChild && !n && (t.innerHTML = OLe(X.catalogViews(), X.catalogFilterProps.state, E7()), fc(t)), X.catalogFilterMounting = mp("catalog-filter", X.catalogFilterProps, {+ }, !X.catalogFilterMounting && (lp(t) ? hp(t, e) : (!t.firstChild && !n && (t.innerHTML = ALe(X.catalogViews(), X.catalogFilterProps.state, T7()), dc(t)), X.catalogFilterMounting = pp("catalog-filter", X.catalogFilterProps, {container: t,isCurrent: () => !0- }).then(() => gp(t, X.catalogFilterProps)).finally(() => {+ }).then(() => hp(t, X.catalogFilterProps)).finally(() => {X.catalogFilterMounting = null;})));}-function w7() {+function C7() {return {currentHref: () => {- let e = new URL(m7(), 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(p7(), location.origin);+ return e.searchParams.set("loc", W.loc || ""), e.searchParams.set("thumb", W.thumb || "0"), e.searchParams.set("sort", W.sort || ""), e.searchParams.set("dir", W.dir || ""), e.pathname + e.search;},- openEntity: (e, t) => h5(e, t),+ openEntity: (e, t) => m5(e, t),setView: (e) => {- U.state = e, Su(), C7({ state: e }), Q.route(m7()), j7();+ W.state = e, xu(), S7({ state: e }), Q.route(p7()), A7();},- toggleTag: (e) => N7(e),- clearFilter: (e) => x7((t) => {+ toggleTag: (e) => M7(e),+ clearFilter: (e) => b7((t) => {t[e] = "";}),- clearAll: () => x7((e) => {+ clearAll: () => b7((e) => {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let t = Hj(e, U.sort, U.dir);- t && (U.sort = t.sort, U.dir = t.dir, Su(), Y7());+ let t = Hj(e, W.sort, W.dir);+ t && (W.sort = t.sort, W.dir = t.dir, xu(), J7());},- reshuffle: () => JLe(),+ reshuffle: () => XLe(),setLayout: (e) => {- $5() ? n7(e) : CLe(e);+ Q5() ? t7(e) : TLe(e);},moreTops: async (e) => {let t = X.catalogTopsPages;if (!t) return [];- let n = (await aIe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];- return e === "performers" ? n.map(O7) : n.map(k7);+ let n = (await sIe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];+ return e === "performers" ? n.map(D7) : n.map(O7);}};}-function T7() {- return $5() ? {+function w7() {+ return Q5() ? {name: "jav-layout",label: "JAV 卡片版式",value: bM(),options: hM- } : e7() ? {+ } : $5() ? {name: "home-layout",label: "首页卡片版式",- value: t7(),+ value: e7(),options: hM} : null;}-function E7() {+function T7() {return {- sorts: i5(U.sort, U.dir),- layout: T7(),- state: U.state || "",- trash: U.state === "trash"+ sorts: r5(W.sort, W.dir),+ layout: w7(),+ state: W.state || "",+ trash: W.state === "trash"};}-function D7(e) {+function E7(e) {return X.catalogTagRows.map((t) => ({...t,selected: X.tagPressed(e.tag, t.k)}));}-function O7(e) {+function D7(e) {return {name: e.k,- ringHtml: `<span data-tier-initial>${z($n(tn("performer", e.k, e.id)))}</span>${ho({+ ringHtml: `<span data-tier-initial>${B(Qn(en("performer", e.k, e.id)))}</span>${mo({id: e.id,hasImage: e.has_image,version: e.image_version,rep: e.has_avatar ? e.rep : null,- style: yo(e.avatar_focus),+ style: vo(e.avatar_focus),focus: e.avatar_focus,standIn: e.avatar_stand_in})}`};}-function k7(e) {+function O7(e) {return {name: e.k,- fallback: Qn(e.k, 2),- logo: e.has_logo ? fo(e.k, "icon", e.logo_version) : ""+ fallback: Zn(e.k, 2),+ logo: e.has_logo ? uo(e.k, "icon", e.logo_version) : ""};}-function LLe(e, t) {- X.barsPendingSeq = t, X.catalogFilterProps?.tiers ? C7({+function zLe(e, t) {+ X.barsPendingSeq = t, X.catalogFilterProps?.tiers ? S7({tiersPending: !0,state: e.state || ""- }) : (X.barsRendered = "", C7({+ }) : (X.barsRendered = "", S7({tiers: null,tiersPending: !0,state: e.state || ""}));}-function A7(e) {- X.barsPendingSeq === e && (X.barsPendingSeq = 0, C7({ tiersPending: !1 }));+function k7(e) {+ X.barsPendingSeq === e && (X.barsPendingSeq = 0, S7({ tiersPending: !1 }));}-async function j7() {+async function A7() {let e = ++X.barsRequestSeq;- if (f9(), !Wl(location.pathname) || ql.type === "item") return;- let t = r5(), n = Y.activeFilterState(), r = JSON.stringify([+ if (d9(), !Ul(location.pathname) || Kl.type === "item") return;+ let t = n5(), n = Y.activeFilterState(), r = JSON.stringify([t,n,- U.state || "",- U.seed || "",- $5()+ W.state || "",+ W.seed || "",+ Q5()]);- LLe(n, e);+ zLe(n, e);let i;try {- i = await v7(t);+ i = await _7(t);} catch (t) {- throw A7(e), t;+ throw k7(e), t;}let [a, o] = i;if (e !== X.barsRequestSeq) {- A7(e);+ k7(e);return;}let s = r + "\n" + JSON.stringify([a, o]);if (s === X.barsRendered) {- X.barsPendingSeq = 0, C7({ tiersPending: !1 }), L5.sidebarCatalog && f9({- content: L5.sidebarCatalog,+ X.barsPendingSeq = 0, S7({ tiersPending: !1 }), I5.sidebarCatalog && d9({+ content: I5.sidebarCatalog,filters: { ...n }});return;}- X.barsRendered = s, t.type === "home" && (e9.facets = a);+ X.barsRendered = s, t.type === "home" && ($7.facets = a);let c = a.tags || [];- Ya(o.performers), Ya(o.studios);- let l = t.type === "home" && !$5() && !U.state && !U.q && !a.locations.some((e) => e.n > 0);+ Ja(o.performers), Ja(o.studios);+ let l = t.type === "home" && !Q5() && !W.state && !W.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 = _8.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 = g8.seededSample(p, X.TAGS_FIRST, `tags:${W.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: Il(e.k),+ label: Fl(e.k),n: e.n ?? null- })), X.barsPendingSeq = 0, C7({+ })), X.barsPendingSeq = 0, S7({tiers: {key: String(X.barsRequestSeq),- performers: o.performers.map(O7),- studios: o.studios.map(k7)+ performers: o.performers.map(D7),+ studios: o.studios.map(O7)},tiersPending: !1,empty: l,- tags: D7(n),+ tags: E7(n),tagFirst: f.length + m.length,views: X.catalogViews(),state: n.state || ""- }), F7(), L5.sidebarCatalog = {+ }), P7(), I5.sidebarCatalog = {kind: "catalog",- key: String(++L5.sidebarContentSeq),- facets: X7(a, t)- }, f9({- content: L5.sidebarCatalog,+ key: String(++I5.sidebarContentSeq),+ facets: Y7(a, t)+ }, d9({+ content: I5.sidebarCatalog,filters: { ...n },latest: null});}-function RLe(e, t) {- e9.total = e, U.state === "trash" && (C5.trashCount = {- total: e9.total,+function BLe(e, t) {+ $7.total = e, W.state === "trash" && (S5.trashCount = {+ total: $7.total,shown: t- }), J5(), C7({ count: {- total: e9.total,+ }), q5(), S7({ count: {+ total: $7.total,shown: t} });}-function M7() {- return cl({+function j7() {+ return sl({title: "清空回收站",body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",confirmLabel: "清空回收站",danger: !0,onConfirm: async () => {try {- let e = await wn("/api/trash/empty", { method: "POST" });+ let e = await Cn("/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"));- _8.actionReceipt(`已永久删除 ${e.purged} 项`);+ g8.actionReceipt(`已永久删除 ${e.purged} 项`);} finally {- await I7();+ await F7();}}});}-function N7(e) {- x7((t) => {+function M7(e) {+ b7((t) => {t.tag = e ? X.withTagToggled(t.tag, e) : "";});}-function P7(e) {+function N7(e) {let t = [];return e.creator && t.push({kind: "clear",@@ -81597,240 +81608,240 @@ function P7(e) {}), X.tagList(e.tag).forEach((e) => t.push({kind: "untag",key: e,- label: Il(e)+ label: Fl(e)})), t;}-function F7() {- C7({- combo: P7(U),+function P7() {+ S7({+ combo: N7(W),comboHidden: !X.catalogOnScreen()});}-async function I7() {+async function F7() {let e = Q.claimSurface(Q.surfacePath());- if (xu({+ if (bu({barsContext: {type: "home",- filters: U+ filters: W},detailReturnBarsContext: null- }), r9(!1), U.state === "ads") return VLe(e);- X.controller.page === "/junk-files" && R7(), N5(), B5();- let t = z7(e);- if (q8(location.pathname) && U.browse !== "folders") {- if (await M5.entityShapesReady, !Q.surfaceCurrent(e)) return;- TIe();- } else J8();- return F7(), L("#count").classList.remove("manage-static", "junkcount"), t;-}-function L7(e) {+ }), n9(!1), W.state === "ads") return ULe(e);+ X.controller.page === "/junk-files" && L7(), M5(), z5();+ let t = R7(e);+ if (K8(location.pathname) && W.browse !== "folders") {+ if (await j5.entityShapesReady, !Q.surfaceCurrent(e)) return;+ DIe();+ } else q8();+ return P7(), R("#count").classList.remove("manage-static", "junkcount"), t;+}+function I7(e) {X.controller.settle(e);}-function R7() {- let e = L("#grid");- Ml(e), _p(e), X.controller.clear(), e.innerHTML = "";+function L7() {+ let e = R("#grid");+ jl(e), gp(e), X.controller.clear(), e.innerHTML = "";+}+function R7(e) {+ return H7("/", HLe, e, { place: bRe });}-function z7(e) {- return U7("/", BLe, e, { place: vRe });+function VLe(e) {+ return H7("/junk-files", GLe, e);}-function zLe(e) {- return U7("/junk-files", ULe, e);+function z7() {+ return !!cp(R("#grid"));}function B7() {- return !!lp(L("#grid"));-}-function V7() {- return X.controller.taken(B7());-}-function H7(e) {- gp(L("#grid"), e);-}-function U7(e, t, n, r = {}) {- let i = L("#grid");- X.controller.page && X.controller.page !== e && R7();- let a = X.controller.begin(e, B7()), o = t();- if (!a.mount) return H7(o), a.settled;- Ml(i);- let s = () => _p(i);- return a.signal.addEventListener("abort", s, { once: !0 }), mp(e, o, {+ return X.controller.taken(z7());+}+function V7(e) {+ hp(R("#grid"), e);+}+function H7(e, t, n, r = {}) {+ let i = R("#grid");+ X.controller.page && X.controller.page !== e && L7();+ let a = X.controller.begin(e, z7()), o = t();+ if (!a.mount) return V7(o), a.settled;+ jl(i);+ let s = () => gp(i);+ return a.signal.addEventListener("abort", s, { once: !0 }), pp(e, o, {...r,container: i,isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()}).catch((e) => console.error(e)).finally(() => {- a.signal.removeEventListener("abort", s), a.finish(B7());+ a.signal.removeEventListener("abort", s), a.finish(z7());}), a.settled;}-function W7() {- let e = e7();+function U7() {+ let e = $5();return DM({- active: $5() || e,+ active: Q5() || e,home: e,- portrait: U.orient === "竖屏"+ portrait: W.orient === "竖屏"});}-function G7(e = "正在读取作品") {- return JJ(e, K7());+function W7(e = "正在读取作品") {+ return WJ(e, G7());}-function K7() {- return U ? OM(W7()) : 16 / 9;+function G7() {+ return W ? OM(U7()) : 16 / 9;}-function q7() {- V7() && (Ml(L("#grid")), H7({- layout: W7(),+function K7() {+ B7() && (jl(R("#grid")), V7({+ layout: U7(),seekSeconds: Z.appSettings.seekSeconds- })), Y.entityPageCurrent() && (Ml(L("#index [data-entity-hero]")), n5({- layout: W7(),+ })), Y.entityPageCurrent() && (jl(R("#index [data-entity-hero]")), t5({+ layout: U7(),seekSeconds: Z.appSettings.seekSeconds}));}-function BLe() {- let e = decodeURIComponent(location.pathname), t = An(e), n = U.state === "trash";+function HLe() {+ let e = decodeURIComponent(location.pathname), t = kn(e), n = W.state === "trash";return {mode: "catalog",helpers: X.gridHelpers,actions: X.gridActions,- layout: W7(),+ layout: U7(),wall: e === "/wall",restoreNavigation: um(),- selectMode: Zl,- selected: new Set(Yl),+ selectMode: Xl,+ selected: new Set(Jl),seekSeconds: Z.appSettings.seekSeconds,revision: X.controller.revision,- wireDrag: $7,- settled: L7,- skeletonHtml: () => G7(),- filters: { ...U },+ wireDrag: Q7,+ settled: I7,+ skeletonHtml: () => W7(),+ filters: { ...W },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" && !$5() && U.orient !== "竖屏" && !n && U.browse !== "folders",- countRow: L("#count"),- onCount: RLe,- onCountFailed: () => C7({ count: !1 }),- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : BK({- jav: $5() && !t,- configurable: uu,+ excludeVertical: t && e !== "/wall" && !W.q && !W.orient && W.browse !== "folders" || W.jav === "1",+ mix: t && e !== "/wall" && !n && W.browse !== "folders",+ shorts: t && e !== "/wall" && !Q5() && W.orient !== "竖屏" && !n && W.browse !== "folders",+ countRow: R("#count"),+ onCount: BLe,+ onCountFailed: () => S7({ count: !1 }),+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : IK({+ jav: Q5() && !t,+ configurable: lu,filtered: !t}),- canLoadMore: () => L("#stats").hidden && L("#index").hidden+ canLoadMore: () => R("#stats").hidden && R("#index").hidden};}-function VLe(e) {- let t = L("#count");- return X.controller.page === "/junk-files" && B7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (R7(), N5("正在读取垃圾文件")), B5(), F7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), zLe(e);+function ULe(e) {+ let t = R("#count");+ return X.controller.page === "/junk-files" && z7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (L7(), M5("正在读取垃圾文件")), z5(), P7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), VLe(e);}-async function HLe(e, t) {+async function WLe(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {- await wn("/api/batch", {+ await Cn("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: t,...r ? { disposal_reason: "junk" } : {}})- }), await I7();+ }), await F7();let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";- _8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {- await wn("/api/batch", {+ g8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {+ await Cn("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: e})- }), await I7();+ }), await F7();} });} catch (e) {- throw _8.actionFailure("操作", e), e;+ throw g8.actionFailure("操作", e), e;}}-function ULe() {+function GLe() {return {- ...JU(location.search),+ ...KU(location.search),helpers: X.junkQueueHelpers,actions: X.junkQueueActions,batchSize: Z.appSettings.batchSize,revision: X.controller.revision,- selectMode: Zl,- selected: new Set(Yl),- countRow: L("#count"),- settled: L7,- skeletonHtml: () => x2("正在读取垃圾文件", {+ selectMode: Xl,+ selected: new Set(Jl),+ countRow: R("#count"),+ settled: I7,+ skeletonHtml: () => b2("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"}),- canLoadMore: () => L("#stats").hidden && L("#index").hidden+ canLoadMore: () => R("#stats").hidden && R("#index").hidden};}-function WLe() {- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => v8(e, t, Z.appSettings, n), xu(y8(XFe(location, Z.appSettings, _8.rollSeed))), X.searchValueSnapshot = {+function KLe() {+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => _8(e, t, Z.appSettings, n), bu(v8(QFe(location, Z.appSettings, g8.rollSeed))), X.searchValueSnapshot = {text: "",scrollLeft: 0- }, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {+ }, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = R("#q")) => {X.searchValueSnapshot = {text: e?.value || "",scrollLeft: e?.scrollLeft || 0};}, X.clearSearchField = (e = null) => {- let t = L("#q");+ let t = R("#q");if (!t) return;let n = {text: t.value,scrollLeft: t.scrollLeft || 0}, r = e || (n.text ? n : X.searchValueSnapshot);- X.cancelSearchDissolve(), X.cancelSearchDissolve = Ys(t, t.parentElement, r), X.searchValueSnapshot = {+ X.cancelSearchDissolve(), X.cancelSearchDissolve = Js(t, t.parentElement, r), X.searchValueSnapshot = {text: "",scrollLeft: 0};};}-function GLe() {- N8.handler(L("#wallBtn"), "onclick", () => {- T5(!1, !0);- let e = r5(), t = {+function qLe() {+ M8.handler(R("#wallBtn"), "onclick", () => {+ w5(!1, !0);+ let e = n5(), t = {...Y.activeFilterState(),- jav: $5() ? "1" : ""+ jav: Q5() ? "1" : ""};- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(Wbe(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(Jbe(void 0, t));+ }), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = W.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {let n = X.tagList(e), r = n.indexOf(t);return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");}, X.gridHelpers = {badgeHtml: (e, t) => Z.srcBadge(e, t),- titleHtml: (e, t) => tL(e, t),- displayName: (e, t) => eL(e, t),- tagLabel: (e) => Il(e)+ titleHtml: (e, t) => $I(e, t),+ displayName: (e, t) => QI(e, t),+ tagLabel: (e) => Fl(e)}, X.gridActions = {wallPlayer: async (e, t, n) => {- let r = await Q6(e9.stageHost);+ let r = await Z6($7.stageHost);return n.throwIfAborted(), r.mountWallPlayer(e, t, n);},- wallDetails: _7,- open: (e, t) => MLe(e, t),- openResource: (e, t) => $6()?.miniplayerTakesCard(e) ? $6().miniplayerPlay(e.id) : jLe(e, t),- openShort: (e) => $6()?.miniplayerTakesCard(e) ? $6().miniplayerPlay(e.id) : u9(e.id),- openShorts: () => u9(),- openMix: (e, t) => nRe(e, e, !0, t),- openEntity: (e, t) => h5(e, t),- openUnowned: () => h7({ owner: "none" }),+ wallDetails: g7,+ open: (e, t) => PLe(e, t),+ openResource: (e, t) => Q6()?.miniplayerTakesCard(e) ? Q6().miniplayerPlay(e.id) : NLe(e, t),+ openShort: (e) => Q6()?.miniplayerTakesCard(e) ? Q6().miniplayerPlay(e.id) : l9(e.id),+ openShorts: () => l9(),+ openMix: (e, t) => iRe(e, e, !0, t),+ openEntity: (e, t) => m5(e, t),+ openUnowned: () => m7({ owner: "none" }),toggleTag: (e) => {- x7((t) => {+ b7((t) => {t.tag = X.tagPressed(t.tag, e) ? "" : e;});},- toggleSelection: (e, t) => E5(e, t),- watchLater: (e, t) => NLe(e, t),- rate: (e, t, n, r) => FLe(e, t, n, r),- resourceOperation: (e, t) => PLe(e, t),- mixRelated: (e) => g7(e),- canFlip: () => !Zl && !Z7() && !window.__scrolling && !X.reduceMotion()+ toggleSelection: (e, t) => T5(e, t),+ watchLater: (e, t) => FLe(e, t),+ rate: (e, t, n, r) => LLe(e, t, n, r),+ resourceOperation: (e, t) => ILe(e, t),+ mixRelated: (e) => h7(e),+ canFlip: () => !Xl && !X7() && !window.__scrolling && !X.reduceMotion()}, X.topsQueryParams = (e, t = 0) => {let n = new URLSearchParams({n: "60",- seed: U.seed || ""+ seed: W.seed || ""});- return t && n.set("page", String(t)), $5() && 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)), Q5() && n.set("jav", "1"), e.type === "home" && W.state && n.set("state", W.state), e.type === "home" && W.folder && (n.set("folder", W.folder), W.folder_recursive && n.set("folder_recursive", W.folder_recursive)), n;}, X.facetCountsSeq = 0, X.VIEW_PILLS = [{k: "",@@ -81850,39 +81861,39 @@ function GLe() {}], X.catalogViews = () => X.VIEW_PILLS.map((e) => ({...e,- href: e.k ? Dn[e.k] : "/"- })), X.TAGS_FIRST = 26, N8.listen(L("#catalogFilter"), "click", (e) => {+ href: e.k ? En[e.k] : "/"+ })), X.TAGS_FIRST = 26, M8.listen(R("#catalogFilter"), "click", (e) => {let t = e.target.closest?.("[data-catalog-view]");- t && !e.defaultPrevented && (e.preventDefault(), w7().setView(t.dataset.catalogView));- }), X.catalogOnScreen = () => L("#index").hidden && L("#stats").hidden, X.COMBO_LABELS = {+ t && !e.defaultPrevented && (e.preventDefault(), C7().setView(t.dataset.catalogView));+ }), X.catalogOnScreen = () => R("#index").hidden && R("#stats").hidden, X.COMBO_LABELS = {creator: "创作者",studio: "厂牌",owner: "归属"}, X.hideCatalogCombo = () => {- X.catalogFilterProps && C7({ comboHidden: !0 });+ X.catalogFilterProps && S7({ comboHidden: !0 });};}-function KLe() {+function JLe() {X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {navigate: (e) => {- Zl && T5(!1, !0), Q.route(e);+ Xl && w5(!1, !0), Q.route(e);},- toggleSelection: (e, t) => E5(e, t),- open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : s9(e.id, !0, null, t),+ toggleSelection: (e, t) => T5(e, t),+ open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : o9(e.id, !0, null, t),reveal: async (e) => {try {- return await wn("/api/reveal", {+ return await Cn("/api/reveal", {method: "POST",body: JSON.stringify({ id: e.id })- }), _8.toast({ text: "已在资源管理器中显示" }), "";+ }), g8.toast({ text: "已在资源管理器中显示" }), "";} catch (e) {return Y.sourceHint(e.message);}},- operate: (e, t) => HLe(e, t)+ operate: (e, t) => WLe(e, t)};}-X.controller = new eIe();+X.controller = new nIe();// src/application/preferences.jsvar Z = {sourceOnline: void 0,@@ -81905,10 +81916,10 @@ var Z = {emptyState: void 0,CENSOR_KEY: void 0};-async function J7() {- let e = N8;+async function q7() {+ let e = M8;try {- let t = await xr(e.signal);+ let t = await br(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 || ""])]);@@ -81916,18 +81927,18 @@ async function J7() {if (!e.isActive) return Z.sourceOnline;Z.sourceOnline = {}, Z.sourceProblems = {};}- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), kLe(), Z.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), jLe(), Z.sourceOnline;}-function Y7() {+function J7() {let e = Q.surfacePath();- if (!An(e) || e === "/junk-files") return I7();+ if (!kn(e) || e === "/junk-files") return F7();let t = Z.nextCatalogLoad();- return Op(m7(), {+ return Op(p7(), {replace: !0,- state: W.navigation.location.state+ state: Dp.navigation.location.state}), t;}-function qLe(e) {+function YLe(e) {if (e === "local") return {kind: "glyph",name: "hard-drive"@@ -81936,7 +81947,7 @@ function qLe(e) {kind: "glyph",name: "rss"};- let t = gs[e];+ let t = hs[e];return t ? t.startsWith("data:") ? {kind: "image",src: t@@ -81948,8 +81959,8 @@ function qLe(e) {cost: "free"};}-function X7(e, t) {- let n = (e, t = (e) => e.label || Il(e.k)) => (e || []).map((e) => ({+function Y7(e, t) {+ let n = (e, t = (e) => e.label || Fl(e.k)) => (e || []).map((e) => ({value: String(e.k),label: t(e),n: e.n ?? null@@ -81957,40 +81968,40 @@ function X7(e, t) {return {locations: (e.locations || []).map((e) => ({value: e.k,- label: tr[e.k] || e.k,+ label: er[e.k] || e.k,n: e.n ?? null,- dot: qLe(e.k),+ dot: YLe(e.k),...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}})),regions: n(e.regions),orientations: n(e.orientations),years: n(e.years),- creators: n(r, (e) => tn("creator", e.k)),+ creators: n(r, (e) => en("creator", e.k)),tags: n(e.tags),tech: n(e.tech),- followTags: n(e.follow_tags, (e) => Il(e.k)),+ followTags: n(e.follow_tags, (e) => Fl(e.k)),duration: !!e.stats?.duration};}-async function JLe(e = !1) {- if (e && (document.hidden || !An(decodeURIComponent(location.pathname)) || e9.stageOpen() || e9.immerseOpen() || Zl || Yl.size || document.activeElement === L("#q"))) return !1;- if (!L("#stats").hidden) {+async function XLe(e = !1) {+ if (e && (document.hidden || !kn(decodeURIComponent(location.pathname)) || $7.stageOpen() || $7.immerseOpen() || Xl || Jl.size || document.activeElement === R("#q"))) return !1;+ if (!R("#stats").hidden) {let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;if (t === "skip") return;if (e === "/playlists") {- v5();+ _5();return;}let n = t === "reopen" ? e : "/stats";- om(), n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, W.navigation.location.state) : Q.navigatePath(n);- } else if (L("#index").hidden) {- U.sort = "seed", U.dir = "", U.seed = _8.rollSeed(), Su(), C8(), C7({ refreshing: !0 });+ om(), n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, Dp.navigation.location.state) : Q.navigatePath(n);+ } else if (R("#index").hidden) {+ W.sort = "seed", W.dir = "", W.seed = g8.rollSeed(), xu(), S8(), S7({ refreshing: !0 });try {om();- let e = Y7();- await null, await Promise.all([e, j7()]);+ let e = J7();+ await null, await Promise.all([e, A7()]);} finally {- C7({ refreshing: !1 });+ S7({ refreshing: !1 });}return e || window.scrollTo({top: 0,@@ -81998,84 +82009,84 @@ async function JLe(e = !1) {}), !0;}}-function Z7() {+function X7() {return document.body.classList.contains("censor");}-function Q7(e) {+function Z7(e) {document.body.classList.toggle("censor", e), Z.settingsStore.notify();}-function YLe(e) {- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Q7(e), e && Ml();+function ZLe(e) {+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Z7(e), e && jl();}-function XLe(e) {+function QLe(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();}-function $7(e) {- return kc(e, { drag: !0 });+function Q7(e) {+ return Oc(e, { drag: !0 });}-function ZLe() {- ["#nrow", "#count"].forEach((e) => $7(L(e))), document.querySelectorAll(".tier,.srow").forEach($7);+function $Le() {+ ["#nrow", "#count"].forEach((e) => Q7(R(e))), document.querySelectorAll(".tier,.srow").forEach(Q7);}-function QLe() {+function eRe() {let e = new URLSearchParams(location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function $Le() {+function tRe() {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 = lM(), Z.appSettings = Z.settingsStore.value, Xt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Xo(Z.appSettings.uiSounds), ns(), pM(), ble(), RM(), VM(), HM(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = lM(), Z.appSettings = Z.settingsStore.value, Yt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Yo(Z.appSettings.uiSounds), ts(), pM(), ble(), RM(), VM(), HM(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {performerNameLanguage: () => {- Xt(Z.appSettings.performerNameLanguage), M5.syncPageTitle(location.href), X.barsRendered = "", j7();+ Yt(Z.appSettings.performerNameLanguage), j5.syncPageTitle(location.href), X.barsRendered = "", A7();},theme: () => pM(),uiSounds: () => {- Xo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && Zo("toggle-on");+ Yo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && Xo("toggle-on");},glowFrame: () => BM(),glow: () => {BM(), VM();},batchSize: () => {- location.pathname === "/" && I7();+ location.pathname === "/" && F7();},defaultSort: () => {- U.sort = Z.appSettings.defaultSort, U.dir = Uj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Su(), location.pathname === "/" && Y7();+ W.sort = Z.appSettings.defaultSort, W.dir = Uj(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), xu(), location.pathname === "/" && J7();},sortDirection: () => {- U.dir = Uj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Su(), location.pathname === "/" && Y7();+ W.dir = Uj(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), xu(), location.pathname === "/" && J7();},hoverDelay: () => {Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {- Pl(e, "previewing", !1), Pl(e, "longhover", !1);+ Nl(e, "previewing", !1), Nl(e, "longhover", !1);}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);},- seekSeconds: () => q7(),- groupCollapse: () => a7(),- feedAutoScroll: () => EIe(),- feedLimit: () => Y8(),- feedCompilations: () => Y8(),+ seekSeconds: () => K7(),+ groupCollapse: () => i7(),+ feedAutoScroll: () => OIe(),+ feedLimit: () => J8(),+ feedCompilations: () => J8(),miniplayer: () => {- Z.appSettings.miniplayer || $6()?.closeMiniplayer();+ Z.appSettings.miniplayer || Q6()?.closeMiniplayer();},javImage: () => {- io(document, Z.appSettings.javImage), q7(), document.querySelectorAll("img[data-jav-image].cover").forEach(dl), tRe();+ ro(document, Z.appSettings.javImage), K7(), document.querySelectorAll("img[data-jav-image].cover").forEach(ul), rRe();},- searchHistoryLimit: () => gp(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })+ searchHistoryLimit: () => hp(R("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {- ...Object.fromEntries(Object.entries(gs).map(([e, t]) => [e, t.startsWith("data:") ? `<img class="source-icon" src="${t}" alt="">` : R(t)])),- online: R("rss")+ ...Object.fromEntries(Object.entries(hs).map(([e, t]) => [e, t.startsWith("data:") ? `<img class="source-icon" src="${t}" alt="">` : z(t)])),+ online: z("rss")}, Z.srcBadge = (e, t, n) => {- let r = `${tr[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 = Us;+ let r = `${er[e] || e}${t === "metered" ? " · 计费" : ""}`;+ return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${B(r)}" aria-label="${B(r)}">` + (Z.SRCICON[e] || "") + "</span>";+ }, Z.emptyState = Hs;}-function eRe() {- Z.CENSOR_KEY = "peach-censor", Q7(localStorage.getItem(Z.CENSOR_KEY) === "1");+function nRe() {+ Z.CENSOR_KEY = "peach-censor", Z7(localStorage.getItem(Z.CENSOR_KEY) === "1");}// src/application/media.js-var e9 = {+var $7 = {total: void 0,facets: void 0,stageHost: void 0,@@ -82086,34 +82097,34 @@ var e9 = {immerseOpen: void 0,requestedImmerseId: void 0};-function t9() {+function e9() {let e = Number(new URLSearchParams(location.search).get("t"));return Number.isFinite(e) && e > 0 ? {time: e,autoplay: !1} : null;}-function n9() {- return $6()?.exit() || Promise.resolve();+function t9() {+ return Q6()?.exit() || Promise.resolve();}-function r9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {- Q.queueOpenRequest !== r && m9(), $6()?.dispose({ miniplayer: n }), xu({+function n9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {+ Q.queueOpenRequest !== r && p9(), Q6()?.dispose({ miniplayer: n }), bu({activeQueue: null,pendingQueueRoute: null,presentedItem: null- }), t || xu({+ }), t || bu({detailOriginAnchor: null,detailOriginAbove: !1,detailReturnNeedsRestore: !1- }), l7(), e && Q.route(tu || "/");+ }), c7(), e && Q.route(eu || "/");}-function tRe() {- $6()?.repaintPoster();+function rRe() {+ Q6()?.repaintPoster();}-function i9(e, t, n, r, i = null, a = {}) {+function r9(e, t, n, r, i = null, a = {}) {t = +t;- let o = au?.kind === e && (e === "playlist" ? au.playlistId : au.seedId) === t;- r && !o && xu({ detailReturnPath: location.pathname + location.search }), r && Wf();+ let o = iu?.kind === e && (e === "playlist" ? iu.playlistId : iu.seedId) === t;+ r && !o && bu({ detailReturnPath: location.pathname + location.search }), r && Uf();let s = e === "playlist" ? {kind: e,playlistId: t,@@ -82124,214 +82135,214 @@ function i9(e, t, n, r, i = null, a = {}) {fresh: !o};if (a.autoplay && (s.autoplay = !0), r) {- m9();+ p9();let e = Q.queueOpenRequest = {- seq: W.navigation.seq,+ seq: Dp.navigation.seq,cancelled: !1};- Q.requestedQueue = () => s9(n == null ? null : +n, !1, s, i, !0, e), xu({ queueOpens: pu + 1 });- } else return s9(n == null ? null : +n, !1, s, i, r);+ Q.requestedQueue = () => o9(n == null ? null : +n, !1, s, i, !0, e), bu({ queueOpens: fu + 1 });+ } else return o9(n == null ? null : +n, !1, s, i, r);}-function nRe(e, t = e, n = !0, r = null) {- return i9("mix", e, t, n, r);+function iRe(e, t = e, n = !0, r = null) {+ return r9("mix", e, t, n, r);}-function rRe(e, t = e, n = !0, r = null) {- return i9("editions", e, t, n, r);+function aRe(e, t = e, n = !0, r = null) {+ return r9("editions", e, t, n, r);}-function iRe(e, t = e, n = !0, r = null) {- return i9("parts", e, t, n, r);+function oRe(e, t = e, n = !0, r = null) {+ return r9("parts", e, t, n, r);}-function a9(e, t = null, n = !0) {- return i9("playlist", e, t, n);+function i9(e, t = null, n = !0) {+ return r9("playlist", e, t, n);}-function o9() {- return !!L("#grid").querySelector("[data-id],[data-mix-seed]") || !!document.querySelector("[data-video-wall]") || !L("#index").hidden || !L("#stats").hidden;+function a9() {+ return !!R("#grid").querySelector("[data-id],[data-mix-seed]") || !!document.querySelector("[data-video-wall]") || !R("#index").hidden || !R("#stats").hidden;}-async function s9(e, t = !0, n = null, r = null, i = !1, a = null) {+async function o9(e, t = !0, n = null, r = null, i = !1, a = null) {if (a?.cancelled) return;- if (a || m9(), t && !n) {- xu({ detailReturnPath: location.pathname + location.search }), h9("/assets/" + +e, "item", () => s9(e, !1, null, r));+ if (a || p9(), t && !n) {+ bu({ detailReturnPath: location.pathname + location.search }), m9("/assets/" + +e, "item", () => o9(e, !1, null, r));return;}- Ml(), e = e == null ? null : +e;- let o = r?.isConnected ? r : nu?.isConnected ? nu : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : ru, c = o9(), l = iu || !t && !c, u = ql.type === "item" ? Jl : Y.cloneBarsContext(r5());- t ? xu({ detailReturnPath: location.pathname + location.search }) : i || xu({ detailReturnPath: qf() || tu }), t && Wf(), $6()?.showing() !== "item" && r9(!1, !0, {+ jl(), e = e == null ? null : +e;+ let o = r?.isConnected ? r : tu?.isConnected ? tu : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : nu, c = a9(), l = ru || !t && !c, u = Kl.type === "item" ? ql : Y.cloneBarsContext(n5());+ t ? bu({ detailReturnPath: location.pathname + location.search }) : i || bu({ detailReturnPath: Kf() || eu }), t && Uf(), Q6()?.showing() !== "item" && n9(!1, !0, {miniplayer: !1,preserveQueueRequest: a- }), xu({+ }), bu({detailOriginAnchor: o,detailOriginAbove: s,detailReturnNeedsRestore: l- }), xu({ detailReturnBarsContext: u }), xu({ activeQueue: n && {+ }), bu({ detailReturnBarsContext: u }), bu({ activeQueue: n && {kind: n.kind,seedId: n.seedId,playlistId: n.playlistId- } }), xu({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, Jf("item"));- let d = await Q6(e9.stageHost);+ } }), bu({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, qf("item"));+ let d = await Z6($7.stageHost);if (a?.cancelled) return;let f = a ? {- ...e9.itemDetailActions,+ ...$7.itemDetailActions,present: (e, t) => {- a.cancelled || e9.itemDetailActions.present(e, t);+ a.cancelled || $7.itemDetailActions.present(e, t);},redirect: (e) => {- a.cancelled || e9.itemDetailActions.redirect(e);+ a.cancelled || $7.itemDetailActions.redirect(e);}- } : e9.itemDetailActions;+ } : $7.itemDetailActions;await d.open({kind: "item",id: e,queue: n,relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,- helpers: e9.itemDetailHelpers,+ helpers: $7.itemDetailHelpers,actions: f,grid: {helpers: X.gridHelpers,actions: X.gridActions},- layout: W7(),- selectMode: Zl,- selected: new Set(Yl),+ layout: U7(),+ selectMode: Xl,+ selected: new Set(Jl),seekSeconds: Z.appSettings.seekSeconds,- resume: t || e == null ? null : t9()- }), l7();+ resume: t || e == null ? null : e9()+ }), c7();}-async function c9() {- let e = Y.cloneBarsContext(Jl), t = tu || "/", n = iu;- await n9(), r9(!1, !1, { miniplayer: !1 }), xu({ detailReturnBarsContext: null }), Gf(), xu({ barsContext: e || {+async function s9() {+ let e = Y.cloneBarsContext(ql), t = eu || "/", n = ru;+ await t9(), n9(!1, !1, { miniplayer: !1 }), bu({ detailReturnBarsContext: null }), Wf(), bu({ barsContext: e || {type: "home",- filters: U- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? xu({ pageOpens: fu + 1 }) : (j7(), location.pathname === "/playlists" && v5()));+ filters: W+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? bu({ pageOpens: du + 1 }) : (A7(), location.pathname === "/playlists" && _5()));}-async function l9(e, t = !0) {+async function c9(e, t = !0) {if (t) {- xu({ detailReturnPath: location.pathname + location.search }), h9("/works/" + encodeURIComponent(e), "jav", () => l9(e, !1));+ bu({ detailReturnPath: location.pathname + location.search }), m9("/works/" + encodeURIComponent(e), "jav", () => c9(e, !1));return;}- let n = W.navigation.seq, r = Y.cloneBarsContext(r5()), i = !o9(), a = qf() || (i ? "/jav?tab=discover" : tu) || "/jav?tab=discover";- $6()?.showing() !== "jav" && r9(!1, !0, { miniplayer: !1 }), xu({+ let n = Dp.navigation.seq, r = Y.cloneBarsContext(n5()), i = !a9(), a = Kf() || (i ? "/jav?tab=discover" : eu) || "/jav?tab=discover";+ Q6()?.showing() !== "jav" && n9(!1, !0, { miniplayer: !1 }), bu({detailReturnPath: a,detailReturnBarsContext: r,detailReturnNeedsRestore: i- }), Ml();- let [o, s] = await Promise.all([Q6(e9.stageHost), B("/healthz")]);- W.navigation.seq === n && (await o.open({+ }), jl();+ let [o, s] = await Promise.all([Z6($7.stageHost), V("/healthz")]);+ Dp.navigation.seq === n && (await o.open({kind: "jav",code: e,readOnly: !!s.ledger_read_only,actions: {- close: () => void c9(),+ close: () => void s9(),navigate: (e) => Q.navigatePath(e),canonicalCode: (t) => {- W.navigation.seq === n && t && t !== e && Op("/works/" + encodeURIComponent(t) + location.search + location.hash, {+ Dp.navigation.seq === n && t && t !== e && Op("/works/" + encodeURIComponent(t) + location.search + location.hash, {replace: !0,- state: W.navigation.location.state+ state: Dp.navigation.location.state});},- openTag: (e) => x7((t) => {+ openTag: (e) => b7((t) => {t.tag = e;}),- receipt: (e) => _8.toast({ text: e })+ receipt: (e) => g8.toast({ text: e })}- }), l7());+ }), c7());}-async function u9(e = null, t = !0) {- t ? (e9.requestedImmerseId = e, Q.route("/immerse")) : ($6()?.closeMiniplayer(), await (await HFe(e9.immerseHost)).open(e));+async function l9(e = null, t = !0) {+ t ? ($7.requestedImmerseId = e, Q.route("/immerse")) : (Q6()?.closeMiniplayer(), await (await WFe($7.immerseHost)).open(e));}-function aRe() {- e9.total = 0, e9.facets = null, e9.stageHost = {+function sRe() {+ $7.total = 0, $7.facets = null, $7.stageHost = {player: {settings: () => Z.appSettings,saveSettings: () => Z.saveSettings(),- toast: (e, t) => _8.toast({ text: e }, t),- loadSourceStatus: () => J7(),+ toast: (e, t) => g8.toast({ text: e }, t),+ loadSourceStatus: () => q7(),offlineReason: (e) => Z.offlineReason(e)},sourceOffline: (e) => Z.sourceOffline(e),expand: (e, t, n) => {- e === "follow" ? w9(t, !0, n) : s9(t, !0);+ e === "follow" ? C9(t, !0, n) : o9(t, !0);},- openItem: (e) => void s9(e)- }, e9.stageOpen = () => !!$6()?.isOpen();+ openItem: (e) => void o9(e)+ }, $7.stageOpen = () => !!Q6()?.isOpen();}-function oRe() {- e9.itemDetailHelpers = {+function cRe() {+ $7.itemDetailHelpers = {badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),- titleHtml: (e) => tL(e),- displayName: (e) => eL(e),+ titleHtml: (e) => $I(e),+ displayName: (e) => QI(e),javImage: () => Z.appSettings.javImage,- tagLabel: (e) => Il(e),- isDurationTag: (e) => ir.has(e),- tagCandidates: () => e9.facets && e9.facets.tags || [],+ tagLabel: (e) => Fl(e),+ isDurationTag: (e) => rr.has(e),+ tagCandidates: () => $7.facets && $7.facets.tags || [],sourceOffline: (e) => Z.sourceOffline(e),offlineReason: (e) => Z.offlineReason(e),- relatedSkeletonHtml: () => x2("正在读取推荐", {+ relatedSkeletonHtml: () => b2("正在读取推荐", {cards: !0,className: "related-skeleton"}),- mixRelated: (e) => g7(e),- wireDrag: (e) => $7(e),- wireDragReorder: (e, t) => il(e, t)- }, e9.itemDetailActions = {- close: () => c9(),+ mixRelated: (e) => h7(e),+ wireDrag: (e) => Q7(e),+ wireDragReorder: (e, t) => rl(e, t)+ }, $7.itemDetailActions = {+ close: () => s9(),present: (e) => {- xu({ presentedItem: e });- let t = Jl;- xu({ barsContext: {+ bu({ presentedItem: e });+ let t = ql;+ bu({ barsContext: {type: "item",id: e.id,filters: t?.type === "entity" ? { ...t.filters } : Y.emptyEntityFilters()- } }), ou && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${ou}`, !1, Jf("item")), xu({ pendingQueueRoute: null })), j7();+ } }), au && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${au}`, !1, qf("item")), bu({ pendingQueueRoute: null })), A7();},redirect: (e) => {- let t = !!ou;- e.kind === "follow" ? (Q.queueOpenRequest = null, xu({+ let t = !!au;+ e.kind === "follow" ? (Q.queueOpenRequest = null, bu({pendingQueueRoute: null,- followDetailReturnPath: tu || "/"- }), Q.route(`/posts/${e.id}`, !t, Jf("follow")), w9(e.id, !1, null, !0)) : e.kind === "item" ? s9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? _9("/playlists") : v5() : r9(!1);+ followDetailReturnPath: eu || "/"+ }), Q.route(`/posts/${e.id}`, !t, qf("follow")), C9(e.id, !1, null, !0)) : e.kind === "item" ? o9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? g9("/playlists") : _5() : n9(!1);},- openQueueItem: (e, t, n = !0) => void i9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),+ openQueueItem: (e, t, n = !0) => void r9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),reopen: () => {- let e = su;+ let e = ou;if (!e) return;- let t = au;- t ? i9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : s9(e.id, !1);+ let t = iu;+ t ? r9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : o9(e.id, !1);},- checkSource: async (e) => (await J7())[e] !== !1,+ checkSource: async (e) => (await q7())[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", _9(v9());+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", g9(_9());},- openEntity: (e, t) => h5(e, t),- openUnowned: () => h7({ owner: "none" }),- openRegion: (e) => h7({ region: e || "none" }),- openTag: (e) => x7((t) => {+ openEntity: (e, t) => m5(e, t),+ openUnowned: () => m7({ owner: "none" }),+ openRegion: (e) => m7({ region: e || "none" }),+ openTag: (e) => b7((t) => {t.tag = e;}),- addToPlaylist: (e) => BIe(e),- saveMix: (e) => zIe(e),- editPlaylist: () => _9("/playlists"),- openPlaylists: () => _9("/playlists"),- reveal: (e) => u5(e),- sync: (e) => jIe(e),+ addToPlaylist: (e) => HIe(e),+ saveMix: (e) => VIe(e),+ editPlaylist: () => g9("/playlists"),+ openPlaylists: () => g9("/playlists"),+ reveal: (e) => l5(e),+ sync: (e) => NIe(e),trashChanged: async (e, t) => {- U.state === "ads" && (t || e === "trash") && (t || (Gf(), r9(!0, !1, { miniplayer: !1 })), await I7());+ W.state === "ads" && (t || e === "trash") && (t || (Wf(), n9(!0, !1, { miniplayer: !1 })), await F7());},- toast: (e, { undo: t } = {}) => _8.actionReceipt(e, { undo: t }),- failure: (e, t) => _8.actionFailure(e, t)- }, e9.immerseHost = {- filters: () => U,+ toast: (e, { undo: t } = {}) => g8.actionReceipt(e, { undo: t }),+ failure: (e, t) => g8.actionFailure(e, t)+ }, $7.immerseHost = {+ filters: () => W,seekSeconds: () => Z.appSettings.seekSeconds,sourceOffline: (e) => Z.sourceOffline(e),- displayName: (e) => eL(e),+ displayName: (e) => QI(e),route: (e) => Q.route("/immerse?id=" + e, !0),- closed: () => h7(),- openItem: (e) => void s9(e),- openEntity: (e, t) => h5(e, t),- openUnowned: () => h7({ owner: "none" }),- toast: (e, { undo: t } = {}) => _8.actionReceipt(e, { undo: t }),- warn: (e) => _8.toast({ text: e }, { sound: "warning" }),- failure: (e, t) => _8.actionFailure(e, t)- }, e9.immerseOpen = () => !!n8()?.isOpen(), N8.handler(L("#immerseBtn"), "onclick", () => u9());+ closed: () => m7(),+ openItem: (e) => void o9(e),+ openEntity: (e, t) => m5(e, t),+ openUnowned: () => m7({ owner: "none" }),+ toast: (e, { undo: t } = {}) => g8.actionReceipt(e, { undo: t }),+ warn: (e) => g8.toast({ text: e }, { sound: "warning" }),+ failure: (e, t) => g8.actionFailure(e, t)+ }, $7.immerseOpen = () => !!t8()?.isOpen(), M8.handler(R("#immerseBtn"), "onclick", () => l9());}// src/application/navigation.jsvar Q = {@@ -82353,48 +82364,48 @@ var Q = {queueOpenRequest: void 0,initialOverlayOpened: void 0};-function d9() {- let e = c8();- e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(o7(e.dataset.nav))));+function u9() {+ let e = s8();+ e ? e.navChanged() : R("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(a7(e.dataset.nav))));}-function f9(e = {}) {+function d9(e = {}) {let t = Q.surfacePath();- t !== L5.sidebarSurface && (L5.sidebarSurface = t, L5.sidebarProps = {- ...L5.sidebarProps,+ t !== I5.sidebarSurface && (I5.sidebarSurface = t, I5.sidebarProps = {+ ...I5.sidebarProps,content: null,latest: null- }), L5.sidebarProps = {- ...L5.sidebarProps,+ }), I5.sidebarProps = {+ ...I5.sidebarProps,...e- }, c8()?.render(L5.sidebarProps);+ }, s8()?.render(I5.sidebarProps);}-function p9() {- f9(), d9(), c7();+function f9() {+ d9(), u9(), s7();}-function m9() {- Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, xu({ pendingQueueRoute: null });+function p9() {+ Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, bu({ pendingQueueRoute: null });}-function h9(e, t, n) {- m9(), Wf(), Q.requestedOverlay = {+function m9(e, t, n) {+ p9(), Uf(), Q.requestedOverlay = {path: e,open: n- }, Q.route(e, !1, Jf(t));+ }, Q.route(e, !1, qf(t));}-function g9() {- Q.surfaceEpoch++, X.barsRequestSeq++, M5.syncPageTitle(location.href), f9(), Gf();+function h9() {+ Q.surfaceEpoch++, X.barsRequestSeq++, j5.syncPageTitle(location.href), d9(), Wf();}-function _9(e) {- Q.route(e), xu({ pageOpens: fu + 1 });+function g9(e) {+ Q.route(e), bu({ pageOpens: du + 1 });}-function sRe() {+function lRe() {Q.routeMeta = (e) => {- let t = ep(e);+ let t = $f(e);return t ? { route: t } : null;- }, Q.routePathOf = (e, t) => Object.keys($f).find((n) => $f[n][e] === t), Q.catalogPage = (e) => An(e) || e === "/trash", Q.managedPagePath = (e) => {- let t = ep(e);- return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !Bf(e) && e !== "/immerse";+ }, Q.routePathOf = (e, t) => Object.keys(Qf).find((n) => Qf[n][e] === t), Q.catalogPage = (e) => kn(e) || e === "/trash", Q.managedPagePath = (e) => {+ let t = $f(e);+ return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !zf(e) && e !== "/immerse";}, Q.openRoutePath = (e) => {- e === "/immerse" ? u9(QLe()) : e === "/follow" ? C9() : e === "/playlists" || Q.catalogPage(e) ? _9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? iLe() : e) : (T5(!1, !0), _9(k5({+ e === "/immerse" ? l9(eRe()) : e === "/follow" ? S9() : e === "/playlists" || Q.catalogPage(e) ? g9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? oLe() : e) : (w5(!1, !0), g9(O5({kind: e.slice(1),q: "",scope: "local",@@ -82403,34 +82414,34 @@ function sRe() {})));};}-function cRe() {+function uRe() {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) => (q8(e) || J8(), _p(L("#stats"), L("#index")), !An(e) && e !== "/trash" && R7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (K8(e) || q8(), gp(R("#stats"), R("#index")), !kn(e) && e !== "/trash" && L7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {Q.surfaceEpoch++, X.barsRequestSeq++, Op(e, {replace: t,state: n- }), M5.syncPageTitle(e), queueMicrotask(() => {- c7(), X5(), f9();+ }), j5.syncPageTitle(e), queueMicrotask(() => {+ s7(), Y5(), d9();});}, Q.navigatePath = (e, t = !1, n) => {- t ? W.replace(e, n) : W.push(e, n), queueMicrotask(() => {- c7(), X5();+ t ? Dp.replace(e, n) : Dp.push(e, n), queueMicrotask(() => {+ s7(), Y5();});}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;}// src/jobs.ts-function lRe(e, t, n) {+function dRe(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="${B(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${B(e)}<small>${Math.round(i)}%</small></span></div>`;}-function uRe(e, t = 0, n = 0) {- return n > 0 ? lRe(e, t, n) : Vs(e);+function fRe(e, t = 0, n = 0) {+ return n > 0 ? dRe(e, t, n) : Bs(e);}-async function dRe(e) {+async function pRe(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -82445,14 +82456,14 @@ async function dRe(e) {await t(2e3);}}-function fRe(e) {- let t = e.note || ((e) => Rs(e, {+function mRe(e) {+ let t = e.note || ((e) => Ls(e, {label: "任务状态",variant: "error"- })), n = e.loading || Vs, r = e.progress || ((e, t, n) => uRe(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 || Bs, r = e.progress || ((e, t, n) => fRe(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;- dRe({+ pRe({read: e.read,active: () => !c && e.active() && a.isConnected,keepWatching: e.watchIdle !== !1,@@ -82501,25 +82512,25 @@ var $ = {FOLLOW_MANAGE_TABS: void 0,followSidebarFilters: void 0};-function pRe(e) {+function hRe(e) {let t = (e.results || []).filter((e) => !e.ok).length;- _8.toast({ text: Vi(e) }, {+ g8.toast({ text: Bi(e) }, {warn: !!t,timeout: t ? 8e3 : 6e3,sound: t ? "warning" : "success",action: {label: "查看",- run: () => C9(!0)+ run: () => S9(!0)}});}-function v9() {- return Oa(y9());+function _9() {+ return Da(v9());}-function mRe() {+function gRe() {return $.controller.read();}-function y9() {+function v9() {return {status: $.followFilter,media: $.followMediaView,@@ -82534,33 +82545,33 @@ function y9() {seed: $.followSeed};}-function b9(e) {+function y9(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 hRe() {- let e = lp(L("#stats"));+function _Re() {+ let e = cp(R("#stats"));return e && e.path === "/follow" && e.host.isConnected ? e : null;}-function x9() {- return !!hRe();+function b9() {+ return !!_Re();}-function S9(e) {- x9() && gp(L("#stats"), e);+function x9(e) {+ b9() && hp(R("#stats"), e);}-function gRe(e, t = {}) {+function vRe(e, t = {}) {return $.controller.route(e, t);}-function C9(e = !1) {+function S9(e = !1) {$.controller.enter(e);}-async function w9(e, t = !0, n = null, r = !1) {+async function C9(e, t = !0, n = null, r = !1) {if (t) {- !location.pathname.startsWith("/posts/") && !r && xu({ followDetailReturnPath: location.pathname + location.search }), h9(`/posts/${+e}`, "follow", () => w9(e, !1, n, r));+ !location.pathname.startsWith("/posts/") && !r && bu({ followDetailReturnPath: location.pathname + location.search }), m9(`/posts/${+e}`, "follow", () => C9(e, !1, n, r));return;}- Ml(), e = +e;+ jl(), e = +e;let i = !location.pathname.startsWith("/posts/");- t && i && !r && xu({ followDetailReturnPath: location.pathname + location.search }), !t && !r && xu({ followDetailReturnPath: qf() || "/follow" }), t && Wf(), $6()?.showing() !== "follow" && r9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, Jf("follow")), await (await Q6(e9.stageHost)).open({+ t && i && !r && bu({ followDetailReturnPath: location.pathname + location.search }), !t && !r && bu({ followDetailReturnPath: Kf() || "/follow" }), t && Uf(), Q6()?.showing() !== "follow" && n9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, qf("follow")), await (await Z6($7.stageHost)).open({kind: "follow",id: e,mediaIndex: n,@@ -82568,193 +82579,205 @@ async function w9(e, t = !0, n = null, r = !1) {relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,helpers: $.followFeedHelpers,actions: $.followDetailActions,- resume: t ? null : t9()- }), l7();+ resume: t ? null : e9()+ }), c7();}-async function _Re() {- await n9(), r9(!1, !1, { miniplayer: !1 }), Gf(), Q.route(cu || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && x9() ? (mRe(), S9({ view: y9() })) : xu({ pageOpens: fu + 1 }));+async function yRe() {+ await t9(), n9(!1, !1, { miniplayer: !1 }), Wf(), Q.route(su || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !R("#index").hidden) && (location.pathname === "/follow" && b9() ? (gRe(), x9({ view: v9() })) : bu({ pageOpens: du + 1 }));}-function vRe(e) {+function bRe(e) {let t = document.createElement("div");- return t.className = "peach-react", rc(e, () => {+ return t.className = "peach-react", nc(e, () => {e.textContent = "", e.append(t);}), t;}-function yRe() {- $.followFeedHelpers = Rl({+function xRe() {+ $.followFeedHelpers = Ll({wireDrag: (e) => {- e && $7(e);+ e && Q7(e);},wireScroller: (e) => {- e && kc(e);+ e && Oc(e);},listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),- jobProgress: fRe+ jobProgress: mRe}), $.followFeedActions = {- loaded: (e) => V5(e),- openDetail: (e) => w9(e),- openAuthor: (e) => Q.navigatePath(Nn("creator", e)),- toggleSelection: (e, t) => KIe(e, t),+ loaded: (e) => B5(e),+ openDetail: (e) => C9(e),+ openAuthor: (e) => Q.navigatePath(Mn("creator", e)),+ toggleSelection: (e, t) => JIe(e, t),setImagesOnly: (e) => {- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), s5();+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), o5();},setPhotoLayout: (e) => {- AM(e), s5();+ AM(e), o5();},- canFlip: () => !Zl && !Z7() && !window.__scrolling && !X.reduceMotion(),- toast: (e, { undo: t } = {}) => _8.actionReceipt(e, { undo: t }),- failure: (e, t) => _8.actionFailure(e, t),- checkReport: (e) => pRe(e)+ canFlip: () => !Xl && !X7() && !window.__scrolling && !X.reduceMotion(),+ toast: (e, { undo: t } = {}) => g8.actionReceipt(e, { undo: t }),+ failure: (e, t) => g8.actionFailure(e, t),+ checkReport: (e) => hRe(e)}, $.followFeedShell = {skeleton: () => $.followSkeletonHtml("正在读取关注内容"),ground: () => {- $6()?.showing() !== "follow" && (Ml(), r9(!1), z5(), !x9() && (Q.claimSurface(Q.surfacePath()), R5({ manage: !1 }), L("#stats").querySelector(".peach-react") && _p(L("#stats")), L("#stats").replaceChildren()));- }- }, $.followDetailActions = Kl({- view: y9,- adoptView: b9,- rememberReturn: (e) => xu({ followDetailReturnPath: e }),- close: () => void _Re(),- open: (e, t, n) => void w9(e, !0, t, n),- drawer: V5,- openAuthor: (e) => Q.navigatePath(Nn("creator", e))+ Q6()?.showing() !== "follow" && (jl(), n9(!1), R5(), !b9() && (Q.claimSurface(Q.surfacePath()), L5({ manage: !1 }), R("#stats").querySelector(".peach-react") && gp(R("#stats")), R("#stats").replaceChildren()));+ }+ }, $.followDetailActions = Gl({+ view: v9,+ adoptView: y9,+ rememberReturn: (e) => bu({ followDetailReturnPath: e }),+ close: () => void yRe(),+ open: (e, t, n) => void C9(e, !0, t, n),+ drawer: B5,+ openAuthor: (e) => Q.navigatePath(Mn("creator", e))}, {- toast: (e, { undo: t } = {}) => _8.actionReceipt(e, { undo: t }),- failure: _8.actionFailure+ toast: (e, { undo: t } = {}) => g8.actionReceipt(e, { undo: t }),+ failure: g8.actionFailure});}-function bRe() {- $.controller = ja({+function SRe() {+ $.controller = Aa({location: () => location,- view: y9,- adoptView: b9,+ view: v9,+ adoptView: y9,session: () => ({- discoverySeed: hu,- revision: gu,- scrollY: _u+ discoverySeed: mu,+ revision: hu,+ scrollY: gu}),- writeSession: (e) => xu({+ writeSession: (e) => bu({...e.discoverySeed === void 0 ? {} : { followDiscoverySeed: e.discoverySeed },...e.revision === void 0 ? {} : { followRevision: e.revision },...e.scrollY === void 0 ? {} : { followScrollY: e.scrollY }}),preferences: () => ({- selectMode: Zl,- selected: Xl,+ selectMode: Xl,+ selected: Yl,photoSize: wM(),photoLayout: TM(),imagesOnly: !!Z.appSettings.followImagesOnly}),- live: x9,- push: S9,+ live: b9,+ push: x9,route: (e) => {Q.route(e), cm("follow", {- view: y9(),- seed: hu,- revision: gu+ view: v9(),+ seed: mu,+ revision: hu});},- openPage: _9,- rollSeed: () => Number(_8.rollSeed()),+ openPage: g9,+ rollSeed: () => Number(g8.rollSeed()),enterSeed: () => Math.floor(Math.random() * 4294967295),revealFeed: () => {- Ml(), z5(), R5({ manage: !1 });+ jl(), R5(), L5({ manage: !1 });},- syncPhotoWalls: s5,+ syncPhotoWalls: o5,scrollTop: () => {- fm(() => location.pathname === "/follow", L("#stats").querySelector("[data-filter-frame]"));+ fm(() => location.pathname === "/follow", R("#stats").querySelector("[data-filter-frame]"));}}, $.followFeedHelpers, $.followFeedActions), $.followFeedActions = $.controller.actions, $.followFeedProps = $.controller.props, $.followFeedShell.refresh = $.controller.refresh, $.followFeedShell.props = $.controller.props;}// src/application/lifecycle.js-function xRe() {- yEe(), Zc(document), Lo(document.documentElement, { variant: "page" }), Lo(L("#drawerScroll")), N8.own(Jc()), Ua(document.body), X.homeHasFeed = CIe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, L5.sidebarProps = {+function CRe() {+ SEe(), Xc(document), Io(document.documentElement, { variant: "page" }), Io(R("#drawerScroll")), M8.own(qc()), Ha(document.body), X.homeHasFeed = TIe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, I5.sidebarProps = {content: null,filters: {},latest: null- }, L5.sidebarSurface = "", L5.sidebarCatalog = null, L5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [+ }, I5.sidebarSurface = "", I5.sidebarCatalog = null, I5.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/application/tutorial.js-async function SRe() {- NU({ reopen: !0 });+async function wRe() {+ jU({ reopen: !0 });}-function CRe() {+function TRe() {let e = new URL(location.href), t = e.searchParams.get("onboarding") === "1";- xu({ cameFromSetup: t }), N8.handler(document.getElementById("tutorialBtn"), "onclick", () => NU()), NU({ invitation: !0 }), t && e.searchParams.delete("onboarding");+ bu({ cameFromSetup: t }), M8.handler(document.getElementById("tutorialBtn"), "onclick", () => jU()), jU({ invitation: !0 }), t && e.searchParams.delete("onboarding");let n = e.searchParams.get("agentation");try {localStorage.removeItem("peach.agentation");} catch {}n !== null && e.searchParams.delete("agentation"), e.href !== location.href && Op(e, {replace: !0,- state: W.navigation.location.state+ state: Dp.navigation.location.state}), n === "on" && import("/dev/agentation.js").catch(() => {});}// src/react/search/recommendations.ts-var T9 = [+var w9 = [{kind: "performer",label: "艺人与新作",href: "/subscriptions?tab=add",- action: "订阅新作"+ action: "订阅新作",+ size: 3},{kind: "author",label: "关注作者",href: "/subscriptions?tab=add",- action: "添加关注"+ action: "添加关注",+ size: 3},{kind: "asset",label: "作品推荐",href: "/",- action: "全部作品"+ action: "全部作品",+ size: 5},{kind: "jav",label: "JAV 推荐",href: "/jav?tab=discover",- action: "发现 JAV"+ action: "发现 JAV",+ size: 5},{kind: "post",label: "关注作品",href: "/follow",- action: "全部关注作品"+ action: "全部关注作品",+ size: 5},{kind: "photo",label: "关注图片",href: "/follow?media=images",- action: "全部关注图片"+ action: "全部关注图片",+ size: 5},{kind: "release",label: "订阅新作",href: "/subscriptions",- action: "管理订阅"+ action: "管理订阅",+ size: 5}-];-function wRe() {- return T9.map((e) => ({+], T9 = 20, ERe = 24;+function DRe() {+ return w9.map((e) => ({...e,items: [],pending: !0}));}-var TRe = (e) => e.startsWith(String((/* @__PURE__ */ new Date()).getFullYear())) ? e.slice(5, 10) : e.slice(0, 10), E9 = (e, t = e.length) => t > 1 ? `${e[0]} 等 ${t} 人` : e[0] || "";-async function ERe(e, t) {- let n = /* @__PURE__ */ new Map(), r = () => T9.map((e) => n.has(e.kind) ? {- ...e,- items: n.get(e.kind)- } : {- ...e,- items: [],- pending: !0+var ORe = (e) => e.startsWith(String((/* @__PURE__ */ new Date()).getFullYear())) ? e.slice(5, 10) : e.slice(0, 10), E9 = (e, t = e.length) => t > 1 ? `${e[0]} 等 ${t} 人` : e[0] || "";+async function kRe(e, t) {+ let n = /* @__PURE__ */ new Map(), r = () => w9.map((e) => {+ let t = n.get(e.kind);+ return t ? {+ ...e,+ items: t.slice(0, e.size),+ pool: t,+ offset: 0+ } : {+ ...e,+ items: [],+ pending: !0+ };}), i = (e) => {for (let [t, r] of Object.entries(e)) n.set(t, r);t?.(r());@@ -82768,18 +82791,18 @@ async function ERe(e, t) {card: e,href: t}), s = (e) => {- let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: s } = ko(e);+ let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: s } = Oo(e);if (!t) return o(e, void 0, "");- let c = t === "performer" ? a[0] : e.creator_entity, l = tn(t, n, c?.id);- return o(e, void 0, r ? E9([l], s) : l, _o(n, c ?? null, t));+ let c = t === "performer" ? a[0] : e.creator_entity, l = en(t, n, c?.id);+ return o(e, void 0, r ? E9([l], s) : l, go(n, c ?? null, t));}, c = (e, t) => {- let n = e.performer_refs || [], r = n.length ? n.map((e) => e.name) : String(e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean), i = r[0] ? _o(r[0], n[0] ?? null, "performer") : "";+ let n = e.performer_refs || [], r = n.length ? n.map((e) => e.name) : String(e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean), i = r[0] ? go(r[0], n[0] ?? null, "performer") : "";return o(e, t, E9(r), i);};return await Promise.all([- a("/api/items?sort=rand&limit=5").then((e) => i({ asset: (e?.items || []).slice(0, 5).map(s) })),- a("/api/jav/discoveries?scope=library&limit=5").then(async (e) => {- let t = (e?.items || []).slice(0, 5);+ a(`/api/items?sort=rand&limit=${T9}`).then((e) => i({ asset: (e?.items || []).map(s) })),+ a(`/api/jav/discoveries?scope=library&limit=${T9}`).then(async (e) => {+ let t = e?.items || [];i({ jav: t.map((e) => c(e, `/assets/${e.asset_id || e.id}`)) });let n = /* @__PURE__ */ new Map();for (let e of t) for (let t of e.performer_refs || []) t.id && !n.has(t.name) && n.set(t.name, {@@ -82792,12 +82815,12 @@ async function ERe(e, t) {rep: t.has_avatar ? t.rep : null,works: [e]});- let r = [...n.values()].slice(0, 3), o = r.length && (await a(`/api/entity/latest?ids=${r.map((e) => e.entity_id).join(",")}`))?.items || {};+ let r = [...n.values()].slice(0, T9), o = r.length && (await a(`/api/entity/latest?ids=${r.map((e) => e.entity_id).join(",")}`))?.items || {};i({ performer: r.map((e) => {let t = o[String(e.entity_id)];return {...e,- subtitle: t ? `最新作 ${t.code || "无番号"} · ${TRe(t.release_date)}` : "最新作未取得"+ subtitle: t ? `最新作 ${t.code || "无番号"} · ${ORe(t.release_date)}` : "最新作未取得"};}) });}),@@ -82808,12 +82831,12 @@ async function ERe(e, t) {credentials: /* @__PURE__ */ new Set()};for (let i of e?.groups || []) {- let e = ma(i);+ let e = pa(i);for (let a of ["videos", "images"]) {if (a === "images" ? !e.has("image") : e.size && !e.has("video")) continue;- let o = ha(i, a), s = r.sources.find((e) => e.id === o.source_id), c = yG(o, s?.author_key ? r.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], r), l = a === "images" ? o.media_items?.find((e) => e.media_kind === "image") : void 0;+ let o = ma(i, a), s = r.sources.find((e) => e.id === o.source_id), c = hG(o, s?.author_key ? r.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], r), l = a === "images" ? o.media_items?.find((e) => e.media_kind === "image") : void 0;(a === "images" ? n : t).push({- value: hG(o),+ value: dG(o),id: o.id,who: c.author,whoAvatarHtml: c.avatar,@@ -82828,24 +82851,24 @@ async function ERe(e, t) {}}i({- post: t.slice(0, 5),- photo: n.slice(0, 5)+ post: t,+ photo: n});}),- a("/api/feeds/discoveries?limit=5").then((e) => i({ release: (e?.items || []).filter((e) => e.code).map((e) => c({+ a(`/api/feeds/discoveries?limit=${T9}`).then((e) => i({ release: (e?.items || []).filter((e) => e.code).map((e) => c({...e,sourceWork: !0}, `/works/${encodeURIComponent(e.code)}`)) })),- a("/api/follow/authors?limit=3").then((e) => i({ author: (e?.items || []).map((e) => ({+ a(`/api/follow/authors?limit=${ERe}`).then((e) => i({ author: (e?.items || []).map((e) => ({value: e.k,href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,- avatarHtml: j8(e),- subtitle: e.latest ? `最新更新于 ${TG({ published_at: e.latest })}` : "更新时间未取得"+ avatarHtml: A8(e),+ subtitle: e.latest ? `最新更新于 ${xG({ published_at: e.latest })}` : "更新时间未取得"})) }))]), r();}// src/application/search-morph.js-function DRe(e, t, n, r, i, a, o) {+function ARe(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);@@ -82870,60 +82893,60 @@ var D9 = {function O9() {D9.searchControl?.close();}-function ORe(e) {- let t = e ? eo({+function jRe(e) {+ let t = e ? $a({...e,is_jav: !!e.code}, Z.appSettings.javImage) : "";- return t === "cover" ? xo(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" ? bo(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 k9() {- D9.searchMorph?.cancel(), D9.searchMorph = null, L(".search").classList.remove("search-morphing");+ D9.searchMorph?.cancel(), D9.searchMorph = null, R(".search").classList.remove("search-morphing");}function A9(e) {- let t = L(".search"), n = L("#searchBtn");+ let t = R(".search"), n = R("#searchBtn");if (t.classList.contains("open") === e) return;let r = !!D9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);k9(), 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 = Hc();+ if (t.classList.toggle("open", e), R("#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 = Vc();t.classList.add("search-morphing");- let h = t.animate(DRe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {+ let h = t.animate(ARe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {duration: m.duration,easing: "linear",fill: "both"});- D9.searchMorph = h, N8.handler(h, "onfinish", () => {+ D9.searchMorph = h, M8.handler(h, "onfinish", () => {D9.searchMorph === h && k9();});}-function kRe() {- return e9.immerseOpen() ? n8().activeVideo() : $6()?.activeVideo() || null;+function MRe() {+ return $7.immerseOpen() ? t8().activeVideo() : Q6()?.activeVideo() || null;}-function ARe(e) {+function NRe(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);}-function jRe() {+function PRe() {D9.searchControl = null, D9.searchActions = {search: (e) => {- X.rememberSearchValue(), r9(!1), U.q = e, Su(), Q.route(U.jav === "1" ? m7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);+ X.rememberSearchValue(), n9(!1), W.q = e, xu(), Q.route(W.jav === "1" ? p7() : W.q ? "/?q=" + encodeURIComponent(W.q) : "/", !0);},- openItem: (e) => s9(e),- openEntity: (e, t) => h5(e, t),+ openItem: (e) => o9(e),+ openEntity: (e, t) => m5(e, t),openPath: (e) => Q.route(e, !1),openFollow: (e, t, n) => {- $.followMediaView = t, w9(e, !0, n);+ $.followMediaView = t, C9(e, !0, n);}}, D9.searchHelpers = {- pool: () => qbe(U, wn),- recommendations: (e) => ERe(wn, e),- pendingRecommendations: wRe,- rollPlaceholder: (e, t) => Zs(e, t),- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? B8(e) : ORe(e)}</span>`,- present: (e) => ss(e),- dismiss: (e) => cs(e),- wireScroller: (e) => kc(e),+ pool: () => Zbe(W, Cn),+ recommendations: (e) => kRe(Cn, e),+ pendingRecommendations: DRe,+ rollPlaceholder: (e, t) => Xs(e, t),+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${B(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? z8(e) : jRe(e)}</span>`,+ present: (e) => os(e),+ dismiss: (e) => ss(e),+ wireScroller: (e) => Oc(e),typed: (e) => {let t = e.value;!t && X.searchValueSnapshot.text ? X.clearSearchField(X.searchValueSnapshot) : (t && (X.cancelSearchDissolve(), X.cancelSearchDissolve = () => {}), X.rememberSearchValue(e));@@ -82935,8 +82958,8 @@ function jRe() {text: e.value,scrollLeft: e.scrollLeft || X.searchValueSnapshot.scrollLeft})- }, mp("search", {- input: L("#q"),+ }, pp("search", {+ input: R("#q"),historyLimit: Z.appSettings.searchHistoryLimit,actions: D9.searchActions,helpers: D9.searchHelpers,@@ -82944,59 +82967,59 @@ function jRe() {D9.searchControl = e;}}, {- container: L("#searchMenu"),+ container: R("#searchMenu"),isCurrent: () => !0- }), N8.listen(L("#q"), "beforeinput", (e) => {+ }), M8.listen(R("#q"), "beforeinput", (e) => {e.isComposing || X.rememberSearchValue(e.currentTarget);- }), N8.listen(L("#q"), "scroll", (e) => {+ }), M8.listen(R("#q"), "scroll", (e) => {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);- }), N8.listen(L("#q"), "pointerdown", (e) => {+ }), M8.listen(R("#q"), "pointerdown", (e) => {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);});}-function MRe() {- D9.searchMorph = null, D9.searchMorphViewport = innerWidth, N8.listen.bind(N8, window)("resize", () => {+function FRe() {+ D9.searchMorph = null, D9.searchMorphViewport = innerWidth, M8.listen.bind(M8, window)("resize", () => {innerWidth !== D9.searchMorphViewport && (D9.searchMorphViewport = innerWidth, k9());- }, { passive: !0 }), N8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", k9), N8.handler(L("#searchBtn"), "onclick", () => {- A9(!0), L("#q").focus({ preventScroll: !0 });- }), N8.handler(L("#searchBack"), "onclick", () => {- A9(!1), O9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });+ }, { passive: !0 }), M8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", k9), M8.handler(R("#searchBtn"), "onclick", () => {+ A9(!0), R("#q").focus({ preventScroll: !0 });+ }), M8.handler(R("#searchBack"), "onclick", () => {+ A9(!1), O9(), R("#q").blur(), R("#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 || A9(!1), O9());+ e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (R("#q").value || A9(!1), O9());};- N8.listen(document, "pointerdown", e, !0), N8.listen(document, "focusin", e), N8.handler(L("#brandHome"), "onclick", (e) => {- e.preventDefault(), h7();- }), N8.listen(document, "keydown", (e) => {+ M8.listen(document, "pointerdown", e, !0), M8.listen(document, "focusin", e), M8.handler(R("#brandHome"), "onclick", (e) => {+ e.preventDefault(), m7();+ }), M8.listen(document, "keydown", (e) => {if (e.key === "Escape") {- let t = a8();+ let t = i8();if (t?.isOpen()) {t.close();return;}- if (!L("#searchMenu").hidden) {+ if (!R("#searchMenu").hidden) {O9();return;}- if (e9.immerseOpen()) {- n8().close();+ if ($7.immerseOpen()) {+ t8().close();return;}- if (e9.stageOpen()) {- e.defaultPrevented || (e.preventDefault(), $6().requestEscape());+ if ($7.stageOpen()) {+ e.defaultPrevented || (e.preventDefault(), Q6().requestEscape());return;}- if (L("#drawer").classList.contains("open")) {- W5(!1);+ if (R("#drawer").classList.contains("open")) {+ U5(!1);return;}- if (Zl || Yl.size || Xl.size) {- T5(!1, !0);+ if (Xl || Jl.size || Yl.size) {+ w5(!1, !0);return;}return;}- if (ARe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;+ if (NRe(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) {@@ -83004,10 +83027,10 @@ function MRe() {return;}}- let t = kRe();+ let t = MRe();if (t) {if (e.key === "t" || e.key === "T") {- e.preventDefault(), $6()?.toggleTheater();+ e.preventDefault(), Q6()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {@@ -83027,14 +83050,14 @@ function MRe() {return;}if (e.key === "i" || e.key === "I") {- e.preventDefault(), $6()?.toggleMiniplayer();+ e.preventDefault(), Q6()?.toggleMiniplayer();return;}}});}// src/history/links.ts-function NRe(e) {+function IRe(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;@@ -83048,79 +83071,79 @@ function NRe(e) {} catch {return null;}- if (i.origin !== window.location.origin || n.startsWith("#") && Bf(i.pathname)) return null;- let a = ep(i.pathname);- return n.startsWith("#") && !a?.section || !zf(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;+ if (i.origin !== window.location.origin || n.startsWith("#") && zf(i.pathname)) return null;+ let a = $f(i.pathname);+ return n.startsWith("#") && !a?.section || !Rf(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;}// src/application/composition.jsvar j9 = {shellActions: void 0,routing: void 0};-function PRe() {- let e = N8, t = (e) => {- e.kind === "item" ? s9(e.id, !1) : e.kind === "jav" ? l9(e.code, !1) : e.kind === "follow" ? w9(e.id, !1) : i9(e.queue, e.key, e.item, !1);+function LRe() {+ let e = M8, t = (e) => {+ e.kind === "item" ? o9(e.id, !1) : e.kind === "jav" ? c9(e.code, !1) : e.kind === "follow" ? C9(e.id, !1) : r9(e.queue, e.key, e.item, !1);};- if (SIe(), M5.entityShapesReady = V8(), uLe(), location.pathname === "/") {+ if (wIe(), j5.entityShapesReady = B8(), fLe(), location.pathname === "/") {let e = new URLSearchParams(location.search);- !e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1, Z5(L("#catalogPageHeading"), e.get("q")));+ !e.has("state") && e.get("jav") !== "1" && (R("#catalogPageHeading").hidden = !1, X5(R("#catalogPageHeading"), e.get("q")));}- q8(decodeURIComponent(location.pathname)) && W8(L("#feedNew")), vLe(), j9.shellActions = {- openSettings: (e) => K5(e, !0),- closeSettings: () => a8()?.close(!1),- openItem: (e) => void s9(e),- openEntity: (e, t) => void h5(e, t),+ K8(decodeURIComponent(location.pathname)) && U8(R("#feedNew")), bLe(), j9.shellActions = {+ openSettings: (e) => G5(e, !0),+ closeSettings: () => i8()?.close(!1),+ openItem: (e) => void o9(e),+ openEntity: (e, t) => void m5(e, t),openTag: (e) => {- mLe(), N7(e);+ gLe(), M7(e);},- openTasteSignal: RIe,+ openTasteSignal: BIe,navigate: (e) => {- let n = new URL(e, location.href), r = zf(n.pathname, n.search);+ let n = new URL(e, location.href), r = Rf(n.pathname, n.search);if (r) {let e = r.kind === "queue" ? "item" : r.kind;- h9(n.pathname + n.search + n.hash, e, () => t(r));- } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !Bf(location.pathname)) {+ m9(n.pathname + n.search + n.hash, e, () => t(r));+ } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !zf(location.pathname)) {Q.route(e);- let t = W.navigation.seq;- Mp(n.hash, () => W.navigation.seq === t);+ let t = Dp.navigation.seq;+ Mp(n.hash, () => Dp.navigation.seq === t);} else Q.navigatePath(e);},- openManage: Q5,+ openManage: Z5,managePath: (e) => Q.routePathOf("section", e) || "",- openFollow: () => C9(),- receipt: (e, t) => _8.actionReceipt(e, t),- toast: (e, t) => _8.toast(e, t),- failure: _8.actionFailure,- revealSource: u5,- reopenTutorial: SRe,- routeReview: VIe,- routeFollowManage: rLe,+ openFollow: () => S9(),+ receipt: (e, t) => g8.actionReceipt(e, t),+ toast: (e, t) => g8.toast(e, t),+ failure: g8.actionFailure,+ revealSource: l5,+ reopenTutorial: wRe,+ routeReview: UIe,+ routeFollowManage: aLe,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(k5(e), t),+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(O5(e), t),savePeopleLayout: ({ layout: e }) => {Z.appSettings.peopleLayout = e, Z.saveSettings();},- exitSelectMode: () => T5(!1, !1),- personAvatar: (e, t, n) => O5.personAvatar(e, t, n),- authorAvatar: (e) => aLe(e),- showIndexTags: oLe,- openFollowAuthor: j5,- openFollowTag: sLe,- openPlaylist: (e, t) => void a9(e, t, !0),- canFlip: () => !Zl && !Z7() && !window.__scrolling && !X.reduceMotion(),+ exitSelectMode: () => w5(!1, !1),+ personAvatar: (e, t, n) => D5.personAvatar(e, t, n),+ authorAvatar: (e) => sLe(e),+ showIndexTags: cLe,+ openFollowAuthor: A5,+ openFollowTag: lLe,+ openPlaylist: (e, t) => void i9(e, t, !0),+ canFlip: () => !Xl && !X7() && !window.__scrolling && !X.reduceMotion(),surfaceChanged: (e, t) => {- e === "entity" ? (Ml(), xu({ barsContext: {+ e === "entity" ? (jl(), bu({ barsContext: {type: "home",- filters: U- } }), B5(), document.body.classList.add("entity-open"), S7(), A5()) : e === "index" ? (Ml(), document.body.classList.remove("entity-open"), Q.claimSurface(t), B5(), document.body.classList.add("index-open"), S7(), A5()) : (Ml(), Q.claimSurface(t), e === "catalog" ? B5() : (z5(), R5({ manage: e === "management" })));+ filters: W+ } }), z5(), document.body.classList.add("entity-open"), x7(), k5()) : e === "index" ? (jl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), z5(), document.body.classList.add("index-open"), x7(), k5()) : (jl(), Q.claimSurface(t), e === "catalog" ? z5() : (R5(), L5({ manage: e === "management" })));},clearSearch: () => X.clearSearchField(),openImmerse: (e) => {- let t = e9.requestedImmerseId === void 0 ? e : e9.requestedImmerseId;- e9.requestedImmerseId = void 0, u9(t, !1);+ let t = $7.requestedImmerseId === void 0 ? e : $7.requestedImmerseId;+ $7.requestedImmerseId = void 0, l9(t, !1);},openQueueRequest: () => {let e = Q.requestedQueue;@@ -83128,64 +83151,64 @@ function PRe() {},openOverlay: (e) => {let n = Q.requestedOverlay;- Q.requestedOverlay = null, W.navigation.claimed && (!kp() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (kp() && (Q.initialOverlayOpened = !0), t(e));+ Q.requestedOverlay = null, Dp.navigation.claimed && (!kp() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (kp() && (Q.initialOverlayOpened = !0), t(e));},closeStage: () => {- e9.stageOpen() && r9(!1);+ $7.stageOpen() && n9(!1);},grid: {helpers: X.gridHelpers,actions: X.gridActions},- configurable: () => !!uu,+ configurable: () => !!lu,surfaceShown: (e) => {- e === "index" ? (p9(), l7()) : j7();+ e === "index" ? (f9(), c7()) : A7();},entity: {missing: (e) => {- j9.shellActions.surfaceChanged("entity", location.pathname), m5(e);+ j9.shellActions.surfaceChanged("entity", location.pathname), p5(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 = r5();- return i.type !== "entity" || i.kind !== e || i.name !== t || !a5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (y7(r), b7(r5()), !0);+ let i = n5();+ return i.type !== "entity" || i.kind !== e || i.name !== t || !i5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (v7(r), y7(n5()), !0);}},follow: $.followFeedShell,catalog: {- defaultLoc: () => p7("local,115"),- open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (g9(), c7(), X5()), t && C8(), e === "/trash" ? X.clearSearchField() : (L("#q").value = U.q, X.rememberSearchValue()), p9(), j7(), Z.handOff(I7())),- load: () => Z.handOff(I7()),+ defaultLoc: () => f7("local,115"),+ open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (h9(), s7(), Y5()), t && S8(), e === "/trash" ? X.clearSearchField() : (R("#q").value = W.q, X.rememberSearchValue()), f9(), A7(), Z.handOff(F7())),+ load: () => Z.handOff(F7()),fill: () => {- if (V7() || !kp() && !L("#grid").querySelector(".catalog-skeleton")) return;- let e = L("#count");- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), z7(Q.surfaceToken(Q.surfacePath()));+ if (B7() || !kp() && !R("#grid").querySelector(".catalog-skeleton")) return;+ let e = R("#count");+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), R7(Q.surfaceToken(Q.surfacePath()));},release: () => {- R7(), J8();+ L7(), q8();}}}, j9.routing = !1, e.listen(document, "click", (e) => {- let t = NRe(e);+ let t = IRe(e);t && (e.preventDefault(), j9.shellActions.navigate(t));- }), N8.own(W.listen((e) => {- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !Bf(e.location.pathname) && r9(!1), j9.routing && !e.claimed && g9();- })), BFe(j9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), xLe(), ZIe(), J5(), Promise.all([- J7(),- yLe(),- M5.entityShapesReady+ }), M8.own(Dp.listen((e) => {+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !zf(e.location.pathname) && n9(!1), j9.routing && !e.claimed && h9();+ })), HFe(j9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), CLe(), $Ie(), q5(), Promise.all([+ q7(),+ xLe(),+ j5.entityShapesReady]).then(() => {- e.isActive && (M5.wantsDiscoveryBars() && j7().catch((e) => console.error("首页横条装载失败", e)), p9(), ZLe(), j9.routing = !0, xu({ pageOpens: 1 }), g9(), l7());+ e.isActive && (j5.wantsDiscoveryBars() && A7().catch((e) => console.error("首页横条装载失败", e)), f9(), $Le(), j9.routing = !0, bu({ pageOpens: 1 }), h9(), c7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});}// src/theme-transition.tsvar M9 = !1;-async function FRe(e, t) {+async function RRe(e, t) {if (M9) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();@@ -83207,9 +83230,9 @@ async function FRe(e, t) {}}// src/application/chrome.js-function IRe() {+function zRe() {(() => {- let e = N8, t = [+ let e = M8, t = ["#brandHome","#filterBtn","#settingsBtn"@@ -83245,7 +83268,7 @@ function IRe() {e.handler(c, "onclick", (e) => {e.preventDefault();});- let u = ds(document.querySelector("#drawer"), c, l, { side: !0 });+ let u = us(document.querySelector("#drawer"), c, l, { side: !0 });e.own(u.dispose);let d = null, f = null;function p(e, t) {@@ -83261,15 +83284,15 @@ function IRe() {w: r.offsetWidth,h: r.offsetHeight}, a = f;- f = i, Uc(d, e ? a : null, i, "y");+ f = i, Hc(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());- }), wn("/api/libraries", { signal: e.signal }).then((t) => {+ }), Cn("/api/libraries", { signal: e.signal }).then((t) => {if (!e.isActive) return;- WG(t.libraries);+ BG(t.libraries);let n = [["","全部媒体库",@@ -83286,11 +83309,11 @@ function IRe() {}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) => gs[e]?.startsWith("data:") ? `<img src="${gs[e]}" alt="">` : R(gs[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) => hs[e]?.startsWith("data:") ? `<img src="${hs[e]}" alt="">` : z(hs[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="${B(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${o(n)}</span><span>${B(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), W5(!1), y5("媒体库与入库");+ u.setOpen(!1), U5(!1), v5("媒体库与入库");});let d = l.querySelector(".board-library-rows");e.listen(d, "pointerover", (e) => {@@ -83306,19 +83329,19 @@ function IRe() {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" && FRe(t, () => {+ 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="浅色主题">${z("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${z("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" && RRe(t, () => {Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), pM();});})), pM();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 = ds(g, v, _);- e.own(y.dispose), e.own(Mle(v)), qFe({+ let v = g.querySelector("#boardGlowBtn"), y = us(g, v, _);+ e.own(y.dispose), e.own(Mle(v)), YFe({root: _,store: Z.settingsStore,openDetails: () => {- e.isActive && (y.setOpen(!1), W5(!1), K5("外观与导航").then((t) => {+ e.isActive && (y.setOpen(!1), U5(!1), G5("外观与导航").then((t) => {e.isActive && t.reveal("#homeGlowControls");}));}@@ -83330,17 +83353,17 @@ function IRe() {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 = !U5();+ let r = n.classList.contains("open"), i = !H5();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(N8, window)("resize", b);+ Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(M8, window)("resize", b);let x = !1;function S() {x = !1, document.body.classList.toggle("board-scrolled", scrollY > 8);}- if (e.listen.bind(N8, window)("scroll", () => {+ if (e.listen.bind(M8, window)("scroll", () => {x || (x = !0, e.frame(S));- }, { passive: !0 }), e.listen.bind(N8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {+ }, { passive: !0 }), e.listen.bind(M8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {let t = "http://www.w3.org/2000/svg", n = document.createElementNS(t, "svg");n.setAttribute("width", "0"), n.setAttribute("height", "0"), n.setAttribute("aria-hidden", "true"), n.style.position = "fixed", n.style.pointerEvents = "none";let r = document.createElementNS(t, "defs");@@ -83454,18 +83477,18 @@ function IRe() {subtree: !0}), y();}- })(), W5(!U5() && sessionStorage.getItem("board.sidebar") !== "closed");+ })(), U5(!H5() && sessionStorage.getItem("board.sidebar") !== "closed");}// src/application/initialize.js-function LRe() {- xRe(), sRe(), dLe(), cRe(), $Le(), JFe(), WLe(), CRe(), FIe(), aRe(), QIe(), GLe(), OIe(), HIe(), yRe(), cLe(), IIe(), bRe(), lLe(), LIe(), DLe(), KLe(), jRe(), oRe(), MRe(), eRe(), PRe(), IRe(), N8.own(R7), N8.own(m9);+function BRe() {+ CRe(), lRe(), pLe(), uRe(), tRe(), XFe(), KLe(), TRe(), LIe(), sRe(), eLe(), qLe(), AIe(), WIe(), xRe(), uLe(), RIe(), SRe(), dLe(), zIe(), kLe(), JLe(), PRe(), cRe(), FRe(), nRe(), LRe(), zRe(), M8.own(L7), M8.own(p9);}// src/ui-kit/middle-truncate.ts-var RRe = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, P9 = /* @__PURE__ */ new WeakMap(), F9 = /* @__PURE__ */ new Set(), I9 = 0, L9 = /* @__PURE__ */ new WeakSet(), R9 = null, z9 = null, B9 = (e) => N9 ? [...N9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? "")), V9 = (e, t) => {+var VRe = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, P9 = /* @__PURE__ */ new WeakMap(), F9 = /* @__PURE__ */ new Set(), I9 = 0, L9 = /* @__PURE__ */ new WeakSet(), R9 = null, z9 = null, B9 = (e) => N9 ? [...N9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? "")), V9 = (e, t) => {if (t >= e.length) return e.join("");let n = Math.ceil(t / 2), r = Math.floor(t / 2);- return e.slice(0, n).join("") + RRe + (r ? e.slice(-r).join("") : "");-}, zRe = (e, t) => {+ return e.slice(0, n).join("") + VRe + (r ? e.slice(-r).join("") : "");+}, HRe = (e, t) => {if (!e.length || t(e.join(""))) return e.length;let n = 0, r = e.length - 1, i = 0;for (; n <= r;) {@@ -83473,21 +83496,21 @@ var RRe = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(vt(V9(e, a)) ? (i = a, n = a + 1) : r = a - 1;}return i;-}, BRe = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul} -〿-]/u, VRe = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}]/u, HRe = /[\p{Script=Latin}\p{Script=Greek}\p{Script=Cyrillic}\p{Nd}]/u, URe = /[-]/u, WRe = (e) => VRe.test(e) ? 1 : HRe.test(e) && !URe.test(e) ? 2 : 0, GRe = (e) => {+}, URe = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul} -〿-]/u, WRe = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}]/u, GRe = /[\p{Script=Latin}\p{Script=Greek}\p{Script=Cyrillic}\p{Nd}]/u, KRe = /[-]/u, qRe = (e) => WRe.test(e) ? 1 : GRe.test(e) && !KRe.test(e) ? 2 : 0, JRe = (e) => {let t = 0, n = 0;for (let r of e) {- let e = WRe(r);+ let e = qRe(r);n && e && n !== e && t++, n = e;}return t;-}, KRe = null, qRe = (e, t) => {- let n = getComputedStyle(e), r = (KRe ||= document.createElement("canvas")).getContext("2d");+}, YRe = null, XRe = (e, t) => {+ let n = getComputedStyle(e), r = (YRe ||= document.createElement("canvas")).getContext("2d");if (!r) return () => Infinity;r.font = n.font || `${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`;let i = parseFloat(n.letterSpacing), a = parseFloat(n.wordSpacing), o = n.getPropertyValue("text-autospace"), s = t && o && o !== "no-autospace" ? (parseFloat(n.fontSize) || 0) / 8 : 0;return (e) => {let t = r.measureText(e).width;- return Number.isFinite(i) && (t += Math.max(0, B9(e).length - 1) * i), Number.isFinite(a) && (t += (e.match(/\s/g) || []).length * a), s && (t += GRe(e) * s), t;+ return Number.isFinite(i) && (t += Math.max(0, B9(e).length - 1) * i), Number.isFinite(a) && (t += (e.match(/\s/g) || []).length * a), s && (t += JRe(e) * s), t;};}, H9 = ["font-family",@@ -83514,7 +83537,7 @@ var RRe = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v"text-autospace","text-spacing-trim","white-space-collapse"-], U9 = null, JRe = (e) => {+], U9 = null, ZRe = (e) => {if (!U9) {let e = document.createElement("div");e.setAttribute("aria-hidden", "true"), e.dataset.middleTruncateProbe = "", e.style.cssText = "position:fixed;left:0;top:0;width:0;height:0;overflow:hidden;visibility:hidden;pointer-events:none;contain:strict", U9 = {@@ -83525,8 +83548,8 @@ var RRe = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(vU9.box.isConnected || document.documentElement.append(U9.box);let t = getComputedStyle(e), n = H9.map((e) => t.getPropertyValue(e)), r = e.closest("[lang]")?.getAttribute("lang") || "", i = n.join("\n") + "\n" + r, a = U9.groups.get(i);return a || (a = document.createElement("div"), n.forEach((e, t) => a.style.setProperty(H9[t], e)), a.lang = r, U9.box.append(a), U9.groups.set(i, a)), a;-}, YRe = 8, XRe = (e) => {- for (let t = 0; e.length && t < YRe; t++) {+}, QRe = 8, $Re = (e) => {+ for (let t = 0; e.length && t < QRe; t++) {let t = e.map((e) => e.tries.map((t) => {let n = document.createElement("span");return n.style.cssText = "display:block;width:max-content;text-wrap-mode:nowrap", n.textContent = V9(e.fit.parts, t), e.group.append(n), n;@@ -83544,28 +83567,28 @@ var RRe = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v])].filter((t) => t > e.fits && t < e.fails), !0;});}-}, ZRe = (e) => {+}, eze = (e) => {let t = [];for (let n of e) {- let e = n.state.full, r = BRe.test(e), i = qRe(n.element, r);- if (n.kept = zRe(n.parts, (e) => i(e) <= n.available), !r) continue;+ let e = n.state.full, r = URe.test(e), i = XRe(n.element, r);+ if (n.kept = HRe(n.parts, (e) => i(e) <= n.available), !r) continue;let a = [n.kept, n.kept + 1].filter((e) => e > 0 && e <= n.parts.length);t.push({fit: n,- group: JRe(n.element),+ group: ZRe(n.element),fits: 0,fails: n.parts.length + 1,tries: a});}- XRe(t);-}, QRe = (e) => {+ $Re(t);+}, tze = (e) => {let t = getComputedStyle(e), n = parseFloat(t.width);if (!Number.isFinite(n)) return e.clientWidth;let r = t.boxSizing === "border-box" ? n - (parseFloat(t.borderLeftWidth) || 0) - (parseFloat(t.borderRightWidth) || 0) : n + (parseFloat(t.paddingLeft) || 0) + (parseFloat(t.paddingRight) || 0);return Math.max(e.clientWidth, r + 1 / 64);-}, $Re = (e) => {- if (e.dataset.middleTruncateWithin === void 0) return QRe(e);+}, nze = (e) => {+ if (e.dataset.middleTruncateWithin === void 0) return tze(e);let t = e.parentElement;if (!t) return e.clientWidth;let n = getComputedStyle(t), r = parseFloat(n.columnGap) || 0, i = 0, a = 0;@@ -83574,7 +83597,7 @@ var RRe = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(vn === 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);-}, eze = () => {+}, rze = () => {I9 = 0;let e = [];for (let t of F9) {@@ -83582,12 +83605,12 @@ var RRe = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(vn && t.isConnected && e.push({element: t,state: n,- available: $Re(t),+ available: nze(t),parts: B9(n.full),kept: 0});}- F9.clear(), ZRe(e.filter((e) => e.available > 0));+ F9.clear(), eze(e.filter((e) => e.available > 0));for (let { element: t, state: n, available: r, parts: i, kept: a } of e) {let e = r > 0 ? V9(i, a) : n.full;n.rendered = e, t.textContent !== e && (t.textContent = e);@@ -83595,7 +83618,7 @@ var RRe = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(vt.classList.toggle("middle-truncated", o), t.setAttribute("aria-label", n.full), t.hasAttribute("title") && t.dataset.middleTitle !== "true" || (t.title = n.full, t.dataset.middleTitle = "true");}}, W9 = (e) => {- P9.has(e) && (F9.add(e), I9 ||= requestAnimationFrame(eze));+ P9.has(e) && (F9.add(e), I9 ||= requestAnimationFrame(rze));}, G9 = (e) => {e instanceof HTMLElement && (P9.has(e) || P9.set(e, {full: e.textContent || "",@@ -83606,7 +83629,7 @@ var RRe = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(vlet t = e;t.matches("[data-middle-truncate]") && G9(t), t.querySelectorAll("[data-middle-truncate]").forEach(G9);};-function tze(e = document) {+function ize(e = document) {z9?.(), L9 = /* @__PURE__ */ new WeakSet();let t = !0;R9 = new ResizeObserver((e) => e.forEach((e) => {@@ -83673,7 +83696,7 @@ var q9 = ["jav-detail","wants","index"-], nze = {+], aze = {catalog: [...q9,...J9,@@ -83694,28 +83717,28 @@ var q9 = ["avatar-choices"]};-function rze() {+function oze() {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 nze[t] || []) e.add(n);+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of aze[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 = U.getQueryCache().findAll(n).some((e) => e.isActive() && e.state.fetchStatus === "fetching");+ if (await U.invalidateQueries(n, { cancelRefetch: !1 }), r) for (let n of t) e.add(n);}})().finally(() => {t = null;})), t || Promise.resolve();};}-function ize() {- let e = Pt({- queryKey: rL,- queryFn: ({ signal: e }) => aL(e),- refetchInterval: (e) => iL(e.state.data)- }), t = (0, F.useRef)(void 0), [n] = (0, F.useState)(rze), r = e.data?.result_versions;+function sze() {+ let e = Nt({+ queryKey: tL,+ queryFn: ({ signal: e }) => rL(e),+ refetchInterval: (e) => nL(e.state.data)+ }), t = (0, F.useRef)(void 0), [n] = (0, F.useState)(oze), r = e.data?.result_versions;return (0, F.useEffect)(() => {r && (t.current && n(t.current, r), t.current = r);}, [r, n]), null;@@ -83725,52 +83748,52 @@ var X9 = null;function Z9(e) {X9 !== e || e.owners || (X9 = null, e.effects.dispose());}-function aze() {+function cze() {if (!X9) {- let e = uIe();+ let e = fIe();X9 = {effects: e,owners: 0- }, e.own(tze(document)), e.own(() => {- Ml(), H.cancelQueries();- }), e.own(VFe), e.own(vp), e.own(as);+ }, e.own(ize(document)), e.own(() => {+ jl(), U.cancelQueries();+ }), e.own(UFe), e.own(_p), e.own(is);}return X9.owners += 1, X9.effects.resume(), X9;}-function oze() {+function lze() {let [e, t] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {- let e = X9 === null, n = aze(), r = zFe(t);+ let e = X9 === null, n = cze(), r = VFe(t);if (e) try {- LRe();+ BRe();} catch (e) {throw r(), n.effects.dispose(), X9 = null, e;}return () => {r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Z9(n)));};- }, []), /* @__PURE__ */ (0, I.jsx)(gye, {+ }, []), /* @__PURE__ */ (0, I.jsx)(bye, {actions: e,processing: !0,- background: e ? /* @__PURE__ */ (0, I.jsx)(ize, {}) : null+ background: e ? /* @__PURE__ */ (0, I.jsx)(sze, {}) : null});}var Q9 = /* @__PURE__ */ new WeakMap();-function sze(e) {+function uze(e) {let t = Q9.get(e);if (t) return t;- let n = (0, Rt.createRoot)(e, _ye);+ let n = (0, Lt.createRoot)(e, xye);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, I.jsx)(oze, {}))), n;+ }, (0, It.flushSync)(() => n.render(/* @__PURE__ */ (0, I.jsx)(lze, {}))), n;}// src/react/bootstrap.tsxO();var $9 = document.getElementById("appRoot");if (!$9) throw Error("主界面宿主缺失");-sze($9);-export { $L as $2ec61d1d4f780267$export$a8a3e93435678ff9, sR as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, wz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, DD as $72abaeab4d80592f$export$78efe591171d7d45, gB as $76d00c5a4edb230a$export$76ccd210b9029917, pB as $76d00c5a4edb230a$export$816b5d811295e6bc, yB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, xB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, fB as $76d00c5a4edb230a$export$f850895b287ef28e, _he as $b4f18e3395fe64d7$export$3d96ec278d3efce4, ghe as $b4f18e3395fe64d7$export$3e41faf802a29e71, phe as $b4f18e3395fe64d7$export$b2539bed5023c21c, TB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, bhe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, mE as $ea3928288112382f$export$439d29a4e110a164, Lz as $f2ff30fde7b014be$export$3ddf2d174ce01153, Wz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Gz as $fe21c36db05242bb$export$d7b12c4107be0d61, ege as $l, Zj as ACCENTS, Pke as AMANE_BRIDGE_CHECK_URL, U$ as AMANE_BRIDGE_KEY, Fke as AMANE_BRIDGE_REBUILD_URL, or as ApiError, iW as ArtSlot, d2 as BATCH_DELETE_TEXT, J as Button, jL as ButtonLink, nV as Bx, v$ as CLEANUP_ENTRY, _$ as CLEANUP_ENTRY_GRID, Zf as CLEANUP_HASH_REDIRECTS, Yf as CLEANUP_TOOLS, _n as CLOUD_LOCATIONS, q1 as CLOUD_PROXY_HELP, Gr as COLUMN_SORT, a1 as CONFIGURATION_KEY, QY as CONFIGURATION_URL, Ike as COOKIE_TEXT_LIMIT, H$ as COVER_JOB_KEY, Ji as CREDENTIAL_STATE, R$ as CUSTOM_SOURCES_KEY, L$ as CUSTOM_SOURCES_URL, XV as Checkbox, YV as CheckboxGlyph, BV as ChevronSortDown, rW as Chip, fW as CloudDownloadDialog, WH as CollapseChevron, UH as CollapseRegion, d$ as CollectionSummary, pwe as DEFAULT_CATEGORY, ur as DEFAULT_SORT, LQ as DIAGNOSTICS_KEY, fTe as DIRECTORY_TEMPLATE_ERROR, O0 as DISCOVERY_SORTS, oW as DOWNLOADS_KEY, aW as DOWNLOADS_URL, vY as DUPLICATES_KEY, $J as DataTableFooter, YJ as DataTableFrame, QJ as DataTableSort, XH as Disclosure, Jve as DownloadsPanel, Ghe as E3, mwe as ENTITY_REVIEW_KINDS, G1 as ENTRY_LINKS_HELP, K1 as ENTRY_LINKS_HINT, JB as Ea, Tge as EmptyFocusButton, SV as EmptyState, JH as ErrorText, V_e as ExternalLink, Br as FEEDS_KEY, oX as FEED_SCHEDULE_KEY, h$ as FIELDSET_FOOT, GPe as FLOW_LABEL_X, G3 as FLOW_VIEWBOX, Rr as FOLLOW_CHECK_KEY, Lr as FOLLOW_CREDENTIALS_KEY, O8 as FOLLOW_INITIAL_RANGE_OPTIONS, Ir as FOLLOW_MANAGE_KEY, BZ as FOLLOW_MANAGE_NAV, zr as FOLLOW_RESOLVE_KEY, aX as FOLLOW_SCHEDULE_KEY, W_e as Fact, U_e as FactList, YH as FieldLabel, O$ as Fieldset, D$ as FieldsetTitle, mpe as FilterGlass, wL as FilterGlassRows, CL as FilterIconButton, TL as FilterPill, B_e as Footer, $B as Gg, EL as GlassPill, oV as HN, qH as Help, pV as HintText, LPe as IDLE_POLL_MS, nwe as IDLE_REPAIR, yL as IconButton, zQ as IndexSearch, vV as Input, _V as InputBase, A$ as IssueRow, hM as JAV_LAYOUTS, A0 as JAV_RECOMMENDATION_GRID, jX as JUNK_KEY, EW as JavHeader, XCe as KEEP_LABELS, Hr as LAYOUTS, W1 as LIBRARY_FOLDER_HELP, lH as LIBRARY_PROCESSING_KEY, WY as LINKS_KEY, GY as LINK_CHECK_KEY, Rwe as LINK_KINDS, KY as LINK_PRUNE_KEY, tr as LOC, fV as Label, N$ as LibraryProcessingCard, zV as LibraryShortcuts, TH as LinkButton, nge as Lo, RH as LoadingDots, Khe as M6, Uwe as MEDIA_PROCESSING_KEY, cX as MEDIA_PROCESSING_URL, CY as MEDIA_REPAIR_KEY, SY as MEDIA_REPAIR_URL, vr as MEDIA_SOURCES_KEY, gs as MEDIA_SOURCE_ICONS, hn as MEDIA_SOURCE_OPTIONS, WV as MENU_ITEM, GV as MENU_ITEM_INTERACTIVE, UV as MENU_POPOVER_SURFACE, ige as Ma, kH as MenuDialog, mK as MixCard, yV as ModalFrame, xx as MotionConfigContext, uV as NR, k$ as NameLink, xV as Note, xge as OA, dX as ORGANIZE_KEY, c2 as ORGANIZE_PARAMETER_HINT, s2 as ORGANIZE_SCOPE_HINT, o2 as ORGANIZE_TEXT, mX as ORPHAN_RECORDS_KEY, u2 as ORPHAN_RECORDS_TEXT, ZB as OV, IB as P7, OX as PERFORMER_DELETE_KEY, rye as PHASES, $Y as PICK_FOLDER_URL, b$ as PLAIN_STAT_STRIP, F$ as PLAYLISTS_KEY, VAe as POLICY_COLUMNS, UAe as POLICY_COVER_NOTE, HAe as POLICY_MATRIX, U1 as POLICY_SUMMARY, ZJ as Pagination, M$ as PathLine, cV as Pf, JI as PillTabList, nke as PlainStat, BH as Progress, OY as QUALITY_GOALS_KEY, sV as RB, S$ as REPAIR_CARD_TEXT, wY as REPAIR_LIBRARIES_KEY, yX as RESOURCE_APPLY_KEY, vX as RESOURCE_SCAN_KEY, l2 as RESOURCE_SYNC_TEXT, cke as RESULT_PANEL, lke as RESULT_SECTION, fwe as REVIEW_CATEGORIES, AX as REVIEW_COUNTS_KEY, hwe as REVIEW_DECISION_LABELS, jY as REVIEW_KEY, MY as REVIEW_LABELS, PY as REVIEW_QUEUES, FY as REVIEW_QUEUE_LABELS, zG as RetryNote, bge as Rf, dV as Rk, L_e as Rows, Mke as SCRAPING_CHECK_URL, B$ as SCRAPING_COVER_URL, V$ as SCRAPING_KEY, jke as SCRAPING_SETTINGS_URL, gU as SEGMENT, hU as SEGMENTED_TRACK, iX as SETTINGS_KEY, eX as SETTINGS_URL, dr as SORT_DEFAULT_DIR, lr as SORT_OPTIONS, vn as SOURCE_LABELS, g3 as STATS_KEY, eke as STAT_STRIP, tke as STAT_STRIP_SIX, I_e as Section, uke as SectionHeading, z_e as SectionSkeleton, mU as SegmentedRadioGroup, ave as SegmentedTabList, MG as Segments, XJ as Select, eW as Select$1, l1 as SelectField, tW as SelectItem, oY as SelectionActions, kj as SelectionDock, sY as SelectionPopover, GH as SettingsCard, F_e as SettingsRow, KH as SettingsSectionLabel, J_e as SiteLabel, uG as SortDirectionIcon, PG as SortKeys, bQ as SourceAvatar, eU as SourceLabel, ZH as SourceMark, R_e as Stack, rke as StatCard, j$ as StatusLabel, _ge as Su, J2 as Switch, rL as TASKS_KEY, EPe as TASTE_REFRESH_KEY, DPe as TASTE_WINDOWS, sX as THUMBNAIL_JOBS_KEY, NX as TRASH_KEY, qfe as TRIGGER_LABELS, BJ as Table, cY as TableColumnControls, lY as TableColumnResizer, dY as TableSelectionHeader, o$ as TagManager, H_e as TaskCenterLink, VH as TaskProgress, hV as TextField, mV as TextFieldContext, YB as Un, mW as WANTS_KEY, l4 as WantMagnets, Gg as WithPromise, BB as Wt, qB as Xc, lV as Xf, HB as Xl, VB as Xt, RB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, yge as aB, Ti as addAlias, wi as addSource, gW as addWant, uS as animate, B as apiGet, V as apiSend, lM as appSettingsStore, jTe as applyConfirmText, DX as applyLeftovers, ATe as applyPlanText, NTe as applyText, pM as applyTheme, gy as asNumber, yTe as attachOrphan, si as authorAvatar, li as authorGroups, oi as authorInitial, ai as authorName, Oq as autoResetPageIndex, go as avatarInner, S3 as bandRows, pTe as baseName, twe as batchOperate, vue as beginPlayerGuidePreview, Pj as boundedPreference, QCe as bulkCloudPreferences, EV as busyProps, vge as cB, tNe as cachedMagnetStates, zg as calcGeneratorVelocity, Swe as canApprove, mg as cancelFrame, wTe as candidateText, PU as cardClass, OM as cardRatio, KB as cc, Wi as checkEvidenceGap, Ui as checkFailures, Pi as checkFeeds, Hwe as checkLine, Vi as checkReceipt, Hi as checkSummary, Rke as checkText, Gi as checkedText, eK as clickedBlank, G5 as closeDrawerAfterNav, WCe as cloudLocations, w0 as cloudProxySkeleton, KC as clsx, sge as cn, av as collectMotionValues, Jq as columnVisibilityFeature, FJ as column_getCanSort, jJ as column_getSortFn, bwe as commonReviewSources, Af as configurationSection, jPe as configureTasteBrowser, cl as confirmModal, Gfe as controlTask, uq as copyInstancePropertiesWithoutMemos, co as coverUrl, zq as createColumnHelper, Tke as createPlaylist, Yi as credentialDone, b0 as credentialsSkeleton, jwe as currentReviewRow, q as cx, tV as dZ, Owe as decisionPayload, kwe as decisionReceipt, Dwe as defaultChoice, FTe as deletePerformerVideos, Dke as deletePlaylist, x as diagnosticHeaders, H1 as diagnosticsSkeleton, xW as discoveryArtwork, yW as discoveryKey, pje as discoveryScore, r9 as disposeStage, JCe as distinctName, zi as dropSources, gge as du, $Ce as duplicateVictims, uL as elapsedText, tn as entityDisplayName, ho as entityFaceImg, Nn as entityPath, ei as errorHeadline, cr as errorMessage, z as esc, Dq as expandRowModel, AB as f1, $r as feedIntervalText, K$ as fetchAmaneBridge, _i as fetchCheckJob, o1 as fetchConfiguration, G$ as fetchCoverJob, gi as fetchCredentials, z$ as fetchCustomSources, kX as fetchDeletePerformers, PTe as fetchDeletePlan, RQ as fetchDiagnostics, bW as fetchDiscoveries, bY as fetchDuplicates, Vfe as fetchEarlier, Kwe as fetchFeedSchedule, ji as fetchFeeds, hi as fetchFollow, Gwe as fetchFollowSchedule, FX as fetchJunkSummary, _H as fetchLibraryProcessing, YY as fetchLinkCheck, XY as fetchLinkPrune, JY as fetchLinkStats, Wwe as fetchMediaProcessing, TY as fetchMediaRepair, yr as fetchMediaSources, fX as fetchOrganize, aTe as fetchOrganizeExample, hX as fetchOrphanRecords, Ai as fetchPending, I$ as fetchPlaylists, kY as fetchQualityGoals, EY as fetchRepairLibraries, vi as fetchResolveJob, xX as fetchResourceApply, bX as fetchResourceScan, VY as fetchReview, PX as fetchReviewCounts, lX as fetchSettings, W$ as fetchSources, _3 as fetchStats, yi as fetchSuggestions, aL as fetchTasks, H3 as fetchTaste, MPe as fetchTasteJob, qwe as fetchThumbnailJobs, IX as fetchTrashSummary, hW as fetchWants, vwe as filterReviewRows, $n as firstGrapheme, KK as flexRender, qPe as flowGraph, JPe as flowLabel, KNe as fmtCount, qn as fmtDur, Yn as fmtSize, Bfe as foldByKind, rpe as foldRoutine, Ii as followFeedByName, Vr as followSuggestKey, ape as followupDetail, zfe as followupTally, pg as frame, PB as g4, Zq as getDefaultPaginationState, DM as gridLayout, ci as groupByAuthor, npe as groupFollowups, RY as groupReviewRows, OTe as hasChanges, SX as hasResourceRoots, sL as hasResultProblems, RPe as historySpan, jB as i2, IPe as importTasteExport, x0 as indexersSkeleton, Fg as interpolate, vW as invalidateWants, lL as isActive, Qr as isBroken, Kr as isLayout, gv as isMotionValue, NY as isReviewCategory, ipe as isRoutine, S0 as javBrowserSkeleton, M0 as javContentSkeleton, bM as javLayout, j0 as javTagSkeleton, BTe as junkBreakdown, Oke as keepPlaylist, ke as keepPreviousData, fi as keepSelected, v3 as known, Vhe as l7, tpe as latestOfKind, iPe as lengthRows, Sr as localTime, Fi as lookupFeedActor, FB as m7, eV as mM, En as mapLimit, ki as markItem, C3 as max, nPe as mediumRows, Hfe as mergeFinished, w3 as min, Iwe as mirrorText, awe as missingToolText, xY as mixedCloudPreferences, mL as momentText, dS as motion, sv as motionValue, nn as nameFallback, He as notifyManager, qhe as oe, hTe as organizeOutcome, J0 as overlayHost, qr as pageSizeOf, di as pageWindow, mr as paginationRange, Ri as patchSource, W as peachHistory, W as peachHistory$1, Ewe as pendingGenres, JNe as percentText, cTe as pickOrganizeFolder, y$ as plainStatClass, mTe as planSummary, y3 as playedFor, XNe as playedItemUrl, iL as pollInterval, Js as popCount, wke as posterUrl, obe as previewLibraryColor, sTe as previewOrganize, cwe as previewUrl, $fe as problemDestination, fH as processingActive, dL as progressText, $H as providerIcon, Vwe as pruneText, wX as purgeCount, bTe as purgeOrphan, rV as pv, hge as qE, H as queryClient, MB as r2, WPe as radarRows, $Ne as radialArc, ePe as radialBarSize, QNe as radialCeiling, ZNe as radialSlices, UN as randomId, HPe as rankDetail, UPe as rankShares, x3 as reachedShare, fL as readableErrorHeadline, mje as recommendationScore, Mwe as recordGenre, STe as recordsText, kke as recreatePlaylist, Ske as refreshPlaylists, Tl as relayoutCovers, Bi as reloadFollowManage, Fwe as reloadReview, KAe as rememberShape, uTe as rememberTemplates, Ei as removeAlias, Ni as removeFeed, Ci as removeSource, FPe as removeTasteSource, _W as removeWants, Di as renameAliasGroup, Eke as renamePlaylist, Se as replaceEqualDeep, oPe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, oq as require_with_selector, oye as resetWants, pr as resolveFollowSort, Hg as resolveStartTime, __e as restartEffectText, Cke as resumeAssetId, _we as reviewGroupingOptions, LY as reviewQueueData, IY as reviewQueueOf, zTe as reviewSummary, ywe as reviewWindow, wwe as rowEvidence, BY as rowFieldName, iJ as rowPaginationFeature, TJ as rowSelectionFeature, RJ as rowSortingFeature, zY as rowSubject, Twe as rowTags, Cwe as rowTitle, Rhe as s5, Oi as saveCredential, kTe as scanLine, Qwe as schedulePollInterval, cye as searchNote, xwe as selectReviewRange, pi as selectionState, Mi as setFeedEnabled, Si as setSourceEnabled, Pf as settingsPath, Pwe as settleReviewRows, qCe as sharedNamePrefix, Op as shellNavigate, g8 as showToast, zn as siteMarkUrl, vq as skipFirstRun, KI as sortCx, Yr as sortLabel, yn as sourceDefaultCost, qi as sourceIconUrl, MTe as sourceMeta, zs as spinnerHtml, Ng as spring, wV as spriteGlyph, bi as startCheck, zwe as startLinkCheck, Bwe as startLinkPrune, lTe as startOrganize, xi as startResolve, ETe as startResourceApply, TTe as startResourceScan, PPe as startTasteRefresh, $Oe as statCardClass, Yfe as statusLabel, iwe as statusLine, Zr as statusText, kM as storeJavLayout, Awe as submitDecision, hL as summaryItems, Bq as tableFeatures, yq as tableMemo, ui as tableRows, Qfe as taskIssues, epe as taskSubject, U3 as tasteDate, BPe as tasteDimensions, zPe as tasteHours, V3 as tasteKey, kPe as tasteRefetchInterval, APe as tasteTime, QI as textLang, nh as time, Qhe as tl, mi as toggleGroup, W3 as topScores, lge as um, rge as uo, EH as useAction, FZ as useBackgroundJob, KU as useClientUpdates, mm as useConstant, gL as useEntityNames, SL as useHorizontalScroller, hm as useIsomorphicLayoutEffect, $G as useLibraryTints, Ft as useMutation, ZV as useOverlayScrollbar, Pt as useQuery, ae as useQueryClient, $x as useReducedMotion, Zwe as useRunSchedule, Ywe as useSaveFollowSchedule, uX as useSaveSettings, $we as useSaveThumbnailMode, zJ as useTable, nY as useTablePreferences, kL as useViewGlide, ewe as victimBytes, $he as vl, sye as wantName, YNe as watchNote, b3 as watchedShare, kc as wireHorizontalScroller, dTe as withOrganizeJob };+uze($9);+export { ZL as $2ec61d1d4f780267$export$a8a3e93435678ff9, aR as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, Sz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, DD as $72abaeab4d80592f$export$78efe591171d7d45, mB as $76d00c5a4edb230a$export$76ccd210b9029917, dB as $76d00c5a4edb230a$export$816b5d811295e6bc, _B as $76d00c5a4edb230a$export$b59bdbef9ce70de2, yB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, uB as $76d00c5a4edb230a$export$f850895b287ef28e, yhe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, vhe as $b4f18e3395fe64d7$export$3e41faf802a29e71, hhe as $b4f18e3395fe64d7$export$b2539bed5023c21c, CB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, She as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, mE as $ea3928288112382f$export$439d29a4e110a164, Fz as $f2ff30fde7b014be$export$3ddf2d174ce01153, Hz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Uz as $fe21c36db05242bb$export$d7b12c4107be0d61, nge as $l, Zj as ACCENTS, Lke as AMANE_BRIDGE_CHECK_URL, B$ as AMANE_BRIDGE_KEY, Rke as AMANE_BRIDGE_REBUILD_URL, ar as ApiError, nW as ArtSlot, u2 as BATCH_DELETE_TEXT, J as Button, kL as ButtonLink, eV as Bx, h$ as CLEANUP_ENTRY, m$ as CLEANUP_ENTRY_GRID, Xf as CLEANUP_HASH_REDIRECTS, Jf as CLEANUP_TOOLS, gn as CLOUD_LOCATIONS, K1 as CLOUD_PROXY_HELP, Wr as COLUMN_SORT, i1 as CONFIGURATION_KEY, JY as CONFIGURATION_URL, zke as COOKIE_TEXT_LIMIT, z$ as COVER_JOB_KEY, qi as CREDENTIAL_STATE, F$ as CUSTOM_SOURCES_KEY, P$ as CUSTOM_SOURCES_URL, JV as Checkbox, qV as CheckboxGlyph, RV as ChevronSortDown, tW as Chip, uW as CloudDownloadDialog, HH as CollapseChevron, VH as CollapseRegion, c$ as CollectionSummary, _we as DEFAULT_CATEGORY, lr as DEFAULT_SORT, PQ as DIAGNOSTICS_KEY, hTe as DIRECTORY_TEMPLATE_ERROR, D0 as DISCOVERY_SORTS, iW as DOWNLOADS_KEY, rW as DOWNLOADS_URL, mY as DUPLICATES_KEY, YJ as DataTableFooter, GJ as DataTableFrame, JJ as DataTableSort, JH as Disclosure, Xve as DownloadsPanel, qhe as E3, vwe as ENTITY_REVIEW_KINDS, W1 as ENTRY_LINKS_HELP, G1 as ENTRY_LINKS_HINT, KB as Ea, Dge as EmptyFocusButton, bV as EmptyState, KH as ErrorText, U_e as ExternalLink, zr as FEEDS_KEY, nX as FEED_SCHEDULE_KEY, f$ as FIELDSET_FOOT, qPe as FLOW_LABEL_X, W3 as FLOW_VIEWBOX, Lr as FOLLOW_CHECK_KEY, Ir as FOLLOW_CREDENTIALS_KEY, D8 as FOLLOW_INITIAL_RANGE_OPTIONS, Fr as FOLLOW_MANAGE_KEY, LZ as FOLLOW_MANAGE_NAV, Rr as FOLLOW_RESOLVE_KEY, tX as FOLLOW_SCHEDULE_KEY, K_e as Fact, G_e as FactList, qH as FieldLabel, T$ as Fieldset, w$ as FieldsetTitle, gpe as FilterGlass, SL as FilterGlassRows, xL as FilterIconButton, CL as FilterPill, H_e as Footer, ZB as Gg, wL as GlassPill, iV as HN, GH as Help, dV as HintText, zPe as IDLE_POLL_MS, owe as IDLE_REPAIR, _L as IconButton, IQ as IndexSearch, gV as Input, hV as InputBase, D$ as IssueRow, hM as JAV_LAYOUTS, k0 as JAV_RECOMMENDATION_GRID, OX as JUNK_KEY, SW as JavHeader, ewe as KEEP_LABELS, Vr as LAYOUTS, U1 as LIBRARY_FOLDER_HELP, sH as LIBRARY_PROCESSING_KEY, BY as LINKS_KEY, VY as LINK_CHECK_KEY, Hwe as LINK_KINDS, HY as LINK_PRUNE_KEY, er as LOC, uV as Label, A$ as LibraryProcessingCard, LV as LibraryShortcuts, CH as LinkButton, ige as Lo, IH as LoadingDots, Jhe as M6, qwe as MEDIA_PROCESSING_KEY, iX as MEDIA_PROCESSING_URL, yY as MEDIA_REPAIR_KEY, vY as MEDIA_REPAIR_URL, _r as MEDIA_SOURCES_KEY, hs as MEDIA_SOURCE_ICONS, mn as MEDIA_SOURCE_OPTIONS, HV as MENU_ITEM, UV as MENU_ITEM_INTERACTIVE, VV as MENU_POPOVER_SURFACE, oge as Ma, DH as MenuDialog, uK as MixCard, _V as ModalFrame, Sx as MotionConfigContext, cV as NR, E$ as NameLink, yV as Note, Cge as OA, sX as ORGANIZE_KEY, s2 as ORGANIZE_PARAMETER_HINT, o2 as ORGANIZE_SCOPE_HINT, a2 as ORGANIZE_TEXT, dX as ORPHAN_RECORDS_KEY, l2 as ORPHAN_RECORDS_TEXT, YB as OV, PB as P7, TX as PERFORMER_DELETE_KEY, aye as PHASES, YY as PICK_FOLDER_URL, _$ as PLAIN_STAT_STRIP, M$ as PLAYLISTS_KEY, UAe as POLICY_COLUMNS, GAe as POLICY_COVER_NOTE, WAe as POLICY_MATRIX, H1 as POLICY_SUMMARY, qJ as Pagination, k$ as PathLine, oV as Pf, KI as PillTabList, ake as PlainStat, RH as Progress, wY as QUALITY_GOALS_KEY, aV as RB, y$ as REPAIR_CARD_TEXT, bY as REPAIR_LIBRARIES_KEY, gX as RESOURCE_APPLY_KEY, hX as RESOURCE_SCAN_KEY, c2 as RESOURCE_SYNC_TEXT, dke as RESULT_PANEL, fke as RESULT_SECTION, gwe as REVIEW_CATEGORIES, DX as REVIEW_COUNTS_KEY, ywe as REVIEW_DECISION_LABELS, DY as REVIEW_KEY, OY as REVIEW_LABELS, AY as REVIEW_QUEUES, jY as REVIEW_QUEUE_LABELS, FG as RetryNote, Sge as Rf, lV as Rk, z_e as Rows, Fke as SCRAPING_CHECK_URL, L$ as SCRAPING_COVER_URL, R$ as SCRAPING_KEY, Pke as SCRAPING_SETTINGS_URL, mU as SEGMENT, pU as SEGMENTED_TRACK, eX as SETTINGS_KEY, XY as SETTINGS_URL, ur as SORT_DEFAULT_DIR, cr as SORT_OPTIONS, _n as SOURCE_LABELS, h3 as STATS_KEY, rke as STAT_STRIP, ike as STAT_STRIP_SIX, R_e as Section, pke as SectionHeading, V_e as SectionSkeleton, fU as SegmentedRadioGroup, sve as SegmentedTabList, OG as Segments, KJ as Select, QU as Select$1, c1 as SelectField, $U as SelectItem, nY as SelectionActions, kj as SelectionDock, rY as SelectionPopover, UH as SettingsCard, L_e as SettingsRow, WH as SettingsSectionLabel, X_e as SiteLabel, oG as SortDirectionIcon, AG as SortKeys, _Q as SourceAvatar, QH as SourceLabel, YH as SourceMark, B_e as Stack, oke as StatCard, O$ as StatusLabel, yge as Su, q2 as Switch, tL as TASKS_KEY, OPe as TASTE_REFRESH_KEY, kPe as TASTE_WINDOWS, rX as THUMBNAIL_JOBS_KEY, AX as TRASH_KEY, Yfe as TRIGGER_LABELS, IJ as Table, iY as TableColumnControls, aY as TableColumnResizer, sY as TableSelectionHeader, r$ as TagManager, W_e as TaskCenterLink, zH as TaskProgress, pV as TextField, fV as TextFieldContext, qB as Un, fW as WANTS_KEY, c4 as WantMagnets, Gg as WithPromise, RB as Wt, GB as Xc, sV as Xf, BB as Xl, zB as Xt, IB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, xge as aB, wi as addAlias, Ci as addSource, mW as addWant, dS as animate, V as apiGet, H as apiSend, lM as appSettingsStore, PTe as applyConfirmText, wX as applyLeftovers, NTe as applyPlanText, ITe as applyText, pM as applyTheme, gy as asNumber, STe as attachOrphan, oi as authorAvatar, ci as authorGroups, ai as authorInitial, ii as authorName, wq as autoResetPageIndex, ho as avatarInner, x3 as bandRows, gTe as baseName, awe as batchOperate, vue as beginPlayerGuidePreview, Pj as boundedPreference, nwe as bulkCloudPreferences, wV as busyProps, bge as cB, rNe as cachedMagnetStates, zg as calcGeneratorVelocity, Ewe as canApprove, mg as cancelFrame, DTe as candidateText, MU as cardClass, OM as cardRatio, WB as cc, Ui as checkEvidenceGap, Hi as checkFailures, Ni as checkFeeds, Kwe as checkLine, Bi as checkReceipt, Vi as checkSummary, Vke as checkText, Wi as checkedText, XG as clickedBlank, W5 as closeDrawerAfterNav, JCe as cloudLocations, C0 as cloudProxySkeleton, qC as clsx, lge as cn, av as collectMotionValues, Wq as columnVisibilityFeature, jJ as column_getCanSort, DJ as column_getSortFn, wwe as commonReviewSources, kf as configurationSection, NPe as configureTasteBrowser, sl as confirmModal, qfe as controlTask, oq as copyInstancePropertiesWithoutMemos, so as coverUrl, Fq as createColumnHelper, Oke as createPlaylist, Ji as credentialDone, y0 as credentialsSkeleton, Fwe as currentReviewRow, q as cx, $B as dZ, Mwe as decisionPayload, Nwe as decisionReceipt, jwe as defaultChoice, RTe as deletePerformerVideos, Ake as deletePlaylist, x as diagnosticHeaders, V1 as diagnosticsSkeleton, dye as discoveryArtwork, _W as discoveryKey, hje as discoveryScore, n9 as disposeStage, QCe as distinctName, Ri as dropSources, vge as du, rwe as duplicateVictims, cL as elapsedText, en as entityDisplayName, mo as entityFaceImg, Mn as entityPath, $r as errorHeadline, sr as errorMessage, B as esc, Cq as expandRowModel, OB as f1, Qr as feedIntervalText, U$ as fetchAmaneBridge, gi as fetchCheckJob, a1 as fetchConfiguration, H$ as fetchCoverJob, hi as fetchCredentials, I$ as fetchCustomSources, EX as fetchDeletePerformers, LTe as fetchDeletePlan, FQ as fetchDiagnostics, vW as fetchDiscoveries, gY as fetchDuplicates, Ufe as fetchEarlier, Xwe as fetchFeedSchedule, Ai as fetchFeeds, mi as fetchFollow, Ywe as fetchFollowSchedule, MX as fetchJunkSummary, hH as fetchLibraryProcessing, GY as fetchLinkCheck, KY as fetchLinkPrune, WY as fetchLinkStats, Jwe as fetchMediaProcessing, xY as fetchMediaRepair, vr as fetchMediaSources, cX as fetchOrganize, lTe as fetchOrganizeExample, fX as fetchOrphanRecords, ki as fetchPending, N$ as fetchPlaylists, TY as fetchQualityGoals, SY as fetchRepairLibraries, _i as fetchResolveJob, vX as fetchResourceApply, _X as fetchResourceScan, LY as fetchReview, jX as fetchReviewCounts, aX as fetchSettings, V$ as fetchSources, g3 as fetchStats, vi as fetchSuggestions, rL as fetchTasks, V3 as fetchTaste, PPe as fetchTasteJob, Zwe as fetchThumbnailJobs, NX as fetchTrashSummary, pW as fetchWants, Swe as filterReviewRows, Qn as firstGrapheme, HK as flexRender, YPe as flowGraph, XPe as flowLabel, JNe as fmtCount, Kn as fmtDur, Jn as fmtSize, Hfe as foldByKind, ape as foldRoutine, Fi as followFeedByName, Br as followSuggestKey, spe as followupDetail, Vfe as followupTally, pg as frame, MB as g4, qq as getDefaultPaginationState, DM as gridLayout, si as groupByAuthor, ipe as groupFollowups, PY as groupReviewRows, jTe as hasChanges, yX as hasResourceRoots, aL as hasResultProblems, BPe as historySpan, kB as i2, RPe as importTasteExport, b0 as indexersSkeleton, Fg as interpolate, gW as invalidateWants, sL as isActive, Zr as isBroken, Gr as isLayout, gv as isMotionValue, kY as isReviewCategory, ope as isRoutine, x0 as javBrowserSkeleton, j0 as javContentSkeleton, bM as javLayout, A0 as javTagSkeleton, UTe as junkBreakdown, jke as keepPlaylist, Oe as keepPreviousData, di as keepSelected, _3 as known, Uhe as l7, rpe as latestOfKind, oPe as lengthRows, xr as localTime, Pi as lookupFeedActor, NB as m7, QB as mM, Tn as mapLimit, Oi as markItem, S3 as max, iPe as mediumRows, Wfe as mergeFinished, C3 as min, Bwe as mirrorText, lwe as missingToolText, _Y as mixedCloudPreferences, fL as momentText, fS as motion, sv as motionValue, tn as nameFallback, Ve as notifyManager, Yhe as oe, vTe as organizeOutcome, q0 as overlayHost, Kr as pageSizeOf, ui as pageWindow, pr as paginationRange, Li as patchSource, Dp as peachHistory, Dp as peachHistory$1, Awe as pendingGenres, XNe as percentText, lX as pickOrganizeFolder, g$ as plainStatClass, _Te as planSummary, v3 as playedFor, QNe as playedItemUrl, nL as pollInterval, qs as popCount, Dke as posterUrl, ube as previewLibraryColor, dTe as previewOrganize, fwe as previewUrl, tpe as problemDestination, uH as processingActive, lL as progressText, ZH as providerIcon, Gwe as pruneText, xX as purgeCount, CTe as purgeOrphan, tV as pv, _ge as qE, U as queryClient, AB as r2, KPe as radarRows, tPe as radialArc, nPe as radialBarSize, ePe as radialCeiling, $Ne as radialSlices, UN as randomId, WPe as rankDetail, GPe as rankShares, b3 as reachedShare, uL as readableErrorHeadline, gje as recommendationScore, Iwe as recordGenre, TTe as recordsText, Mke as recreatePlaylist, Tke as refreshPlaylists, wl as relayoutCovers, zi as reloadFollowManage, zwe as reloadReview, JAe as rememberShape, pTe as rememberTemplates, Ti as removeAlias, Mi as removeFeed, Si as removeSource, LPe as removeTasteSource, hW as removeWants, Ei as renameAliasGroup, kke as renamePlaylist, xe as replaceEqualDeep, cPe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, nq as require_with_selector, cye as resetWants, fr as resolveFollowSort, Hg as resolveStartTime, y_e as restartEffectText, Eke as resumeAssetId, xwe as reviewGroupingOptions, NY as reviewQueueData, MY as reviewQueueOf, HTe as reviewSummary, Cwe as reviewWindow, Owe as rowEvidence, IY as rowFieldName, eJ as rowPaginationFeature, xJ as rowSelectionFeature, PJ as rowSortingFeature, FY as rowSubject, kwe as rowTags, Dwe as rowTitle, Bhe as s5, Di as saveCredential, MTe as scanLine, nTe as schedulePollInterval, uye as searchNote, Twe as selectReviewRange, fi as selectionState, ji as setFeedEnabled, xi as setSourceEnabled, Nf as settingsPath, Rwe as settleReviewRows, ZCe as sharedNamePrefix, Op as shellNavigate, h8 as showToast, Rn as siteMarkUrl, mq as skipFirstRun, WI as sortCx, Jr as sortLabel, vn as sourceDefaultCost, Ki as sourceIconUrl, FTe as sourceMeta, Rs as spinnerHtml, Ng as spring, SV as spriteGlyph, yi as startCheck, Uwe as startLinkCheck, Wwe as startLinkPrune, fTe as startOrganize, bi as startResolve, kTe as startResourceApply, OTe as startResourceScan, IPe as startTasteRefresh, nke as statCardClass, Zfe as statusLabel, cwe as statusLine, Xr as statusText, kM as storeJavLayout, Pwe as submitDecision, pL as summaryItems, Iq as tableFeatures, hq as tableMemo, li as tableRows, epe as taskIssues, npe as taskSubject, H3 as tasteDate, HPe as tasteDimensions, VPe as tasteHours, B3 as tasteKey, jPe as tasteRefetchInterval, MPe as tasteTime, XI as textLang, nh as time, ege as tl, pi as toggleGroup, U3 as topScores, dge as um, age as uo, wH as useAction, MZ as useBackgroundJob, WU as useClientUpdates, mm as useConstant, mL as useEntityNames, bL as useHorizontalScroller, hm as useIsomorphicLayoutEffect, YG as useLibraryTints, Pt as useMutation, YV as useOverlayScrollbar, Nt as useQuery, ae as useQueryClient, eS as useReducedMotion, tTe as useRunSchedule, $we as useSaveFollowSchedule, oX as useSaveSettings, rTe as useSaveThumbnailMode, FJ as useTable, QJ as useTablePreferences, DL as useViewGlide, iwe as victimBytes, tge as vl, lye as wantName, ZNe as watchNote, y3 as watchedShare, Oc as wireHorizontalScroller, mTe as withOrganizeJob };-//# debugId=eaaa8f3a-679e-41e3-af44-284c54e8a4f8\ No newline at end of file+//# debugId=3efe6716-d805-40c3-8afe-1e3c6db3f4f4\ No newline at end of file