Peach: Local-first video metadata scraper and media manager.
fix(web): 局域网 HTTP 访问时配置页不再因 randomUUID 崩溃
longmeidao2a21e494b6d7
diff --git a/frontend/src/core/random-id.ts b/frontend/src/core/random-id.tsnew file mode 100644index 000000000..772b1d8f7--- /dev/null+++ b/frontend/src/core/random-id.ts@@ -0,0 +1,12 @@+/* 浏览器只在 HTTPS 与 localhost 页面提供 `crypto.randomUUID`;局域网按 HTTP 打开时它不存在。+ * `getRandomValues` 在任何页面都可用,用它按 RFC 9562 拼出同格式的 v4 UUID,服务端按 UUID 校验的身份照常通过。 */++/** 随机 v4 UUID,HTTP 页面也可用。 */+export function randomId(): string {+ if (typeof crypto.randomUUID === 'function') return crypto.randomUUID();+ const bytes = crypto.getRandomValues(new Uint8Array(16));+ bytes[6] = (bytes[6]! & 0x0f) | 0x40;+ bytes[8] = (bytes[8]! & 0x3f) | 0x80;+ const hex = Array.from(bytes, (byte) => byte.toString(16).padStart(2, '0')).join('');+ return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}-${hex.slice(16, 20)}-${hex.slice(20)}`;+}diff --git a/frontend/src/player/stream.ts b/frontend/src/player/stream.tsindex b82101c2f..a384fa5e7 100644--- a/frontend/src/player/stream.ts+++ b/frontend/src/player/stream.ts@@ -4,10 +4,11 @@* 已经没人看的读取不再占着 115 或本地盘。详情与沉浸模式共用这一套(沉浸模式每格一个会话)。 */import { api } from '@peach/legacy/core';+import { randomId } from '../core/random-id';import type { PlayerItem, PlayerSource } from './types';export function newStreamSession(): string {- return globalThis.crypto?.randomUUID?.() || `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;+ return randomId();}export function directStreamSource(item: PlayerItem, session: string): PlayerSource {diff --git a/frontend/src/player/v10-player.ts b/frontend/src/player/v10-player.tsindex 186ac8a3d..f801e5743 100644--- a/frontend/src/player/v10-player.ts+++ b/frontend/src/player/v10-player.ts@@ -1,4 +1,5 @@/* Peach 播放会话:Video.js 10 的媒体、原生事件与自有控制条共用同一枚 video。 */+import { randomId } from '../core/random-id';import type { PlayerEvents, PlayerSource, QualityLevelList, VideojsFactory, VjsPlayer } from './types';interface HlsEngine {@@ -21,7 +22,7 @@ export const createV10Player: VideojsFactory = (video, options) => {const root = document.createElement('div');const provider = document.createElement('video-player');root.className = 'video-js vjs-paused vjs-user-active';- root.id = video.id || `peach-player-${crypto.randomUUID()}`;+ root.id = video.id || `peach-player-${randomId()}`;root.setAttribute('lang', 'zh-CN');const container = document.createElement('media-container');let media = document.createElement('hlsjs-video') as MediaElement;diff --git a/frontend/src/react/pages/setup/setup-form.tsx b/frontend/src/react/pages/setup/setup-form.tsxindex d97886749..2d21ae1ef 100644--- a/frontend/src/react/pages/setup/setup-form.tsx+++ b/frontend/src/react/pages/setup/setup-form.tsx@@ -15,6 +15,7 @@ import { Label } from '@/components/base/input/label';import { Switch } from '@/components/base/switch/switch';import { Select, SelectItem } from '@/components/base/select/select';+import { randomId } from '../../../core/random-id';import { SEGMENT, SEGMENTED_TRACK, SegmentedRadioGroup } from '../../components/segmented';import { busyProps } from '../../settings/busy-props';import {@@ -53,7 +54,7 @@ export function SetupForm({ setup, onDone }: { setup: SetupQuestions; onDone: (dconst media = setup.questions.find((question) => question.input === 'folders');const others = setup.questions.filter((question) => question.input !== 'folders');const sources = setup.media_sources.map(({ value, label }) => [value, label] as const);- const blank = (path = ''): SetupFolder => ({ path, location: setup.media_source_default, root: '', library_id: crypto.randomUUID(), library: '', cost: setup.media_source_default === 'local' ? 'free' : '' });+ const blank = (path = ''): SetupFolder => ({ path, location: setup.media_source_default, root: '', library_id: randomId(), library: '', cost: setup.media_source_default === 'local' ? 'free' : '' });const folders = useFolderRows<SetupFolder>({initial: () => [blank(media?.default ?? '')], blank: () => blank(), pickFolder, describe: describeFailure,focusAfterPick: true,@@ -192,7 +193,7 @@ export function SetupForm({ setup, onDone }: { setup: SetupQuestions; onDone: (drenderValue={<span className="flex min-w-0 items-center gap-2"><SourceMark mark={libraryAutoChoice(row.location)[0]} /><span className="truncate">{row.library || '未命名媒体库'}</span></span>}onSelectionChange={key => {const other = folders.rows.find(value => value.library_id === key);- folders.edit(index, { library_id: other?.library_id || crypto.randomUUID(), library: other?.library || '' });+ folders.edit(index, { library_id: other?.library_id || randomId(), library: other?.library || '' });}}>{[...new Map(folders.rows.map(value => [value.library_id, value])).values()].map(value => (<SelectItem key={value.library_id} id={value.library_id}>{value.library || '未命名媒体库'}</SelectItem>diff --git a/frontend/src/react/settings/indexer-settings.tsx b/frontend/src/react/settings/indexer-settings.tsxindex 997fb7b41..0d0a2d0df 100644--- a/frontend/src/react/settings/indexer-settings.tsx+++ b/frontend/src/react/settings/indexer-settings.tsx@@ -6,6 +6,7 @@ import { Button } from '@/components/base/buttons/button';import { Checkbox } from '@/components/base/checkbox/checkbox';import { Input } from '@/components/base/input/input';import { apiGet, apiSend, errorMessage } from '../../api';+import { randomId } from '../../core/random-id';import { LoadingDots } from '../components/loading-dots';import { Disclosure, ErrorText, ExternalLink, Footer, Help, Section, Stack } from './section';import { busyProps, useAction } from './use-action';@@ -66,7 +67,7 @@ function IndexerForm({ initial, receipt }: { initial: State; receipt(message: st</Stack><Footer><Button variant="secondary" type="button" disabled={Boolean(action.busy) || rows.length >= initial.max_indexers}- onClick={() => setRows([...rows, { key: crypto.randomUUID(), name: '', url: '', enabled: true, api_key_set: false }])}>+ onClick={() => setRows([...rows, { key: randomId(), name: '', url: '', enabled: true, api_key_set: false }])}>添加索引器</Button><Button type="submit" {...busyProps(action.busy === 'save')}>保存配置</Button>diff --git a/frontend/src/react/settings/media-settings.tsx b/frontend/src/react/settings/media-settings.tsxindex 6afa0a032..7316de7d3 100644--- a/frontend/src/react/settings/media-settings.tsx+++ b/frontend/src/react/settings/media-settings.tsx@@ -28,6 +28,7 @@ import {useFolderRows,} from './folder-rows';import { sourceDefaultCost, type SourceCost } from '../../core/media-sources';+import { randomId } from '../../core/random-id';import { libraryAutoChoice, LibraryIconPicker } from './library-icon-picker';import { PushDiscoveryForm } from './push-discovery-settings';import {@@ -43,14 +44,14 @@ interface MediaRow { path: string; location: string; root: string; root_id?: strinterface FieldErrors { media_dirs?: string[]; port?: string }interface SaveResult { saved: boolean; url: string; revision: string }-const blankRow = (path = ''): MediaRow => ({ path, location: 'local', root: '', library_id: crypto.randomUUID(), library: '', library_icon: '', cost: 'free' });+const blankRow = (path = ''): MediaRow => ({ path, location: 'local', root: '', library_id: randomId(), library: '', library_icon: '', cost: 'free' });function initialRows(data: ConfigurationData): MediaRow[] {const known = data.media_sources?.filter((row) => MEDIA_SOURCES.some(([kind]) => kind === row.location));if (known?.length) {return known.map((row) => ({path: row.path, location: row.location, root: row.root, library: row.library || '', library_icon: row.library_icon || '',- root_id: row.root_id, library_id: row.library_id || crypto.randomUUID(),+ root_id: row.root_id, library_id: row.library_id || randomId(),cost: row.cost ?? sourceDefaultCost(row.location),}));}@@ -93,7 +94,7 @@ function MediaForm({ data, receipt }: ConfigurationGroupProps) {const chooseLibrary = (index: number, key: string) => {const chosen = rows.find(row => row.library_id === key);edit(index, chosen ? { library_id: chosen.library_id, library: chosen.library, library_icon: chosen.library_icon }- : { library_id: crypto.randomUUID(), library: '', library_icon: '' });+ : { library_id: randomId(), library: '', library_icon: '' });};useEffect(() => {diff --git a/frontend/src/react/settings/userscript-probe.ts b/frontend/src/react/settings/userscript-probe.tsindex e76449f44..a68b83806 100644--- a/frontend/src/react/settings/userscript-probe.ts+++ b/frontend/src/react/settings/userscript-probe.ts@@ -1,5 +1,7 @@import { useEffect, useRef, useState } from 'react';+import { randomId } from '../../core/random-id';+export type UserscriptProbeStatus = 'checking' | 'missing' | { version: string; paired: boolean };/** 通过同源桥接页核对当前浏览器中的用户脚本与配对状态。 */@@ -8,7 +10,7 @@ export function useUserscriptProbe() {const [attempt, setAttempt] = useState(0);const [status, setStatus] = useState<UserscriptProbeStatus>('checking');useEffect(() => {- const nonce = crypto.randomUUID();+ const nonce = randomId();let settled = false;const probe = () => frame.current?.contentWindow?.postMessage({ type: 'peach-userscript:probe', nonce }, window.location.origin);const receive = (event: MessageEvent) => {diff --git a/frontend/test/random-id.test.ts b/frontend/test/random-id.test.tsnew file mode 100644index 000000000..47907aae7--- /dev/null+++ b/frontend/test/random-id.test.ts@@ -0,0 +1,31 @@+import { afterEach, expect, it, vi } from 'vitest';++import { randomId } from '../src/core/random-id';++const UUID_V4 = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/;++/** 局域网 HTTP 页面:只有 `getRandomValues`,没有 `randomUUID`。 */+const insecureContext = () => {+ const real = globalThis.crypto;+ vi.stubGlobal('crypto', { getRandomValues: real.getRandomValues.bind(real) });+};++afterEach(() => vi.unstubAllGlobals());++it('安全上下文直接用浏览器的 randomUUID', () => {+ const native = vi.spyOn(globalThis.crypto, 'randomUUID').mockReturnValue('00000000-0000-4000-8000-000000000000');+ expect(randomId()).toBe('00000000-0000-4000-8000-000000000000');+ expect(native).toHaveBeenCalledOnce();+});++it('HTTP 页面没有 randomUUID 时仍生成 v4 UUID,且每次不同', () => {+ insecureContext();+ const ids = Array.from({ length: 64 }, randomId);+ for (const id of ids) expect(id).toMatch(UUID_V4);+ expect(new Set(ids).size).toBe(ids.length);+});++it('版本位与变体位固定,其余位取自随机字节', () => {+ vi.stubGlobal('crypto', { getRandomValues: (bytes: Uint8Array) => bytes.fill(0xff) });+ expect(randomId()).toBe('ffffffff-ffff-4fff-bfff-ffffffffffff');+});diff --git a/frontend/test/react/media-settings.test.tsx b/frontend/test/react/media-settings.test.tsxindex 232026e70..904772b6c 100644--- a/frontend/test/react/media-settings.test.tsx+++ b/frontend/test/react/media-settings.test.tsx@@ -45,6 +45,21 @@ it('网盘来源缺依赖时给新窗口下载链接,已装的不提示', asynexpect(host.textContent).not.toContain('下载 WinFsp');});+it('局域网 HTTP 页面没有 randomUUID 时,旧目录补上媒体库身份并照常打开', async () => {+ const real = globalThis.crypto;+ vi.stubGlobal('crypto', { getRandomValues: real.getRandomValues.bind(real) });+ const fetcher = fetchMock(200, { saved: true, url: '/', revision: 'rev-2' });+ vi.stubGlobal('fetch', fetcher);+ try {+ const host = await open({ media_sources: [{ location: 'local', root: '/media', path: '/media', cost: 'free' }] });+ expect(host.querySelector('form')).not.toBeNull();+ await submit(host.querySelector('form'));+ expect(sentBody(fetcher).media_sources[0].library_id).toMatch(/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/);+ } finally {+ vi.unstubAllGlobals();+ }+});+it('不能编辑时只说原因,不画表单', async () => {const host = await open({ editable: false, notice: '请在运行 Peach 的电脑上打开配置' });expect(host.querySelector('form')).toBeNull();diff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex 54399341b..799c4fc38 100644--- a/web/dist/peach-app.js+++ b/web/dist/peach-app.js@@ -2,7 +2,7 @@(function() {try {var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "84d07cd8-f552-494a-9320-9f56e27bb4c2", e._sentryDebugIdIdentifier = "sentry-dbid-84d07cd8-f552-494a-9320-9f56e27bb4c2");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f74bb7d9-f063-4e7f-9fae-f544a76e2970", e._sentryDebugIdIdentifier = "sentry-dbid-f74bb7d9-f063-4e7f-9fae-f544a76e2970");} catch {}})();var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, n) => {@@ -28189,8 +28189,8 @@ gT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs-var Rce = {};-Rce = {+var _T = {};+_T = {ascending: "возрастание",ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,collapse: "Свернуть",@@ -28205,8 +28205,8 @@ Rce = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs-var zce = {};-zce = {+var vT = {};+vT = {ascending: "vzostupne",ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse: "Zbaliť",@@ -28221,8 +28221,8 @@ zce = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs-var Bce = {};-Bce = {+var Rce = {};+Rce = {ascending: "naraščajoče",ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,collapse: "Strni",@@ -28237,8 +28237,8 @@ Bce = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs-var Vce = {};-Vce = {+var zce = {};+zce = {ascending: "rastući",ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse: "Skupi",@@ -28253,8 +28253,8 @@ Vce = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs-var Hce = {};-Hce = {+var Bce = {};+Bce = {ascending: "stigande",ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse: "Dölj",@@ -28269,8 +28269,8 @@ Hce = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs-var Uce = {};-Uce = {+var Vce = {};+Vce = {ascending: "artan sırada",ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse: "Daralt",@@ -28285,8 +28285,8 @@ Uce = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs-var Wce = {};-Wce = {+var Hce = {};+Hce = {ascending: "висхідний",ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,collapse: "Згорнути",@@ -28301,8 +28301,8 @@ Wce = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs-var Gce = {};-Gce = {+var Uce = {};+Uce = {ascending: "升序",ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse: "折叠",@@ -28317,8 +28317,8 @@ Gce = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs-var Kce = {};-Kce = {+var Wce = {};+Wce = {ascending: "遞增",ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,collapse: "收合",@@ -28333,8 +28333,8 @@ Kce = {};//#endregion//#region node_modules/react-aria/dist/private/table/intlStrings.mjs-var _T = {};-_T = {+var yT = {};+yT = {"ar-AE": Kw,"bg-BG": qw,"cs-CZ": Jw,@@ -28360,19 +28360,19 @@ _T = {"pt-BR": mT,"pt-PT": hT,"ro-RO": gT,- "ru-RU": Rce,- "sk-SK": zce,- "sl-SI": Bce,- "sr-SP": Vce,- "sv-SE": Hce,- "tr-TR": Uce,- "uk-UA": Wce,- "zh-CN": Gce,- "zh-TW": Kce+ "ru-RU": _T,+ "sk-SK": vT,+ "sl-SI": Rce,+ "sr-SP": zce,+ "sv-SE": Bce,+ "tr-TR": Vce,+ "uk-UA": Hce,+ "zh-CN": Uce,+ "zh-TW": Wce};//#endregion//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var qce = class extends zw {+var Gce = class extends zw {isCell(e) {return e.type === "cell" || e.type === "rowheader" || e.type === "column";}@@ -28450,14 +28450,14 @@ var qce = class extends zw {};//#endregion//#region node_modules/react-aria/dist/private/table/useTable.mjs-function Jce(e) {+function Kce(e) {return e && e.__esModule ? e.default : e;}-function Yce(e, t, n) {+function qce(e, t, n) {let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = _S({usage: "search",sensitivity: "base"- }), { direction: c } = Ay(), l = t.selectionManager.disabledBehavior, u = (0, E.useMemo)(() => r || new qce({+ }), { direction: c } = Ay(), l = t.selectionManager.disabledBehavior, u = (0, E.useMemo)(() => r || new Gce({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -28484,7 +28484,7 @@ function Yce(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 = Iy(Jce(_T), "@react-aria/table"), g = (0, E.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = Iy(Kce(yT), "@react-aria/table"), g = (0, E.useMemo)(() => {let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;}, [@@ -28498,7 +28498,7 @@ function Yce(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs-function Xce(e, t, n) {+function Jce(e, t, n) {let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Ay(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Bw.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, E.useRef)(null), h = (0, E.useRef)(null), g = () => {if (n.current) {let e = bb(n.current);@@ -28513,7 +28513,7 @@ function Xce(e, t, n) {return;}}- let o = t.selectionManager.childFocusStrategy === "last" ? vT(e) : e.firstChild();+ let o = t.selectionManager.childFocusStrategy === "last" ? bT(e) : e.firstChild();if (o) {Nv(o);return;@@ -28545,7 +28545,7 @@ function Xce(e, t, n) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "rtl" ? (Nv(n.current), jb(n.current, { containingElement: Ob(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : vT(a), t && (Nv(t), jb(t, { containingElement: Ob(n.current) })));+ p === "cell" && l === "rtl" ? (Nv(n.current), jb(n.current, { containingElement: Ob(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : bT(a), t && (Nv(t), jb(t, { containingElement: Ob(n.current) })));}break;}@@ -28557,7 +28557,7 @@ function Xce(e, t, n) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "ltr" ? (Nv(n.current), jb(n.current, { containingElement: Ob(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? vT(a) : a.firstChild(), t && (Nv(t), jb(t, { containingElement: Ob(n.current) })));+ p === "cell" && l === "ltr" ? (Nv(n.current), jb(n.current, { containingElement: Ob(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? bT(a) : a.firstChild(), t && (Nv(t), jb(t, { containingElement: Ob(n.current) })));}break;}@@ -28598,7 +28598,7 @@ function Xce(e, t, n) {isPressed: v};}-function vT(e) {+function bT(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);@@ -28607,8 +28607,8 @@ function vT(e) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableCell.mjs-function Zce(e, t, n) {- let { gridCellProps: r, isPressed: i } = Xce(e, t, n), a = e.node.column?.key;+function Yce(e, t, n) {+ let { gridCellProps: r, isPressed: i } = Jce(e, t, n), a = e.node.column?.key;return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Ww(t, e.node.parentKey, a)), {gridCellProps: r,isPressed: i@@ -28616,11 +28616,11 @@ function Zce(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function Qce(e) {+function Xce(e) {return e && e.__esModule ? e.default : e;}-function $ce(e, t, n) {- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = Xce({+function Zce(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = Jce({focusMode: "child",...e}, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Qy({@@ -28631,7 +28631,7 @@ function $ce(e, t, n) {ref: n}), { focusableProps: l } = Jv({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;r.props.allowsSorting && !dv() && (u = d ? f : "none");- let p = Iy(Qce(_T), "@react-aria/table"), m;+ let p = Iy(Xce(yT), "@react-aria/table"), m;i && (m = `${p.format("sortable")}`, d && f && dv() && (m = `${m}, ${p.format(f)}`));let h = Nb(m), g = t.collection.size === 0;return (0, E.useEffect)(() => {@@ -28653,11 +28653,11 @@ function $ce(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableColumnResize.mjs-function ele(e) {+function Qce(e) {return e && e.__esModule ? e.default : e;}-function tle(e, t, n) {- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Iy(ele(_T), "@react-aria/table"), d = Rv(), f = t.resizingColumn === r.key, p = (0, E.useRef)(f), m = (0, E.useRef)(null), h = (0, E.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, E.useState)(!1), { direction: y } = Ay(), b = (0, E.useCallback)((e) => {+function $ce(e, t, n) {+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Iy(Qce(yT), "@react-aria/table"), d = Rv(), f = t.resizingColumn === r.key, p = (0, E.useRef)(f), m = (0, E.useRef)(null), h = (0, E.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, E.useState)(!1), { direction: y } = Ay(), b = (0, E.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, E.useCallback)((e, n) => {let r = t.updateResizedColumns(e.key, n);@@ -28755,13 +28755,13 @@ function tle(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function nle(e, t, n) {+function ele(e, t, n) {let { node: r, isVirtualized: i } = e, a = { role: "row" };return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs-function rle(e, t, n) {+function tle(e, t, n) {let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Bw.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = vC({selectionManager: t.selectionManager,key: r.key,@@ -28783,10 +28783,10 @@ function rle(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRow.mjs-function ile(e) {+function nle(e) {return e && e.__esModule ? e.default : e;}-var ale = {+var rle = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -28796,21 +28796,21 @@ var ale = {rtl: "ArrowRight"}};-function ole(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = rle(e, t, n), { direction: s } = Ay();+function ile(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = tle(e, t, n), { direction: s } = Ay();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 = Iy(ile(_T), "@react-aria/table"), u = wy({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Iy(nle(yT), "@react-aria/table"), u = wy({"aria-label": c ? l.format("collapse") : l.format("expand"),"aria-labelledby": Gw(t, r.key)}), d = {}, f = {};if (t.treeColumn != null) {let e = t.collection.getItem(r.key);if (e != null) {- let n = sle(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = sle(t.collection, a);+ let n = ale(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = ale(t.collection, a);for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);d = {onKeyDown: (n) => {- n.key === ale.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === ale.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));+ n.key === rle.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === rle.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));},"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,"aria-level": e.level + 1,@@ -28838,35 +28838,35 @@ function ole(e, t, n) {...o};}-function sle(e, t) {+function ale(e, t) {return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs-function cle() {+function ole() {return { rowGroupProps: { role: "rowgroup" } };}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs-function lle() {- return cle();+function sle() {+ return ole();}//#endregion//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function ule(e) {+function cle(e) {return e && e.__esModule ? e.default : e;}-function dle(e, t) {+function lle(e, t) {let { key: n } = e, { checkboxProps: r } = wC(e, t);return { checkboxProps: {...r,"aria-labelledby": `${r.id} ${Gw(t, n)}`} };}-function fle(e) {+function ule(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": Iy(ule(_T), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": Iy(cle(yT), "@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,@@ -28875,13 +28875,13 @@ function fle(e) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/utils.mjs-var ple = /* @__PURE__ */ new WeakMap();-function yT(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${ple.get(e)}-${n}-${t}`) : "";+var dle = /* @__PURE__ */ new WeakMap();+function xT(e, t, n) {+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${dle.get(e)}-${n}-${t}`) : "";}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTab.mjs-function mle(e, t, n) {+function fle(e, t, n) {let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = vC({selectionManager: o,key: r,@@ -28889,7 +28889,7 @@ function mle(e, t, n) {isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = yT(t, r, "tab"), m = yT(t, r, "tabpanel"), { tabIndex: h } = d, g = Ry(u?.props, { labelable: !0 });+ }), p = xT(t, r, "tab"), m = xT(t, r, "tabpanel"), { tabIndex: h } = d, g = Ry(u?.props, { labelable: !0 });delete g.id;let _ = mv(u?.props), { focusableProps: v } = Jv({...u?.props,@@ -28911,7 +28911,7 @@ function mle(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var hle = class {+var ple = class {constructor(e, t, n, r = /* @__PURE__ */ new Set()) {this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}@@ -28955,11 +28955,11 @@ var hle = class {};//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs-function gle(e, t, n) {+function mle(e, t, n) {let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Ay(), { collectionProps: l } = sS({ref: n,selectionManager: o,- keyboardDelegate: (0, E.useMemo)(() => new hle(a, c, r, s), [+ keyboardDelegate: (0, E.useMemo)(() => new ple(a, c, r, s), [a,s,r,@@ -28970,7 +28970,7 @@ function gle(e, t, n) {scrollRef: n,linkBehavior: "selection"}), u = Rv();- return ple.set(t, u), { tabListProps: {+ return dle.set(t, u), { tabListProps: {...K(l, wy({...e,id: u@@ -28982,12 +28982,12 @@ function gle(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function _le(e, t, n) {- let r = hC(n) ? void 0 : 0, i = yT(t, e.id ?? t?.selectedKey, "tabpanel");+function hle(e, t, n) {+ let r = hC(n) ? void 0 : 0, i = xT(t, e.id ?? t?.selectedKey, "tabpanel");return { tabPanelProps: K(wy({...e,id: i,- "aria-labelledby": yT(t, t?.selectedKey, "tab")+ "aria-labelledby": xT(t, t?.selectedKey, "tab")}), {tabIndex: r,role: "tabpanel",@@ -28997,294 +28997,294 @@ function _le(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tree/useTree.mjs-function vle(e, t, n) {+function gle(e, t, n) {let { gridProps: r } = Yse(e, t, n);return r.role = "treegrid", { gridProps: r };}//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs-var yle = {};-yle = {+var _le = {};+_le = {collapse: "طي",expand: "تمديد"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs-var ble = {};-ble = {+var vle = {};+vle = {collapse: "Свиване",expand: "Разширяване"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs-var xle = {};-xle = {+var yle = {};+yle = {collapse: "Sbalit",expand: "Roztáhnout"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/da-DK.mjs-var Sle = {};-Sle = {+var ble = {};+ble = {collapse: "Skjul",expand: "Udvid"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/de-DE.mjs-var Cle = {};-Cle = {+var xle = {};+xle = {collapse: "Reduzieren",expand: "Erweitern"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/el-GR.mjs-var wle = {};-wle = {+var Sle = {};+Sle = {collapse: "Σύμπτυξη",expand: "Ανάπτυξη"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/en-US.mjs-var Tle = {};-Tle = {+var Cle = {};+Cle = {expand: "Expand",collapse: "Collapse"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/es-ES.mjs-var Ele = {};-Ele = {+var wle = {};+wle = {collapse: "Contraer",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/et-EE.mjs-var Dle = {};-Dle = {+var Tle = {};+Tle = {collapse: "Ahenda",expand: "Laienda"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs-var Ole = {};-Ole = {+var Ele = {};+Ele = {collapse: "Pienennä",expand: "Laajenna"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs-var kle = {};-kle = {+var Dle = {};+Dle = {collapse: "Réduire",expand: "Développer"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/he-IL.mjs-var Ale = {};-Ale = {+var Ole = {};+Ole = {collapse: "כווץ",expand: "הרחב"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs-var jle = {};-jle = {+var kle = {};+kle = {collapse: "Sažmi",expand: "Proširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs-var Mle = {};-Mle = {+var Ale = {};+Ale = {collapse: "Összecsukás",expand: "Kibontás"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/it-IT.mjs-var Nle = {};-Nle = {+var jle = {};+jle = {collapse: "Comprimi",expand: "Espandi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs-var Ple = {};-Ple = {+var Mle = {};+Mle = {collapse: "折りたたむ",expand: "展開"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs-var Fle = {};-Fle = {+var Nle = {};+Nle = {collapse: "접기",expand: "펼치기"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs-var Ile = {};-Ile = {+var Ple = {};+Ple = {collapse: "Sutraukti",expand: "Išskleisti"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs-var Lle = {};-Lle = {+var Fle = {};+Fle = {collapse: "Sakļaut",expand: "Izvērst"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs-var Rle = {};-Rle = {+var Ile = {};+Ile = {collapse: "Skjul",expand: "Utvid"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs-var zle = {};-zle = {+var Lle = {};+Lle = {collapse: "Samenvouwen",expand: "Uitvouwen"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs-var Ble = {};-Ble = {+var Rle = {};+Rle = {collapse: "Zwiń",expand: "Rozwiń"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs-var Vle = {};-Vle = {+var zle = {};+zle = {collapse: "Recolher",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs-var Hle = {};-Hle = {+var Ble = {};+Ble = {collapse: "Colapsar",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs-var Ule = {};-Ule = {+var Vle = {};+Vle = {collapse: "Restrângeți",expand: "Extindeți"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs-var Wle = {};-Wle = {+var Hle = {};+Hle = {collapse: "Свернуть",expand: "Развернуть"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs-var Gle = {};-Gle = {+var Ule = {};+Ule = {collapse: "Zbaliť",expand: "Rozbaliť"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs-var Kle = {};-Kle = {+var Wle = {};+Wle = {collapse: "Strni",expand: "Razširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs-var qle = {};-qle = {+var Gle = {};+Gle = {collapse: " Skupi",expand: "Proširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs-var Jle = {};-Jle = {+var Kle = {};+Kle = {collapse: "Dölj",expand: "Expandera"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs-var Yle = {};-Yle = {+var qle = {};+qle = {collapse: "Daralt",expand: "Genişlet"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs-var Xle = {};-Xle = {+var Jle = {};+Jle = {collapse: "Згорнути",expand: "Розгорнути"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs-var Zle = {};-Zle = {+var Yle = {};+Yle = {collapse: "折叠",expand: "扩展"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs-var Qle = {};-Qle = {+var Xle = {};+Xle = {collapse: "收合",expand: "展開"};//#endregion//#region node_modules/react-aria/dist/private/tree/intlStrings.mjs-var $le = {};-$le = {- "ar-AE": yle,- "bg-BG": ble,- "cs-CZ": xle,- "da-DK": Sle,- "de-DE": Cle,- "el-GR": wle,- "en-US": Tle,- "es-ES": Ele,- "et-EE": Dle,- "fi-FI": Ole,- "fr-FR": kle,- "he-IL": Ale,- "hr-HR": jle,- "hu-HU": Mle,- "it-IT": Nle,- "ja-JP": Ple,- "ko-KR": Fle,- "lt-LT": Ile,- "lv-LV": Lle,- "nb-NO": Rle,- "nl-NL": zle,- "pl-PL": Ble,- "pt-BR": Vle,- "pt-PT": Hle,- "ro-RO": Ule,- "ru-RU": Wle,- "sk-SK": Gle,- "sl-SI": Kle,- "sr-SP": qle,- "sv-SE": Jle,- "tr-TR": Yle,- "uk-UA": Xle,- "zh-CN": Zle,- "zh-TW": Qle+var Zle = {};+Zle = {+ "ar-AE": _le,+ "bg-BG": vle,+ "cs-CZ": yle,+ "da-DK": ble,+ "de-DE": xle,+ "el-GR": Sle,+ "en-US": Cle,+ "es-ES": wle,+ "et-EE": Tle,+ "fi-FI": Ele,+ "fr-FR": Dle,+ "he-IL": Ole,+ "hr-HR": kle,+ "hu-HU": Ale,+ "it-IT": jle,+ "ja-JP": Mle,+ "ko-KR": Nle,+ "lt-LT": Ple,+ "lv-LV": Fle,+ "nb-NO": Ile,+ "nl-NL": Lle,+ "pl-PL": Rle,+ "pt-BR": zle,+ "pt-PT": Ble,+ "ro-RO": Vle,+ "ru-RU": Hle,+ "sk-SK": Ule,+ "sl-SI": Wle,+ "sr-SP": Gle,+ "sv-SE": Kle,+ "tr-TR": qle,+ "uk-UA": Jle,+ "zh-CN": Yle,+ "zh-TW": Xle};//#endregion//#region node_modules/react-aria/dist/private/tree/useTreeItem.mjs-function eue(e) {+function Qle(e) {return e && e.__esModule ? e.default : e;}-function tue(e, t, n) {- let { node: r } = e, i = Xse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Iy(eue($le), "@react-aria/tree"), s = {+function $le(e, t, n) {+ let { node: r } = e, i = Xse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Iy(Qle(Zle), "@react-aria/tree"), s = {onPress: () => {i.isDisabled || (t.toggleKey(r.key), t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r.key));},@@ -29303,15 +29303,15 @@ function tue(e, t, n) {}//#endregion//#region src/react/components/selection-dock.tsx-var nue = "(prefers-reduced-motion: reduce)", rue = () => matchMedia(nue).matches, iue = (e) => {- let t = matchMedia(nue);+var eue = "(prefers-reduced-motion: reduce)", tue = () => matchMedia(eue).matches, nue = (e) => {+ let t = matchMedia(eue);return t.addEventListener("change", e), () => t.removeEventListener("change", e);-}, bT = /* @__PURE__ */ new Map(), aue = () => {+}, ST = /* @__PURE__ */ new Map(), rue = () => {let e = document.documentElement;- bT.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...bT.values())}px`) : e.style.removeProperty("--selection-dock-space");+ ST.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...ST.values())}px`) : e.style.removeProperty("--selection-dock-space");};-function oue({ children: e, count: t, label: n }) {- let r = (0, E.useRef)(null), i = o_(), a = (0, E.useSyncExternalStore)(iue, rue, () => !1), { isFocusVisible: o } = kv(), s = a || o, c = {+function iue({ children: e, count: t, label: n }) {+ let r = (0, E.useRef)(null), i = o_(), a = (0, E.useSyncExternalStore)(nue, tue, () => !1), { isFocusVisible: o } = kv(), s = a || o, c = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -29319,10 +29319,10 @@ function oue({ children: e, count: t, label: n }) {let e = r.current;if (!e || !i) return;let t = () => {- bT.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), aue();+ ST.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), rue();}, n = new ResizeObserver(t);return n.observe(e), window.addEventListener("resize", t), t(), () => {- n.disconnect(), window.removeEventListener("resize", t), bT.delete(e), aue();+ n.disconnect(), window.removeEventListener("resize", t), ST.delete(e), rue();};}, [i]), /* @__PURE__ */ (0, D.jsxs)(N_.div, {ref: r,@@ -29357,18 +29357,18 @@ function oue({ children: e, count: t, label: n }) {}), e]});}-function xT({ visible: e, ...t }) {- return /* @__PURE__ */ (0, D.jsx)(l_, { children: e ? /* @__PURE__ */ (0, D.jsx)(oue, { ...t }, "selection") : null });+function CT({ visible: e, ...t }) {+ return /* @__PURE__ */ (0, D.jsx)(l_, { children: e ? /* @__PURE__ */ (0, D.jsx)(iue, { ...t }, "selection") : null });}//#endregion//#region src/react/batch-dock/batch-dock-api.ts-var ST = {+var wT = {group: "clear",operation: "clear",label: "取消",glyph: "x"};-function sue(e, t = !1) {+function aue(e, t = !1) {switch (e) {case "trash": return [{@@ -29384,7 +29384,7 @@ function sue(e, t = !1) {glyph: "trash",danger: !0},- ST+ wT];case "junk": return [t ? {@@ -29405,7 +29405,7 @@ function sue(e, t = !1) {glyph: "trash",danger: !0},- ST+ wT];case "follow": return [{@@ -29426,7 +29426,7 @@ function sue(e, t = !1) {label: "忽略",glyph: "eye-off"},- ST+ wT];default: return [{@@ -29460,48 +29460,48 @@ function sue(e, t = !1) {glyph: "trash",danger: !0},- ST+ wT];}}//#endregion//#region src/react/batch-dock/batch-dock-island.tsx-var CT = null, cue = {+var TT = null, oue = {count: 0,context: "catalog",junkDismissed: !1-}, wT = /* @__PURE__ */ new Set();-function lue(e) {- return wT.add(e), () => {- wT.delete(e);+}, ET = /* @__PURE__ */ new Set();+function sue(e) {+ return ET.add(e), () => {+ ET.delete(e);};}-function uue() {- for (let e of [...wT]) e();+function cue() {+ for (let e of [...ET]) e();}-var due = { render(e) {- cue = e, (0, bt.flushSync)(uue);+var lue = { render(e) {+ oue = e, (0, bt.flushSync)(cue);} };-function fue(e) {- return CT = e, due;+function uue(e) {+ return TT = e, lue;}-function pue() {- let e = (0, E.useSyncExternalStore)(lue, () => cue);- return CT ? /* @__PURE__ */ (0, D.jsx)(mue, {- host: CT,+function due() {+ let e = (0, E.useSyncExternalStore)(sue, () => oue);+ return TT ? /* @__PURE__ */ (0, D.jsx)(fue, {+ host: TT,props: e}) : null;}-function mue({ host: e, props: t }) {+function fue({ host: e, props: t }) {return /* @__PURE__ */ (0, D.jsx)("div", {className: "peach-react","data-batch-scope": "","data-context": t.context,- children: /* @__PURE__ */ (0, D.jsx)(xT, {+ children: /* @__PURE__ */ (0, D.jsx)(CT, {label: "所选项目操作",visible: t.count > 0,count: `已选 ${t.count.toLocaleString()} 项`,- children: sue(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, D.jsxs)("button", {+ children: aue(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-batch-group": t.group,"data-batch-action": t.operation,@@ -29518,12 +29518,12 @@ function mue({ host: e, props: t }) {}//#endregion//#region src/number-setting.ts-function TT(e, t, n, r) {+function DT(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}//#endregion//#region src/settings-store.ts-function hue(e, t) {+function pue(e, t) {let n = /* @__PURE__ */ new Set(), r = 0, i = () => {r += 1, n.forEach((e) => e());};@@ -29543,7 +29543,7 @@ function hue(e, t) {}//#endregion//#region src/sort-preferences.ts-var gue = [+var mue = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -29552,7 +29552,7 @@ var gue = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], ET = ["release", "发行时间"], _ue = [...gue, ET].map(([e]) => e), DT = {+], OT = ["release", "发行时间"], hue = [...mue, OT].map(([e]) => e), kT = {rating: ["从高到低", "从低到高"],o: ["从多到少", "从少到多"],plays: ["从多到少", "从少到多"],@@ -29561,28 +29561,28 @@ var gue = [new: ["从新到旧", "从旧到新"],played: ["从近到远", "从远到近"],release: ["从新到旧", "从旧到新"]-}, vue = {+}, gue = {big: ["size", "desc"],short: ["dur", "asc"],long: ["dur", "desc"]-}, yue = (e, t, n = DT) => (n[e] || [])[+(t === "asc")] || "", OT = (e, t = DT) => t[e] ? "desc" : "";-function kT(e, t, n, r = DT) {+}, _ue = (e, t, n = kT) => (n[e] || [])[+(t === "asc")] || "", AT = (e, t = kT) => t[e] ? "desc" : "";+function jT(e, t, n, r = kT) {return e === t ? r[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {sort: e,- dir: OT(e, r)+ dir: AT(e, r)};}-function AT(e, t, n) {+function MT(e, t, n) {return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";}-function jT(e, t, n, r, i = n) {- let a = e ? vue[e] : void 0, o = a ? a[0] : e, s = o && _ue.includes(o) ? o : i;- return DT[s] ? {+function NT(e, t, n, r, i = n) {+ let a = e ? gue[e] : void 0, o = a ? a[0] : e, s = o && hue.includes(o) ? o : i;+ return kT[s] ? {sort: s,- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : AT(s, n, r)+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : MT(s, n, r)} : {sort: s,dir: ""@@ -29590,15 +29590,15 @@ function jT(e, t, n, r, i = n) {}//#endregion//#region src/appearance/home-glow.ts-var MT = [+var PT = ["spot1","spot2","spot3"-], bue = [+], vue = ["光晕一","光晕二","光晕三"-], xue = "native", NT = [+], yue = "native", FT = [["ash","灰雾",@@ -29904,7 +29904,7 @@ var MT = ["rose"],[- xue,+ yue,"玻璃原色",{spot1: {@@ -29922,7 +29922,7 @@ var MT = [},"blue"]-], PT = (e) => e === xue, FT = [...NT.map(([e, t]) => [e, t]), ["custom", "自定义"]], Sue = (e) => (FT.find(([t]) => t === e) || FT[0])[1], IT = (e) => structuredClone((NT.find(([t]) => t === e) || NT[0])[2]), Cue = [+], IT = (e) => e === yue, LT = [...FT.map(([e, t]) => [e, t]), ["custom", "自定义"]], bue = (e) => (LT.find(([t]) => t === e) || LT[0])[1], RT = (e) => structuredClone((FT.find(([t]) => t === e) || FT[0])[2]), xue = [["red", "红"],["orange", "橙"],["amber", "琥珀"],@@ -29935,7 +29935,7 @@ var MT = [["violet", "紫罗兰"],["fuchsia", "品红"],["rose", "玫红"]-], LT = "blue", wue = (e) => Cue.some(([t]) => t === e) ? e : LT, Tue = (e) => (NT.find(([t]) => t === e) || [])[3] || "blue", Eue = [+], zT = "blue", Sue = (e) => xue.some(([t]) => t === e) ? e : zT, Cue = (e) => (FT.find(([t]) => t === e) || [])[3] || "blue", wue = [["all", "全部"],["gray", "灰"],["red", "红"],@@ -29945,7 +29945,7 @@ var MT = [["blue", "蓝"],["purple", "紫"],["brown", "棕"]-], Due = [+], Tue = [["gray","云灰",@@ -30341,11 +30341,11 @@ var MT = ["霁蓝","#6686b8"]-], Oue = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, kue = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Aue = (e, t) => `rgba(${[+], Eue = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Due = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Oue = (e, t) => `rgba(${[1,3,5-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, jue = {+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, kue = {strength: [0,100,@@ -30371,7 +30371,7 @@ var MT = [100,50]-}, Mue = {+}, Aue = {on: !0,preset: "ash",strength: 100,@@ -30379,57 +30379,57 @@ var MT = [speed: 100,soften: 50,size: 50,- ...IT("ash")+ ...RT("ash")};-function Nue(e) {- let t = e && typeof e == "object" ? e : {}, n = FT.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = IT(r === "custom" ? "ash" : r), a = {+function jue(e) {+ let t = e && typeof e == "object" ? e : {}, n = LT.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = RT(r === "custom" ? "ash" : r), a = {on: t.on !== !1,preset: r};- for (let [e, [n, r, i]] of Object.entries(jue)) a[e] = Oue(+t[e], n, r, i);- for (let e of MT) {+ for (let [e, [n, r, i]] of Object.entries(kue)) a[e] = Eue(+t[e], n, r, i);+ for (let e of PT) {let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];a[e] = {- color: kue(r.color, o.color),- alpha: Oue(+r.alpha, 0, 100, o.alpha)+ color: Due(r.color, o.color),+ alpha: Eue(+r.alpha, 0, 100, o.alpha)};}return a;}-var Pue = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, Fue = /* @__PURE__ */ new WeakMap();-function Iue(e, t) {+var Mue = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, Nue = /* @__PURE__ */ new WeakMap();+function Pue(e, t) {if (!e) return;- let n = Fue.get(e);- n || (n = /* @__PURE__ */ new Map(), Fue.set(e, n));- let r = t.on && !PT(t.preset), i = (t, r) => {+ let n = Nue.get(e);+ n || (n = /* @__PURE__ */ new Map(), Nue.set(e, n));+ let r = t.on && !IT(t.preset), i = (t, r) => {n.get(t) !== r && (n.set(t, r), e.style.setProperty(t, r));};- i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), MT.forEach((e, n) => {+ i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), PT.forEach((e, n) => {let r = t[e];- i(`--glow-spot-${n + 1}-color`, Aue(r.color, r.alpha));+ i(`--glow-spot-${n + 1}-color`, Oue(r.color, r.alpha));});}-function Lue(e, t) {+function Fue(e, t) {if (!e) return;- let n = !t.on || PT(t.preset);+ let n = !t.on || IT(t.preset);e.toggleAttribute("data-glow-native", n), e.style.setProperty("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), e.style.setProperty("--glow-drift-play", t.speed ? "running" : "paused"), n ? (e.style.removeProperty("--glass-tint-a"), e.style.removeProperty("--glass-tint-b")) : (e.style.setProperty("--glass-tint-a", t.spot1.color), e.style.setProperty("--glass-tint-b", t.spot2.color));}//#endregion//#region src/appearance/settings.ts-var Rue = "peach.settings.v1", zue = [+var Iue = "peach.settings.v1", Lue = ["system","light","dark"-], Bue = [+], Rue = [0,7,30,90-], Vue = [+], zue = ["feedHideGroupCompilations","feedHideSoloCompilations","feedHideExcerpts"-], Hue = {+], Bue = {batchSize: 60,defaultSort: "seed",sortDefaultsVersion: 3,@@ -30449,46 +30449,46 @@ var Rue = "peach.settings.v1", zue = [theme: "system",groupCollapse: !0,sidebarOrder: [...Nc],- homeGlow: Mue,- accent: LT-}, RT = (e, t, n) => t.includes(e) ? e : n;-function Uue(e) {+ homeGlow: Aue,+ accent: zT+}, BT = (e, t, n) => t.includes(e) ? e : n;+function Vue(e) {let t = e && typeof e == "object" ? e : {}, n = {- ...Hue,+ ...Bue,...t};- n.followInitialDays = Bue.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;+ n.followInitialDays = Rue.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;let r = !1, i = +n.sortDefaultsVersion || 0;i < 2 && n.defaultSort === "new" && (n.defaultSort = "seed", r = !0);- let a = vue[n.defaultSort];- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = TT(+n.batchSize, 1, 200, 60), n.defaultSort = RT(n.defaultSort, _ue, "seed"), n.hoverDelaySeconds = TT(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = TT(+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 = TT(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = TT(+n.relatedLimit, 0, 60, 20), Object.assign(n, ca(n)), n.theme = RT(n.theme, zue, "system"), n.homeGlow = Nue(n.homeGlow), n.accent = wue(n.accent), n.sidebarOrder = vee(n.sidebarOrder), {+ let a = gue[n.defaultSort];+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = DT(+n.batchSize, 1, 200, 60), n.defaultSort = BT(n.defaultSort, hue, "seed"), n.hoverDelaySeconds = DT(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = DT(+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 = DT(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = DT(+n.relatedLimit, 0, 60, 20), Object.assign(n, ca(n)), n.theme = BT(n.theme, Lue, "system"), n.homeGlow = jue(n.homeGlow), n.accent = Sue(n.accent), n.sidebarOrder = vee(n.sidebarOrder), {settings: n,migrated: r};}-function Wue(e) {+function Hue(e) {let t = {};try {t = JSON.parse(e.getItem("peach.settings.v1") || "{}");} catch {}- return Uue(t);+ return Vue(t);}-var zT = null;-function BT() {- if (zT) return zT;- let { settings: e, migrated: t } = Wue(localStorage);- return zT = hue(Rue, e), t && zT.save(), zT;+var VT = null;+function HT() {+ if (VT) return VT;+ let { settings: e, migrated: t } = Hue(localStorage);+ return VT = pue(Iue, e), t && VT.save(), VT;}-function Gue(e, t, n = BT()) {+function Uue(e, t, n = HT()) {let r = n.value, i = e && e.followInitialDays;- Bue.includes(i) && (r.followInitialDays = i, n.save());- for (let t of Vue) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());+ Rue.includes(i) && (r.followInitialDays = i, n.save());+ for (let t of zue) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());let a = e && e.searchHistoryLimit;- Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = TT(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== Hue.searchHistoryLimit && Kue(n);+ Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = DT(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== Bue.searchHistoryLimit && Wue(n);let o = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;o && o.length && o.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = o, n.save());}-function Kue(e = BT()) {+function Wue(e = HT()) {return Vt("/api/settings", {method: "POST",body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })@@ -30496,7 +30496,7 @@ function Kue(e = BT()) {}//#endregion//#region src/appearance/theme.ts-var que = [+var Gue = [["system","跟随系统",@@ -30512,32 +30512,32 @@ var que = ["深色","moon"]-], Jue = null, Yue = () => Jue ??= matchMedia("(prefers-color-scheme: dark)"), VT = null;-function Xue() {- return VT || (VT = document.createElement("style"), VT.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), VT.isConnected || document.head.append(VT), () => {+], Kue = null, que = () => Kue ??= matchMedia("(prefers-color-scheme: dark)"), UT = null;+function Jue() {+ return UT || (UT = document.createElement("style"), UT.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), UT.isConnected || document.head.append(UT), () => {getComputedStyle(document.documentElement).opacity;let e = () => {- cancelAnimationFrame(t), clearTimeout(n), VT?.remove();+ cancelAnimationFrame(t), clearTimeout(n), UT?.remove();}, t = requestAnimationFrame(e), n = setTimeout(e, 100);};}-function HT(e = BT().value.theme) {- let t = Xue(), n = document.documentElement;+function WT(e = HT().value.theme) {+ let t = Jue(), n = document.documentElement;e === "system" ? delete n.dataset.theme : n.dataset.theme = e;- let r = e === "dark" || e === "system" && Yue().matches;+ let r = e === "dark" || e === "system" && que().matches;n.classList.toggle("dark", r), document.querySelectorAll("[data-board-theme]").forEach((e) => e.setAttribute("aria-pressed", String(e.dataset.boardTheme === "dark" === r))), document.querySelector(".board-theme-toggle")?.classList.toggle("is-dark", r), document.querySelectorAll("meta[data-theme-color]").forEach((e) => {e.media = e.dataset.themeColor === "dark" === r ? "all" : "not all";}), t();}-var Zue = !1;-function Que() {- Zue || (Zue = !0, Yue().addEventListener("change", () => {- BT().value.theme === "system" && HT();+var Yue = !1;+function Xue() {+ Yue || (Yue = !0, que().addEventListener("change", () => {+ HT().value.theme === "system" && WT();}));}//#endregion//#region src/appearance/layout.ts-var UT = [[+var GT = [["big","大图","maximize"@@ -30545,7 +30545,7 @@ var UT = [["small","小图","layout-grid"-]], $ue = [[+]], Zue = [["big","大图","maximize"@@ -30553,7 +30553,7 @@ var UT = [["small","小图","layout-grid"-]], ede = [[+]], Que = [["fixed","固定比例","layout-grid"@@ -30561,121 +30561,121 @@ var UT = [["masonry","瀑布流","columns-2"-]], WT = .75, GT = () => BT().value, KT = (e = GT()) => sa(e.javLayout), tde = (e = GT()) => sa(e.homeLayout), nde = (e, t = GT()) => e ? tde(t) : KT(t), rde = $ue.map(([e]) => e), ide = ede.map(([e]) => e), qT = (e = GT()) => RT(e.photoSize, rde, "small"), JT = (e = GT()) => RT(e.photoLayout, ide, "masonry"), YT = null;-function XT(e, t = GT()) {+]], KT = .75, qT = () => HT().value, JT = (e = qT()) => sa(e.javLayout), $ue = (e = qT()) => sa(e.homeLayout), ede = (e, t = qT()) => e ? $ue(t) : JT(t), tde = Zue.map(([e]) => e), nde = Que.map(([e]) => e), YT = (e = qT()) => BT(e.photoSize, tde, "small"), XT = (e = qT()) => BT(e.photoLayout, nde, "masonry"), ZT = null;+function QT(e, t = qT()) {let n = {active: e.active,- size: nde(e.home, t),+ size: ede(e.home, t),portrait: e.portrait,javImage: t.javImage- }, r = YT;- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (YT = n), YT;+ }, r = ZT;+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (ZT = n), ZT;}-function ZT(e) {- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? WT : 16 / 9;+function $T(e) {+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? KT : 16 / 9;}-function ade(e, t = BT()) {+function rde(e, t = HT()) {t.value.homeLayout = sa(e), t.save();}-function ode(e, t = BT()) {+function ide(e, t = HT()) {t.value.javLayout = sa(e), t.save();}-function sde(e, t = BT()) {+function ade(e, t = HT()) {t.value.homeLayout = t.value.javLayout = sa(e), t.save();}-function cde(e, t = BT()) {- t.value.photoSize = RT(e, rde, "small"), t.save();+function ode(e, t = HT()) {+ t.value.photoSize = BT(e, tde, "small"), t.save();}-function lde(e, t = BT()) {- t.value.photoLayout = RT(e, ide, "masonry"), t.save();+function sde(e, t = HT()) {+ t.value.photoLayout = BT(e, nde, "masonry"), t.save();}//#endregion//#region src/appearance/density.ts-var ude = "density", dde = {+var cde = "density", lde = {big: "336px",dense: "168px"-}, fde = () => localStorage.getItem(ude) === "dense" ? "dense" : "big";-function pde(e, t) {- let [n, r] = $ue;+}, ude = () => localStorage.getItem(cde) === "dense" ? "dense" : "big";+function dde(e, t) {+ let [n, r] = Zue;e.querySelector("[data-icon-swap]") ? Uo(e, t === r[0] ? "b" : "a") : e.innerHTML = Ho(n[2], r[2], t === r[0] ? "b" : "a"), e.setAttribute("aria-label", t === "big" ? "切换为小图" : "切换为大图");}-var mde = () => document.querySelector("#density");-function QT(e = fde()) {- document.documentElement.style.setProperty("--tile", dde[e]), document.body.dataset.density = e;- let t = mde();- t && (t.setAttribute("aria-pressed", String(e === "dense")), t.title = "当前:" + (e === "big" ? "大图" : "密集"), pde(t, e === "big" ? "big" : "small"));+var fde = () => document.querySelector("#density");+function eE(e = ude()) {+ document.documentElement.style.setProperty("--tile", lde[e]), document.body.dataset.density = e;+ let t = fde();+ t && (t.setAttribute("aria-pressed", String(e === "dense")), t.title = "当前:" + (e === "big" ? "大图" : "密集"), dde(t, e === "big" ? "big" : "small"));}-function hde() {- let e = fde() === "big" ? "dense" : "big";- localStorage.setItem(ude, e), QT(e);+function pde() {+ let e = ude() === "big" ? "dense" : "big";+ localStorage.setItem(cde, e), eE(e);}-function gde(e) {- let t = mde();- t && (t.setAttribute("aria-pressed", String(e === "small")), t.title = "当前:" + (e === "big" ? "大图" : "小图"), pde(t, e));+function mde(e) {+ let t = fde();+ t && (t.setAttribute("aria-pressed", String(e === "small")), t.title = "当前:" + (e === "big" ? "大图" : "小图"), dde(t, e));}//#endregion//#region src/appearance/glow.ts-function _de(e = BT()) {- Iue(document.querySelector(".glowlayer"), e.value.homeGlow);+function hde(e = HT()) {+ Pue(document.querySelector(".glowlayer"), e.value.homeGlow);}-var vde = 0;-function $T(e = BT()) {- vde ||= requestAnimationFrame(() => {- vde = 0, _de(e);+var gde = 0;+function tE(e = HT()) {+ gde ||= requestAnimationFrame(() => {+ gde = 0, hde(e);});}-function eE(e = BT()) {- Lue(document.documentElement, e.value.homeGlow);+function nE(e = HT()) {+ Fue(document.documentElement, e.value.homeGlow);}-function tE(e = BT()) {+function rE(e = HT()) {document.documentElement.dataset.accent = e.value.accent;}-var yde = (e, t, n) => ({+var _de = (e, t, n) => ({key: e,label: t,- native: PT(e),- fill: PT(e) ? "" : Pue(n)+ native: IT(e),+ fill: IT(e) ? "" : Mue(n)});-function bde(e) {- let t = NT.map(([e, t, n]) => yde(e, t, MT.map((e) => n[e].color)));- return e.preset === "custom" && t.push(yde("custom", "自定义", MT.map((t) => e[t].color))), t;+function vde(e) {+ let t = FT.map(([e, t, n]) => _de(e, t, PT.map((e) => n[e].color)));+ return e.preset === "custom" && t.push(_de("custom", "自定义", PT.map((t) => e[t].color))), t;}-var xde = Cue;-function Sde(e, t = BT()) {+var yde = xue;+function bde(e, t = HT()) {if (e === "custom") return;let n = t.value.homeGlow;- n.preset = e, Object.assign(n, IT(e)), t.value.accent = Tue(e), t.save(), $T(t), eE(t), tE(t);+ n.preset = e, Object.assign(n, RT(e)), t.value.accent = Cue(e), t.save(), tE(t), nE(t), rE(t);}-function Cde(e, t = BT()) {- t.value.accent = wue(e), t.save(), tE(t);+function xde(e, t = HT()) {+ t.value.accent = Sue(e), t.save(), rE(t);}-function wde(e = BT()) {+function Sde(e = HT()) {let t = e.value.homeGlow;- t.preset = Mue.preset, Object.assign(t, IT(t.preset)), e.value.accent = LT, e.save(), $T(e), eE(e), tE(e);+ t.preset = Aue.preset, Object.assign(t, RT(t.preset)), e.value.accent = zT, e.save(), tE(e), nE(e), rE(e);}-function Tde(e, t) {- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && PT(t.preset)), e.toggleAttribute("data-glow-off", !t.on);+function Cde(e, t) {+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && IT(t.preset)), e.toggleAttribute("data-glow-off", !t.on);}-function Ede(e, t = BT()) {- return Tde(e, t.value.homeGlow), t.subscribe(() => Tde(e, t.value.homeGlow));+function wde(e, t = HT()) {+ return Cde(e, t.value.homeGlow), t.subscribe(() => Cde(e, t.value.homeGlow));}//#endregion//#region src/react/components/glow-preset-grid.tsx-function Dde({ store: e, label: t, hidden: n }) {+function Tde({ store: e, label: t, hidden: n }) {let r = e.value.homeGlow;return /* @__PURE__ */ (0, D.jsx)("div", {"data-glow-grid": "",role: "group","aria-label": t,hidden: n,- children: bde(r).map((t) => /* @__PURE__ */ (0, D.jsx)("button", {+ children: vde(r).map((t) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-glow-chip": "","data-glow-preset": t.key,"aria-pressed": t.key === r.preset,title: t.label,"aria-label": t.label,- onClick: () => Sde(t.key, e),+ onClick: () => bde(t.key, e),children: /* @__PURE__ */ (0, D.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30687,14 +30687,14 @@ function Dde({ store: e, label: t, hidden: n }) {}//#endregion//#region src/react/glow-picker/glow-picker-island.tsx-var nE = null;-function Ode(e) {- nE = e;+var iE = null;+function Ede(e) {+ iE = e;}-function kde() {- return nE ? /* @__PURE__ */ (0, D.jsx)(Ade, { host: nE }) : null;+function Dde() {+ return iE ? /* @__PURE__ */ (0, D.jsx)(Ode, { host: iE }) : null;}-function Ade({ host: e }) {+function Ode({ host: e }) {let { store: t } = e;(0, E.useSyncExternalStore)(t.subscribe, t.version);let { homeGlow: n, accent: r } = t.value;@@ -30706,11 +30706,11 @@ function Ade({ host: e }) {children: [/* @__PURE__ */ (0, D.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-glow-preset-reset": "",- onClick: () => wde(t),+ onClick: () => Sde(t),children: "重置"})]}),- /* @__PURE__ */ (0, D.jsx)(Dde, {+ /* @__PURE__ */ (0, D.jsx)(Tde, {store: t,label: "光晕",hidden: !n.on@@ -30724,14 +30724,14 @@ function Ade({ host: e }) {"data-accent-grid": "",role: "group","aria-label": "强调色",- children: xde.map(([e, n]) => /* @__PURE__ */ (0, D.jsx)("button", {+ children: yde.map(([e, n]) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-glow-chip": "","data-accent": e,"aria-pressed": e === r,title: n,"aria-label": n,- onClick: () => Cde(e, t),+ onClick: () => xde(e, t),children: /* @__PURE__ */ (0, D.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30750,32 +30750,32 @@ function Ade({ host: e }) {}//#endregion//#region src/player/host.ts-var rE = null;-function jde(e) {- rE = e;+var aE = null;+function kde(e) {+ aE = e;}-function iE() {- if (!rE) throw Error("播放器还没有接上宿主(configurePlayer)");- return rE;+function oE() {+ if (!aE) throw Error("播放器还没有接上宿主(configurePlayer)");+ return aE;}//#endregion//#region src/player/menu.ts-var aE = null;-function Mde(e) {- aE = e;+var sE = null;+function Ade(e) {+ sE = e;}-function Nde() {+function jde() {let e = document.getElementById("playerMenu");return e || (e = document.createElement("div"), e.className = "popmenu", e.setAttribute("data-player-context-menu", ""), e.id = "playerMenu", e.setAttribute("role", "menu"), e.setAttribute("aria-label", "播放器菜单"), e.hidden = !0, document.body.append(e)), e;}-var oE = null, Pde = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;-function sE() {+var cE = null, Mde = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;+function lE() {let e = document.getElementById("playerMenu");e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && co(e, () => {e.innerHTML = "";- }), oE &&= (oE(), null);+ }), cE &&= (cE(), null);}-async function Fde(e) {+async function Nde(e) {try {return await navigator.clipboard.writeText(e), !0;} catch {@@ -30788,8 +30788,8 @@ async function Fde(e) {return t.remove(), n;}}-function Ide(e) {- let t = !!aE?.inMiniplayer(e), n = e.peachItem, r = aE?.kind(e) ?? "item", i = (t) => {+function Pde(e) {+ let t = !!sE?.inMiniplayer(e), n = e.peachItem, r = sE?.kind(e) ?? "item", i = (t) => {let i = new URL(r === "follow" ? `/posts/${n?.id}` : `/assets/${n?.id}`, location.origin);if (r !== "follow" && location.pathname === i.pathname) {let e = new URLSearchParams(location.search);@@ -30805,7 +30805,7 @@ function Ide(e) {}return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;}, a = (e, t) => {- Fde(i(e)).then((e) => iE().toast(e ? t : "复制失败,请手动复制地址栏", {+ Nde(i(e)).then((e) => oE().toast(e ? t : "复制失败,请手动复制地址栏", {timeout: 4e3,warn: !e}));@@ -30817,11 +30817,11 @@ function Ide(e) {}, t ? {icon: "maximize-2",label: "展开",- run: () => aE?.expand()+ run: () => sE?.expand()} : {icon: "picture-in-picture-2",label: "迷你播放器",- run: () => aE?.toMiniplayer()+ run: () => sE?.toMiniplayer()}];document.pictureInPictureEnabled && o.push({icon: "player-pip",@@ -30844,29 +30844,29 @@ function Ide(e) {run: () => s.click()}), o;}-function Lde(e, t, n) {- let r = Nde();- sE();- let i = iE().stage();+function Fde(e, t, n) {+ let r = jde();+ lE();+ let i = oE().stage();i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");- let a = Ide(e);+ let a = Pde(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}">${Pde(z(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${B(e.label)}</span>${n ? Pde(z("check"), "data-player-menu-check") : ""}</button>`;+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${Mde(z(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${B(e.label)}</span>${n ? Mde(z("check"), "data-player-menu-check") : ""}</button>`;}).join(""), so(r), r.showPopover(), r.style.left = `${Math.max(8, Math.min(t, innerWidth - r.offsetWidth - 8))}px`, r.style.top = `${Math.max(8, Math.min(n, innerHeight - r.offsetHeight - 8))}px`;let o = [...r.querySelectorAll("[data-player-menu]")];o.forEach((e) => {e.onclick = (t) => {t.stopPropagation();let n = a[Number(e.dataset.playerMenu)];- sE(), n?.run();+ lE(), n?.run();};});let s = (e) => {- r.contains(e.target) || sE();+ r.contains(e.target) || lE();}, c = (e) => {if (e.key === "Escape") {- e.preventDefault(), e.stopPropagation(), sE();+ e.preventDefault(), e.stopPropagation(), lE();return;}if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;@@ -30874,51 +30874,51 @@ function Lde(e, t, n) {let t = o.indexOf(document.activeElement);o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();}, l = (t) => {- uo(t, e.el()) && sE();+ uo(t, e.el()) && lE();};setTimeout(() => {document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {capture: !0,passive: !0});- }, 0), oE = () => {+ }, 0), cE = () => {document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);}, o[0]?.focus();}-function Rde(e) {+function Ide(e) {e.el().addEventListener("contextmenu", (t) => {- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Lde(e, t.clientX, t.clientY));- }), e.on("dispose", sE);+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Fde(e, t.clientX, t.clientY));+ }), e.on("dispose", lE);}//#endregion//#region src/player/registry.ts-var zde = null, cE = () => zde;-function lE(e) {- zde = e;+var Lde = null, uE = () => Lde;+function dE(e) {+ Lde = e;}-function uE(e) {+function fE(e) {e && !e.isDisposed() && requestAnimationFrame(() => {e.isDisposed() || e.trigger("resize");});}//#endregion//#region src/player/stats.ts-function Bde(e) {+function Rde(e) {let t = e.currentTime || 0;for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t && e.buffered.end(n) >= t) return Math.max(0, e.buffered.end(n) - t);return 0;}-function Vde(e) {+function zde(e) {let t = e.currentTime || 0;for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t + .25 && e.buffered.end(n) >= t) return e.buffered.end(n);return e.buffered.length ? e.buffered.end(e.buffered.length - 1) : 0;}-var Hde = 3e3;-function Ude(e, t) {+var Bde = 3e3;+function Vde(e, t) {let n = Number(e) || 0, r = cn(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}-function Wde(e) {+function Hde(e) {let t = [], n = null, r = 0, i = 0;return {bitrate: Number(e) || 0,@@ -30933,10 +30933,10 @@ function Wde(e) {},sample(e) {if (!e) return i;- let a = performance.now(), o = Vde(e), s = e.currentTime || 0;+ let a = performance.now(), o = zde(e), s = e.currentTime || 0;if (n) {let e = (a - n.at) / 1e3, i = Math.abs(s - n.ct) > e * 4 + 1, c = o - n.frontier;- !i && c > 0 && (r += c), e * 1e3 > Hde * 2 && (t.length = 0);+ !i && c > 0 && (r += c), e * 1e3 > Bde * 2 && (t.length = 0);}for (n = {at: a,@@ -30945,56 +30945,56 @@ function Wde(e) {}, t.push({at: a,advanced: r- }); t.length > 2 && a - t[0].at > Hde;) t.shift();+ }); t.length > 2 && a - t[0].at > Bde;) t.shift();let c = t[0], l = (a - c.at) / 1e3, u = r - c.advanced;return l >= .5 && u > 0 && this.bitrate > 0 && (i = u * this.bitrate / l), i;}};}-var dE = 24;-function fE(e, t) {- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > dE && e.splice(0, e.length - dE);+var pE = 24;+function mE(e, t) {+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > pE && e.splice(0, e.length - pE);}-var pE = "peach-player-panel";-function mE(e, t, n, r) {- let i = [...Array(Math.max(0, dE - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {+var hE = "peach-player-panel";+function gE(e, t, n, r) {+ let i = [...Array(Math.max(0, pE - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {if (e === null) return "<i aria-hidden=\"true\"></i>";let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / a));return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;}).join("");return `<span data-player-stats-plot="${t}" role="img" aria-label="${B(r)}">${o}</span>`;}-function Gde() {+function Ude() {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>`;}-function Kde(e, t = "") {+function Wde(e, t = "") {let n = t ? encodeURIComponent(t) : "";return performance.getEntriesByType("resource").filter((t) => t.name.includes("/stream") && (t.name.includes(`/stream?id=${e}`) || t.name.includes(`/stream/hls/${e}/`)) && (!n || t.name.includes(`session=${n}`)));}-function qde(e, t = "") {- let n = Kde(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;+function Gde(e, t = "") {+ let n = Wde(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;return r > 0 && i > 0 ? r * 8 / i : 0;}-function Jde(e, t, n = "", r = null) {+function Kde(e, t, n = "", r = null) {let i = 0;try {i = Number(e?.bandwidth?.()) || 0;} catch {}- return i > 0 ? i : r ? Number(r.bits) || 0 : qde(t, n);+ return i > 0 ? i : r ? Number(r.bits) || 0 : Gde(t, n);}-function hE(e) {+function _E(e) {if (!Number.isFinite(e) || e <= 0) return "加载中…";let t = e / 8;return t >= 1048576 ? `${(t / 1048576).toFixed(1)} MB/s` : `${Math.max(1, Math.round(t / 1024))} KB/s`;}-function Yde(e, t) {- return e > 0 ? hE(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : hE(0);+function qde(e, t) {+ return e > 0 ? _E(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : _E(0);}//#endregion//#region src/player/subtitle-style.ts-var gE = {+var vE = {font: {label: "字体",values: [@@ -31097,7 +31097,7 @@ var gE = {["shadow", "阴影"]]}-}, Xde = {+}, Jde = {font: "sans",size: "100",color: "white",@@ -31107,7 +31107,7 @@ var gE = {window: "black",windowOpacity: "0",edge: "shadow"-}, _E = "peach.caption-style.v1", Zde = {+}, yE = "peach.caption-style.v1", Yde = {white: "255,255,255",yellow: "255,255,0",green: "0,255,0",@@ -31116,7 +31116,7 @@ var gE = {magenta: "255,0,255",red: "255,0,0",black: "0,0,0"-}, Qde = {+}, Xde = {sans: "Arial,sans-serif",mono: "Consolas,monospace",serif: "Georgia,serif",@@ -31124,28 +31124,28 @@ var gE = {casual: "\"Comic Sans MS\",sans-serif",cursive: "cursive","small-caps": "Arial,sans-serif"-}, $de = {+}, Zde = {none: "none",raised: "-1px -1px 0 #ddd,1px 1px 0 #222",depressed: "1px 1px 0 #ddd,-1px -1px 0 #222",outline: "-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000",shadow: "2px 2px 3px #000"};-function efe() {+function Qde() {let e = {};try {- e = JSON.parse(localStorage.getItem(_E) || "{}") || {};+ e = JSON.parse(localStorage.getItem(yE) || "{}") || {};} catch {}- return Object.fromEntries(Object.entries(Xde).map(([t, n]) => [t, gE[t].values.some(([n]) => n === e[t]) ? e[t] : n]));+ return Object.fromEntries(Object.entries(Jde).map(([t, n]) => [t, vE[t].values.some(([n]) => n === e[t]) ? e[t] : n]));}-function tfe(e, t, n) {- let r = efe(), i = document.createElement("div");+function $de(e, t, n) {+ let r = Qde(), i = document.createElement("div");i.className = "vjs-peach-captions", i.setAttribute("aria-hidden", "true");let a = document.createElement("div");a.className = "vjs-peach-caption-window", i.append(a), e.querySelector("media-container").append(i), e.dataset.peachCaptions = "";let o = () => {- let t = (e, t) => `rgba(${Zde[e]},${Number(t) / 100})`;- e.style.setProperty("--peach-caption-font", Qde[r.font]), e.style.setProperty("--peach-caption-scale", String(Number(r.size) / 100)), e.style.setProperty("--peach-caption-color", t(r.color, r.opacity)), e.style.setProperty("--peach-caption-background", t(r.background, r.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(r.window, r.windowOpacity)), e.style.setProperty("--peach-caption-edge", $de[r.edge]), e.style.setProperty("--peach-caption-variant", r.font === "small-caps" ? "small-caps" : "normal");+ let t = (e, t) => `rgba(${Yde[e]},${Number(t) / 100})`;+ e.style.setProperty("--peach-caption-font", Xde[r.font]), e.style.setProperty("--peach-caption-scale", String(Number(r.size) / 100)), e.style.setProperty("--peach-caption-color", t(r.color, r.opacity)), e.style.setProperty("--peach-caption-background", t(r.background, r.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(r.window, r.windowOpacity)), e.style.setProperty("--peach-caption-edge", Zde[r.edge]), e.style.setProperty("--peach-caption-variant", r.font === "small-caps" ? "small-caps" : "normal");}, s = () => {a.replaceChildren();for (let e of t.textTracks) if (e.mode === "showing" && ["subtitles", "captions"].includes(e.kind)) for (let t of Array.from(e.activeCues || [])) {@@ -31160,27 +31160,27 @@ function tfe(e, t, n) {return t.textTracks.addEventListener("addtrack", l, { signal: n }), t.textTracks.addEventListener("removetrack", l, { signal: n }), t.textTracks.addEventListener("change", s, { signal: n }), o(), l(), {current: () => r,set(e, t) {- if (gE[e].values.some(([e]) => e === t)) {+ if (vE[e].values.some(([e]) => e === t)) {r = {...r,[e]: t}, o();try {- localStorage.setItem(_E, JSON.stringify(r));+ localStorage.setItem(yE, JSON.stringify(r));} catch {}}},reset() {- r = { ...Xde }, o();+ r = { ...Jde }, o();try {- localStorage.removeItem(_E);+ localStorage.removeItem(yE);} catch {}}};}//#endregion//#region src/player/subtitle-memory.ts-var vE = /* @__PURE__ */ new Map(), nfe = class {+var bE = /* @__PURE__ */ new Map(), efe = class {player;video;changed;@@ -31229,7 +31229,7 @@ var vE = /* @__PURE__ */ new Map(), nfe = class {}save(e) {if (!this.url) return Promise.resolve();- let t = (vE.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {+ let t = (bE.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {let t = await fetch(this.url, {method: "PUT",headers: { "Content-Type": "application/json" },@@ -31243,15 +31243,15 @@ var vE = /* @__PURE__ */ new Map(), nfe = class {let n = !!this.error;this.error = "", n && !this.cleanup.signal.aborted && this.changed();});- return vE.set(this.url, t), t.finally(() => {- vE.get(this.url) === t && vE.delete(this.url);+ return bE.set(this.url, t), t.finally(() => {+ bE.get(this.url) === t && bE.delete(this.url);}).catch(() => {}), t;}async restore() {if (!this.url) return;let e = this.cleanup.signal;try {- if (await vE.get(this.url)?.catch(() => {}), e.aborted) return;+ if (await bE.get(this.url)?.catch(() => {}), e.aborted) return;let t = await Vt(this.url, { signal: e });if (e.aborted) return;this.selected === void 0 && (this.selected = t.selected), this.apply();@@ -31306,7 +31306,7 @@ var vE = /* @__PURE__ */ new Map(), nfe = class {throw a.remove(), URL.revokeObjectURL(i), e;}}-}, rfe = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", ife = class {+}, tfe = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", nfe = class {player;video;panels;@@ -31325,7 +31325,7 @@ var vE = /* @__PURE__ */ new Map(), nfe = class {more = !1;searched = !1;constructor(e, t, n) {- this.player = e, this.video = t, this.panels = n, this.styles = tfe(e.el(), t, this.cleanup.signal), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = rfe(), this.cc.onclick = () => {+ this.player = e, this.video = t, this.panels = n, this.styles = $de(e.el(), t, this.cleanup.signal), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = tfe(), this.cc.onclick = () => {let e = this.tracks().find((e) => e.mode === "showing");e ? (this.last = e, this.select(null)) : this.tracks().length ? this.select(this.last && this.tracks().includes(this.last) ? this.last : this.tracks()[0]) : this.show();}, this.input.type = "file", this.input.accept = ".srt,.ass,.ssa,.vtt", this.input.hidden = !0, this.input.setAttribute("aria-label", "加载字幕文件"), e.el().append(this.input), this.input.addEventListener("change", () => {@@ -31335,7 +31335,7 @@ var vE = /* @__PURE__ */ new Map(), nfe = class {this.sync(), this.page === "tracks" && this.show(0);}, { signal: this.cleanup.signal }), e.on("dispose", () => {this.hide(), this.cleanup.abort();- }), this.session = new nfe(e, t, () => {+ }), this.session = new efe(e, t, () => {this.sync(), this.page === "tracks" && this.show(0);}), this.sync();}@@ -31383,7 +31383,7 @@ var vE = /* @__PURE__ */ new Map(), nfe = class {}options(e = 1) {this.page = "options";- let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(gE).map(([e, n]) => {+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(vE).map(([e, n]) => {let r = n.values.find(([n]) => n === t[e])?.[1] || "";return `<button type="button" class="vjs-peach-caption-setting" data-subtitle-style="${e}"><span>${B(n.label)}</span><b>${B(r)}</b>${z("player-menu-next")}</button>`;}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-reset>重置</button></div>`, () => this.show(-1), e);@@ -31395,7 +31395,7 @@ var vE = /* @__PURE__ */ new Map(), nfe = class {}styleOptions(e) {this.page = "style";- let t = gE[e];+ let t = vE[e];this.panel(this.header(t.label) + `<div class="vjs-peach-panel-menu">${t.values.map(([t, n]) => {let r = this.styles.current()[e] === t;return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-value="${B(t)}"><span class="vjs-peach-option-check">${r ? z("check") : ""}</span><span class="vjs-peach-option-label">${B(n)}</span></button>`;@@ -31512,7 +31512,7 @@ var vE = /* @__PURE__ */ new Map(), nfe = class {};//#endregion//#region src/player/controls.ts-function yE(e, t, n = "") {+function xE(e, t, n = "") {if (!e) return () => {};let r = e.querySelector(":scope>.vjs-peach-tooltip");r || (r = document.createElement("span"), r.className = "vjs-peach-tooltip", r.setAttribute("role", "tooltip"), r.innerHTML = "<span class=\"vjs-peach-tooltip-text\"></span><kbd hidden></kbd>", e.append(r));@@ -31523,27 +31523,27 @@ function yE(e, t, n = "") {};return o(), o;}-function afe(e, t) {+function rfe(e, t) {e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();}-function ofe(e, t = !0) {- let n = iE(), r = n.settings();+function ife(e, t = !0) {+ let n = oE(), r = n.settings();r.ambientMode = !!e, t && n.saveSettings(), n.stage()?.toggleAttribute("data-ambient", r.ambientMode), document.dispatchEvent(new CustomEvent("peachambientchange", { detail: { enabled: r.ambientMode } }));}-var sfe = /* @__PURE__ */ new WeakMap();-function cfe(e) {+var afe = /* @__PURE__ */ new WeakMap();+function ofe(e) {if (!e) return;- let t = iE().settings().theaterMode;- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), sfe.get(e)?.(t ? "默认视图" : "影院模式");+ let t = oE().settings().theaterMode;+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), afe.get(e)?.(t ? "默认视图" : "影院模式");}-function lfe(e, t = !0) {- let n = iE(), r = n.settings();+function sfe(e, t = !0) {+ let n = oE(), r = n.settings();r.theaterMode = !!e, t && n.saveSettings();let i = n.stage();- i?.toggleAttribute("data-theater", r.theaterMode), cfe(i?.querySelector("[data-player-theater]")), uE(cE());+ i?.toggleAttribute("data-theater", r.theaterMode), ofe(i?.querySelector("[data-player-theater]")), fE(uE());}-function ufe(e) {- let t = iE().stage(), n = t?.querySelector("[data-ambient-canvas]");+function cfe(e) {+ let t = oE().stage(), n = t?.querySelector("[data-ambient-canvas]");if (!t || !n) return () => {};let r = n.getContext("2d", { alpha: !1 });if (!r) return () => {};@@ -31566,9 +31566,9 @@ function ufe(e) {}, u = (t) => {e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));}, d = (t, n) => {- i || t !== o || (iE().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());+ i || t !== o || (oE().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());}, f = () => {- !i && iE().settings().ambientMode && (l(), e.paused || u(++o));+ !i && oE().settings().ambientMode && (l(), e.paused || u(++o));}, p = (e) => {let n = !!e.detail.enabled;t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());@@ -31577,7 +31577,7 @@ function ufe(e) {i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();};}-function dfe(e, t, n = 0, r = null) {+function lfe(e, t, n = 0, r = null) {let i = e.el().querySelector(".vjs-control-bar");if (!i || i.querySelector("[data-player-quality]")) return;let a = document.createElement("div");@@ -31587,7 +31587,7 @@ function dfe(e, t, n = 0, r = null) {let o = i.querySelector(".vjs-fullscreen-control");i.insertBefore(a, o || null);let s = a.querySelector("button"), c = a.querySelector("[data-player-quality-badge]");- yE(s, "设置");+ xE(s, "设置");let l = a.querySelector(".vjs-peach-settings-menu"), u, d = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, f = r, p = "auto", m = (e, t) => {let n = [Number(e), Number(t)].filter((e) => e > 0);return n.length ? Math.min(...n) : 0;@@ -31627,11 +31627,11 @@ function dfe(e, t, n = 0, r = null) {active: n};}, _ = () => l.getAttribute("aria-hidden") !== "true", v = (e) => {- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || u?.hide(), e && document.dispatchEvent(new CustomEvent(pE, { detail: "settings" }));+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || u?.hide(), e && document.dispatchEvent(new CustomEvent(hE, { detail: "settings" }));}, y = () => v(!1), b = (e) => {e.detail !== "settings" && y();};- document.addEventListener(pE, b);+ document.addEventListener(hE, b);let x = null, S = 0, C = (e, t) => {let n = ++S;x && (clearTimeout(x), x = null, l.classList.remove("vjs-peach-popup-animating"), l.style.height = ""), l.querySelectorAll(".vjs-peach-panel-leaving").forEach((e) => e.remove()), l.scrollTop = 0;@@ -31647,13 +31647,13 @@ function dfe(e, t, n = 0, r = null) {}), i;}, w = (e, t) => e.querySelector(t), T = "main", E = (t = 0) => {T = "main";- let { active: n } = g(), r = Number(e.playbackRate()) || 1, i = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${iE().settings().ambientMode}">+ let { active: n } = g(), r = Number(e.playbackRate()) || 1, i = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${oE().settings().ambientMode}">${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>${r === 1 ? "正常" : `${r}×`}</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">${rfe()}</span><span>字幕</span><b>${B(u?.label() || "关闭")}</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">${tfe()}</span><span>字幕</span><b>${B(u?.label() || "关闭")}</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(n.label)}</b>${z("player-menu-next")}</button></div>`, t);w(i, "[data-player-ambient]").onclick = () => {- ofe(!iE().settings().ambientMode), E();+ ife(!oE().settings().ambientMode), E();}, w(i, "[data-player-speed]").onclick = () => A(), w(i, "[data-player-subtitles]").onclick = () => u?.show(), w(i, "[data-player-quality-view]").onclick = () => M();}, D = .05, O = [1,@@ -31733,8 +31733,8 @@ function dfe(e, t, n = 0, r = null) {"removequalitylevel","change"], N), e.on("dispose", () => {- S++, document.removeEventListener("pointerdown", P), document.removeEventListener(pE, b), x && clearTimeout(x);- }), u = new ife(e, t, {+ S++, document.removeEventListener("pointerdown", P), document.removeEventListener(hE, b), x && clearTimeout(x);+ }), u = new nfe(e, t, {render: C,open: () => {T = "subtitles", v(!0);@@ -31743,21 +31743,21 @@ function dfe(e, t, n = 0, r = null) {back: () => {u?.hide(), E(-1);}- }), g(), ffe(e, a), pfe(e), (e) => {+ }), g(), ufe(e, a), dfe(e), (e) => {f = e?.length ? e : null, N();};}-function ffe(e, t) {+function ufe(e, t) {let n = e.el().querySelector(".vjs-control-bar");if (!n || n.querySelector("[data-player-theater]")) return;- let r = iE().settings().theaterMode, i = document.createElement("div");+ let r = oE().settings().theaterMode, i = document.createElement("div");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");- sfe.set(a, yE(a, "影院模式", "T")), cfe(a), a.onclick = (e) => {- e.stopPropagation(), lfe(!iE().settings().theaterMode);+ afe.set(a, xE(a, "影院模式", "T")), ofe(a), a.onclick = (e) => {+ e.stopPropagation(), sfe(!oE().settings().theaterMode);};}-function pfe(e) {+function dfe(e) {let t = e.el().querySelector(".vjs-control-bar");if (!t || t.querySelector(".vjs-peach-right-controls")) return;let n = t.querySelector(":scope>.vjs-play-control");@@ -31769,7 +31769,7 @@ function pfe(e) {e.dataset.peachExplicitIcon = "";let r = document.createElementNS("http://www.w3.org/2000/svg", "svg");return r.setAttribute("viewBox", n.getAttribute("viewBox") || ""), r.setAttribute("aria-hidden", "true"), r.setAttribute("class", "vjs-peach-control-icon vjs-peach-morph-icon"), r.innerHTML = n.innerHTML, e.append(r), r;- }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = yE(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {+ }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = xE(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {let t = e.paused() || e.ended(), n = t ? s : c;o && (u ? o.style.setProperty("d", `path("${n}")`) : o.setAttribute("d", n)), l(t ? "播放" : "暂停");};@@ -31780,7 +31780,7 @@ function pfe(e) {], d), d();let f = t.querySelector(":scope>.vjs-volume-panel"), p = f?.querySelector(":scope>.vjs-mute-control"), m = i(p, "player-volume");m && a("player-volume-muted").forEach((e) => m.append(e.cloneNode(!0)));- let h = yE(p, "静音", "M"), g = () => {+ let h = xE(p, "静音", "M"), g = () => {let t = e.muted() || e.volume() === 0;m && (m.dataset.silent = String(t), m.dataset.loud = String(!t && e.volume() > .5)), h(t ? "取消静音" : "静音");};@@ -31806,7 +31806,7 @@ function pfe(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 = yE(x, "显示剩余时间"), T = () => {+ let C = x.querySelector(".vjs-peach-time-text"), w = xE(x, "显示剩余时间"), T = () => {let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = un(Math.max(0, n - t));C.textContent = `${S ? `-${r}` : un(t)} / ${un(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${un(n)};点击显示已播放时间` : `已播放 ${un(t)},总时长 ${un(n)};点击显示剩余时间`);};@@ -31818,12 +31818,12 @@ function pfe(e) {"loadedmetadata"], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);let E = t.querySelector(":scope>.vjs-picture-in-picture-control");- yE(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip");- let D = yE(E, "画中画");+ xE(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip");+ let D = xE(E, "画中画");e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = yE(O, "全屏", "F"), j = () => {+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = xE(O, "全屏", "F"), j = () => {let t = !!e.isFullscreen();- e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), uE(e);+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), fE(e);};e.on(["fullscreenchange",@@ -31844,7 +31844,7 @@ function pfe(e) {});let P = document.createElement("div");P.className = "vjs-peach-expand vjs-control", P.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${z("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, N.prepend(P);- let F = P.querySelector("button"), I = yE(F, "展开控件"), ee = (t) => {+ let F = P.querySelector("button"), I = xE(F, "展开控件"), ee = (t) => {e.el().classList.toggle("vjs-peach-right-expanded", t), F.setAttribute("aria-expanded", String(t)), I(t ? "收起控件" : "展开控件");};F.onclick = (t) => {@@ -31856,7 +31856,7 @@ function pfe(e) {}, te = new ResizeObserver(L);te.observe(e.el()), e.on("dispose", () => te.disconnect()), ee(!1), L();}-function mfe(e, t, n = {}) {+function ffe(e, t, n = {}) {let r = e.el().querySelector(".vjs-control-bar .vjs-progress-control");if (!r || r.querySelector("[data-player-seek-preview]")) return;let i = !!t && n.thumbnail !== !1, a = document.createElement("div");@@ -31890,13 +31890,13 @@ function mfe(e, t, n = {}) {r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);});}-function hfe(e, t) {+function pfe(e, t) {let n = navigator.mediaSession;if (!n || typeof n.setActionHandler != "function") return;let r = () => cn(e.duration()) || cn(t.duration) || 0, i = (t) => {let n = r();e.currentTime(Math.max(0, n ? Math.min(n, t) : t));- }, a = () => Math.max(1, Number(iE().settings().seekSeconds) || 10), o = [+ }, a = () => Math.max(1, Number(oE().settings().seekSeconds) || 10), o = [["play", () => {e.play();}],@@ -31937,11 +31937,11 @@ function hfe(e, t) {} catch {}});}-function gfe(e) {+function mfe(e) {let t = e.el().querySelector(".vjs-loading-spinner");t && !t.querySelector(".vjs-peach-spinner-container") && (t.innerHTML = "<span class=\"vjs-peach-spinner-container\"><span class=\"vjs-peach-spinner-rotator\"><span class=\"vjs-peach-spinner-left\"><span class=\"vjs-peach-spinner-circle\"></span></span><span class=\"vjs-peach-spinner-right\"><span class=\"vjs-peach-spinner-circle\"></span></span></span></span>");}-function _fe(e, t) {+function hfe(e, t) {Vt(`/api/assets/${t}/subtitles`).then((t) => {e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {e.addRemoteTextTrack({@@ -31957,35 +31957,35 @@ function _fe(e, t) {}//#endregion//#region src/player/progress.ts-var vfe = "peach.playback-position.v1", bE = /* @__PURE__ */ new WeakMap();-function xE(e) {- bE.get(e)?.(), bE.delete(e);+var gfe = "peach.playback-position.v1", SE = /* @__PURE__ */ new WeakMap();+function CE(e) {+ SE.get(e)?.(), SE.delete(e);}-function SE(e, t, n = null) {+function wE(e, t, n = null) {let r = e === "follow" ? t.id : t.location === "online" ? t.follow_item_id : null;return r ? `follow:${r}:${n ?? "main"}` : `item:${t.id}`;}-function yfe(e) {+function _fe(e) {try {- let t = localStorage.getItem(`${vfe}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);+ let t = localStorage.getItem(`${gfe}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);return Number.isFinite(n) && n >= 0 ? n : null;} catch {return null;}}-function bfe(e, t) {- let n = yfe(e);+function vfe(e, t) {+ let n = _fe(e);if (n !== null) return n;let r = Number(t.leave_ratio);return r > 0 && r < 1 ? r * cn(t.duration) : 0;}-function xfe(e, t) {- xE(t);+function yfe(e, t) {+ CE(t);let n = t.readyState >= 1, r = () => {if (!n || !Number.isFinite(t.currentTime)) return;let r = t.ended ? 0 : Math.max(0, t.currentTime);try {- localStorage.setItem(`${vfe}:${e}`, String(r));+ localStorage.setItem(`${gfe}:${e}`, String(r));} catch {}}, i = () => {n = !0;@@ -31999,7 +31999,7 @@ function xfe(e, t) {"pause","ended"]) t.addEventListener(e, r);- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), bE.set(t, () => {+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), SE.set(t, () => {r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);for (let e of ["timeupdate",@@ -32012,19 +32012,19 @@ function xfe(e, t) {}//#endregion//#region src/player/telemetry.ts-var CE = /* @__PURE__ */ new WeakMap();-function wE(e) {- CE.get(e)?.(), CE.delete(e);+var TE = /* @__PURE__ */ new WeakMap();+function EE(e) {+ TE.get(e)?.(), TE.delete(e);}-function Sfe(e, t, n, r) {+function bfe(e, t, n, r) {let i = () => t(!1), a = () => {n(), t(!1);};- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), CE.set(e, () => {+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), TE.set(e, () => {n(), t(!1), e.onplay = null, e.ontimeupdate = null, e.onpause = null, e.onended = null, e.removeEventListener("seeking", r), e.removeEventListener("emptied", a), window.removeEventListener("pagehide", i);});}-function Cfe(e, t, n = {}) {+function xfe(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 = cn(e.duration) || cn(t.duration);@@ -32065,11 +32065,11 @@ function Cfe(e, t, n = {}) {u(), l(!1);}, t.onended = () => {u(), l(!0), n.onEnded?.();- }, Sfe(t, l, u, () => {+ }, bfe(t, l, u, () => {a++;}), c();}-function wfe(e, t) {+function Sfe(e, t) {let n = 0, r = 0, i = !1, a = null, o = (n) => {let i = cn(e.duration) || cn(t.duration);(r || n) && (Vt("/api/follow/activity", {@@ -32100,40 +32100,49 @@ function wfe(e, t) {s(), o(!1);}, t.onended = () => {s(), o(!0);- }, Sfe(t, o, s, () => {});+ }, bfe(t, o, s, () => {});}//#endregion//#region src/player/dispose.ts-function TE(e) {+function DE(e) {if (!e || e.isDisposed()) return;let t = e.el()?.querySelector("video");try {e.pause();} catch {}- t && (xE(t), wE(t));+ t && (CE(t), EE(t));try {e.dispose();} catch {}}//#endregion+//#region src/core/random-id.ts+function OE() {+ if (typeof crypto.randomUUID == "function") return crypto.randomUUID();+ let e = crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16));+ e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128;+ let t = Array.from(e, (e) => e.toString(16).padStart(2, "0")).join("");+ return `${t.slice(0, 8)}-${t.slice(8, 12)}-${t.slice(12, 16)}-${t.slice(16, 20)}-${t.slice(20)}`;+}+//#endregion//#region src/player/stream.ts-function Tfe() {- return globalThis.crypto?.randomUUID?.() || `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;+function Cfe() {+ return OE();}-function EE(e, t) {+function kE(e, t) {return {src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"};}-function Efe(e) {+function wfe(e) {return e.location === "online" && e.follow_item_id ? {src: `/follow-stream?id=${e.follow_item_id}`,type: "video/mp4"} : null;}-async function Dfe(e, t) {- let n = Efe(e);+async function Tfe(e, t) {+ let n = wfe(e);if (n) return n;try {let n = await Vt(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);@@ -32142,9 +32151,9 @@ async function Dfe(e, t) {type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")};} catch {}- return EE(e, t);+ return kE(e, t);}-function DE(e) {+function AE(e) {e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {method: "POST",credentials: "same-origin",@@ -32153,23 +32162,23 @@ function DE(e) {document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);}).catch(() => {});}-var OE = "";-function Ofe() {- return OE;+var jE = "";+function Efe() {+ return jE;}-function kfe() {- return OE ||= Tfe(), OE;+function Dfe() {+ return jE ||= Cfe(), jE;}-var Afe = (e) => EE(e, kfe()), jfe = (e) => Dfe(e, kfe());-function kE() {- let e = OE;- e && (OE = "", DE(e));+var Ofe = (e) => kE(e, Dfe()), kfe = (e) => Tfe(e, Dfe());+function ME() {+ let e = jE;+ e && (jE = "", AE(e));}//#endregion//#region src/player/v10-player.ts-var AE = (e) => typeof e == "string" ? [e] : e, Mfe = (e, t) => {+var NE = (e) => typeof e == "string" ? [e] : e, Afe = (e, t) => {let n = document.createElement("div"), r = document.createElement("video-player");- n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${crypto.randomUUID()}`, n.setAttribute("lang", "zh-CN");+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${OE()}`, n.setAttribute("lang", "zh-CN");let i = document.createElement("media-container"), a = document.createElement("hlsjs-video");e.parentNode?.replaceChild(n, e), e.removeAttribute("id"), e.className = "vjs-tech", e.slot = "media", e.controls = !1, e.preload = t.preload === "auto" ? "auto" : t.preload === "none" ? "none" : "metadata", t.poster && (e.poster = String(t.poster)), a.append(e), i.append(a), r.append(i), n.append(r), t.controls !== !1 && i.insertAdjacentHTML("beforeend", "<div class=\"vjs-loading-spinner\" aria-label=\"正在缓冲\"></div>\n <div class=\"vjs-error-display\"><div class=\"vjs-modal-dialog-content\" role=\"alert\"></div></div>\n <div class=\"vjs-control-bar\">\n <media-play-button class=\"vjs-play-control vjs-control vjs-button\" label=\"播放\"></media-play-button>\n <div class=\"vjs-volume-panel vjs-control vjs-volume-panel-horizontal\">\n <media-mute-button class=\"vjs-mute-control vjs-control vjs-button\" label=\"静音\"></media-mute-button>\n <div class=\"vjs-volume-control vjs-volume-horizontal\"><media-volume-slider class=\"vjs-volume-bar vjs-slider vjs-slider-horizontal\" label=\"音量\">\n <media-slider-track><media-slider-fill class=\"vjs-volume-level\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-volume-thumb\"></media-slider-thumb>\n <media-slider-value class=\"vjs-volume-tooltip\"></media-slider-value>\n </media-volume-slider></div>\n </div>\n <div class=\"vjs-progress-control vjs-control\"><media-time-slider class=\"vjs-progress-holder vjs-slider vjs-slider-horizontal\" label=\"播放进度\">\n <media-slider-track><media-slider-buffer class=\"vjs-load-progress\"></media-slider-buffer><media-slider-fill class=\"vjs-play-progress\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-progress-thumb\"></media-slider-thumb>\n </media-time-slider></div>\n <div class=\"vjs-subtitles-control vjs-control\"><button type=\"button\" class=\"vjs-button\" aria-label=\"开启字幕\" aria-pressed=\"false\">CC</button></div>\n <media-pip-button class=\"vjs-picture-in-picture-control vjs-control vjs-button\" label=\"画中画\"></media-pip-button>\n <media-fullscreen-button class=\"vjs-fullscreen-control vjs-control vjs-button\" label=\"全屏\"></media-fullscreen-button>\n </div>");let o = new EventTarget(), s = new AbortController(), c = s.signal, l = !1, u = 0, d = 0, f = 0, p = {@@ -32264,9 +32273,9 @@ var AE = (e) => typeof e == "string" ? [e] : e, Mfe = (e, t) => {e && Array.isArray(e.levels) && !x.has(e) && (x.add(e), e.on("hlsManifestParsed", w), e.on("hlsLevelSwitched", w)), w();};return e.addEventListener("loadedmetadata", T, { signal: c }), {- on: (e, t) => AE(e).forEach((e) => o.addEventListener(e, t, { signal: c })),- off: (e, t) => AE(e).forEach((e) => o.removeEventListener(e, t)),- one: (e, t) => AE(e).forEach((e) => o.addEventListener(e, t, {+ on: (e, t) => NE(e).forEach((e) => o.addEventListener(e, t, { signal: c })),+ off: (e, t) => NE(e).forEach((e) => o.removeEventListener(e, t)),+ one: (e, t) => NE(e).forEach((e) => o.addEventListener(e, t, {once: !0,signal: c})),@@ -32321,7 +32330,7 @@ var AE = (e) => typeof e == "string" ? [e] : e, Mfe = (e, t) => {n.id = String(t.id || ""), n.kind = String(t.kind || "subtitles"), n.src = String(t.src || ""), n.srclang = String(t.srclang || ""), n.label = String(t.label || ""), e.append(n);}};-}, Nfe = "/vendor/videojs/10.1.0/", Pfe = [+}, jfe = "/vendor/videojs/10.1.0/", Mfe = ["video-player.js","media/hlsjs-video.js","media/dash-video.js",@@ -32339,18 +32348,18 @@ var AE = (e) => typeof e == "string" ? [e] : e, Mfe = (e, t) => {"ui/slider-value.js","i18n.js","locales/zh-CN.js"-], jE = null;-function ME() {- return jE ??= Promise.all(Pfe.map((e) => import(+], PE = null;+function FE() {+ return PE ??= Promise.all(Mfe.map((e) => import(/* @vite-ignore */- `${Nfe}${e}`-))).then(() => Mfe).catch((e) => {- throw jE = null, e;- }), jE;+ `${jfe}${e}`+))).then(() => Afe).catch((e) => {+ throw PE = null, e;+ }), PE;}//#endregion//#region src/player/immerse-player.ts-var Ffe = {+var Nfe = {controls: !1,preload: "auto",posterImage: !1,@@ -32362,39 +32371,39 @@ var Ffe = {errorDisplay: !1,textTrackSettings: !1};-function Ife(e, t) {+function Pfe(e, t) {let { item: n, session: r } = t, i = null, a = !1;- return Promise.all([Dfe(n, r), ME().catch(() => null)]).then(([o, s]) => {+ return Promise.all([Tfe(n, r), FE().catch(() => null)]).then(([o, s]) => {if (a) return;- let c = EE(n, r), l = String(o.type || "").includes("mpegurl");+ let c = kE(n, r), l = String(o.type || "").includes("mpegurl");if (!s) e.src = (l ? c : o).src;else {- let t = s(e, Ffe);- i = t, t.peachItem = n, t.peachPlaybackKey = SE("item", n);+ let t = s(e, Nfe);+ i = t, t.peachItem = n, t.peachPlaybackKey = wE("item", n);let r = new AbortController();- tfe(t.el(), e, r.signal), t.on("dispose", () => r.abort()), new nfe(t, e), _fe(t, n.id), l && t.one("error", () => {+ $de(t.el(), e, r.signal), t.on("dispose", () => r.abort()), new efe(t, e), hfe(t, n.id), l && t.one("error", () => {a || t.src(c);}), t.src(o);}- Cfe(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();+ xfe(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();}), () => {- a || (a = !0, DE(r), i ? TE(i) : (e.pause(), wE(e), e.removeAttribute("src"), e.load()));+ a || (a = !0, AE(r), i ? DE(i) : (e.pause(), EE(e), e.removeAttribute("src"), e.load()));};}//#endregion//#region src/player/detail-player.ts-var Lfe = /* @__PURE__ */ new WeakMap(), NE = null, PE = null, FE = null;-function Rfe() {- NE &&= (clearInterval(NE), null), PE &&= (clearInterval(PE), null), FE &&= (clearTimeout(FE), null);+var Ffe = /* @__PURE__ */ new WeakMap(), IE = null, LE = null, RE = null;+function Ife() {+ IE &&= (clearInterval(IE), null), LE &&= (clearInterval(LE), null), RE &&= (clearTimeout(RE), null);}-async function zfe(e, t, n, r = {}) {- let i = cE();+async function Lfe(e, t, n, r = {}) {+ let i = uE();if (i && !i.isDisposed()) return i;- let a = iE(), o = r.resume ?? null;+ let a = oE(), o = r.resume ?? null;o?.autoplay && (n = !0);- let s = () => r.source ? Promise.resolve(r.source) : jfe(e), c;+ let s = () => r.source ? Promise.resolve(r.source) : kfe(e), c;try {- c = await ME();+ c = await FE();} catch {return t.controls = !0, s().then((e) => {t.addEventListener("loadedmetadata", () => {@@ -32420,7 +32429,7 @@ async function zfe(e, t, n, r = {}) {} }}});- lE(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || SE("item", e), Rde(l), l.on("loadedmetadata", () => {+ dE(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || wE("item", e), Ide(l), l.on("loadedmetadata", () => {let e = l.el()?.querySelector("video");e?.videoWidth && e.videoHeight && l.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);});@@ -32428,7 +32437,7 @@ async function zfe(e, t, n, r = {}) {speed: [],activity: [],buffer: []- }, f = Number(r.size ?? e.size) || 0, p = Wde(Ude(f, e.duration)), m = 0, h = !1, g = () => cE() === l && !l.isDisposed(), _ = () => {+ }, f = Number(r.size ?? e.size) || 0, p = Hde(Vde(f, e.duration)), m = 0, h = !1, g = () => uE() === l && !l.isDisposed(), _ = () => {if (!u || h || !g()) return;let e = Number(l.duration());(!Number.isFinite(e) || Math.abs(e - u) > Math.max(2, u * .001)) && (h = !0, l.duration(u), queueMicrotask(() => {@@ -32439,15 +32448,15 @@ async function zfe(e, t, n, r = {}) {ready: !1,updateStats: () => {}};- Lfe.set(l, y), y.updateStats = () => {+ Ffe.set(l, y), y.updateStats = () => {let n = y.chrome?.statsPanel;if (!n || n.hidden || !g()) return;- let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = Ofe(), h = s ? Kde(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;+ let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = Efe(), h = s ? Wde(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;p.sample(t);- let x = Jde(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);+ let x = Kde(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);m = S;- let w = Bde(t);- fE(d.speed, x), fE(d.activity, C), fE(d.buffer, w);+ let w = Rde(t);+ mE(d.speed, x), mE(d.activity, C), mE(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 ? ["网络活动",`${_ ? dn(_) : "—"} · ${h.length} 请求`,@@ -32465,17 +32474,17 @@ async function zfe(e, t, n, r = {}) {["连接速度",D,- mE(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)+ gE(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)],[k[0],k[1],- mE(d.activity, "activity", Math.max(1, ...d.activity), k[2])+ gE(d.activity, "activity", Math.max(1, ...d.activity), k[2])],["缓冲健康",`${w.toFixed(1)} 秒`,- mE(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)+ gE(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)],["播放时间", `${un(t.currentTime)} / ${un(u || l.duration())}`],["日期", (/* @__PURE__ */ new Date()).toLocaleString()]@@ -32491,15 +32500,15 @@ async function zfe(e, t, n, r = {}) {if (!n || l.isDisposed()) return;let r = v();r || p.sample(t);- let i = Jde(l, e.id, Ofe(), r ? null : p), a = r ? hE(i) : Yde(i, Bde(t));+ let i = Kde(l, e.id, Efe(), r ? null : p), a = r ? _E(i) : qde(i, Rde(t));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(), PE && clearInterval(PE), PE = setInterval(S, 500));+ e && e.isConnected && (e.hidden = !1, S(), LE && clearInterval(LE), LE = setInterval(S, 500));}, w = () => {let e = y.chrome?.netBadge;- e && (FE && clearTimeout(FE), FE = setTimeout(() => {- e.hidden = !0, PE &&= (clearInterval(PE), null);+ e && (RE && clearTimeout(RE), RE = setTimeout(() => {+ e.hidden = !0, LE &&= (clearInterval(LE), null);}, 1400));};return l.on([@@ -32510,7 +32519,7 @@ async function zfe(e, t, n, r = {}) {], C), l.on(["canplay", "playing"], () => {S(), w();}), l.on("error", () => {- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(Afe(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(Ofe(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {t[String(e.root_id || e.location)] !== !1 || l.isDisposed() || l.error({code: 2,message: `媒体目录无法访问 · ${a.offlineReason(String(e.root_id || e.location))}`@@ -32518,13 +32527,13 @@ async function zfe(e, t, n, r = {}) {});}), l.ready(() => {_();- let n = dfe(l, t, e.height, r.qualities ?? null);+ let n = lfe(l, t, e.height, r.qualities ?? null);r.mediaPromise?.then((t) => {if (!g()) return;n?.(t?.qualities?.length ? t.qualities : null);let r = Number(t?.size) || 0;- r > 0 && !f && (f = r, p.bitrate = Ude(r, e.duration));- }).catch(() => {}), mfe(l, e, { thumbnail: !r.source }), hfe(l, e), gfe(l), r.source || _fe(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);+ r > 0 && !f && (f = r, p.bitrate = Vde(r, e.duration));+ }).catch(() => {}), ffe(l, e, { thumbnail: !r.source }), pfe(l, e), mfe(l), r.source || hfe(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);}), s().then((e) => {g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {if (l.isDisposed()) return;@@ -32533,14 +32542,14 @@ async function zfe(e, t, n, r = {}) {}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));}).catch(() => {}), l;}-var Bfe = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function Vfe(e, t = null) {- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Bfe), e.querySelector(":scope > #playerStatsBtn")) return;+var Rfe = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";+function zfe(e, t = null) {+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Rfe), e.querySelector(":scope > #playerStatsBtn")) return;let n = document.createElement("template");- n.innerHTML = Gde(), e.insertBefore(n.content, t);+ n.innerHTML = Ude(), e.insertBefore(n.content, t);}-function Hfe(e, t) {- let n = Lfe.get(e);+function Bfe(e, t) {+ let n = Ffe.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`:scope > #${e}`), i = {statsButton: r("playerStatsBtn"),@@ -32552,29 +32561,29 @@ function Hfe(e, t) {if (a && o) {a.hidden = !n.ready;let e = () => {- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), NE &&= (clearInterval(NE), null));+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), IE &&= (clearInterval(IE), null));};a.onclick = () => {- o.hidden ? (document.dispatchEvent(new CustomEvent(pE, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), NE && clearInterval(NE), NE = setInterval(n.updateStats, 1e3)) : e();+ o.hidden ? (document.dispatchEvent(new CustomEvent(hE, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), IE && clearInterval(IE), IE = setInterval(n.updateStats, 1e3)) : e();};let t = (t) => {t.detail !== "stats" && e();};- document.addEventListener(pE, t), s = () => document.removeEventListener(pE, t);+ document.addEventListener(hE, t), s = () => document.removeEventListener(hE, t);}- let c = e.el().querySelector("video"), l = c ? ufe(c) : () => {}, u = !0, d = () => {- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, Rfe()));+ let c = e.el().querySelector("video"), l = c ? cfe(c) : () => {}, u = !0, d = () => {+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, Ife()));};return e.one("dispose", d), d;}-function IE(e, t) {- if (t.kind === "immerse") return Ife(e, t);- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = iE(), c = t.chrome === !1 ? null : e.parentElement;- c && Vfe(c, e);- let l = SE(n, r, i?.index ?? null), u = {+function zE(e, t) {+ if (t.kind === "immerse") return Pfe(e, t);+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = oE(), c = t.chrome === !1 ? null : e.parentElement;+ c && zfe(c, e);+ let l = wE(n, r, i?.index ?? null), u = {playbackKey: l,resume: t.resume ?? {- time: bfe(l, r),+ time: vfe(l, r),autoplay: !1}};@@ -32594,38 +32603,38 @@ function IE(e, t) {t && (e.poster = t);}let d = null, f = !1, p = () => {}, m = e, h = () => {- p(), !(d && a?.(d)) && (xE(m), d ? (cE() === d && (lE(null), Rfe()), TE(d)) : wE(m));+ p(), !(d && a?.(d)) && (CE(m), d ? (uE() === d && (dE(null), Ife()), DE(d)) : EE(m));};- return zfe(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, xfe(l, m), n === "follow" ? wfe(r, m) : (m.addEventListener("play", () => {+ return Lfe(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, yfe(l, m), n === "follow" ? Sfe(r, m) : (m.addEventListener("play", () => {Vt("/api/play", {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});- }, { once: !0 }), Cfe(r, m, {+ }, { once: !0 }), xfe(r, m, {watched: "#watched",mark: "#mark",ratio: "#ratioTxt"- })), t ? (c && (p = Hfe(t, c)), o?.(t)) : o?.(null));+ })), t ? (c && (p = Bfe(t, c)), o?.(t)) : o?.(null));}), () => {f = !0, h();};}//#endregion//#region src/player/playback.ts-function LE(e) {+function BE(e) {e && (e.paused ? e.play()?.catch(() => {}) : e.pause());}-function Ufe(e, t) {+function Vfe(e, t) {let n = e.duration, r = (e.currentTime || 0) + t;e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);}//#endregion//#region src/player/preview-player.ts-function Wfe(e, t, n) {+function Hfe(e, t, n) {e.controls = !1;let r = !1, i = null;- return ME().then((a) => {+ return FE().then((a) => {if (r) return;i = a(e, {controls: !0,@@ -32650,57 +32659,57 @@ function Wfe(e, t, n) {o.on("error", () => {r || n();}), o.ready(() => {- r || o.isDisposed() || (dfe(o, e), mfe(o, null, { thumbnail: !1 }), gfe(o));+ r || o.isDisposed() || (lfe(o, e), ffe(o, null, { thumbnail: !1 }), mfe(o));}), o.src(t);}).catch(() => {r || n();}), () => {- r = !0, TE(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ r = !0, DE(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());};}//#endregion//#region src/react/catalog-grid/catalog-view.ts-var RE = "peach.catalog-view.v1", zE = /* @__PURE__ */ new Set(), BE = "cards";-function VE() {+var VE = "peach.catalog-view.v1", HE = /* @__PURE__ */ new Set(), UE = "cards";+function WE() {try {- return localStorage.getItem(RE) === "list" ? "list" : "cards";+ return localStorage.getItem(VE) === "list" ? "list" : "cards";} catch {- return BE;+ return UE;}}-function Gfe(e) {- BE = e === "list" ? "list" : "cards";+function Ufe(e) {+ UE = e === "list" ? "list" : "cards";try {- localStorage.setItem(RE, BE);+ localStorage.setItem(VE, UE);} catch {}- zE.forEach((e) => e());+ HE.forEach((e) => e());}-function Kfe(e) {- zE.add(e);+function Wfe(e) {+ HE.add(e);let t = (t) => {- (t.key === RE || t.key === null) && e();+ (t.key === VE || t.key === null) && e();};return addEventListener("storage", t), () => {- zE.delete(e), removeEventListener("storage", t);+ HE.delete(e), removeEventListener("storage", t);};}-var HE = () => (0, E.useSyncExternalStore)(Kfe, VE, () => "cards");-function UE(e, t) {+var GE = () => (0, E.useSyncExternalStore)(Wfe, WE, () => "cards");+function KE(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return t && n.set("exclude_vertical", "1"), n.toString();}-var qfe = (e, t) => [+var Gfe = (e, t) => ["catalog-grid","catalog",e,t-], Jfe = (e, t) => [+], Kfe = (e, t) => ["catalog-grid","entity",e,t];-async function Yfe(e, t, n, r, i) {+async function qfe(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 H(`/api/items?${a}`, i), s = {@@ -32710,22 +32719,22 @@ async function Yfe(e, t, n, r, i) {};return !t && !s.items.length && !r && (s.libraryEmpty = (await H("/api/items?limit=1&thumb=0", i)).total === 0), s;}-var Xfe = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Zfe = (e, t) => {+var Jfe = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Yfe = (e, t) => {let n = t.reduce((e, t) => e + t.items.length, 0);return (e.has_more == null ? n < (e.total || 0) : e.has_more) ? n : void 0;};-function Qfe(e) {- let t = UE(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";+function Xfe(e) {+ let t = KE(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";return {- queryKey: qfe(t, e.revision || 0),- queryFn: ({ pageParam: e, signal: i }) => Yfe(t, e, n, r, i),+ queryKey: Gfe(t, e.revision || 0),+ queryFn: ({ pageParam: e, signal: i }) => qfe(t, e, n, r, i),initialPageParam: 0,- getNextPageParam: Xfe(n)+ getNextPageParam: Jfe(n)};}-function $fe(e) {+function Zfe(e) {return {- queryKey: Jfe(e.entityKey || "", e.revision || 0),+ queryKey: Kfe(e.entityKey || "", e.revision || 0),queryFn: async ({ pageParam: t, signal: n }) => {if (!e.fetchPage) return {items: [],@@ -32740,12 +32749,12 @@ function $fe(e) {};},initialPageParam: 0,- getNextPageParam: Zfe+ getNextPageParam: Yfe};}-async function epe(e, t) {- if (e.mode !== "catalog" || e.wall || VE() === "list") return;- let n = Qfe(e);+async function Qfe(e, t) {+ if (e.mode !== "catalog" || e.wall || WE() === "list") return;+ let n = Xfe(e);await W.fetchInfiniteQuery({...n,queryFn: ({ pageParam: e }) => n.queryFn({@@ -32754,11 +32763,11 @@ async function epe(e, t) {})});}-function tpe(e) {+function $fe(e) {let t = JSON.stringify(e);return W.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;}-function npe(e, t, n) {+function epe(e, t, n) {return n ? e.filter((e) => {let n = e.part_group?.key;if (n) {@@ -32773,24 +32782,24 @@ function npe(e, t, n) {return !0;}) : [...e];}-var WE = (e, t) => !!e && !!ua(e, t);-function rpe(e, t) {- let n = (e) => WE(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) => WE(e, t)) || e[e.length - 1];+var qE = (e, t) => !!e && !!ua(e, t);+function tpe(e, t) {+ let n = (e) => qE(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) => qE(e, t)) || e[e.length - 1];}-function ipe(e, { collapse: t, mix: n, javImage: r }) {+function npe(e, { collapse: t, mix: n, javImage: r }) {let i = {parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()}, a = /* @__PURE__ */ new Set(), o = [], s = [];for (let c of e) {s.push(o.length);- let e = npe(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({+ let e = epe(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({kind: "card",item: e}));if (n && e.length >= 8) {- let t = rpe(e, r);+ let t = tpe(e, r);t && l.splice(7, 0, {kind: "mix",seed: t@@ -32803,16 +32812,16 @@ function ipe(e, { collapse: t, mix: n, javImage: r }) {pageStarts: s};}-function ape(e, t, n) {+function rpe(e, t, n) {let r = Math.max(1, n), i = [];for (let n = Math.max(r, Math.ceil(Math.max(0, t) / r) * r); n < e; n += r) i.push(n);return i;}-function ope(e, t) {+function ipe(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return n.set("orient", "竖屏"), n.set("limit", "18"), n.set("offset", String(t)), n.toString();}-function spe(e, t) {+function ape(e, t) {let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;for (let t of n) r.push({start: i,@@ -32825,10 +32834,10 @@ function spe(e, t) {strip: null}), r;}-function GE(e, t) {- cpe((t) => t.id === e, t);+function JE(e, t) {+ ope((t) => t.id === e, t);}-function cpe(e, t) {+function ope(e, t) {W.setQueriesData({ queryKey: ["catalog-grid", "table"] }, (n) => n?.items.some(e) ? {...n,items: n.items.map((n) => e(n) ? {@@ -32849,34 +32858,34 @@ function cpe(e, t) {} : n)});}-var lpe = (e) => Math.min(Math.max(e || 0, 0), 100), KE = (e) => Math.round(lpe(e) / 20), upe = (e) => {- let t = KE(e);+var spe = (e) => Math.min(Math.max(e || 0, 0), 100), YE = (e) => Math.round(spe(e) / 20), cpe = (e) => {+ let t = YE(e);return t ? `${t} 星` : "未评分";-}, dpe = (e, t) => t === KE(e) ? 0 : t * 20, qE = (e) => ["item", e], JE = (e) => [+}, lpe = (e, t) => t === YE(e) ? 0 : t * 20, XE = (e) => ["item", e], ZE = (e) => ["item-queue",e.kind,e.kind === "playlist" ? e.playlistId : e.seedId-], fpe = (e, t) => [+], upe = (e, t) => ["item-related",e,t-], ppe = (e) => `/api/item?id=${e}`, mpe = (e, t) => `/api/related?id=${e}&limit=${t}`, YE = "/api/playlist", hpe = "/api/feedback", XE = "/api/item-tag", gpe = "/api/watch-later", _pe = "/api/quality-goal", vpe = "/api/preference", ZE = class extends Error {};-async function QE(e, t) {- let n = await H(ppe(e), t);- if (n.error) throw new ZE(n.error);+], dpe = (e) => `/api/item?id=${e}`, fpe = (e, t) => `/api/related?id=${e}&limit=${t}`, QE = "/api/playlist", ppe = "/api/feedback", $E = "/api/item-tag", mpe = "/api/watch-later", hpe = "/api/quality-goal", gpe = "/api/preference", eD = class extends Error {};+async function tD(e, t) {+ let n = await H(dpe(e), t);+ if (n.error) throw new eD(n.error);return n;}-async function $E(e, t, n) {+async function nD(e, t, n) {if (e.kind === "mix") {- let r = e.seedId, [i, a] = await Promise.all([QE(r, n), t.mixRelated(r)]);- return W.setQueryData(qE(i.id), i), {+ let r = e.seedId, [i, a] = await Promise.all([tD(r, n), t.mixRelated(r)]);+ return W.setQueryData(XE(i.id), i), {kind: "mix",seedId: r,title: `Mix · ${Ia(i, t.tagLabel)}`,items: [i, ...a.filter((e) => e.id !== i.id)]};}- if (e.kind === "playlist") return ype(await H(`${YE}?id=${e.playlistId}`, n));+ if (e.kind === "playlist") return _pe(await H(`${QE}?id=${e.playlistId}`, n));let r = await H(`/api/${e.kind}?id=${e.seedId}`, n);if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");return {@@ -32887,19 +32896,19 @@ async function $E(e, t, n) {versionCount: e.kind === "editions" ? r.count : void 0};}-var ype = (e) => ({+var _pe = (e) => ({kind: "playlist",playlistId: e.id,title: e.name,items: e.items || [],currentAssetId: e.current_asset_id-}), bpe = (e) => e.disposal === "vanished";-function eD(e, t) {+}), vpe = (e) => e.disposal === "vanished";+function rD(e, t) {if (e.kind === "mix") return t;- let n = e.kind === "playlist" ? e.items.filter((e) => !bpe(e)) : e.items;+ let n = e.kind === "playlist" ? e.items.filter((e) => !vpe(e)) : e.items;return n.length ? t != null && n.some((e) => e.id === t) ? t : e.kind === "playlist" && n.some((t) => t.id === e.currentAssetId) ? e.currentAssetId : n[0].id : null;}-function xpe(e, t) {+function ype(e, t) {if (t?.kind !== "parts" && t?.kind !== "editions") return e;let n = t.items.find((t) => t.id === e.id)?.part_label || "";return e.part_label === n ? e : {@@ -32907,20 +32916,20 @@ function xpe(e, t) {part_label: n};}-function Spe(e, t) {+function bpe(e, t) {if (!e || e.kind !== "parts" && e.kind !== "editions") return null;let n = e.items.findIndex((e) => e.id === t), r = e.items[n], i = e.items[n + 1];return !r?.part_label || !i?.part_label ? null : e.kind === "parts" || r.version_id != null && r.version_id === i.version_id ? i : null;}-async function Cpe(e, t) {+async function xpe(e, t) {let { queue: n, actions: r } = e, i = null, a = !1;if (n) {- let o = JE(n);+ let o = ZE(n);try {let r = n.fresh ? void 0 : W.getQueryData(o);a = !r && n.kind === "mix", i = r || await W.fetchQuery({queryKey: o,- queryFn: () => $E(n, e.helpers, t),+ queryFn: () => nD(n, e.helpers, t),staleTime: 0});} catch (n) {@@ -32932,21 +32941,21 @@ async function Cpe(e, t) {return;}}- let o = i ? eD(i, e.id) : e.id;+ let o = i ? rD(i, e.id) : e.id;if (o == null) {r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });return;}- let s, c = a && o === i?.seedId ? W.getQueryData(qE(o)) : void 0;+ let s, c = a && o === i?.seedId ? W.getQueryData(XE(o)) : void 0;try {s = c || await W.fetchQuery({- queryKey: qE(o),- queryFn: () => QE(o, t),+ queryKey: XE(o),+ queryFn: () => tD(o, t),staleTime: 0});} catch (e) {if (t.aborted) throw e;- if (e instanceof ZE) {+ if (e instanceof eD) {r.redirect({ kind: "gone" });return;}@@ -32957,7 +32966,7 @@ async function Cpe(e, t) {id: Number(s.follow_item_id)});}-function wpe(e) {+function Spe(e) {let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {let t = an(e.name);return !e.name || n.has(t) ? !1 : (n.add(t), !0);@@ -32979,35 +32988,35 @@ function wpe(e) {unowned: !i.length && !c.length && !String(e.creator || "").trim()};}-function Tpe(e, t) {+function Cpe(e, t) {let n = /* @__PURE__ */ new Map();return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {let r = an(t.tagLabel(e.k)), i = n.get(r);(!i || an(e.k) === r && an(i.k) !== r) && n.set(r, e);}), [...n.values()].slice(0, 40);}-var tD = (e, t) => (e.tags || []).some((e) => an(e.k) === an(t)), Epe = (e, t) => ({+var iD = (e, t) => (e.tags || []).some((e) => an(e.k) === an(t)), wpe = (e, t) => ({...e,tags: (e.tags || []).filter((e) => an(e.k) !== an(t))-}), Dpe = (e, t) => tD(e, t.k) ? e : {+}), Tpe = (e, t) => iD(e, t.k) ? e : {...e,tags: [...e.tags || [], t]-}, Ope = "peach.recentTags";-function kpe() {+}, Epe = "peach.recentTags";+function Dpe() {try {- let e = JSON.parse(localStorage.getItem(Ope) || "[]");+ let e = JSON.parse(localStorage.getItem(Epe) || "[]");return Array.isArray(e) ? e.map(String) : [];} catch {return [];}}-function Ape(e) {+function Ope(e) {try {- let t = kpe().filter((t) => an(t) !== an(e));- localStorage.setItem(Ope, JSON.stringify([e, ...t].slice(0, 12)));+ let t = Dpe().filter((t) => an(t) !== an(e));+ localStorage.setItem(Epe, JSON.stringify([e, ...t].slice(0, 12)));} catch {}}-function jpe(e, t, n) {+function kpe(e, t, n) {let r = an(e), i = new Map(t.map((e) => [an(e.k), e])), a = t.filter((e) => !r || an(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(an(e)) || {k: e,n: 0@@ -33018,73 +33027,73 @@ function jpe(e, t, n) {create: r && !s ? e.trim() : ""};}-var Mpe = {+var Ape = {中字: "subtitle",无码: "uncensored",无码破解: "cracked",有码: "censored"-}, Npe = {+}, jpe = {mix: "Mix",parts: "分卷",editions: "版本",playlist: "播放列表"};-function Ppe(e) {+function Mpe(e) {let t = (e.kind === "editions" ? e.versionCount ?? e.items.length : e.items.length).toLocaleString(), n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;return {- title: Npe[e.kind],+ title: jpe[e.kind],summary: e.kind === "editions" ? n : `${e.title} · ${n}`};}-var nD = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Fpe = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${B(nD(e.part_label))}</small>` : "";-function Ipe(e, t, n, r) {+var aD = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Npe = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${B(aD(e.part_label))}</small>` : "";+function Ppe(e, t, n, r) {let i = e.filter((e) => e !== t), a = i.indexOf(n);return i.splice(a + +!!r, 0, t), i;}-var Lpe = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);-function Rpe(e, t) {+var Fpe = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);+function Ipe(e, t) {return t ? "offline" : String(e.name || "").toLowerCase().endsWith(".iso") ? "disc" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";}-function zpe(e) {+function Lpe(e) {let t = Number(e.duration) > 0 ? Number(e.duration) : 0;return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;}-function Bpe(e, t) {+function Rpe(e, t) {return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";}//#endregion//#region src/react/immerse/immerse.ts-var Vpe = (e, t, n) => [+var zpe = (e, t, n) => ["immerse-list",e,t,n];-function Hpe(e) {+function Bpe(e) {let t = new URLSearchParams();for (let [n, r] of Object.entries(e)) r && t.set(n, String(r));return t.delete("orient"), t.set("sort", "rand"), t.set("limit", "60"), t.set("offset", "0"), t.set("thumb", ""), t.toString();}-var Upe = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));-function Wpe(e, t = Math.random) {+var Vpe = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));+function Hpe(e, t = Math.random) {for (let n = e.length - 1; n > 0; n--) {let r = Math.floor(t() * (n + 1));[e[n], e[r]] = [e[r], e[n]];}return e;}-async function Gpe(e, t) {- return Wpe(((await H(`/api/items?${e}`)).items || []).filter((e) => Upe(e, t)));+async function Upe(e, t) {+ return Hpe(((await H(`/api/items?${e}`)).items || []).filter((e) => Vpe(e, t)));}-var Kpe = (e) => W.ensureQueryData({- queryKey: qE(e),- queryFn: ({ signal: t }) => QE(e, t)+var Wpe = (e) => W.ensureQueryData({+ queryKey: XE(e),+ queryFn: ({ signal: t }) => tD(e, t)});-function qpe(e, t) {+function Gpe(e, t) {let n = new Set(e.map((e) => e.id));return e.concat(t.filter((e) => !n.has(e.id)));}-function Jpe(e) {+function Kpe(e) {let t = e.performers || [], n = t.length ? t.slice(0, 3).join("、") + (t.length > 3 ? ` 等 ${t.length} 人` : "") : e.creator || "未归属", r = t.length ? "performer" : e.creator ? "creator" : "";return {who: n,@@ -33093,306 +33102,306 @@ function Jpe(e) {ref: r && e.entity_refs?.[r]?.[0] || null};}-function Ype(e, t, n) {+function qpe(e, t, n) {if (!e || !t || !n || !Number.isFinite(n)) return null;let r = e / t;return (r > n ? r / n : n / r) > 1.05 ? "contain" : "cover";}-function Xpe(e, t) {+function Jpe(e, t) {return e.videoWidth && e.videoHeight ? e.videoWidth >= e.videoHeight : !!(t.width && t.height && t.width > 0 && t.height > 0 && t.width >= t.height);}-var Zpe = 15e3, Qpe = {+var Ype = 15e3, Xpe = {open: !1,idle: !1,wide: !1,loading: null,shown: null-}, rD = null, iD = null, aD = Qpe, oD = /* @__PURE__ */ new Set(), sD = 0, $pe = 0, cD = 0, eme = "", lD = [], uD = 0, dD = !1, fD = !1, pD = null, mD = /* @__PURE__ */ new Set(), hD = "", gD = null, _D = 0, vD = null, yD = !1;-function bD() {- if (!rD) throw Error("沉浸模式还没有接上宿主(configureImmerse)");- return rD;+}, oD = null, sD = null, cD = Xpe, lD = /* @__PURE__ */ new Set(), uD = 0, Zpe = 0, dD = 0, Qpe = "", fD = [], pD = 0, mD = !1, hD = !1, gD = null, _D = /* @__PURE__ */ new Set(), vD = "", yD = null, bD = 0, xD = null, SD = !1;+function CD() {+ if (!oD) throw Error("沉浸模式还没有接上宿主(configureImmerse)");+ return oD;}-function tme(e) {- return oD.add(e), () => {- oD.delete(e);+function $pe(e) {+ return lD.add(e), () => {+ lD.delete(e);};}-function nme() {- for (let e of [...oD]) e();+function eme() {+ for (let e of [...lD]) e();}-function xD() {- (0, bt.flushSync)(nme);+function wD() {+ (0, bt.flushSync)(eme);}-function rme() {- let e = gD ? qde(gD.id) : 0;- return e ? `${hD} · ${hE(e)}` : hD;+function tme() {+ let e = yD ? Gde(yD.id) : 0;+ return e ? `${vD} · ${_E(e)}` : vD;}-function SD(e, t = null) {- clearInterval(_D), _D = 0, e === null ? (aD = {- ...aD,+function TD(e, t = null) {+ clearInterval(bD), bD = 0, e === null ? (cD = {+ ...cD,loading: null- }, xD()) : (hD = e, gD = t, aD = {- ...aD,- loading: rme()- }, xD(), _D = window.setInterval(() => {- gD = lD[uD] ?? null, aD = {- ...aD,- loading: rme()- }, xD();+ }, wD()) : (vD = e, yD = t, cD = {+ ...cD,+ loading: tme()+ }, wD(), bD = window.setInterval(() => {+ yD = fD[pD] ?? null, cD = {+ ...cD,+ loading: tme()+ }, wD();}, 500));}-function ime(e) {+function nme(e) {let t = document.createElement("div");t.dataset.immerseSlide = "", e && (t.style.transform = `translateY(${e}%)`);let n = document.createElement("video");- n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), iD.track.append(t);- let r = Tfe(), i = () => {}, a = {+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), sD.track.append(t);+ let r = Cfe(), i = () => {}, a = {el: t,video: n,session: r,- release: () => DE(r),+ release: () => AE(r),disposed: !1,gone: new Promise((e) => {i = e;}),leave: i};- return mD.add(a), a;+ return _D.add(a), a;}-function ame(e, t) {+function rme(e, t) {return new Promise((n) => {- e.release = IE(e.video, {+ e.release = zE(e.video, {kind: "immerse",item: t,session: e.session,onLoaded: n,onEnded: () => {- aD.open && TD(1);+ cD.open && OD(1);}}), e.gone.then(n);});}-function CD(e) {- e && !e.disposed && (e.disposed = !0, mD.delete(e), e.leave(), e.release(), e.el.remove(), pD === e && (pD = null));+function ED(e) {+ e && !e.disposed && (e.disposed = !0, _D.delete(e), e.leave(), e.release(), e.el.remove(), gD === e && (gD = null));}-var ome = [+var ime = ["loadeddata","canplay","error"];-function sme(e) {+function ame(e) {let { video: t } = e;return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {let r = !1, i = () => {- r || (r = !0, clearTimeout(a), ome.forEach((e) => t.removeEventListener(e, i)), n());+ r || (r = !0, clearTimeout(a), ime.forEach((e) => t.removeEventListener(e, i)), n());};- ome.forEach((e) => t.addEventListener(e, i, { once: !0 }));- let a = setTimeout(i, Zpe);+ ime.forEach((e) => t.addEventListener(e, i, { once: !0 }));+ let a = setTimeout(i, Ype);e.gone.then(i);});}-function wD(e) {- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Ype(e.videoWidth, e.videoHeight, n);+function DD(e) {+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = qpe(e.videoWidth, e.videoHeight, n);r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;}-var cme = () => iD?.track.querySelectorAll("video").forEach(wD);-function lme(e) {- delete e.dataset.fit, e.readyState >= 1 ? wD(e) : e.addEventListener("loadedmetadata", () => wD(e), { once: !0 });+var ome = () => sD?.track.querySelectorAll("video").forEach(DD);+function sme(e) {+ delete e.dataset.fit, e.readyState >= 1 ? DD(e) : e.addEventListener("loadedmetadata", () => DD(e), { once: !0 });}-function ume(e) {- aD = {- ...aD,+function cme(e) {+ cD = {+ ...cD,wide: e- }, xD(), cme();+ }, wD(), ome();}-var dme = () => {- let e = eme;+var lme = () => {+ let e = Qpe;return W.fetchQuery({- queryKey: Vpe(e, $pe, cD),- queryFn: () => Gpe(e, bD().sourceOffline),+ queryKey: zpe(e, Zpe, dD),+ queryFn: () => Upe(e, CD().sourceOffline),staleTime: Infinity});};-function fme(e, t) {+function ume(e, t) {let n = () => cn(e.duration) || cn(t.duration);e.addEventListener("timeupdate", () => {let t = n();- t && iD && (iD.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);- }), vD = {+ t && sD && (sD.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);+ }), xD = {video: e,duration: n};}-async function pme(e = 0) {- let t = lD[uD];- if (!t || dD) return;- let n = sD;- bD().route(t.id), dD = !0, SD(e ? "切换中…" : "加载中…", t);+async function dme(e = 0) {+ let t = fD[pD];+ if (!t || mD) return;+ let n = uD;+ CD().route(t.id), mD = !0, TD(e ? "切换中…" : "加载中…", t);let r = null;try {- if (await Kpe(t.id).catch((e) => {- if (!(e instanceof ZE)) throw e;- }), n !== sD) return;- let i = pD, a = !!(e && i);- a || CD(i);- let o = ime(a ? e > 0 ? 100 : -100 : 0);- if (r = o, lme(o.video), await ame(o, t), await sme(o), o.disposed || (ume(Xpe(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {+ if (await Wpe(t.id).catch((e) => {+ if (!(e instanceof eD)) throw e;+ }), n !== uD) return;+ let i = gD, a = !!(e && i);+ a || ED(i);+ let o = nme(a ? e > 0 ? 100 : -100 : 0);+ if (r = o, sme(o.video), await rme(o, t), await ame(o), o.disposed || (cme(Jpe(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {i.el.style.transform = `translateY(${e > 0 ? -100 : 100}%)`, o.el.style.transform = "";- })), await new Promise((e) => setTimeout(e, 210)), CD(i), o.el.style.transform = ""), o.disposed)) return;- pD = o, r = null, o.video.play()?.catch(() => {}), aD = {- ...aD,+ })), await new Promise((e) => setTimeout(e, 210)), ED(i), o.el.style.transform = ""), o.disposed)) return;+ gD = o, r = null, o.video.play()?.catch(() => {}), cD = {+ ...cD,idle: !1,shown: {item: t,- index: uD,- length: lD.length+ index: pD,+ length: fD.length}- }, fme(o.video, t), U("/api/play", { id: t.id }).catch(() => {}), SD(null);+ }, ume(o.video, t), U("/api/play", { id: t.id }).catch(() => {}), TD(null);} catch {- CD(r), n === sD && SD(null);+ ED(r), n === uD && TD(null);} finally {- n === sD && (dD = !1);+ n === uD && (mD = !1);}}-async function TD(e) {- if (dD || !aD.open) return;- let t = sD;- if (uD += e, SD("切换中…", lD[uD] ?? null), uD >= lD.length - 3 && !fD) {- fD = !0;+async function OD(e) {+ if (mD || !cD.open) return;+ let t = uD;+ if (pD += e, TD("切换中…", fD[pD] ?? null), pD >= fD.length - 3 && !hD) {+ hD = !0;try {- cD += 1;- let e = await dme();- t === sD && (lD = qpe(lD, e));+ dD += 1;+ let e = await lme();+ t === uD && (fD = Gpe(fD, e));} catch {} finally {- fD = !1;+ hD = !1;}}- t === sD && (uD >= lD.length && (uD = 0), uD < 0 && (uD = lD.length - 1), await pme(e));+ t === uD && (pD >= fD.length && (pD = 0), pD < 0 && (pD = fD.length - 1), await dme(e));}-async function mme(e) {- let t = ++sD;- hme(), $pe += 1, cD = 0, eme = Hpe(bD().filters()), W.removeQueries({ queryKey: ["immerse-list"] }), aD = {- ...aD,+async function fme(e) {+ let t = ++uD;+ pme(), Zpe += 1, dD = 0, Qpe = Bpe(CD().filters()), W.removeQueries({ queryKey: ["immerse-list"] }), cD = {+ ...cD,open: !0,idle: !0,shown: null- }, document.body.setAttribute("data-immerse-open", ""), SD("加载内容…");+ }, document.body.setAttribute("data-immerse-open", ""), TD("加载内容…");try {- let n = await dme();+ let n = await lme();if (e && !n.some((t) => t.id === e)) {- let t = await Kpe(e).catch((e) => {- if (e instanceof ZE) return null;+ let t = await Wpe(e).catch((e) => {+ if (e instanceof eD) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);}- if (t !== sD) return;- if (lD = n, !lD.length) {- ED(), bD().warn("当前筛选下没有可直接播放的内容");+ if (t !== uD) return;+ if (fD = n, !fD.length) {+ kD(), CD().warn("当前筛选下没有可直接播放的内容");return;}- uD = Math.max(0, lD.findIndex((t) => t.id === e)), await pme();+ pD = Math.max(0, fD.findIndex((t) => t.id === e)), await dme();} catch {- if (t !== sD) return;- SD(null), ED();+ if (t !== uD) return;+ TD(null), kD();}}-function hme() {- clearInterval(_D), _D = 0, AD(), kD = null, vD = null, yD = !1, [...mD].forEach(CD), dD = !1;+function pme() {+ clearInterval(bD), bD = 0, ND(), MD = null, xD = null, SD = !1, [..._D].forEach(ED), mD = !1;}-function ED() {- aD.open && (sD++, hme(), aD = Qpe, document.body.removeAttribute("data-immerse-open"), xD(), bD().closed());+function kD() {+ cD.open && (uD++, pme(), cD = Xpe, document.body.removeAttribute("data-immerse-open"), wD(), CD().closed());}-var DD = 0, OD = null, gme = 0, kD = null, _me = 0;-function AD() {- clearTimeout(DD), DD = 0, OD = null;+var AD = 0, jD = null, mme = 0, MD = null, hme = 0;+function ND() {+ clearTimeout(AD), AD = 0, jD = null;}-function vme(e) {- let t = pD?.video;+function gme(e) {+ let t = gD?.video;if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();- OD && OD.side === n && r - OD.at <= 280 ? (AD(), Ufe(t, bD().seekSeconds() * n)) : (DD && (clearTimeout(DD), DD = 0, LE(t)), OD = {+ jD && jD.side === n && r - jD.at <= 280 ? (ND(), Vfe(t, CD().seekSeconds() * n)) : (AD && (clearTimeout(AD), AD = 0, BE(t)), jD = {side: n,at: r- }, DD = window.setTimeout(() => {- DD = 0, OD = null, aD.open && LE(pD?.video);+ }, AD = window.setTimeout(() => {+ AD = 0, jD = null, cD.open && BE(gD?.video);}, 280));}-function yme() {- Date.now() < gme || LE(pD?.video);+function _me() {+ Date.now() < mme || BE(gD?.video);}-var jD = (e) => iD?.bar.toggleAttribute("data-scrubbing", e);-function MD(e) {- iD && (iD.progress.style.width = `${(e * 100).toFixed(2)}%`);+var PD = (e) => sD?.bar.toggleAttribute("data-scrubbing", e);+function FD(e) {+ sD && (sD.progress.style.width = `${(e * 100).toFixed(2)}%`);}-function bme(e) {+function vme(e) {let t = e.target;if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {- kD = null;+ MD = null;return;}- let n = pD?.video;- kD = {+ let n = gD?.video;+ MD = {x: e.touches[0].clientX,y: e.touches[0].clientY,axis: "",from: n && n.currentTime || 0};}-function xme(e) {- if (!kD || e.touches.length !== 1) return;- let t = e.touches[0].clientX - kD.x, n = e.touches[0].clientY - kD.y;- if (!kD.axis) {+function yme(e) {+ if (!MD || e.touches.length !== 1) return;+ let t = e.touches[0].clientX - MD.x, n = e.touches[0].clientY - MD.y;+ if (!MD.axis) {if (Math.abs(t) < 12 && Math.abs(n) < 12) return;- kD.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", kD.axis === "x" && jD(!0);+ MD.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", MD.axis === "x" && PD(!0);}- if (kD.axis !== "x") return;- let r = pD?.video, i = r && r.duration || 0;- i && (e.preventDefault(), kD.to = Math.min(i, Math.max(0, kD.from + t / window.innerWidth * i)), MD(kD.to / i));+ if (MD.axis !== "x") return;+ let r = gD?.video, i = r && r.duration || 0;+ i && (e.preventDefault(), MD.to = Math.min(i, Math.max(0, MD.from + t / window.innerWidth * i)), FD(MD.to / i));}-function Sme(e) {- if (!kD) return;- let t = kD;- if (kD = null, gme = Date.now() + 700, jD(!1), t.axis === "x") {- let e = pD?.video;+function bme(e) {+ if (!MD) return;+ let t = MD;+ if (MD = null, mme = Date.now() + 700, PD(!1), t.axis === "x") {+ let e = gD?.video;e && t.to != null && (e.currentTime = t.to);return;}let n = e.changedTouches[0], r = n.clientX - t.x, i = t.y - n.clientY;- Math.abs(i) > 60 ? (AD(), TD(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), vme(n.clientX));+ Math.abs(i) > 60 ? (ND(), OD(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), gme(n.clientX));}-function Cme() {- kD = null, jD(!1);+function xme() {+ MD = null, PD(!1);}-function wme(e) {+function Sme(e) {let t = Date.now();- t - _me < 260 || (_me = t, TD(e.deltaY > 0 ? 1 : -1));+ t - hme < 260 || (hme = t, OD(e.deltaY > 0 ? 1 : -1));}-function ND(e) {- let t = iD.bar.getBoundingClientRect();+function ID(e) {+ let t = sD.bar.getBoundingClientRect();return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));}-function Tme(e) {- vD?.duration() && (yD = !0, jD(!0), e.currentTarget.setPointerCapture(e.pointerId), MD(ND(e)), e.preventDefault());+function Cme(e) {+ xD?.duration() && (SD = !0, PD(!0), e.currentTarget.setPointerCapture(e.pointerId), FD(ID(e)), e.preventDefault());}-function Eme(e) {- yD && MD(ND(e));+function wme(e) {+ SD && FD(ID(e));}-function Dme(e) {- if (!yD) return;- yD = !1, jD(!1);- let t = vD?.duration();- vD && t && (vD.video.currentTime = t * ND(e));+function Tme(e) {+ if (!SD) return;+ SD = !1, PD(!1);+ let t = xD?.duration();+ xD && t && (xD.video.currentTime = t * ID(e));}-function Ome() {- yD = !1, jD(!1);+function Eme() {+ SD = !1, PD(!1);}-async function PD(e, t) {- let n = await U(hpe, {+async function LD(e, t) {+ let n = await U(ppe, {id: e,kind: t- }), r = W.getQueryData(qE(e));- if (!r) return GE(e, {+ }), r = W.getQueryData(XE(e));+ if (!r) return JE(e, {feedback: n.feedback ?? void 0,o_count: n.o_count}), n;@@ -33401,7 +33410,7 @@ async function PD(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return W.setQueryData(qE(e), i), GE(e, {+ return W.setQueryData(XE(e), i), JE(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -33409,7 +33418,7 @@ async function PD(e, t) {o_count: i.o_count}), n;}-var kme = [+var Dme = [{kind: "dislike",glyph: "thumbs-down",@@ -33426,31 +33435,31 @@ var kme = [label: "记一次高潮"}];-function Ame(e) {+function Ome(e) {return _t({- queryKey: qE(e ?? 0),- queryFn: ({ signal: t }) => QE(e, t),+ queryKey: XE(e ?? 0),+ queryFn: ({ signal: t }) => tD(e, t),enabled: e != null,staleTime: Infinity}).data;}-function jme({ kind: e, glyph: t, label: n, id: r }) {- let i = Ame(r), a = vt({+function kme({ kind: e, glyph: t, label: n, id: r }) {+ let i = Ome(r), a = vt({mutationFn: async (t) => {- let n = W.getQueryData(qE(t))?.feedback || null;+ let n = W.getQueryData(XE(t))?.feedback || null;return {- result: await PD(t, e),+ result: await LD(t, e),before: n};},onSuccess: ({ result: t, before: n }, r) => {- bD().toast(Bpe(e, t), { undo: async () => {- e === "o" ? await PD(r, "o-undo") : (t.feedback && await PD(r, t.feedback), n && await PD(r, n));+ CD().toast(Rpe(e, t), { undo: async () => {+ e === "o" ? await LD(r, "o-undo") : (t.feedback && await LD(r, t.feedback), n && await LD(r, n));} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {- TD(1);+ OD(1);}, 260);},- onError: (e) => bD().failure("更新反馈", e)+ onError: (e) => CD().failure("更新反馈", e)}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;return /* @__PURE__ */ (0, D.jsxs)("div", {"data-immerse-action": "",@@ -33481,11 +33490,11 @@ function jme({ kind: e, glyph: t, label: n, id: r }) {})]});}-function Mme({ shown: e }) {- let t = e?.item ?? null, n = Ame(t?.id ?? null), r = n ? Jpe(n) : null, i = bD(), a = (e) => {- e.preventDefault(), n && (ED(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());+function Ame({ shown: e }) {+ let t = e?.item ?? null, n = Ome(t?.id ?? null), r = n ? Kpe(n) : null, i = CD(), a = (e) => {+ e.preventDefault(), n && (kD(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {- t && (ED(), i.openItem(t.id));+ t && (kD(), i.openItem(t.id));}, s = r ? Sa(r.name, r.ref, oa(r.name), r.kind || "performer") : "";return /* @__PURE__ */ (0, D.jsxs)("div", {"data-immerse-ui": "",@@ -33514,18 +33523,18 @@ function Mme({ shown: e }) {})]});}-var Nme = { __html: Ro("媒体加载中") };-function Pme({ view: e }) {+var jme = { __html: Ro("媒体加载中") };+function Mme({ view: e }) {let t = (0, E.useRef)(null), n = (0, E.useRef)(null), r = (0, E.useRef)(null), i = (0, E.useRef)(null);(0, E.useLayoutEffect)(() => {let e = t.current;- return iD = {+ return sD = {root: e,track: n.current,bar: r.current,progress: i.current- }, e.addEventListener("touchstart", bme, { passive: !0 }), e.addEventListener("touchmove", xme, { passive: !1 }), e.addEventListener("touchend", Sme, { passive: !1 }), e.addEventListener("touchcancel", Cme, { passive: !0 }), e.addEventListener("wheel", wme, { passive: !0 }), () => {- e.removeEventListener("touchstart", bme), e.removeEventListener("touchmove", xme), e.removeEventListener("touchend", Sme), e.removeEventListener("touchcancel", Cme), e.removeEventListener("wheel", wme), iD = null;+ }, e.addEventListener("touchstart", vme, { passive: !0 }), e.addEventListener("touchmove", yme, { passive: !1 }), e.addEventListener("touchend", bme, { passive: !1 }), e.addEventListener("touchcancel", xme, { passive: !0 }), e.addEventListener("wheel", Sme, { passive: !0 }), () => {+ e.removeEventListener("touchstart", vme), e.removeEventListener("touchmove", yme), e.removeEventListener("touchend", bme), e.removeEventListener("touchcancel", xme), e.removeEventListener("wheel", Sme), sD = null;};}, []);let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;@@ -33542,10 +33551,10 @@ function Pme({ view: e }) {children: [/* @__PURE__ */ (0, D.jsx)("div", {ref: n,"data-immerse-track": "",- onClick: yme+ onClick: _me}), /* @__PURE__ */ (0, D.jsx)("div", {"data-immerse-actions": "",- children: kme.map((e) => /* @__PURE__ */ (0, D.jsx)(jme, {+ children: Dme.map((e) => /* @__PURE__ */ (0, D.jsx)(kme, {...e,id: a}, e.kind))@@ -33558,7 +33567,7 @@ function Pme({ view: e }) {hidden: e.loading === null,children: [/* @__PURE__ */ (0, D.jsx)("span", {"data-immerse-spinner": "",- dangerouslySetInnerHTML: Nme+ dangerouslySetInnerHTML: jme}), /* @__PURE__ */ (0, D.jsx)("span", { children: e.loading ?? "" })]}),/* @__PURE__ */ (0, D.jsx)("button", {@@ -33566,7 +33575,7 @@ function Pme({ view: e }) {"data-immerse-close": "",title: "关闭","aria-label": "关闭",- onClick: ED,+ onClick: kD,children: /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-x" })@@ -33575,90 +33584,90 @@ function Pme({ view: e }) {/* @__PURE__ */ (0, D.jsx)("div", {ref: r,"data-immerse-bar": "",- onPointerDown: Tme,- onPointerMove: Eme,- onPointerUp: Dme,- onPointerCancel: Ome,+ onPointerDown: Cme,+ onPointerMove: wme,+ onPointerUp: Tme,+ onPointerCancel: Eme,children: /* @__PURE__ */ (0, D.jsx)("i", { ref: i })}),- /* @__PURE__ */ (0, D.jsx)(Mme, { shown: e.shown })+ /* @__PURE__ */ (0, D.jsx)(Ame, { shown: e.shown })]});}-var Fme = {- open: mme,- close: ED,- isOpen: () => aD.open,- activeVideo: () => aD.open ? pD?.video ?? null : null+var Nme = {+ open: fme,+ close: kD,+ isOpen: () => cD.open,+ activeVideo: () => cD.open ? gD?.video ?? null : null};-function Ime(e) {- if (!aD.open) return;+function Pme(e) {+ if (!cD.open) return;let t = e.target;- (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && TD(1), e.key === "ArrowUp" && TD(-1)));+ (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && OD(1), e.key === "ArrowUp" && OD(-1)));}-function Lme(e) {- let t = !rD;- return rD = e, t && (document.addEventListener("keydown", Ime), addEventListener("resize", () => {- aD.open && cme();+function Fme(e) {+ let t = !oD;+ return oD = e, t && (document.addEventListener("keydown", Pme), addEventListener("resize", () => {+ cD.open && ome();}), addEventListener("pagehide", () => {- mD.forEach((e) => DE(e.session));- })), Fme;+ _D.forEach((e) => AE(e.session));+ })), Nme;}-function Rme() {- let e = (0, E.useSyncExternalStore)(tme, () => aD);- return rD ? /* @__PURE__ */ (0, D.jsx)(Pme, { view: e }) : null;+function Ime() {+ let e = (0, E.useSyncExternalStore)($pe, () => cD);+ return oD ? /* @__PURE__ */ (0, D.jsx)(Mme, { view: e }) : null;}//#endregion//#region src/manage-header.ts-var zme = {+var Lme = {"/junk-files": "垃圾文件","/duplicates": "重复文件","/review": "人工复核","/trash": "回收站","/quality-goals": "高清版","/sources": "来源和凭证"-}, Bme = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);-function Vme(e) {- let t = zme[e.path] ? "cleanup" : e.section;+}, Rme = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);+function zme(e) {+ let t = Lme[e.path] ? "cleanup" : e.section;return e.menu.some(([e]) => e === t) ? t : "";}-var Hme = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;-function FD(e) {+var Bme = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;+function RD(e) {let t = e.sections.find(([t]) => t === e.section);if (!t) return null;- let n = zme[e.path] ?? "";+ let n = Lme[e.path] ?? "";return {title: e.section === "cleanup" && n || t[1],- pressed: Vme(e),+ pressed: zme(e),crumb: n,- compact: Bme.has(e.path) || e.section === "configuration",+ compact: Rme.has(e.path) || e.section === "configuration",lede: e.section === "trash" ? e.trash ? {kind: "count",- text: Hme(e.trash),+ text: Bme(e.trash),total: e.trash.total} : { kind: "skeleton" } : { kind: "none" }};}-var ID = (e) => e.replace(/[&<>"']/g, (e) => ({+var zD = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), Ume = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${ID(e)}"/></svg>`, Wme = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";-function Gme(e) {- let t = FD(e);+})[e]), Vme = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${zD(e)}"/></svg>`, Hme = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";+function Ume(e) {+ let t = RD(e);if (!t) return "";let n = e.menu.map(([e, n, r]) => {let i = e === t.pressed;- return `<button type="button" data-manage="${ID(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${Ume(r)}<span>${ID(n)}</span></button>`;- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${Ume("chevron-right")}</li><li aria-current="true"><span>${ID(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? Wme : `<span data-lede-text="">${ID(t.lede.text)}</span>${t.lede.total ? Kme : ""}`}</p>`;- return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${ID(t.title)}</h2>` + i;+ return `<button type="button" data-manage="${zD(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${Vme(r)}<span>${zD(n)}</span></button>`;+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${Vme("chevron-right")}</li><li aria-current="true"><span>${zD(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? Hme : `<span data-lede-text="">${zD(t.lede.text)}</span>${t.lede.total ? Wme : ""}`}</p>`;+ return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${zD(t.title)}</h2>` + i;}-var Kme = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";+var Wme = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";//#endregion//#region src/react/settings-panel/icon.tsx-function LD({ name: e }) {+function BD({ name: e }) {let { wide: t, viewBox: n } = Bt(e);return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: n,@@ -33667,7 +33676,7 @@ function LD({ name: e }) {children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })});}-function qme({ name: e }) {+function Gme({ name: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -33676,88 +33685,88 @@ function qme({ name: e }) {}//#endregion//#region node_modules/tailwind-merge/dist/bundle-mjs.mjs-var Jme = (e, t) => {+var Kme = (e, t) => {let n = Array(e.length + t.length);for (let t = 0; t < e.length; t++) n[t] = e[t];for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];return n;-}, Yme = (e, t) => ({+}, qme = (e, t) => ({classGroupId: e,validator: t-}), Xme = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), Jme = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), RD = "-", Zme = [], Qme = "arbitrary..", $me = (e) => {- let t = nhe(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), VD = "-", Yme = [], Xme = "arbitrary..", Zme = (e) => {+ let t = ehe(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return the(e);- let n = e.split(RD);- return ehe(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return $me(e);+ let n = e.split(VD);+ return Qme(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? Jme(i, t) : t : i || Zme;+ return t ? i ? Kme(i, t) : t : i || Yme;}- return n[e] || Zme;+ return n[e] || Yme;}};-}, ehe = (e, t, n) => {+}, Qme = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = ehe(e, t + 1, i);+ let n = Qme(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(RD) : e.slice(t).join(RD), s = a.length;+ let o = t === 0 ? e.join(VD) : e.slice(t).join(VD), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, the = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, $me = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);- return r ? Qme + r : void 0;-})(), nhe = (e) => {+ return r ? Xme + r : void 0;+})(), ehe = (e) => {let { theme: t, classGroups: n } = e;- return rhe(n, t);-}, rhe = (e, t) => {- let n = Xme();+ return the(n, t);+}, the = (e, t) => {+ let n = Jme();for (let r in e) {let i = e[r];- zD(i, n, r, t);+ HD(i, n, r, t);}return n;-}, zD = (e, t, n, r) => {+}, HD = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- ihe(i, t, n, r);+ nhe(i, t, n, r);}-}, ihe = (e, t, n, r) => {- typeof e == "string" ? ahe(e, t, n) : typeof e == "function" ? ohe(e, t, n, r) : she(e, t, n, r);-}, ahe = (e, t, n) => {- let r = e === "" ? t : che(t, e);+}, nhe = (e, t, n, r) => {+ typeof e == "string" ? rhe(e, t, n) : typeof e == "function" ? ihe(e, t, n, r) : ahe(e, t, n, r);+}, rhe = (e, t, n) => {+ let r = e === "" ? t : ohe(t, e);r.classGroupId = n;-}, ohe = (e, t, n, r) => {- lhe(e) ? zD(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Yme(n, e)));-}, she = (e, t, n, r) => {+}, ihe = (e, t, n, r) => {+ she(e) ? HD(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(qme(n, e)));+}, ahe = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- zD(o, che(t, a), n, r);+ HD(o, ohe(t, a), n, r);}-}, che = (e, t) => {- let n = e, r = t.split(RD), i = r.length;+}, ohe = (e, t) => {+ let n = e, r = t.split(VD), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = Xme(), n.nextPart.set(t, i)), n = i;+ i || (i = Jme(), n.nextPart.set(t, i)), n = i;}return n;-}, lhe = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, uhe = (e) => {+}, she = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, che = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -33775,19 +33784,19 @@ var Jme = (e, t) => {e in n ? n[e] = t : i(e, t);}};-}, BD = "!", dhe = ":", fhe = [], phe = (e, t, n, r, i) => ({+}, UD = "!", lhe = ":", uhe = [], dhe = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), mhe = (e) => {+}), fhe = (e) => {let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {let t = [], n = 0, r = 0, i = 0, a, o = e.length;for (let s = 0; s < o; s++) {let o = e[s];if (n === 0 && r === 0) {- if (o === dhe) {+ if (o === lhe) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -33799,13 +33808,13 @@ var Jme = (e, t) => {o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;}let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;- s.endsWith(BD) ? (c = s.slice(0, -1), l = !0) : s.startsWith(BD) && (c = s.slice(1), l = !0);+ s.endsWith(UD) ? (c = s.slice(0, -1), l = !0) : s.startsWith(UD) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return phe(t, l, c, u);+ return dhe(t, l, c, u);};if (t) {- let e = t + dhe, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : phe(fhe, !1, t, void 0, !0);+ let e = t + lhe, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : dhe(uhe, !1, t, void 0, !0);}if (n) {let e = r;@@ -33815,7 +33824,7 @@ var Jme = (e, t) => {});}return r;-}, hhe = (e) => {+}, phe = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -33827,18 +33836,18 @@ var Jme = (e, t) => {}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, ghe = (e) => ({- cache: uhe(e.cacheSize),- parseClassName: mhe(e),- sortModifiers: hhe(e),- postfixLookupClassGroupIds: _he(e),- ...$me(e)-}), _he = (e) => {+}, mhe = (e) => ({+ cache: che(e.cacheSize),+ parseClassName: fhe(e),+ sortModifiers: phe(e),+ postfixLookupClassGroupIds: hhe(e),+ ...Zme(e)+}), hhe = (e) => {let t = Object.create(null), n = e.postfixLookupClassGroups;if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;return t;-}, vhe = /\s+/, yhe = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(vhe), l = "";+}, ghe = /\s+/, _he = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(ghe), l = "";for (let e = c.length - 1; e >= 0; --e) {let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);if (u) {@@ -33858,7 +33867,7 @@ var Jme = (e, t) => {}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + BD : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + UD : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -33869,34 +33878,34 @@ var Jme = (e, t) => {l = t + (l.length > 0 ? " " + l : l);}return l;-}, bhe = (...e) => {+}, vhe = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = xhe(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = yhe(n)) && (i && (i += " "), i += r);return i;-}, xhe = (e) => {+}, yhe = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = xhe(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = yhe(e[r])) && (n && (n += " "), n += t);return n;-}, She = (e, ...t) => {- let n, r, i, a, o = (o) => (n = ghe(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, bhe = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = mhe(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {let t = r(e);if (t) return t;- let a = yhe(e, n);+ let a = _he(e, n);return i(e, a), a;};- return a = o, (...e) => a(bhe(...e));-}, Che = [], VD = (e) => {- let t = (t) => t[e] || Che;+ return a = o, (...e) => a(vhe(...e));+}, xhe = [], WD = (e) => {+ let t = (t) => t[e] || xhe;return t.isThemeGetter = !0, t.themeKey = e, t;-}, whe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, The = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ehe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Dhe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ohe = /\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$/, khe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Ahe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, jhe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, HD = (e) => Ehe.test(e), UD = (e) => !!e && !Number.isNaN(Number(e)), WD = (e) => !!e && Number.isInteger(Number(e)), GD = (e) => e.endsWith("%") && UD(e.slice(0, -1)), KD = (e) => Dhe.test(e), Mhe = () => !0, Nhe = (e) => Ohe.test(e) && !khe.test(e), qD = () => !1, Phe = (e) => Ahe.test(e), Fhe = (e) => jhe.test(e), Ihe = (e) => !JD(e) && !ZD(e), Lhe = (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)), Rhe = (e) => eO(e, Zhe, qD), JD = (e) => whe.test(e), YD = (e) => eO(e, Qhe, Nhe), zhe = (e) => eO(e, $he, UD), Bhe = (e) => eO(e, tge, Mhe), Vhe = (e) => eO(e, ege, qD), Hhe = (e) => eO(e, Yhe, qD), Uhe = (e) => eO(e, Xhe, Fhe), XD = (e) => eO(e, nge, Phe), ZD = (e) => The.test(e), QD = (e) => tO(e, Qhe), Whe = (e) => tO(e, ege), Ghe = (e) => tO(e, Yhe), Khe = (e) => tO(e, Zhe), qhe = (e) => tO(e, Xhe), $D = (e) => tO(e, nge, !0), Jhe = (e) => tO(e, tge, !0), eO = (e, t, n) => {- let r = whe.exec(e);+}, She = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Che = /^\((?:(\w[\w-]*):)?(.+)\)$/i, whe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, The = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ehe = /\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$/, Dhe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Ohe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, khe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, GD = (e) => whe.test(e), KD = (e) => !!e && !Number.isNaN(Number(e)), qD = (e) => !!e && Number.isInteger(Number(e)), JD = (e) => e.endsWith("%") && KD(e.slice(0, -1)), YD = (e) => The.test(e), Ahe = () => !0, jhe = (e) => Ehe.test(e) && !Dhe.test(e), XD = () => !1, Mhe = (e) => Ohe.test(e), Nhe = (e) => khe.test(e), Phe = (e) => !ZD(e) && !eO(e), Fhe = (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)), Ihe = (e) => rO(e, Yhe, XD), ZD = (e) => She.test(e), QD = (e) => rO(e, Xhe, jhe), Lhe = (e) => rO(e, Zhe, KD), Rhe = (e) => rO(e, $he, Ahe), zhe = (e) => rO(e, Qhe, XD), Bhe = (e) => rO(e, qhe, XD), Vhe = (e) => rO(e, Jhe, Nhe), $D = (e) => rO(e, ege, Mhe), eO = (e) => Che.test(e), tO = (e) => iO(e, Xhe), Hhe = (e) => iO(e, Qhe), Uhe = (e) => iO(e, qhe), Whe = (e) => iO(e, Yhe), Ghe = (e) => iO(e, Jhe), nO = (e) => iO(e, ege, !0), Khe = (e) => iO(e, $he, !0), rO = (e, t, n) => {+ let r = She.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, tO = (e, t, n = !1) => {- let r = The.exec(e);+}, iO = (e, t, n = !1) => {+ let r = Che.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, Yhe = (e) => e === "position" || e === "percentage", Xhe = (e) => e === "image" || e === "url", Zhe = (e) => e === "length" || e === "size" || e === "bg-size", Qhe = (e) => e === "length", $he = (e) => e === "number", ege = (e) => e === "family-name", tge = (e) => e === "number" || e === "weight", nge = (e) => e === "shadow", rge = () => {- let e = VD("color"), t = VD("font"), n = VD("text"), r = VD("font-weight"), i = VD("tracking"), a = VD("leading"), o = VD("breakpoint"), s = VD("container"), c = VD("spacing"), l = VD("radius"), u = VD("shadow"), d = VD("inset-shadow"), f = VD("text-shadow"), p = VD("drop-shadow"), m = VD("blur"), h = VD("perspective"), g = VD("aspect"), _ = VD("ease"), v = VD("animate"), y = () => [+}, qhe = (e) => e === "position" || e === "percentage", Jhe = (e) => e === "image" || e === "url", Yhe = (e) => e === "length" || e === "size" || e === "bg-size", Xhe = (e) => e === "length", Zhe = (e) => e === "number", Qhe = (e) => e === "family-name", $he = (e) => e === "number" || e === "weight", ege = (e) => e === "shadow", tge = () => {+ let e = WD("color"), t = WD("font"), n = WD("text"), r = WD("font-weight"), i = WD("tracking"), a = WD("leading"), o = WD("breakpoint"), s = WD("container"), c = WD("spacing"), l = WD("radius"), u = WD("shadow"), d = WD("inset-shadow"), f = WD("text-shadow"), p = WD("drop-shadow"), m = WD("blur"), h = WD("perspective"), g = WD("aspect"), _ = WD("ease"), v = WD("animate"), y = () => ["auto","avoid","all",@@ -33921,8 +33930,8 @@ var Jme = (e, t) => {"left-bottom"], x = () => [...b(),- ZD,- JD+ eO,+ ZD], S = () => ["auto","hidden",@@ -33934,43 +33943,43 @@ var Jme = (e, t) => {"contain","none"], w = () => [+ eO,ZD,- JD,c], T = () => [- HD,+ GD,"full","auto",...w()], E = () => [- WD,+ qD,"none","subgrid",- ZD,- JD+ eO,+ ZD], D = () => ["auto",{ span: ["full",- WD,- ZD,- JD+ qD,+ eO,+ ZD] },- WD,- ZD,- JD+ qD,+ eO,+ ZD], O = () => [- WD,+ qD,"auto",- ZD,- JD+ eO,+ ZD], k = () => ["auto","min","max","fr",- ZD,- JD+ eO,+ ZD], A = () => ["start","end",@@ -33990,7 +33999,7 @@ var Jme = (e, t) => {"center-safe","end-safe"], M = () => ["auto", ...w()], N = () => [- HD,+ GD,"auto","full","dvw",@@ -34005,7 +34014,7 @@ var Jme = (e, t) => {...w()], P = () => [s,- HD,+ GD,"screen","full","dvw",@@ -34016,7 +34025,7 @@ var Jme = (e, t) => {"fit",...w()], F = () => [- HD,+ GD,"screen","full","lh",@@ -34029,13 +34038,13 @@ var Jme = (e, t) => {...w()], I = () => [e,- ZD,- JD+ eO,+ ZD], ee = () => [...b(),- Ghe,- Hhe,- { position: [ZD, JD] }+ Uhe,+ Bhe,+ { position: [eO, ZD] }], L = () => ["no-repeat", { repeat: ["","x",@@ -34046,25 +34055,25 @@ var Jme = (e, t) => {"auto","cover","contain",- Khe,- Rhe,- { size: [ZD, JD] }+ Whe,+ Ihe,+ { size: [eO, ZD] }], ne = () => [- GD,- QD,- YD+ JD,+ tO,+ QD], re = () => ["","none","full",l,- ZD,- JD+ eO,+ ZD], ie = () => ["",- UD,- QD,- YD+ KD,+ tO,+ QD], ae = () => ["solid","dashed",@@ -34088,32 +34097,32 @@ var Jme = (e, t) => {"color","luminosity"], se = () => [- UD,- GD,- Ghe,- Hhe+ KD,+ JD,+ Uhe,+ Bhe], ce = () => ["","none",m,- ZD,- JD+ eO,+ ZD], le = () => ["none",- UD,- ZD,- JD+ KD,+ eO,+ ZD], ue = () => ["none",- UD,- ZD,- JD+ KD,+ eO,+ ZD], de = () => [- UD,- ZD,- JD+ KD,+ eO,+ ZD], fe = () => [- HD,+ GD,"full",...w()];@@ -34127,17 +34136,17 @@ var Jme = (e, t) => {"bounce"],aspect: ["video"],- blur: [KD],- breakpoint: [KD],- color: [Mhe],- container: [KD],- "drop-shadow": [KD],+ blur: [YD],+ breakpoint: [YD],+ color: [Ahe],+ container: [YD],+ "drop-shadow": [YD],ease: ["in","out","in-out"],- font: [Ihe],+ font: [Phe],"font-weight": ["thin","extralight",@@ -34149,7 +34158,7 @@ var Jme = (e, t) => {"extrabold","black"],- "inset-shadow": [KD],+ "inset-shadow": [YD],leading: ["none","tight",@@ -34166,11 +34175,11 @@ var Jme = (e, t) => {"distant","none"],- radius: [KD],- shadow: [KD],- spacing: ["px", UD],- text: [KD],- "text-shadow": [KD],+ radius: [YD],+ shadow: [YD],+ spacing: ["px", KD],+ text: [YD],+ "text-shadow": [YD],tracking: ["tighter","tight",@@ -34184,9 +34193,9 @@ var Jme = (e, t) => {aspect: [{ aspect: ["auto","square",- HD,- JD,+ GD,ZD,+ eO,g] }],container: ["container"],@@ -34194,15 +34203,15 @@ var Jme = (e, t) => {"","normal","size",- ZD,- JD+ eO,+ ZD] }],- "container-named": [Lhe],+ "container-named": [Fhe],columns: [{ columns: [- UD,+ KD,"auto",- JD,ZD,+ eO,s] }],"break-after": [{ "break-after": y() }],@@ -34299,13 +34308,13 @@ var Jme = (e, t) => {"collapse"],z: [{ z: [- WD,+ qD,"auto",- ZD,- JD+ eO,+ ZD] }],basis: [{ basis: [- HD,+ GD,"full","auto",s,@@ -34323,32 +34332,32 @@ var Jme = (e, t) => {"wrap-reverse"] }],flex: [{ flex: [- UD,- HD,+ KD,+ GD,"auto","initial","none",- JD+ ZD] }],grow: [{ grow: ["",- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],shrink: [{ shrink: ["",- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],order: [{ order: [- WD,+ qD,"first","last","none",- ZD,- JD+ eO,+ ZD] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -34455,15 +34464,15 @@ var Jme = (e, t) => {"font-size": [{ text: ["base",n,- QD,- YD+ tO,+ QD] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- Jhe,- Bhe+ Khe,+ Rhe] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -34475,15 +34484,15 @@ var Jme = (e, t) => {"expanded","extra-expanded","ultra-expanded",- GD,- JD+ JD,+ ZD] }],"font-family": [{ font: [- Whe,- Vhe,+ Hhe,+ zhe,t] }],- "font-features": [{ "font-features": [JD] }],+ "font-features": [{ "font-features": [ZD] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -34492,14 +34501,14 @@ var Jme = (e, t) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- ZD,- JD+ eO,+ ZD] }],"line-clamp": [{ "line-clamp": [- UD,+ KD,"none",- ZD,- zhe+ eO,+ Lhe] }],leading: [{ leading: ["none",@@ -34508,16 +34517,16 @@ var Jme = (e, t) => {] }],"list-image": [{ "list-image": ["none",- ZD,- JD+ eO,+ ZD] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- ZD,- JD+ eO,+ ZD] }],"text-alignment": [{ text: ["left",@@ -34537,18 +34546,18 @@ var Jme = (e, t) => {],"text-decoration-style": [{ decoration: [...ae(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- UD,+ KD,"from-font","auto",- ZD,- YD+ eO,+ QD] }],"text-decoration-color": [{ decoration: I() }],"underline-offset": [{ "underline-offset": [- UD,+ KD,"auto",- ZD,- JD+ eO,+ ZD] }],"text-transform": ["uppercase",@@ -34569,9 +34578,9 @@ var Jme = (e, t) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- WD,- ZD,- JD+ qD,+ eO,+ ZD] }],"vertical-align": [{ align: ["baseline",@@ -34582,8 +34591,8 @@ var Jme = (e, t) => {"text-bottom","sub","super",- ZD,- JD+ eO,+ ZD] }],whitespace: [{ whitespace: ["normal",@@ -34611,8 +34620,8 @@ var Jme = (e, t) => {] }],content: [{ content: ["none",- ZD,- JD+ eO,+ ZD] }],"bg-attachment": [{ bg: ["fixed",@@ -34647,24 +34656,24 @@ var Jme = (e, t) => {"l","tl"] },- WD,- ZD,- JD+ qD,+ eO,+ ZD],radial: ["",- ZD,- JD+ eO,+ ZD],conic: ["",- WD,- ZD,- JD+ qD,+ eO,+ ZD]},- qhe,- Uhe+ Ghe,+ Vhe] }],"bg-color": [{ bg: I() }],"gradient-from-pos": [{ from: ne() }],@@ -34731,15 +34740,15 @@ var Jme = (e, t) => {"hidden"] }],"outline-offset": [{ "outline-offset": [- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],"outline-w": [{ outline: ["",- UD,- QD,- YD+ KD,+ tO,+ QD] }],"outline-color": [{ outline: I() }],shadow: [{ shadow: [@@ -34747,35 +34756,35 @@ var Jme = (e, t) => {"inner","none",u,- $D,- XD+ nO,+ $D] }],"shadow-color": [{ shadow: I() }],"inset-shadow": [{ "inset-shadow": ["none",d,- $D,- XD+ nO,+ $D] }],"inset-shadow-color": [{ "inset-shadow": I() }],"ring-w": [{ ring: ie() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: I() }],- "ring-offset-w": [{ "ring-offset": [UD, YD] }],+ "ring-offset-w": [{ "ring-offset": [KD, QD] }],"ring-offset-color": [{ "ring-offset": I() }],"inset-ring-w": [{ "inset-ring": ie() }],"inset-ring-color": [{ "inset-ring": I() }],"text-shadow": [{ "text-shadow": ["none",f,- $D,- XD+ nO,+ $D] }],"text-shadow-color": [{ "text-shadow": I() }],opacity: [{ opacity: [- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],"mix-blend": [{ "mix-blend": [...oe(),@@ -34797,7 +34806,7 @@ var Jme = (e, t) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [UD] }],+ "mask-image-linear-pos": [{ "mask-linear": [KD] }],"mask-image-linear-from-pos": [{ "mask-linear-from": se() }],"mask-image-linear-to-pos": [{ "mask-linear-to": se() }],"mask-image-linear-from-color": [{ "mask-linear-from": I() }],@@ -34826,7 +34835,7 @@ var Jme = (e, t) => {"mask-image-y-to-pos": [{ "mask-y-to": se() }],"mask-image-y-from-color": [{ "mask-y-from": I() }],"mask-image-y-to-color": [{ "mask-y-to": I() }],- "mask-image-radial": [{ "mask-radial": [ZD, JD] }],+ "mask-image-radial": [{ "mask-radial": [eO, ZD] }],"mask-image-radial-from-pos": [{ "mask-radial-from": se() }],"mask-image-radial-to-pos": [{ "mask-radial-to": se() }],"mask-image-radial-from-color": [{ "mask-radial-from": I() }],@@ -34837,7 +34846,7 @@ var Jme = (e, t) => {farthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [UD] }],+ "mask-image-conic-pos": [{ "mask-conic": [KD] }],"mask-image-conic-from-pos": [{ "mask-conic-from": se() }],"mask-image-conic-to-pos": [{ "mask-conic-to": se() }],"mask-image-conic-from-color": [{ "mask-conic-from": I() }],@@ -34861,111 +34870,111 @@ var Jme = (e, t) => {"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- ZD,- JD+ eO,+ ZD] }],filter: [{ filter: ["","none",- ZD,- JD+ eO,+ ZD] }],blur: [{ blur: ce() }],brightness: [{ brightness: [- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],contrast: [{ contrast: [- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- $D,- XD+ nO,+ $D] }],"drop-shadow-color": [{ "drop-shadow": I() }],grayscale: [{ grayscale: ["",- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],"hue-rotate": [{ "hue-rotate": [- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],invert: [{ invert: ["",- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],saturate: [{ saturate: [- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],sepia: [{ sepia: ["",- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- ZD,- JD+ eO,+ ZD] }],"backdrop-blur": [{ "backdrop-blur": ce() }],"backdrop-brightness": [{ "backdrop-brightness": [- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],"backdrop-contrast": [{ "backdrop-contrast": [- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],"backdrop-invert": [{ "backdrop-invert": ["",- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],"backdrop-opacity": [{ "backdrop-opacity": [- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],"backdrop-saturate": [{ "backdrop-saturate": [- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -34981,39 +34990,39 @@ var Jme = (e, t) => {"shadow","transform","none",- ZD,- JD+ eO,+ ZD] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- UD,+ KD,"initial",- ZD,- JD+ eO,+ ZD] }],ease: [{ ease: ["linear","initial",_,- ZD,- JD+ eO,+ ZD] }],delay: [{ delay: [- UD,- ZD,- JD+ KD,+ eO,+ ZD] }],animate: [{ animate: ["none",v,- ZD,- JD+ eO,+ ZD] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- ZD,- JD+ eO,+ ZD] }],"perspective-origin": [{ "perspective-origin": x() }],rotate: [{ rotate: le() }],@@ -35029,8 +35038,8 @@ var Jme = (e, t) => {"skew-x": [{ "skew-x": de() }],"skew-y": [{ "skew-y": de() }],transform: [{ transform: [+ eO,ZD,- JD,"","none","gpu",@@ -35044,9 +35053,9 @@ var Jme = (e, t) => {"translate-z": [{ "translate-z": fe() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- WD,- ZD,- JD+ qD,+ eO,+ ZD] }],accent: [{ accent: I() }],appearance: [{ appearance: ["none", "auto"] }],@@ -35096,8 +35105,8 @@ var Jme = (e, t) => {"nwse-resize","zoom-in","zoom-out",- ZD,- JD+ eO,+ ZD] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -35183,15 +35192,15 @@ var Jme = (e, t) => {"scroll","contents","transform",- ZD,- JD+ eO,+ ZD] }],fill: [{ fill: ["none", ...I()] }],"stroke-w": [{ stroke: [- UD,+ KD,+ tO,QD,- YD,- zhe+ Lhe] }],stroke: [{ stroke: ["none", ...I()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]@@ -35449,16 +35458,16 @@ var Jme = (e, t) => {"selection"]};-}, ige = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (nO(e, "cacheSize", t), nO(e, "prefix", n), nO(e, "experimentalParseClassName", r), rO(e.theme, a.theme), rO(e.classGroups, a.classGroups), rO(e.conflictingClassGroups, a.conflictingClassGroups), rO(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), nO(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), nO(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), iO(e.theme, i.theme), iO(e.classGroups, i.classGroups), iO(e.conflictingClassGroups, i.conflictingClassGroups), iO(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), aO(e, i, "postfixLookupClassGroups"), aO(e, i, "orderSensitiveModifiers"), e), nO = (e, t, n) => {+}, nge = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (aO(e, "cacheSize", t), aO(e, "prefix", n), aO(e, "experimentalParseClassName", r), oO(e.theme, a.theme), oO(e.classGroups, a.classGroups), oO(e.conflictingClassGroups, a.conflictingClassGroups), oO(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), aO(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), aO(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), sO(e.theme, i.theme), sO(e.classGroups, i.classGroups), sO(e.conflictingClassGroups, i.conflictingClassGroups), sO(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), cO(e, i, "postfixLookupClassGroups"), cO(e, i, "orderSensitiveModifiers"), e), aO = (e, t, n) => {n !== void 0 && (e[t] = n);-}, rO = (e, t) => {- if (t) for (let n in t) nO(e, n, t[n]);-}, iO = (e, t) => {- if (t) for (let n in t) aO(e, t, n);-}, aO = (e, t, n) => {+}, oO = (e, t) => {+ if (t) for (let n in t) aO(e, n, t[n]);+}, sO = (e, t) => {+ if (t) for (let n in t) cO(e, t, n);+}, cO = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, age = (e, ...t) => typeof e == "function" ? She(rge, e, ...t) : She(() => ige(rge(), e), ...t), oge = [+}, rge = (e, ...t) => typeof e == "function" ? bhe(tge, e, ...t) : bhe(() => nge(tge(), e), ...t), ige = ["large-title","display-1","display-2",@@ -35472,18 +35481,18 @@ var Jme = (e, t) => {"body-2","caption-1","caption-2"-], sge = [+], age = ["regular","medium","semibold","bold"-], oO = age({ extend: { classGroups: { "font-size": [{ text: oge.flatMap((e) => sge.map((t) => `${e}-${t}`)) }] } } });-function sO(e) {+], lO = rge({ extend: { classGroups: { "font-size": [{ text: ige.flatMap((e) => age.map((t) => `${e}-${t}`)) }] } } });+function uO(e) {return e;}//#endregion//#region src/react/components/pill-tab.tsx-var cge = typeof window < "u" ? E.useLayoutEffect : E.useEffect, lge = sO({+var oge = typeof window < "u" ? E.useLayoutEffect : E.useEffect, sge = uO({radius: {blue: "rounded-full",gray: "rounded-2lg"@@ -35505,9 +35514,9 @@ var cge = typeof window < "u" ? E.useLayoutEffect : E.useEffect, lge = sO({gray: "text-text-primary"}});-function cO({ children: e, className: t, ref: n, container: r, ...i }) {+function dO({ children: e, className: t, ref: n, container: r, ...i }) {let a = (0, E.useRef)(null), [o, s] = (0, E.useState)(null);- cge(() => {+ oge(() => {let e = r === void 0 ? a.current : r;if (!e) return;let t = () => {@@ -35543,7 +35552,7 @@ function cO({ children: e, className: t, ref: n, container: r, ...i }) {}, l = o && /* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,"data-pill-thumb": "",- className: oO("pointer-events-none absolute left-0 top-0", lge.radius[o.variant], lge.thumb[o.variant]),+ className: lO("pointer-events-none absolute left-0 top-0", sge.radius[o.variant], sge.thumb[o.variant]),style: {"--pill-left": `${o.left}px`,"--pill-top": `${o.top}px`,@@ -35554,44 +35563,44 @@ function cO({ children: e, className: t, ref: n, container: r, ...i }) {return r === void 0 ? /* @__PURE__ */ (0, D.jsxs)("div", {ref: c,role: "group",- className: oO("relative inline-flex items-center gap-1", t),+ className: lO("relative inline-flex items-center gap-1", t),...i,children: [l, e]}) : r ? (0, bt.createPortal)(l, r) : null;}//#endregion//#region src/react/manage-header/manage-header-island.tsx-var lO = null, uO = null, dO = /* @__PURE__ */ new Set();-function uge(e) {- return dO.add(e), () => {- dO.delete(e);+var fO = null, pO = null, mO = /* @__PURE__ */ new Set();+function cge(e) {+ return mO.add(e), () => {+ mO.delete(e);};}-function dge() {- for (let e of [...dO]) e();+function lge() {+ for (let e of [...mO]) e();}-var fge = { render(e) {- uO = e, (0, bt.flushSync)(dge);+var uge = { render(e) {+ pO = e, (0, bt.flushSync)(lge);} };-function pge(e) {- return lO = e, uO = null, fge;+function dge(e) {+ return fO = e, pO = null, uge;}-function mge() {- let e = (0, E.useSyncExternalStore)(uge, () => uO);- return lO && e ? /* @__PURE__ */ (0, D.jsx)(hge, {- host: lO,+function fge() {+ let e = (0, E.useSyncExternalStore)(cge, () => pO);+ return fO && e ? /* @__PURE__ */ (0, D.jsx)(pge, {+ host: fO,props: e}) : null;}-function hge({ host: e, props: t }) {- let n = FD(t);+function pge({ host: e, props: t }) {+ let n = RD(t);return n ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(gge, {+ /* @__PURE__ */ (0, D.jsx)(mge, {host: e,pressed: n.pressed,menu: t.menu}),- n.crumb ? /* @__PURE__ */ (0, D.jsx)(_ge, {+ n.crumb ? /* @__PURE__ */ (0, D.jsx)(hge, {host: e,label: n.crumb}) : null,@@ -35600,13 +35609,13 @@ function hge({ host: e, props: t }) {"data-compact": n.compact ? "" : void 0,children: n.title}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, D.jsx)(vge, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, D.jsx)(gge, {host: e,lede: n.lede})] }) : null;}-function gge({ host: e, pressed: t, menu: n }) {+function mge({ host: e, pressed: t, menu: n }) {let r = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");@@ -35616,7 +35625,7 @@ function gge({ host: e, pressed: t, menu: n }) {}, [t, n]), /* @__PURE__ */ (0, D.jsx)("nav", {"data-manage-bar": "","aria-label": "管理",- children: /* @__PURE__ */ (0, D.jsx)(cO, {+ children: /* @__PURE__ */ (0, D.jsx)(dO, {ref: r,"data-manage-menu": "","data-pill-nav": "",@@ -35630,13 +35639,13 @@ function gge({ host: e, pressed: t, menu: n }) {"data-pill-selected": a ? "" : void 0,"data-pill-variant": "gray",onClick: () => e.openManage(n),- children: [/* @__PURE__ */ (0, D.jsx)(LD, { name: i }), /* @__PURE__ */ (0, D.jsx)("span", { children: r })]+ children: [/* @__PURE__ */ (0, D.jsx)(BD, { name: i }), /* @__PURE__ */ (0, D.jsx)("span", { children: r })]}, n);})})});}-function _ge({ host: e, label: t }) {+function hge({ host: e, label: t }) {return /* @__PURE__ */ (0, D.jsx)("nav", {"data-manage-crumb": "","aria-label": "当前位置",@@ -35646,20 +35655,20 @@ function _ge({ host: e, label: t }) {t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());},children: "数据管理"- }), /* @__PURE__ */ (0, D.jsx)(LD, { name: "chevron-right" })] }), /* @__PURE__ */ (0, D.jsx)("li", {+ }), /* @__PURE__ */ (0, D.jsx)(BD, { name: "chevron-right" })] }), /* @__PURE__ */ (0, D.jsx)("li", {"aria-current": "true",children: /* @__PURE__ */ (0, D.jsx)("span", { children: t })})] })});}-function vge({ host: e, lede: t }) {+function gge({ host: e, lede: t }) {return /* @__PURE__ */ (0, D.jsx)("p", {className: "mono","data-manage-lede": "",children: t.kind === "skeleton" ? /* @__PURE__ */ (0, D.jsx)("span", {"data-trash-lede-skeletons": "",- dangerouslySetInnerHTML: { __html: Wme }- }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(yge, { text: t.text }), t.total ? /* @__PURE__ */ (0, D.jsx)("button", {+ dangerouslySetInnerHTML: { __html: Hme }+ }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(_ge, { text: t.text }), t.total ? /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -35669,7 +35678,7 @@ function vge({ host: e, lede: t }) {}) : null] })});}-function yge({ text: e }) {+function _ge({ text: e }) {let t = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {Wo(t.current, e);@@ -35680,20 +35689,20 @@ function yge({ text: e }) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/url.js-var bge = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, xge = /^[\\/]{2}/;-function Sge(e, t) {+var vge = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, yge = /^[\\/]{2}/;+function bge(e, t) {return t + e.replace(/\\/g, "/");}//#endregion//#region node_modules/react-router/dist/production/lib/router/history.js-var Cge = "popstate";-function wge(e) {+var xge = "popstate";+function Sge(e) {return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;}-function Tge(e = {}) {+function Cge(e = {}) {function t(e, t) {let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;- return mO("", {+ return _O("", {pathname: r,search: i,hash: a@@ -35704,14 +35713,14 @@ function Tge(e = {}) {} : void 0);}function n(e, t) {- return typeof t == "string" ? t : hO(t);+ return typeof t == "string" ? t : vO(t);}- return Oge(t, n, null, e);+ return Ege(t, n, null, e);}-function fO(e, t) {+function hO(e, t) {if (e === !1 || e == null) throw Error(t);}-function pO(e, t) {+function gO(e, t) {if (!e) {typeof console < "u" && console.warn(t);try {@@ -35719,10 +35728,10 @@ function pO(e, t) {} catch {}}}-function Ege() {+function wge() {return Math.random().toString(36).substring(2, 10);}-function Dge(e, t) {+function Tge(e, t) {return {usr: e.state,key: e.key,@@ -35734,21 +35743,21 @@ function Dge(e, t) {} : void 0};}-function mO(e, t, n = null, r, i) {+function _O(e, t, n = null, r, i) {return {pathname: typeof e == "string" ? e : e.pathname,search: "",hash: "",- ...typeof t == "string" ? gO(t) : t,+ ...typeof t == "string" ? yO(t) : t,state: n,- key: t && t.key || r || Ege(),+ key: t && t.key || r || wge(),mask: i};}-function hO({ pathname: e = "/", search: t = "", hash: n = "" }) {+function vO({ 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 gO(e) {+function yO(e) {let t = {};if (e) {let n = e.indexOf("#");@@ -35758,7 +35767,7 @@ function gO(e) {}return t;}-function Oge(e, t, n, r = {}) {+function Ege(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,@@ -35778,9 +35787,9 @@ function Oge(e, t, n, r = {}) {}function f(e, t) {s = "PUSH";- let r = wge(e) ? e : mO(h.location, e, t);+ let r = Sge(e) ? e : _O(h.location, e, t);n && n(r, e), l = u() + 1;- let d = Dge(r, l), f = h.createHref(r.mask || r);+ let d = Tge(r, l), f = h.createHref(r.mask || r);try {o.pushState(d, "", f);} catch (e) {@@ -35795,9 +35804,9 @@ function Oge(e, t, n, r = {}) {}function p(e, t) {s = "REPLACE";- let r = wge(e) ? e : mO(h.location, e, t);+ let r = Sge(e) ? e : _O(h.location, e, t);n && n(r, e), l = u();- let i = Dge(r, l), d = h.createHref(r.mask || r);+ let i = Tge(r, l), d = h.createHref(r.mask || r);o.replaceState(i, "", d), a && c && c({action: s,location: h.location,@@ -35805,7 +35814,7 @@ function Oge(e, t, n, r = {}) {});}function m(e) {- return kge(i, e);+ return Dge(i, e);}let h = {get action() {@@ -35816,8 +35825,8 @@ function Oge(e, t, n, r = {}) {},listen(e) {if (c) throw Error("A history only accepts one active listener");- return i.addEventListener(Cge, d), c = e, () => {- i.removeEventListener(Cge, d), c = null;+ return i.addEventListener(xge, d), c = e, () => {+ i.removeEventListener(xge, d), c = null;};},createHref(e) {@@ -35840,29 +35849,29 @@ function Oge(e, t, n, r = {}) {};return h;}-function kge(e, t, n = !1) {+function Dge(e, t, n = !1) {let r = "http://localhost";- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), fO(r, "No window.location.(origin|href) available to create URL");- let i = typeof t == "string" ? t : hO(t);- return i = i.replace(/ $/, "%20"), !n && xge.test(i) && (i = r + i), new URL(i, r);+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), hO(r, "No window.location.(origin|href) available to create URL");+ let i = typeof t == "string" ? t : vO(t);+ return i = i.replace(/ $/, "%20"), !n && yge.test(i) && (i = r + i), new URL(i, r);}//#endregion//#region node_modules/react-router/dist/production/lib/router/utils.js-function Age(e, t, n = "/") {- return jge(e, t, n, !1);+function Oge(e, t, n = "/") {+ return kge(e, t, n, !1);}-function jge(e, t, n, r, i) {- let a = vO((typeof t == "string" ? gO(t) : t).pathname || "/", n);+function kge(e, t, n, r, i) {+ let a = xO((typeof t == "string" ? yO(t) : t).pathname || "/", n);if (a == null) return null;- let o = i ?? Mge(e), s = null, c = Xge(a);- for (let e = 0; s == null && e < o.length; ++e) s = qge(o[e], c, r);+ let o = i ?? Age(e), s = null, c = Jge(a);+ for (let e = 0; s == null && e < o.length; ++e) s = Gge(o[e], c, r);return s;}-function Mge(e) {- let t = Nge(e);- return Fge(t), t;+function Age(e) {+ let t = jge(e);+ return Nge(t), t;}-function Nge(e, t = [], n = [], r = "", i = !1) {+function jge(e, t = [], n = [], r = "", i = !1) {let a = (e, a, o = i, s) => {let c = {relativePath: s === void 0 ? e.path || "" : s,@@ -35872,14 +35881,14 @@ function Nge(e, t = [], n = [], r = "", i = !1) {};if (c.relativePath.startsWith("/")) {if (!c.relativePath.startsWith(r) && o) return;- fO(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);+ hO(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 = bO([r, c.relativePath]), u = n.concat(c);- e.children && e.children.length > 0 && (fO(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), Nge(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({+ let l = CO([r, c.relativePath]), u = n.concat(c);+ e.children && e.children.length > 0 && (hO(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), jge(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({path: l,- score: Gge(l, e.index),+ score: Uge(l, e.index),routesMeta: u.map((e, t) => {- let [n, r] = Yge(e.relativePath, e.caseSensitive, t === u.length - 1);+ let [n, r] = qge(e.relativePath, e.caseSensitive, t === u.length - 1);return {...e,matcher: n,@@ -35890,68 +35899,68 @@ function Nge(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 Pge(e.path)) a(e, t, !0, n);+ else for (let n of Mge(e.path)) a(e, t, !0, n);}), t;}-function Pge(e) {+function Mge(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 = Pge(r.join("/")), s = [];+ let o = Mge(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 Fge(e) {- e.sort((e, t) => e.score === t.score ? Kge(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);+function Nge(e) {+ e.sort((e, t) => e.score === t.score ? Wge(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);}-var Ige = /^:[\w-]+$/, Lge = /^:[\w-]+/, Rge = 3.5, zge = 3, Bge = 2, Vge = 1, Hge = 10, Uge = -2, Wge = (e) => e === "*";-function Gge(e, t) {+var Pge = /^:[\w-]+$/, Fge = /^:[\w-]+/, Ige = 3.5, Lge = 3, Rge = 2, zge = 1, Bge = 10, Vge = -2, Hge = (e) => e === "*";+function Uge(e, t) {let n = e.split("/"), r = n.length;- return n.some(Wge) && (r += Uge), t && (r += Bge), n.filter((e) => !Wge(e)).reduce((e, t) => e + (Ige.test(t) ? zge : Lge.test(t) ? Rge : t === "" ? Vge : Hge), r);+ return n.some(Hge) && (r += Vge), t && (r += Rge), n.filter((e) => !Hge(e)).reduce((e, t) => e + (Pge.test(t) ? Lge : Fge.test(t) ? Ige : t === "" ? zge : Bge), r);}-function Kge(e, t) {+function Wge(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 qge(e, t, n = !1) {+function Gge(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 ? Jge(u, l, s.matcher, s.compiledParams) : _O(u, l), f = s.route;- if (!d && c && n && !r[r.length - 1].route.index && (d = _O({+ }, d = s.matcher && s.compiledParams ? Kge(u, l, s.matcher, s.compiledParams) : bO(u, l), f = s.route;+ if (!d && c && n && !r[r.length - 1].route.index && (d = bO({path: s.relativePath,caseSensitive: s.caseSensitive,end: !1}, l)), !d) return null;Object.assign(i, d.params), o.push({params: i,- pathname: bO([a, d.pathname]),- pathnameBase: r_e(bO([a, d.pathnameBase])),+ pathname: CO([a, d.pathname]),+ pathnameBase: t_e(CO([a, d.pathnameBase])),route: f- }), d.pathnameBase !== "/" && (a = bO([a, d.pathnameBase]));+ }), d.pathnameBase !== "/" && (a = CO([a, d.pathnameBase]));}return o;}-function _O(e, t) {+function bO(e, t) {typeof e == "string" && (e = {path: e,caseSensitive: !1,end: !0});- let [n, r] = Yge(e.path, e.caseSensitive, e.end);- return Jge(e, t, n, r);+ let [n, r] = qge(e.path, e.caseSensitive, e.end);+ return Kge(e, t, n, r);}-function Jge(e, t, n, r) {+function Kge(e, t, n, r) {let i = t.match(n);if (!i) return null;- let a = i[0], o = xO(a, 1), s = i.slice(1);+ let a = i[0], o = wO(a, 1), s = i.slice(1);return {params: r.reduce((e, { paramName: t, isOptional: n }, r) => {if (t === "*") {let e = s[r] || "";- o = xO(a.slice(0, a.length - e.length), 1);+ o = wO(a.slice(0, a.length - e.length), 1);}let i = s[r];return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;@@ -35961,8 +35970,8 @@ function Jge(e, t, n, r) {pattern: e};}-function Yge(e, t = !1, n = !0) {- pO(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 qge(e, t = !1, n = !0) {+ gO(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,@@ -35975,46 +35984,46 @@ function Yge(e, t = !1, n = !0) {}).replace(/\/([\w-]+)\?(?=\/|$|\()/g, "(?:/$1)?");return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];}-function Xge(e) {+function Jge(e) {try {return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");} catch (t) {- return pO(!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 gO(!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 vO(e, t) {+function xO(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 Zge(e, t = "/") {- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? gO(e) : e, a;- return n ? (n = n_e(n), a = n.startsWith("/") || n.startsWith("\\") ? Qge(n.substring(1), "/") : Qge(n, t)) : a = t, {+function Yge(e, t = "/") {+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? yO(e) : e, a;+ return n ? (n = e_e(n), a = n.startsWith("/") || n.startsWith("\\") ? Xge(n.substring(1), "/") : Xge(n, t)) : a = t, {pathname: a,- search: i_e(r),- hash: a_e(i)+ search: n_e(r),+ hash: r_e(i)};}-function Qge(e, t) {- let n = xO(t).split("/");+function Xge(e, t) {+ let n = wO(t).split("/");return e.split("/").forEach((e) => {e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);}), n.length > 1 ? n.join("/") : "/";}-function yO(e, t, n, r) {+function SO(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 $ge(e) {+function Zge(e) {return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);}-function e_e(e) {- let t = $ge(e);+function Qge(e) {+ let t = Zge(e);return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);}-function t_e(e, t, n, r = !1) {+function $ge(e, t, n, r = !1) {let i;- typeof e == "string" ? i = gO(e) : (i = { ...e }, fO(!i.pathname || !i.pathname.includes("?"), yO("?", "pathname", "search", i)), fO(!i.pathname || !i.pathname.includes("#"), yO("#", "pathname", "hash", i)), fO(!i.search || !i.search.includes("#"), yO("#", "search", "hash", i)));+ typeof e == "string" ? i = yO(e) : (i = { ...e }, hO(!i.pathname || !i.pathname.includes("?"), SO("?", "pathname", "search", i)), hO(!i.pathname || !i.pathname.includes("#"), SO("#", "pathname", "hash", i)), hO(!i.search || !i.search.includes("#"), SO("#", "search", "hash", i)));let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;if (o == null) s = n;else {@@ -36026,16 +36035,16 @@ function t_e(e, t, n, r = !1) {}s = e >= 0 ? t[e] : "/";}- let c = Zge(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");+ let c = Yge(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;}-var n_e = (e) => e.replace(/[\\/]{2,}/g, "/"), bO = (e) => n_e(e.join("/"));-function xO(e, t = 0) {+var e_e = (e) => e.replace(/[\\/]{2,}/g, "/"), CO = (e) => e_e(e.join("/"));+function wO(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 r_e = (e) => xO(e).replace(/^\/*/, "/"), i_e = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, a_e = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, o_e = class {+var t_e = (e) => wO(e).replace(/^\/*/, "/"), n_e = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, r_e = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, i_e = class {status;statusText;data;@@ -36045,26 +36054,26 @@ var r_e = (e) => xO(e).replace(/^\/*/, "/"), i_e = (e) => !e || e === "?" ? "" :this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;}};-function s_e(e) {+function a_e(e) {return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;}-function c_e(e) {- return bO(e.map((e) => e.route.path).filter(Boolean)) || "/";+function o_e(e) {+ return CO(e.map((e) => e.route.path).filter(Boolean)) || "/";}-var l_e = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;-function u_e(e, t) {+var s_e = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;+function c_e(e, t) {let n = e;- if (typeof n != "string" || !bge.test(n)) return {+ if (typeof n != "string" || !vge.test(n)) return {absoluteURL: void 0,isExternal: !1,to: n};let r = n, i = !1;- if (l_e) try {- let e = new URL(window.location.href), r = xge.test(n) ? new URL(Sge(n, e.protocol)) : new URL(n), a = vO(r.pathname, t);+ if (s_e) try {+ let e = new URL(window.location.href), r = yge.test(n) ? new URL(bge(n, e.protocol)) : new URL(n), a = xO(r.pathname, t);r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;} catch {- pO(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);+ gO(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);}return {absoluteURL: r,@@ -36074,45 +36083,45 @@ function u_e(e, t) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/navigation.js-var d_e = new URL("http://localhost");-function f_e(e) {+var l_e = new URL("http://localhost");+function u_e(e) {if (e.createURL) return e.createURL("/");try {- return new URL(e.createHref("/"), d_e);+ return new URL(e.createHref("/"), l_e);} catch {- return d_e;+ return l_e;}}-function SO(e, t) {+function TO(e, t) {return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);}-function p_e(e, t) {+function d_e(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 m_e(e, t, n, r) {+function f_e(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 && !SO(i, n), s = !SO(a, n);+ let a = new URL(t, n), o = i != null && !TO(i, n), s = !TO(a, n);if (r === "reject") {if (o || s) throw Error("External navigation is not allowed");- } else if (s && (i == null || !p_e(e, i) || !SO(i, a))) throw Error("External navigation is not allowed");+ } else if (s && (i == null || !d_e(e, i) || !TO(i, a))) throw Error("External navigation is not allowed");}//#endregion//#region node_modules/react-router/dist/production/lib/router/router.js-var h_e = [+var p_e = ["POST","PUT","PATCH","DELETE"];-new Set(h_e);-var g_e = ["GET", ...h_e];-new Set(g_e);-var __e = [+new Set(p_e);+var m_e = ["GET", ...p_e];+new Set(m_e);+var h_e = ["about:","blob:","chrome:",@@ -36124,85 +36133,85 @@ var __e = ["filesystem:","javascript:"];-function v_e(e) {+function g_e(e) {try {- return __e.includes(new URL(e).protocol);+ return h_e.includes(new URL(e).protocol);} catch {return !1;}}//#endregion//#region node_modules/react-router/dist/production/lib/context.js-var CO = E.createContext(null);-CO.displayName = "DataRouter";+var EO = E.createContext(null);+EO.displayName = "DataRouter";+var __e = E.createContext(null);+__e.displayName = "DataRouterState";+var v_e = E.createContext(null);+v_e.displayName = "DataRouterData";var y_e = E.createContext(null);-y_e.displayName = "DataRouterState";-var b_e = E.createContext(null);-b_e.displayName = "DataRouterData";-var x_e = E.createContext(null);-x_e.displayName = "DataRouterNavigation";-var S_e = E.createContext(!1), C_e = E.createContext({ isTransitioning: !1 });-C_e.displayName = "ViewTransition";-var w_e = E.createContext(null);-w_e.displayName = "Fetchers";-var T_e = E.createContext(null);-T_e.displayName = "Await";-var wO = E.createContext(null);-wO.displayName = "Navigation";-var TO = E.createContext(null);-TO.displayName = "Location";-var EO = E.createContext({+y_e.displayName = "DataRouterNavigation";+var b_e = E.createContext(!1), x_e = E.createContext({ isTransitioning: !1 });+x_e.displayName = "ViewTransition";+var S_e = E.createContext(null);+S_e.displayName = "Fetchers";+var C_e = E.createContext(null);+C_e.displayName = "Await";+var DO = E.createContext(null);+DO.displayName = "Navigation";+var OO = E.createContext(null);+OO.displayName = "Location";+var kO = E.createContext({outlet: null,matches: [],isDataRoute: !1});-EO.displayName = "Route";-var DO = E.createContext(!1);-DO.displayName = "IsDataRoute";-var OO = E.createContext(void 0);-OO.displayName = "RouteId";-var kO = E.createContext(null);-kO.displayName = "RouteError";+kO.displayName = "Route";+var AO = E.createContext(!1);+AO.displayName = "IsDataRoute";+var jO = E.createContext(void 0);+jO.displayName = "RouteId";+var MO = E.createContext(null);+MO.displayName = "RouteError";//#endregion//#region node_modules/react-router/dist/production/lib/errors.js-var E_e = "REACT_ROUTER_ERROR", D_e = "REDIRECT", O_e = "ROUTE_ERROR_RESPONSE";-function k_e(e) {- if (e.startsWith(`${E_e}:${D_e}:{`)) try {+var w_e = "REACT_ROUTER_ERROR", T_e = "REDIRECT", E_e = "ROUTE_ERROR_RESPONSE";+function D_e(e) {+ if (e.startsWith(`${w_e}:${T_e}:{`)) 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 A_e(e) {- if (e.startsWith(`${E_e}:${O_e}:{`)) try {+function O_e(e) {+ if (e.startsWith(`${w_e}:${E_e}:{`)) try {let t = JSON.parse(e.slice(40));- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new o_e(t.status, t.statusText, t.data);+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new i_e(t.status, t.statusText, t.data);} catch {}}//#endregion//#region node_modules/react-router/dist/production/lib/hooks.js-function AO() {- return E.useContext(TO) != null;+function NO() {+ return E.useContext(OO) != null;}-function jO() {- return fO(AO(), "useLocation() may be used only in the context of a <Router> component."), E.useContext(TO).location;+function PO() {+ return hO(NO(), "useLocation() may be used only in the context of a <Router> component."), E.useContext(OO).location;}-var j_e = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";-function M_e() {- return E.useContext(DO) ? q_e() : N_e();+var k_e = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";+function A_e() {+ return E.useContext(AO) ? G_e() : j_e();}-function N_e() {- fO(AO(), "useNavigate() may be used only in the context of a <Router> component.");- let e = E.useContext(CO), { basename: t, navigator: n } = E.useContext(wO), { matches: r } = E.useContext(EO), { pathname: i } = jO(), a = JSON.stringify(e_e(r)), o = E.useRef(!1);+function j_e() {+ hO(NO(), "useNavigate() may be used only in the context of a <Router> component.");+ let e = E.useContext(EO), { basename: t, navigator: n } = E.useContext(DO), { matches: r } = E.useContext(kO), { pathname: i } = PO(), a = JSON.stringify(Qge(r)), o = E.useRef(!1);return E.useLayoutEffect(() => {o.current = !0;}), E.useCallback((r, s = {}) => {- if (pO(o.current, j_e), !o.current) return;+ if (gO(o.current, k_e), !o.current) return;if (typeof r == "number") {n.go(r);return;}- let c = t_e(r, JSON.parse(a), i, s.relative === "path");- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : bO([t, c.pathname])), m_e(typeof r == "string" ? r : hO(r), n.createHref(c), f_e(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);+ let c = $ge(r, JSON.parse(a), i, s.relative === "path");+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : CO([t, c.pathname])), f_e(typeof r == "string" ? r : vO(r), n.createHref(c), u_e(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);}, [t,n,@@ -36212,19 +36221,19 @@ function N_e() {]);}E.createContext(null);-function P_e(e, t) {- return F_e(e, t);+function M_e(e, t) {+ return N_e(e, t);}-function F_e(e, t, n) {- fO(AO(), "useRoutes() may be used only in the context of a <Router> component.");- let { navigator: r } = E.useContext(wO), { matches: i } = E.useContext(EO), a = i[i.length - 1], o = a ? a.params : {};+function N_e(e, t, n) {+ hO(NO(), "useRoutes() may be used only in the context of a <Router> component.");+ let { navigator: r } = E.useContext(DO), { matches: i } = E.useContext(kO), a = i[i.length - 1], o = a ? a.params : {};a && a.pathname;let s = a ? a.pathnameBase : "/";a && a.route;- let c = jO(), l;+ let c = PO(), l;if (t) {- let e = typeof t == "string" ? gO(t) : t;- fO(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" ? yO(t) : t;+ hO(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 !== "/") {@@ -36232,13 +36241,13 @@ function F_e(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) : Age(e, { pathname: d });- let p = V_e(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) : Oge(e, { pathname: d });+ let p = z_e(f && f.map((e) => Object.assign({}, e, {params: Object.assign({}, o, e.params),- pathname: bO([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),- pathnameBase: e.pathnameBase === "/" ? s : bO([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])+ pathname: CO([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),+ pathnameBase: e.pathnameBase === "/" ? s : CO([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__ */ E.createElement(TO.Provider, { value: {+ return t && p ? /* @__PURE__ */ E.createElement(OO.Provider, { value: {location: {pathname: "/",search: "",@@ -36251,14 +36260,14 @@ function F_e(e, t, n) {navigationType: "POP"} }, p) : p;}-function I_e() {- let e = K_e(), t = s_e(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;+function P_e() {+ let e = W_e(), t = a_e(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;return /* @__PURE__ */ E.createElement(E.Fragment, null, /* @__PURE__ */ E.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ E.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ E.createElement("pre", { style: {padding: "0.5rem",backgroundColor: "rgba(200,200,200, 0.5)"} }, n) : null, null);}-var L_e = /* @__PURE__ */ E.createElement(I_e, null), R_e = class extends E.Component {+var F_e = /* @__PURE__ */ E.createElement(P_e, null), I_e = class extends E.Component {constructor(e) {super(e), this.state = {location: e.location,@@ -36266,7 +36275,7 @@ var L_e = /* @__PURE__ */ E.createElement(I_e, null), R_e = class extends E.Comperror: e.error};}- static contextType = S_e;+ static contextType = b_e;static getDerivedStateFromError(e) {return { error: e };}@@ -36287,30 +36296,30 @@ var L_e = /* @__PURE__ */ E.createElement(I_e, null), R_e = class extends E.Comprender() {let e = this.state.error;if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {- let t = A_e(e.digest);+ let t = O_e(e.digest);t && (e = t);}- let t = e === void 0 ? this.props.children : /* @__PURE__ */ E.createElement(EO.Provider, { value: this.props.routeContext }, /* @__PURE__ */ E.createElement(DO.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ E.createElement(OO.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ E.createElement(kO.Provider, {+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ E.createElement(kO.Provider, { value: this.props.routeContext }, /* @__PURE__ */ E.createElement(AO.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ E.createElement(jO.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ E.createElement(MO.Provider, {value: e,children: this.props.component}))));- return this.context ? /* @__PURE__ */ E.createElement(z_e, { error: e }, t) : t;+ return this.context ? /* @__PURE__ */ E.createElement(L_e, { error: e }, t) : t;}-}, MO = /* @__PURE__ */ new WeakMap();-function z_e({ children: e, error: t }) {- let { basename: n, navigator: r } = E.useContext(wO);+}, FO = /* @__PURE__ */ new WeakMap();+function L_e({ children: e, error: t }) {+ let { basename: n, navigator: r } = E.useContext(DO);if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {- let e = k_e(t.digest);+ let e = D_e(t.digest);if (e) {- let i = MO.get(t);+ let i = FO.get(t);if (i) throw i;- let a = u_e(e.location, n), o = a.absoluteURL || a.to;- if (m_e(e.location, o, f_e(r), "allow-explicit"), v_e(o)) throw Error("Invalid redirect location");- if (l_e && !MO.get(t)) {+ let a = c_e(e.location, n), o = a.absoluteURL || a.to;+ if (f_e(e.location, o, u_e(r), "allow-explicit"), g_e(o)) throw Error("Invalid redirect location");+ if (s_e && !FO.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 MO.set(t, n), n;+ throw FO.set(t, n), n;}}return /* @__PURE__ */ E.createElement("meta", {@@ -36321,11 +36330,11 @@ function z_e({ children: e, error: t }) {}return e;}-function B_e({ routeContext: e, match: t, children: n }) {- let r = E.useContext(CO);- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ E.createElement(EO.Provider, { value: e }, /* @__PURE__ */ E.createElement(DO.Provider, { value: e.isDataRoute }, /* @__PURE__ */ E.createElement(OO.Provider, { value: t.route.id }, n)));+function R_e({ routeContext: e, match: t, children: n }) {+ let r = E.useContext(EO);+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ E.createElement(kO.Provider, { value: e }, /* @__PURE__ */ E.createElement(AO.Provider, { value: e.isDataRoute }, /* @__PURE__ */ E.createElement(jO.Provider, { value: t.route.id }, n)));}-function V_e(e, t = [], n) {+function z_e(e, t = [], n) {let r = n?.state;if (e == null) {if (!r) return null;@@ -36336,7 +36345,7 @@ function V_e(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);- fO(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));+ hO(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) {@@ -36356,16 +36365,16 @@ function V_e(e, t = [], n) {c(e, {location: r.location,params: r.matches?.[0]?.params ?? {},- pattern: c_e(r.matches),+ pattern: o_e(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 || L_e, o && (s < 0 && c === 0 ? (Y_e("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 || F_e, o && (s < 0 && c === 0 ? (q_e("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__ */ E.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ E.createElement(B_e, {+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ E.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ E.createElement(R_e, {match: n,routeContext: {outlet: e,@@ -36375,7 +36384,7 @@ function V_e(e, t = [], n) {children: t});};- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ E.createElement(R_e, {+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ E.createElement(I_e, {location: r.location,revalidation: r.revalidation,component: f,@@ -36390,44 +36399,44 @@ function V_e(e, t = [], n) {}) : h();}, null);}-function H_e(e) {+function B_e(e) {return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;}-function U_e(e) {- let t = E.useContext(CO);- return fO(t, H_e(e)), t;+function V_e(e) {+ let t = E.useContext(EO);+ return hO(t, B_e(e)), t;}-function W_e(e) {- let t = E.useContext(b_e);- return fO(t, H_e(e)), t;+function H_e(e) {+ let t = E.useContext(v_e);+ return hO(t, B_e(e)), t;}-function G_e(e) {- let t = E.useContext(OO);- return fO(t, `${e} can only be used on routes that contain a unique "id"`), t;+function U_e(e) {+ let t = E.useContext(jO);+ return hO(t, `${e} can only be used on routes that contain a unique "id"`), t;}-function K_e() {- let e = E.useContext(kO), t = W_e("useRouteError"), n = G_e("useRouteError");+function W_e() {+ let e = E.useContext(MO), t = H_e("useRouteError"), n = U_e("useRouteError");return e === void 0 ? t.errors?.[n] : e;}-function q_e() {- let { router: e } = U_e("useNavigate"), t = G_e("useNavigate"), n = E.useRef(!1);+function G_e() {+ let { router: e } = V_e("useNavigate"), t = U_e("useNavigate"), n = E.useRef(!1);return E.useLayoutEffect(() => {n.current = !0;}), E.useCallback(async (r, i = {}) => {- pO(n.current, j_e), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {+ gO(n.current, k_e), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {fromRouteId: t,...i}));}, [e, t]);}-var J_e = {};-function Y_e(e, t, n) {- !t && !J_e[e] && (J_e[e] = !0, pO(!1, n));+var K_e = {};+function q_e(e, t, n) {+ !t && !K_e[e] && (K_e[e] = !0, gO(!1, n));}-E.memo(X_e);-function X_e({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {- let a = E.useContext(CO);- return fO(a, "You must render this element inside a <DataRouterContext.Provider> element"), F_e(e, void 0, {+E.memo(J_e);+function J_e({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {+ let a = E.useContext(EO);+ return hO(a, "You must render this element inside a <DataRouterContext.Provider> element"), N_e(e, void 0, {router: a.router,manifest: t,state: n,@@ -36435,11 +36444,11 @@ function X_e({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {onError: i});}-function NO(e) {- fO(!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 IO(e) {+ hO(!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 Z_e({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {- fO(!AO(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");+function Y_e({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {+ hO(!NO(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s = e.replace(/^\/*/, "/"), c = E.useMemo(() => ({basename: s,navigator: i,@@ -36452,9 +36461,9 @@ function Z_e({ basename: e = "/", children: t = null, location: n, navigationTypa,o]);- typeof n == "string" && (n = gO(n));+ typeof n == "string" && (n = yO(n));let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = E.useMemo(() => {- let e = vO(l, s);+ let e = xO(l, s);return e == null ? null : {location: {pathname: e,@@ -36476,27 +36485,27 @@ function Z_e({ basename: e = "/", children: t = null, location: n, navigationTypr,m]);- return pO(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__ */ E.createElement(wO.Provider, { value: c }, /* @__PURE__ */ E.createElement(TO.Provider, {+ return gO(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__ */ E.createElement(DO.Provider, { value: c }, /* @__PURE__ */ E.createElement(OO.Provider, {children: t,value: h}));}-function PO({ children: e, location: t }) {- return P_e(FO(e), t);+function LO({ children: e, location: t }) {+ return M_e(RO(e), t);}E.Component;-function FO(e, t = []) {+function RO(e, t = []) {let n = [];return E.Children.forEach(e, (e, r) => {if (!E.isValidElement(e)) return;let i = [...t, r];if (e.type === E.Fragment) {- n.push.apply(n, FO(e.props.children, i));+ n.push.apply(n, RO(e.props.children, i));return;}- fO(e.type === NO, `[${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>`);+ hO(e.type === IO, `[${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;- fO(!a.index || !a.children, "An index route cannot have child routes.");+ hO(!a.index || !a.children, "An index route cannot have child routes.");let o = {id: a.id || i.join("-"),caseSensitive: a.caseSensitive,@@ -36515,18 +36524,18 @@ function FO(e, t = []) {handle: a.handle,lazy: a.lazy};- a.children && (o.children = FO(a.children, i)), n.push(o);+ a.children && (o.children = RO(a.children, i)), n.push(o);}), n;}//#endregion//#region src/history/settings-route.ts-var IO = {+var zO = {appearance: "外观与导航",playback: "浏览与播放",jav: "JAV 与新作",search: "搜索与推荐",content: "内容显示"-}, LO = {+}, BO = {library: "媒体库与入库",subscriptions: "来源与订阅",downloads: "下载渠道",@@ -36534,37 +36543,37 @@ var IO = {maintenance: "应用与维护",diagnostics: "系统诊断"};-function Q_e(e) {- return LO[e.split("/")[2]] || LO.library;+function X_e(e) {+ return BO[e.split("/")[2]] || BO.library;}-var RO = ["/settings", ...Object.keys(IO).map((e) => `/settings/${e}`)], zO = (e) => RO.includes(e);-function $_e(e) {- return IO[e.split("/")[2]] || IO.appearance;+var VO = ["/settings", ...Object.keys(zO).map((e) => `/settings/${e}`)], HO = (e) => VO.includes(e);+function Z_e(e) {+ return zO[e.split("/")[2]] || zO.appearance;}-function BO(e) {+function UO(e) {return `/settings/${Object.entries({- ...IO,- ...LO+ ...zO,+ ...BO}).find(([, t]) => t === e)?.[0] || "appearance"}`;}-var VO = (e) => {+var WO = (e) => {let t = e?.settingsBackground;return t && typeof t.pathname == "string" ? t : null;-}, HO = [+}, GO = ["/assets/:id","/posts/:id","/works/:code"-], eve = [+], Q_e = ["mix","parts","editions","playlist"];-function tve(e, t = "") {+function $_e(e, t = "") {let n = new URL(e, "https://peach.invalid");e = n.pathname, t ||= n.search;- for (let n of HO) {- let r = _O(n, e);+ for (let n of GO) {+ let r = bO(n, e);if (!r) continue;if (n === "/works/:code") {let e = r.params.code || "";@@ -36581,7 +36590,7 @@ function tve(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 = eve.filter((t) => e.has(t));+ let e = new URLSearchParams(t), r = Q_e.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 {@@ -36605,8 +36614,8 @@ function tve(e, t = "") {}return null;}-var UO = (e, t = "") => tve(e, t)?.target ?? null, WO = (e) => zO(e.split(/[?#]/)[0]) || HO.some((t) => _O(t, e.split(/[?#]/)[0]) !== null);-function GO(e) {+var KO = (e, t = "") => $_e(e, t)?.target ?? null, qO = (e) => HO(e.split(/[?#]/)[0]) || GO.some((t) => bO(t, e.split(/[?#]/)[0]) !== null);+function JO(e) {let t = e?.backgroundLocation;return typeof t?.pathname == "string" ? {pathname: t.pathname,@@ -36614,35 +36623,35 @@ function GO(e) {...typeof t.hash == "string" && t.hash ? { hash: t.hash } : {}} : null;}-var KO = null, qO = null;-function JO() {+var YO = null, XO = null;+function ZO() {let { pathname: e, search: t, hash: n } = window.location;- WO(e) || (KO = {+ qO(e) || (YO = {pathname: e,search: t,...n ? { hash: n } : {}});}-function YO() {- KO = null, qO = null;+function QO() {+ YO = null, XO = null;}-function nve(e) {- let t = GO(e);- t && (KO = t, qO = t.pathname + t.search + (t.hash || ""));+function eve(e) {+ let t = JO(e);+ t && (YO = t, XO = t.pathname + t.search + (t.hash || ""));}-function XO() {- let e = qO;- return qO = null, e;+function $O() {+ let e = XO;+ return XO = null, e;}-function ZO(e) {- return KO ? {- backgroundLocation: { ...KO },+function ek(e) {+ return YO ? {+ backgroundLocation: { ...YO },overlay: e} : void 0;}//#endregion//#region src/history/canonical-path.ts-function QO(e) {+function tk(e) {let t = new URL(e, "https://peach.invalid");for (let [e, n] of [[/^\/item\/(\d+)$/, "/assets/"],@@ -36666,16 +36675,16 @@ function QO(e) {}//#endregion//#region src/history/route-meta.ts-var $O = {+var nk = {"/settings": {title: "设置",refresh: "skip"},- ...Object.fromEntries(Object.entries(IO).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(zO).map(([e, t]) => [`/settings/${e}`, {title: t,refresh: "skip"}])),- ...Object.fromEntries(Object.entries(LO).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(BO).map(([e, t]) => [`/settings/${e}`, {title: t,section: "configuration",refresh: "reopen"@@ -36806,13 +36815,13 @@ var $O = {title: "播放墙"}};-function ek(e) {- if (Object.hasOwn($O, e)) return $O[e];- let t = tve(e);- if (t) return $O[t.path];+function rk(e) {+ if (Object.hasOwn(nk, e)) return nk[e];+ let t = $_e(e);+ if (t) return nk[t.path];let [n, ...r] = e.split("/").filter(Boolean);if (!n) return null;- if (!r.length) return Object.hasOwn($O, `/${n}`) ? $O[`/${n}`] : null;+ if (!r.length) return Object.hasOwn(nk, `/${n}`) ? nk[`/${n}`] : null;let i = `/${n}/*`, a = /^\d+$/.test(r.join("/")) ? Dt({performers: "performer",studios: "studio",@@ -36821,126 +36830,126 @@ function ek(e) {series: "series",tags: "tag"}[n] || "", Number(r[0])) : r.join("/");- return Object.hasOwn($O, i) ? {- ...$O[i],+ return Object.hasOwn(nk, i) ? {+ ...nk[i],title: a || "资料"} : null;}//#endregion//#region src/history/managed.ts-var rve = () => {}, ive = new Promise((e) => {- rve = e;+var tve = () => {}, nve = new Promise((e) => {+ tve = e;});-ive.catch(() => {});-var ave = null, tk = /* @__PURE__ */ new Map(), nk = /* @__PURE__ */ new Map(), ove = 0, rk = /* @__PURE__ */ new Set();-function sve(e) {- rve(e);+nve.catch(() => {});+var rve = null, ik = /* @__PURE__ */ new Map(), ak = /* @__PURE__ */ new Map(), ive = 0, ok = /* @__PURE__ */ new Set();+function ave(e) {+ tve(e);}-function ik(e) {- return tk.get(e) ?? null;+function sk(e) {+ return ik.get(e) ?? null;}-function ak(e) {- return !!e && (tk.has(e) || nk.has(e));+function ck(e) {+ return !!e && (ik.has(e) || ak.has(e));}-var ok = () => [...tk.values()];-function cve(e) {- return rk.add(e), () => {- rk.delete(e);+var lk = () => [...ik.values()];+function ove(e) {+ return ok.add(e), () => {+ ok.delete(e);};}-function sk(e) {- let t = ok();- for (let n of [...rk]) n(t, e);+function uk(e) {+ let t = lk();+ for (let n of [...ok]) n(t, e);}-async function ck(e, t, n) {+async function dk(e, t, n) {let { container: r } = n;- if (uk(r), !n.isCurrent()) return !1;- ove += 1;+ if (pk(r), !n.isCurrent()) return !1;+ ive += 1;let i = {- revision: ove,+ revision: ive,controller: new AbortController()};- nk.set(r, i);- let a = ave;- ave = null, a?.();- let o = await ive;- if (nk.get(r) !== i) return !1;+ ak.set(r, i);+ let a = rve;+ rve = null, a?.();+ let o = await nve;+ if (ak.get(r) !== i) return !1;try {await o(e, t, i.controller.signal);} catch {if (i.controller.signal.aborted) return !1;}- if (nk.get(r) !== i || (nk.delete(r), !n.isCurrent())) return !1;- let s = n.place ? n.place(r) : lve(r);- return tk.set(r, {+ if (ak.get(r) !== i || (ak.delete(r), !n.isCurrent())) return !1;+ let s = n.place ? n.place(r) : sve(r);+ return ik.set(r, {path: e,props: t,revision: i.revision,container: r,host: s,resident: !!n.resident- }), sk(!0), !0;+ }), uk(!0), !0;}-function lve(e) {+function sve(e) {let t = e.ownerDocument.createElement("div");return t.className = "peach-react", e.textContent = "", e.append(t), t;}-function lk(e, t) {- let n = e ? tk.get(e) : void 0;- n && (tk.set(n.container, {+function fk(e, t) {+ let n = e ? ik.get(e) : void 0;+ n && (ik.set(n.container, {...n,props: {...n.props,...t}- }), sk(!1));+ }), uk(!1));}-function uk(e, ...t) {+function pk(e, ...t) {let n = [];for (let r of /* @__PURE__ */ new Set([e, ...t])) {- let e = nk.get(r);- e && (e.controller.abort(), nk.delete(r));- let t = tk.get(r);- t && (tk.delete(r), n.push(t));+ let e = ak.get(r);+ e && (e.controller.abort(), ak.delete(r));+ let t = ik.get(r);+ t && (ik.delete(r), n.push(t));}if (n.length) {- sk(!0);+ uk(!0);for (let e of n) e.resident || e.host.remove();}}-function uve() {- let [e, ...t] = /* @__PURE__ */ new Set([...tk.keys(), ...nk.keys()]);- e && uk(e, ...t);+function cve() {+ let [e, ...t] = /* @__PURE__ */ new Set([...ik.keys(), ...ak.keys()]);+ e && pk(e, ...t);}-function dve(e, t) {- let n = tk.get(e);- n?.revision === t && (tk.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {- sk(!1);+function lve(e, t) {+ let n = ik.get(e);+ n?.revision === t && (ik.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {+ uk(!1);}));}//#endregion//#region src/history/index.ts-var dk = Tge({ v5Compat: !0 }), fk = 0, pk = 0, mk = {- action: dk.action,- location: dk.location,- seq: fk,- openEpoch: pk,+var mk = Cge({ v5Compat: !0 }), hk = 0, gk = 0, _k = {+ action: mk.action,+ location: mk.location,+ seq: hk,+ openEpoch: gk,claimed: !0-}, hk = /* @__PURE__ */ new Set(), gk = !1, _k = !0;-dk.listen(({ action: e, location: t }) => {- let n = t.pathname + t.search + t.hash, r = QO(n);- r !== n && (window.history.replaceState(window.history.state, "", r), t = dk.location), fk += 1, gk || (pk += 1), e !== "REPLACE" && (_k = !1), mk = {+}, vk = /* @__PURE__ */ new Set(), yk = !1, bk = !0;+mk.listen(({ action: e, location: t }) => {+ let n = t.pathname + t.search + t.hash, r = tk(n);+ r !== n && (window.history.replaceState(window.history.state, "", r), t = mk.location), hk += 1, yk || (gk += 1), e !== "REPLACE" && (bk = !1), _k = {action: e,location: t,- seq: fk,- openEpoch: pk,- claimed: gk+ seq: hk,+ openEpoch: gk,+ claimed: yk};- for (let e of [...hk]) e(mk);+ for (let e of [...vk]) e(_k);});-function fve(e) {- if (typeof e == "string") return QO(new URL(e, window.location.href).href);- let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = QO(t.href);+function uve(e) {+ if (typeof e == "string") return tk(new URL(e, window.location.href).href);+ let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = tk(t.href);if (n === t.pathname + t.search + t.hash) return e;let r = new URL(n, window.location.origin);return {@@ -36950,55 +36959,55 @@ function fve(e) {hash: r.hash};}-var vk = {+var xk = {get navigation() {- return mk;+ return _k;},listen(e) {- return hk.add(e), () => {- hk.delete(e);+ return vk.add(e), () => {+ vk.delete(e);};},- createHref: (e) => dk.createHref(e),- createURL: (e) => dk.createURL(e),- encodeLocation: (e) => dk.encodeLocation(e),- go: (e) => dk.go(e),- push: (e, t) => dk.push(fve(e), t),- replace: (e, t) => dk.replace(fve(e), t)+ createHref: (e) => mk.createHref(e),+ createURL: (e) => mk.createURL(e),+ encodeLocation: (e) => mk.encodeLocation(e),+ go: (e) => mk.go(e),+ push: (e, t) => mk.push(uve(e), t),+ replace: (e, t) => mk.replace(uve(e), t)};-function yk(e, { replace: t = !1, state: n } = {}) {- let r = new URL(e, window.location.href), i = QO(`${r.pathname}${r.search}${r.hash}`);- gk = !0;+function Sk(e, { replace: t = !1, state: n } = {}) {+ let r = new URL(e, window.location.href), i = tk(`${r.pathname}${r.search}${r.hash}`);+ yk = !0;try {- t ? dk.replace(i, n) : dk.push(i, n);+ t ? mk.replace(i, n) : mk.push(i, n);} finally {- gk = !1;+ yk = !1;}}-var bk = () => _k;-function xk() {- if (zO(mk.location.pathname)) {- let e = _k ? null : VO(mk.location.state);- return e ? GO(e.state) || e : null;+var Ck = () => bk;+function wk() {+ if (HO(_k.location.pathname)) {+ let e = bk ? null : WO(_k.location.state);+ return e ? JO(e.state) || e : null;}- return _k ? null : GO(mk.location.state);+ return bk ? null : JO(_k.location.state);}//#endregion//#region src/core/jav-title.ts-var pve = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, mve = (e, t = e?.name) => {+var dve = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, fve = (e, t = e?.name) => {let n = String(t || "").trim();- return e?.is_jav ? n.replace(pve, "") : n;-}, hve = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), gve = (e) => {+ return e?.is_jav ? n.replace(dve, "") : n;+}, pve = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), mve = (e) => {let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);- return t.find(hve) || t[0] || "";+ return t.find(pve) || t[0] || "";};-function Sk(e, t = e?.name) {- let n = mve(e, t), r = String(e?.code || "").trim().toUpperCase();+function Tk(e, t = e?.name) {+ let n = fve(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 = gve(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 = mve(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) => ["中字","无码","无码破解"@@ -37009,23 +37018,23 @@ function Sk(e, t = e?.name) {badges: f};}-var Ck = (e, t = e?.name) => {- let { code: n, title: r, badges: i = [] } = Sk(e, t);+var Ek = (e, t = e?.name) => {+ let { code: n, title: r, badges: i = [] } = Tk(e, t);return n ? [n,...i,r].filter(Boolean).join(" ") : r;};-function wk(e, t = e?.name) {- let { code: n, title: r, badges: i = [] } = Sk(e, t);+function Dk(e, t = e?.name) {+ let { code: n, title: r, badges: i = [] } = Tk(e, t);if (!n) return B(r);let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${B(e)}</small>`).join("");return `<span class="ui-javidentity"><strong class="ui-javcode">${B(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle">${B(r)}</span>` : ""}`;}//#endregion//#region node_modules/@remixicon/react/index.mjs-var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+var hve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37033,7 +37042,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), vve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), gve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37041,7 +37050,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Tk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Ok = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37049,7 +37058,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Ek = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), kk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37057,7 +37066,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Dk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Ak = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37065,7 +37074,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), yve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37073,7 +37082,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), bve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), vve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37081,7 +37090,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), xve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), yve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37089,7 +37098,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Sve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), bve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37097,7 +37106,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Cve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), xve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37105,7 +37114,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), wve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Sve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37113,7 +37122,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Tve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Cve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37121,7 +37130,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Eve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), wve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37129,7 +37138,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Dve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Tve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37137,7 +37146,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Ove = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Eve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37145,7 +37154,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Ok = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), jk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37153,7 +37162,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), kve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Dve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37161,7 +37170,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), kk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Mk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37169,7 +37178,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Ak = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Nk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37177,7 +37186,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), jk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Pk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37185,7 +37194,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Ave = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Ove = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37193,7 +37202,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Mk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Fk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37201,7 +37210,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), jve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), kve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37209,7 +37218,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Mve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Ave = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37217,7 +37226,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Nve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), jve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37225,7 +37234,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Pve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Mve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37233,7 +37242,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Fve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Nve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37241,7 +37250,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Ive = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Pve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37249,7 +37258,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Nk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Ik = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37257,7 +37266,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Lve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Fve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37265,7 +37274,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Rve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Ive = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37273,7 +37282,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Pk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Lk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37281,7 +37290,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Fk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Rk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37289,7 +37298,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Ik = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), zk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37297,7 +37306,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), zve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Lve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37305,7 +37314,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Bve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Rve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37313,7 +37322,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Vve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), zve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37321,7 +37330,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Hve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Bve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37329,7 +37338,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Uve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Vve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37337,7 +37346,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Wve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Hve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37345,7 +37354,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Gve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Uve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37353,7 +37362,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Kve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Wve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37361,7 +37370,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), Lk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), Bk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37369,7 +37378,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Rk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Vk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37377,7 +37386,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), zk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Hk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37385,7 +37394,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), qve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Gve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37393,7 +37402,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Bk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Uk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37401,7 +37410,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Jve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Kve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37409,7 +37418,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Yve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), qve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37417,7 +37426,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Xve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Jve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37425,7 +37434,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Zve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Yve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37433,7 +37442,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Qve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Xve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37441,7 +37450,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), $ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Zve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37449,7 +37458,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), eye = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Qve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37457,7 +37466,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), tye = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), $ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37465,7 +37474,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), nye = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), eye = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37473,7 +37482,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), rye = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), tye = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -37481,7 +37490,7 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Vk = sO({+}, E.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" })), Wk = uO({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",@@ -37500,16 +37509,16 @@ var _ve = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Esoft: "bg-background-secondary-default text-text-secondary"}});-function Hk({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function Gk({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, D.jsx)("span", {ref: r,- className: oO(Vk.base, Vk.variant[e], Vk.color[t], n),+ className: lO(Wk.base, Wk.variant[e], Wk.color[t], n),...i});}//#endregion//#region src/react/boardui/components/base/buttons/button.tsx-var Uk = sO({+var Kk = uO({base: ["inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden","font-sans select-none cursor-pointer",@@ -37568,40 +37577,40 @@ function q({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadireturn /* @__PURE__ */ (0, D.jsxs)("button", {ref: c,type: s,- className: oO(Uk.base, Uk.size[t], Uk.variant[e], n && Uk.iconOnlySize[t], o),+ className: lO(Kk.base, Kk.size[t], Kk.variant[e], n && Kk.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, D.jsx)(r, {- className: Uk.icon[t],+ className: Kk.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, D.jsx)("span", {- className: Uk.label[t],+ className: Kk.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, D.jsx)(i, {- className: Uk.icon[t],+ className: Kk.icon[t],"aria-hidden": !0}) : null]});}-function Wk({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+function qk({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, D.jsxs)("a", {ref: s,- className: oO(Uk.base, Uk.size[t], Uk.variant[e], n && Uk.iconOnlySize[t], o),+ className: lO(Kk.base, Kk.size[t], Kk.variant[e], n && Kk.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, D.jsx)(r, {- className: Uk.icon[t],+ className: Kk.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, D.jsx)("span", {- className: Uk.label[t],+ className: Kk.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, D.jsx)(i, {- className: Uk.icon[t],+ className: Kk.icon[t],"aria-hidden": !0}) : null]@@ -37609,7 +37618,7 @@ function Wk({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead}//#endregion//#region src/react/boardui/components/base/buttons/link-button.tsx-var Gk = sO({+var Jk = uO({base: ["inline-flex items-center justify-center gap-1 whitespace-nowrap","font-sans select-none cursor-pointer rounded-sm",@@ -37633,15 +37642,15 @@ var Gk = sO({secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")}});-function Kk({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = oO(Gk.base, Gk.size[t], Gk.variant[e], a), l = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+function Yk({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = lO(Jk.base, Jk.size[t], Jk.variant[e], a), l = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [n ? /* @__PURE__ */ (0, D.jsx)(n, {- className: Gk.icon[t],+ className: Jk.icon[t],"aria-hidden": !0}) : null,i != null && /* @__PURE__ */ (0, D.jsx)("span", { children: i }),r ? /* @__PURE__ */ (0, D.jsx)(r, {- className: Gk.icon[t],+ className: Jk.icon[t],"aria-hidden": !0}) : null] });@@ -37668,38 +37677,38 @@ function Kk({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili}//#endregion//#region src/react/components/card.tsx-var iye = "min-w-0", aye = {+var nye = "min-w-0", rye = {filled: "bg-background-secondary-default",outlined: "border border-separator-border bg-background-primary-default",raised: "bg-background-primary-default"-}, oye = {+}, iye = {default: "rounded-2xl shadow-card",chart: "rounded-2-5xl",surface: "rounded-surface",plain: "rounded-2xl"-}, sye = {+}, aye = {line: "border border-border-button-default",soft: "border border-separator-border"-}, cye = {+}, oye = {none: "",default: "p-5"-}, lye = "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", uye = "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 qk(e = {}) {+}, sye = "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", cye = "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 Xk(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 [- iye,- aye[t],- oye[s],- cye[n],- a ? sye[a] : "",- r ? lye : "",- i ? uye : "",+ nye,+ rye[t],+ iye[s],+ oye[n],+ a ? aye[a] : "",+ r ? sye : "",+ i ? cye : "",o ?? ""].filter(Boolean).join(" ");}//#endregion//#region src/react/components/overlay-scrollbar.ts-function Jk() {+function Zk() {let e = (0, E.useRef)(null);return (0, E.useEffect)(() => {La(e.current);@@ -37707,8 +37716,8 @@ function Jk() {}//#endregion//#region src/react/components/code-block.tsx-function Yk({ code: e, language: t, label: n, maxCharacters: r, bounded: i = !0, copyLabel: a, onCopy: o }) {- let s = Jk(), [c, l] = (0, E.useState)(""), [u, d] = (0, E.useState)(!1);+function Qk({ code: e, language: t, label: n, maxCharacters: r, bounded: i = !0, copyLabel: a, onCopy: o }) {+ let s = Zk(), [c, l] = (0, E.useState)(""), [u, d] = (0, E.useState)(!1);(0, E.useEffect)(() => {l(""), d(!1);}, [e]);@@ -37720,7 +37729,7 @@ function Yk({ code: e, language: t, label: n, maxCharacters: r, bounded: i = !0,}};return /* @__PURE__ */ (0, D.jsxs)("div", {- className: oO(qk({+ className: lO(Xk({bordered: "soft",radius: "plain",padding: "none"@@ -37745,7 +37754,7 @@ function Yk({ code: e, language: t, label: n, maxCharacters: r, bounded: i = !0,ref: s,tabIndex: 0,"aria-label": n,- className: oO("m-0 overflow-auto overscroll-contain p-3 font-mono text-caption-1-regular whitespace-pre text-text-primary", i && "max-h-80"),+ className: lO("m-0 overflow-auto overscroll-contain p-3 font-mono text-caption-1-regular whitespace-pre text-text-primary", i && "max-h-80"),children: /* @__PURE__ */ (0, D.jsx)("code", { children: r === void 0 ? e : e.slice(0, r) })})}),@@ -37759,11 +37768,11 @@ function Yk({ code: e, language: t, label: n, maxCharacters: r, bounded: i = !0,}//#endregion//#region src/react/components/empty-state.tsx-var dye = {+var lye = {standard: "min-h-80 px-6 py-12",compact: "min-h-60 px-4 py-6"};-function Xk({ target: e, children: t }) {+function $k({ target: e, children: t }) {return /* @__PURE__ */ (0, D.jsx)(q, {size: "small",variant: "secondary",@@ -37771,11 +37780,11 @@ function Xk({ target: e, children: t }) {children: t});}-function Zk({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {+function eA({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-empty-state": "","data-empty-size": i,- className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${dye[i]}`,+ className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${lye[i]}`,children: [/* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,@@ -37802,7 +37811,7 @@ function Zk({ icon: e, title: t, actions: n, children: r, size: i = "standard" }}//#endregion//#region src/react/components/loading-dots.tsx-function Qk({ label: e, inline: t = !1 }) {+function tA({ label: e, inline: t = !1 }) {let n = /* @__PURE__ */ (0, D.jsxs)("span", {"aria-hidden": !0,className: "inline-flex shrink-0 items-center gap-1",@@ -37830,9 +37839,9 @@ function Qk({ label: e, inline: t = !1 }) {function J({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {let s = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-note-layout": "",- className: oO("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),+ className: lO("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: oO("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),+ className: lO("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),children: [t ? /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-medium wrap-anywhere",children: t@@ -37849,34 +37858,34 @@ function J({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:switch (e) {case "info": return /* @__PURE__ */ (0, D.jsx)("div", {role: "status",- className: oO("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),+ className: lO("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),children: s});case "success": return /* @__PURE__ */ (0, D.jsx)("div", {role: "status",- className: oO("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),+ className: lO("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),children: s});case "warning": return /* @__PURE__ */ (0, D.jsx)("div", {role: "note",- className: oO("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),+ className: lO("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),children: s});case "error": return /* @__PURE__ */ (0, D.jsx)("div", {role: "alert",- className: oO("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),+ className: lO("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),children: s});default: return /* @__PURE__ */ (0, D.jsx)("div", {role: "note",- className: oO("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),+ className: lO("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),children: s});}}//#endregion//#region src/react/components/page.tsx-function $k({ children: e }) {+function nA({ children: e }) {return /* @__PURE__ */ (0, D.jsx)("div", {className: "mx-auto flex w-full max-w-board flex-col gap-8",children: e@@ -37884,21 +37893,21 @@ function $k({ children: e }) {}//#endregion//#region src/react/components/progress.tsx-var eA = 100, fye = .4;-function tA({ label: e, value: t, max: n = 100, stops: r = [] }) {- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * eA;+var rA = 100, uye = .4;+function iA({ label: e, value: t, max: n = 100, stops: r = [] }) {+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * rA;return /* @__PURE__ */ (0, D.jsxs)("svg", {role: "progressbar","aria-label": e,"aria-valuemin": 0,"aria-valuemax": i,"aria-valuenow": a(t),- viewBox: `0 0 ${eA} 1`,+ viewBox: `0 0 ${rA} 1`,preserveAspectRatio: "none",className: "h-1.5 w-full overflow-hidden rounded-full",children: [/* @__PURE__ */ (0, D.jsx)("rect", {- width: eA,+ width: rA,height: 1,className: "fill-background-tertiary-default"}),@@ -37909,7 +37918,7 @@ function tA({ label: e, value: t, max: n = 100, stops: r = [] }) {}),r.map((e) => /* @__PURE__ */ (0, D.jsx)("rect", {x: o(e),- width: fye,+ width: uye,height: 1,className: "fill-background-secondary-default"}, e))@@ -37926,7 +37935,7 @@ function Y(e) {}//#endregion//#region src/react/settings/use-action.ts-function nA(e = "") {+function aA(e = "") {let t = (0, E.useRef)(null), [n, r] = (0, E.useState)(""), [i, a] = (0, E.useState)(e);(0, E.useEffect)(() => () => t.current?.abort(), []);async function o(e, n, i, o) {@@ -37952,21 +37961,21 @@ function nA(e = "") {}//#endregion//#region src/react/boardui/components/application/settings/settings-rows.tsx-function rA({ className: e, children: t }) {+function oA({ className: e, children: t }) {return /* @__PURE__ */ (0, D.jsx)("div", {- className: oO("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ className: lO("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}-function iA({ className: e, children: t }) {+function sA({ className: e, children: t }) {return /* @__PURE__ */ (0, D.jsx)("p", {- className: oO("w-full px-3 text-body-2-medium text-text-secondary", e),+ className: lO("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}-function aA({ label: e, description: t, children: n }) {+function cA({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {- className: oO("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),+ className: lO("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, D.jsxs)("div", {className: "flex min-w-0 flex-col",children: [/* @__PURE__ */ (0, D.jsx)("p", {@@ -37981,7 +37990,7 @@ function aA({ label: e, description: t, children: n }) {}//#endregion//#region src/react/settings/section.tsx-function oA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {+function lA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {let o = t ? /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex items-center gap-1.5",children: [t, e]@@ -37989,12 +37998,12 @@ function oA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {className: "flex w-full flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, D.jsx)(iA, { children: o })+ children: /* @__PURE__ */ (0, D.jsx)(sA, { children: o })}), /* @__PURE__ */ (0, D.jsx)("div", {className: "flex min-w-0 max-w-full",children: r})]- }) : /* @__PURE__ */ (0, D.jsx)(iA, { children: o }), /* @__PURE__ */ (0, D.jsx)(rA, { children: a })] });+ }) : /* @__PURE__ */ (0, D.jsx)(sA, { children: o }), /* @__PURE__ */ (0, D.jsx)(oA, { children: a })] });return i ? /* @__PURE__ */ (0, D.jsx)("form", {id: n,"aria-label": e,@@ -38009,13 +38018,13 @@ function oA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {children: s});}-function sA({ children: e }) {+function uA({ children: e }) {return /* @__PURE__ */ (0, D.jsx)("div", {className: "ui-settings-rows flex flex-col empty:hidden",children: e});}-function cA({ divided: e = !1, children: t }) {+function dA({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, D.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden",children: t@@ -38024,7 +38033,7 @@ function cA({ divided: e = !1, children: t }) {children: t});}-function lA({ status: e, children: t }) {+function fA({ status: e, children: t }) {return /* @__PURE__ */ (0, D.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, D.jsx)("div", {@@ -38033,34 +38042,34 @@ function lA({ status: e, children: t }) {}) : null, t]});}-function uA({ role: e, children: t }) {+function pA({ role: e, children: t }) {return /* @__PURE__ */ (0, D.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function dA({ children: e }) {+function mA({ children: e }) {return /* @__PURE__ */ (0, D.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function fA({ children: e }) {+function hA({ children: e }) {return /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}-function pA({ href: e, children: t, leadingIcon: n }) {- return /* @__PURE__ */ (0, D.jsx)(Kk, {+function gA({ href: e, children: t, leadingIcon: n }) {+ return /* @__PURE__ */ (0, D.jsx)(Yk, {href: e,target: "_blank",rel: "noopener noreferrer",size: "small",leadingIcon: n,- trailingIcon: Mk,+ trailingIcon: Fk,className: "min-w-0 max-w-full",children: /* @__PURE__ */ (0, D.jsx)("span", {className: "min-w-0 whitespace-normal break-all",@@ -38068,13 +38077,13 @@ function pA({ href: e, children: t, leadingIcon: n }) {})});}-function mA({ children: e }) {+function _A({ children: e }) {return /* @__PURE__ */ (0, D.jsx)("dl", {className: "ui-settings-facts flex flex-col empty:hidden",children: e});}-function hA({ term: e, children: t }) {+function vA({ term: e, children: t }) {return /* @__PURE__ */ (0, D.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, D.jsx)("dt", {@@ -38086,7 +38095,7 @@ function hA({ term: e, children: t }) {})]});}-function gA({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {+function yA({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {let s = (0, E.useId)(), c = (0, E.useRef)(null), l = (0, E.useRef)(null), u = (0, E.useRef)(!1), [d, f] = (0, E.useState)(n ?? t);return (0, E.useLayoutEffect)(() => {n !== void 0 && n !== d && c.current && l.current && (za(c.current, l.current, n), f(n));@@ -38102,12 +38111,12 @@ function gA({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:},className: `${i ? "w-full" : "w-fit"} flex cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring`,children: [- i ? null : /* @__PURE__ */ (0, D.jsx)(Dk, {+ i ? null : /* @__PURE__ */ (0, D.jsx)(Ak, {"aria-hidden": !0,className: d ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"}),e,- i ? /* @__PURE__ */ (0, D.jsx)(Dk, {+ i ? /* @__PURE__ */ (0, D.jsx)(Ak, {"aria-hidden": !0,className: d ? "ml-auto size-4 shrink-0 -rotate-90 transition-transform" : "ml-auto size-4 shrink-0 rotate-90 transition-transform"}) : null@@ -38117,13 +38126,13 @@ function gA({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:id: s,inert: !d,children: /* @__PURE__ */ (0, D.jsx)("div", {- className: oO("flex flex-col gap-2 pt-3", o),+ className: lO("flex flex-col gap-2 pt-3", o),children: r})})]});}-function pye({ name: e }) {+function dye({ name: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {"aria-hidden": !0,"data-source-mark": e,@@ -38133,22 +38142,22 @@ function pye({ name: e }) {children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })});}-function _A({ mark: e }) {+function bA({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, D.jsx)("img", {src: e,alt: "",width: 16,height: 16,className: "size-4 shrink-0"- }) : /* @__PURE__ */ (0, D.jsx)(pye, { name: e });+ }) : /* @__PURE__ */ (0, D.jsx)(dye, { name: e });}//#endregion//#region src/react/activity/tasks.ts-var vA = "/api/tasks", yA = ["tasks"], mye = (e, t) => H(`${vA}?${new URLSearchParams({+var xA = "/api/tasks", SA = ["tasks"], fye = (e, t) => H(`${xA}?${new URLSearchParams({before_finished_at: e.finished_at || "",before_id: String(e.id)})}`, t);-function bA(...e) {+function CA(...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) => {@@ -38156,26 +38165,26 @@ function bA(...e) {return n === r ? t.id - e.id : n < r ? 1 : -1;});}-var hye = 2e3, gye = 1e4, xA = (e) => e?.running?.length ? hye : gye, SA = (e) => H(vA, e);-async function _ye(e) {+var pye = 2e3, mye = 1e4, wA = (e) => e?.running?.length ? pye : mye, TA = (e) => H(xA, e);+async function hye(e) {await W.fetchQuery({- queryKey: yA,- queryFn: () => SA(e)+ queryKey: SA,+ queryFn: () => TA(e)});}-var CA = {+var EA = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, vye = {+}, gye = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "意外中断"-}, yye = (e) => vye[e] || e, wA = {+}, _ye = (e) => gye[e] || e, DA = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -38252,7 +38261,7 @@ var CA = {without_code: "未识别番号",incomplete: "资料或封面未取得",result: "结果"-}, bye = [+}, vye = ["gone_count","unclear_count","source_failed",@@ -38274,13 +38283,13 @@ var CA = {"paused_count","miss","incomplete"-], TA = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || bye.some((t) => Number(e.result_summary?.[t]) > 0);-function xye(e) {+], OA = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || vye.some((t) => Number(e.result_summary?.[t]) > 0);+function yye(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") : [];}-function Sye(e) {- if (!TA(e) && e.status !== "failed") return null;+function bye(e) {+ if (!OA(e) && e.status !== "failed") return null;let t = {"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],"follow-check": ["/subscriptions", "查看关注来源"],@@ -38296,7 +38305,7 @@ function Sye(e) {label: t[1]} : null;}-function Cye(e) {+function xye(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {if (!n.followup_key || n.parent_run_id == null) continue;@@ -38305,7 +38314,7 @@ function Cye(e) {}return t;}-function wye(e, t) {+function Sye(e, t) {let n = [], r = /* @__PURE__ */ new Map();for (let i of e) {if (!t(i)) {@@ -38327,12 +38336,12 @@ function wye(e, t) {}return n;}-var Tye = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !TA(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), EA = (e) => e.status === "pending" || e.status === "running";-function Eye(e) {+var Cye = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !OA(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), kA = (e) => e.status === "pending" || e.status === "running";+function wye(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, kA(e.error) || Mye(o) || (EA(e) && i > 0 ? `${OA(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");+ return [r, MA(e.error) || Aye(o) || (kA(e) && i > 0 ? `${jA(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");}-function DA(e) {+function AA(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;@@ -38341,19 +38350,19 @@ function DA(e) {let r = Math.floor(n / 60);return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;}-function OA(e, t) {+function jA(e, t) {let n = Math.max(0, Number(t) || 0);return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;}-function Dye(e) {+function Tye(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 kA(e) {- let t = Dye(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);+function MA(e) {+ let t = Tye(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);return n ? Rt(n[1]) : t;}-var Oye = {+var Eye = {没有新写法: "未发现新别名",已装上: "已保存资料图片",已装着认得准的小图: "已保留身份核对通过的小尺寸图片",@@ -38367,11 +38376,11 @@ var Oye = {三站都没对上她: "三个来源均未找到与该人物相符的资料页",已有身份: "已有创作者分类",已变: "资料已被其他操作修改,本次未保存"-}, AA = {+}, NA = {avwikidb: "AVWikiDB",javdb: "JavDB","minnano-av": "みんなのAV"-}, kye = {+}, Dye = {like: "标记喜欢",seen: "标记看过",later: "加入稍后看",@@ -38382,8 +38391,8 @@ var Oye = {"dismiss-junk": "确认不是垃圾","reconsider-junk": "重新判定垃圾",region: "判定产地"-}, Aye = (e) => Oye[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${AA[t.toLowerCase()]} 资料页` : `已保存来自 ${AA[t.toLowerCase()]} 的资料`).replace(/^探针不可用:/, "无法读取媒体信息:");-function jA(e) {+}, Oye = (e) => Eye[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${NA[t.toLowerCase()]} 资料页` : `已保存来自 ${NA[t.toLowerCase()]} 的资料`).replace(/^探针不可用:/, "无法读取媒体信息:");+function PA(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -38393,7 +38402,7 @@ function jA(e) {minute: "2-digit"});}-var jye = /* @__PURE__ */ new Set([+var kye = /* @__PURE__ */ new Set(["blocked_by","status","run_id",@@ -38402,27 +38411,27 @@ var jye = /* @__PURE__ */ new Set(["completed_at","finished_at"]);-function MA(e) {- return Object.entries(e || {}).filter(([e, t]) => !jye.has(e) && (e in wA || 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" ? kA(String(t)) : e === "outcome" || e === "result" ? Aye(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${wA[e]} ${dn(Number(t))}` : e === "operation" ? `操作:${kye[String(t)] || "批量操作"}` : `${wA[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);+function FA(e) {+ return Object.entries(e || {}).filter(([e, t]) => !kye.has(e) && (e in DA || 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" ? MA(String(t)) : e === "outcome" || e === "result" ? Oye(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${DA[e]} ${dn(Number(t))}` : e === "operation" ? `操作:${Dye[String(t)] || "批量操作"}` : `${DA[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);}-var Mye = (e) => MA(e).join(" · "), NA = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, Nye = Object.fromEntries(Object.entries(_o).map(([e, t]) => [e, function({ className: e }) {+var Aye = (e) => FA(e).join(" · "), IA = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, jye = Object.fromEntries(Object.entries(_o).map(([e, t]) => [e, function({ className: e }) {return /* @__PURE__ */ (0, D.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, D.jsx)(_A, { mark: t })+ children: /* @__PURE__ */ (0, D.jsx)(bA, { mark: t })});}]));-function Pye({ className: e }) {+function Mye({ className: e }) {return /* @__PURE__ */ (0, D.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, D.jsx)(_A, { mark: "database" })+ children: /* @__PURE__ */ (0, D.jsx)(bA, { mark: "database" })});}-var PA = (e) => Nye[NA(e)] ?? Pye;-function FA({ site: e, label: t }) {+var LA = (e) => jye[IA(e)] ?? Mye;+function RA({ site: e, label: t }) {let [n, r] = (0, E.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;return /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [n || !i ? /* @__PURE__ */ (0, D.jsx)(_A, { mark: "globe" }) : /* @__PURE__ */ (0, D.jsx)("img", {+ children: [n || !i ? /* @__PURE__ */ (0, D.jsx)(bA, { mark: "globe" }) : /* @__PURE__ */ (0, D.jsx)("img", {src: i,alt: "",className: "size-4 shrink-0 object-contain",@@ -38430,11 +38439,11 @@ function FA({ site: e, label: t }) {}), /* @__PURE__ */ (0, D.jsx)("span", { children: t })]});}-function IA({ source: e, label: t }) {- let n = NA(e);+function zA({ source: e, label: t }) {+ let n = IA(e);return /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(_A, { mark: _o[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(bA, { mark: _o[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, D.jsx)("span", {className: "min-w-0 truncate",children: t})]@@ -38442,7 +38451,7 @@ function IA({ source: e, label: t }) {}//#endregion//#region src/react/components/art-slot.tsx-function LA({ artwork: e, identity: t = e.html, relayout: n }) {+function BA({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, E.useState)({identity: t,artwork: e@@ -38462,7 +38471,7 @@ function LA({ artwork: e, identity: t = e.html, relayout: n }) {}//#endregion//#region src/react/activity/downloads-panel.tsx-var RA = "/api/downloads", zA = ["downloads"], Fye = "/api/downloads/cancel", Iye = "/api/downloads/postprocess", BA = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Lye = {+var VA = "/api/downloads", HA = ["downloads"], Nye = "/api/downloads/cancel", Pye = "/api/downloads/postprocess", UA = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Fye = {ingested: "lime",failed: "rose",cancelled: "neutral",@@ -38471,21 +38480,21 @@ var RA = "/api/downloads", zA = ["downloads"], Fye = "/api/downloads/cancel", Iyremote_done: "lime",landed: "lime",submitted: "neutral"-}, VA = (e) => {- let t = e.display_code || e.code || "", { title: n } = Sk({+}, WA = (e) => {+ let t = e.display_code || e.code || "", { title: n } = Tk({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}`;-}, HA = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", Rye = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");-function zye() {+}, GA = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", Iye = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");+function Lye() {let e = (0, E.useId)(), t = yt({- queryKey: [...zA, "pages"],+ queryKey: [...HA, "pages"],initialPageParam: null,- queryFn: ({ signal: e, pageParam: t }) => H(`${RA}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),+ queryFn: ({ signal: e, pageParam: t }) => H(`${VA}?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) => BA(e) === 5e3) ? 5e3 : 3e4+ refetchInterval: (e) => e.state.data?.pages.some((e) => UA(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, D.jsxs)("section", {"aria-labelledby": e,@@ -38503,7 +38512,7 @@ function zye() {r.length ? /* @__PURE__ */ (0, D.jsx)("ul", {"aria-live": "polite",className: "flex min-w-0 flex-col gap-3",- children: r.map((e) => /* @__PURE__ */ (0, D.jsx)(Bye, {+ children: r.map((e) => /* @__PURE__ */ (0, D.jsx)(Rye, {task: e,writable: n[0]?.available ?? !1}, e.id))@@ -38511,7 +38520,7 @@ function zye() {t.hasNextPage ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: Tk,+ leadingIcon: Ok,className: "self-start",...Y(t.isFetchingNextPage),onClick: () => {@@ -38522,15 +38531,15 @@ function zye() {]});}-function Bye({ task: e, writable: t }) {- let n = k(), r = nA(), [i, a] = (0, E.useState)(!1), [o, s] = (0, E.useState)(!1), c = (0, E.useId)(), l = HA(e), 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 Rye({ task: e, writable: t }) {+ let n = k(), r = aA(), [i, a] = (0, E.useState)(!1), [o, s] = (0, E.useState)(!1), c = (0, E.useId)(), l = GA(e), 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,- jA(e.submitted_at)+ PA(e.submitted_at)].filter(Boolean).join(" · "), h = () => {- n.invalidateQueries({ queryKey: zA });+ n.invalidateQueries({ queryKey: HA });}, g = () => {- r.run("cancel", (t) => U(Fye, { id: e.id }, "POST", t), h);+ r.run("cancel", (t) => U(Nye, { id: e.id }, "POST", t), h);}, _ = () => {let t = {magnet: e.source_uri,@@ -38540,16 +38549,16 @@ function Bye({ task: e, writable: t }) {title: e.title,origin: e.origin};- r.run("resubmit", (e) => U(RA, t, "POST", e), h);+ r.run("resubmit", (e) => U(VA, t, "POST", e), h);}, v = () => {navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));}, y = () => {- r.run("postprocess", (t) => U(Iye, { id: e.id }, "POST", t), h);+ r.run("postprocess", (t) => U(Pye, { id: e.id }, "POST", t), h);};return /* @__PURE__ */ (0, D.jsxs)("li", {"data-download-state": e.state,"data-download-id": e.id,- className: qk({+ className: Xk({padding: "none",bordered: "line",className: p ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -38560,14 +38569,14 @@ function Bye({ task: e, writable: t }) {children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-download-cover": "","data-media-pic": "",- style: { "--card-ratio": String(WT) },+ style: { "--card-ratio": String(KT) },className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",children: [u?.has_cover ? null : /* @__PURE__ */ (0, D.jsx)("span", {"data-media-nopic": "",children: "无封面"}),- u?.has_cover ? /* @__PURE__ */ (0, D.jsx)(LA, {+ u?.has_cover ? /* @__PURE__ */ (0, D.jsx)(BA, {artwork: {kind: "cover",html: Da(u, "big")@@ -38577,7 +38586,7 @@ function Bye({ task: e, writable: t }) {f ? /* @__PURE__ */ (0, D.jsx)("a", {"data-download-cover-link": "",href: f,- "aria-label": `打开作品详情:${VA(e)}`,+ "aria-label": `打开作品详情:${WA(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]@@ -38588,19 +38597,19 @@ function Bye({ task: e, writable: t }) {className: "flex min-w-0 flex-col items-start gap-1 sm:flex-row sm:items-center sm:gap-2",children: [/* @__PURE__ */ (0, D.jsx)("strong", {className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",- title: VA(e),+ title: WA(e),children: f ? /* @__PURE__ */ (0, D.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: VA(e)- }) : VA(e)+ children: WA(e)+ }) : WA(e)}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex shrink-0 items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(Hk, {- color: Lye[e.state] ?? "neutral",+ children: [/* @__PURE__ */ (0, D.jsx)(Gk, {+ color: Fye[e.state] ?? "neutral",children: e.state_label- }), e.state === "ingested" ? /* @__PURE__ */ (0, D.jsx)(Hk, {+ }), e.state === "ingested" ? /* @__PURE__ */ (0, D.jsx)(Gk, {color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",children: e.postprocess_label}) : null]@@ -38610,7 +38619,7 @@ function Bye({ task: e, writable: t }) {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "flex shrink-0",- children: /* @__PURE__ */ (0, D.jsx)(IA, {+ children: /* @__PURE__ */ (0, D.jsx)(zA, {source: e.provider,label: e.provider_label})@@ -38637,7 +38646,7 @@ function Bye({ task: e, writable: t }) {children: [d.map((e) => e.name).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]})]}) : null,- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, D.jsx)(tA, {+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, D.jsx)(iA, {label: "远端下载进度",value: Math.round(e.progress * 100),max: 100@@ -38647,7 +38656,7 @@ function Bye({ task: e, writable: t }) {title: e.ledger_path,children: e.ledger_path}) : null,- r.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: r.error }) : null,+ r.error ? /* @__PURE__ */ (0, D.jsx)(mA, { children: r.error }) : null,/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",children: [@@ -38695,13 +38704,13 @@ function Bye({ 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: VA(e)+ children: WA(e)}) : null,l || e.postprocess_detail ? /* @__PURE__ */ (0, D.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, D.jsx)("p", {className: "wrap-anywhere text-caption-1-regular text-text-secondary",- children: l || Rye(e)+ children: l || Iye(e)})}) : null]@@ -38709,11 +38718,11 @@ function Bye({ task: e, writable: t }) {}//#endregion//#region src/react/activity/error-excerpt.tsx-function UA({ children: e, label: t, id: n }) {- let r = Jk();+function KA({ children: e, label: t, id: n }) {+ let r = Zk();return /* @__PURE__ */ (0, D.jsx)("div", {"data-error-details": "",- className: qk({+ className: Xk({bordered: "soft",radius: "surface",padding: "none",@@ -38730,14 +38739,14 @@ function UA({ children: e, label: t, id: n }) {})});}-function WA({ text: e, className: t = "" }) {- let [n, r] = (0, E.useState)(!1), i = (0, E.useId)(), a = String(e || "").trim(), o = kA(a);+function qA({ text: e, className: t = "" }) {+ let [n, r] = (0, E.useState)(!1), i = (0, E.useId)(), a = String(e || "").trim(), o = MA(a);if (!o) return null;let s = o !== a;return /* @__PURE__ */ (0, D.jsxs)("div", {"data-error-excerpt": "",className: `flex min-w-0 max-w-full flex-col items-start gap-1 ${t}`,- children: [n ? /* @__PURE__ */ (0, D.jsx)(UA, {+ children: [n ? /* @__PURE__ */ (0, D.jsx)(KA, {id: i,label: "完整错误详情",children: a@@ -38758,7 +38767,7 @@ function WA({ text: e, className: t = "" }) {}//#endregion//#region src/react/activity/activity-page.tsx-var Vye = {+var zye = {succeeded: "lime",failed: "rose",cancelled: "neutral",@@ -38766,18 +38775,18 @@ var Vye = {running: "blue",pending: "neutral"};-function GA({ run: e }) {- let t = e.status === "succeeded" && TA(e);- return /* @__PURE__ */ (0, D.jsx)(Hk, {- color: t ? "yellow" : Vye[e.status] ?? "neutral",- children: t ? "发现问题" : yye(e.status)+function JA({ run: e }) {+ let t = e.status === "succeeded" && OA(e);+ return /* @__PURE__ */ (0, D.jsx)(Gk, {+ color: t ? "yellow" : zye[e.status] ?? "neutral",+ children: t ? "发现问题" : _ye(e.status)});}-function Hye({ rows: e }) {+function Bye({ rows: e }) {return /* @__PURE__ */ (0, D.jsx)("ul", {className: "flex min-w-0 flex-col",children: e.map((e) => {- let t = Eye(e);+ let t = wye(e);return /* @__PURE__ */ (0, D.jsxs)("li", {"data-status": e.status,"data-followup-key": e.followup_key,@@ -38787,17 +38796,17 @@ function Hye({ rows: e }) {className: "min-w-0 break-words text-caption-1-regular text-text-primary",children: e.task_label}),- /* @__PURE__ */ (0, D.jsx)(GA, { run: e }),+ /* @__PURE__ */ (0, D.jsx)(JA, { run: e }),t ? /* @__PURE__ */ (0, D.jsx)("span", {className: "min-w-0 break-words text-caption-1-regular text-text-secondary",children: t}) : null,/* @__PURE__ */ (0, D.jsx)("div", {className: "w-full min-w-0",- children: /* @__PURE__ */ (0, D.jsx)(gA, {+ children: /* @__PURE__ */ (0, D.jsx)(yA, {summary: "技术详情",contentClassName: "pb-2.5",- children: /* @__PURE__ */ (0, D.jsx)(Yk, {+ children: /* @__PURE__ */ (0, D.jsx)(Qk, {code: JSON.stringify(e.result_summary, null, 2),language: "json",label: `${e.task_label}技术详情`@@ -38809,12 +38818,12 @@ function Hye({ rows: e }) {})});}-function KA({ run: e, meta: t, children: n, footer: r, followups: i }) {+function YA({ run: e, meta: t, children: n, footer: r, followups: i }) {return /* @__PURE__ */ (0, D.jsxs)("li", {"data-status": e.status,"data-task-key": e.task_key,"data-run-id": e.id,- className: qk({+ className: Xk({padding: "none",bordered: "line",className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -38828,7 +38837,7 @@ function KA({ run: e, meta: t, children: n, footer: r, followups: i }) {children: [/* @__PURE__ */ (0, D.jsx)("strong", {className: "min-w-0 break-words text-title-1-medium text-text-primary",children: e.task_label- }), /* @__PURE__ */ (0, D.jsx)(GA, { run: e })]+ }), /* @__PURE__ */ (0, D.jsx)(JA, { run: e })]}),/* @__PURE__ */ (0, D.jsx)("p", {className: "text-caption-1-regular text-text-secondary",@@ -38839,19 +38848,19 @@ function KA({ run: e, meta: t, children: n, footer: r, followups: i }) {}),i?.length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "border-t border-separator-border px-5 py-2.5",- children: /* @__PURE__ */ (0, D.jsx)(gA, {+ children: /* @__PURE__ */ (0, D.jsx)(yA, {summary: `任务明细 · ${i.length} 项`,contentClassName: "pb-2.5",- defaultOpen: i.some((e) => EA(e)),- children: /* @__PURE__ */ (0, D.jsx)(Hye, { rows: i })+ defaultOpen: i.some((e) => kA(e)),+ children: /* @__PURE__ */ (0, D.jsx)(Bye, { rows: i })})}) : null,Object.keys(e.result_summary || {}).length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "border-t border-separator-border px-5 py-2.5",- children: /* @__PURE__ */ (0, D.jsx)(gA, {+ children: /* @__PURE__ */ (0, D.jsx)(yA, {summary: "技术详情",contentClassName: "pb-2.5",- children: /* @__PURE__ */ (0, D.jsx)(Yk, {+ children: /* @__PURE__ */ (0, D.jsx)(Qk, {code: JSON.stringify(e.result_summary, null, 2),language: "json",label: `${e.task_label}技术详情`@@ -38860,7 +38869,7 @@ function KA({ run: e, meta: t, children: n, footer: r, followups: i }) {}) : null,r ? /* @__PURE__ */ (0, D.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, D.jsx)(WA, {+ children: /* @__PURE__ */ (0, D.jsx)(qA, {text: r,className: "text-caption-1-regular text-text-secondary"})@@ -38868,15 +38877,15 @@ function KA({ run: e, meta: t, children: n, footer: r, followups: i }) {]});}-function Uye({ run: e, followups: t }) {- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = DA(e.elapsed_seconds), o = [CA[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");- return /* @__PURE__ */ (0, D.jsx)(KA, {+function Vye({ run: e, followups: t }) {+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = AA(e.elapsed_seconds), o = [EA[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");+ return /* @__PURE__ */ (0, D.jsx)(YA, {run: e,meta: o,followups: t,children: n > 0 ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(tA, {+ children: [/* @__PURE__ */ (0, D.jsx)(iA, {label: i,value: Math.min(r, n),max: n@@ -38885,24 +38894,24 @@ function Uye({ run: e, followups: t }) {children: [i," · ",- OA(r, n),+ jA(r, n)," 项"]})]- }) : /* @__PURE__ */ (0, D.jsx)(Qk, { label: i })+ }) : /* @__PURE__ */ (0, D.jsx)(tA, { label: i })});}-function qA({ run: e, followups: t, runs: n }) {- let r = MA(e.result_summary).filter((t) => t !== e.error), i = xye(e), a = Sye(e), o = DA(e.elapsed_seconds), s = n && n.length > 1 ? n[n.length - 1] : void 0, c = (s ? [- CA[e.trigger] || e.trigger,+function XA({ run: e, followups: t, runs: n }) {+ let r = FA(e.result_summary).filter((t) => t !== e.error), i = yye(e), a = bye(e), o = AA(e.elapsed_seconds), s = n && n.length > 1 ? n[n.length - 1] : void 0, c = (s ? [+ EA[e.trigger] || e.trigger,`近 ${n.length} 轮`,- `${jA(s.finished_at)} – ${jA(e.finished_at)}`+ `${PA(s.finished_at)} – ${PA(e.finished_at)}`] : [- CA[e.trigger] || e.trigger,- jA(e.finished_at),+ EA[e.trigger] || e.trigger,+ PA(e.finished_at),o && `用时 ${o}`]).filter(Boolean).join(" · ");- return /* @__PURE__ */ (0, D.jsxs)(KA, {+ return /* @__PURE__ */ (0, D.jsxs)(YA, {run: e,meta: c,footer: e.error,@@ -38912,10 +38921,10 @@ function qA({ run: e, followups: t, runs: n }) {className: "list-disc space-y-1 pl-5 text-caption-1-regular text-text-secondary wrap-anywhere",children: r.map((e, t) => /* @__PURE__ */ (0, D.jsx)("li", { children: e }, t))}) : null,- i.length ? /* @__PURE__ */ (0, D.jsx)(gA, {+ i.length ? /* @__PURE__ */ (0, D.jsx)(yA, {summary: `问题详情 · ${i.length} 项`,contentClassName: "pt-2",- children: /* @__PURE__ */ (0, D.jsx)(UA, {+ children: /* @__PURE__ */ (0, D.jsx)(KA, {label: "任务问题详情",children: /* @__PURE__ */ (0, D.jsx)("ul", {className: "flex min-w-0 flex-col gap-3",@@ -38929,28 +38938,28 @@ function qA({ run: e, followups: t, runs: n }) {e.provider,e.kind].filter(Boolean).join(" · ")- }), /* @__PURE__ */ (0, D.jsx)(WA, {+ }), /* @__PURE__ */ (0, D.jsx)(qA, {text: e.error,className: "text-text-primary"})]}, `${e.source}-${t}`))})})- }) : TA(e) && ["follow-check", "feed-check"].includes(e.task_key) ? /* @__PURE__ */ (0, D.jsx)("p", {+ }) : OA(e) && ["follow-check", "feed-check"].includes(e.task_key) ? /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "未取得本轮逐项详情,可到来源列表查看检查结果。"}) : null,- a ? /* @__PURE__ */ (0, D.jsx)(Kk, {+ a ? /* @__PURE__ */ (0, D.jsx)(Yk, {href: a.href,size: "small",- trailingIcon: Ek,+ trailingIcon: kk,className: "self-start",children: a.label}) : null]});}-function JA({ title: e, children: t }) {+function ZA({ title: e, children: t }) {let n = (0, E.useId)();return /* @__PURE__ */ (0, D.jsxs)("section", {"aria-labelledby": n,@@ -38962,41 +38971,41 @@ function JA({ title: e, children: t }) {}), t]});}-function YA({ live: e = !1, children: t }) {+function QA({ live: e = !1, children: t }) {return /* @__PURE__ */ (0, D.jsx)("ul", {"aria-live": e ? "polite" : void 0,className: "flex min-w-0 flex-col gap-3",children: t});}-function Wye() {+function Hye() {let e = _t({- queryKey: yA,- queryFn: ({ signal: e }) => SA(e),- refetchInterval: (e) => xA(e.state.data)+ queryKey: SA,+ queryFn: ({ signal: e }) => TA(e),+ refetchInterval: (e) => wA(e.state.data)}), t = e.data, n = t?.finished, [r, i] = (0, E.useState)([]), [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(n);- n !== s && (c(n), r.length && s && i(bA(r, s)));+ n !== s && (c(n), r.length && s && i(CA(r, s)));let l = vt({- mutationFn: ({ oldest: e }) => mye(e),+ mutationFn: ({ oldest: e }) => fye(e),onSuccess: (e, { shown: t }) => {- i((n) => bA(n, t, e.finished || [])), o(!!e.finished_has_more);+ i((n) => CA(n, t, e.finished || [])), o(!!e.finished_has_more);}}), u = e.error ? V(e.error) : "";- if (!t) return /* @__PURE__ */ (0, D.jsx)($k, { children: /* @__PURE__ */ (0, D.jsx)(J, {+ if (!t) return /* @__PURE__ */ (0, D.jsx)(nA, { children: /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",children: u || "读取任务中心失败"}) });- let d = bA(t.finished || [], r), f = [+ let d = CA(t.finished || [], r), f = [...t.running || [],...t.skipped || [],...d- ], p = Cye(f), m = new Set(f.map((e) => e.id)), h = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && m.has(e.parent_run_id))), g = h(d), _ = g[g.length - 1], v = !!_ && (r.length ? a : !!t.finished_has_more), y = () => {+ ], p = xye(f), m = new Set(f.map((e) => e.id)), h = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && m.has(e.parent_run_id))), g = h(d), _ = g[g.length - 1], v = !!_ && (r.length ? a : !!t.finished_has_more), y = () => {!l.isPending && _ && l.mutate({oldest: _,shown: d});- }, b = g.filter((e) => p.get(e.id)?.some(EA)), x = h(t.running || []), S = h(t.skipped || []), C = g.filter((e) => !b.includes(e) && !S.some((t) => t.id === e.id)), w = wye(C, (e) => Tye(e) && !p.get(e.id)?.length), T = !x.length && !b.length && !S.length && !C.length;- return /* @__PURE__ */ (0, D.jsxs)($k, { children: [+ }, b = g.filter((e) => p.get(e.id)?.some(kA)), x = h(t.running || []), S = h(t.skipped || []), C = g.filter((e) => !b.includes(e) && !S.some((t) => t.id === e.id)), w = Sye(C, (e) => Cye(e) && !p.get(e.id)?.length), T = !x.length && !b.length && !S.length && !C.length;+ return /* @__PURE__ */ (0, D.jsxs)(nA, { children: [u ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",children: u@@ -39005,19 +39014,19 @@ function Wye() {tone: "warning",children: t.message || "数据库尚未准备好任务记录表"}) : null,- T ? /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: Ik,+ T ? /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: zk,title: "还没有任务记录",children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"}) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(JA, {+ /* @__PURE__ */ (0, D.jsx)(ZA, {title: "正在进行",- children: x.length || b.length ? /* @__PURE__ */ (0, D.jsxs)(YA, {+ children: x.length || b.length ? /* @__PURE__ */ (0, D.jsxs)(QA, {live: !0,- children: [x.map((e) => /* @__PURE__ */ (0, D.jsx)(Uye, {+ children: [x.map((e) => /* @__PURE__ */ (0, D.jsx)(Vye, {run: e,followups: p.get(e.id)- }, e.id)), b.map((e) => /* @__PURE__ */ (0, D.jsx)(qA, {+ }, e.id)), b.map((e) => /* @__PURE__ */ (0, D.jsx)(XA, {run: e,followups: p.get(e.id)}, e.id))]@@ -39026,17 +39035,17 @@ function Wye() {children: "没有任务在跑。"})}),- S.length ? /* @__PURE__ */ (0, D.jsx)(JA, {+ S.length ? /* @__PURE__ */ (0, D.jsx)(ZA, {title: "本次未执行",- children: /* @__PURE__ */ (0, D.jsx)(YA, { children: S.map((e) => /* @__PURE__ */ (0, D.jsx)(qA, {+ children: /* @__PURE__ */ (0, D.jsx)(QA, { children: S.map((e) => /* @__PURE__ */ (0, D.jsx)(XA, {run: e,followups: p.get(e.id)}, e.id)) })}) : null,- C.length || v ? /* @__PURE__ */ (0, D.jsxs)(JA, {+ C.length || v ? /* @__PURE__ */ (0, D.jsxs)(ZA, {title: "最近完成",children: [- C.length ? /* @__PURE__ */ (0, D.jsx)(YA, { children: w.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, D.jsx)(qA, {+ C.length ? /* @__PURE__ */ (0, D.jsx)(QA, { children: w.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, D.jsx)(XA, {run: e,runs: t,followups: p.get(e.id)@@ -39048,7 +39057,7 @@ function Wye() {v ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: Tk,+ leadingIcon: Ok,className: "self-start",...Y(l.isPending),onClick: y,@@ -39057,12 +39066,12 @@ function Wye() {]}) : null] }),- /* @__PURE__ */ (0, D.jsx)(zye, {})+ /* @__PURE__ */ (0, D.jsx)(Lye, {})] });}//#endregion//#region src/react/boardui/components/base/buttons/icon-button.tsx-var XA = sO({+var $A = uO({base: ["relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg","bg-background-primary-default text-foreground-icon-primary",@@ -39083,21 +39092,21 @@ var XA = sO({small: "size-4 shrink-0"}});-function ZA({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function ej({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, D.jsx)("button", {ref: i,type: r,- className: oO(XA.base, XA.size[t], n),+ className: lO($A.base, $A.size[t], n),...a,children: /* @__PURE__ */ (0, D.jsx)(e, {- className: XA.icon[t],+ className: $A.icon[t],"aria-hidden": !0})});}//#endregion//#region src/react/components/use-stuck.ts-function QA(e) {+function tj(e) {(0, E.useEffect)(() => {let t = e.current;if (!t) return;@@ -39115,7 +39124,7 @@ function QA(e) {}//#endregion//#region src/react/components/use-horizontal-scroller.ts-function $A(e, t = !0) {+function nj(e, t = !0) {let [n, r] = (0, E.useState)(null), i = (0, E.useCallback)((t) => {r(t), typeof e == "function" ? e(t) : e && (e.current = t);}, [e]);@@ -39130,17 +39139,17 @@ function $A(e, t = !0) {}//#endregion//#region src/react/components/filter-glass.tsx-var Gye = ({ className: e }) => /* @__PURE__ */ (0, D.jsx)("span", {+var Uye = ({ className: e }) => /* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,className: e,dangerouslySetInnerHTML: { __html: Ro("正在处理") }});-function ej({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {- return /* @__PURE__ */ (0, D.jsx)(ZA, {+function rj({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {+ return /* @__PURE__ */ (0, D.jsx)(ej, {...a,"data-filter-action": "",size: "small",- icon: n && r === "spinner" ? Gye : t,+ icon: n && r === "spinner" ? Uye : t,"aria-label": e,title: a.title || e,"aria-busy": n || void 0,@@ -39150,9 +39159,9 @@ function ej({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress}});}-function Kye({ title: e, children: t }) {+function Wye({ title: e, children: t }) {let n = (0, E.useRef)(null);- return QA(n), /* @__PURE__ */ (0, D.jsxs)("div", {+ return tj(n), /* @__PURE__ */ (0, D.jsxs)("div", {ref: n,role: "group","aria-label": e,@@ -39165,16 +39174,16 @@ function Kye({ title: e, children: t }) {}), t]});}-function tj({ 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, E.useRef)(null), f = $A(), p = $A(u);- return QA(d), /* @__PURE__ */ (0, D.jsxs)("div", {+function ij({ 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, E.useRef)(null), f = nj(), p = nj(u);+ return tj(d), /* @__PURE__ */ (0, D.jsxs)("div", {ref: d,role: "group","aria-label": e,"data-filter-glass": !0,"data-glass-pane": "",...c,- className: oO("sticky top-topbar z-10 mb-5.5 flex flex-col", i),+ className: lO("sticky top-topbar z-10 mb-5.5 flex flex-col", i),children: [s,n === null ? null : /* @__PURE__ */ (0, D.jsx)("div", {@@ -39182,36 +39191,36 @@ function tj({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNarole: "group","aria-label": t,"data-filter-row": "top",- className: oO("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),+ className: lO("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),children: n}),/* @__PURE__ */ (0, D.jsx)("div", {ref: p,"data-filter-row": "bottom","aria-busy": l || void 0,- className: oO("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),+ className: lO("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r})]});}-var qye = "flex h-7.5 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 nj({ children: e, pressed: t, onPress: n, className: r, ...i }) {+var Gye = "flex h-7.5 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 aj({ children: e, pressed: t, onPress: n, className: r, ...i }) {return /* @__PURE__ */ (0, D.jsx)("button", {type: "button",...i,"aria-pressed": t,- className: oO(qye, r),+ className: lO(Gye, r),onClick: n,children: e});}-var Jye = "h-7.5 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 rj({ children: e, onPress: t, busy: n = !1 }) {+var Kye = "h-7.5 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 oj({ children: e, onPress: t, busy: n = !1 }) {return /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-glass-pill": "",- className: Jye,+ className: Kye,"aria-busy": n || void 0,"aria-disabled": n || void 0,onClick: () => {@@ -39222,13 +39231,13 @@ function rj({ children: e, onPress: t, busy: n = !1 }) {}//#endregion//#region src/react/components/use-view-glide.ts-var ij = (e, t) => [+var sj = (e, t) => ["x","y","w","h"].every((n) => e[n] === t[n]);-function aj(e, t, n) {+function cj(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;@@ -39252,17 +39261,17 @@ function aj(e, t, n) {h: e.offsetHeight};}-function oj(e, t, n, r, { axis: i = "x" } = {}) {+function lj(e, t, n, r, { axis: i = "x" } = {}) {let a = (0, E.useRef)(null), o = (0, E.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 ? aj(u, l, i) : null;+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? cj(u, l, i) : null;if (!d || !d.w || !d.h) {s.getAnimations().forEach((e) => e.cancel()), s.hidden = !0, a.current = null;return;}let f = s.hidden ? null : a.current;- s.hidden = !1, a.current = d, !(o && f && ij(f, d)) && Es(s, o ? f : null, d, i);+ s.hidden = !1, a.current = d, !(o && f && sj(f, d)) && Es(s, o ? f : null, d, i);}, [e,t,@@ -39283,8 +39292,8 @@ function oj(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 ? aj(o, r, i) : null, l = a.current;- (!s || !l || !ij(s, l)) && c();+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? cj(o, r, i) : null, l = a.current;+ (!s || !l || !sj(s, l)) && c();}), u = t.current;if (u && r) {l.observe(u);@@ -39316,12 +39325,12 @@ function oj(e, t, n, r, { axis: i = "x" } = {}) {}//#endregion//#region node_modules/react-aria-components/dist/private/utils.mjs-var sj = Symbol("default");-function cj({ values: e, children: t }) {+var uj = Symbol("default");+function dj({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ E.createElement(n.Provider, { value: r }, t);return t;}-function lj(e) {+function fj(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, E.useMemo)(() => {let e, l, u;@@ -39355,11 +39364,11 @@ function lj(e) {c]);}-function uj(e, t) {+function pj(e, t) {let n = (0, E.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || sj;+ let e = t || uj;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}.`);@@ -39368,8 +39377,8 @@ function uj(e, t) {}return n;}-function dj(e, t, n) {- let { ref: r, ...i } = uj(n, e.slot) || {}, a = Gv((0, E.useMemo)(() => Bv(t, r), [t, r])), o = K(i, e);+function mj(e, t, n) {+ let { ref: r, ...i } = pj(n, e.slot) || {}, a = Gv((0, E.useMemo)(() => Bv(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,@@ -39387,7 +39396,7 @@ function dj(e, t, n) {...e.style}), [o, a];}-function fj(e = !0) {+function hj(e = !0) {let [t, n] = (0, E.useState)(e), r = (0, E.useRef)(!1), i = (0, E.useCallback)((e) => {r.current = !0, n(!!e);}, []);@@ -39395,12 +39404,12 @@ function fj(e = !0) {r.current || n(!1);}, []), [i, t];}-function pj(e) {+function gj(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function Yye(e, t, n) {+function qye(e, t, n) {let { render: r, ...i } = t, a = (0, E.useRef)(null), o = (0, E.useMemo)(() => Bv(n, a), [n, a]);nv(() => {}, [e, r]);let s = {@@ -39409,19 +39418,19 @@ function Yye(e, t, n) {};return r ? r(s, void 0) : /*#__PURE__*/ E.createElement(e, s);}-var mj = {}, hj = new Proxy({}, { get(e, t) {+var _j = {}, vj = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = mj[t];- return n || (n = /*#__PURE__*/ (0, E.forwardRef)(Yye.bind(null, t)), mj[t] = n), n;-} }), gj = /*#__PURE__*/ (0, E.createContext)(null), _j = /*#__PURE__*/ (0, E.createContext)(null), vj = /*#__PURE__*/ (0, E.createContext)(null), yj = {+ let n = _j[t];+ return n || (n = /*#__PURE__*/ (0, E.forwardRef)(qye.bind(null, t)), _j[t] = n), n;+} }), yj = /*#__PURE__*/ (0, E.createContext)(null), bj = /*#__PURE__*/ (0, E.createContext)(null), xj = /*#__PURE__*/ (0, E.createContext)(null), Sj = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return bj(e, null, t);+ return Cj(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return bj(e, t, n);+ return Cj(e, t, n);}};-function bj(e, t, n) {+function Cj(e, t, n) {return z_({items: t ? e.getChildren(t.key) : e,dependencies: [n],@@ -39432,11 +39441,11 @@ function bj(e, t, n) {type: "item",key: t.key,dropPosition: "before"- }), r, Xye(e, t, n));+ }), r, Jye(e, t, n));}});}-function Xye(e, t, n) {+function Jye(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);@@ -39455,24 +39464,24 @@ function Xye(e, t, n) {}return s;}-var xj = /*#__PURE__*/ (0, E.createContext)(yj);-function Sj(e) {+var wj = /*#__PURE__*/ (0, E.createContext)(Sj);+function Tj(e) {return (0, E.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}//#endregion//#region node_modules/react-aria-components/dist/private/Label.mjs-var Cj = /*#__PURE__*/ (0, E.createContext)({}), wj = /*#__PURE__*/ Xv(function(e, t) {- [e, t] = dj(e, t, Cj);- let { elementType: n = "label", ...r } = e, i = hj[n];+var Ej = /*#__PURE__*/ (0, E.createContext)({}), Dj = /*#__PURE__*/ Xv(function(e, t) {+ [e, t] = mj(e, t, Ej);+ let { elementType: n = "label", ...r } = e, i = vj[n];return /*#__PURE__*/ E.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), Zye = /*#__PURE__*/ (0, E.createContext)(null), Tj = /*#__PURE__*/ (0, E.createContext)({}), Ej = /*#__PURE__*/ Xv(function(e, t) {- [e, t] = dj(e, t, Tj);+}), Yye = /*#__PURE__*/ (0, E.createContext)(null), Oj = /*#__PURE__*/ (0, E.createContext)({}), kj = /*#__PURE__*/ Xv(function(e, t) {+ [e, t] = mj(e, t, Oj);let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Zoe(e, t);- i = $ye(i, r);+ i = Zye(i, r);let { focusProps: o, isFocused: s, isFocusVisible: c } = wS(e), { hoverProps: l, isHovered: u } = OS({...e,isDisabled: e.isDisabled || r@@ -39483,7 +39492,7 @@ var Cj = /*#__PURE__*/ (0, E.createContext)({}), wj = /*#__PURE__*/ Xv(function(isFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = lj({+ }, f = fj({...e,values: d,defaultClassName: "react-aria-Button"@@ -39500,7 +39509,7 @@ var Cj = /*#__PURE__*/ (0, E.createContext)({}), wj = /*#__PURE__*/ Xv(function(p]);let _ = Ry(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ E.createElement(hj.button, {+ return delete _.onClick, /*#__PURE__*/ E.createElement(vj.button, {...K(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,@@ -39514,62 +39523,62 @@ var Cj = /*#__PURE__*/ (0, E.createContext)({}), wj = /*#__PURE__*/ Xv(function("data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ E.createElement(Zye.Provider, { value: { id: m } }, f.children));-}), Qye = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function $ye(e, t) {+ }, /*#__PURE__*/ E.createElement(Yye.Provider, { value: { id: m } }, f.children));+}), Xye = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function Zye(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !Qye.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !Xye.test(t) && (e[t] = void 0);e.href = void 0, e.target = void 0;}return e;}//#endregion//#region node_modules/react-aria-components/dist/private/Heading.mjs-var Dj = /*#__PURE__*/ (0, E.createContext)({}), Oj = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = dj(e, t, Dj);- let { children: n, level: r = 3, className: i, ...a } = e, o = hj[`h${r}`];+var Aj = /*#__PURE__*/ (0, E.createContext)({}), jj = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = mj(e, t, Aj);+ let { children: n, level: r = 3, className: i, ...a } = e, o = vj[`h${r}`];return /*#__PURE__*/ E.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), kj = /*#__PURE__*/ (0, E.createContext)({}), ebe = /*#__PURE__*/ Xv(function(e, t) {- [e, t] = dj(e, t, kj);- let { elementType: n = "span", ...r } = e, i = hj[n];+}), Mj = /*#__PURE__*/ (0, E.createContext)({}), Qye = /*#__PURE__*/ Xv(function(e, t) {+ [e, t] = mj(e, t, Mj);+ let { elementType: n = "span", ...r } = e, i = vj[n];return /*#__PURE__*/ E.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), Aj = /*#__PURE__*/ (0, E.createContext)(null), jj = /*#__PURE__*/ (0, E.createContext)(null), Mj = /*#__PURE__*/ (0, E.createContext)(null), Nj = /*#__PURE__*/ (0, E.createContext)(null), tbe = /*#__PURE__*/ (0, E.createContext)(null), Pj = /*#__PURE__*/ (0, E.createContext)(null);-function nbe(e, t) {- let { validationBehavior: n } = uj(jj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, E.useContext)(tbe), a = Gv((0, E.useMemo)(() => Bv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...pj(e),+}), Nj = /*#__PURE__*/ (0, E.createContext)(null), Pj = /*#__PURE__*/ (0, E.createContext)(null), Fj = /*#__PURE__*/ (0, E.createContext)(null), Ij = /*#__PURE__*/ (0, E.createContext)(null), $ye = /*#__PURE__*/ (0, E.createContext)(null), Lj = /*#__PURE__*/ (0, E.createContext)(null);+function ebe(e, t) {+ let { validationBehavior: n } = pj(Pj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, E.useContext)($ye), a = Gv((0, E.useMemo)(() => Bv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...gj(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};return [i ? bse(o, i, a) : Kb(o, Zb(e), a), a];}-var rbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+var tbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = dj(r, t, Mj);- let [i, a] = nbe(e, n);- return /*#__PURE__*/ E.createElement(Pj.Provider, { value: {+ [e, t] = mj(r, t, Fj);+ let [i, a] = ebe(e, n);+ return /*#__PURE__*/ E.createElement(Lj.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ E.createElement(ibe, {+ } }, /*#__PURE__*/ E.createElement(nbe, {...e,ref: t}));-}), ibe = /*#__PURE__*/ (0, E.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, E.useContext)(Pj), { isFocused: p, isFocusVisible: m, focusProps: h } = wS(), g = a || o, { hoverProps: _, isHovered: v } = OS({+}), nbe = /*#__PURE__*/ (0, E.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, E.useContext)(Lj), { isFocused: p, isFocusVisible: m, focusProps: h } = wS(), g = a || o, { hoverProps: _, isHovered: v } = OS({...e,isDisabled: g- }), y = lj({+ }), y = fj({...e,defaultClassName: u,values: {@@ -39585,7 +39594,7 @@ var rbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {isRequired: f || !1}}), b = Ry(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ E.createElement(hj.label, {+ return delete b.id, delete b.onClick, /*#__PURE__*/ E.createElement(vj.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -39603,8 +39612,8 @@ var rbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {...K(r, h),ref: l})), y.children);-}), Fj = /*#__PURE__*/ (0, E.createContext)({}), abe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = dj(e, t, Fj);+}), Rj = /*#__PURE__*/ (0, E.createContext)({}), rbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = mj(e, t, Rj);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 } = OS({@@ -39612,7 +39621,7 @@ var rbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = wS({ within: !0 }), m = lj({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = wS({ within: !0 }), m = fj({...e,values: {isHovered: u,@@ -39623,7 +39632,7 @@ var rbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ E.createElement(hj.div, {+ return /*#__PURE__*/ E.createElement(vj.div, {...K(c, p, l),...m,ref: t,@@ -39636,18 +39645,18 @@ var rbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), Ij = /*#__PURE__*/ (0, E.createContext)({}), obe = (e) => {+}), zj = /*#__PURE__*/ (0, E.createContext)({}), ibe = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, sbe = /*#__PURE__*/ Xv(function(e, t) {- [e, t] = dj(e, t, Ij);+}, abe = /*#__PURE__*/ Xv(function(e, t) {+ [e, t] = mj(e, t, zj);let { hoverProps: n, isHovered: r } = OS({...e,isDisabled: e.disabled}), { isFocused: i, isFocusVisible: a, focusProps: o } = wS({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = lj({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = fj({...e,values: {isHovered: r,@@ -39658,8 +39667,8 @@ var rbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ E.createElement(hj.input, {- ...K(obe(e), o, n),+ return /*#__PURE__*/ E.createElement(vj.input, {+ ...K(ibe(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -39668,9 +39677,9 @@ var rbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), cbe = 0, lbe = 100, ube = 1;-function dbe(e) {- let { isDisabled: t = !1, minValue: n = cbe, maxValue: r = lbe, numberFormatter: i, step: a = ube, orientation: o = "horizontal" } = e, s = (0, E.useMemo)(() => {+}), obe = 0, sbe = 100, cbe = 1;+function lbe(e) {+ let { isDisabled: t = !1, minValue: n = obe, maxValue: r = sbe, numberFormatter: i, step: a = cbe, orientation: o = "horizontal" } = e, s = (0, E.useMemo)(() => {let e = (r - n) / 10;return e = ex(e, 0, e + a, a), Math.max(e, a);}, [@@ -39681,11 +39690,11 @@ function dbe(e) {n,r,a- ]), l = (0, E.useMemo)(() => c(Rj(e.value)), [e.value, c]), u = (0, E.useMemo)(() => c(Rj(e.defaultValue) ?? [n]), [+ ]), l = (0, E.useMemo)(() => c(Vj(e.value)), [e.value, c]), u = (0, E.useMemo)(() => c(Vj(e.defaultValue) ?? [n]), [e.defaultValue,n,c- ]), d = zj(e.value, e.defaultValue, e.onChange), f = zj(e.value, e.defaultValue, e.onChangeEnd), [p, m] = Xb(l, u, d), [h] = (0, E.useState)(p), [g, _] = (0, E.useState)(Array(p.length).fill(!1)), v = (0, E.useRef)(Array(p.length).fill(!0)), [y, b] = (0, E.useState)(void 0), x = (0, E.useRef)(p), S = (0, E.useRef)(g), C = (e) => {+ ]), d = Hj(e.value, e.defaultValue, e.onChange), f = Hj(e.value, e.defaultValue, e.onChangeEnd), [p, m] = Xb(l, u, d), [h] = (0, E.useState)(p), [g, _] = (0, E.useState)(Array(p.length).fill(!1)), v = (0, E.useRef)(Array(p.length).fill(!0)), [y, b] = (0, E.useState)(void 0), x = (0, E.useRef)(p), S = (0, E.useRef)(g), C = (e) => {x.current = e, m(e);}, w = (e) => {S.current = e, _(e);@@ -39709,14 +39718,14 @@ function dbe(e) {if (t || !k(e)) return;let r = D(e), i = O(e);n = ex(n, r, i, a);- let o = Lj(x.current, e, n);+ let o = Bj(x.current, e, n);C(o);}function M(e, n) {if (t || !k(e)) return;n && (x.current = p);let r = S.current[e];- S.current = Lj(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);+ S.current = Bj(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);}let N = (0, E.useRef)(null);function P(e = p) {@@ -39774,32 +39783,32 @@ function dbe(e) {isDisabled: t};}-function Lj(e, t, n) {+function Bj(e, t, n) {return e[t] === n ? e : [...e.slice(0, t),n,...e.slice(t + 1)];}-function Rj(e) {+function Vj(e) {if (e != null) return Array.isArray(e) ? e : [e];}-function zj(e, t, n) {+function Hj(e, t, n) {return (r) => {typeof e == "number" || typeof t == "number" ? n?.(r[0]) : n?.(r);};}//#endregion//#region node_modules/react-aria-components/dist/private/Slider.mjs-var fbe = /*#__PURE__*/ (0, E.createContext)(null), Bj = /*#__PURE__*/ (0, E.createContext)(null), Vj = /*#__PURE__*/ (0, E.createContext)(null), pbe = /*#__PURE__*/ (0, E.createContext)(null), mbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = dj(e, t, fbe);- let n = (0, E.useRef)(null), r = Tse(e.formatOptions), i = dbe({+var ube = /*#__PURE__*/ (0, E.createContext)(null), Uj = /*#__PURE__*/ (0, E.createContext)(null), Wj = /*#__PURE__*/ (0, E.createContext)(null), dbe = /*#__PURE__*/ (0, E.createContext)(null), fbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = mj(e, t, ube);+ let n = (0, E.useRef)(null), r = Tse(e.formatOptions), i = lbe({...e,numberFormatter: r- }), [a, o] = fj(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = Ese({+ }), [a, o] = hj(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = Ese({...e,label: o- }, i, n), d = lj({+ }, i, n), d = fj({...e,values: {orientation: i.orientation,@@ -39808,31 +39817,31 @@ var fbe = /*#__PURE__*/ (0, E.createContext)(null), Bj = /*#__PURE__*/ (0, E.cre},defaultClassName: "react-aria-Slider"}), f = Ry(e, { global: !0 });- return delete f.id, /*#__PURE__*/ E.createElement(cj, { values: [- [Bj, i],- [Vj, {+ return delete f.id, /*#__PURE__*/ E.createElement(dj, { values: [+ [Uj, i],+ [Wj, {...c,ref: n}],- [pbe, u],- [Cj, {+ [dbe, u],+ [Ej, {...l,ref: a}]- ] }, /*#__PURE__*/ E.createElement(hj.div, {+ ] }, /*#__PURE__*/ E.createElement(vj.div, {...K(f, d, s),ref: t,slot: e.slot || void 0,"data-orientation": i.orientation,"data-disabled": i.isDisabled || void 0}));-}), hbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = dj(e, t, Vj);- let n = (0, E.useContext)(Bj), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = OS({+}), pbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = mj(e, t, Wj);+ let n = (0, E.useContext)(Uj), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = OS({onHoverStart: r,onHoverEnd: i,onHoverChange: a- }), l = lj({+ }), l = fj({...e,defaultClassName: "react-aria-SliderTrack",values: {@@ -39842,7 +39851,7 @@ var fbe = /*#__PURE__*/ (0, E.createContext)(null), Bj = /*#__PURE__*/ (0, E.crestate: n}});- return /*#__PURE__*/ E.createElement(hj.div, {+ return /*#__PURE__*/ E.createElement(vj.div, {...K(o, s),...l,ref: t,@@ -39850,14 +39859,14 @@ var fbe = /*#__PURE__*/ (0, E.createContext)(null), Bj = /*#__PURE__*/ (0, E.cre"data-orientation": n.orientation || void 0,"data-disabled": n.isDisabled || void 0});-}), gbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { inputRef: n = null } = e, r = (0, E.useContext)(Bj), { ref: i } = uj(Vj), { index: a = 0 } = e, o = (0, E.useRef)(null), s = n || o, [c, l] = fj(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Dse({+}), mbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { inputRef: n = null } = e, r = (0, E.useContext)(Uj), { ref: i } = pj(Wj), { index: a = 0 } = e, o = (0, E.useRef)(null), s = n || o, [c, l] = hj(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Dse({...e,index: a,trackRef: i,inputRef: s,label: l- }, r), { focusProps: g, isFocusVisible: _ } = wS(), { hoverProps: v, isHovered: y } = OS(e), b = lj({+ }, r), { focusProps: g, isFocusVisible: _ } = wS(), { hoverProps: v, isHovered: y } = OS(e), b = fj({...e,defaultClassName: "react-aria-SliderThumb",values: {@@ -39869,7 +39878,7 @@ var fbe = /*#__PURE__*/ (0, E.createContext)(null), Bj = /*#__PURE__*/ (0, E.creisDisabled: h}}), x = Ry(e, { global: !0 });- return delete x.id, /*#__PURE__*/ E.createElement(hj.div, {+ return delete x.id, /*#__PURE__*/ E.createElement(vj.div, {...K(x, u, v),...b,ref: t,@@ -39885,12 +39894,12 @@ var fbe = /*#__PURE__*/ (0, E.createContext)(null), Bj = /*#__PURE__*/ (0, E.cre}, /*#__PURE__*/ E.createElement(ox, null, /*#__PURE__*/ E.createElement("input", {ref: s,...K(d, g)- })), /*#__PURE__*/ E.createElement(cj, { values: [[Cj, {+ })), /*#__PURE__*/ E.createElement(dj, { values: [[Ej, {...f,ref: c}]] }, b.children));-}), Hj = {};-Hj = {+}), Gj = {};+Gj = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",@@ -39898,8 +39907,8 @@ Hj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var Uj = {};-Uj = {+var Kj = {};+Kj = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",@@ -39907,8 +39916,8 @@ Uj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var Wj = {};-Wj = {+var qj = {};+qj = {colorSwatchPicker: "Vzorky barev",dropzoneLabel: "Místo pro přetažení",selectPlaceholder: "Vyberte položku",@@ -39916,8 +39925,8 @@ Wj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs-var Gj = {};-Gj = {+var Jj = {};+Jj = {colorSwatchPicker: "Farveprøver",dropzoneLabel: "DropZone",selectPlaceholder: "Vælg et element",@@ -39925,8 +39934,8 @@ Gj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs-var Kj = {};-Kj = {+var Yj = {};+Yj = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",@@ -39934,8 +39943,8 @@ Kj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var qj = {};-qj = {+var Xj = {};+Xj = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",@@ -39943,8 +39952,8 @@ qj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs-var Jj = {};-Jj = {+var Zj = {};+Zj = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",@@ -39952,8 +39961,8 @@ Jj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var Yj = {};-Yj = {+var Qj = {};+Qj = {colorSwatchPicker: "Muestras de colores",dropzoneLabel: "DropZone",selectPlaceholder: "Seleccionar un artículo",@@ -39961,8 +39970,8 @@ Yj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs-var Xj = {};-Xj = {+var $j = {};+$j = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",@@ -39970,8 +39979,8 @@ Xj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var Zj = {};-Zj = {+var eM = {};+eM = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",@@ -39979,8 +39988,8 @@ Zj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var Qj = {};-Qj = {+var tM = {};+tM = {colorSwatchPicker: "Échantillons de couleurs",dropzoneLabel: "DropZone",selectPlaceholder: "Sélectionner un élément",@@ -39988,8 +39997,8 @@ Qj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs-var $j = {};-$j = {+var nM = {};+nM = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",@@ -39997,8 +40006,8 @@ $j = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var eM = {};-eM = {+var rM = {};+rM = {colorSwatchPicker: "Uzorci boja",dropzoneLabel: "Zona spuštanja",selectPlaceholder: "Odaberite stavku",@@ -40006,8 +40015,8 @@ eM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs-var tM = {};-tM = {+var iM = {};+iM = {colorSwatchPicker: "Színtárak",dropzoneLabel: "DropZone",selectPlaceholder: "Válasszon ki egy elemet",@@ -40015,8 +40024,8 @@ tM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs-var nM = {};-nM = {+var aM = {};+aM = {colorSwatchPicker: "Campioni di colore",dropzoneLabel: "Zona di rilascio",selectPlaceholder: "Seleziona un elemento",@@ -40024,8 +40033,8 @@ nM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs-var rM = {};-rM = {+var oM = {};+oM = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",@@ -40033,8 +40042,8 @@ rM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var iM = {};-iM = {+var sM = {};+sM = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",@@ -40042,8 +40051,8 @@ iM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var aM = {};-aM = {+var cM = {};+cM = {colorSwatchPicker: "Spalvų pavyzdžiai",dropzoneLabel: "„DropZone“",selectPlaceholder: "Pasirinkite elementą",@@ -40051,8 +40060,8 @@ aM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs-var oM = {};-oM = {+var lM = {};+lM = {colorSwatchPicker: "Krāsu paraugi",dropzoneLabel: "DropZone",selectPlaceholder: "Izvēlēties vienumu",@@ -40060,8 +40069,8 @@ oM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs-var sM = {};-sM = {+var uM = {};+uM = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",@@ -40069,8 +40078,8 @@ sM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var cM = {};-cM = {+var dM = {};+dM = {colorSwatchPicker: "kleurstalen",dropzoneLabel: "DropZone",selectPlaceholder: "Selecteer een item",@@ -40078,8 +40087,8 @@ cM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var lM = {};-lM = {+var fM = {};+fM = {colorSwatchPicker: "Próbki kolorów",dropzoneLabel: "Strefa upuszczania",selectPlaceholder: "Wybierz element",@@ -40087,8 +40096,8 @@ lM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs-var uM = {};-uM = {+var pM = {};+pM = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -40096,8 +40105,8 @@ uM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var dM = {};-dM = {+var mM = {};+mM = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -40105,8 +40114,8 @@ dM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var fM = {};-fM = {+var hM = {};+hM = {colorSwatchPicker: "Specimene de culoare",dropzoneLabel: "Zonă de plasare",selectPlaceholder: "Selectați un element",@@ -40114,8 +40123,8 @@ fM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs-var pM = {};-pM = {+var gM = {};+gM = {colorSwatchPicker: "Цветовые образцы",dropzoneLabel: "DropZone",selectPlaceholder: "Выберите элемент",@@ -40123,8 +40132,8 @@ pM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var mM = {};-mM = {+var _M = {};+_M = {colorSwatchPicker: "Vzorkovníky farieb",dropzoneLabel: "DropZone",selectPlaceholder: "Vyberte položku",@@ -40132,8 +40141,8 @@ mM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs-var hM = {};-hM = {+var vM = {};+vM = {colorSwatchPicker: "Barvne palete",dropzoneLabel: "DropZone",selectPlaceholder: "Izberite element",@@ -40141,8 +40150,8 @@ hM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var gM = {};-gM = {+var yM = {};+yM = {colorSwatchPicker: "Uzorci boje",dropzoneLabel: "DropZone",selectPlaceholder: "Izaberite stavku",@@ -40150,8 +40159,8 @@ gM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var _M = {};-_M = {+var bM = {};+bM = {colorSwatchPicker: "Färgrutor",dropzoneLabel: "DropZone",selectPlaceholder: "Välj en artikel",@@ -40159,8 +40168,8 @@ _M = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs-var vM = {};-vM = {+var xM = {};+xM = {colorSwatchPicker: "Renk örnekleri",dropzoneLabel: "Bırakma Bölgesi",selectPlaceholder: "Bir öğe seçin",@@ -40168,8 +40177,8 @@ vM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs-var yM = {};-yM = {+var SM = {};+SM = {colorSwatchPicker: "Зразки кольорів",dropzoneLabel: "DropZone",selectPlaceholder: "Виберіть елемент",@@ -40177,8 +40186,8 @@ yM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var bM = {};-bM = {+var CM = {};+CM = {colorSwatchPicker: "颜色色板",dropzoneLabel: "放置区域",selectPlaceholder: "选择一个项目",@@ -40186,8 +40195,8 @@ bM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var xM = {};-xM = {+var wM = {};+wM = {colorSwatchPicker: "色票",dropzoneLabel: "放置區",selectPlaceholder: "選取項目",@@ -40195,52 +40204,52 @@ xM = {};//#endregion//#region node_modules/react-aria-components/dist/private/intlStrings.mjs-var SM = {};-SM = {- "ar-AE": Hj,- "bg-BG": Uj,- "cs-CZ": Wj,- "da-DK": Gj,- "de-DE": Kj,- "el-GR": qj,- "en-US": Jj,- "es-ES": Yj,- "et-EE": Xj,- "fi-FI": Zj,- "fr-FR": Qj,- "he-IL": $j,- "hr-HR": eM,- "hu-HU": tM,- "it-IT": nM,- "ja-JP": rM,- "ko-KR": iM,- "lt-LT": aM,- "lv-LV": oM,- "nb-NO": sM,- "nl-NL": cM,- "pl-PL": lM,- "pt-BR": uM,- "pt-PT": dM,- "ro-RO": fM,- "ru-RU": pM,- "sk-SK": mM,- "sl-SI": hM,- "sr-SP": gM,- "sv-SE": _M,- "tr-TR": vM,- "uk-UA": yM,- "zh-CN": bM,- "zh-TW": xM+var TM = {};+TM = {+ "ar-AE": Gj,+ "bg-BG": Kj,+ "cs-CZ": qj,+ "da-DK": Jj,+ "de-DE": Yj,+ "el-GR": Xj,+ "en-US": Zj,+ "es-ES": Qj,+ "et-EE": $j,+ "fi-FI": eM,+ "fr-FR": tM,+ "he-IL": nM,+ "hr-HR": rM,+ "hu-HU": iM,+ "it-IT": aM,+ "ja-JP": oM,+ "ko-KR": sM,+ "lt-LT": cM,+ "lv-LV": lM,+ "nb-NO": uM,+ "nl-NL": dM,+ "pl-PL": fM,+ "pt-BR": pM,+ "pt-PT": mM,+ "ro-RO": hM,+ "ru-RU": gM,+ "sk-SK": _M,+ "sl-SI": vM,+ "sr-SP": yM,+ "sv-SE": bM,+ "tr-TR": xM,+ "uk-UA": SM,+ "zh-CN": CM,+ "zh-TW": wM};//#endregion//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var CM = /*#__PURE__*/ (0, E.createContext)({}), wM = /*#__PURE__*/ (0, E.createContext)(null), _be = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { render: n } = (0, E.useContext)(wM);+var EM = /*#__PURE__*/ (0, E.createContext)({}), DM = /*#__PURE__*/ (0, E.createContext)(null), hbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { render: n } = (0, E.useContext)(DM);return /*#__PURE__*/ E.createElement(E.Fragment, null, n(e, t));});-function TM(e, t) {+function OM(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, E.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ E.createElement(_be, { target: e });+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ E.createElement(hbe, { target: e });}, [t?.target,r,@@ -40248,7 +40257,7 @@ function TM(e, t) {]);return e?.useDropIndicator ? i : void 0;}-function EM(e, t, n) {+function kM(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;@@ -40270,14 +40279,14 @@ function EM(e, t, n) {}//#endregion//#region node_modules/react-aria-components/dist/private/Header.mjs-var DM = /*#__PURE__*/ (0, E.createContext)({}), vbe = /*#__PURE__*/ (0, E.createContext)(null);-function OM(e) {+var AM = /*#__PURE__*/ (0, E.createContext)({}), gbe = /*#__PURE__*/ (0, E.createContext)(null);+function jM(e) {let t = (0, E.useRef)({});- return /*#__PURE__*/ E.createElement(vbe.Provider, { value: t }, e.children);+ return /*#__PURE__*/ E.createElement(gbe.Provider, { value: t }, e.children);}//#endregion//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var kM = /*#__PURE__*/ (0, E.createContext)({ isSelected: !1 }), AM = /*#__PURE__*/ (0, E.createContext)({}), ybe = /*#__PURE__*/ iy(class extends P_ {+var MM = /*#__PURE__*/ (0, E.createContext)({ isSelected: !1 }), NM = /*#__PURE__*/ (0, E.createContext)({}), _be = /*#__PURE__*/ iy(class extends P_ {static {this.type = "separator";}@@ -40290,10 +40299,10 @@ var kM = /*#__PURE__*/ (0, E.createContext)({ isSelected: !1 }), AM = /*#__PURE_return null;}}, function(e, t) {- [e, t] = dj(e, t, AM);+ [e, t] = mj(e, t, NM);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = hj[c], { separatorProps: u } = Pce({+ let l = vj[c], { separatorProps: u } = Pce({...s,elementType: n,orientation: r@@ -40309,13 +40318,13 @@ var kM = /*#__PURE__*/ (0, E.createContext)({ isSelected: !1 }), AM = /*#__PURE_});//#endregion//#region node_modules/react-aria/dist/private/utils/inertValue.mjs-function jM(e) {+function PM(e) {let t = E.version.split(".");return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;}//#endregion//#region node_modules/react-stately/dist/private/list/ListCollection.mjs-var MM = class {+var FM = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;let t = (e) => {@@ -40359,20 +40368,20 @@ var MM = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, NM = class e extends Set {+}, IM = class e extends Set {constructor(t, n, r) {super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);}};//#endregion//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs-function bbe(e, t) {+function vbe(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}-function PM(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, E.useRef)(!1), [, s] = (0, E.useState)(!1), c = (0, E.useRef)(null), l = (0, E.useRef)(null), [, u] = (0, E.useState)(null), [d, f] = Xb((0, E.useMemo)(() => FM(e.selectedKeys), [e.selectedKeys]), (0, E.useMemo)(() => FM(e.defaultSelectedKeys, new NM()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, E.useState)(i);+function LM(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, E.useRef)(!1), [, s] = (0, E.useState)(!1), c = (0, E.useRef)(null), l = (0, E.useRef)(null), [, u] = (0, E.useState)(null), [d, f] = Xb((0, E.useMemo)(() => RM(e.selectedKeys), [e.selectedKeys]), (0, E.useMemo)(() => RM(e.defaultSelectedKeys, new IM()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, E.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, E.useRef)(i);return (0, E.useEffect)(() => {@@ -40399,18 +40408,18 @@ function PM(e) {},selectedKeys: d,setSelectedKeys(e) {- (r || !bbe(e, d)) && f(e);+ (r || !vbe(e, d)) && f(e);},disabledKeys: p,disabledBehavior: a};}-function FM(e, t) {- return e ? e === "all" ? "all" : new NM(e) : t;+function RM(e, t) {+ return e ? e === "all" ? "all" : new IM(e) : t;}//#endregion//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var IM = class e {+var zM = 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;}@@ -40493,10 +40502,10 @@ var IM = class e {let t = this.getKey(e);if (t == null) return;let n;- if (this.state.selectedKeys === "all") n = new NM([t], t, t);+ if (this.state.selectedKeys === "all") n = new IM([t], t, t);else {let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new NM(e, r, t);+ n = new IM(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);}@@ -40530,19 +40539,19 @@ var IM = class e {}let t = this.getKey(e);if (t == null) return;- let n = new NM(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ let n = new IM(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 NM([t], t, t) : new NM();+ let n = this.canSelectItem(t) ? new IM([t], t, t) : new IM();this.state.setSelectedKeys(n);}setSelectedKeys(e) {if (this.selectionMode === "none") return;- let t = new NM();+ let t = new IM();for (let n of e) {let e = this.getKey(n);if (e != null && (t.add(e), this.selectionMode === "single")) break;@@ -40565,7 +40574,7 @@ var IM = 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 NM());+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new IM());}toggleSelectAll() {this.isSelectAll ? this.clearSelection() : this.selectAll();@@ -40606,9 +40615,9 @@ var IM = class e {fullCollection: this.fullCollection ?? this.collection});}-}, xbe = class {+}, ybe = class {build(e, t) {- return this.context = t, LM(() => this.iterateCollection(e));+ return this.context = t, BM(() => this.iterateCollection(e));}*iterateCollection(e) {let { children: t, items: n } = e;@@ -40690,10 +40699,10 @@ var IM = class e {...a,key: l,index: s,- wrapper: Sbe(e.wrapper, a.wrapper)+ wrapper: bbe(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 <${RM(t.type)}> in <${RM(r?.type ?? "unknown parent type")}>. Only <${RM(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 <${VM(t.type)}> in <${VM(r?.type ?? "unknown parent type")}>. Only <${VM(e.type)}> is supported.`);s++, yield t;}c = o.next(u);@@ -40715,7 +40724,7 @@ var IM = class e {wrapper: e.wrapper,shouldInvalidate: e.shouldInvalidate,hasChildNodes: e.hasChildNodes || !1,- childNodes: LM(function* () {+ childNodes: BM(function* () {if (!e.hasChildNodes || !e.childNodes) return;let n = 0;for (let r of e.childNodes()) {@@ -40734,7 +40743,7 @@ var IM = class e {this.cache = /* @__PURE__ */ new WeakMap();}};-function LM(e) {+function BM(e) {let t = [], n = null;return { *[Symbol.iterator]() {for (let e of t) yield e;@@ -40742,18 +40751,18 @@ function LM(e) {for (let e of n) t.push(e), yield e;} };}-function Sbe(e, t) {+function bbe(e, t) {if (e && t) return (n) => e(t(n));if (e) return e;if (t) return t;}-function RM(e) {+function VM(e) {return e[0].toUpperCase() + e.slice(1);}//#endregion//#region node_modules/react-stately/dist/private/collections/useCollection.mjs-function zM(e, t, n) {- let r = (0, E.useMemo)(() => new xbe(), []), { children: i, items: a, collection: o } = e;+function HM(e, t, n) {+ let r = (0, E.useMemo)(() => new ybe(), []), { children: i, items: a, collection: o } = e;return (0, E.useMemo)(() => o || t(r.build({children: i,items: a@@ -40768,27 +40777,27 @@ function zM(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/list/useListState.mjs-function BM(e) {- let { filter: t, layoutDelegate: n } = e, r = PM(e), i = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = zM(e, (0, E.useCallback)((e) => t ? new MM(t(e)) : new MM(e), [t]), (0, E.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, E.useMemo)(() => new IM(a, r, { layoutDelegate: n }), [+function UM(e) {+ let { filter: t, layoutDelegate: n } = e, r = LM(e), i = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = HM(e, (0, E.useCallback)((e) => t ? new FM(t(e)) : new FM(e), [t]), (0, E.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, E.useMemo)(() => new zM(a, r, { layoutDelegate: n }), [a,r,n]);- return VM(a, o), {+ return WM(a, o), {collection: a,disabledKeys: i,selectionManager: o};}-function Cbe(e, t) {+function xbe(e, t) {let n = (0, E.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return VM(n, r), {+ return WM(n, r), {collection: n,selectionManager: r,disabledKeys: e.disabledKeys};}-function VM(e, t) {+function WM(e, t) {let n = (0, E.useRef)(null);(0, E.useEffect)(() => {if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {@@ -40816,7 +40825,7 @@ function VM(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function HM(e, t) {+function GM(e, t) {let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, E.useRef)(null), s = Sy((e) => {for (let t of e) t.isIntersecting && r && r();});@@ -40840,42 +40849,42 @@ function HM(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/ListBox.mjs-var UM = /*#__PURE__*/ (0, E.createContext)(null), WM = /*#__PURE__*/ (0, E.createContext)(null), wbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = dj(e, t, UM);- let n = (0, E.useContext)(WM);- return n ? /*#__PURE__*/ E.createElement(GM, {+var KM = /*#__PURE__*/ (0, E.createContext)(null), qM = /*#__PURE__*/ (0, E.createContext)(null), Sbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = mj(e, t, KM);+ let n = (0, E.useContext)(qM);+ return n ? /*#__PURE__*/ E.createElement(JM, {state: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ E.createElement(ty, { content: /*#__PURE__*/ E.createElement(cy, e) }, (n) => /*#__PURE__*/ E.createElement(Tbe, {+ }) : /*#__PURE__*/ E.createElement(ty, { content: /*#__PURE__*/ E.createElement(cy, e) }, (n) => /*#__PURE__*/ E.createElement(Cbe, {props: e,listBoxRef: t,collection: n}));});-function Tbe({ props: e, listBoxRef: t, collection: n }) {+function Cbe({ props: e, listBoxRef: t, collection: n }) {e = {...e,collection: n,children: null,items: null};- let { layoutDelegate: r } = (0, E.useContext)(xj), i = BM({+ let { layoutDelegate: r } = (0, E.useContext)(wj), i = UM({...e,layoutDelegate: r});- return /*#__PURE__*/ E.createElement(GM, {+ return /*#__PURE__*/ E.createElement(JM, {state: i,props: e,listBoxRef: t});}-function GM({ state: e, props: t, listBoxRef: n }) {- [t, n] = dj(t, n, gj);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Cbe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Ay(), { disabledBehavior: p, disabledKeys: m } = l, h = _S({+function JM({ state: e, props: t, listBoxRef: n }) {+ [t, n] = mj(t, n, yj);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = xbe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Ay(), { disabledBehavior: p, disabledKeys: m } = l, h = _S({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, E.useContext)(xj), b = (0, E.useMemo)(() => t.keyboardDelegate || new yx({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, E.useContext)(wj), b = (0, E.useMemo)(() => t.keyboardDelegate || new yx({collection: c,collator: h,ref: n,@@ -40936,7 +40945,7 @@ function GM({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, P = lj({+ }, P = fj({...t,children: void 0,defaultClassName: "react-aria-ListBox",@@ -40947,7 +40956,7 @@ function GM({ state: e, props: t, listBoxRef: n }) {style: { display: "contents" }}, t.renderEmptyState(N)));let I = Ry(t, { global: !0 });- return /*#__PURE__*/ E.createElement(cb, null, /*#__PURE__*/ E.createElement(hj.div, {+ return /*#__PURE__*/ E.createElement(cb, null, /*#__PURE__*/ E.createElement(vj.div, {...K(I, P, x, k, w?.collectionProps),ref: n,slot: t.slot || void 0,@@ -40958,52 +40967,52 @@ function GM({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": j || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ E.createElement(cj, { values: [- [UM, t],- [WM, s],- [CM, {+ }, /*#__PURE__*/ E.createElement(dj, { values: [+ [KM, t],+ [qM, s],+ [EM, {dragAndDropHooks: r,dragState: S,dropState: C}],- [AM, { elementType: "div" }],- [wM, { render: Obe }],- [vj, {+ [NM, { elementType: "div" }],+ [DM, { render: Ebe }],+ [xj, {name: "ListBoxSection",- render: Ebe+ render: wbe}]- ] }, /*#__PURE__*/ E.createElement(OM, null, /*#__PURE__*/ E.createElement(y, {+ ] }, /*#__PURE__*/ E.createElement(jM, null, /*#__PURE__*/ E.createElement(y, {collection: c,scrollRef: n,- persistedKeys: EM(l, r, C),- renderDropIndicator: TM(r, C)+ persistedKeys: kM(l, r, C),+ renderDropIndicator: OM(r, C)}))), F, D));}-function Ebe(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, E.useContext)(WM), { dragAndDropHooks: a, dropState: o } = (0, E.useContext)(CM), { CollectionBranch: s } = (0, E.useContext)(xj), [c, l] = fj(), { headingProps: u, groupProps: d } = tce({+function wbe(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, E.useContext)(qM), { dragAndDropHooks: a, dropState: o } = (0, E.useContext)(EM), { CollectionBranch: s } = (0, E.useContext)(wj), [c, l] = hj(), { headingProps: u, groupProps: d } = tce({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = lj({+ }), f = fj({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0}), p = Ry(e, { global: !0 });- return delete p.id, /*#__PURE__*/ E.createElement(hj.section, {+ return delete p.id, /*#__PURE__*/ E.createElement(vj.section, {...K(p, f, d),ref: t- }, /*#__PURE__*/ E.createElement(DM.Provider, { value: {+ }, /*#__PURE__*/ E.createElement(AM.Provider, { value: {...u,ref: c} }, /*#__PURE__*/ E.createElement(s, {collection: i.collection,parent: n,- renderDropIndicator: TM(a, o)+ renderDropIndicator: OM(a, o)})));}-var Dbe = /*#__PURE__*/ iy(Wie, function(e, t, n) {- let r = Gv(t), i = (0, E.useContext)(WM), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, E.useContext)(CM), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = nce({+var Tbe = /*#__PURE__*/ iy(Wie, function(e, t, n) {+ let r = Gv(t), i = (0, E.useContext)(qM), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, E.useContext)(EM), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = nce({key: n.key,"aria-label": e?.["aria-label"]}, i, r), { hoverProps: p, isHovered: m } = OS({@@ -41022,7 +41031,7 @@ var Dbe = /*#__PURE__*/ iy(Wie, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), b = lj({+ let y = o && o.isDragging(n.key), b = fj({...e,id: void 0,children: e.children,@@ -41040,7 +41049,7 @@ var Dbe = /*#__PURE__*/ iy(Wie, function(e, t, n) {(0, E.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? hj.a : hj.div, S = Ry(e, { global: !0 });+ let x = e.href ? vj.a : vj.div, S = Ry(e, { global: !0 });return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ E.createElement(x, {...K(S, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,@@ -41054,29 +41063,29 @@ var Dbe = /*#__PURE__*/ iy(Wie, 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__*/ E.createElement(cj, { values: [[kj, { slots: {- [sj]: u,+ }, /*#__PURE__*/ E.createElement(dj, { values: [[Mj, { slots: {+ [uj]: u,label: u,description: d- } }], [kM, { isSelected: f.isSelected }]] }, b.children));+ } }], [MM, { isSelected: f.isSelected }]] }, b.children));});-function Obe(e, t) {+function Ebe(e, t) {t = Gv(t);- let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(CM), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ E.createElement(Abe, {+ let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(EM), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ return a ? null : /*#__PURE__*/ E.createElement(Obe, {...e,dropIndicatorProps: i,isDropTarget: o,ref: t});}-function kbe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = lj({+function Dbe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = fj({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(hj.div, {+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(vj.div, {...n,...a,role: "option",@@ -41084,10 +41093,10 @@ function kbe(e, t) {"data-drop-target": r || void 0}));}-var Abe = /*#__PURE__*/ (0, E.forwardRef)(kbe);+var Obe = /*#__PURE__*/ (0, E.forwardRef)(Dbe);iy(I_, function(e, t, n) {- let r = (0, E.useContext)(WM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, E.useRef)(null);- HM((0, E.useMemo)(() => ({+ let r = (0, E.useContext)(qM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, E.useRef)(null);+ GM((0, E.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -41097,7 +41106,7 @@ iy(I_, function(e, t, n) {o,r?.collection]), c);- let l = lj({+ let l = fj({...s,id: void 0,children: n.rendered,@@ -41110,7 +41119,7 @@ iy(I_, function(e, t, n) {width: 0,height: 0},- inert: jM(!0)+ inert: PM(!0)}, /*#__PURE__*/ E.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -41119,7 +41128,7 @@ iy(I_, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(hj.div, {+ })), i && l.children && /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(vj.div, {...K(Ry(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",@@ -41128,10 +41137,10 @@ iy(I_, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var jbe = /*#__PURE__*/ (0, E.createContext)({ placement: "bottom" });+var kbe = /*#__PURE__*/ (0, E.createContext)({ placement: "bottom" });//#endregion//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function KM(e) {+function YM(e) {let [t, n] = Xb(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, E.useState)(null);return {isOpen: t,@@ -41151,15 +41160,15 @@ function KM(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/animation.mjs-function qM(e, t = !0, n) {+function XM(e, t = !0, n) {let [r, i] = (0, E.useState)(!0), a = r && t;return nv(() => {if (!t && e.current) return Pv(K_(e.current, "opacity", "0"), K_(e.current, "clip", "rect(0 0 0 0)"), K_(e.current, "clip-path", "inset(50%)"), K_(e.current, "mask-image", "linear-gradient(#0000, #0000)"));}, [e, t]), nv(() => {if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, a]), YM(e, a, n, (0, E.useCallback)(() => i(!1), [])), a;+ }, [e, a]), QM(e, a, n, (0, E.useCallback)(() => i(!1), [])), a;}-function JM(e, t, n) {+function ZM(e, t, n) {let [r, i] = (0, E.useState)(t ? "open" : "closed");switch (r) {case "open":@@ -41169,11 +41178,11 @@ function JM(e, t, n) {case "exiting": t && i("open");}let a = r === "exiting";- return YM(e, a, n, (0, E.useCallback)(() => {+ return QM(e, a, n, (0, E.useCallback)(() => {i((e) => e === "exiting" ? "closed" : e);}, [])), a;}-function YM(e, t, n, r) {+function QM(e, t, n, r) {let i = (0, E.useRef)(null), a = Sy(n);nv(() => {if (t && e.current && i.current !== t) {@@ -41201,9 +41210,9 @@ function YM(e, t, n, r) {}//#endregion//#region node_modules/react-aria-components/dist/private/Popover.mjs-var XM = /*#__PURE__*/ (0, E.createContext)(null), ZM = /*#__PURE__*/ (0, E.createContext)(null), QM = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = dj(e, t, XM);- let n = (0, E.useContext)(uN), r = KM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = JM(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Zv(), { direction: c } = Ay();+var $M = /*#__PURE__*/ (0, E.createContext)(null), eN = /*#__PURE__*/ (0, E.createContext)(null), tN = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = mj(e, t, $M);+ let n = (0, E.useContext)(pN), r = YM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ZM(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Zv(), { direction: c } = Ay();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -41214,7 +41223,7 @@ var XM = /*#__PURE__*/ (0, E.createContext)(null), ZM = /*#__PURE__*/ (0, E.creadefaultChildren: null})), /*#__PURE__*/ E.createElement(E.Fragment, null, t);}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ E.createElement(Mbe, {+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ E.createElement(Abe, {...e,triggerRef: e.triggerRef,state: i,@@ -41223,13 +41232,13 @@ var XM = /*#__PURE__*/ (0, E.createContext)(null), ZM = /*#__PURE__*/ (0, E.creadir: c});});-function Mbe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useContext)(ZM), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, E.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Oce({+function Abe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {+ let a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useContext)(eN), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, E.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Oce({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), g = i.popoverRef, _ = qM(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = lj({+ }, e), g = i.popoverRef, _ = XM(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = fj({...i,defaultClassName: "react-aria-Popover",values: {@@ -41250,7 +41259,7 @@ function Mbe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext]);let C = (0, E.useMemo)(() => {let e = y.children;- for (let t of [XM, ...r ?? []]) e = /*#__PURE__*/ E.createElement(t.Provider, { value: null }, e);+ for (let t of [$M, ...r ?? []]) e = /*#__PURE__*/ E.createElement(t.Provider, { value: null }, e);return e;}, [y.children, r]), [w, T] = (0, E.useState)(null), D = (0, E.useCallback)(() => {i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");@@ -41266,7 +41275,7 @@ function Mbe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"--trigger-width": y.style?.["--trigger-width"] || w};nv(() => hw(() => u(!0)), []);- let k = /*#__PURE__*/ E.createElement(hj.div, {+ let k = /*#__PURE__*/ E.createElement(vj.div, {...K(Ry(i, { global: !0 }), d),...y,id: x ? i.id : void 0,@@ -41282,7 +41291,7 @@ function Mbe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": m,"data-entering": v || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ E.createElement(cw, { onDismiss: e.close }), /*#__PURE__*/ E.createElement(jbe.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ E.createElement(cw, { onDismiss: e.close }), /*#__PURE__*/ E.createElement(kbe.Provider, { value: {...p,placement: m,ref: a@@ -41307,15 +41316,15 @@ function Mbe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}), /*#__PURE__*/ E.createElement("div", {ref: o,style: { display: "contents" }- }, /*#__PURE__*/ E.createElement(ZM.Provider, { value: o }, k)));+ }, /*#__PURE__*/ E.createElement(eN.Provider, { value: o }, k)));}//#endregion//#region node_modules/react-aria-components/dist/private/Keyboard.mjs-var Nbe = /*#__PURE__*/ (0, E.createContext)({});+var jbe = /*#__PURE__*/ (0, E.createContext)({});//#endregion//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs-function $M(e) {- let t = KM(e), [n, r] = (0, E.useState)(null), [i, a] = (0, E.useState)([]), o = () => {+function nN(e) {+ let t = YM(e), [n, r] = (0, E.useState)(null), [i, a] = (0, E.useState)([]), o = () => {a([]), t.close();}, s = (e, t) => {a((n) => t > n.length ? n : [...n.slice(0, t), e]);@@ -41341,7 +41350,7 @@ function $M(e) {}//#endregion//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs-var Pbe = class {+var Mbe = 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) => {@@ -41385,8 +41394,8 @@ var Pbe = class {};//#endregion//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs-function eN(e) {- let { onExpandedChange: t } = e, [n, r] = Xb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = PM(e), a = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = zM(e, (0, E.useCallback)((e) => new Pbe(e, { expandedKeys: n }), [n]), null);+function rN(e) {+ let { onExpandedChange: t } = e, [n, r] = Xb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = LM(e), a = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = HM(e, (0, E.useCallback)((e) => new Mbe(e, { expandedKeys: n }), [n]), null);return (0, E.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -41394,32 +41403,32 @@ function eN(e) {expandedKeys: n,disabledKeys: a,toggleKey: (e) => {- r(Fbe(n, e));+ r(Nbe(n, e));},setExpandedKeys: r,- selectionManager: new IM(o, i)+ selectionManager: new zM(o, i)};}-function Fbe(e, t) {+function Nbe(e, t) {let n = new Set(e);return n.has(t) ? n.delete(t) : n.add(t), n;}//#endregion//#region node_modules/react-aria-components/dist/private/Menu.mjs-var tN = /*#__PURE__*/ (0, E.createContext)(null), nN = /*#__PURE__*/ (0, E.createContext)(null), rN = /*#__PURE__*/ (0, E.createContext)(null), iN = /*#__PURE__*/ (0, E.createContext)(null);-function Ibe(e) {- let t = $M(e), n = (0, E.useRef)(null), { menuTriggerProps: r, menuProps: i } = rS({+var iN = /*#__PURE__*/ (0, E.createContext)(null), aN = /*#__PURE__*/ (0, E.createContext)(null), oN = /*#__PURE__*/ (0, E.createContext)(null), sN = /*#__PURE__*/ (0, E.createContext)(null);+function Pbe(e) {+ let t = nN(e), n = (0, E.useRef)(null), { menuTriggerProps: r, menuProps: i } = rS({...e,type: "menu"}, t, n), a = (0, E.useRef)(null);- return Zv() ? null : /*#__PURE__*/ E.createElement(cj, { values: [- [tN, {+ return Zv() ? null : /*#__PURE__*/ E.createElement(dj, { values: [+ [iN, {...i,ref: a}],- [uN, t],- [rN, t],- [XM, {+ [pN, t],+ [oN, t],+ [$M, {trigger: "MenuTrigger",triggerRef: n,scrollRef: a,@@ -41433,7 +41442,7 @@ function Ibe(e) {isPressed: t.isOpen}, e.children));}-var Lbe = /*#__PURE__*/ (0, E.createContext)(null);+var Fbe = /*#__PURE__*/ (0, E.createContext)(null);(class extends P_ {static {this.type = "submenutrigger";@@ -41447,24 +41456,24 @@ var Lbe = /*#__PURE__*/ (0, E.createContext)(null);return null;}});-var Rbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- return [e, t] = dj(e, t, tN), /*#__PURE__*/ E.createElement(ty, { content: /*#__PURE__*/ E.createElement(cy, e) }, (n) => /*#__PURE__*/ E.createElement(zbe, {+var Ibe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ return [e, t] = mj(e, t, iN), /*#__PURE__*/ E.createElement(ty, { content: /*#__PURE__*/ E.createElement(cy, e) }, (n) => /*#__PURE__*/ E.createElement(Lbe, {props: e,collection: n,menuRef: t}));});-function zbe({ props: e, collection: t, menuRef: n }) {- [e, n] = dj(e, n, gj);- let { filter: r, ...i } = e, a = (0, E.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = eN({+function Lbe({ props: e, collection: t, menuRef: n }) {+ [e, n] = mj(e, n, yj);+ let { filter: r, ...i } = e, a = (0, E.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = rN({...e,collection: a,children: void 0- }), s = (0, E.useContext)(rN), { isVirtualized: c, CollectionRoot: l } = (0, E.useContext)(xj), { menuProps: u } = rce({+ }), s = (0, E.useContext)(oN), { isVirtualized: c, CollectionRoot: l } = (0, E.useContext)(wj), { menuProps: u } = rce({...e,isVirtualized: c,onClose: e.onClose || s?.close- }, o, n), d = lj({+ }, o, n), d = fj({...e,children: void 0,defaultClassName: "react-aria-Menu",@@ -41475,35 +41484,35 @@ function zbe({ props: e, collection: t, menuRef: n }) {style: { display: "contents" }}, e.renderEmptyState()));let p = Ry(e, { global: !0 });- return /*#__PURE__*/ E.createElement(cb, null, /*#__PURE__*/ E.createElement(hj.div, {+ return /*#__PURE__*/ E.createElement(cb, null, /*#__PURE__*/ E.createElement(vj.div, {...K(p, d, u),ref: n,slot: e.slot || void 0,"data-empty": o.collection.size === 0 || void 0,onScroll: e.onScroll- }, /*#__PURE__*/ E.createElement(cj, { values: [- [nN, o],- [AM, { elementType: "div" }],- [vj, {+ }, /*#__PURE__*/ E.createElement(dj, { values: [+ [aN, o],+ [NM, { elementType: "div" }],+ [xj, {name: "MenuSection",- render: aN+ render: cN}],- [Lbe, {+ [Fbe, {parentMenuRef: n,shouldUseVirtualFocus: i?.shouldUseVirtualFocus}],- [sN, { shouldCloseOnSelect: e.shouldCloseOnSelect }],- [gj, null],- [_j, null],- [iN, o.selectionManager],- [rN, s ?? $M({})]- ] }, /*#__PURE__*/ E.createElement(OM, null, /*#__PURE__*/ E.createElement(l, {+ [uN, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [yj, null],+ [bj, null],+ [sN, o.selectionManager],+ [oN, s ?? nN({})]+ ] }, /*#__PURE__*/ E.createElement(jM, null, /*#__PURE__*/ E.createElement(l, {collection: o.collection,- persistedKeys: Sj(o.selectionManager.focusedKey),+ persistedKeys: Tj(o.selectionManager.focusedKey),scrollRef: n}))), f));}-var Bbe = class extends IM {+var Rbe = class extends zM {constructor(e, t) {super(e.collection, t), this.parent = e;}@@ -41523,11 +41532,11 @@ var Bbe = class extends IM {return this.parent.childFocusStrategy;}};-function aN(e, t, n, r = "react-aria-MenuSection") {- let i = (0, E.useContext)(nN), { CollectionBranch: a } = (0, E.useContext)(xj), [o, s] = fj(), { headingProps: c, groupProps: l } = ace({+function cN(e, t, n, r = "react-aria-MenuSection") {+ let i = (0, E.useContext)(aN), { CollectionBranch: a } = (0, E.useContext)(wj), [o, s] = hj(), { headingProps: c, groupProps: l } = ace({heading: s,"aria-label": n.props["aria-label"] ?? void 0- }), u = lj({+ }), u = fj({...e,id: void 0,children: void 0,@@ -41535,31 +41544,31 @@ function aN(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, E.useContext)(iN), f = PM(e), p = e.selectionMode == null ? d : new Bbe(d, f), m = uj(sN)?.shouldCloseOnSelect, h = Ry(e, { global: !0 });- return delete h.id, /*#__PURE__*/ E.createElement(hj.section, {+ }), d = (0, E.useContext)(sN), f = LM(e), p = e.selectionMode == null ? d : new Rbe(d, f), m = pj(uN)?.shouldCloseOnSelect, h = Ry(e, { global: !0 });+ return delete h.id, /*#__PURE__*/ E.createElement(vj.section, {...K(h, u, l),ref: t- }, /*#__PURE__*/ E.createElement(cj, { values: [- [DM, {+ }, /*#__PURE__*/ E.createElement(dj, { values: [+ [AM, {...c,ref: o}],- [iN, p],- [sN, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]+ [sN, p],+ [uN, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]] }, /*#__PURE__*/ E.createElement(a, {collection: i.collection,parent: n})));}-var oN = /*#__PURE__*/ ay(Gie, aN), sN = /*#__PURE__*/ (0, E.createContext)(null), cN = /*#__PURE__*/ iy(Wie, function(e, t, n) {- [e, t] = dj(e, t, sN);- let r = uj(sN)?.id, i = (0, E.useContext)(nN), a = Gv(t), o = (0, E.useContext)(iN), { isVirtualized: s } = (0, E.useContext)(xj), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = ice({+var lN = /*#__PURE__*/ ay(Gie, cN), uN = /*#__PURE__*/ (0, E.createContext)(null), dN = /*#__PURE__*/ iy(Wie, function(e, t, n) {+ [e, t] = mj(e, t, uN);+ let r = pj(uN)?.id, i = (0, E.useContext)(aN), a = Gv(t), o = (0, E.useContext)(sN), { isVirtualized: s } = (0, E.useContext)(wj), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = ice({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = OS({ isDisabled: f.isDisabled }), h = lj({+ }, i, a), { hoverProps: p, isHovered: m } = OS({ isDisabled: f.isDisabled }), h = fj({...e,id: void 0,children: n.rendered,@@ -41573,7 +41582,7 @@ var oN = /*#__PURE__*/ ay(Gie, aN), sN = /*#__PURE__*/ (0, E.createContext)(nullhasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? hj.a : hj.div, _ = Ry(e, { global: !0 });+ }), g = e.href ? vj.a : vj.div, _ = Ry(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ E.createElement(g, {...K(_, h, c, p),ref: a,@@ -41586,19 +41595,19 @@ var oN = /*#__PURE__*/ ay(Gie, aN), sN = /*#__PURE__*/ (0, E.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__*/ E.createElement(cj, { values: [- [kj, { slots: {- [sj]: l,+ }, /*#__PURE__*/ E.createElement(dj, { values: [+ [Mj, { slots: {+ [uj]: l,label: l,description: u} }],- [Nbe, d],- [kM, { isSelected: f.isSelected }]+ [jbe, d],+ [MM, { isSelected: f.isSelected }]] }, h.children));});iy(I_, function(e, t, n) {- let r = (0, E.useContext)(nN), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, E.useRef)(null);- HM((0, E.useMemo)(() => ({+ let r = (0, E.useContext)(aN), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, E.useRef)(null);+ GM((0, E.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -41608,7 +41617,7 @@ iy(I_, function(e, t, n) {o,r?.collection]), c);- let l = lj({+ let l = fj({...s,id: void 0,children: n.rendered,@@ -41621,7 +41630,7 @@ iy(I_, function(e, t, n) {width: 0,height: 0},- inert: jM(!0)+ inert: PM(!0)}, /*#__PURE__*/ E.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -41630,7 +41639,7 @@ iy(I_, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(hj.div, {+ })), i && l.children && /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(vj.div, {...K(Ry(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",@@ -41639,82 +41648,82 @@ iy(I_, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/Dialog.mjs-var lN = /*#__PURE__*/ (0, E.createContext)(null), uN = /*#__PURE__*/ (0, E.createContext)(null), dN = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+var fN = /*#__PURE__*/ (0, E.createContext)(null), pN = /*#__PURE__*/ (0, E.createContext)(null), mN = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = dj(e, t, lN);+ [e, t] = mj(e, t, fN);let { dialogProps: r, titleProps: i, contentProps: a } = Vse({...e,"aria-labelledby": n- }, t), o = (0, E.useContext)(uN);+ }, t), o = (0, E.useContext)(pN);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = lj({+ let s = fj({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }}), c = Ry(e, { global: !0 });- return /*#__PURE__*/ E.createElement(hj.section, {+ return /*#__PURE__*/ E.createElement(vj.section, {...K(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ E.createElement(cj, { values: [- [Dj, { slots: {- [sj]: {},+ }, /*#__PURE__*/ E.createElement(dj, { values: [+ [Aj, { slots: {+ [uj]: {},title: {...i,level: 2}} }],- [kj, { slots: {- [sj]: {},+ [Mj, { slots: {+ [uj]: {},description: a} }],- [Tj, { slots: {- [sj]: {},+ [Oj, { slots: {+ [uj]: {},close: { onPress: () => o?.close() }} }]] }, s.children));-}), fN = typeof document < "u" && window.visualViewport;-function Vbe() {+}), hN = typeof document < "u" && window.visualViewport;+function zbe() {let e = gv(), t = (0, E.useRef)(null), [n, r] = (0, E.useState)(() => e ? {width: 0,height: 0- } : pN());+ } : gN());return (0, E.useEffect)(() => {let e = (e) => {r((t) => e.width === t.width && e.height === t.height ? t : e);}, n = () => {- fN && fN.scale > 1 || e(pN());+ hN && hN.scale > 1 || e(gN());}, i = (n) => {- fN && fN.scale > 1 || yy(X_(n)) && (t.current = hw((t) => {+ hN && hN.scale > 1 || yy(X_(n)) && (t.current = hw((t) => {t || e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(pN()), lv() && uv() && window.addEventListener("blur", i, !0), fN ? fN.addEventListener("resize", n) : window.addEventListener("resize", n), () => {- t.current?.(), lv() && uv() && window.removeEventListener("blur", i, !0), fN ? fN.removeEventListener("resize", n) : window.removeEventListener("resize", n);+ return e(gN()), lv() && uv() && window.addEventListener("blur", i, !0), hN ? hN.addEventListener("resize", n) : window.addEventListener("resize", n), () => {+ t.current?.(), lv() && uv() && window.removeEventListener("blur", i, !0), hN ? hN.removeEventListener("resize", n) : window.removeEventListener("resize", n);};}, []), n;}-function pN() {+function gN() {return {- width: fN ? Math.min(fN.width * fN.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: fN ? fN.height * fN.scale : document.documentElement.clientHeight+ width: hN ? Math.min(hN.width * hN.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: hN ? hN.height * hN.scale : document.documentElement.clientHeight};}//#endregion//#region node_modules/react-aria-components/dist/private/Modal.mjs-var Hbe = /*#__PURE__*/ (0, E.createContext)(null), mN = /*#__PURE__*/ (0, E.createContext)(null), Ube = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- if ((0, E.useContext)(mN)) return /*#__PURE__*/ E.createElement(gN, {+var Bbe = /*#__PURE__*/ (0, E.createContext)(null), _N = /*#__PURE__*/ (0, E.createContext)(null), Vbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ if ((0, E.useContext)(_N)) return /*#__PURE__*/ E.createElement(yN, {...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__*/ E.createElement(hN, {+ return /*#__PURE__*/ E.createElement(vN, {isDismissable: n,isKeyboardDismissDisabled: r,isOpen: i,@@ -41724,15 +41733,15 @@ var Hbe = /*#__PURE__*/ (0, E.createContext)(null), mN = /*#__PURE__*/ (0, E.creisExiting: l,UNSTABLE_portalContainer: u,shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ E.createElement(gN, {+ }, /*#__PURE__*/ E.createElement(yN, {...f,modalRef: t}, s));});-function Wbe(e, t) {- [e, t] = dj(e, t, Hbe);- let n = (0, E.useContext)(uN), r = KM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Gv(t), o = (0, E.useRef)(null), s = JM(a, i.isOpen, e.onExit), c = (0, E.useRef)(null), l = JM(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = gv();- return !i.isOpen && !u || d ? null : /*#__PURE__*/ E.createElement(Gbe, {+function Hbe(e, t) {+ [e, t] = mj(e, t, Bbe);+ let n = (0, E.useContext)(pN), r = YM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Gv(t), o = (0, E.useRef)(null), s = ZM(a, i.isOpen, e.onExit), c = (0, E.useRef)(null), l = ZM(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = gv();+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ E.createElement(Ube, {...e,state: i,isExiting: u,@@ -41741,12 +41750,12 @@ function Wbe(e, t) {onExitRef: c});}-var hN = /*#__PURE__*/ (0, E.forwardRef)(Wbe);-function Gbe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {- let r = n.modalRef, { state: i } = n, [a, o] = (0, E.useState)(!1), s = qM(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = gce({+var vN = /*#__PURE__*/ (0, E.forwardRef)(Hbe);+function Ube({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {+ let r = n.modalRef, { state: i } = n, [a, o] = (0, E.useState)(!1), s = XM(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = gce({...n,isEntering: c- }, i, r), d = (0, E.useContext)(lN), f = t ? Kbe(d, { isEntering: c }) : d, p = lj({+ }, i, r), d = (0, E.useContext)(fN), f = t ? Wbe(d, { isEntering: c }) : d, p = fj({...n,defaultClassName: "react-aria-ModalOverlay",values: {@@ -41754,7 +41763,7 @@ function Gbe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisExiting: n.isExiting,state: i}- }), m = Vbe(), h, g;+ }), m = zbe(), h, g;if (typeof document < "u") {let e = Db(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;@@ -41769,15 +41778,15 @@ function Gbe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nreturn nv(() => hw(() => o(!0)), []), /*#__PURE__*/ E.createElement(SS, {isExiting: n.isExiting,portalContainer: e- }, /*#__PURE__*/ E.createElement(hj.div, {+ }, /*#__PURE__*/ E.createElement(vj.div, {...K(Ry(n, { global: !0 }), u),...p,style: _,ref: n.overlayRef,"data-entering": s || void 0,"data-exiting": n.isExiting || void 0- }, /*#__PURE__*/ E.createElement(cj, { values: [- [mN, {+ }, /*#__PURE__*/ E.createElement(dj, { values: [+ [_N, {modalProps: l,modalRef: r,isExiting: n.isExiting,@@ -41785,11 +41794,11 @@ function Gbe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisOpen: a,isDismissable: n.isDismissable}],- [uN, i],- [lN, f]+ [pN, i],+ [fN, f]] }, p.children)));}-function Kbe(e, t) {+function Wbe(e, t) {if (e && "slots" in e && e.slots) {let n = {};for (let r in e.slots) n[r] = {@@ -41806,8 +41815,8 @@ function Kbe(e, t) {...t};}-function gN(e) {- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, E.useContext)(mN), s = (0, E.useContext)(uN), c = Gv((0, E.useMemo)(() => Bv(e.modalRef, n), [e.modalRef, n])), l = qM(c, o, e.onEnter), u = lj({+function yN(e) {+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, E.useContext)(_N), s = (0, E.useContext)(pN), c = Gv((0, E.useMemo)(() => Bv(e.modalRef, n), [e.modalRef, n])), l = XM(c, o, e.onEnter), u = fj({...e,defaultClassName: "react-aria-Modal",values: {@@ -41818,7 +41827,7 @@ function gN(e) {});return nv(() => {i && (i.current = e.onExit);- }), /*#__PURE__*/ E.createElement(hj.div, {+ }), /*#__PURE__*/ E.createElement(vj.div, {...K(Ry(e, { global: !0 }), t),...u,ref: c,@@ -41828,9 +41837,9 @@ function gN(e) {}//#endregion//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs-var qbe = Math.round(Math.random() * 1e10), Jbe = 0;-function Ybe(e) {- let t = (0, E.useMemo)(() => e.name || `radio-group-${qbe}-${++Jbe}`, [e.name]), [n, r] = Xb(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, E.useState)(n), [a, o] = (0, E.useState)(null), s = Vb({+var Gbe = Math.round(Math.random() * 1e10), Kbe = 0;+function qbe(e) {+ let t = (0, E.useMemo)(() => e.name || `radio-group-${Gbe}-${++Kbe}`, [e.name]), [n, r] = Xb(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, E.useState)(n), [a, o] = (0, E.useState)(null), s = Vb({...e,value: n}), c = (t) => {@@ -41853,16 +41862,16 @@ function Ybe(e) {}//#endregion//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs-var Xbe = /*#__PURE__*/ (0, E.createContext)(null), Zbe = /*#__PURE__*/ (0, E.createContext)(null), _N = /*#__PURE__*/ (0, E.createContext)(null), vN = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = dj(e, t, Xbe);- let { validationBehavior: n } = uj(jj) || {}, r = e.validationBehavior ?? n ?? "native", i = Ybe({+var Jbe = /*#__PURE__*/ (0, E.createContext)(null), Ybe = /*#__PURE__*/ (0, E.createContext)(null), bN = /*#__PURE__*/ (0, E.createContext)(null), xN = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = mj(e, t, Jbe);+ let { validationBehavior: n } = pj(Pj) || {}, r = e.validationBehavior ?? n ?? "native", i = qbe({...e,validationBehavior: r- }), [a, o] = fj(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Ace({+ }), [a, o] = hj(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Ace({...e,label: o,validationBehavior: r- }, i), f = lj({+ }, i), f = fj({...e,values: {orientation: e.orientation || "vertical",@@ -41874,7 +41883,7 @@ var Xbe = /*#__PURE__*/ (0, E.createContext)(null), Zbe = /*#__PURE__*/ (0, E.cr},defaultClassName: "react-aria-RadioGroup"}), p = Ry(e, { global: !0 });- return /*#__PURE__*/ E.createElement(hj.div, {+ return /*#__PURE__*/ E.createElement(vj.div, {...K(p, f, s),ref: t,slot: e.slot || void 0,@@ -41883,39 +41892,39 @@ var Xbe = /*#__PURE__*/ (0, E.createContext)(null), Zbe = /*#__PURE__*/ (0, E.cr"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ E.createElement(cj, { values: [- [_N, i],- [Cj, {+ }, /*#__PURE__*/ E.createElement(dj, { values: [+ [bN, i],+ [Ej, {...c,ref: a,elementType: "span"}],- [kj, { slots: {+ [Mj, { slots: {description: l,errorMessage: u} }],- [Aj, d]- ] }, /*#__PURE__*/ E.createElement(OM, null, f.children)));-}), yN = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [Nj, d]+ ] }, /*#__PURE__*/ E.createElement(jM, null, f.children)));+}), SN = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = dj(r, t, Zbe);- let i = E.useContext(_N), a = Gv((0, E.useMemo)(() => Bv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = kce({- ...pj(e),+ [e, t] = mj(r, t, Ybe);+ let i = E.useContext(bN), a = Gv((0, E.useMemo)(() => Bv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = kce({+ ...gj(e),children: typeof e.children == "function" || e.children}, i, a);- return /*#__PURE__*/ E.createElement(bN.Provider, { value: {+ return /*#__PURE__*/ E.createElement(CN.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ E.createElement(Qbe, {+ } }, /*#__PURE__*/ E.createElement(Xbe, {...e,ref: t}));-}), bN = /*#__PURE__*/ (0, E.createContext)(null), Qbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, E.useContext)(bN), l = E.useContext(_N), { isFocused: u, isFocusVisible: d, focusProps: f } = wS(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = OS({+}), CN = /*#__PURE__*/ (0, E.createContext)(null), Xbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, E.useContext)(CN), l = E.useContext(bN), { isFocused: u, isFocusVisible: d, focusProps: f } = wS(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = OS({...e,isDisabled: p- }), g = lj({+ }), g = fj({...e,defaultClassName: s,values: {@@ -41930,7 +41939,7 @@ var Xbe = /*#__PURE__*/ (0, E.createContext)(null), Zbe = /*#__PURE__*/ (0, E.crisRequired: l.isRequired}}), _ = Ry(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ E.createElement(hj.label, {+ return delete _.id, delete _.onClick, /*#__PURE__*/ E.createElement(vj.label, {...K(_, n, m, g),ref: t,"data-selected": i || void 0,@@ -41949,8 +41958,8 @@ var Xbe = /*#__PURE__*/ (0, E.createContext)(null), Zbe = /*#__PURE__*/ (0, E.cr});//#endregion//#region node_modules/react-stately/dist/private/select/useSelectState.mjs-function $be(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = KM(e), [i, a] = (0, E.useState)(null), o = (0, E.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+function Zbe(e) {+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = YM(e), [i, a] = (0, E.useState)(null), o = (0, E.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t@@ -41966,12 +41975,12 @@ function $be(e) {let e = [];Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);}- }, d = BM({+ }, d = UM({...e,selectionMode: t,disallowEmptySelection: t === "single",allowDuplicateSelectionEvents: !0,- selectedKeys: (0, E.useMemo)(() => exe(l), [l]),+ selectedKeys: (0, E.useMemo)(() => Qbe(l), [l]),onSelectionChange: (e) => {if (e !== "all") {if (t === "single") {@@ -42008,16 +42017,16 @@ function $be(e) {setFocused: g};}-function exe(e) {+function Qbe(e) {if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];}//#endregion//#region node_modules/react-aria-components/dist/private/Select.mjs-function txe(e) {+function $be(e) {return e && e.__esModule ? e.default : e;}-var xN = /*#__PURE__*/ (0, E.createContext)(null), SN = /*#__PURE__*/ (0, E.createContext)(null), nxe = /*#__PURE__*/ Xv(function(e, t) {- [e, t] = dj(e, t, xN);+var wN = /*#__PURE__*/ (0, E.createContext)(null), TN = /*#__PURE__*/ (0, E.createContext)(null), exe = /*#__PURE__*/ Xv(function(e, t) {+ [e, t] = mj(e, t, wN);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, E.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -42032,24 +42041,24 @@ var xN = /*#__PURE__*/ (0, E.createContext)(null), SN = /*#__PURE__*/ (0, E.creai,a]);- return /*#__PURE__*/ E.createElement(ty, { content: o }, (n) => /*#__PURE__*/ E.createElement(ixe, {+ return /*#__PURE__*/ E.createElement(ty, { content: o }, (n) => /*#__PURE__*/ E.createElement(nxe, {props: e,collection: n,selectRef: t}));-}), rxe = [- Cj,- Tj,- kj+}), txe = [+ Ej,+ Oj,+ Mj];-function ixe({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = uj(jj) || {}, i = e.validationBehavior ?? r ?? "native", a = $be({+function nxe({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = pj(Pj) || {}, i = e.validationBehavior ?? r ?? "native", a = Zbe({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = wS({ within: !0 }), c = (0, E.useRef)(null), [l, u] = fj(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = jce({- ...pj(e),+ }), { isFocusVisible: o, focusProps: s } = wS({ within: !0 }), c = (0, E.useRef)(null), [l, u] = hj(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = jce({+ ...gj(e),label: u,validationBehavior: i}, a, c), y = (0, E.useMemo)(() => ({@@ -42066,48 +42075,48 @@ function ixe({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), b = lj({+ ]), b = fj({...e,values: y,defaultClassName: "react-aria-Select"}), x = Ry(e, { global: !0 });delete x.id;let S = (0, E.useRef)(null);- return /*#__PURE__*/ E.createElement(cj, { values: [- [xN, e],- [SN, a],- [CN, p],- [Cj, {+ return /*#__PURE__*/ E.createElement(dj, { values: [+ [wN, e],+ [TN, a],+ [EN, p],+ [Ej, {...d,ref: l,elementType: "span"}],- [Tj, {+ [Oj, {...f,ref: c,isPressed: a.isOpen,autoFocus: e.autoFocus}],- [uN, a],- [XM, {+ [pN, a],+ [$M, {trigger: "Select",triggerRef: c,scrollRef: S,placement: "bottom start","aria-labelledby": m["aria-labelledby"],- clearContexts: rxe+ clearContexts: txe}],- [UM, {+ [KM, {...m,ref: S}],- [WM, a],- [kj, { slots: {+ [qM, a],+ [Mj, { slots: {description: h,errorMessage: g} }],- [Aj, v]- ] }, /*#__PURE__*/ E.createElement(hj.div, {+ [Nj, v]+ ] }, /*#__PURE__*/ E.createElement(vj.div, {...K(x, b, s),ref: t,slot: e.slot || void 0,@@ -42122,9 +42131,9 @@ function ixe({ props: e, selectRef: t, collection: n }) {autoComplete: e.autoComplete})));}-for (var CN = /*#__PURE__*/ (0, E.createContext)(null), axe = /*#__PURE__*/ Xv(function(e, t) {- [e, t] = dj(e, t, CN);- let n = (0, E.useContext)(SN), { placeholder: r } = uj(xN), i = n.selectedItems.map((e) => {+for (var EN = /*#__PURE__*/ (0, E.createContext)(null), rxe = /*#__PURE__*/ Xv(function(e, t) {+ [e, t] = mj(e, t, EN);+ let n = (0, E.useContext)(TN), { placeholder: r } = pj(wN), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -42151,7 +42160,7 @@ for (var CN = /*#__PURE__*/ (0, E.createContext)(null), axe = /*#__PURE__*/ Xv(fa,o,i- ]), u = Iy(txe(SM), "react-aria-components"), d = lj({+ ]), u = Iy($be(TM), "react-aria-components"), d = fj({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -42163,32 +42172,32 @@ for (var CN = /*#__PURE__*/ (0, E.createContext)(null), axe = /*#__PURE__*/ Xv(fstate: n}}), f = Ry(e, { global: !0 });- return /*#__PURE__*/ E.createElement(hj.span, {+ return /*#__PURE__*/ E.createElement(vj.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ E.createElement(kj.Provider, { value: void 0 }, d.children));-}), oxe = /*#__PURE__*/ (0, E.createContext)(null), wN = /*#__PURE__*/ (0, E.createContext)(null), sxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ E.createElement(Mj.Provider, { value: void 0 }, d.children));+}), ixe = /*#__PURE__*/ (0, E.createContext)(null), DN = /*#__PURE__*/ (0, E.createContext)(null), axe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = dj(r, t, oxe);+ [e, t] = mj(r, t, ixe);let i = Gv((0, E.useMemo)(() => Bv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = Zb(e), o = Fce({- ...pj(e),+ ...gj(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ E.createElement(cj, { values: [[wN, a], [TN, {+ return /*#__PURE__*/ E.createElement(dj, { values: [[DN, a], [ON, {...o,inputRef: i,defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ E.createElement(cxe, {+ }]] }, /*#__PURE__*/ E.createElement(oxe, {...e,ref: t}));-}), TN = /*#__PURE__*/ (0, E.createContext)(null), cxe = /*#__PURE__*/ (0, E.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, E.useContext)(TN), { isFocused: f, isFocusVisible: p, focusProps: m } = wS(), h = a || o, g = (0, E.useContext)(wN), { hoverProps: _, isHovered: v } = OS({+}), ON = /*#__PURE__*/ (0, E.createContext)(null), oxe = /*#__PURE__*/ (0, E.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, E.useContext)(ON), { isFocused: f, isFocusVisible: p, focusProps: m } = wS(), h = a || o, g = (0, E.useContext)(DN), { hoverProps: _, isHovered: v } = OS({...e,isDisabled: h- }), y = lj({+ }), y = fj({...e,defaultClassName: u,values: {@@ -42204,7 +42213,7 @@ for (var CN = /*#__PURE__*/ (0, E.createContext)(null), axe = /*#__PURE__*/ Xv(fstate: g}}), b = Ry(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ E.createElement(hj.label, {+ return delete b.id, delete b.onClick, /*#__PURE__*/ E.createElement(vj.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -42221,7 +42230,7 @@ for (var CN = /*#__PURE__*/ (0, E.createContext)(null), axe = /*#__PURE__*/ Xv(f...K(r, m),ref: l})), y.children);-}), EN = 10, DN = 5, ON = class {+}), kN = 10, AN = 5, jN = class {setup(e, t, n) {this.delegate = e, this.state = t, this.direction = n;}@@ -42231,7 +42240,7 @@ for (var CN = /*#__PURE__*/ (0, E.createContext)(null), axe = /*#__PURE__*/ Xv(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) > DN && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > EN && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ if (Math.abs(a) > AN && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > kN && (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);@@ -42310,11 +42319,11 @@ for (var CN = /*#__PURE__*/ (0, E.createContext)(null), axe = /*#__PURE__*/ Xv(flastSwitchX: n});let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);- if (Math.abs(r - c.lastSwitchY) > DN && i) {+ if (Math.abs(r - c.lastSwitchY) > AN && 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 > EN && a) {+ if (l > kN && 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;}@@ -42329,7 +42338,7 @@ for (var CN = /*#__PURE__*/ (0, E.createContext)(null), axe = /*#__PURE__*/ Xv(fboundaryContext: null};}-}, lxe = class {+}, sxe = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];let t = (r) => {@@ -42399,8 +42408,8 @@ for (var CN = /*#__PURE__*/ (0, E.createContext)(null), axe = /*#__PURE__*/ Xv(fgetChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, kN = "row-header-column-" + Math.random().toString(36).slice(2), AN = "row-header-column-" + Math.random().toString(36).slice(2); kN === AN;) AN = "row-header-column-" + Math.random().toString(36).slice(2);-function jN(e, t) {+}, MN = "row-header-column-" + Math.random().toString(36).slice(2), NN = "row-header-column-" + Math.random().toString(36).slice(2); MN === NN;) NN = "row-header-column-" + Math.random().toString(36).slice(2);+function PN(e, t) {if (t.length === 0) return [];let n = [], r = /* @__PURE__ */ new Map();for (let i of t) {@@ -42484,13 +42493,13 @@ function jN(e, t) {textValue: ""}));}-var uxe = class extends lxe {+var cxe = class extends sxe {constructor(e, t, n) {let r = /* @__PURE__ */ new Set(), i = null, a = [];if (n?.showSelectionCheckboxes) {let e = {type: "column",- key: kN,+ key: MN,value: null,textValue: "",level: 0,@@ -42505,7 +42514,7 @@ var uxe = class extends lxe {if (n?.showDragButtons) {let e = {type: "column",- key: AN,+ key: NN,value: null,textValue: "",level: 0,@@ -42532,7 +42541,7 @@ var uxe = class extends lxe {for (let t of e.childNodes) c(t);};for (let t of e) c(t);- let l = jN(s, a);+ let l = PN(s, a);if (l.forEach((e, t) => o.splice(t, 0, e)), super({columnCount: a.length,items: o,@@ -42593,15 +42602,15 @@ var uxe = class extends lxe {};//#endregion//#region node_modules/react-stately/dist/private/table/TableUtils.mjs-function dxe(e) {+function lxe(e) {return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);}-function fxe(e) {+function uxe(e) {if (!e || typeof e == "number") return 1;let t = e.match(/^(.+)(?=fr$)/);return t ? parseFloat(t[0]) : 1;}-function MN(e, t) {+function FN(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");@@ -42609,19 +42618,19 @@ function MN(e, t) {}return e;}-function NN(e, t) {- return e == null ? 2 ** 53 - 1 : MN(e, t);+function IN(e, t) {+ return e == null ? 2 ** 53 - 1 : FN(e, t);}-function PN(e, t) {- return e == null ? 0 : MN(e, t);+function LN(e, t) {+ return e == null ? 0 : FN(e, t);}-function pxe(e, t, n, r, i) {+function dxe(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;- dxe(o) ? (l = MN(o, e), s = !0) : (u = fxe(o), u <= 0 && (s = !0));- let f = PN(t.minWidth ?? i?.(a) ?? 0, e), p = NN(t.maxWidth, e), m = Math.max(f, Math.min(l, p));+ lxe(o) ? (l = FN(o, e), s = !0) : (u = uxe(o), u <= 0 && (s = !0));+ let f = LN(t.minWidth ?? i?.(a) ?? 0, e), p = IN(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,@@ -42655,14 +42664,14 @@ function pxe(e, t, n, r, i) {i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);});}- let u = mxe(l);+ let u = fxe(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 mxe(e) {+function fxe(e) {let t = 0, n = 0, r = [];return e.forEach(function(e) {let i = e.targetMainSize, a = Math.round(i + t) - n;@@ -42671,7 +42680,7 @@ function mxe(e) {}//#endregion//#region node_modules/react-stately/dist/private/table/TableColumnLayout.mjs-var hxe = class {+var pxe = 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);}@@ -42700,19 +42709,19 @@ var hxe = class {}), o;}buildColumnWidths(e, t, n) {- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), pxe(e, t.columns.map((e) => ({+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), dxe(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, PN(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, NN(a.props.maxWidth, e));+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, LN(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, IN(a.props.maxWidth, e));}), this.columnWidths;}};//#endregion//#region node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs-function gxe(e, t) {- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, E.useState)(null), s = (0, E.useMemo)(() => new hxe({+function mxe(e, t) {+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, E.useState)(null), s = (0, E.useMemo)(() => new pxe({getDefaultWidth: n,getDefaultMinWidth: r}), [n, r]), [c, l] = (0, E.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, E.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, E.useState)(t.collection.columns);@@ -42764,8 +42773,8 @@ function gxe(e, t) {}//#endregion//#region node_modules/react-stately/dist/private/grid/useGridState.mjs-function _xe(e) {- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || PM(e), i = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+function hxe(e) {+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || LM(e), i = (0, E.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);@@ -42776,7 +42785,7 @@ function _xe(e) {}a(e, r);};- let o = (0, E.useMemo)(() => new IM(t, r), [t, r]), s = (0, E.useRef)(null);+ let o = (0, E.useMemo)(() => new zM(t, r), [t, r]), s = (0, E.useRef)(null);return (0, E.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;@@ -42815,11 +42824,11 @@ function _xe(e) {}//#endregion//#region node_modules/react-stately/dist/private/table/useTableState.mjs-var vxe = {+var gxe = {ascending: "descending",descending: "ascending"};-function yxe(e) {+function _xe(e) {let [t, n] = (0, E.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, E.useMemo)(() => ({showSelectionCheckboxes: i && r !== "none",showDragButtons: a,@@ -42830,7 +42839,7 @@ function yxe(e) {i,r,a- ]), c = zM(e, (0, E.useCallback)((e) => new uxe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = _xe({+ ]), c = HM(e, (0, E.useCallback)((e) => new cxe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = hxe({...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"@@ -42846,7 +42855,7 @@ function yxe(e) {sort(t, n) {e.onSortChange?.({column: t,- direction: n ?? (e.sortDescriptor?.column === t ? vxe[e.sortDescriptor.direction] : "ascending")+ direction: n ?? (e.sortDescriptor?.column === t ? gxe[e.sortDescriptor.direction] : "ascending")});},expandedKeys: d,@@ -42859,7 +42868,7 @@ function yxe(e) {treeColumn: o};}-function bxe(e, t) {+function vxe(e, t) {let n = (0, E.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);return {...e,@@ -42869,10 +42878,10 @@ function bxe(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Table.mjs-function xxe(e) {+function yxe(e) {return e && e.__esModule ? e.default : e;}-var Sxe = class extends L_ {+var bxe = class extends L_ {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -42887,7 +42896,7 @@ var Sxe = class extends L_ {}get body() {for (let e of this) if (e.type === "tablebody") return e;- return new UN(-2);+ return new KN(-2);}commit(e, t, n = !1) {this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];@@ -42913,7 +42922,7 @@ var Sxe = class extends L_ {for (let t of this.getChildren(e.key)) n(t);};for (let e of this.getChildren(this.head.key)) n(e);- if (this.headerRows = jN(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 = PN(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;@@ -42994,9 +43003,9 @@ var Sxe = class extends L_ {return r.join(" ");}constructor(...e) {- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new zN(-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 HN(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}-}, FN = /*#__PURE__*/ (0, E.createContext)(null), Cxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+}, RN = /*#__PURE__*/ (0, E.createContext)(null), xxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {let n = Gv(t), r = (0, E.useRef)(null), i = (0, E.useRef)(null), [a, o] = (0, E.useState)(0);nv(() => {let e = r.current;@@ -43015,7 +43024,7 @@ var Sxe = class extends L_ {tableRef: r,scrollRef: i,tableWidth: a,- useTableColumnResizeState: gxe,+ useTableColumnResizeState: mxe,onResizeStart: e.onResizeStart,onResize: e.onResize,onResizeEnd: e.onResizeEnd@@ -43026,17 +43035,17 @@ var Sxe = class extends L_ {e.onResize,e.onResizeEnd]);- return /*#__PURE__*/ E.createElement(hj.div, {+ return /*#__PURE__*/ E.createElement(vj.div, {render: e.render,...Ry(e, { global: !0 }),ref: n,className: e.className || "react-aria-ResizableTableContainer",style: e.style,onScroll: e.onScroll- }, /*#__PURE__*/ E.createElement(FN.Provider, { value: s }, e.children));-}), wxe = /*#__PURE__*/ (0, E.createContext)(null), IN = /*#__PURE__*/ (0, E.createContext)(null), LN = /*#__PURE__*/ (0, E.createContext)(null), Txe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = dj(e, t, wxe);- let n = PM(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, E.useMemo)(() => ({+ }, /*#__PURE__*/ E.createElement(RN.Provider, { value: s }, e.children));+}), Sxe = /*#__PURE__*/ (0, E.createContext)(null), zN = /*#__PURE__*/ (0, E.createContext)(null), BN = /*#__PURE__*/ (0, E.createContext)(null), Cxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = mj(e, t, Sxe);+ let n = LM(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, E.useMemo)(() => ({selectionBehavior: i === "none" ? null : r,selectionMode: i,disallowEmptySelection: a,@@ -43046,26 +43055,26 @@ var Sxe = class extends L_ {i,a,o- ]), c = /*#__PURE__*/ E.createElement(Oxe.Provider, { value: s }, /*#__PURE__*/ E.createElement(cy, e));+ ]), c = /*#__PURE__*/ E.createElement(Exe.Provider, { value: s }, /*#__PURE__*/ E.createElement(cy, e));return /*#__PURE__*/ E.createElement(ty, {content: c,- createCollection: () => new Sxe()- }, (r) => /*#__PURE__*/ E.createElement(Dxe, {+ createCollection: () => new bxe()+ }, (r) => /*#__PURE__*/ E.createElement(Txe, {props: e,forwardedRef: t,selectionState: n,collection: r}));-}), Exe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(xj);- return n ? /*#__PURE__*/ E.createElement(hj.div, {+}), wxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(wj);+ return n ? /*#__PURE__*/ E.createElement(vj.div, {...e,ref: t- }) : /*#__PURE__*/ E.createElement(hj.table, {+ }) : /*#__PURE__*/ E.createElement(vj.table, {...e,ref: t});-}), RN = {+}), VN = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -43075,26 +43084,26 @@ var Sxe = class extends L_ {rtl: "ArrowRight"}};-function Dxe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = dj(e, t, gj);- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, E.useContext)(FN);+function Txe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {+ [e, t] = mj(e, t, yj);+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, E.useContext)(RN);t = Gv((0, E.useMemo)(() => Bv(t, c?.tableRef), [t, c?.tableRef]));let [l, u] = Xb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, E.useMemo)(() => r.withExpandedKeys(l), [r, l]);- let d = yxe({+ let d = _xe({...s,collection: r,children: void 0,UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = bxe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, E.useContext)(xj), { dragAndDropHooks: _ } = e, { gridProps: v } = Yce({+ }), f = vxe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, E.useContext)(wj), { dragAndDropHooks: _ } = e, { gridProps: v } = qce({...s,layoutDelegate: m,isVirtualized: p}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;(0, E.useRef)(b), (0, E.useRef)(x), (0, E.useEffect)(() => {}, [b, x]);- let S, C, w, T = !1, D = null, O = (0, E.useRef)(null), { direction: k } = Ay(), [A] = (0, E.useState)(() => new ON());+ let S, C, w, T = !1, D = null, O = (0, E.useRef)(null), { direction: k } = Ay(), [A] = (0, E.useState)(() => new jN());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -43129,12 +43138,12 @@ function Dxe({ 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 === RN.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === RN.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ (e.key === VN.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === VN.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);}}}, C, t), T = C.isDropTarget({ type: "root" });}- let { focusProps: j, isFocused: M, isFocusVisible: N } = wS(), P = lj({+ let { focusProps: j, isFocused: M, isFocusVisible: N } = wS(), P = fj({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -43151,18 +43160,18 @@ function Dxe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {width: "min-content"}));let L = Ry(e, { global: !0 });- return /*#__PURE__*/ E.createElement(cj, { values: [- [IN, f],- [LN, ee],- [CM, {+ return /*#__PURE__*/ E.createElement(dj, { values: [+ [zN, f],+ [BN, ee],+ [EM, {dragAndDropHooks: _,dragState: S,dropState: C}],- [wM, { render: Rxe }],- [gj, null],- [_j, null]- ] }, /*#__PURE__*/ E.createElement(cb, null, /*#__PURE__*/ E.createElement(Exe, {+ [DM, { render: Ixe }],+ [yj, null],+ [bj, null]+ ] }, /*#__PURE__*/ E.createElement(cb, null, /*#__PURE__*/ E.createElement(wxe, {...K(L, P, v, j, w?.collectionProps),style: I,ref: t,@@ -43172,45 +43181,45 @@ function Dxe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {"data-drop-target": T || void 0,"data-focused": M || void 0,"data-focus-visible": N || void 0- }, /*#__PURE__*/ E.createElement(OM, null, /*#__PURE__*/ E.createElement(g, {+ }, /*#__PURE__*/ E.createElement(jM, null, /*#__PURE__*/ E.createElement(g, {collection: f.collection,scrollRef: c?.scrollRef ?? t,- persistedKeys: EM(y, _, C)+ persistedKeys: kM(y, _, C)})))), D);}-var Oxe = /*#__PURE__*/ (0, E.createContext)(null), zN = class extends P_ {+var Exe = /*#__PURE__*/ (0, E.createContext)(null), HN = class extends P_ {static {this.type = "tableheader";}-}, kxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(xj);- return n ? /*#__PURE__*/ E.createElement(hj.div, {+}, Dxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(wj);+ return n ? /*#__PURE__*/ E.createElement(vj.div, {...e,ref: t- }) : /*#__PURE__*/ E.createElement(hj.thead, {+ }) : /*#__PURE__*/ E.createElement(vj.thead, {...e,ref: t});-}), BN = /*#__PURE__*/ ay(zN, (e, t) => {- let n = (0, E.useContext)(IN).collection, r = z_({+}), UN = /*#__PURE__*/ ay(HN, (e, t) => {+ let n = (0, E.useContext)(zN).collection, r = z_({items: n.headerRows,children: (0, E.useCallback)((e) => {switch (e.type) {- case "headerrow": return /*#__PURE__*/ E.createElement(jxe, { item: e });+ case "headerrow": return /*#__PURE__*/ E.createElement(kxe, { item: e });default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])- }), { rowGroupProps: i } = lle(), { hoverProps: a, isHovered: o } = OS({+ }), { rowGroupProps: i } = sle(), { hoverProps: a, isHovered: o } = OS({onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), s = lj({+ }), s = fj({...e,children: void 0,defaultClassName: "react-aria-TableHeader",values: { isHovered: o }});- return /*#__PURE__*/ E.createElement(kxe, {+ return /*#__PURE__*/ E.createElement(Dxe, {...K(Ry(e, { global: !0 }), i, a),...s,ref: t,@@ -43219,8 +43228,8 @@ var Oxe = /*#__PURE__*/ (0, E.createContext)(null), zN = class extends P_ {}, (e) => /*#__PURE__*/ E.createElement(cy, {dependencies: e.dependencies,items: e.columns-}, e.children)), Axe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(xj);+}, e.children)), Oxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(wj);return n ? /*#__PURE__*/ E.createElement("div", {...e,ref: t@@ -43229,41 +43238,41 @@ var Oxe = /*#__PURE__*/ (0, E.createContext)(null), zN = class extends P_ {ref: t});});-function jxe({ item: e }) {- let t = (0, E.useRef)(null), n = (0, E.useContext)(IN), { isVirtualized: r, CollectionBranch: i } = (0, E.useContext)(xj), { rowProps: a } = nle({+function kxe({ item: e }) {+ let t = (0, E.useRef)(null), n = (0, E.useContext)(zN), { isVirtualized: r, CollectionBranch: i } = (0, E.useContext)(wj), { rowProps: a } = ele({node: e,isVirtualized: r- }, n, t), { checkboxProps: o } = fle(n);- return /*#__PURE__*/ E.createElement(Axe, {+ }, n, t), { checkboxProps: o } = ule(n);+ return /*#__PURE__*/ E.createElement(Oxe, {...a,ref: t- }, /*#__PURE__*/ E.createElement(cj, { values: [[Mj, { slots: { selection: o } }], [Nj, { slots: { selection: o } }]] }, /*#__PURE__*/ E.createElement(i, {+ }, /*#__PURE__*/ E.createElement(dj, { values: [[Fj, { slots: { selection: o } }], [Ij, { slots: { selection: o } }]] }, /*#__PURE__*/ E.createElement(i, {collection: n.collection,parent: e})));}-var Mxe = class extends P_ {+var Axe = class extends P_ {static {this.type = "column";}-}, Nxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(xj);- return n ? /*#__PURE__*/ E.createElement(hj.div, {+}, jxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(wj);+ return n ? /*#__PURE__*/ E.createElement(vj.div, {...e,ref: t- }) : /*#__PURE__*/ E.createElement(hj.th, {+ }) : /*#__PURE__*/ E.createElement(vj.th, {...e,ref: t});-}), VN = /*#__PURE__*/ iy(Mxe, (e, t, n) => {- let r = Gv(t), i = (0, E.useContext)(IN), { isVirtualized: a } = (0, E.useContext)(xj), { columnHeaderProps: o, isPressed: s } = $ce({+}), WN = /*#__PURE__*/ iy(Axe, (e, t, n) => {+ let r = Gv(t), i = (0, E.useContext)(zN), { isVirtualized: a } = (0, E.useContext)(wj), { columnHeaderProps: o, isPressed: s } = Zce({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = wS(), d = (0, E.useContext)(LN), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = wS(), d = (0, E.useContext)(BN), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = OS({ isDisabled: !e.allowsSorting }), h = lj({+ let { hoverProps: p, isHovered: m } = OS({ isDisabled: !e.allowsSorting }), h = fj({...e,id: void 0,children: n.rendered,@@ -43290,7 +43299,7 @@ var Mxe = class extends P_ {width: d.getColumnWidth(n.key)});let _ = Ry(e, { global: !0 });- return delete _.id, /*#__PURE__*/ E.createElement(Nxe, {+ return delete _.id, /*#__PURE__*/ E.createElement(jxe, {...K(_, o, u, p),...h,style: g,@@ -43302,14 +43311,14 @@ var Mxe = class extends P_ {"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__*/ E.createElement(cj, { values: [[HN, {+ }, /*#__PURE__*/ E.createElement(dj, { values: [[GN, {column: n,triggerRef: r- }], [xj, yj]] }, h.children));-}), HN = /*#__PURE__*/ (0, E.createContext)(null), Pxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let n = (0, E.useContext)(LN);+ }], [wj, Sj]] }, h.children));+}), GN = /*#__PURE__*/ (0, E.createContext)(null), Mxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let n = (0, E.useContext)(BN);if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");- let r = Iy(xxe(SM), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, E.useContext)(FN), { column: s, triggerRef: c } = (0, E.useContext)(HN), l = (0, E.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = tle({+ let r = Iy(yxe(TM), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, E.useContext)(RN), { column: s, triggerRef: c } = (0, E.useContext)(GN), l = (0, E.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = $ce({column: s,"aria-label": e["aria-label"] || r.format("tableResizer"),onResizeStart: i,@@ -43324,7 +43333,7 @@ var Mxe = class extends P_ {let e = window.getComputedStyle(C.current);T(e.cursor);}, [C, S]);- let D = lj({+ let D = fj({...e,defaultClassName: "react-aria-ColumnResizer",values: {@@ -43335,7 +43344,7 @@ var Mxe = class extends P_ {resizableDirection: S}}), O = Ry(e, { global: !0 });- return /*#__PURE__*/ E.createElement(hj.div, {+ return /*#__PURE__*/ E.createElement(vj.div, {ref: C,role: "presentation",...K(O, D, u, _),@@ -43358,24 +43367,24 @@ var Mxe = class extends P_ {},"data-testid": "cursor-overlay"}), document.body));-}), UN = class extends F_ {+}), KN = class extends F_ {static {this.type = "tablebody";}-}, Fxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(xj);- return n ? /*#__PURE__*/ E.createElement(hj.div, {+}, Nxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(wj);+ return n ? /*#__PURE__*/ E.createElement(vj.div, {...e,ref: t- }) : /*#__PURE__*/ E.createElement(hj.tbody, {+ }) : /*#__PURE__*/ E.createElement(vj.tbody, {...e,ref: t});-}), WN = /*#__PURE__*/ ay(UN, (e, t, n) => {- let r = (0, E.useContext)(IN), { isVirtualized: i } = (0, E.useContext)(xj), a = r.collection, { CollectionBranch: o } = (0, E.useContext)(xj), { dragAndDropHooks: s, dropState: c } = (0, E.useContext)(CM), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+}), qN = /*#__PURE__*/ ay(KN, (e, t, n) => {+ let r = (0, E.useContext)(zN), { isVirtualized: i } = (0, E.useContext)(wj), a = r.collection, { CollectionBranch: o } = (0, E.useContext)(wj), { dragAndDropHooks: s, dropState: c } = (0, E.useContext)(EM), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d- }, p = lj({+ }, p = fj({...e,id: void 0,children: void 0,@@ -43384,25 +43393,25 @@ var Mxe = class extends P_ {}), 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__*/ E.createElement(KN, {+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ E.createElement(YN, {role: "row",...t,style: r- }, /*#__PURE__*/ E.createElement(JN, {+ }, /*#__PURE__*/ E.createElement(ZN, {role: "rowheader",...n,style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = lle(), _ = Ry(e, { global: !0 });- return /*#__PURE__*/ E.createElement(Fxe, {+ let { rowGroupProps: g } = sle(), _ = Ry(e, { global: !0 });+ return /*#__PURE__*/ E.createElement(Nxe, {...K(_, p, g),ref: t,"data-empty": d || void 0- }, l && /*#__PURE__*/ E.createElement(Uxe, null), /*#__PURE__*/ E.createElement(o, {+ }, l && /*#__PURE__*/ E.createElement(Vxe, null), /*#__PURE__*/ E.createElement(o, {collection: a,parent: n,- renderDropIndicator: TM(s, c)+ renderDropIndicator: OM(s, c)}), m);});(class extends F_ {@@ -43410,7 +43419,7 @@ var Mxe = class extends P_ {this.type = "tablefooter";}});-var GN = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), Ixe = class extends P_ {+var JN = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), Pxe = class extends P_ {static {this.type = "item";}@@ -43422,17 +43431,17 @@ var GN = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), Ix}return null;}-}, KN = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(xj);- return n ? /*#__PURE__*/ E.createElement(hj.div, {+}, YN = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(wj);+ return n ? /*#__PURE__*/ E.createElement(vj.div, {...e,ref: t- }) : /*#__PURE__*/ E.createElement(hj.tr, {+ }) : /*#__PURE__*/ E.createElement(vj.tr, {...e,ref: t});-}), qN = /*#__PURE__*/ ay(Ixe, (e, t, n) => {- let r = Gv(t), i = (0, E.useContext)(IN), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, E.useContext)(CM), { isVirtualized: c, CollectionBranch: l } = (0, E.useContext)(xj), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ole({+}), XN = /*#__PURE__*/ ay(Pxe, (e, t, n) => {+ let r = Gv(t), i = (0, E.useContext)(zN), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, E.useContext)(EM), { isVirtualized: c, CollectionBranch: l } = (0, E.useContext)(wj), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ile({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c@@ -43441,7 +43450,7 @@ var GN = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), IxonHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { checkboxProps: x } = dle({ key: n.key }, i), S;+ }), { checkboxProps: x } = lle({ key: n.key }, i), S;o && a && (S = a.useDraggableItem({key: n.key,hasDragButton: !0@@ -43456,7 +43465,7 @@ var GN = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), Ix(0, E.useEffect)(() => {o && D.current;}, []);- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = lj({+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = fj({...A,id: void 0,defaultClassName: "react-aria-Row",@@ -43478,10 +43487,10 @@ var GN = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), Ixlevel: n.level + 1}}), P = Ry(e, { global: !0 });- return delete P.id, delete P.onClick, /*#__PURE__*/ E.createElement(E.Fragment, null, C && !C.isHidden && /*#__PURE__*/ E.createElement(KN, {+ return delete P.id, delete P.onClick, /*#__PURE__*/ E.createElement(E.Fragment, null, C && !C.isHidden && /*#__PURE__*/ E.createElement(YN, {role: "row",style: { height: 0 }- }, /*#__PURE__*/ E.createElement(JN, {+ }, /*#__PURE__*/ E.createElement(ZN, {role: "gridcell",colSpan: i.collection.columnCount,style: { padding: 0 }@@ -43490,7 +43499,7 @@ var GN = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), Ix...T,...C.dropIndicatorProps,ref: w- }))), /*#__PURE__*/ E.createElement(KN, {+ }))), /*#__PURE__*/ E.createElement(YN, {...K(P, N, d, g, y, S?.dragProps, v),ref: r,"data-disabled": p.isDisabled || void 0,@@ -43506,17 +43515,17 @@ var GN = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), Ix"data-expanded": M || void 0,"data-has-child-items": j || void 0,"data-level": n.level + 1- }, /*#__PURE__*/ E.createElement(cj, { values: [- [Mj, { slots: {- [sj]: {},+ }, /*#__PURE__*/ E.createElement(dj, { values: [+ [Fj, { slots: {+ [uj]: {},selection: x} }],- [Nj, { slots: {- [sj]: {},+ [Ij, { slots: {+ [uj]: {},selection: x} }],- [Tj, { slots: {- [sj]: {},+ [Oj, { slots: {+ [uj]: {},chevron: f,drag: {...S?.dragButtonProps,@@ -43524,8 +43533,8 @@ var GN = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), Ixstyle: { pointerEvents: "none" }}} }],- [kM, { isSelected: p.isSelected }],- [GN, { isFocusVisibleWithinRow: _ }]+ [MM, { isSelected: p.isSelected }],+ [JN, { isFocusVisibleWithinRow: _ }]] }, /*#__PURE__*/ E.createElement(l, {collection: i.collection,parent: n@@ -43538,29 +43547,29 @@ var GN = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), Ixitems: e.columns,idScope: e.id}, e.children);-}), Lxe = class extends P_ {+}), Fxe = class extends P_ {static {this.type = "cell";}-}, JN = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(xj);- return n ? /*#__PURE__*/ E.createElement(hj.div, {+}, ZN = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(wj);+ return n ? /*#__PURE__*/ E.createElement(vj.div, {...e,ref: t- }) : /*#__PURE__*/ E.createElement(hj.td, {+ }) : /*#__PURE__*/ E.createElement(vj.td, {...e,ref: t});-}), YN = /*#__PURE__*/ iy(Lxe, (e, t, n) => {- let r = Gv(t), i = (0, E.useContext)(IN), { dragState: a } = (0, E.useContext)(CM), { isVirtualized: o } = (0, E.useContext)(xj);+}), QN = /*#__PURE__*/ iy(Fxe, (e, t, n) => {+ let r = Gv(t), i = (0, E.useContext)(zN), { dragState: a } = (0, E.useContext)(EM), { isVirtualized: o } = (0, E.useContext)(wj);n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = Zce({+ let { gridCellProps: s, isPressed: c } = Yce({node: n,shouldSelectOnPressUp: !!a,isVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = wS(), { hoverProps: f, isHovered: p } = OS({}), { isFocusVisibleWithinRow: m } = (0, E.useContext)(GN), 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 = lj({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = wS(), { hoverProps: f, isHovered: p } = OS({}), { isFocusVisibleWithinRow: m } = (0, E.useContext)(JN), 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 = fj({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -43580,7 +43589,7 @@ var GN = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), IxisTreeColumn: n.column.key === i.treeColumn}}), S = Ry(e, { global: !0 });- return delete S.id, /*#__PURE__*/ E.createElement(JN, {+ return delete S.id, /*#__PURE__*/ E.createElement(ZN, {...K(S, x, s, d, f),ref: r,"data-focused": l || void 0,@@ -43594,14 +43603,14 @@ var GN = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), Ix"data-level": _.level + 1,"data-tree-column": n.column.key === i.treeColumn || void 0,"data-disabled": b || void 0- }, /*#__PURE__*/ E.createElement(xj.Provider, { value: yj }, x.children));+ }, /*#__PURE__*/ E.createElement(wj.Provider, { value: Sj }, x.children));});-function Rxe(e, t) {+function Ixe(e, t) {t = Gv(t);- let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(CM), i = (0, E.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+ let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(EM), i = (0, E.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__*/ E.createElement(Hxe, {+ return /*#__PURE__*/ E.createElement(Bxe, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -43610,40 +43619,40 @@ function Rxe(e, t) {ref: t});}-var zxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(xj);- return n ? /*#__PURE__*/ E.createElement(hj.div, {+var Lxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(wj);+ return n ? /*#__PURE__*/ E.createElement(vj.div, {...e,ref: t- }) : /*#__PURE__*/ E.createElement(hj.tr, {+ }) : /*#__PURE__*/ E.createElement(vj.tr, {...e,ref: t});-}), Bxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(xj);- return n ? /*#__PURE__*/ E.createElement(hj.div, {+}), Rxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(wj);+ return n ? /*#__PURE__*/ E.createElement(vj.div, {...e,ref: t- }) : /*#__PURE__*/ E.createElement(hj.td, {+ }) : /*#__PURE__*/ E.createElement(vj.td, {...e,ref: t});});-function Vxe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, E.useContext)(IN), { visuallyHiddenProps: c } = ax(), l = lj({+function zxe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, E.useContext)(zN), { visuallyHiddenProps: c } = ax(), l = fj({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});- return /*#__PURE__*/ E.createElement(zxe, {+ return /*#__PURE__*/ E.createElement(Lxe, {...Ry(e, { global: !0 }),...l,role: "row",ref: t,"data-drop-target": r || void 0,"aria-level": a- }, /*#__PURE__*/ E.createElement(Bxe, {+ }, /*#__PURE__*/ E.createElement(Rxe, {role: "gridcell",colSpan: s.collection.columnCount,style: { padding: 0 }@@ -43654,14 +43663,14 @@ function Vxe(e, t) {ref: i}), l.children));}-var Hxe = /*#__PURE__*/ (0, E.forwardRef)(Vxe);-function Uxe() {- let e = (0, E.useContext)(IN), { dragAndDropHooks: t, dropState: n } = (0, E.useContext)(CM), r = (0, E.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = ax();- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ E.createElement(KN, {+var Bxe = /*#__PURE__*/ (0, E.forwardRef)(zxe);+function Vxe() {+ let e = (0, E.useContext)(zN), { dragAndDropHooks: t, dropState: n } = (0, E.useContext)(EM), r = (0, E.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = ax();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ E.createElement(YN, {role: "row","aria-hidden": i["aria-hidden"],style: { height: 0 }- }, /*#__PURE__*/ E.createElement(JN, {+ }, /*#__PURE__*/ E.createElement(ZN, {role: "gridcell",colSpan: e.collection.columnCount,style: { padding: 0 }@@ -43673,8 +43682,8 @@ function Uxe() {})));}iy(I_, function(e, t, n) {- let r = (0, E.useContext)(IN), { isVirtualized: i } = (0, E.useContext)(xj), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, E.useRef)(null);- HM((0, E.useMemo)(() => ({+ let r = (0, E.useContext)(zN), { isVirtualized: i } = (0, E.useContext)(wj), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, E.useRef)(null);+ GM((0, E.useMemo)(() => ({onLoadMore: o,collection: r?.collection,sentinelRef: u,@@ -43684,7 +43693,7 @@ iy(I_, function(e, t, n) {s,r?.collection]), u);- let d = lj({+ let d = fj({...c,id: void 0,children: n.rendered,@@ -43692,10 +43701,10 @@ iy(I_, 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__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(KN, {+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(YN, {style: { height: 0 },- inert: jM(!0)- }, /*#__PURE__*/ E.createElement(JN, { style: {+ inert: PM(!0)+ }, /*#__PURE__*/ E.createElement(ZN, { style: {padding: 0,border: 0} }, /*#__PURE__*/ E.createElement("div", {@@ -43706,14 +43715,14 @@ iy(I_, function(e, t, n) {height: 1,width: 1}- }))), a && d.children && /*#__PURE__*/ E.createElement(KN, {+ }))), a && d.children && /*#__PURE__*/ E.createElement(YN, {...K(Ry(e, { global: !0 }), f),...d,role: "row",ref: t,"aria-level": n.level + 1,"data-level": n.level + 1- }, /*#__PURE__*/ E.createElement(JN, {+ }, /*#__PURE__*/ E.createElement(ZN, {role: "rowheader",...p,style: m@@ -43721,8 +43730,8 @@ iy(I_, function(e, t, n) {});//#endregion//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs-function Wxe(e) {- let [t, n] = Xb(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, E.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = BM({+function Hxe(e) {+ let [t, n] = Xb(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, E.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = UM({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -43745,24 +43754,24 @@ function Wxe(e) {}//#endregion//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs-function Gxe(e) {- let t = Wxe({+function Uxe(e) {+ let t = Hxe({...e,onSelectionChange: e.onSelectionChange ? (t) => {t != null && e.onSelectionChange?.(t);} : void 0,suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? XN(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ defaultSelectedKey: e.defaultSelectedKey ?? $N(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, E.useRef)(i);return (0, E.useEffect)(() => {let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = XN(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 = $N(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 XN(e, t) {+function $N(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);@@ -43772,20 +43781,20 @@ function XN(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Tabs.mjs-var ZN = /*#__PURE__*/ (0, E.createContext)(null), QN = /*#__PURE__*/ (0, E.createContext)(null), $N = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = dj(e, t, ZN);+var eP = /*#__PURE__*/ (0, E.createContext)(null), tP = /*#__PURE__*/ (0, E.createContext)(null), nP = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = mj(e, t, eP);let { children: n, orientation: r = "horizontal" } = e;return n = (0, E.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ E.createElement(ty, { content: n }, (n) => /*#__PURE__*/ E.createElement(Kxe, {+ }) : n, [n, r]), /*#__PURE__*/ E.createElement(ty, { content: n }, (n) => /*#__PURE__*/ E.createElement(Wxe, {props: e,collection: n,tabsRef: t}));});-function Kxe({ props: e, tabsRef: t, collection: n }) {- let { orientation: r = "horizontal" } = e, i = Gxe({+function Wxe({ props: e, tabsRef: t, collection: n }) {+ let { orientation: r = "horizontal" } = e, i = Uxe({...e,collection: n,children: void 0@@ -43797,12 +43806,12 @@ function Kxe({ props: e, tabsRef: t, collection: n }) {r,o,s- ]), l = lj({+ ]), l = fj({...e,defaultClassName: "react-aria-Tabs",values: c}), u = Ry(e, { global: !0 });- return /*#__PURE__*/ E.createElement(hj.div, {+ return /*#__PURE__*/ E.createElement(vj.div, {...K(u, l, a),ref: t,slot: e.slot || void 0,@@ -43810,20 +43819,20 @@ function Kxe({ props: e, tabsRef: t, collection: n }) {"data-orientation": r,"data-focus-visible": s || void 0,"data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ E.createElement(cj, { values: [[ZN, e], [QN, i]] }, l.children));+ }, /*#__PURE__*/ E.createElement(dj, { values: [[eP, e], [tP, i]] }, l.children));}-var eP = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- return (0, E.useContext)(QN) ? /*#__PURE__*/ E.createElement(qxe, {+var rP = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ return (0, E.useContext)(tP) ? /*#__PURE__*/ E.createElement(Gxe, {props: e,forwardedRef: t}) : /*#__PURE__*/ E.createElement(cy, e);});-function qxe({ props: e, forwardedRef: t }) {- let n = (0, E.useContext)(QN), { CollectionRoot: r } = (0, E.useContext)(xj), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = uj(ZN), o = Gv(t), { tabListProps: s } = gle({+function Gxe({ props: e, forwardedRef: t }) {+ let n = (0, E.useContext)(tP), { CollectionRoot: r } = (0, E.useContext)(wj), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = pj(eP), o = Gv(t), { tabListProps: s } = mle({...e,orientation: i,keyboardActivation: a- }, n, o), c = lj({+ }, n, o), c = fj({...e,children: null,defaultClassName: "react-aria-TabList",@@ -43832,21 +43841,21 @@ function qxe({ props: e, forwardedRef: t }) {state: n}}), l = Ry(e, { global: !0 });- return delete l.id, /*#__PURE__*/ E.createElement(hj.div, {+ return delete l.id, /*#__PURE__*/ E.createElement(vj.div, {...K(l, c, s),ref: o,"data-orientation": i || void 0- }, /*#__PURE__*/ E.createElement(OM, null, /*#__PURE__*/ E.createElement(r, {+ }, /*#__PURE__*/ E.createElement(jM, null, /*#__PURE__*/ E.createElement(r, {collection: n.collection,- persistedKeys: Sj(n.selectionManager.focusedKey)+ persistedKeys: Tj(n.selectionManager.focusedKey)})));}-var tP = /*#__PURE__*/ iy(class extends P_ {+var iP = /*#__PURE__*/ iy(class extends P_ {static {this.type = "item";}}, (e, t, n) => {- let r = (0, E.useContext)(QN), i = Gv(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = mle({+ let r = (0, E.useContext)(tP), i = Gv(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = fle({key: n.key,...e}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = wS(), { hoverProps: f, isHovered: p } = OS({@@ -43854,7 +43863,7 @@ var tP = /*#__PURE__*/ iy(class extends P_ {onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,onHoverChange: e.onHoverChange- }), m = lj({+ }), m = fj({...e,id: void 0,children: n.rendered,@@ -43867,7 +43876,7 @@ var tP = /*#__PURE__*/ iy(class extends P_ {isPressed: c,isHovered: p}- }), h = n.props.href ? hj.a : hj.div, g = Ry(e, { global: !0 });+ }), h = n.props.href ? vj.a : vj.div, g = Ry(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ E.createElement(h, {...K(g, m, a, l, f),ref: i,@@ -43877,26 +43886,26 @@ var tP = /*#__PURE__*/ iy(class extends P_ {"data-focus-visible": d || void 0,"data-pressed": c || void 0,"data-hovered": p || void 0- }, /*#__PURE__*/ E.createElement(kM.Provider, { value: { isSelected: o } }, m.children));-}), nP = /*#__PURE__*/ Xv(function(e, t) {- let n = (0, E.useContext)(QN), r = Gv(t), i = n.selectedKey === e.id, [a, o] = (0, E.useState)(n.selectedKey == null ? null : i);+ }, /*#__PURE__*/ E.createElement(MM.Provider, { value: { isSelected: o } }, m.children));+}), aP = /*#__PURE__*/ Xv(function(e, t) {+ let n = (0, E.useContext)(tP), r = Gv(t), i = n.selectedKey === e.id, [a, o] = (0, E.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = JM(r, i);- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ E.createElement(Jxe, {+ let s = ZM(r, i);+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ E.createElement(Kxe, {...e,tabPanelRef: r,isInitiallySelected: a || !1,isExiting: s});});-function Jxe(e) {- let t = (0, E.useContext)(QN), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = _le(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = wS(), d = t.selectedKey === e.id, f = qM(r) && !i, p = lj({+function Kxe(e) {+ let t = (0, E.useContext)(tP), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = hle(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = wS(), d = t.selectedKey === e.id, f = XM(r) && !i, p = fj({...e,defaultClassName: "react-aria-TabPanel",values: {isFocused: l,isFocusVisible: u,- isInert: jM(!d),+ isInert: PM(!d),isEntering: f,isExiting: a,state: t@@ -43904,31 +43913,31 @@ function Jxe(e) {}), m = Ry(o, { global: !0 });delete m.id;let h = d ? K(m, s, c, p) : K(m, p);- return /*#__PURE__*/ E.createElement(hj.div, {+ return /*#__PURE__*/ E.createElement(vj.div, {...h,ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,- inert: jM(!d || e.inert),+ inert: PM(!d || e.inert),"data-inert": d ? void 0 : "true","data-entering": f || void 0,"data-exiting": a || void 0- }, /*#__PURE__*/ E.createElement(cj, { values: [[ZN, null], [QN, null]] }, /*#__PURE__*/ E.createElement(xj.Provider, { value: yj }, p.children)));+ }, /*#__PURE__*/ E.createElement(dj, { values: [[eP, null], [tP, null]] }, /*#__PURE__*/ E.createElement(wj.Provider, { value: Sj }, p.children)));}//#endregion//#region node_modules/react-aria-components/dist/private/TextArea.mjs-var Yxe = /*#__PURE__*/ (0, E.createContext)({}), Xxe = /*#__PURE__*/ (0, E.createContext)(null), Zxe = /*#__PURE__*/ Xv(function(e, t) {- [e, t] = dj(e, t, Xxe);- let { validationBehavior: n } = uj(jj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, E.useRef)(null);- [e, i] = dj(e, i, _j);- let [a, o] = fj(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, E.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = wse({- ...pj(e),+var qxe = /*#__PURE__*/ (0, E.createContext)({}), Jxe = /*#__PURE__*/ (0, E.createContext)(null), Yxe = /*#__PURE__*/ Xv(function(e, t) {+ [e, t] = mj(e, t, Jxe);+ let { validationBehavior: n } = pj(Pj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, E.useRef)(null);+ [e, i] = mj(e, i, bj);+ let [a, o] = hj(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, E.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = wse({+ ...gj(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, E.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = lj({+ }, [i]), h = fj({...e,values: {isDisabled: e.isDisabled || !1,@@ -43938,7 +43947,7 @@ var Yxe = /*#__PURE__*/ (0, E.createContext)({}), Xxe = /*#__PURE__*/ (0, E.crea},defaultClassName: "react-aria-TextField"}), g = Ry(e, { global: !0 });- return delete g.id, /*#__PURE__*/ E.createElement(hj.div, {+ return delete g.id, /*#__PURE__*/ E.createElement(vj.div, {...g,...h,ref: t,@@ -43947,31 +43956,31 @@ var Yxe = /*#__PURE__*/ (0, E.createContext)({}), Xxe = /*#__PURE__*/ (0, E.crea"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ E.createElement(cj, { values: [- [Cj, {+ }, /*#__PURE__*/ E.createElement(dj, { values: [+ [Ej, {...l,ref: a}],- [Ij, {+ [zj, {...u,ref: m}],- [Yxe, {+ [qxe, {...u,ref: m}],- [Fj, {+ [Rj, {role: "presentation",isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [kj, { slots: {+ [Mj, { slots: {description: d,errorMessage: f} }],- [Aj, p]+ [Nj, p]] }, h.children));-}), Qxe = class e extends L_ {+}), Xxe = class e extends L_ {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;@@ -44043,16 +44052,16 @@ var Yxe = /*#__PURE__*/ (0, E.createContext)({}), Xxe = /*#__PURE__*/ (0, E.creaconstructor(...e) {super(...e), this.expandedKeys = /* @__PURE__ */ new Set();}-}, $xe = /*#__PURE__*/ (0, E.createContext)(null), rP = /*#__PURE__*/ (0, E.createContext)(null), eSe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- return [e, t] = dj(e, t, $xe), /*#__PURE__*/ E.createElement(ty, {+}, Zxe = /*#__PURE__*/ (0, E.createContext)(null), oP = /*#__PURE__*/ (0, E.createContext)(null), Qxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ return [e, t] = mj(e, t, Zxe), /*#__PURE__*/ E.createElement(ty, {content: /*#__PURE__*/ E.createElement(cy, e),- createCollection: () => new Qxe()- }, (n) => /*#__PURE__*/ E.createElement(tSe, {+ createCollection: () => new Xxe()+ }, (n) => /*#__PURE__*/ E.createElement($xe, {props: e,collection: n,treeRef: t}));-}), iP = {+}), sP = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -44062,7 +44071,7 @@ var Yxe = /*#__PURE__*/ (0, E.createContext)({}), Xxe = /*#__PURE__*/ (0, E.creartl: "ArrowRight"}};-function tSe({ props: e, collection: t, treeRef: n }) {+function $xe({ props: e, collection: t, treeRef: n }) {let { dragAndDropHooks: r } = e, { direction: i } = Ay(), a = _S({usage: "search",sensitivity: "base"@@ -44070,9 +44079,9 @@ function tSe({ props: e, collection: t, treeRef: n }) {(0, E.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, E.useContext)(xj), [y, b] = Xb(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, E.useState)(t), [C, w] = (0, E.useState)(y), [T, D] = (0, E.useState)(() => t.withExpandedKeys(C, y));- (!cSe(C, y) || t !== x) && (D(t.withExpandedKeys(C, y)), S(t), w(y));- let O = eN({+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, E.useContext)(wj), [y, b] = Xb(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, E.useState)(t), [C, w] = (0, E.useState)(y), [T, D] = (0, E.useState)(() => t.withExpandedKeys(C, y));+ (!oSe(C, y) || t !== x) && (D(t.withExpandedKeys(C, y)), S(t), w(y));+ let O = rN({...e,selectionMode: u,expandedKeys: y,@@ -44080,7 +44089,7 @@ function tSe({ props: e, collection: t, treeRef: n }) {collection: T,children: void 0,disabledBehavior: m- }), { gridProps: k } = vle({+ }), { gridProps: k } = gle({...e,isVirtualized: g,layoutDelegate: _@@ -44094,7 +44103,7 @@ function tSe({ props: e, collection: t, treeRef: n }) {let e = r.DragPreview;P = r.renderDragPreview ? /*#__PURE__*/ E.createElement(e, { ref: F }, r.renderDragPreview) : null;}- let [I] = (0, E.useState)(() => new ON());+ let [I] = (0, E.useState)(() => new jN());if (s && r) {j = r.useDroppableCollectionState({collection: O.collection,@@ -44124,7 +44133,7 @@ function tSe({ props: e, collection: t, treeRef: n }) {let t = j?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = O.collection.getItem(t.key);- (e.key === iP.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === iP.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);+ (e.key === sP.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === sP.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);}}}, j, n), N = j.isDropTarget({ type: "root" });@@ -44137,7 +44146,7 @@ function tSe({ props: e, collection: t, treeRef: n }) {selectionMode: O.selectionManager.selectionMode,allowsDragging: !!ee,state: O- }, ie = lj({+ }, ie = fj({...e,children: void 0,defaultClassName: "react-aria-Tree",@@ -44155,7 +44164,7 @@ function tSe({ props: e, collection: t, treeRef: n }) {}, r));}let oe = Ry(e, { global: !0 });- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(cb, null, /*#__PURE__*/ E.createElement(hj.div, {+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(cb, null, /*#__PURE__*/ E.createElement(vj.div, {...K(oe, ie, k, L, M?.collectionProps),ref: n,slot: e.slot || void 0,@@ -44165,39 +44174,39 @@ function tSe({ props: e, collection: t, treeRef: n }) {"data-focus-visible": ne || void 0,"data-selection-mode": O.selectionManager.selectionMode === "none" ? void 0 : O.selectionManager.selectionMode,"data-allows-dragging": !!ee || void 0- }, /*#__PURE__*/ E.createElement(cj, { values: [- [rP, O],- [CM, {+ }, /*#__PURE__*/ E.createElement(dj, { values: [+ [oP, O],+ [EM, {dragAndDropHooks: r,dragState: A,dropState: j}],- [wM, { render: iSe }]- ] }, s && /*#__PURE__*/ E.createElement(sSe, null), /*#__PURE__*/ E.createElement(OM, null, /*#__PURE__*/ E.createElement(h, {+ [DM, { render: nSe }]+ ] }, s && /*#__PURE__*/ E.createElement(aSe, null), /*#__PURE__*/ E.createElement(jM, null, /*#__PURE__*/ E.createElement(h, {collection: O.collection,- persistedKeys: EM(O.selectionManager, r, j),+ persistedKeys: kM(O.selectionManager, r, j),scrollRef: n,- renderDropIndicator: TM(r, j)+ renderDropIndicator: OM(r, j)}))), ae)), P);}-var nSe = /*#__PURE__*/ iy(class extends P_ {+var eSe = /*#__PURE__*/ iy(class extends P_ {static {this.type = "content";}}, function(e) {- let t = (0, E.useContext)(aP), n = lj({+ let t = (0, E.useContext)(cP), n = fj({children: e.children,values: t});- return /*#__PURE__*/ E.createElement(xj.Provider, { value: yj }, n.children);-}), aP = /*#__PURE__*/ (0, E.createContext)(null), rSe = /*#__PURE__*/ ay(class extends P_ {+ return /*#__PURE__*/ E.createElement(wj.Provider, { value: Sj }, n.children);+}), cP = /*#__PURE__*/ (0, E.createContext)(null), tSe = /*#__PURE__*/ ay(class extends P_ {static {this.type = "item";}}, (e, t, n) => {- let r = (0, E.useContext)(rP);+ let r = (0, E.useContext)(oP);t = Gv(t);- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, E.useContext)(CM), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = tue({+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, E.useContext)(EM), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = $le({node: n,shouldSelectOnPressUp: !!a,focusMode: e.focusMode,@@ -44251,7 +44260,7 @@ var nSe = /*#__PURE__*/ iy(class extends P_ {j,N,M- ]), F = lj({+ ]), F = fj({...e,id: void 0,children: n.rendered,@@ -44301,7 +44310,7 @@ var nSe = /*#__PURE__*/ iy(class extends P_ {"aria-labelledby": `${L} ${c.id}`,tabIndex: -1,ref: O- }))), /*#__PURE__*/ E.createElement(hj.div, {+ }))), /*#__PURE__*/ E.createElement(vj.div, {...K(te, c, y, g, x, C?.dragProps),...F,ref: t,@@ -44321,17 +44330,17 @@ var nSe = /*#__PURE__*/ iy(class extends P_ {}, /*#__PURE__*/ E.createElement("div", {...l,style: { display: "contents" }- }, /*#__PURE__*/ E.createElement(cj, { values: [- [Mj, { slots: {- [sj]: {},+ }, /*#__PURE__*/ E.createElement(dj, { values: [+ [Fj, { slots: {+ [uj]: {},selection: S} }],- [Nj, { slots: {- [sj]: {},+ [Ij, { slots: {+ [uj]: {},selection: S} }],- [Tj, { slots: {- [sj]: {},+ [Oj, { slots: {+ [uj]: {},chevron: {...u,ref: T@@ -44342,13 +44351,13 @@ var nSe = /*#__PURE__*/ iy(class extends P_ {style: { pointerEvents: "none" }}} }],- [aP, { ...P }],- [kM, { isSelected: f.isSelected }]+ [cP, { ...P }],+ [MM, { isSelected: f.isSelected }]] }, ee))));});iy(I_, function(e, t, n) {- let { isVirtualized: r } = (0, E.useContext)(xj), i = (0, E.useContext)(rP), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, E.useRef)(null);- HM((0, E.useMemo)(() => ({+ let { isVirtualized: r } = (0, E.useContext)(wj), i = (0, E.useContext)(oP), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, E.useRef)(null);+ GM((0, E.useMemo)(() => ({onLoadMore: o,collection: i?.collection,sentinelRef: l,@@ -44358,10 +44367,10 @@ iy(I_, function(e, t, n) {s,i?.collection]), l), t = Gv(t);- let { rowProps: u, gridCellProps: d } = tue({ node: n }, i, t), f = u["aria-level"] || 1, p = {+ let { rowProps: u, gridCellProps: d } = $le({ node: n }, i, t), f = u["aria-level"] || 1, p = {role: "row","aria-level": u["aria-level"]- }, m = lj({+ }, m = fj({...c,id: void 0,children: n.rendered,@@ -44374,7 +44383,7 @@ iy(I_, function(e, t, n) {width: 0,height: 0},- inert: jM(!0)+ inert: PM(!0)}, /*#__PURE__*/ E.createElement("div", {"data-testid": "loadMoreSentinel",ref: l,@@ -44383,7 +44392,7 @@ iy(I_, function(e, t, n) {height: 1,width: 1}- })), a && m.children && /*#__PURE__*/ E.createElement(hj.div, {+ })), a && m.children && /*#__PURE__*/ E.createElement(vj.div, {ref: t,...K(Ry(e), p),...m,@@ -44393,12 +44402,12 @@ iy(I_, function(e, t, n) {style: h}, m.children)));});-function iSe(e, t) {+function nSe(e, t) {t = Gv(t);- let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(CM), i = (0, E.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+ let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(EM), i = (0, E.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__*/ E.createElement(oSe, {+ return /*#__PURE__*/ E.createElement(iSe, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -44407,8 +44416,8 @@ function iSe(e, t) {level: c});}-function aSe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = ax(), c = lj({+function rSe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = ax(), c = fj({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: {@@ -44417,7 +44426,7 @@ function aSe(e, t) {},values: { isDropTarget: r }});- return /*#__PURE__*/ E.createElement(hj.div, {+ return /*#__PURE__*/ E.createElement(vj.div, {...c,role: "row","aria-level": a,@@ -44430,9 +44439,9 @@ function aSe(e, t) {ref: i}), c.children));}-var oSe = /*#__PURE__*/ (0, E.forwardRef)(aSe);-function sSe() {- let { dragAndDropHooks: e, dropState: t } = (0, E.useContext)(CM), n = (0, E.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = ax();+var iSe = /*#__PURE__*/ (0, E.forwardRef)(rSe);+function aSe() {+ let { dragAndDropHooks: e, dropState: t } = (0, E.useContext)(EM), n = (0, E.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = ax();return !i && r["aria-hidden"] ? null : /*#__PURE__*/ E.createElement("div", {role: "row","aria-hidden": r["aria-hidden"],@@ -44444,18 +44453,18 @@ function sSe() {ref: n})));}-function cSe(e, t) {+function oSe(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}//#endregion//#region src/react/boardui/components/base/input/label.tsx-function oP({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, D.jsxs)(wj, {+function lP({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, D.jsxs)(Dj, {"data-label": "true",...a,- className: oO("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ className: lO("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),children: [i,e && /* @__PURE__ */ (0, D.jsx)("span", {@@ -44463,7 +44472,7 @@ function oP({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childrclassName: "text-body-medium text-text-error-primary",children: "*"}),- n && /* @__PURE__ */ (0, D.jsx)(Bve, {+ n && /* @__PURE__ */ (0, D.jsx)(Rve, {className: "size-4 shrink-0 text-foreground-icon-quaternary","aria-hidden": !0})@@ -44472,33 +44481,33 @@ function oP({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr}//#endregion//#region src/react/boardui/components/base/input/hint-text.tsx-function lSe({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, D.jsx)(ebe, {+function sSe({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, D.jsx)(Qye, {slot: e ? "errorMessage" : "description",...n,- className: oO("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)+ className: lO("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});}//#endregion//#region src/react/boardui/components/base/input/input.tsx-var sP = (0, E.createContext)({});-function cP({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, D.jsx)(sP.Provider, {+var uP = (0, E.createContext)({});+function dP({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, D.jsx)(uP.Provider, {value: {size: e,fieldClassName: t,inputClassName: n},- children: /* @__PURE__ */ (0, D.jsx)(Zxe, {+ children: /* @__PURE__ */ (0, D.jsx)(Yxe, {...a,"data-input-size": e,- className: oO("group flex h-max w-full flex-col items-start gap-1", r),+ className: lO("group flex h-max w-full flex-col items-start gap-1", r),children: i})});}-cP.displayName = "TextField";-var lP = sO({+dP.displayName = "TextField";+var fP = uO({field: ["relative flex w-full items-center","rounded-2lg",@@ -44527,44 +44536,44 @@ var lP = sO({].join(" "),icon: "size-5 shrink-0"});-function uP({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, E.useContext)(sP), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, D.jsx)(abe, {+function pP({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, E.useContext)(uP), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, D.jsx)(rbe, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => oO(lP.field, d ? lP.fieldWithAddonSize[u] : lP.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 }) => lO(fP.field, d ? fP.fieldWithAddonSize[u] : fP.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, D.jsxs)("div", {- className: lP.content,+ className: fP.content,children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: lP.leftSection,+ className: fP.leftSection,children: [d ? r : t ? /* @__PURE__ */ (0, D.jsx)(t, {- className: lP.icon,+ className: fP.icon,"aria-hidden": !0- }) : null, /* @__PURE__ */ (0, D.jsx)(sbe, {+ }) : null, /* @__PURE__ */ (0, D.jsx)(abe, {ref: o,...c,- className: oO(lP.input, l.inputClassName, a)+ className: lO(fP.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, D.jsx)(n, {- className: lP.icon,+ className: fP.icon,"aria-hidden": !0}) : null]})});}-uP.displayName = "InputBase";-function dP({ 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, D.jsx)(cP, {+pP.displayName = "InputBase";+function mP({ 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, D.jsx)(dP, {...d,className: u,"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- e && /* @__PURE__ */ (0, D.jsx)(oP, {+ e && /* @__PURE__ */ (0, D.jsx)(lP, {isRequired: u,isInvalid: d,tooltip: n,children: e}),- /* @__PURE__ */ (0, D.jsx)(uP, {+ /* @__PURE__ */ (0, D.jsx)(pP, {ref: c,groupRef: l,placeholder: r,@@ -44573,25 +44582,25 @@ function dP({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, traleadingAddon: o,fieldClassName: s}),- t && /* @__PURE__ */ (0, D.jsx)(lSe, {+ t && /* @__PURE__ */ (0, D.jsx)(sSe, {isInvalid: d,children: t})] })});}-dP.displayName = "Input";+mP.displayName = "Input";//#endregion//#region src/react/components/modal-frame.tsx-var uSe = {+var cSe = {"avatar-picker": "max-w-avatar-picker","cover-crop": "max-w-cover-crop",form: "max-w-form-modal",collections: "max-w-4xl"};-function fP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {+function hP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {let { isFocusVisible: a } = kv();- return /* @__PURE__ */ (0, D.jsx)(hN, {+ return /* @__PURE__ */ (0, D.jsx)(vN, {isOpen: e,onOpenChange: t,isDismissable: !0,@@ -44599,11 +44608,11 @@ function fP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {"data-modal-kind": n,"data-motion-instant": a || void 0,className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, D.jsx)(Ube, {+ children: /* @__PURE__ */ (0, D.jsx)(Vbe, {"data-modal-surface": "","data-modal-width": n,- className: `flex max-h-full w-full ${uSe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,- children: /* @__PURE__ */ (0, D.jsx)(dN, {+ className: `flex max-h-full w-full ${cSe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,+ children: /* @__PURE__ */ (0, D.jsx)(mN, {"aria-label": r,className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",children: i@@ -44611,7 +44620,7 @@ function fP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {})});}-function pP({ children: e }) {+function gP({ children: e }) {return /* @__PURE__ */ (0, D.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",@@ -44620,9 +44629,9 @@ function pP({ children: e }) {}//#endregion//#region src/react/components/sprite-glyph.tsx-var mP = /* @__PURE__ */ new Map();-function hP(e) {- let t = mP.get(e);+var _P = /* @__PURE__ */ new Map();+function vP(e) {+ let t = _P.get(e);if (t) return t;let { wide: n, viewBox: r } = Bt(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, D.jsx)("svg", {"aria-hidden": !0,@@ -44638,11 +44647,11 @@ function hP(e) {className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })});- return i.displayName = `SpriteGlyph(${e})`, mP.set(e, i), i;+ return i.displayName = `SpriteGlyph(${e})`, _P.set(e, i), i;}//#endregion//#region src/react/components/settings-dialog-close.tsx-function gP({ label: e, id: t, onPress: n }) {+function yP({ label: e, id: t, onPress: n }) {return /* @__PURE__ */ (0, D.jsx)("button", {type: "button",id: t,@@ -44658,54 +44667,54 @@ function gP({ label: e, id: t, onPress: n }) {}//#endregion//#region src/react/library-shortcuts/library-shortcuts.ts-var _P = ["library-shortcuts"], vP = "/api/library-shortcuts";-function yP(e = !0) {+var bP = ["library-shortcuts"], xP = "/api/library-shortcuts";+function SP(e = !0) {return _t({- queryKey: _P,- queryFn: ({ signal: e }) => H(vP, e),+ queryKey: bP,+ queryFn: ({ signal: e }) => H(xP, e),enabled: e,refetchOnMount: e ? "always" : !1});}-function bP() {+function CP() {return vt({- mutationKey: _P,- mutationFn: (e) => U(vP, e),+ mutationKey: bP,+ mutationFn: (e) => U(xP, e),onSuccess: (e, t) => {- W.setQueryData(_P, e), t.action === "favorite" && t.scope === "online" && (W.invalidateQueries({ queryKey: ["follow", "tags"] }), W.invalidateQueries({ queryKey: ["tag-management"] }));+ W.setQueryData(bP, e), t.action === "favorite" && t.scope === "online" && (W.invalidateQueries({ queryKey: ["follow", "tags"] }), W.invalidateQueries({ queryKey: ["tag-management"] }));}});}-function xP(e, t) {+function wP(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 dSe(e) {+function lSe(e) {return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : Xt(e.kind, e.name, e.entity_id);}//#endregion//#region src/react/library-shortcuts/shortcut-controls.tsx-var SP = hP("star"), fSe = hP("bookmark-plus"), CP = hP("chevron-right"), wP = {+var TP = vP("star"), uSe = vP("bookmark-plus"), EP = vP("chevron-right"), DP = {performer: "艺人",creator: "创作者",studio: "片商与厂牌",series: "系列",agency: "事务所",tag: "标签"-}, TP = {- all: hP("star"),- performer: hP("user-round"),- creator: hP("user-round"),- studio: hP("clapperboard"),- series: hP("film"),- agency: hP("briefcase"),- tag: hP("tags"),- filters: hP("list-filter")-}, EP = [+}, OP = {+ all: vP("star"),+ performer: vP("user-round"),+ creator: vP("user-round"),+ studio: vP("clapperboard"),+ series: vP("film"),+ agency: vP("briefcase"),+ tag: vP("tags"),+ filters: vP("list-filter")+}, kP = [["all", "全部"],- ...Object.entries(wP),+ ...Object.entries(DP),["filters", "保存的筛选"]];-function DP({ label: e, children: t, ...n }) {+function AP({ label: e, children: t, ...n }) {return /* @__PURE__ */ (0, D.jsx)("button", {type: "button",...n,@@ -44715,15 +44724,15 @@ function DP({ label: e, children: t, ...n }) {children: t});}-function OP({ item: e }) {- return /* @__PURE__ */ (0, D.jsx)(pSe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);+function jP({ item: e }) {+ return /* @__PURE__ */ (0, D.jsx)(dSe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);}-function pSe({ item: e }) {- let t = yP(!1), n = (0, E.useRef)(t.data), r = bP(), i = t.data && t.data !== n.current ? xP(t.data.favorites || [], e) : e.favorite ?? (t.data ? xP(t.data.favorites || [], e) : !1);+function dSe({ item: e }) {+ let t = SP(!1), n = (0, E.useRef)(t.data), r = CP(), i = t.data && t.data !== n.current ? wP(t.data.favorites || [], e) : e.favorite ?? (t.data ? wP(t.data.favorites || [], e) : !1);return /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex min-w-0 flex-col gap-1",children: [- /* @__PURE__ */ (0, D.jsx)(DP, {+ /* @__PURE__ */ (0, D.jsx)(AP, {"data-favorite": "","aria-pressed": !!i,label: `${i ? "取消收藏" : "收藏"}${e.name}`,@@ -44738,7 +44747,7 @@ function pSe({ item: e }) {children: r.isPending ? /* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,dangerouslySetInnerHTML: { __html: Ro("") }- }) : /* @__PURE__ */ (0, D.jsx)(SP, {})+ }) : /* @__PURE__ */ (0, D.jsx)(TP, {})}),r.isError ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",@@ -44753,37 +44762,37 @@ function pSe({ item: e }) {]});}-function kP({ currentHref: e, kind: t }) {+function MP({ currentHref: e, kind: t }) {let [n, r] = (0, E.useState)(!1);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", {"data-shortcuts-entry": "",- children: /* @__PURE__ */ (0, D.jsx)(ej, {+ children: /* @__PURE__ */ (0, D.jsx)(rj, {"data-shortcuts-trigger": "",label: "我的收藏",- icon: SP,+ icon: TP,"aria-haspopup": "dialog","aria-expanded": n,onPress: () => r(!0)})- }), /* @__PURE__ */ (0, D.jsx)(fP, {+ }), /* @__PURE__ */ (0, D.jsx)(hP, {isOpen: n,onOpenChange: r,width: "collections",label: "我的收藏",- children: n ? /* @__PURE__ */ (0, D.jsx)(mSe, {+ children: n ? /* @__PURE__ */ (0, D.jsx)(fSe, {currentHref: e,kind: t,close: () => r(!1)}) : null})] });}-function mSe({ currentHref: e, kind: t, close: n }) {- let r = yP(), i = bP(), [a, o] = (0, E.useState)(""), [s, c] = (0, E.useState)(t || "all"), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(""), p = (0, E.useId)(), [m, h] = (0, E.useState)(() => matchMedia("(max-width: 760px)").matches);+function fSe({ currentHref: e, kind: t, close: n }) {+ let r = SP(), i = CP(), [a, o] = (0, E.useState)(""), [s, c] = (0, E.useState)(t || "all"), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(""), p = (0, E.useId)(), [m, h] = (0, E.useState)(() => matchMedia("(max-width: 760px)").matches);(0, E.useEffect)(() => {let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let g = (0, E.useRef)(null), _ = (0, E.useRef)(null), v = (0, E.useRef)(s), y = (0, E.useRef)(null), b = (0, E.useRef)(null), x = (0, E.useRef)(null), S = oj(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });+ let g = (0, E.useRef)(null), _ = (0, E.useRef)(null), v = (0, E.useRef)(s), y = (0, E.useRef)(null), b = (0, E.useRef)(null), x = (0, E.useRef)(null), S = lj(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });(0, E.useLayoutEffect)(() => {b.current && (x.current = La(b.current) || null);}, []), (0, E.useLayoutEffect)(() => {@@ -44796,7 +44805,7 @@ function mSe({ currentHref: e, kind: t, close: n }) {}, [s]), (0, E.useLayoutEffect)(() => {x.current?.();});- let C = EP.find(([e]) => e === s)?.[1] || "全部", w = (e) => {+ let C = kP.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;@@ -44819,7 +44828,7 @@ function mSe({ currentHref: e, kind: t, close: n }) {children: [/* @__PURE__ */ (0, D.jsx)("h2", {className: "text-title-2-semibold text-text-primary",children: C- }), /* @__PURE__ */ (0, D.jsx)(gP, {+ }), /* @__PURE__ */ (0, D.jsx)(yP, {label: "关闭我的收藏",onPress: n})]@@ -44849,8 +44858,8 @@ function mSe({ currentHref: e, kind: t, close: n }) {role: "presentation",children: "我的收藏"}),- EP.map(([e, t]) => {- let n = TP[e] || SP, r = e === "filters" ? O?.filters.length || 0 : (O?.favorites || []).filter((t) => e === "all" || t.kind === e).length;+ kP.map(([e, t]) => {+ let n = OP[e] || TP, r = e === "filters" ? O?.filters.length || 0 : (O?.favorites || []).filter((t) => e === "all" || t.kind === e).length;return /* @__PURE__ */ (0, D.jsxs)("button", {type: "button",role: "tab",@@ -44882,17 +44891,17 @@ function mSe({ currentHref: e, kind: t, close: n }) {href: "/flagged",onClick: n,children: [- /* @__PURE__ */ (0, D.jsx)(SP, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, D.jsx)(TP, { "aria-hidden": !0 }),"已标记",- /* @__PURE__ */ (0, D.jsx)(CP, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, D.jsx)(EP, { "aria-hidden": !0 })]}), /* @__PURE__ */ (0, D.jsxs)("a", {href: "/watch-later",onClick: n,children: [- /* @__PURE__ */ (0, D.jsx)(fSe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, D.jsx)(uSe, { "aria-hidden": !0 }),"稍后看",- /* @__PURE__ */ (0, D.jsx)(CP, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, D.jsx)(EP, { "aria-hidden": !0 })]})]})]@@ -44925,11 +44934,11 @@ function mSe({ currentHref: e, kind: t, close: n }) {children: V(i.error)}) : null,O ? s === "filters" ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- O.filters.length ? null : /* @__PURE__ */ (0, D.jsx)(Zk, {+ O.filters.length ? null : /* @__PURE__ */ (0, D.jsx)(eA, {size: "compact",- icon: hP("list-filter"),+ icon: vP("list-filter"),title: "还没有保存的筛选",- actions: /* @__PURE__ */ (0, D.jsx)(Wk, {+ actions: /* @__PURE__ */ (0, D.jsx)(qk, {size: "small",href: "/",onClick: n,@@ -44963,7 +44972,7 @@ function mSe({ currentHref: e, kind: t, close: n }) {className: "flex flex-col gap-3","aria-label": "保存当前筛选",children: [- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "筛选名称",value: a,onChange: o,@@ -44983,16 +44992,16 @@ function mSe({ currentHref: e, kind: t, close: n }) {]}) : null] }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {"aria-label": "搜索收藏",placeholder: "搜索收藏",- leadingIcon: hP("search"),+ leadingIcon: vP("search"),value: l,onChange: u}),- k.length ? null : /* @__PURE__ */ (0, D.jsx)(Zk, {+ k.length ? null : /* @__PURE__ */ (0, D.jsx)(eA, {size: "compact",- icon: SP,+ icon: TP,title: l ? "没有匹配的收藏" : O.favorites.length ? "还没有此类收藏" : "还没有收藏",actions: l ? /* @__PURE__ */ (0, D.jsx)(q, {size: "small",@@ -45002,7 +45011,7 @@ function mSe({ currentHref: e, kind: t, close: n }) {size: "small",onClick: () => c("all"),children: "查看全部收藏"- }) : /* @__PURE__ */ (0, D.jsx)(Wk, {+ }) : /* @__PURE__ */ (0, D.jsx)(qk, {size: "small",href: "/",onClick: n,@@ -45016,18 +45025,18 @@ function mSe({ currentHref: e, kind: t, close: n }) {"data-shortcuts-row": "",className: "flex min-w-0 items-center justify-between gap-3",children: [/* @__PURE__ */ (0, D.jsxs)("a", {- href: dSe(e),+ href: lSe(e),"aria-label": e.name,onClick: n,className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",- children: [/* @__PURE__ */ (0, D.jsx)(hSe, { item: e }, e.image_url), /* @__PURE__ */ (0, D.jsxs)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(pSe, { item: e }, e.image_url), /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "truncate",children: e.name}), /* @__PURE__ */ (0, D.jsx)("span", {className: "text-caption-1-regular text-text-secondary",- children: e.scope === "online" ? "在线标签" : wP[e.kind]+ children: e.scope === "online" ? "在线标签" : DP[e.kind]})]})]}), /* @__PURE__ */ (0, D.jsx)(q, {@@ -45052,8 +45061,8 @@ function mSe({ currentHref: e, kind: t, close: n }) {]});}-function hSe({ item: e }) {- let t = TP[e.kind] || SP;+function pSe({ item: e }) {+ let t = OP[e.kind] || TP;return /* @__PURE__ */ (0, D.jsxs)("span", {"data-shortcuts-avatar": "",title: e.image_label || e.name,@@ -45072,12 +45081,12 @@ function hSe({ item: e }) {}//#endregion//#region src/react/components/board-navigation-link.tsx-function gSe(e) {+function mSe(e) {return /* @__PURE__ */ (0, D.jsx)("a", { ...e });}//#endregion//#region src/react/boardui/components/foundations/icons/chevrons.tsx-function _Se(e) {+function hSe(e) {return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -45091,7 +45100,7 @@ function _Se(e) {})});}-function vSe(e) {+function gSe(e) {return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 12 12",fill: "none",@@ -45105,7 +45114,7 @@ function vSe(e) {})});}-function AP(e) {+function NP(e) {return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -45119,54 +45128,54 @@ function AP(e) {}//#endregion//#region src/react/boardui/components/base/breadcrumb/breadcrumb.tsx-function ySe({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {+function _Se({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {let i = E.Children.toArray(e).filter(E.isValidElement);return /* @__PURE__ */ (0, D.jsx)("nav", {ref: r,"aria-label": t,- className: oO("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),+ className: lO("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),children: /* @__PURE__ */ (0, D.jsx)("ol", {className: "flex items-center gap-2.5 px-1",- children: i.map((e, t) => /* @__PURE__ */ (0, D.jsxs)(E.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, D.jsx)(vSe, {+ children: i.map((e, t) => /* @__PURE__ */ (0, D.jsxs)(E.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, D.jsx)(gSe, {className: "size-3 shrink-0 text-text-tertiary","aria-hidden": !0}), e] }, e.key ?? t))})});}-function jP({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {+function PP({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {let o = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [t && /* @__PURE__ */ (0, D.jsx)(t, {className: "size-4 shrink-0","aria-hidden": !0}), e] });if (i) return /* @__PURE__ */ (0, D.jsx)("li", {"aria-current": "page",- className: oO("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),+ className: lO("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),children: o});- let s = oO("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);+ let s = lO("-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, D.jsx)("li", {className: "flex items-center",- children: n ? /* @__PURE__ */ (0, D.jsx)(gSe, {+ children: n ? /* @__PURE__ */ (0, D.jsx)(mSe, {href: n,className: s,children: o}) : /* @__PURE__ */ (0, D.jsx)("button", {type: "button",onClick: r,- className: oO("cursor-pointer", s),+ className: lO("cursor-pointer", s),children: o})});}//#endregion//#region src/react/boardui/components/foundations/direction/direction.tsx-function MP() {+function FP() {return Ay().direction;}//#endregion//#region src/react/boardui/components/base/dropdown/menu-styles.ts-var NP = [+var IP = ["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",@@ -45174,11 +45183,11 @@ var NP = ["data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]","data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left","data-[placement=left]:origin-right data-[placement=right]:origin-left"-].join(" "), bSe = "w-[266px]", xSe = "flex w-full flex-col gap-1 outline-none", PP = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), FP = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+].join(" "), vSe = "w-[266px]", ySe = "flex w-full flex-col gap-1 outline-none", LP = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), RP = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";//#endregion//#region src/react/boardui/components/base/tree-view/tree-view.tsx-function SSe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {- let c = MP(), l = (0, E.useContext)(xj), u = l === yj && !s.dragAndDropHooks ? LP : l;+function bSe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {+ let c = FP(), l = (0, E.useContext)(wj), u = l === Sj && !s.dragAndDropHooks ? BP : l;return /* @__PURE__ */ (0, D.jsx)("div", {className: "contents",onKeyDownCapture: (e) => {@@ -45195,23 +45204,23 @@ function SSe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",}}},- children: /* @__PURE__ */ (0, D.jsx)(xj.Provider, {+ children: /* @__PURE__ */ (0, D.jsx)(wj.Provider, {value: u,- children: /* @__PURE__ */ (0, D.jsx)(eSe, {+ children: /* @__PURE__ */ (0, D.jsx)(Qxe, {...s,ref: o,selectionMode: n,"data-size": e,"data-show-guides": t,renderEmptyState: r,- className: (e) => oO("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 === LP ? "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) => lO("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 === BP ? "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 IP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {- let d = MP();- return /* @__PURE__ */ (0, D.jsxs)(rSe, {+function zP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {+ let d = FP();+ return /* @__PURE__ */ (0, D.jsxs)(tSe, {...u,ref: l,textValue: t,@@ -45219,11 +45228,11 @@ function IP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNampaddingInlineStart: `calc(0.5rem + ${e.level - 1} * 1.25rem)`,...typeof c == "function" ? c(e) : c}),- className: (e) => oO("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, D.jsx)(nSe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {- let f = n === null ? null : o && r ? r : n ?? (t ? o ? Lve : Nk : Nve);+ className: (e) => lO("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, D.jsx)(eSe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? Fve : Ik : jve);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(wSe, {+ /* @__PURE__ */ (0, D.jsx)(SSe, {state: l,id: u,level: c,@@ -45233,20 +45242,20 @@ function IP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam}),/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex shrink-0 items-center gap-1",- children: [t ? /* @__PURE__ */ (0, D.jsx)(Ej, {+ children: [t ? /* @__PURE__ */ (0, D.jsx)(kj, {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, D.jsx)(Dk, {+ children: /* @__PURE__ */ (0, D.jsx)(Ak, {"aria-hidden": !0,- className: oO("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")+ className: lO("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")})}) : /* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,- className: oO("h-5 shrink-0", c > 1 ? "w-2" : "w-5")+ className: lO("h-5 shrink-0", c > 1 ? "w-2" : "w-5")}), f && /* @__PURE__ */ (0, D.jsx)(f, {"aria-hidden": !0,- className: oO("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)+ className: lO("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)})]}),/* @__PURE__ */ (0, D.jsx)("span", {@@ -45261,24 +45270,24 @@ function IP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam} }), o]});}-var LP = {- ...yj,- CollectionRoot: CSe+var BP = {+ ...Sj,+ CollectionRoot: xSe};-function CSe({ collection: e, ...t }) {- let n = (0, E.useContext)(rP);+function xSe({ collection: e, ...t }) {+ let n = (0, E.useContext)(oP);return n ? /* @__PURE__ */ (0, D.jsx)(l_, {initial: !1,- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, D.jsx)(TSe, {+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, D.jsx)(CSe, {state: n,children: e.render?.(e)}, e.key))- }) : /* @__PURE__ */ (0, D.jsx)(yj.CollectionRoot, {+ }) : /* @__PURE__ */ (0, D.jsx)(Sj.CollectionRoot, {collection: e,...t});}-function wSe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {+function SSe({ 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;@@ -45311,7 +45320,7 @@ function wSe({ state: e, id: t, level: n, expanded: r, branchWidth: i, directionheight: "7",viewBox: `0 0 ${i} 7`,fill: "none",- className: oO("absolute start-0", a === "rtl" && "-scale-x-100"),+ className: lO("absolute start-0", a === "rtl" && "-scale-x-100"),style: { top: "calc(50% - 6px)" },children: /* @__PURE__ */ (0, D.jsx)("path", {d: `M0.5 0 Q0.5 6 6.5 6 H${i - .5}`,@@ -45337,7 +45346,7 @@ function wSe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction]});}-function TSe({ state: e, children: t }) {+function CSe({ state: e, children: t }) {let n = o_(), r = j_(), [i, a] = (0, E.useState)(e);return n && i !== e && a(e), /* @__PURE__ */ (0, D.jsx)(N_.div, {role: "presentation",@@ -45378,7 +45387,7 @@ function TSe({ state: e, children: t }) {1]},- children: /* @__PURE__ */ (0, D.jsx)(rP.Provider, {+ children: /* @__PURE__ */ (0, D.jsx)(oP.Provider, {value: n ? e : i,children: t})@@ -45386,7 +45395,7 @@ function TSe({ state: e, children: t }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var RP = {+var VP = {md: {box: "size-4",glyph: "size-4",@@ -45400,11 +45409,11 @@ var RP = {gap: "gap-1.5"}};-function zP({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = RP[t], c = n || r, l = o && !a;+function HP({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = VP[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,- className: oO("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? oO("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : oO("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: lO("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? lO("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : lO("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -45428,34 +45437,34 @@ function zP({ state: e, size: t = "md" }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox.tsx-function BP({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = RP[n];- return /* @__PURE__ */ (0, D.jsx)(rbe, {+function UP({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = VP[n];+ return /* @__PURE__ */ (0, D.jsx)(tbe, {ref: r,...i,- className: (t) => oO("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, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(zP, {+ className: (t) => lO("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, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(HP, {state: e,size: n}), t != null && /* @__PURE__ */ (0, D.jsx)("span", {- className: oO(a.label, "text-text-primary"),+ className: lO(a.label, "text-text-primary"),children: t})] })});}//#endregion//#region src/react/providers.tsx-var VP = null;-function ESe() {- return VP?.isConnected || (VP = document.createElement("div"), VP.className = "peach-react", VP.dataset.reactOverlays = "", document.body.append(VP)), VP;+var WP = null;+function wSe() {+ return WP?.isConnected || (WP = document.createElement("div"), WP.className = "peach-react", WP.dataset.reactOverlays = "", document.body.append(WP)), WP;}-function HP({ children: e }) {+function GP({ children: e }) {return /* @__PURE__ */ (0, D.jsx)(A, {client: W,children: /* @__PURE__ */ (0, D.jsx)(Hne, {reducedMotion: "user",children: /* @__PURE__ */ (0, D.jsx)(yS, {- getContainer: ESe,+ getContainer: wSe,children: e})})@@ -45463,26 +45472,26 @@ function HP({ children: e }) {}//#endregion//#region node_modules/sonner/dist/index.mjs-function DSe(e) {+function TSe(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 OSe = (e) => {+var ESe = (e) => {switch (e) {- case "success": return jSe;- case "info": return NSe;- case "warning": return MSe;- case "error": return PSe;+ case "success": return kSe;+ case "info": return jSe;+ case "warning": return ASe;+ case "error": return MSe;default: return null;}-}, kSe = Array(12).fill(0), ASe = ({ visible: e, className: t }) => /*#__PURE__*/ E.createElement("div", {+}, DSe = Array(12).fill(0), OSe = ({ visible: e, className: t }) => /*#__PURE__*/ E.createElement("div", {className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),"data-visible": e-}, /*#__PURE__*/ E.createElement("div", { className: "sonner-spinner" }, kSe.map((e, t) => /*#__PURE__*/ E.createElement("div", {+}, /*#__PURE__*/ E.createElement("div", { className: "sonner-spinner" }, DSe.map((e, t) => /*#__PURE__*/ E.createElement("div", {className: "sonner-loading-bar",key: `spinner-bar-${t}`-})))), jSe = /*#__PURE__*/ E.createElement("svg", {+})))), kSe = /*#__PURE__*/ E.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -45493,7 +45502,7 @@ var OSe = (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"-})), MSe = /*#__PURE__*/ E.createElement("svg", {+})), ASe = /*#__PURE__*/ E.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 24 24",fill: "currentColor",@@ -45504,7 +45513,7 @@ var OSe = (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"-})), NSe = /*#__PURE__*/ E.createElement("svg", {+})), jSe = /*#__PURE__*/ E.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -45515,7 +45524,7 @@ var OSe = (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"-})), PSe = /*#__PURE__*/ E.createElement("svg", {+})), MSe = /*#__PURE__*/ E.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -45526,7 +45535,7 @@ var OSe = (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"-})), FSe = /*#__PURE__*/ E.createElement("svg", {+})), NSe = /*#__PURE__*/ E.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",width: "12",height: "12",@@ -45547,7 +45556,7 @@ var OSe = (e) => {y1: "6",x2: "18",y2: "18"-})), ISe = () => {+})), PSe = () => {let [e, t] = E.useState(document.hidden);return E.useEffect(() => {let e = () => {@@ -45555,7 +45564,7 @@ var OSe = (e) => {};return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);}, []), e;-}, LSe = 1, RSe = 100, UP = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : LSe++, WP = new class {+}, FSe = 1, ISe = 100, KP = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : FSe++, qP = new class {constructor() {this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {let t = this.subscribers.indexOf(e);@@ -45565,10 +45574,10 @@ var OSe = (e) => {}, this.addToast = (e) => {this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();}, this.trimHistory = () => {- let e = this.toasts.length - RSe;+ let e = this.toasts.length - ISe;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 = UP(e), i = this.pendingDismissals.get(r);+ let { message: t, ...n } = e, r = KP(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({@@ -45643,7 +45652,7 @@ var OSe = (e) => {type: "default",message: e});- else if (BSe(e) && !e.ok) {+ else if (RSe(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" && !E.isValidElement(r) ? r : { message: r };this.create({@@ -45687,7 +45696,7 @@ var OSe = (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 = UP(t);+ let n = KP(t);return this.create({...t,jsx: e(n),@@ -45696,34 +45705,34 @@ var OSe = (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();}-}(), zSe = (e, t) => WP.message(e, t), BSe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", GP = Object.assign(zSe, {- success: WP.success,- info: WP.info,- warning: WP.warning,- error: WP.error,- custom: WP.custom,- message: WP.message,- promise: WP.promise,- dismiss: WP.dismiss,- loading: WP.loading+}(), LSe = (e, t) => qP.message(e, t), RSe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", JP = Object.assign(LSe, {+ success: qP.success,+ info: qP.info,+ warning: qP.warning,+ error: qP.error,+ custom: qP.custom,+ message: qP.message,+ promise: qP.promise,+ dismiss: qP.dismiss,+ loading: qP.loading}, {- getHistory: () => WP.toasts,- getToasts: () => WP.getActiveToasts()+ getHistory: () => qP.toasts,+ getToasts: () => qP.getActiveToasts()});-DSe("[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 KP(e) {+TSe("[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 YP(e) {return e.label !== void 0;}-var VSe = 3, HSe = "24px", USe = "16px", qP = 4e3, WSe = 356, GSe = 14, KSe = 45, qSe = 200;-function JP(...e) {+var zSe = 3, BSe = "24px", VSe = "16px", XP = 4e3, HSe = 356, USe = 14, WSe = 45, GSe = 200;+function ZP(...e) {return e.filter(Boolean).join(" ");}-function JSe(e) {+function KSe(e) {let [t, n] = e.split("-"), r = [];return t && r.push(t), n && r.push(n), r;}-var YSe = (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, [D, O] = E.useState(null), [k, A] = E.useState(null), [j, M] = E.useState(!1), [N, P] = E.useState(!1), [F, I] = E.useState(!1), [ee, L] = E.useState(!1), [te, ne] = E.useState(!1), [re, ie] = E.useState(0), [ae, oe] = E.useState(0), se = E.useRef(n.duration || y || qP), ce = E.useRef(null), le = E.useRef(null), ue = c === 0, de = c + 1 <= o, fe = n.type, pe = fe ?? "default", me = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = E.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = E.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = E.useMemo(() => n.duration || y || qP, [n.duration, y]), be = E.useRef(0), xe = E.useRef(0), Se = E.useRef(0), Ce = E.useRef(null), [we, Te] = b.split("-"), Ee = E.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), De = ISe(), Oe = E.useMemo(() => e.swipeDirections ?? JSe(b), [e.swipeDirections, b]), ke = n.invert || t, Ae = fe === "loading";+var qSe = (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, [D, O] = E.useState(null), [k, A] = E.useState(null), [j, M] = E.useState(!1), [N, P] = E.useState(!1), [F, I] = E.useState(!1), [ee, L] = E.useState(!1), [te, ne] = E.useState(!1), [re, ie] = E.useState(0), [ae, oe] = E.useState(0), se = E.useRef(n.duration || y || XP), ce = E.useRef(null), le = E.useRef(null), ue = c === 0, de = c + 1 <= o, fe = n.type, pe = fe ?? "default", me = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = E.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = E.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = E.useMemo(() => n.duration || y || XP, [n.duration, y]), be = E.useRef(0), xe = E.useRef(0), Se = E.useRef(0), Ce = E.useRef(null), [we, Te] = b.split("-"), Ee = E.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), De = PSe(), Oe = E.useMemo(() => e.swipeDirections ?? KSe(b), [e.swipeDirections, b]), ke = n.invert || t, Ae = fe === "loading";xe.current = E.useMemo(() => _e * x + Ee, [_e, Ee]), E.useEffect(() => {se.current = ye;}, [ye]), E.useEffect(() => {@@ -45764,7 +45773,7 @@ var YSe = (e) => {let je = E.useCallback(() => {P(!0), ie(xe.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {d(n);- }, qSe);+ }, GSe);}, [n,d,@@ -45795,18 +45804,18 @@ var YSe = (e) => {}, [je, n.delete]);function Me() {return w?.loading ? /*#__PURE__*/ E.createElement("div", {- className: JP(C?.loader, n?.classNames?.loader, "sonner-loader"),+ className: ZP(C?.loader, n?.classNames?.loader, "sonner-loader"),"data-visible": fe === "loading"- }, w.loading) : /*#__PURE__*/ E.createElement(ASe, {- className: JP(C?.loader, n?.classNames?.loader),+ }, w.loading) : /*#__PURE__*/ E.createElement(OSe, {+ className: ZP(C?.loader, n?.classNames?.loader),visible: fe === "loading"});}- let Ne = n.icon || w?.[fe] || OSe(fe);+ let Ne = n.icon || w?.[fe] || ESe(fe);return /*#__PURE__*/ E.createElement("li", {tabIndex: 0,ref: le,- className: JP(_, he, C?.toast, n?.classNames?.toast, C?.[pe], n?.classNames?.[pe]),+ className: ZP(_, he, C?.toast, n?.classNames?.toast, C?.[pe], n?.classNames?.[pe]),"data-sonner-toast": "","data-rich-colors": n.richColors ?? f,"data-styled": !(n.jsx || n.unstyled || r),@@ -45849,7 +45858,7 @@ var YSe = (e) => {if (ee || !me) return;Ce.current = null;let e = Number(le.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(le.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ce.current?.getTime(), i = D === "x" ? e : t, a = Math.abs(i) / r;- if ((D === "x" ? Oe.includes(e > 0 ? "right" : "left") : Oe.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= KSe || a > .11)) ie(xe.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), je(), L(!0);+ if ((D === "x" ? Oe.includes(e > 0 ? "right" : "left") : Oe.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= WSe || a > .11)) ie(xe.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), je(), L(!0);else {var o, s;(o = le.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = le.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), ne(!1), I(!1), O(null);@@ -45888,46 +45897,46 @@ var YSe = (e) => {onClick: Ae || !me ? () => {} : () => {je(), n.onDismiss == null || n.onDismiss.call(n, n);},- className: JP(C?.closeButton, n?.classNames?.closeButton)- }, w?.close ?? FSe) : null, (fe || n.icon || n.promise) && n.icon !== null && (w?.[fe] !== null || n.icon) ? /*#__PURE__*/ E.createElement("div", {+ className: ZP(C?.closeButton, n?.classNames?.closeButton)+ }, w?.close ?? NSe) : null, (fe || n.icon || n.promise) && n.icon !== null && (w?.[fe] !== null || n.icon) ? /*#__PURE__*/ E.createElement("div", {"data-icon": "",- className: JP(C?.icon, n?.classNames?.icon)+ className: ZP(C?.icon, n?.classNames?.icon)}, fe === "loading" ? n.icon || Me() : n.promise ? Me() : null, fe === "loading" ? null : Ne) : null, /*#__PURE__*/ E.createElement("div", {"data-content": "",- className: JP(C?.content, n?.classNames?.content)+ className: ZP(C?.content, n?.classNames?.content)}, /*#__PURE__*/ E.createElement("div", {"data-title": "",- className: JP(C?.title, n?.classNames?.title)+ className: ZP(C?.title, n?.classNames?.title)}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ E.createElement("div", {"data-description": "",- className: JP(v, ge, C?.description, n?.classNames?.description)- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ E.isValidElement(n.cancel) ? n.cancel : n.cancel && KP(n.cancel) ? /*#__PURE__*/ E.createElement("button", {+ className: ZP(v, ge, C?.description, n?.classNames?.description)+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ E.isValidElement(n.cancel) ? n.cancel : n.cancel && YP(n.cancel) ? /*#__PURE__*/ E.createElement("button", {"data-button": !0,"data-cancel": !0,style: n.cancelButtonStyle || h,onClick: (e) => {- KP(n.cancel) && me && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), je());+ YP(n.cancel) && me && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), je());},- className: JP(C?.cancelButton, n?.classNames?.cancelButton)- }, n.cancel.label) : null, /*#__PURE__*/ E.isValidElement(n.action) ? n.action : n.action && KP(n.action) ? /*#__PURE__*/ E.createElement("button", {+ className: ZP(C?.cancelButton, n?.classNames?.cancelButton)+ }, n.cancel.label) : null, /*#__PURE__*/ E.isValidElement(n.action) ? n.action : n.action && YP(n.action) ? /*#__PURE__*/ E.createElement("button", {"data-button": !0,"data-action": !0,style: n.actionButtonStyle || g,onClick: (e) => {- KP(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && je());+ YP(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && je());},- className: JP(C?.actionButton, n?.classNames?.actionButton)+ className: ZP(C?.actionButton, n?.classNames?.actionButton)}, n.action.label) : null);};-function YP() {+function QP() {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 XSe(e, t) {+function JSe(e, t) {let n = {};return [e, t].forEach((e, t) => {- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? USe : HSe;+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? VSe : BSe;function o(e) {["top",@@ -45948,11 +45957,11 @@ function XSe(e, t) {}) : o(a);}), n;}-var XP = /*#__PURE__*/ E.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 = VSe, toastOptions: g, dir: _ = YP(), gap: v = GSe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = E.useState([]), w = E.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = E.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [D, O] = E.useState([]), [k, A] = E.useState(!1), [j, M] = E.useState(!1), [N, P] = E.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), F = E.useRef(null), I = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ee = E.useRef(null), L = E.useRef(!1), te = E.useCallback((e) => {- C((t) => (t.find((t) => t.id === e.id)?.delete || WP.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));+var $P = /*#__PURE__*/ E.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 = zSe, toastOptions: g, dir: _ = QP(), gap: v = USe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = E.useState([]), w = E.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = E.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [D, O] = E.useState([]), [k, A] = E.useState(!1), [j, M] = E.useState(!1), [N, P] = E.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), F = E.useRef(null), I = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ee = E.useRef(null), L = E.useRef(!1), te = E.useCallback((e) => {+ C((t) => (t.find((t) => t.id === e.id)?.delete || qP.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));}, []);- return E.useEffect(() => WP.subscribe((e) => {+ return E.useEffect(() => qP.subscribe((e) => {e.dismiss ? requestAnimationFrame(() => {C((t) => t.map((t) => t.id === e.id ? {...t,@@ -46021,7 +46030,7 @@ var XP = /*#__PURE__*/ E.forwardRef(function(e, t) {let [i, a] = t.split("-");return w.length ? /*#__PURE__*/ E.createElement("ol", {key: t,- dir: _ === "auto" ? YP() : _,+ dir: _ === "auto" ? QP() : _,tabIndex: -1,ref: F,className: c,@@ -46031,10 +46040,10 @@ var XP = /*#__PURE__*/ E.forwardRef(function(e, t) {"data-x-position": a,style: {"--front-toast-height": `${D[0]?.height || 0}px`,- "--width": `${WSe}px`,+ "--width": `${HSe}px`,"--gap": `${v}px`,...m,- ...XSe(l, u)+ ...JSe(l, u)},onBlur: (e) => {L.current && !e.currentTarget.contains(e.relatedTarget) && (L.current = !1, ee.current &&= (ee.current.focus({ preventScroll: !0 }), null));@@ -46052,7 +46061,7 @@ var XP = /*#__PURE__*/ E.forwardRef(function(e, t) {e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);},onPointerUp: () => M(!1)- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ E.createElement(YSe, {+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ E.createElement(qSe, {key: n.id,icons: y,index: i,@@ -46082,19 +46091,19 @@ var XP = /*#__PURE__*/ E.forwardRef(function(e, t) {swipeDirections: e.swipeDirections}))) : null;}));-}), ZP = "/api/library-processing", QP = ["library-processing"], ZSe = (e, t, n) => {+}), eF = "/api/library-processing", tF = ["library-processing"], YSe = (e, t, n) => {let r = new URLSearchParams({estimate: "1",stage: e.stage || "all"});- return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), n && r.set("inventory", n), H(`${ZP}?${r}`, t);-}, $P = (e) => !!e && [+ return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), n && r.set("inventory", n), H(`${eF}?${r}`, t);+}, nF = (e) => !!e && ["running","pausing","paused"].includes(e.status);-function eF(e) {- if (!$P(e)) return "";+function rF(e) {+ if (!nF(e)) return "";if (e.status === "paused") return "已暂停,继续后更新预估";if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";if (e.stalled) return "等待当前文件响应,剩余时间待更新";@@ -46104,18 +46113,18 @@ function eF(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 tF = (e) => H(ZP, e);-async function nF(e) {+var iF = (e) => H(eF, e);+async function aF(e) {await W.fetchQuery({- queryKey: QP,- queryFn: () => tF(e)+ queryKey: tF,+ queryFn: () => iF(e)});}-var QSe = 2e3, $Se = 1e4, rF = "连接中断,正在重新读取处理进度";-function iF(e, t) {- return $P(e) ? QSe : t ? $Se : !1;+var XSe = 2e3, ZSe = 1e4, oF = "连接中断,正在重新读取处理进度";+function sF(e, t) {+ return nF(e) ? XSe : t ? ZSe : !1;}-var eCe = {+var QSe = {scanning_files: "扫描文件",reading_local: "检查配套文件",reading_local_cover: "读取配套图片",@@ -46123,25 +46132,25 @@ var eCe = {fetching_cover: "采集缺失封面",generating_preview: "生成视频预览",writing_candidates: "保存待确认资料"-}, aF = {+}, cF = {querying_metadata: "没有资料",fetching_cover: "没有封面"};-function tCe(e) {- let t = Object.entries(e).filter(([e, t]) => aF[e] && t > 0).map(([e, t]) => `${aF[e]} ${t.toLocaleString()} 部`);+function $Se(e) {+ let t = Object.entries(e).filter(([e, t]) => cF[e] && t > 0).map(([e, t]) => `${cF[e]} ${t.toLocaleString()} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function nCe(e) {+function eCe(e) {if (e.status === "paused") return "已暂停";if (e.status === "pausing") return "正在暂停";- let t = eCe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${DA(e.waited_seconds)}` : "";+ let t = QSe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${AA(e.waited_seconds)}` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}-function rCe(e) {- let t = e.total ? `${OA(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";- return nCe(e) + (t ? ` · ${t}` : "");+function tCe(e) {+ let t = e.total ? `${jA(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";+ return eCe(e) + (t ? ` · ${t}` : "");}-function iCe(e) {+function nCe(e) {let t = e.issue_preview || [];return t.length ? {label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,@@ -46155,23 +46164,23 @@ function iCe(e) {log: e.issues_log || ""} : null;}-var oF = "peach.library-processing.announced", aCe = 120;-function sF(e) {+var lF = "peach.library-processing.announced", rCe = 120;+function uF(e) {let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;- return !!e.job_id && t >= 0 && t < aCe;+ return !!e.job_id && t >= 0 && t < rCe;}-function oCe(e, t, n) {- if (e.status === "complete" && (n || sF(e))) {+function iCe(e, t, n) {+ if (e.status === "complete" && (n || uF(e))) {try {- if (e.job_id && localStorage.getItem(oF) === e.job_id) return;- e.job_id && localStorage.setItem(oF, e.job_id);+ if (e.job_id && localStorage.getItem(lF) === e.job_id) return;+ e.job_id && localStorage.setItem(lF, e.job_id);} catch {}e.requested_stage === "previews" ? t(`视频预览已生成:${e.previews || 0} 部`) : t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条` + (e.previews ? `,生成 ${e.previews} 部视频预览` : ""));}}//#endregion//#region src/react/components/use-moving-surface.ts-var sCe = {+var aCe = {selection: {type: Hd,duration: .16,@@ -46183,7 +46192,7 @@ var sCe = {bounce: 0}};-function cF(e) {+function dF(e) {let [t, n] = (0, E.useState)(null);return (0, E.useLayoutEffect)(() => {if (!t) return;@@ -46204,7 +46213,7 @@ function cF(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 = Uie(n, { transform: [r, E] }, sCe[e]);+ l = Uie(n, { transform: [r, E] }, aCe[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -46241,25 +46250,25 @@ function cF(e) {}//#endregion//#region src/react/components/menu-dialog.tsx-function lF(e) {- let t = cF("hover");- return /* @__PURE__ */ (0, D.jsx)(dN, {+function fF(e) {+ let t = dF("hover");+ return /* @__PURE__ */ (0, D.jsx)(mN, {...e,ref: t});}//#endregion//#region src/react/library-processing/processing-effort.tsx-var uF = [+var pF = ["low","standard","high"-], dF = [+], mF = ["低占用","标准","全速"-], fF = hP("snail"), pF = hP("zap");-function mF({ className: e }) {+], hF = vP("snail"), gF = vP("zap");+function _F({ className: e }) {return /* @__PURE__ */ (0, D.jsxs)("svg", {className: `processing-effort-double ${e ?? ""}`,"aria-hidden": "true",@@ -46290,12 +46299,12 @@ function mF({ className: e }) {]});}-var cCe = [- fF,- pF,- mF+var oCe = [+ hF,+ gF,+ _F];-function lCe({ animate: e }) {+function sCe({ animate: e }) {let [t, n] = (0, E.useState)(document.hidden);return (0, E.useEffect)(() => {let e = () => n(document.hidden);@@ -46327,8 +46336,8 @@ function lCe({ animate: e }) {} }, t))]});}-function hF({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = Math.max(0, uF.indexOf(e)), [a, o] = (0, E.useState)(i);+function vF({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = Math.max(0, pF.indexOf(e)), [a, o] = (0, E.useState)(i);return (0, E.useEffect)(() => {t || o(i);}, [i, t]), /* @__PURE__ */ (0, D.jsxs)("div", {@@ -46339,7 +46348,7 @@ function hF({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "text-text-tertiary",children: "处理强度 "- }), dF[a]]+ }), mF[a]]}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "processing-effort-scale text-caption-1-regular text-text-tertiary",@@ -46347,19 +46356,19 @@ function hF({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, D.jsxs)("span", {"data-selected": a === 0 || void 0,- children: [/* @__PURE__ */ (0, D.jsx)(fF, {}), "最慢"]+ children: [/* @__PURE__ */ (0, D.jsx)(hF, {}), "最慢"]}),/* @__PURE__ */ (0, D.jsxs)("span", {"data-selected": a === 1 || void 0,- children: [/* @__PURE__ */ (0, D.jsx)(pF, {}), "标准"]+ children: [/* @__PURE__ */ (0, D.jsx)(gF, {}), "标准"]}),/* @__PURE__ */ (0, D.jsxs)("span", {"data-selected": a === 2 || void 0,- children: [/* @__PURE__ */ (0, D.jsx)(mF, {}), "最快"]+ children: [/* @__PURE__ */ (0, D.jsx)(_F, {}), "最快"]})]}),- /* @__PURE__ */ (0, D.jsxs)(mbe, {+ /* @__PURE__ */ (0, D.jsxs)(fbe, {"aria-label": "处理速度",minValue: 0,maxValue: 2,@@ -46368,10 +46377,10 @@ function hF({ value: e, busy: t, onChange: n, animate: r = !0 }) {isDisabled: t,onChange: o,onChangeEnd: (e) => {- e !== i && n(uF[e]);+ e !== i && n(pF[e]);},className: "processing-effort-slider",- children: [/* @__PURE__ */ (0, D.jsx)(wj, {+ children: [/* @__PURE__ */ (0, D.jsx)(Dj, {className: "processing-effort-label",children: "处理速度"}), /* @__PURE__ */ (0, D.jsxs)("div", {@@ -46391,11 +46400,11 @@ function hF({ value: e, busy: t, onChange: n, animate: r = !0 }) {/* @__PURE__ */ (0, D.jsx)("i", {})]}),- a === 2 ? /* @__PURE__ */ (0, D.jsx)(lCe, { animate: r }) : null,- /* @__PURE__ */ (0, D.jsx)(hbe, {+ a === 2 ? /* @__PURE__ */ (0, D.jsx)(sCe, { animate: r }) : null,+ /* @__PURE__ */ (0, D.jsx)(pbe, {className: "processing-effort-hit",- children: /* @__PURE__ */ (0, D.jsx)(gbe, {- "aria-label": dF[a],+ children: /* @__PURE__ */ (0, D.jsx)(mbe, {+ "aria-label": mF[a],className: "processing-effort-thumb"})})@@ -46409,8 +46418,8 @@ function hF({ value: e, busy: t, onChange: n, animate: r = !0 }) {]});}-function uCe({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), s = Math.max(0, uF.indexOf(e));+function cCe({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), s = Math.max(0, pF.indexOf(e));return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "processing-effort-trigger","data-speed": e,@@ -46418,28 +46427,28 @@ function uCe({ value: e, busy: t, onChange: n, animate: r = !0 }) {ref: i,size: "small",variant: "secondary",- "aria-label": `处理速度:${dF[s]}`,+ "aria-label": `处理速度:${mF[s]}`,"aria-haspopup": "dialog","aria-expanded": a,"aria-disabled": t,- leadingIcon: cCe[s],- trailingIcon: Tk,+ leadingIcon: oCe[s],+ trailingIcon: Ok,onClick: () => {t || o(!a);},- children: dF[s]+ children: mF[s]})- }), /* @__PURE__ */ (0, D.jsx)(QM, {+ }), /* @__PURE__ */ (0, D.jsx)(tN, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "top start",offset: 8,- className: NP,- children: /* @__PURE__ */ (0, D.jsx)(lF, {+ className: IP,+ children: /* @__PURE__ */ (0, D.jsx)(fF, {"aria-label": "处理速度",className: "outline-none",- children: /* @__PURE__ */ (0, D.jsx)(hF, {+ children: /* @__PURE__ */ (0, D.jsx)(vF, {value: e,busy: t,onChange: n,@@ -46450,10 +46459,10 @@ function uCe({ value: e, busy: t, onChange: n, animate: r = !0 }) {}//#endregion//#region src/react/library-processing/processing-controls.tsx-function dCe({ state: e, disabled: t = !1 }) {- let n = nA(), r = $P(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {- t || n.busy || n.run(e.action, (t) => U(ZP, e, "POST", t), (e) => {- W.setQueryData(QP, e), W.invalidateQueries({ queryKey: QP });+function lCe({ state: e, disabled: t = !1 }) {+ let n = aA(), r = nF(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {+ t || n.busy || n.run(e.action, (t) => U(eF, e, "POST", t), (e) => {+ W.setQueryData(tF, e), W.invalidateQueries({ queryKey: tF });});};return /* @__PURE__ */ (0, D.jsxs)("div", {@@ -46461,7 +46470,7 @@ function dCe({ state: e, disabled: t = !1 }) {"data-processing-controls": "",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(uCe, {+ children: [/* @__PURE__ */ (0, D.jsx)(cCe, {value: e.speed_mode || "standard",busy: t || !!n.busy,animate: e.status !== "paused" && e.status !== "pausing",@@ -46474,7 +46483,7 @@ function dCe({ state: e, disabled: t = !1 }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: e.status === "paused" ? Lk : Kve,+ leadingIcon: e.status === "paused" ? Bk : Wve,"aria-label": i,title: i,disabled: t || !e.job_id || e.status === "pausing",@@ -46495,11 +46504,11 @@ function dCe({ state: e, disabled: t = !1 }) {}//#endregion//#region src/react/library-processing/use-library-processing.ts-function gF({ toast: e, mode: t, monitor: n }) {+function yF({ toast: e, mode: t, monitor: n }) {let r = t === "notice" || !!n, i = _t({- queryKey: QP,- queryFn: ({ signal: e }) => tF(e),- refetchInterval: (e) => iF(e.state.data, r)+ queryKey: tF,+ queryFn: ({ signal: e }) => iF(e),+ refetchInterval: (e) => sF(e.state.data, r)}), [a, o] = (0, E.useState)(null), s = (0, E.useRef)(void 0), c = i.data;return (0, E.useEffect)(() => {if (!c) return;@@ -46509,8 +46518,8 @@ function gF({ toast: e, mode: t, monitor: n }) {"running","pausing","paused"- ].includes(n) && !$P(c);- r && o(c), (r || t === "notice") && oCe(c, e, r);+ ].includes(n) && !nF(c);+ r && o(c), (r || t === "notice") && iCe(c, e, r);}, [c,t,@@ -46523,27 +46532,27 @@ function gF({ toast: e, mode: t, monitor: n }) {}//#endregion//#region src/react/components/task-progress.tsx-function _F({ label: e, value: t = 0, total: n, embedded: r = !1 }) {+function bF({ label: e, value: t = 0, total: n, embedded: r = !1 }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-task-progress": !0,- className: r ? "flex flex-col gap-1.5" : qk({+ className: r ? "flex flex-col gap-1.5" : Xk({variant: "outlined",padding: "none",className: "flex flex-col gap-1.5 px-4 py-3.5"}),- children: n && n > 0 ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(tA, {+ children: n && n > 0 ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(iA, {label: e,value: t,max: n}), /* @__PURE__ */ (0, D.jsx)("p", {className: "text-caption-1-regular text-text-secondary wrap-anywhere",children: e- })] }) : /* @__PURE__ */ (0, D.jsx)(Qk, { label: e })+ })] }) : /* @__PURE__ */ (0, D.jsx)(tA, { label: e })});}//#endregion//#region src/react/library-processing/processing-line.tsx-function vF(e) {+function xF(e) {let [t, n] = (0, E.useState)({snapshot: e,seconds: 0@@ -46559,17 +46568,17 @@ function vF(e) {return () => window.clearInterval(r);}, [e, i]);let a = i && t.snapshot === e ? t.seconds : 0;- return rCe(a ? {+ return tCe(a ? {...e,waited_seconds: r + a} : e);}-function fCe({ state: e }) {- return vF(e);+function uCe({ state: e }) {+ return xF(e);}-function pCe({ state: e }) {- let t = vF(e);- return /* @__PURE__ */ (0, D.jsx)(_F, {+function dCe({ state: e }) {+ let t = xF(e);+ return /* @__PURE__ */ (0, D.jsx)(bF, {embedded: !0,label: t,value: Math.min(e.checked || 0, e.total || 0),@@ -46578,7 +46587,7 @@ function pCe({ state: e }) {}//#endregion//#region src/react/components/collapse-region.tsx-function yF({ open: e, children: t, ...n }) {+function SF({ open: e, children: t, ...n }) {let r = (0, E.useRef)(null), i = (0, E.useRef)(!1);return (0, E.useLayoutEffect)(() => {let t = r.current;@@ -46589,7 +46598,7 @@ function yF({ open: e, children: t, ...n }) {children: t});}-function bF(e) {+function CF(e) {return /* @__PURE__ */ (0, D.jsx)("svg", {...e,"aria-hidden": !0,@@ -46605,13 +46614,13 @@ function bF(e) {}//#endregion//#region src/react/library-processing/processing-traffic.tsx-var xF = (e) => dn(e).replace(/\s/g, ""), SF = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : xF(e), mCe = (e, t) => {- if (e === t) return xF(t);+var wF = (e) => dn(e).replace(/\s/g, ""), TF = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : wF(e), fCe = (e, t) => {+ if (e === t) return wF(t);let [n, r] = dn(e).split(" "), [i, a] = dn(t).split(" ");- return r === a ? `${n}-${i}${a}` : `${xF(e)}-${xF(t)}`;-}, CF = (e, t, n) => e === void 0 ? mCe(t, n) : `${e > 0 ? "约 " : ""}${xF(e)}`;-function wF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {- let i = Jk(), [a, o] = (0, E.useState)(!1), s = (0, E.useId)(), c = n ?? a;+ return r === a ? `${n}-${i}${a}` : `${wF(e)}-${wF(t)}`;+}, EF = (e, t, n) => e === void 0 ? fCe(t, n) : `${e > 0 ? "约 " : ""}${wF(e)}`;+function DF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {+ let i = Zk(), [a, o] = (0, E.useState)(!1), s = (0, E.useId)(), c = n ?? a;if (!e) return null;let l = (e) => e.toLocaleString("zh-CN");return /* @__PURE__ */ (0, D.jsxs)("div", {@@ -46648,25 +46657,25 @@ function wF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, D.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(Pk, {+ children: [/* @__PURE__ */ (0, D.jsx)(Lk, {"aria-hidden": !0,className: "size-4 shrink-0"}), e.inventory && !e.inventory.complete ? "已识别流量" : "预计流量"]}),/* @__PURE__ */ (0, D.jsx)("p", {className: "text-title-3-semibold text-text-primary",- children: CF(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)+ children: EF(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)}),/* @__PURE__ */ (0, D.jsxs)("p", { children: [e.unknown_route_estimated_bytes ? "已确认代理" : "代理"," ",- CF(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)+ EF(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)] }),t ? null : /* @__PURE__ */ (0, D.jsxs)("p", { children: ["已用 ",- /* @__PURE__ */ (0, D.jsxs)("span", { children: [e.partial ? "约 " : "", xF(e.used_bytes)] }),+ /* @__PURE__ */ (0, D.jsxs)("span", { children: [e.partial ? "约 " : "", wF(e.used_bytes)] })," · 代理 ",- xF(e.metered_used_bytes)+ wF(e.metered_used_bytes)] })]}), e.disk ? /* @__PURE__ */ (0, D.jsxs)("section", {@@ -46675,25 +46684,25 @@ function wF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, D.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(rye, {+ children: [/* @__PURE__ */ (0, D.jsx)(tye, {"aria-hidden": !0,className: "size-4 shrink-0"}), e.inventory && !e.inventory.complete ? "已识别占用" : "预计占用"]}),/* @__PURE__ */ (0, D.jsxs)("p", {className: "text-title-3-semibold text-text-primary",- children: ["约 ", xF(e.disk.estimated_bytes)]+ children: ["约 ", wF(e.disk.estimated_bytes)]}),- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, D.jsxs)("p", { children: ["抽帧临时文件约 ", SF(e.disk.temporary_bytes)] }) : null,+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, D.jsxs)("p", { children: ["抽帧临时文件约 ", TF(e.disk.temporary_bytes)] }) : null,e.disk.volumes.map((e) => /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, D.jsxs)("p", { children: [e.path," 剩余 ",- e.free_bytes == null ? "未取得" : xF(e.free_bytes)+ e.free_bytes == null ? "未取得" : wF(e.free_bytes)] }), e.can_fit === !1 ? /* @__PURE__ */ (0, D.jsxs)("p", {role: "status",- children: ["空间不足,还差 ", xF(e.shortfall_bytes || 0)]+ children: ["空间不足,还差 ", wF(e.shortfall_bytes || 0)]}) : null]}, e.path)),e.disk.cache_unknown ? /* @__PURE__ */ (0, D.jsx)("p", {@@ -46709,7 +46718,7 @@ function wF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })className: "self-start","aria-expanded": c,"aria-controls": s,- trailingIcon: c ? bve : Tk,+ trailingIcon: c ? vve : Ok,onClick: () => {o(!c), r?.(!c);},@@ -46728,12 +46737,12 @@ function wF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 items-start justify-between gap-2",- children: [e.root ? /* @__PURE__ */ (0, D.jsx)(IA, {+ children: [e.root ? /* @__PURE__ */ (0, D.jsx)(zA, {source: e.location,label: e.label}) : /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(_A, { mark: "globe" }), e.label]+ children: [/* @__PURE__ */ (0, D.jsx)(bA, { mark: "globe" }), e.label]}), /* @__PURE__ */ (0, D.jsx)("span", {className: "shrink-0",children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"@@ -46755,7 +46764,7 @@ function wF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"待补资料 ",l(e.workload.pending_jav_titles)," 部 · 平均约 ",- SF(e.workload.metadata_average_bytes || 0),+ TF(e.workload.metadata_average_bytes || 0),"/部"]}) : null,@@ -46765,8 +46774,8 @@ function wF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"已用",e.unobserved.length ? "约" : ""," ",- xF(e.used_bytes)- ] }), /* @__PURE__ */ (0, D.jsxs)("span", { children: ["预计 ", CF(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]+ wF(e.used_bytes)+ ] }), /* @__PURE__ */ (0, D.jsxs)("span", { children: ["预计 ", EF(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]})]}, e.key))@@ -46778,15 +46787,15 @@ function wF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })}//#endregion//#region src/react/library-processing/library-processing-notice.tsx-var TF = "peach.library-processing.collapsed";-function EF(e) {+var OF = "peach.library-processing.collapsed";+function kF(e) {try {- return !e || sessionStorage.getItem(TF) !== e;+ return !e || sessionStorage.getItem(OF) !== e;} catch {return !0;}}-function hCe({ value: e, max: t }) {+function pCe({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, D.jsxs)("svg", {role: "progressbar",@@ -46816,14 +46825,14 @@ function hCe({ value: e, max: t }) {})]});}-function DF({ state: e, problem: t = "", measure: n = !1 }) {- let [r, i] = (0, E.useState)(() => EF(e?.job_id)), a = (0, E.useId)(), [o, s] = (0, E.useState)(!1), c = (0, E.useRef)(null), l = e?.status === "failed", u = $P(e);+function AF({ state: e, problem: t = "", measure: n = !1 }) {+ let [r, i] = (0, E.useState)(() => kF(e?.job_id)), a = (0, E.useId)(), [o, s] = (0, E.useState)(!1), c = (0, E.useRef)(null), l = e?.status === "failed", u = nF(e);(0, E.useEffect)(() => {- i(EF(e?.job_id)), s(!1);+ i(kF(e?.job_id)), s(!1);}, [e?.job_id]);let d = () => {try {- r && e?.job_id ? sessionStorage.setItem(TF, e.job_id) : sessionStorage.removeItem(TF);+ r && e?.job_id ? sessionStorage.setItem(OF, e.job_id) : sessionStorage.removeItem(OF);} catch {}r && s(!1), i(!r);};@@ -46845,20 +46854,20 @@ function DF({ state: e, problem: t = "", measure: n = !1 }) {"data-processing-tone": l ? "error" : f ? "warning" : "neutral","aria-label": "扫描任务",role: l ? "alert" : "status",- className: oO("flex min-w-0 flex-col border bg-background-primary-default p-4", l ? "border-current/35 text-text-error-primary" : f ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),+ className: lO("flex min-w-0 flex-col border bg-background-primary-default p-4", l ? "border-current/35 text-text-error-primary" : f ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-col gap-3",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [- u && e?.total ? /* @__PURE__ */ (0, D.jsx)(hCe, {+ u && e?.total ? /* @__PURE__ */ (0, D.jsx)(pCe, {value: e.checked || 0,max: e.total- }) : l || f ? /* @__PURE__ */ (0, D.jsx)(Ave, {+ }) : l || f ? /* @__PURE__ */ (0, D.jsx)(Ove, {"aria-hidden": !0,className: "size-5 shrink-0"- }) : /* @__PURE__ */ (0, D.jsx)(Vve, {+ }) : /* @__PURE__ */ (0, D.jsx)(zve, {"aria-hidden": !0,className: "size-5 shrink-0"}),@@ -46870,14 +46879,14 @@ function DF({ state: e, problem: t = "", measure: n = !1 }) {}), u ? /* @__PURE__ */ (0, D.jsx)("p", {"data-processing-eta": "",className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",- children: eF(e)+ children: rF(e)}) : null]}),/* @__PURE__ */ (0, D.jsx)(q, {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: bF,+ leadingIcon: CF,"data-processing-toggle": "","aria-label": r ? "收起任务详情" : "展开任务详情","aria-expanded": r,@@ -46885,20 +46894,20 @@ function DF({ state: e, problem: t = "", measure: n = !1 }) {onClick: d})]- }), /* @__PURE__ */ (0, D.jsx)(wF, {+ }), /* @__PURE__ */ (0, D.jsx)(DF, {traffic: e?.traffic,detailsOpen: o,onDetailsChange: s})]}),- /* @__PURE__ */ (0, D.jsx)(yF, {+ /* @__PURE__ */ (0, D.jsx)(SF, {id: a,open: r,"data-processing-body": "",children: /* @__PURE__ */ (0, D.jsx)("div", {className: "pt-3",children: /* @__PURE__ */ (0, D.jsxs)("div", {- className: oO("flex min-w-0 flex-col gap-2 border-t pt-3", l ? "border-border-error-default/20" : f ? "border-current/20" : "border-separator-border"),+ className: lO("flex min-w-0 flex-col gap-2 border-t pt-3", l ? "border-border-error-default/20" : f ? "border-current/20" : "border-separator-border"),children: [e?.steps?.length ? /* @__PURE__ */ (0, D.jsx)("ol", {"aria-label": "处理步骤",@@ -46906,14 +46915,14 @@ function DF({ state: e, problem: t = "", measure: n = !1 }) {children: e.steps.map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {"data-processing-step": e.status,"aria-current": e.status === "current" ? "step" : void 0,- className: oO("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),+ className: lO("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, D.jsx)(Eve, {+ e.status === "complete" ? /* @__PURE__ */ (0, D.jsx)(wve, {"aria-hidden": !0,className: "size-4 shrink-0"- }) : /* @__PURE__ */ (0, D.jsx)(Dve, {+ }) : /* @__PURE__ */ (0, D.jsx)(Tve, {"aria-hidden": !0,- className: oO("size-4 shrink-0", e.status === "current" && "text-border-focus-ring")+ className: lO("size-4 shrink-0", e.status === "current" && "text-border-focus-ring")}),/* @__PURE__ */ (0, D.jsx)(ox, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),e.status === "complete" ? /* @__PURE__ */ (0, D.jsx)("s", {@@ -46928,7 +46937,7 @@ function DF({ state: e, problem: t = "", measure: n = !1 }) {}) : null,/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: t || (l ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, D.jsx)(fCe, { state: e }))+ children: t || (l ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, D.jsx)(uCe, { state: e }))}),u && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, D.jsxs)("p", {className: "text-caption-1-regular text-text-tertiary",@@ -46944,46 +46953,46 @@ function DF({ state: e, problem: t = "", measure: n = !1 }) {}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2 pt-3",- children: [u ? /* @__PURE__ */ (0, D.jsx)(dCe, {+ children: [u ? /* @__PURE__ */ (0, D.jsx)(lCe, {state: e,disabled: !!t- }) : null, /* @__PURE__ */ (0, D.jsx)(Kk, {+ }) : null, /* @__PURE__ */ (0, D.jsx)(Yk, {href: "/data-cleanup#libraryProcessing",variant: "secondary",size: "small",- trailingIcon: Ek,+ trailingIcon: kk,children: t || l ? "查看并处理" : "任务详情"})]})]});}-function gCe(e) {- let { job: t } = gF(e);- return /* @__PURE__ */ (0, D.jsx)(DF, {+function mCe(e) {+ let { job: t } = yF(e);+ return /* @__PURE__ */ (0, D.jsx)(AF, {state: t.data,- problem: t.isError ? t.data ? rF : V(t.error) : ""+ problem: t.isError ? t.data ? oF : V(t.error) : ""});}//#endregion//#region src/react/library-processing/library-processing-dock.tsx-var OF = "peach-library-processing";-function _Ce({ toast: e }) {- let { job: t, settled: n } = gF({+var jF = "peach-library-processing";+function hCe({ toast: e }) {+ let { job: t, settled: n } = yF({toast: e,mode: "notice"- }), r = (0, E.useRef)(""), i = t.data, a = t.isError ? i ? rF : V(t.error) : "";+ }), r = (0, E.useRef)(""), i = t.data, a = t.isError ? i ? oF : V(t.error) : "";return (0, E.useEffect)(() => {- let e = $P(i), t = i?.job_id || "unavailable", o = i?.status === "failed" && (n?.job_id === i.job_id || sF(i));- !e && (!a && !o || r.current === t) ? GP.dismiss(OF) : GP.custom(() => /* @__PURE__ */ (0, D.jsx)("div", {+ let e = nF(i), t = i?.job_id || "unavailable", o = i?.status === "failed" && (n?.job_id === i.job_id || uF(i));+ !e && (!a && !o || r.current === t) ? JP.dismiss(jF) : JP.custom(() => /* @__PURE__ */ (0, D.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, D.jsx)(DF, {+ children: /* @__PURE__ */ (0, D.jsx)(AF, {state: i,problem: a,measure: !0})}), {- id: OF,+ id: jF,toasterId: "processing",duration: Infinity,dismissible: !e,@@ -46998,26 +47007,26 @@ function _Ce({ toast: e }) {a,n]), (0, E.useEffect)(() => () => {- GP.dismiss(OF);+ JP.dismiss(jF);}, []), null;}//#endregion//#region src/react/router/pages/settings.tsx-function vCe() {- let e = (0, E.useContext)(NF), { pathname: t } = jO();+function gCe() {+ let e = (0, E.useContext)(IF), { pathname: t } = PO();return (0, E.useEffect)(() => {- e?.openSettings?.($_e(t));+ e?.openSettings?.(Z_e(t));}, [e, t]), (0, E.useEffect)(() => () => {queueMicrotask(() => {- zO(vk.navigation.location.pathname) || e?.closeSettings?.();+ HO(xk.navigation.location.pathname) || e?.closeSettings?.();});}, [e]), null;}//#endregion//#region src/react/router/pages/overlay.tsx-var kF = () => al, yCe = () => ol;-function bCe() {- let e = (0, E.useContext)(NF), t = (0, E.useSyncExternalStore)(gl, yCe), n = (0, E.useSyncExternalStore)(gl, kF);+var MF = () => al, _Ce = () => ol;+function vCe() {+ let e = (0, E.useContext)(IF), t = (0, E.useSyncExternalStore)(gl, _Ce), n = (0, E.useSyncExternalStore)(gl, MF);return (0, E.useEffect)(() => {if (!t || !n) return;let r = !0;@@ -47032,11 +47041,11 @@ function bCe() {e]), null;}-function AF(e, t = !1) {- let n = (0, E.useSyncExternalStore)(gl, kF), r = (0, E.useRef)(void 0);+function NF(e, t = !1) {+ let n = (0, E.useSyncExternalStore)(gl, MF), r = (0, E.useRef)(void 0);if (r.current === void 0) {- let { claimed: e } = vk.navigation;- r.current = al === 0 || bk() ? "boot" : e && !t ? null : "history";+ let { claimed: e } = xk.navigation;+ r.current = al === 0 || Ck() ? "boot" : e && !t ? null : "history";}let i = (0, E.useRef)(e);(0, E.useEffect)(() => {@@ -47052,22 +47061,22 @@ function AF(e, t = !1) {}));}, [n]);}-function xCe() {- let e = (0, E.useContext)(NF), t = (0, E.useRef)(e);+function yCe() {+ let e = (0, E.useContext)(IF), t = (0, E.useRef)(e);return (0, E.useLayoutEffect)(() => {t.current = e;- }, [e]), AF((t) => {- let n = vk.navigation.location, { pathname: r, search: i } = zO(n.pathname) && VO(n.state) || n, a = UO(r, i);- e && a && (YO(), t || nve(vk.navigation.location.state), e.openOverlay(a));+ }, [e]), NF((t) => {+ let n = xk.navigation.location, { pathname: r, search: i } = HO(n.pathname) && WO(n.state) || n, a = KO(r, i);+ e && a && (QO(), t || eve(xk.navigation.location.state), e.openOverlay(a));}, !0), (0, E.useEffect)(() => () => {queueMicrotask(() => {- WO(vk.navigation.location.pathname) || t.current?.closeStage();+ qO(xk.navigation.location.pathname) || t.current?.closeStage();});}, []), null;}-function SCe({ path: e }) {- MF();- let { location: t, seq: n, action: r } = vk.navigation, i = zO(t.pathname) ? VO(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, E.useRef)({+function bCe({ path: e }) {+ FF();+ let { location: t, seq: n, action: r } = xk.navigation, i = HO(t.pathname) ? WO(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, E.useRef)({identity: a,seq: i?.seq ?? n,navigationSeq: n,@@ -47078,161 +47087,161 @@ function SCe({ path: e }) {seq: n,navigationSeq: n,settings: !1- }), /* @__PURE__ */ (0, D.jsx)(xCe, {}, `${e} ${o.current.seq}`);+ }), /* @__PURE__ */ (0, D.jsx)(yCe, {}, `${e} ${o.current.seq}`);}-function CCe() {- let e = (0, E.useContext)(NF);- return AF(() => {+function xCe() {+ let e = (0, E.useContext)(IF);+ return NF(() => {e?.follow?.ground();}), null;}-function wCe() {- return /* @__PURE__ */ (0, D.jsx)(CCe, {}, MF());+function SCe() {+ return /* @__PURE__ */ (0, D.jsx)(xCe, {}, FF());}//#endregion//#region src/react/router/router.tsx-var jF = (0, E.createContext)(0), MF = () => (0, E.useContext)(jF), NF = (0, E.createContext)(null);-function TCe({ children: e }) {- let [t, n] = (0, E.useState)(() => vk.navigation);- return (0, E.useLayoutEffect)(() => (n(vk.navigation), vk.listen((e) => {+var PF = (0, E.createContext)(0), FF = () => (0, E.useContext)(PF), IF = (0, E.createContext)(null);+function CCe({ children: e }) {+ let [t, n] = (0, E.useState)(() => xk.navigation);+ return (0, E.useLayoutEffect)(() => (n(xk.navigation), xk.listen((e) => {(0, bt.flushSync)(() => n(e));- })), []), /* @__PURE__ */ (0, D.jsx)(jF.Provider, {+ })), []), /* @__PURE__ */ (0, D.jsx)(PF.Provider, {value: t.openEpoch,- children: /* @__PURE__ */ (0, D.jsx)(Z_e, {+ children: /* @__PURE__ */ (0, D.jsx)(Y_e, {location: t.location,navigationType: t.action,- navigator: vk,+ navigator: xk,children: e})});}-function ECe({ target: e }) {- let t = M_e();+function wCe({ target: e }) {+ let t = A_e();return (0, E.useLayoutEffect)(() => {e.current = t;}), null;}-function DCe(e, t, n) {+function TCe(e, t, n) {let r = new URL(e, window.location.href);_5(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);}-function OCe() {- let e = (0, E.useContext)(NF), [t, n] = (0, E.useState)(ok), r = (0, E.useRef)(null);- (0, E.useLayoutEffect)(() => (n(ok()), cve((e, t) => {+function ECe() {+ let e = (0, E.useContext)(IF), [t, n] = (0, E.useState)(lk), r = (0, E.useRef)(null);+ (0, E.useLayoutEffect)(() => (n(lk()), ove((e, t) => {t ? (0, bt.flushSync)(() => n(e)) : n(e);})), []);let i = (0, E.useMemo)(() => (t) => {- e && r.current && DCe(t, e, r.current);+ e && r.current && TCe(t, e, r.current);}, [e]);- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(ECe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, D.jsx)(kCe, {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(wCe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, D.jsx)(DCe, {entry: t,- children: /* @__PURE__ */ (0, D.jsx)(ACe, {+ children: /* @__PURE__ */ (0, D.jsx)(OCe, {entry: t,actions: e,go: i})}, t.revision)) : null] });}-var kCe = class extends E.Component {+var DCe = class extends E.Component {state = { failed: !1 };static getDerivedStateFromError() {return { failed: !0 };}componentDidCatch() {- dve(this.props.entry.container, this.props.entry.revision);+ lve(this.props.entry.container, this.props.entry.revision);}render() {return this.state.failed ? null : this.props.children;}-}, ACe = (0, E.memo)(function({ entry: e, actions: t, go: n }) {- return agt(e.path) ? (0, bt.createPortal)(cgt(e.path, e.props, t, n), e.host, String(e.revision)) : null;+}, OCe = (0, E.memo)(function({ entry: e, actions: t, go: n }) {+ return ogt(e.path) ? (0, bt.createPortal)(lgt(e.path, e.props, t, n), e.host, String(e.revision)) : null;});-function jCe({ children: e }) {- let t = jO();- MF();- let n = xk(), r = zO(t.pathname) && !bk() ? VO(t.state) : null;+function kCe({ children: e }) {+ let t = PO();+ FF();+ let n = wk(), r = HO(t.pathname) && !Ck() ? WO(t.state) : null;return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsxs)(PO, {+ /* @__PURE__ */ (0, D.jsxs)(LO, {location: n ?? t,children: [- Object.entries(g5).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(NO, {+ Object.entries(g5).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(IO, {path: e,element: t.element}, e)),- Object.entries(Yht).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(NO, {+ Object.entries(Xht).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(IO, {path: e,element: t.element}, e)),- Object.entries(v5).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(NO, {+ Object.entries(v5).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(IO, {path: e,element: t.element}, e)),- Object.entries(b5).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(NO, {+ Object.entries(b5).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(IO, {path: e,element: t.element}, e)),- Object.entries(S5).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(NO, {+ Object.entries(S5).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(IO, {path: e,element: t.element}, e)),- igt.map((e) => /* @__PURE__ */ (0, D.jsx)(NO, {+ agt.map((e) => /* @__PURE__ */ (0, D.jsx)(IO, {path: e,element: C5["/"].element}, e)),- Object.entries(Xht).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(NO, {+ Object.entries(Zht).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(IO, {path: e,element: t.element}, e)),- HO.map((e) => /* @__PURE__ */ (0, D.jsx)(NO, {+ GO.map((e) => /* @__PURE__ */ (0, D.jsx)(IO, {path: e,- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, D.jsx)(wCe, {}) : C5["/"].element+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, D.jsx)(SCe, {}) : C5["/"].element}, e)),- RO.map((e) => /* @__PURE__ */ (0, D.jsx)(NO, {+ VO.map((e) => /* @__PURE__ */ (0, D.jsx)(IO, {path: e,element: null}, e)),- /* @__PURE__ */ (0, D.jsx)(NO, {+ /* @__PURE__ */ (0, D.jsx)(IO, {path: "*",element: e})]}),- /* @__PURE__ */ (0, D.jsxs)(PO, {+ /* @__PURE__ */ (0, D.jsxs)(LO, {location: r ?? t,- children: [HO.map((e) => /* @__PURE__ */ (0, D.jsx)(NO, {+ children: [GO.map((e) => /* @__PURE__ */ (0, D.jsx)(IO, {path: e,- element: /* @__PURE__ */ (0, D.jsx)(SCe, { path: e })- }, e)), /* @__PURE__ */ (0, D.jsx)(NO, {+ element: /* @__PURE__ */ (0, D.jsx)(bCe, { path: e })+ }, e)), /* @__PURE__ */ (0, D.jsx)(IO, {path: "*",element: null})]}),- /* @__PURE__ */ (0, D.jsxs)(PO, { children: [RO.map((e) => /* @__PURE__ */ (0, D.jsx)(NO, {+ /* @__PURE__ */ (0, D.jsxs)(LO, { children: [VO.map((e) => /* @__PURE__ */ (0, D.jsx)(IO, {path: e,- element: /* @__PURE__ */ (0, D.jsx)(vCe, {})- }, e)), /* @__PURE__ */ (0, D.jsx)(NO, {+ element: /* @__PURE__ */ (0, D.jsx)(gCe, {})+ }, e)), /* @__PURE__ */ (0, D.jsx)(IO, {path: "*",element: null})] })] });}-function MCe({ children: e, actions: t = null, background: n, processing: r = !1 }) {- return /* @__PURE__ */ (0, D.jsxs)(HP, { children: [n, /* @__PURE__ */ (0, D.jsx)(NF.Provider, {+function ACe({ children: e, actions: t = null, background: n, processing: r = !1 }) {+ return /* @__PURE__ */ (0, D.jsxs)(GP, { children: [n, /* @__PURE__ */ (0, D.jsx)(IF.Provider, {value: t,- children: /* @__PURE__ */ (0, D.jsxs)(TCe, { children: [- /* @__PURE__ */ (0, D.jsx)(OCe, {}),- /* @__PURE__ */ (0, D.jsx)(bCe, {}),- r && t ? /* @__PURE__ */ (0, D.jsx)(_Ce, { toast: t.toast }) : null,- /* @__PURE__ */ (0, D.jsx)(jCe, { children: e })+ children: /* @__PURE__ */ (0, D.jsxs)(CCe, { children: [+ /* @__PURE__ */ (0, D.jsx)(ECe, {}),+ /* @__PURE__ */ (0, D.jsx)(vCe, {}),+ r && t ? /* @__PURE__ */ (0, D.jsx)(hCe, { toast: t.toast }) : null,+ /* @__PURE__ */ (0, D.jsx)(kCe, { children: e })] })})] });}-var NCe = { onCaughtError: (e) => {+var jCe = { onCaughtError: (e) => {globalThis.reportError?.(e);} };//#endregion//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts-function PCe(e, t, n) {+function MCe(e, t, n) {(0, E.useEffect)(() => {if (!e) return;let r = (e) => {@@ -47246,7 +47255,7 @@ function PCe(e, t, n) {n]);}-function FCe(e, t) {+function NCe(e, t) {let n = (0, E.useRef)(!1);return (0, E.useEffect)(() => {if (!e) return;@@ -47260,33 +47269,33 @@ function FCe(e, t) {}//#endregion//#region src/react/boardui/components/base/select/select.tsx-var PF = (0, E.createContext)("md");-function FF({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var LF = (0, E.createContext)("md");+function RF({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, E.useRef)(null), u = (0, E.useRef)(null), [d, f] = (0, E.useState)(!1);- PCe(d, () => f(!1), [l, u]);- let p = FCe(d, l);- return /* @__PURE__ */ (0, D.jsx)(nxe, {+ MCe(d, () => f(!1), [l, u]);+ let p = NCe(d, l);+ return /* @__PURE__ */ (0, D.jsx)(exe, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),- className: oO("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)(Ej, {+ className: lO("group flex flex-col", e),+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)(kj, {ref: l,- className: oO("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, D.jsx)(axe, {- className: oO("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ className: lO("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, D.jsx)(rxe, {+ className: lO("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, D.jsx)(_Se, { className: oO("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, D.jsx)(QM, {+ }), /* @__PURE__ */ (0, D.jsx)(hSe, { className: lO("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, D.jsx)(tN, {ref: u,isNonModal: !0,offset: 4,- className: oO(bSe, NP, "p-2", n),- children: /* @__PURE__ */ (0, D.jsx)(wbe, {+ className: lO(vSe, IP, "p-2", n),+ children: /* @__PURE__ */ (0, D.jsx)(Sbe, {items: a,- className: oO(xSe, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, D.jsx)(PF.Provider, {+ className: lO(ySe, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, D.jsx)(LF.Provider, {value: r,children: i})@@ -47294,24 +47303,24 @@ function FF({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function IF({ className: e, children: t, ...n }) {- let r = (0, E.useContext)(PF);- return /* @__PURE__ */ (0, D.jsx)(Dbe, {+function zF({ className: e, children: t, ...n }) {+ let r = (0, E.useContext)(LF);+ return /* @__PURE__ */ (0, D.jsx)(Tbe, {...n,- className: (t) => oO(PP, 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) => lO(LP, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),children: t});}//#endregion//#region src/react/catalog-folders/catalog-folders.ts-var LF = {+var BF = {category: "个人分类",creator: "创作者/账号",performer: "人物",seller: "卖家",studio: "厂牌"};-function RF(e, t = "", n = "") {+function VF(e, t = "", n = "") {let r = new URLSearchParams({...e,folder: t,@@ -47323,15 +47332,15 @@ function RF(e, t = "", n = "") {queryFn: ({ signal: e }) => H(`/api/folders?${r}`, e)};}-function zF(e, t) {+function HF(e, t) {let n = new URLSearchParams(e.search);for (let [e, r] of Object.entries(t)) r ? n.set(e, r) : n.delete(e);return e.pathname + (n.size ? `?${n}` : "");}//#endregion//#region src/react/catalog-folders/folder-rule-dialog.tsx-function ICe({ folder: e, rule: t, revision: n, close: r }) {- let i = (0, E.useContext)(NF), a = nA(), [o, s] = (0, E.useState)(t?.purpose || "category"), [c, l] = (0, E.useState)(t?.name || ""), [u, d] = (0, E.useState)(t?.recursive ?? !0), [f, p] = (0, E.useState)(t?.future ?? !1), [m, h] = (0, E.useState)(null), [g, _] = (0, E.useState)(!1), v = {+function PCe({ folder: e, rule: t, revision: n, close: r }) {+ let i = (0, E.useContext)(IF), a = aA(), [o, s] = (0, E.useState)(t?.purpose || "category"), [c, l] = (0, E.useState)(t?.name || ""), [u, d] = (0, E.useState)(t?.recursive ?? !0), [f, p] = (0, E.useState)(t?.future ?? !1), [m, h] = (0, E.useState)(null), [g, _] = (0, E.useState)(!1), v = {folder: e.id,purpose: o,name: c,@@ -47360,7 +47369,7 @@ function ICe({ folder: e, rule: t, revision: n, close: r }) {})})).confirmed ? b("已移除目录规则") : _(!1);}, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", { dangerouslySetInnerHTML: { __html: Ro(t) } }), t] }) : null;- return g ? null : /* @__PURE__ */ (0, D.jsx)(fP, {+ return g ? null : /* @__PURE__ */ (0, D.jsx)(hP, {isOpen: !0,onOpenChange: (e) => {!e && !w && r();@@ -47374,7 +47383,7 @@ function ICe({ 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, D.jsxs)("div", {className: "min-w-0",- children: [/* @__PURE__ */ (0, D.jsx)(Oj, {+ children: [/* @__PURE__ */ (0, D.jsx)(jj, {slot: "title",className: "text-title-2-medium",children: "设置目录用途"@@ -47382,7 +47391,7 @@ function ICe({ 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, D.jsx)(gP, {+ }), /* @__PURE__ */ (0, D.jsx)(yP, {label: "关闭目录用途",onPress: () => {w || r();@@ -47394,20 +47403,20 @@ function ICe({ folder: e, rule: t, revision: n, close: r }) {children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(oP, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, D.jsx)(FF, {+ children: [/* @__PURE__ */ (0, D.jsx)(lP, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": "这个文件夹用于",selectedKey: o,isDisabled: w,onSelectionChange: (e) => {s(e), y();},- children: Object.entries(LF).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(IF, {+ children: Object.entries(BF).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e,children: t}, e))})]}),- o === "category" ? null : /* @__PURE__ */ (0, D.jsx)(dP, {+ o === "category" ? null : /* @__PURE__ */ (0, D.jsx)(mP, {label: "关联名称",value: c,onChange: (e) => {@@ -47418,7 +47427,7 @@ function ICe({ folder: e, rule: t, revision: n, close: r }) {isDisabled: w,isRequired: !0}),- /* @__PURE__ */ (0, D.jsx)(BP, {+ /* @__PURE__ */ (0, D.jsx)(UP, {isSelected: u,isDisabled: w,onChange: (e) => {@@ -47426,7 +47435,7 @@ function ICe({ folder: e, rule: t, revision: n, close: r }) {},children: "应用到子文件夹"}),- /* @__PURE__ */ (0, D.jsx)(BP, {+ /* @__PURE__ */ (0, D.jsx)(UP, {isSelected: f,isDisabled: w,onChange: (e) => {@@ -47465,7 +47474,7 @@ function ICe({ folder: e, rule: t, revision: n, close: r }) {}) : null,m.conflicts.length ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "warning",- extra: /* @__PURE__ */ (0, D.jsx)(gA, {+ extra: /* @__PURE__ */ (0, D.jsx)(yA, {summary: "查看归属冲突",children: /* @__PURE__ */ (0, D.jsx)("ul", {className: "mt-2 flex flex-col gap-2",@@ -47530,7 +47539,7 @@ function ICe({ folder: e, rule: t, revision: n, close: r }) {}//#endregion//#region src/react/catalog-folders/use-folder-sticky-offset.ts-function LCe(e, t) {+function FCe(e, t) {(0, E.useLayoutEffect)(() => {if (!e) return;let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {@@ -47554,35 +47563,35 @@ function LCe(e, t) {}//#endregion//#region src/react/catalog-folders/catalog-folders-page.tsx-function BF() {- return AO() ? /* @__PURE__ */ (0, D.jsx)(RCe, {}) : null;+function UF() {+ return NO() ? /* @__PURE__ */ (0, D.jsx)(ICe, {}) : null;}-function RCe() {- let e = jO(), t = (0, E.useContext)(NF);+function ICe() {+ let e = PO(), t = (0, E.useContext)(IF);if (!qt(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, D.jsx)(ZA, {+ return /* @__PURE__ */ (0, D.jsx)(ej, {size: "small","data-folder-mode-toggle": "","aria-label": "文件夹模式",title: "文件夹模式","aria-pressed": r,- icon: Nk,- onClick: () => t?.navigate(zF(e, r ? {+ icon: Ik,+ onClick: () => t?.navigate(HF(e, r ? {browse: null,folder: null,folder_recursive: null} : { browse: "folders" }))});}-function zCe({ children: e, enabled: t }) {- return AO() ? /* @__PURE__ */ (0, D.jsx)(BCe, {+function LCe({ children: e, enabled: t }) {+ return NO() ? /* @__PURE__ */ (0, D.jsx)(RCe, {enabled: t,children: e}) : /* @__PURE__ */ (0, D.jsx)(D.Fragment, { children: e });}-function BCe({ children: e, enabled: t }) {- let [n, r] = (0, E.useState)(null), [i, a] = (0, E.useState)(null), o = jO(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));+function RCe({ children: e, enabled: t }) {+ let [n, r] = (0, E.useState)(null), [i, a] = (0, E.useState)(null), o = PO(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));return /* @__PURE__ */ (0, D.jsxs)("div", {className: "entity-folder-workspace","data-folder-workspace": "",@@ -47601,7 +47610,7 @@ function BCe({ children: e, enabled: t }) {hidden: !c}), e]}),- n && i ? /* @__PURE__ */ (0, D.jsx)(VF, {+ n && i ? /* @__PURE__ */ (0, D.jsx)(WF, {treeTarget: n,headerTarget: i,enabled: t@@ -47609,14 +47618,14 @@ function BCe({ children: e, enabled: t }) {]});}-function VF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {- let r = jO(), i = (0, E.useContext)(NF), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {+function WF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {+ let r = PO(), i = (0, E.useContext)(IF), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {loc: a.get("loc") ?? "",library: a.get("library") ?? ""};- LCe(o, e);+ FCe(o, e);let c = a.get("folder") || "", l = _t({- ...RF(s, c),+ ...VF(s, c),enabled: o}), [u, d] = (0, E.useState)(!1), [f, p] = (0, E.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");if ((0, E.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {@@ -47630,11 +47639,11 @@ function VF({ 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(zF(r, {+ d(!1), i.navigate(HF(r, {browse: "folders",folder: e}));- }, _ = l.data, v = /* @__PURE__ */ (0, D.jsx)(HCe, {+ }, _ = l.data, v = /* @__PURE__ */ (0, D.jsx)(BCe, {scope: s,selected: c,current: _,@@ -47651,21 +47660,21 @@ function VF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "folder-drawer-trigger",- children: /* @__PURE__ */ (0, D.jsx)(ZA, {+ children: /* @__PURE__ */ (0, D.jsx)(ej, {"aria-label": "打开文件夹目录",- icon: Jve,+ icon: Kve,size: "small",onClick: () => d(!0)})}),- /* @__PURE__ */ (0, D.jsxs)(ySe, {+ /* @__PURE__ */ (0, D.jsxs)(_Se, {"aria-label": "文件夹路径",- children: [/* @__PURE__ */ (0, D.jsx)(jP, {+ children: [/* @__PURE__ */ (0, D.jsx)(PP, {current: !c,onClick: () => g(""),- icon: Nk,+ icon: Ik,children: "全部文件夹"- }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, D.jsx)(jP, {+ }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, D.jsx)(PP, {current: t === _.ancestors.length - 1,onClick: () => g(e.id),children: /* @__PURE__ */ (0, D.jsx)("span", {@@ -47675,9 +47684,9 @@ function VF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {})}, e.id))]}),- _?.selected ? /* @__PURE__ */ (0, D.jsx)(ZA, {+ _?.selected ? /* @__PURE__ */ (0, D.jsx)(ej, {"aria-label": "设置目录用途",- icon: Rve,+ icon: Ive,size: "small",onClick: () => p(!0)}) : null@@ -47707,14 +47716,14 @@ function VF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}) : null,_?.selected ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "folder-scope-row",- children: [/* @__PURE__ */ (0, D.jsx)(BP, {+ children: [/* @__PURE__ */ (0, D.jsx)(UP, {size: "sm",isSelected: a.get("folder_recursive") !== "0",- onChange: (e) => i.navigate(zF(r, { folder_recursive: e ? null : "0" })),+ onChange: (e) => i.navigate(HF(r, { folder_recursive: e ? null : "0" })),children: "包含子文件夹"}), /* @__PURE__ */ (0, D.jsx)("span", {className: "text-caption-1-regular text-text-tertiary",- children: _.rule ? `${LF[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"+ children: _.rule ? `${BF[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"})]}) : null,l.isPending ? /* @__PURE__ */ (0, D.jsx)("div", {@@ -47724,13 +47733,13 @@ function VF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {className: "folder-children",children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, D.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))}) : null,- _?.children.length ? /* @__PURE__ */ (0, D.jsx)(VCe, {+ _?.children.length ? /* @__PURE__ */ (0, D.jsx)(zCe, {nodes: _.children,go: g}, c) : null]}), h),- /* @__PURE__ */ (0, D.jsxs)(fP, {+ /* @__PURE__ */ (0, D.jsxs)(hP, {isOpen: u,onOpenChange: d,width: "form",@@ -47740,7 +47749,7 @@ function VF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, D.jsx)("h2", {className: "text-title-2-medium",children: "文件夹"- }), /* @__PURE__ */ (0, D.jsx)(gP, {+ }), /* @__PURE__ */ (0, D.jsx)(yP, {label: "关闭文件夹目录",onPress: () => d(!1)})]@@ -47749,7 +47758,7 @@ function VF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: u ? v : null})]}),- f && _?.selected ? /* @__PURE__ */ (0, D.jsx)(ICe, {+ f && _?.selected ? /* @__PURE__ */ (0, D.jsx)(PCe, {folder: _.selected,rule: _.rule,revision: _.rules_revision,@@ -47757,7 +47766,7 @@ function VF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}, _.selected.id) : null] });}-function VCe({ nodes: e, go: t }) {+function zCe({ nodes: e, go: t }) {let [n, r] = (0, E.useState)(!1), i = (0, E.useId)(), a = n ? e : e.slice(0, 12);return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-col items-start gap-2",@@ -47768,7 +47777,7 @@ function VCe({ nodes: e, go: t }) {children: a.map((e) => /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: Nk,+ leadingIcon: Ik,onClick: () => t(e.id),children: /* @__PURE__ */ (0, D.jsx)("span", {className: "truncate",@@ -47785,27 +47794,27 @@ function VCe({ nodes: e, go: t }) {}) : null]});}-function HCe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {- let a = _t(RF(e)), [o, s] = (0, E.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, E.useState)(""), u = (0, E.useDeferredValue)(c), d = _t({- ...RF(e, "", u),+function BCe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {+ let a = _t(VF(e)), [o, s] = (0, E.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, E.useState)(""), u = (0, E.useDeferredValue)(c), d = _t({+ ...VF(e, "", u),enabled: !!u.trim()- }), f = Jk();+ }), f = Zk();(0, E.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 = ht({ queries: p.map((t) => RF(e, t)) }), h = /* @__PURE__ */ new Map();+ let p = [...o].map(String), m = ht({ queries: p.map((t) => VF(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, D.jsx)(IP, {+ return /* @__PURE__ */ (0, D.jsx)(zP, {id: e.id,label: e.name,- icon: Nk,- expandedIcon: Lve,+ icon: Ik,+ expandedIcon: Fve,trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,- children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, D.jsx)(IP, {+ children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, D.jsx)(zP, {id: `${e.id}:loading`,label: "正在读取文件夹",isDisabled: !0@@ -47821,10 +47830,10 @@ function HCe({ 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, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {"aria-label": "查找文件夹",placeholder: "查找文件夹",- leadingIcon: Bk,+ leadingIcon: Uk,value: c,onChange: l,size: "small"@@ -47870,14 +47879,14 @@ function HCe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: Nk,+ leadingIcon: Ik,onClick: () => {l(""), r(e.id);},children: e.name- }, e.id)) : /* @__PURE__ */ (0, D.jsx)(Zk, {+ }, e.id)) : /* @__PURE__ */ (0, D.jsx)(eA, {size: "compact",- icon: Bk,+ icon: Uk,title: "没有匹配的文件夹",actions: /* @__PURE__ */ (0, D.jsx)(q, {size: "small",@@ -47886,7 +47895,7 @@ function HCe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}),children: "换个目录名称试试。"})- }) : a.data?.roots.length ? /* @__PURE__ */ (0, D.jsx)(SSe, {+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, D.jsx)(bSe, {"aria-label": "媒体目录",size: "sm",expandedKeys: o,@@ -47894,11 +47903,11 @@ function HCe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {selectedKeys: new Set(t ? [t] : []),onSelectionChange: _,children: a.data?.roots.map(g)- }) : /* @__PURE__ */ (0, D.jsx)(Zk, {+ }) : /* @__PURE__ */ (0, D.jsx)(eA, {size: "compact",- icon: Nk,+ icon: Ik,title: "尚未添加媒体目录",- actions: /* @__PURE__ */ (0, D.jsx)(Wk, {+ actions: /* @__PURE__ */ (0, D.jsx)(qk, {size: "small",href: "/settings/library",children: "添加媒体"@@ -47912,54 +47921,54 @@ function HCe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}//#endregion//#region src/react/components/segmented.tsx-function HF(e) {- let t = $A(cF("selection"));- return /* @__PURE__ */ (0, D.jsx)(eP, {+function GF(e) {+ let t = nj(dF("selection"));+ return /* @__PURE__ */ (0, D.jsx)(rP, {...e,ref: t});}-function UF(e) {- let t = $A(cF("selection"));- return /* @__PURE__ */ (0, D.jsx)(vN, {+function KF(e) {+ let t = nj(dF("selection"));+ return /* @__PURE__ */ (0, D.jsx)(xN, {...e,ref: t});}-var WF = "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", GF = "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", UCe = "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", KF = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", qF = "relative flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";+var qF = "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", JF = "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", VCe = "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", YF = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", XF = "relative flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";//#endregion//#region src/react/catalog-grid/catalog-view-toggle.tsx-function JF() {- let e = HE();- return /* @__PURE__ */ (0, D.jsxs)(vN, {+function ZF() {+ let e = GE();+ return /* @__PURE__ */ (0, D.jsxs)(xN, {"aria-label": "馆藏显示方式",orientation: "horizontal",value: e,- onChange: Gfe,+ onChange: Ufe,"data-entity-layout": "",- className: KF,- children: [/* @__PURE__ */ (0, D.jsx)(yN, {+ className: YF,+ children: [/* @__PURE__ */ (0, D.jsx)(SN, {value: "cards","aria-label": "卡片",- className: qF,+ className: XF,"data-glass-segment": "",children: /* @__PURE__ */ (0, D.jsx)("span", {title: "卡片",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, D.jsx)(Uve, {+ children: /* @__PURE__ */ (0, D.jsx)(Vve, {"aria-hidden": "true",className: "size-4"})})- }), /* @__PURE__ */ (0, D.jsx)(yN, {+ }), /* @__PURE__ */ (0, D.jsx)(SN, {value: "list","aria-label": "列表",- className: qF,+ className: XF,"data-glass-segment": "",children: /* @__PURE__ */ (0, D.jsx)("span", {title: "列表",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, D.jsx)(Gve, {+ children: /* @__PURE__ */ (0, D.jsx)(Uve, {"aria-hidden": "true",className: "size-4"})@@ -47969,7 +47978,7 @@ function JF() {}//#endregion//#region src/react/components/icon-swap.tsx-function YF({ a: e, b: t, state: n, className: r }) {+function QF({ a: e, b: t, state: n, className: r }) {let { isFocusVisible: i } = kv();return /* @__PURE__ */ (0, D.jsxs)("span", {"aria-hidden": !0,@@ -47986,115 +47995,115 @@ function YF({ a: e, b: t, state: n, className: r }) {})]});}-function XF({ className: e }) {- return /* @__PURE__ */ (0, D.jsx)(YF, {- a: yve,- b: vve,+function $F({ className: e }) {+ return /* @__PURE__ */ (0, D.jsx)(QF, {+ a: _ve,+ b: gve,className: e});}//#endregion//#region src/react/follow-feed/follow-marks.ts-var ZF = (e) => typeof e == "string" ? e : "", QF = (e) => e.aliases;-function $F(e, t = "") {+var eI = (e) => typeof e == "string" ? e : "", tI = (e) => e.aliases;+function nI(e, t = "") {let n = ri(e);return n ? `<img data-follow-site-icon="" src="${n}" alt="${B(t)}"${t ? ` title="${B(t)}"` : ""} loading="lazy" data-drop="self">` : "";}-function eI(e, t = "") {+function rI(e, t = "") {let n = B(_r(t || e)), r = ri(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 tI = (e) => ZF(e.title).trim() || "未命名内容", nI = (e, t) => gr(e, QF(t));-function rI(e) {+var iI = (e) => eI(e.title).trim() || "未命名内容", aI = (e, t) => gr(e, tI(t));+function oI(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 = ZF(n.entity_name);+ let n = t[0], r = eI(n.entity_name);return Et("creator", r, n.entity_id), r;}-function iI(e, t) {+function sI(e, t) {let { src: n, fallback: r } = vr(e), i = _r(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 aI(e, t, n) {- let r = QF(n), i = e.credit, a = i?.poster;+function cI(e, t, n) {+ let r = tI(n), i = e.credit, a = i?.poster;if (!a) {let n = gr(t, r);return {- author: n || ZF(e.author) || ZF(e.source_label) || "创作者未取得",- avatar: iI(t, n),+ author: n || eI(e.author) || eI(e.source_label) || "创作者未取得",+ avatar: sI(t, n),credited: "",- entityName: rI(t)+ entityName: oI(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 && gr(c, r) || a;return {author: l,- avatar: iI(c, l),+ avatar: sI(c, l),credited: i.credited || "",- entityName: rI(c)+ entityName: oI(c)};}-function oI(e, t = e.primary) {+function lI(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 = ZF(e.primary.version);+ let i = eI(e.primary.version);i && n.push(r("version", B(i)));- let a = ZF(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";+ let a = eI(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";return o && n.push(r(a, o)), n.join("");}-function sI(e, t = e.primary) {+function uI(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]) => $F(e, t) || `<span>${B(t)}</span>`).join("");+ let r = [...n].map(([e, t]) => nI(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 cI(e, t) {- let n = ZF(e.media_error);+function dI(e, t) {+ let n = eI(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var WCe = 864e5, GCe = (e, t) => {+var HCe = 864e5, UCe = (e, t) => {let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();- return Number.isFinite(n) && n - t > WCe;+ return Number.isFinite(n) && n - t > HCe;};-function lI(e, t) {- let n = ZF(e.published_at);+function fI(e, t) {+ let n = eI(e.published_at);if (!n) return null;let r = e.published_precision === "approximate", i = Ln(n);return {prefix: r ? "约 " : "",full: r ? i.slice(0, 10) : i,- suffix: GCe(n, t) ? " · 晚于现在" : ""+ suffix: UCe(n, t) ? " · 晚于现在" : ""};}-function uI(e, t = Date.now()) {- let n = lI(e, t);+function pI(e, t = Date.now()) {+ let n = fI(e, t);return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";}-function KCe(e, t = Date.now()) {- let n = lI(e, t);+function WCe(e, t = Date.now()) {+ let n = fI(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 dI = /* @__PURE__ */ new Set(), fI = [], pI = null;-function mI() {- if (pI = null, !fI.length) return;- let e = fI.splice(0, 200);+var mI = /* @__PURE__ */ new Set(), hI = [], gI = null;+function _I() {+ if (gI = null, !hI.length) return;+ let e = hI.splice(0, 200);Vt("/api/follow/image-dims", {method: "POST",body: JSON.stringify({ entries: e })- }).catch(() => {}), fI.length && (pI = setTimeout(mI, 800));+ }).catch(() => {}), hI.length && (gI = setTimeout(_I, 800));}-function qCe(e, t, n, r) {+function GCe(e, t, n, r) {let i = `${e}:${t ?? ""}`;- dI.has(i) || (dI.add(i), fI.push(t === null ? {+ mI.has(i) || (mI.add(i), hI.push(t === null ? {item: e,width: n,height: r@@ -48103,26 +48112,26 @@ function qCe(e, t, n, r) {width: n,height: r,media: t- }), pI ||= setTimeout(mI, 800));+ }), gI ||= setTimeout(_I, 800));}//#endregion//#region src/react/entity-filter/entity-filter.ts-var JCe = (e) => e === "videos", hI = () => /* @__PURE__ */ (0, D.jsx)("span", {+var KCe = (e) => e === "videos", vI = () => /* @__PURE__ */ (0, D.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), YCe = hP("shuffle"), XCe = hP("arrow-up"), ZCe = hP("arrow-down");-function QCe(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = JCe(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({+}), qCe = vP("shuffle"), JCe = vP("arrow-up"), YCe = vP("arrow-down");+function XCe(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = KCe(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, E.useRef)(null), h = (0, E.useRef)(null), g = (0, E.useRef)(null), _ = (0, E.useRef)(null), v = (0, E.useRef)(null), y = (0, E.useRef)(null), b = (0, E.useRef)(null), x = oj(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = oj(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, E.useRef)(null), w = (0, E.useRef)(null), T = u?.mediaCounts ? u : null, O = oj(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);+ })) : i, m = (0, E.useRef)(null), h = (0, E.useRef)(null), g = (0, E.useRef)(null), _ = (0, E.useRef)(null), v = (0, E.useRef)(null), y = (0, E.useRef)(null), b = (0, E.useRef)(null), x = lj(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = lj(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, E.useRef)(null), w = (0, E.useRef)(null), T = u?.mediaCounts ? u : null, O = lj(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);return (0, E.useEffect)(() => {c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);- }, [c]), /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(gI, {+ }, [c]), /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(yI, {items: o,hidden: !l,actions: s- }), /* @__PURE__ */ (0, D.jsx)(tj, {+ }), /* @__PURE__ */ (0, D.jsx)(ij, {label: "筛选与排序",topLabel: "媒体与标签",attrs: {@@ -48151,19 +48160,19 @@ function QCe(e) {})] }),top: !n && !d ? null : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- n ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(nwe, {+ n ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(ewe, {keys: n,view: t,row: _,glide: S,onView: s.setView- }), d ? /* @__PURE__ */ (0, D.jsx)(hI, {}) : null] }) : null,- T ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(ewe, {+ }), d ? /* @__PURE__ */ (0, D.jsx)(vI, {}) : null] }) : null,+ T ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(QCe, {head: T,row: w,glide: O,onMedia: s.onlineMedia- }), /* @__PURE__ */ (0, D.jsx)(hI, {})] }) : null,+ }), /* @__PURE__ */ (0, D.jsx)(vI, {})] }) : null,/* @__PURE__ */ (0, D.jsxs)("div", {ref: v,"data-entity-scroll": "",@@ -48184,11 +48193,11 @@ function QCe(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, D.jsx)(hI, {}) : null]+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, D.jsx)(vI, {}) : null]}), /* @__PURE__ */ (0, D.jsx)("div", {ref: y,"data-entity-tags": "",- children: l ? a.map((e) => /* @__PURE__ */ (0, D.jsxs)(nj, {+ children: l ? a.map((e) => /* @__PURE__ */ (0, D.jsxs)(aj, {"data-entity-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -48197,17 +48206,17 @@ function QCe(e) {"data-count-badge": e.k,children: e.n.toLocaleString()})]- }, e.k)) : u ? /* @__PURE__ */ (0, D.jsx)(twe, {+ }, e.k)) : u ? /* @__PURE__ */ (0, D.jsx)($Ce, {head: u,actions: s}) : null})]})] }),- bottom: /* @__PURE__ */ (0, D.jsx)(rwe, { ...e })+ bottom: /* @__PURE__ */ (0, D.jsx)(twe, { ...e })})] });}-var $Ce = [[+var ZCe = [["videos","视频","play",@@ -48218,7 +48227,7 @@ var $Ce = [["pics","image"]];-function ewe({ head: e, row: t, glide: n, onMedia: r }) {+function QCe({ head: e, row: t, glide: n, onMedia: r }) {return /* @__PURE__ */ (0, D.jsx)("div", {ref: t,role: "group",@@ -48226,7 +48235,7 @@ function ewe({ head: e, row: t, glide: n, onMedia: r }) {"data-entity-media": "","data-online-media": "",onPointerLeave: n.leave,- children: $Ce.map(([t, i, a, o]) => {+ children: ZCe.map(([t, i, a, o]) => {let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;return /* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -48244,7 +48253,7 @@ function ewe({ head: e, row: t, glide: n, onMedia: r }) {})});}-function twe({ head: e, actions: t }) {+function $Ce({ head: e, actions: t }) {return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [e.providers.map(([n, r]) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -48254,10 +48263,10 @@ function twe({ head: e, actions: t }) {title: r,"aria-label": `来源:${r}`,onClick: () => t.onlineProvider(n),- dangerouslySetInnerHTML: { __html: $F(n) }+ dangerouslySetInnerHTML: { __html: nI(n) }}, n)),- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, D.jsx)(hI, {}) : null,- e.tags.map((e) => /* @__PURE__ */ (0, D.jsxs)(nj, {+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, D.jsx)(vI, {}) : null,+ e.tags.map((e) => /* @__PURE__ */ (0, D.jsxs)(aj, {"data-follow-tag": e.k,"data-entity-press": "","data-tag-cat": `r34-${e.cat}`,@@ -48270,7 +48279,7 @@ function twe({ head: e, actions: t }) {}, e.k))] });}-function nwe({ keys: e, view: t, row: n, glide: r, onView: i }) {+function ewe({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -48318,7 +48327,7 @@ function nwe({ keys: e, view: t, row: n, glide: r, onView: i }) {})});}-function gI({ items: e, hidden: t, actions: n }) {+function yI({ items: e, hidden: t, actions: n }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-entity-combo": "",hidden: t,@@ -48338,7 +48347,7 @@ function gI({ items: e, hidden: t, actions: n }) {})] }) : null});}-function rwe(e) {+function twe(e) {let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [t === "photos" && a?.back ? /* @__PURE__ */ (0, D.jsxs)("button", {@@ -48350,27 +48359,27 @@ function rwe(e) {dangerouslySetInnerHTML: { __html: z("chevron-left") }}), /* @__PURE__ */ (0, D.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, D.jsx)(iwe, {+ /* @__PURE__ */ (0, D.jsx)(nwe, {text: n,busy: r}),- /* @__PURE__ */ (0, D.jsx)(kP, { currentHref: () => location.pathname + location.search }),- t === "videos" && i ? /* @__PURE__ */ (0, D.jsx)(awe, {+ /* @__PURE__ */ (0, D.jsx)(MP, { currentHref: () => location.pathname + location.search }),+ t === "videos" && i ? /* @__PURE__ */ (0, D.jsx)(rwe, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, D.jsx)(swe, {+ t === "photos" && a ? /* @__PURE__ */ (0, D.jsx)(awe, {head: a,actions: o,helpers: s}) : null,- t === "online" && e.online ? /* @__PURE__ */ (0, D.jsx)(owe, {+ t === "online" && e.online ? /* @__PURE__ */ (0, D.jsx)(iwe, {head: e.online,actions: o}) : null] });}-function iwe({ text: e, busy: t }) {+function nwe({ text: e, busy: t }) {return /* @__PURE__ */ (0, D.jsx)("h3", {"data-entity-readout": "",children: t ? /* @__PURE__ */ (0, D.jsx)("span", {@@ -48380,22 +48389,22 @@ function iwe({ text: e, busy: t }) {}) : e});}-function _I({ name: e, label: t, value: n, options: r, onChange: i }) {- return /* @__PURE__ */ (0, D.jsx)(vN, {+function bI({ name: e, label: t, value: n, options: r, onChange: i }) {+ return /* @__PURE__ */ (0, D.jsx)(xN, {name: e,"aria-label": t,orientation: "horizontal",value: n,onChange: i,"data-entity-layout": "",- className: KF,+ className: YF,children: r.map(([e, t, n]) => {- let r = hP(n);- return /* @__PURE__ */ (0, D.jsx)(yN, {+ let r = vP(n);+ return /* @__PURE__ */ (0, D.jsx)(SN, {value: e,"aria-label": t,"data-glass-segment": "",- className: qF,+ className: XF,children: /* @__PURE__ */ (0, D.jsx)("span", {title: t,className: "contents",@@ -48405,38 +48414,38 @@ function _I({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function vI({ onPress: e, busy: t = !1 }) {- return /* @__PURE__ */ (0, D.jsx)(ej, {+function xI({ onPress: e, busy: t = !1 }) {+ return /* @__PURE__ */ (0, D.jsx)(rj, {"data-entity-batch": "",label: "换一批",busy: t,busyStyle: "strand",- icon: YCe,+ icon: qCe,onPress: e});}-function awe({ head: e, actions: t }) {- let n = HE();+function rwe({ head: e, actions: t }) {+ let n = GE();return /* @__PURE__ */ (0, D.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, D.jsx)(vI, { onPress: () => void t.reshuffle() }),- e.jav && n === "cards" ? /* @__PURE__ */ (0, D.jsx)(_I, {+ /* @__PURE__ */ (0, D.jsx)(xI, { onPress: () => void t.reshuffle() }),+ e.jav && n === "cards" ? /* @__PURE__ */ (0, D.jsx)(bI, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,onChange: t.setJavLayout}) : null,- /* @__PURE__ */ (0, D.jsx)(JF, {}),- /* @__PURE__ */ (0, D.jsx)(BF, {}),- /* @__PURE__ */ (0, D.jsx)(yI, {+ /* @__PURE__ */ (0, D.jsx)(ZF, {}),+ /* @__PURE__ */ (0, D.jsx)(UF, {}),+ /* @__PURE__ */ (0, D.jsx)(SI, {sorts: e.sorts,onSort: t.setSort})]});}-function yI({ sorts: e, onSort: t }) {+function SI({ sorts: e, onSort: t }) {return /* @__PURE__ */ (0, D.jsx)(D.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-entity-sort": e.key,@@ -48444,20 +48453,20 @@ function yI({ 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, D.jsx)(YF, {- a: XCe,- b: ZCe,+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, D.jsx)(QF, {+ a: JCe,+ b: YCe,state: e.dir === "asc" ? "a" : "b",className: "size-3.5"}) : null]}, e.key)) });}-function owe({ head: e, actions: t }) {+function iwe({ head: e, actions: t }) {return /* @__PURE__ */ (0, D.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, D.jsx)(vI, { onPress: t.onlineShuffle }),- e.media === "images" ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(_I, {+ /* @__PURE__ */ (0, D.jsx)(xI, { onPress: t.onlineShuffle }),+ e.media === "images" ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(bI, {label: "图片布局",value: e.photoLayout,options: e.photoLayouts,@@ -48477,27 +48486,27 @@ function owe({ head: e, actions: t }) {dangerouslySetInnerHTML: { __html: z("captions-off") }})]})] }) : null,- /* @__PURE__ */ (0, D.jsx)(yI, {+ /* @__PURE__ */ (0, D.jsx)(SI, {sorts: e.sorts,onSort: t.onlineSort})]});}-function swe({ head: e, actions: t, helpers: n }) {+function awe({ head: e, actions: t, helpers: n }) {let [r, i] = (0, E.useState)(!1), a = (0, E.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";return (0, E.useEffect)(() => {a.current && o && n.wireSourceTools(a.current);}, [n, o]), /* @__PURE__ */ (0, D.jsxs)("span", {"data-entity-sorts": "",children: [- e.shuffle ? /* @__PURE__ */ (0, D.jsx)(vI, {+ e.shuffle ? /* @__PURE__ */ (0, D.jsx)(xI, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, D.jsx)(_I, {+ /* @__PURE__ */ (0, D.jsx)(bI, {label: "图片布局",value: e.layout,options: e.layouts,@@ -48513,31 +48522,31 @@ function swe({ head: e, actions: t, helpers: n }) {}//#endregion//#region src/react/catalog-filter/catalog-filter-page.tsx-var bI = "";-function cwe(e) {- let t = !e.tiers, n = hwe(e.comboHost);+var CI = "";+function owe(e) {+ let t = !e.tiers, n = pwe(e.comboHost);return /* @__PURE__ */ (0, D.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,"data-refreshing": e.refreshing || void 0,className: "contents",children: [- n ? (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(gI, {+ n ? (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(yI, {items: e.combo,hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, D.jsx)(dwe, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, D.jsx)(lwe, { ...e })+ /* @__PURE__ */ (0, D.jsx)(lwe, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, D.jsx)(swe, { ...e })]});}-function lwe(e) {- let { actions: t, helpers: n } = e, r = (0, E.useRef)(null), i = (0, E.useRef)(null), a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useRef)(null), [c, l] = (0, E.useState)(!1), u = oj(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);+function swe(e) {+ let { actions: t, helpers: n } = e, r = (0, E.useRef)(null), i = (0, E.useRef)(null), a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useRef)(null), [c, l] = (0, E.useState)(!1), u = lj(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, E.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let d = !e.tiers, f = SI(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let d = !e.tiers, f = TI(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, E.useLayoutEffect)(() => {let e = a.current?.closest("[data-catalog-frame]");if (!e) return;@@ -48554,7 +48563,7 @@ function lwe(e) {e.sorts]), (0, E.useLayoutEffect)(() => {Jo(o.current, "tagbar");- }, [f]), /* @__PURE__ */ (0, D.jsx)(tj, {+ }, [f]), /* @__PURE__ */ (0, D.jsx)(ij, {label: "筛选与排序",topLabel: "视图与标签",attrs: {@@ -48598,17 +48607,17 @@ function lwe(e) {}), /* @__PURE__ */ (0, D.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || d ? /* @__PURE__ */ (0, D.jsx)(xI, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, D.jsx)(uwe, {+ children: [e.empty || d ? /* @__PURE__ */ (0, D.jsx)(wI, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, D.jsx)(cwe, {tag: e,onPress: t.toggleTag}, e.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, D.jsx)(pwe, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, D.jsx)(dwe, { ...e })});}-function uwe({ tag: e, onPress: t }) {- return /* @__PURE__ */ (0, D.jsxs)(nj, {+function cwe({ tag: e, onPress: t }) {+ return /* @__PURE__ */ (0, D.jsxs)(aj, {"data-catalog-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -48619,12 +48628,12 @@ function uwe({ tag: e, onPress: t }) {})]});}-function dwe(e) {+function lwe(e) {let { actions: t, helpers: n } = e, r = e.tiers ?? {key: "",performers: [],studios: []- }, i = e.empty || !e.tiers, a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useCallback)((e) => () => t.moreTops(e), [t]), c = SI(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = SI(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;+ }, i = e.empty || !e.tiers, a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useCallback)((e) => () => t.moreTops(e), [t]), c = TI(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = TI(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;return (0, E.useEffect)(() => {n.wireDrag(a.current), n.wireDrag(o.current);}, [@@ -48637,7 +48646,7 @@ function dwe(e) {children: [u ? /* @__PURE__ */ (0, D.jsx)("div", {ref: a,"data-catalog-tier": "performers",- children: i ? /* @__PURE__ */ (0, D.jsx)(xI, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, D.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, D.jsx)(wI, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -48654,18 +48663,18 @@ function dwe(e) {}) : null, d ? /* @__PURE__ */ (0, D.jsx)("div", {ref: o,"data-catalog-tier": "studios",- children: i ? /* @__PURE__ */ (0, D.jsx)(xI, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, D.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, D.jsx)(wI, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-tier-studio": "","data-entity-kind": "studio","data-entity-name": e.name,onClick: () => t.openEntity("studio", e.name),- children: [/* @__PURE__ */ (0, D.jsx)(fwe, { studio: e }), e.name]+ children: [/* @__PURE__ */ (0, D.jsx)(uwe, { studio: e }), e.name]}, e.name))}) : null]});}-function fwe({ studio: e }) {+function uwe({ studio: e }) {let [t, n] = (0, E.useState)(!1);return /* @__PURE__ */ (0, D.jsx)("span", {"data-tier-mark": "",@@ -48679,7 +48688,7 @@ function fwe({ studio: e }) {}) : e.fallback});}-function xI({ kind: e }) {+function wI({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, D.jsx)("span", {"data-catalog-placeholder": "tag",@@ -48695,37 +48704,37 @@ function xI({ kind: e }) {children: [/* @__PURE__ */ (0, D.jsx)("span", {}), /* @__PURE__ */ (0, D.jsx)("span", { children: "\xA0" })]}, t)) });}-function pwe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {- let a = HE(), [o, s] = (0, E.useState)(!1);+function dwe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+ let a = GE(), [o, s] = (0, E.useState)(!1);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("span", {"data-catalog-summary": "",- children: [/* @__PURE__ */ (0, D.jsx)(mwe, { count: e }), /* @__PURE__ */ (0, D.jsx)(kP, { currentHref: i.currentHref })]+ children: [/* @__PURE__ */ (0, D.jsx)(fwe, { count: e }), /* @__PURE__ */ (0, D.jsx)(MP, { currentHref: i.currentHref })]}), /* @__PURE__ */ (0, D.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, D.jsx)(vI, {+ /* @__PURE__ */ (0, D.jsx)(xI, {onPress: () => {s(!0), i.reshuffle().finally(() => s(!1));},busy: o || t}),- n && a === "cards" ? /* @__PURE__ */ (0, D.jsx)(_I, {+ n && a === "cards" ? /* @__PURE__ */ (0, D.jsx)(bI, {name: n.name,label: n.label,value: n.value,options: n.options,onChange: i.setLayout}, n.name) : null,- /* @__PURE__ */ (0, D.jsx)(JF, {}),- /* @__PURE__ */ (0, D.jsx)(BF, {}),- /* @__PURE__ */ (0, D.jsx)(yI, {+ /* @__PURE__ */ (0, D.jsx)(ZF, {}),+ /* @__PURE__ */ (0, D.jsx)(UF, {}),+ /* @__PURE__ */ (0, D.jsx)(SI, {sorts: r,onSort: i.setSort})]})] });}-function mwe({ count: e }) {+function fwe({ count: e }) {let t = (0, E.useRef)(null), n = (0, E.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";return (0, E.useLayoutEffect)(() => {if (e === !1) return;@@ -48734,7 +48743,7 @@ function mwe({ count: e }) {return;}let i = t.current;- i && (bI && i.dataset.popCount === void 0 && (i.dataset.popCount = bI), bI = r, Go(i, r));+ i && (CI && i.dataset.popCount === void 0 && (i.dataset.popCount = CI), CI = r, Go(i, r));}, [e, r]), e === !1 ? /* @__PURE__ */ (0, D.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, D.jsx)("span", {ref: t,"data-catalog-readout": "",@@ -48750,7 +48759,7 @@ function mwe({ count: e }) {})}, "skeleton");}-function hwe(e) {+function pwe(e) {let [t, n] = (0, E.useState)(null);return (0, E.useLayoutEffect)(() => {if (!e) return;@@ -48760,7 +48769,7 @@ function hwe(e) {};}, [e]), t;}-function SI(e, t, n, r, i) {+function TI(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -48800,7 +48809,7 @@ function SI(e, t, n, r, i) {}//#endregion//#region src/react/components/grid-reveal.tsx-function CI(e, t) {+function EI(e, t) {let [n, r] = (0, E.useState)(e ? "skeleton" : "none"), [i] = (0, E.useState)(() => e ? t() : ""), a = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {a.current && as(a.current);@@ -48826,7 +48835,7 @@ function CI(e, t) {fading: n === "fade"};}-function wI({ message: e, onRetry: t }) {+function DI({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-media-error": "",onClick: (e) => {@@ -48840,19 +48849,19 @@ function wI({ message: e, onRetry: t }) {}//#endregion//#region src/react/components/overlay-host.ts-function gwe(e) {+function mwe(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 TI(e) {+function OI(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return gwe(n ?? t.body);+ return mwe(n ?? t.body);}//#endregion//#region src/react/components/row-click.ts-var _we = [+var hwe = ["a","button","input",@@ -48865,46 +48874,46 @@ var _we = ["[role=\"link\"]","[role=\"menu\"]"].join(",");-function EI(e, t) {+function kI(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest(_we);+ let r = n.closest(hwe);return !r || !t.contains(r) || r === t;}-function DI(e) {+function AI(e) {e.shiftKey && e.preventDefault();}//#endregion//#region src/react/components/media-card.tsx-var vwe = 9 / 16, OI = "未命名视频";-function kI({ name: e }) {+var gwe = 9 / 16, jI = "未命名视频";+function MI({ name: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })});}-var ywe = {+var _we = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"-}, bwe = {+}, vwe = {manual: "手动",junk: "垃圾",duplicate: "重复",missing: "文件缺失"};-function AI({ item: e }) {+function NI({ item: e }) {if (e.disposal !== "trash") return null;- let t = e.disposal_reason && bwe[e.disposal_reason] || "原因未记录";+ let t = e.disposal_reason && vwe[e.disposal_reason] || "原因未记录";return /* @__PURE__ */ (0, D.jsx)("span", {"data-media-disposal-reason": "",title: `归入原因:${t}`,children: t});}-function jI({ item: e, actions: t }) {+function PI({ item: e, actions: t }) {let [n, r] = (0, E.useState)(!1), [i, a] = (0, E.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -48923,10 +48932,10 @@ function jI({ item: e, actions: t }) {children: i}) : null] });}-function MI(e, t, n) {- return t === "short" ? vwe : ZT(n);+function FI(e, t, n) {+ return t === "short" ? gwe : $T(n);}-function xwe(e) {+function ywe(e) {let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = Pa(e), s = i[0] || "", c = ba(e);return {avatar: r ? /* @__PURE__ */ (0, D.jsx)("div", {@@ -48958,7 +48967,7 @@ function xwe(e) {"data-entity-kind": "performer","data-entity-name": s,title: s,- children: [/* @__PURE__ */ (0, D.jsx)(kI, { name: "user-round" }), /* @__PURE__ */ (0, D.jsx)("span", { children: s })]+ children: [/* @__PURE__ */ (0, D.jsx)(MI, { name: "user-round" }), /* @__PURE__ */ (0, D.jsx)("span", { children: s })]}), /* @__PURE__ */ (0, D.jsx)("span", {"data-media-who-more": "",children: `等 ${o} 人`@@ -48968,16 +48977,16 @@ function xwe(e) {"data-entity-kind": t,"data-entity-name": n,title: n,- children: [/* @__PURE__ */ (0, D.jsx)(kI, { name: "user-round" }), /* @__PURE__ */ (0, D.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, D.jsx)(MI, { name: "user-round" }), /* @__PURE__ */ (0, D.jsx)("span", { children: n })]}) : /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-media-who": "","data-open-unowned": "",- children: [/* @__PURE__ */ (0, D.jsx)(kI, { name: "user-round" }), /* @__PURE__ */ (0, D.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, D.jsx)(MI, { name: "user-round" }), /* @__PURE__ */ (0, D.jsx)("span", { children: n })]})};}-function Swe() {+function bwe() {return /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-media-preview": "",@@ -48996,7 +49005,7 @@ function Swe() {})]});}-function Cwe({ item: e, actions: t, on: n, onChange: r }) {+function xwe({ item: e, actions: t, on: n, onChange: r }) {let [i, a] = (0, E.useState)(!1);return /* @__PURE__ */ (0, D.jsx)("div", {"data-media-later": "",@@ -49011,11 +49020,11 @@ function Cwe({ item: e, actions: t, on: n, onChange: r }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, D.jsx)(kI, { name: n ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, D.jsx)(MI, { name: n ? "check" : "bookmark-plus" })})});}-function wwe({ reason: e }) {+function Swe({ reason: e }) {let t = (0, E.useRef)(null), [n, r] = (0, E.useState)(!1);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("button", {ref: t,@@ -49030,16 +49039,16 @@ function wwe({ reason: e }) {},children: e}), /* @__PURE__ */ (0, D.jsx)(yS, {- getContainer: () => TI(t.current),- children: /* @__PURE__ */ (0, D.jsx)(QM, {+ getContainer: () => OI(t.current),+ children: /* @__PURE__ */ (0, D.jsx)(tN, {triggerRef: t,isOpen: n,onOpenChange: r,placement: "top",offset: 8,containerPadding: 12,- className: NP,- children: /* @__PURE__ */ (0, D.jsx)(dN, {+ className: IP,+ children: /* @__PURE__ */ (0, D.jsx)(mN, {"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",@@ -49048,17 +49057,17 @@ function wwe({ reason: e }) {})})] });}-function NI(e, t) {+function II(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 Twe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {+function Cwe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {let l = (0, E.useRef)(null), [u, d] = (0, E.useState)(null), f = u?.id === e.id ? u.on : !!e.watch_later, p = (0, E.useRef)(e);p.current = e;let m = (0, E.useCallback)((e) => {let t = p.current;l.current && l.current !== e && Dc(l.current), l.current = e, e && (!t.medium || t.medium === "video") && kc(e, t);- }, []), h = e.part_group || null, g = e.edition_group || null, _ = !!(h || g), v = n.active && e.is_jav ? n.size : "small", y = Aa(e, v, !1, n.javImage), b = v === "small" ? y.html : Aa(e, "small", !1, n.javImage).html, x = h?.title || e.name || "", S = o.displayName(e, x).trim() || OI, C = o.titleHtml(e, x).trim() || B(OI), w = h?.total_size ?? e.size, T = h?.total_duration ?? e.duration, O = !h && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: k, who: A } = xwe(e), j = (e.follow_tags || e.tags || []).slice(0, 3), M = (t) => {+ }, []), h = e.part_group || null, g = e.edition_group || null, _ = !!(h || g), v = n.active && e.is_jav ? n.size : "small", y = Aa(e, v, !1, n.javImage), b = v === "small" ? y.html : Aa(e, "small", !1, n.javImage).html, x = h?.title || e.name || "", S = o.displayName(e, x).trim() || jI, C = o.titleHtml(e, x).trim() || B(jI), w = h?.total_size ?? e.size, T = h?.total_duration ?? e.duration, O = !h && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: k, who: A } = ywe(e), j = (e.follow_tags || e.tags || []).slice(0, 3), M = (t) => {let n = t.target;if (n.closest("[data-media-reason-dialog]")) return;let r = l.current;@@ -49085,9 +49094,9 @@ function Twe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSu && r.contains(u) ? s.toggleTag(u.dataset.tag || "") : c(e, r);}, N = /* @__PURE__ */ (0, D.jsxs)("div", {"data-media-pic": "",- style: { "--card-ratio": String(MI(e, t, n)) },+ style: { "--card-ratio": String(FI(e, t, n)) },children: [- y.html ? /* @__PURE__ */ (0, D.jsx)(LA, {+ y.html ? /* @__PURE__ */ (0, D.jsx)(BA, {artwork: y,identity: b,relayout: (e) => yc(e, v)@@ -49101,11 +49110,11 @@ function Twe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS}),/* @__PURE__ */ (0, D.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, D.jsx)(kI, { name: "check" })+ children: /* @__PURE__ */ (0, D.jsx)(MI, { name: "check" })}),/* @__PURE__ */ (0, D.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, D.jsx)(kI, { name: "trash" }), /* @__PURE__ */ (0, D.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, D.jsx)(MI, { name: "trash" }), /* @__PURE__ */ (0, D.jsx)("b", { children: "回收站" })]}),h && !g ? /* @__PURE__ */ (0, D.jsx)("span", {"data-media-group": "",@@ -49120,7 +49129,7 @@ function Twe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-media-duration": "",children: ln(T)}),- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, D.jsx)(jI, {+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, D.jsx)(PI, {item: e,actions: s}) : null,@@ -49136,8 +49145,8 @@ function Twe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-media-scrub": "",children: /* @__PURE__ */ (0, D.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })}),- /* @__PURE__ */ (0, D.jsx)(Swe, {}),- i ? null : /* @__PURE__ */ (0, D.jsx)(Cwe, {+ /* @__PURE__ */ (0, D.jsx)(bwe, {}),+ i ? null : /* @__PURE__ */ (0, D.jsx)(xwe, {item: e,actions: s,on: f,@@ -49152,27 +49161,27 @@ function Twe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS/* @__PURE__ */ (0, D.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), NI(l.current, -a);+ e.stopPropagation(), II(l.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, D.jsx)(kI, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, D.jsx)(MI, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, D.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), NI(l.current, a);+ e.stopPropagation(), II(l.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, D.jsx)(kI, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, D.jsx)(MI, { name: "rotate-cw" })}),/* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, D.jsx)(kI, { name: "expand" })+ children: /* @__PURE__ */ (0, D.jsx)(MI, { name: "expand" })})]})@@ -49190,7 +49199,7 @@ function Twe({ 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: M,- onMouseDown: DI,+ onMouseDown: AI,children: [/* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -49230,15 +49239,15 @@ function Twe({ 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, D.jsx)(kI, { name: "calendar" }), e.release_date]+ children: [/* @__PURE__ */ (0, D.jsx)(MI, { name: "calendar" }), e.release_date]}) : null,/* @__PURE__ */ (0, D.jsxs)("span", {"data-media-size": "",- children: [/* @__PURE__ */ (0, D.jsx)(kI, { name: "hard-drive" }), Number(w) > 0 ? dn(Number(w)) : "大小未知"]+ children: [/* @__PURE__ */ (0, D.jsx)(MI, { name: "hard-drive" }), Number(w) > 0 ? dn(Number(w)) : "大小未知"]})]}),- t === "next" ? e.why ? /* @__PURE__ */ (0, D.jsx)(wwe, { reason: e.why }) : null : j.length || e.disposal === "trash" ? /* @__PURE__ */ (0, D.jsx)("div", {+ t === "next" ? e.why ? /* @__PURE__ */ (0, D.jsx)(Swe, { reason: e.why }) : null : j.length || e.disposal === "trash" ? /* @__PURE__ */ (0, D.jsx)("div", {"data-media-tags": "",children: j.map((t) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -49248,15 +49257,15 @@ function Twe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSchildren: o.tagLabel(t)}, t))}) : null,- /* @__PURE__ */ (0, D.jsx)(AI, { item: e })+ /* @__PURE__ */ (0, D.jsx)(NI, { item: e })]})]})]});}-function Ewe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {- let o = (0, E.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : ywe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";+function wwe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {+ let o = (0, E.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : _we[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";return /* @__PURE__ */ (0, D.jsxs)("article", {ref: o,"data-media-card": "",@@ -49268,14 +49277,14 @@ function Ewe({ 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: DI,+ onMouseDown: AI,children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-media-pic": "",style: { "--card-ratio": "1.7777777777777777" },children: [/* @__PURE__ */ (0, D.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, D.jsx)(kI, { name: u }), /* @__PURE__ */ (0, D.jsx)("b", { children: l })]+ children: [/* @__PURE__ */ (0, D.jsx)(MI, { name: u }), /* @__PURE__ */ (0, D.jsx)("b", { children: l })]}),s ? /* @__PURE__ */ (0, D.jsx)("span", {"data-media-art": "thumb",@@ -49287,13 +49296,13 @@ function Ewe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp}),/* @__PURE__ */ (0, D.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, D.jsx)(kI, { name: "check" })+ children: /* @__PURE__ */ (0, D.jsx)(MI, { name: "check" })}),/* @__PURE__ */ (0, D.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, D.jsx)(kI, { name: "trash" }), /* @__PURE__ */ (0, D.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, D.jsx)(MI, { name: "trash" }), /* @__PURE__ */ (0, D.jsx)("b", { children: "回收站" })]}),- n ? null : /* @__PURE__ */ (0, D.jsx)(jI, {+ n ? null : /* @__PURE__ */ (0, D.jsx)(PI, {item: e,actions: i})@@ -49304,7 +49313,7 @@ function Ewe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp"data-media-avatar": "","data-media-kind-glyph": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, D.jsx)(kI, { name: u })+ children: /* @__PURE__ */ (0, D.jsx)(MI, { name: u })}), /* @__PURE__ */ (0, D.jsxs)("div", {"data-media-text": "",children: [@@ -49332,29 +49341,29 @@ function Ewe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp]}),e.disposal === "trash" ? /* @__PURE__ */ (0, D.jsx)("div", { "data-media-tags": "" }) : null,- /* @__PURE__ */ (0, D.jsx)(AI, { item: e })+ /* @__PURE__ */ (0, D.jsx)(NI, { item: e })]})]})]});}-function Dwe(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, D.jsx)(Ewe, { ...e }) : /* @__PURE__ */ (0, D.jsx)(Twe, { ...e });+function Twe(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, D.jsx)(wwe, { ...e }) : /* @__PURE__ */ (0, D.jsx)(Cwe, { ...e });}-var PI = (0, E.memo)(Dwe), Owe = 1100, kwe = 340, Awe = 5e3;-function jwe(e, t, n) {+var LI = (0, E.memo)(Twe), Ewe = 1100, Dwe = 340, Owe = 5e3;+function kwe(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, Awe);+ }, s = () => o(!1), c = setTimeout(s, Owe);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 FI({ load: e, canFlip: t, referrerPolicy: n }) {+function RI({ load: e, canFlip: t, referrerPolicy: n }) {let [r, i] = (0, E.useState)([]), [a, o] = (0, E.useState)(0), [s, c] = (0, E.useState)(null), l = (0, E.useRef)({live: !1,generation: 0,@@ -49396,11 +49405,11 @@ function FI({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => jwe(t, e, n)));+ let s = await Promise.all(a.map((t) => kwe(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, Owe);+ p(), e.cycle = setInterval(p, Ewe);}));};return (0, E.useEffect)(() => d, [d]), {@@ -49409,7 +49418,7 @@ function FI({ 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(kwe, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(Dwe, () => {e.armed = null, m();});},@@ -49420,8 +49429,8 @@ function FI({ load: e, canFlip: t, referrerPolicy: n }) {}//#endregion//#region src/react/components/mix-card.tsx-var II = hP("play");-function Mwe({ src: e }) {+var zI = vP("play");+function Awe({ src: e }) {let [t, n] = (0, E.useState)(!1);return t ? null : /* @__PURE__ */ (0, D.jsx)("img", {"data-mix-poster": "",@@ -49434,8 +49443,8 @@ function Mwe({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var LI = "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 Nwe({ faces: e, fallback: t, onOpenEntity: n }) {+var BI = "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 jwe({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, D.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, D.jsx)("button", {@@ -49443,18 +49452,18 @@ function Nwe({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${LI} cursor-pointer outline-none`,+ className: `${BI} cursor-pointer outline-none`,dangerouslySetInnerHTML: { __html: Sa(e.name, e, oa(e.name), e.kind) }}, `${e.kind}:${e.id}`))}) : /* @__PURE__ */ (0, D.jsx)("span", {"data-mix-initial": "","aria-hidden": !0,- className: `${LI} mt-0.5`,+ className: `${BI} mt-0.5`,children: t});}-function RI({ 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 = FI({+function VI({ 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 = RI({load: i,canFlip: a}), x = (0, E.useRef)(b.onPointerLeave);@@ -49481,11 +49490,11 @@ function RI({ 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, D.jsx)(LA, {+ f?.html ? /* @__PURE__ */ (0, D.jsx)(BA, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, D.jsx)(Mwe, { src: r }, r) : /* @__PURE__ */ (0, D.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, D.jsx)(Awe, { src: r }, r) : /* @__PURE__ */ (0, D.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -49515,7 +49524,7 @@ function RI({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:/* @__PURE__ */ (0, D.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, D.jsx)(II, {+ children: [/* @__PURE__ */ (0, D.jsx)(zI, {"aria-hidden": !0,className: "size-3.75"}), g ?? `${n.toLocaleString()} 个视频`]@@ -49528,8 +49537,8 @@ function RI({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:_ ? /* @__PURE__ */ (0, D.jsx)("span", {"data-mix-glyph": "","aria-hidden": !0,- children: /* @__PURE__ */ (0, D.jsx)(II, {})- }) : /* @__PURE__ */ (0, D.jsx)(Nwe, {+ children: /* @__PURE__ */ (0, D.jsx)(zI, {})+ }) : /* @__PURE__ */ (0, D.jsx)(jwe, {faces: o,fallback: hn(e),onOpenEntity: s@@ -49553,7 +49562,7 @@ function RI({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:}//#endregion//#region src/react/video-wall/folia/blockReflows.ts-var Pwe = [+var Mwe = [[[{@@ -53114,7 +53123,7 @@ var Pwe = [}]]-], zI = [+], HI = [[{x: 0,@@ -53411,89 +53420,89 @@ var Pwe = [rows: 2}]-], BI = (e) => e.map((e) => ({+], UI = (e) => e.map((e) => ({...e,x: 12 - e.x - e.cols-})), VI = (e) => e.map((e) => ({+})), WI = (e) => e.map((e) => ({...e,y: 8 - e.y - e.rows-})), HI = [+})), GI = [(e) => e,- BI,- VI,- (e) => BI(VI(e))-], UI = zI.flatMap((e) => HI.map((t) => t(e))), Fwe = Pwe.flatMap((e) => HI.map((t) => e.map(t)));-UI.length;-var Iwe = (e, t) => {+ UI,+ WI,+ (e) => UI(WI(e))+], KI = HI.flatMap((e) => GI.map((t) => t(e))), Nwe = Mwe.flatMap((e) => GI.map((t) => e.map(t)));+KI.length;+var Pwe = (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;-}, WI = (e, t) => {- let n = zI.length;- return ((e + t * 2) % n + n) % n * HI.length + Iwe(e, t) % HI.length;-}, Lwe = (e, t) => UI[WI(e, t)], Rwe = (e, t, n) => n < 0 || n >= 12 ? null : Fwe[WI(e, t)][n], GI = 103.36, KI = 6.08, qI = 12 * GI, JI = 8 * GI, YI = 12, XI = (e, t) => (e % t + t) % t, zwe = (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 ZI(e, t) {- let n = Math.max(1, Math.ceil(e / YI)), r = t ? 3 : Math.min(3, n);+}, qI = (e, t) => {+ let n = HI.length;+ return ((e + t * 2) % n + n) % n * GI.length + Pwe(e, t) % GI.length;+}, Fwe = (e, t) => KI[qI(e, t)], Iwe = (e, t, n) => n < 0 || n >= 12 ? null : Nwe[qI(e, t)][n], JI = 103.36, YI = 6.08, XI = 12 * JI, ZI = 8 * JI, QI = 12, $I = (e, t) => (e % t + t) % t, Lwe = (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 eL(e, t) {+ let n = Math.max(1, Math.ceil(e / QI)), r = t ? 3 : Math.min(3, n);return {columns: r,- width: r * qI,- height: Math.ceil(n / r) * JI+ width: r * XI,+ height: Math.ceil(n / r) * ZI};}-function QI(e, t, n) {- let { x: r, y: i, cols: a, rows: o } = Lwe(e, t)[n];+function tL(e, t, n) {+ let { x: r, y: i, cols: a, rows: o } = Fwe(e, t)[n];return {- x: e * qI + r * GI,- y: t * JI + i * GI,- width: a * GI - KI,- height: o * GI - KI+ x: e * XI + r * JI,+ y: t * ZI + i * JI,+ width: a * JI - YI,+ height: o * JI - YI};}-function Bwe(e) {+function Rwe(e) {return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);}-function $I(e, t, n) {+function nL(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 >= YI) return null;- let o = ZI(e, t), s = o.height / JI;+ ].every(Number.isInteger) || a < 0 || a >= QI) return null;+ let o = eL(e, t), s = o.height / ZI;if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;- let c = t ? r : XI(r, o.columns), l = ((t ? i : XI(i, s)) * o.columns + c) * YI + a;+ let c = t ? r : $I(r, o.columns), l = ((t ? i : $I(i, s)) * o.columns + c) * QI + a;return t && l >= e ? null : {- ...QI(r, i, a),+ ...tL(r, i, a),index: l % e,key: n};}-function Vwe(e, t) {+function zwe(e, t) {if (t < 0 || t >= e) return null;- let n = Math.floor(t / YI);- return $I(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % YI}`);+ let n = Math.floor(t / QI);+ return nL(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % QI}`);}-function eL(e, t, n) {- let [r, i, a] = n.key.split(":").map(Number), o = Rwe(r, i, a);+function rL(e, t, n) {+ let [r, i, a] = n.key.split(":").map(Number), o = Iwe(r, i, a);return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {- x: r * qI + e.x * GI,- y: i * JI + e.y * GI,- width: e.cols * GI - KI,- height: e.rows * GI - KI+ x: r * XI + e.x * JI,+ y: i * ZI + e.y * JI,+ width: e.cols * JI - YI,+ height: e.rows * JI - YI}]));}-function Hwe(e) {+function Bwe(e) {let t = 0, n = 0;for (let r = Math.max(0, e - 36); r < e; r += 1) {- let e = Math.floor(r / YI), i = QI(e % 3, Math.floor(e / 3), r % YI);+ let e = Math.floor(r / QI), i = tL(e % 3, Math.floor(e / 3), r % QI);t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);}return {- width: e >= 36 ? 3 * qI - KI : t,+ width: e >= 36 ? 3 * XI - YI : t,height: n};}-function Uwe(e, t, n, r) {+function Vwe(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 {@@ -53502,22 +53511,22 @@ function Uwe(e, t, n, r) {y: i(e.y, n.height, t.height)};}-function Wwe(e, t, n, r) {+function Hwe(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 = ZI(e, t), s = o.height / JI, c = [];- for (let n = Math.floor(a.y / JI); n <= Math.floor((a.y + a.height) / JI); n += 1) for (let r = Math.floor(a.x / qI); r <= Math.floor((a.x + a.width) / qI); r += 1) {+ }, o = eL(e, t), s = o.height / ZI, c = [];+ for (let n = Math.floor(a.y / ZI); n <= Math.floor((a.y + a.height) / ZI); n += 1) for (let r = Math.floor(a.x / XI); r <= Math.floor((a.x + a.width) / XI); r += 1) {if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;- let i = t ? r : XI(r, o.columns), l = t ? n : XI(n, s);- for (let s = 0; s < YI; s += 1) {- let u = (l * o.columns + i) * YI + s;+ let i = t ? r : $I(r, o.columns), l = t ? n : $I(n, s);+ for (let s = 0; s < QI; s += 1) {+ let u = (l * o.columns + i) * QI + s;if (t && u >= e) continue;- let d = QI(r, n, s);- zwe(d, a) && c.push({+ let d = tL(r, n, s);+ Lwe(d, a) && c.push({...d,index: u % e,key: `${r}:${n}:${s}`@@ -53526,7 +53535,7 @@ function Wwe(e, t, n, r) {}return c;}-var Gwe = class {+var Uwe = class {positions = /* @__PURE__ */ new Map();used = /* @__PURE__ */ new Set();cursor = 0;@@ -53538,7 +53547,7 @@ var Gwe = class {this.cursor = e;}tile(e, t) {- let n = this.positions.get(e), r = n === void 0 ? null : $I(t, !1, e);+ let n = this.positions.get(e), r = n === void 0 ? null : nL(t, !1, e);return r ? {...r,index: n@@ -53568,7 +53577,7 @@ var Gwe = class {let e = 0;for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));return {- x: (e + 2) * qI,+ x: (e + 2) * XI,y: 0};}@@ -53581,10 +53590,10 @@ var Gwe = class {c < i && (r = s, i = c);}if (r) return r;- let a = this.fresh(), o = `${Math.round(a.x / qI)}:0:0`;+ let a = this.fresh(), o = `${Math.round(a.x / XI)}:0:0`;return this.positions.set(o, t), this.used.add(t), this.tile(o, e);}-}, tL = [+}, iL = ["q","performer","series",@@ -53599,17 +53608,17 @@ var Gwe = class {"dur_max","region"];-function Kwe(e = {}) {- return tL.some((t) => !!e[t]);+function Wwe(e = {}) {+ return iL.some((t) => !!e[t]);}//#endregion//#region src/react/video-wall/use-wall-camera.ts-var nL = {+var aL = {x: 16,y: 16,scale: 1};-function qwe(e, t, n = nL, r = !1) {+function Gwe(e, t, n = aL, r = !1) {let i = (0, E.useRef)(null), a = (0, E.useRef)(null), o = (0, E.useRef)({width: 0,height: 0@@ -53629,7 +53638,7 @@ function qwe(e, t, n = nL, r = !1) {let f = (0, E.useRef)(null), p = (0, E.useRef)(null), m = (0, E.useRef)(!1), h = (0, E.useRef)(null), g = (0, E.useCallback)(() => {p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;}, []), _ = (0, E.useCallback)((e, t = !1, n = !1) => {- let { count: r, finite: c, focused: f } = d.current, p = Uwe(e, o.current, Hwe(r), c && !f && !n);+ let { count: r, finite: c, focused: f } = d.current, p = Vwe(e, o.current, Bwe(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));@@ -53729,7 +53738,7 @@ function qwe(e, t, n = nL, r = !1) {},snapshot: () => ({ ...s.current }),reset: () => {- g(), _({ ...nL }, !0);+ g(), _({ ...aL }, !0);},pan: (e, t) => {g(), _({@@ -53791,17 +53800,17 @@ function qwe(e, t, n = nL, r = !1) {}//#endregion//#region src/react/video-wall/wall-motion.ts-var Jwe = {+var Kwe = {type: "spring",stiffness: 300,damping: 34-}, Ywe = {+}, qwe = {delay: .14,duration: .24};//#endregion//#region src/react/video-wall/use-wall-playback.ts-function Xwe(e, t, n) {+function Jwe(e, t, n) {let [r, i] = (0, E.useState)({paused: !0,time: 0,@@ -53843,8 +53852,8 @@ function Xwe(e, t, n) {}//#endregion//#region src/react/video-wall/wall-controls.tsx-function Zwe({ 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 = j_(), x = Xwe(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {+function Ywe({ 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 = j_(), x = Jwe(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) {@@ -53861,7 +53870,7 @@ function Zwe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouopacity: 1,transform: "translateY(0px)"},- transition: b ? { duration: 0 } : Ywe,+ transition: b ? { duration: 0 } : qwe,children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-wall-control-row": "",children: [@@ -53966,7 +53975,7 @@ function Zwe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou}//#endregion//#region src/react/components/mix-queue.tsx-function rL({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+function oL({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {let c = (0, E.useRef)(null), l = (0, E.useCallback)((e) => {c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);}, [a]);@@ -54002,7 +54011,7 @@ function rL({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]});}-function iL({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function sL({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {let s = /* @__PURE__ */ (0, D.jsx)("span", {"data-mix-item-text": "",children: a@@ -54025,7 +54034,7 @@ function iL({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var Qwe = ({ label: e, count: t }) => /* @__PURE__ */ (0, D.jsxs)("h3", {+var Xwe = ({ label: e, count: t }) => /* @__PURE__ */ (0, D.jsxs)("h3", {"data-mix-group-label": "",children: [e,@@ -54035,28 +54044,28 @@ var Qwe = ({ label: e, count: t }) => /* @__PURE__ */ (0, D.jsxs)("h3", {});//#endregion//#region src/react/video-wall/wall-queue.tsx-function $we({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {+function Zwe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-wall-queue": "",id: "wall-queue",- children: /* @__PURE__ */ (0, D.jsx)(rL, {+ children: /* @__PURE__ */ (0, D.jsx)(oL, {kind: n,title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",summary: `${e.length} 个视频`,onClose: a,- children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)(iL, {+ children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)(sL, {current: e.id === t,"data-wall-source": e.id,"aria-label": [e.edition_label,- e.part_label ? nD(e.part_label) : "",+ e.part_label ? aD(e.part_label) : "",r(e)].filter(Boolean).join(" · "),onClick: () => i(e),- pic: /* @__PURE__ */ (0, D.jsx)(LA, { artwork: Aa(e, "small", !0, "cover") }),+ pic: /* @__PURE__ */ (0, D.jsx)(BA, { artwork: Aa(e, "small", !0, "cover") }),children: [/* @__PURE__ */ (0, D.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, D.jsx)("span", { children: [e.edition_label,- e.part_label ? nD(e.part_label) : "",+ e.part_label ? aD(e.part_label) : "",ln(e.duration)].filter(Boolean).join(" · ") })]}, e.id))@@ -54065,7 +54074,7 @@ function $we({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })}//#endregion//#region src/react/video-wall/wall-route.ts-function eTe(e = `${location.pathname}${location.search}`, t = {}) {+function Qwe(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",@@ -54080,18 +54089,18 @@ function eTe(e = `${location.pathname}${location.search}`, t = {}) {}return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;}-function aL(e = `${location.pathname}${location.search}`) {+function cL(e = `${location.pathname}${location.search}`) {let t = new URL(e, location.origin).searchParams;- for (let e of tL) t.delete(e);+ for (let e of iL) t.delete(e);return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;}-function oL() {- let e = new URLSearchParams(vk.navigation.location.search).get("returnTo") || "/";- vk.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");+function lL() {+ let e = new URLSearchParams(xk.navigation.location.search).get("returnTo") || "/";+ xk.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");}//#endregion//#region src/react/video-wall/video-wall.tsx-var sL = /* @__PURE__ */ new Map(), cL = (0, E.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {+var uL = /* @__PURE__ */ new Map(), dL = (0, E.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {let i = Aa(!e.is_jav && t === "thumbnail" && e.has_thumb ? {...e,has_cover: !1@@ -54104,7 +54113,7 @@ var sL = /* @__PURE__ */ new Map(), cL = (0, E.memo)(function({ item: e, image:ref: a,"data-media-pic": "",style: { "--card-ratio": String(r) },- children: /* @__PURE__ */ (0, D.jsx)(LA, {+ children: /* @__PURE__ */ (0, D.jsx)(BA, {artwork: i,relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {e.complete && e.naturalWidth && oc(e);@@ -54112,27 +54121,27 @@ var sL = /* @__PURE__ */ new Map(), cL = (0, E.memo)(function({ item: e, image:})});});-function tTe({ 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 $we({ 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, E.useState)(() => {- let e = sL.get(f);+ let e = uL.get(f);return e && (i || t || e.pool === p) ? e : void 0;- }), [h] = (0, E.useState)(() => m?.exploration || new Gwe()), g = (0, E.useRef)(!1), [_, v] = (0, E.useState)(null), y = (0, E.useRef)(null), b = (0, E.useRef)(null), x = (0, E.useRef)(null), S = (0, E.useRef)(null), C = (0, E.useRef)(null), [w, T] = (0, E.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [O, k] = (0, E.useState)(m?.selectedKey || ""), [A, j] = (0, E.useState)(m?.sourceId || null), [M, N] = (0, E.useState)(!1), P = w?.edition_group ? {+ }), [h] = (0, E.useState)(() => m?.exploration || new Uwe()), g = (0, E.useRef)(!1), [_, v] = (0, E.useState)(null), y = (0, E.useRef)(null), b = (0, E.useRef)(null), x = (0, E.useRef)(null), S = (0, E.useRef)(null), C = (0, E.useRef)(null), [w, T] = (0, E.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [O, k] = (0, E.useState)(m?.selectedKey || ""), [A, j] = (0, E.useState)(m?.sourceId || null), [M, N] = (0, E.useState)(!1), P = w?.edition_group ? {kind: "editions",seedId: w.edition_group.seed_id} : w?.part_group ? {kind: "parts",seedId: w.part_group.seed_id} : null, F = _t({- queryKey: JE(P || {+ queryKey: ZE(P || {kind: "parts",seedId: 0}),enabled: !!P,- queryFn: ({ signal: e }) => $E(P, {+ queryFn: ({ signal: e }) => nD(P, {tagLabel: u.tagLabel,mixRelated: async () => []}, e)- }), I = P ? F.data : void 0, ee = I?.items.find((e) => e.id === eD(I, A || w?.id || null)) || w, L = qwe(e.length, t && !!e.length, m?.camera || {+ }), I = P ? F.data : void 0, ee = I?.items.find((e) => e.id === rD(I, A || w?.id || null)) || w, L = Gwe(e.length, t && !!e.length, m?.camera || {x: 0,y: 0,scale: innerWidth < 640 ? .68 : 1@@ -54153,7 +54162,7 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:(0, E.useLayoutEffect)(() => {document.body.append(xe), L.viewport.current?.focus({ preventScroll: !0 });}, [xe]), (0, E.useEffect)(() => () => xe.remove(), [xe]);- let [Se, Ce] = (0, E.useState)(() => WO(vk.navigation.location.pathname)), [we, Te] = (0, E.useState)(m?.image || d), Ee = (0, E.useRef)(null), De = (0, E.useRef)(p), Oe = (0, E.useRef)(!!e.length);+ let [Se, Ce] = (0, E.useState)(() => qO(xk.navigation.location.pathname)), [we, Te] = (0, E.useState)(m?.image || d), Ee = (0, E.useRef)(null), De = (0, E.useRef)(p), Oe = (0, E.useRef)(!!e.length);Oe.current = !!e.length;let ke = (0, E.useRef)({selectedId: w?.id || null,@@ -54170,17 +54179,17 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:pool: p};let Ae = () => {- Oe.current && (sL.delete(f), sL.set(f, {+ Oe.current && (uL.delete(f), uL.set(f, {...ke.current,camera: L.snapshot(),exploration: h- }), sL.size > 8 && sL.delete(sL.keys().next().value));+ }), uL.size > 8 && uL.delete(uL.keys().next().value));};(0, E.useLayoutEffect)(Ae);- let je = Wwe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, L.view.camera, L.view.size), Me = i ? je.map((e) => ({+ let je = Hwe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, L.view.camera, L.view.size), Me = i ? je.map((e) => ({...e,index: -1- })) : t ? je : h.assign(je, e.length, n), Ne = w && (t ? $I(e.length, !0, O) : h.tile(O, e.length)), Pe = Ne ? eL(e.length, t, Ne) : /* @__PURE__ */ new Map();+ })) : t ? je : h.assign(je, e.length, n), Ne = w && (t ? nL(e.length, !0, O) : h.tile(O, e.length)), Pe = Ne ? rL(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, oe(null), ue(!1);@@ -54197,8 +54206,8 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:t,p,i- ]), (0, E.useEffect)(() => vk.listen((e) => {- let t = WO(e.location.pathname);+ ]), (0, E.useEffect)(() => xk.listen((e) => {+ let t = qO(e.location.pathname);t && (C.current?.abort(), S.current?.(!0), S.current = null, oe(null), ue(!1)), Ce(t);}), []), (0, E.useEffect)(() => () => {C.current?.abort(), S.current?.(!0), Ae();@@ -54219,7 +54228,7 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:w?.id !== n.id && Fe(!1), Ee.current = {key: r.key,id: n.id- }, fe(""), ce(null), T(n), k(r.key), j(null), N(!1), be(!1), L.reveal(eL(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));+ }, fe(""), ce(null), T(n), k(r.key), j(null), N(!1), be(!1), L.reveal(rL(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));}, Re = () => {ee && y.current && (Ae(), Fe(!0), l.wallDetails?.(ee, y.current.querySelector("[data-wall-focus]") || y.current));}, ze = async (e = ee) => {@@ -54241,7 +54250,7 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:C.current === t && ue(!1);}}, Be = () => {- let e = Spe(I || null, ae || 0);+ let e = bpe(I || null, ae || 0);e && (j(e.id), ze(e));};(0, E.useEffect)(() => {@@ -54263,7 +54272,7 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:let r = L.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {x: (L.view.size.width / 2 - r.x) / r.scale,y: (L.view.size.height / 2 - r.y) / r.scale- }, o = t ? Vwe(e.length, i) : h.nearest(e.length, i, a);+ }, o = t ? zwe(e.length, i) : h.nearest(e.length, i, a);o && (Le(n, o), ce(n.id));}, We = async () => {if (!(r || g.current)) {@@ -54355,7 +54364,7 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:/* @__PURE__ */ (0, D.jsx)("div", {"data-wall-focus-backdrop": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, D.jsx)(cL, {+ children: /* @__PURE__ */ (0, D.jsx)(dL, {item: w,image: we,big: !0@@ -54363,7 +54372,7 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, D.jsx)("div", {"data-wall-scene": "",- children: /* @__PURE__ */ (0, D.jsx)(cL, {+ children: /* @__PURE__ */ (0, D.jsx)(dL, {item: w,image: we,big: !0@@ -54392,7 +54401,7 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),Ye.code ? /* @__PURE__ */ (0, D.jsx)("strong", { children: Je(Ye).startsWith(Ye.code) ? Je(Ye).slice(Ye.code.length).trim() : Je(Ye) }) : null,/* @__PURE__ */ (0, D.jsx)("span", { children: Ye.performers?.join(" · ") || Ye.creator || "未归属" }),- I ? /* @__PURE__ */ (0, D.jsx)("small", { children: [Ye.edition_label, Ye.part_label ? nD(Ye.part_label) : ""].filter(Boolean).join(" · ") }) : null+ I ? /* @__PURE__ */ (0, D.jsx)("small", { children: [Ye.edition_label, Ye.part_label ? aD(Ye.part_label) : ""].filter(Boolean).join(" · ") }) : null]}),/* @__PURE__ */ (0, D.jsx)("button", {@@ -54419,7 +54428,7 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: "重试"}) : null]}) : null,- /* @__PURE__ */ (0, D.jsx)(Zwe, {+ /* @__PURE__ */ (0, D.jsx)(Ywe, {item: Ye,playing: ae,frame: b,@@ -54441,7 +54450,7 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:ended: Be,error: fe}),- M ? /* @__PURE__ */ (0, D.jsx)($we, {+ M ? /* @__PURE__ */ (0, D.jsx)(Zwe, {items: Ve,activeId: Ye.id,kind: I?.kind || "wall",@@ -54457,7 +54466,7 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-refreshing": _ !== null || void 0,hidden: Se,onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : w ? Ie() : ye ? be(!1) : oL());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : w ? Ie() : ye ? be(!1) : lL());},children: [/* @__PURE__ */ (0, D.jsx)("button", {@@ -54465,7 +54474,7 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-back": "","aria-label": "退出播放墙",title: "返回",- onClick: oL,+ onClick: lL,children: /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -54483,7 +54492,7 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}), /* @__PURE__ */ (0, D.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, D.jsx)(q, {size: "small",variant: "ghost",- onClick: () => vk.push(aL()),+ onClick: () => xk.push(cL()),children: "清除筛选"})]}) : null,@@ -54495,7 +54504,7 @@ function tTe({ 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"), Ae(), vk.push(`/wall?${t}`), be(!1);+ n ? t.set("q", n) : t.delete("q"), Ae(), xk.push(`/wall?${t}`), be(!1);},children: [/* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24",@@ -54509,18 +54518,18 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:defaultValue: new URLSearchParams(location.search).get("q") || ""})]}),- /* @__PURE__ */ (0, D.jsxs)(UF, {+ /* @__PURE__ */ (0, D.jsxs)(KF, {"aria-label": "播放墙图片",value: we,onChange: Te,- className: WF,- children: [/* @__PURE__ */ (0, D.jsx)(yN, {+ className: qF,+ children: [/* @__PURE__ */ (0, D.jsx)(SN, {value: "cover",- className: GF,+ className: JF,children: "封面"- }), /* @__PURE__ */ (0, D.jsx)(yN, {+ }), /* @__PURE__ */ (0, D.jsx)(SN, {value: "thumbnail",- className: GF,+ className: JF,children: "缩略图"})]}),@@ -54612,7 +54621,7 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:},whileHover: ie && !te && !r && ne ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,transition: te ? { duration: 0 } : {- layout: Jwe,+ layout: Kwe,transform: a ? {type: "spring",stiffness: 360,@@ -54645,7 +54654,7 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Le(n, t, !1));},children: r ? Xe : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(cL, {+ /* @__PURE__ */ (0, D.jsx)(dL, {item: n,image: we,ratio: i.width / i.height@@ -54710,7 +54719,7 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}) : null,!t && (n || e.length > 0) ? /* @__PURE__ */ (0, D.jsx)("div", {"data-wall-refresh": "",- children: /* @__PURE__ */ (0, D.jsx)(vI, {+ children: /* @__PURE__ */ (0, D.jsx)(xI, {busy: r,onPress: () => void Ke()})@@ -54757,7 +54766,7 @@ function tTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}//#endregion//#region src/catalog-onboarding.ts-var lL = [+var fL = ["loc","creator","performer",@@ -54775,19 +54784,19 @@ var lL = ["jav","thumb"];-function nTe(e = typeof location > "u" ? "/" : location.href) {+function eTe(e = typeof location > "u" ? "/" : location.href) {let t = new URL(e, "http://localhost");for (let e of [- ...lL,+ ...fL,"q","category","cat"]) t.searchParams.delete(e);return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;}-async function rTe(e, t) {+async function tTe(e, t) {let n = new URLSearchParams();- for (let t of lL) e[t] && n.set(t, e[t]);+ for (let t of fL) 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 || [],@@ -54798,9 +54807,9 @@ async function rTe(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function uL({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function pL({ 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 Vo("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: `<a class="geist-button primary" href="${t ? B(nTe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });+ if (t || n) return Vo("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: `<a class="geist-button primary" href="${t ? B(eTe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });if (e !== "catalog") {let t = (i ? {tags: "标签",@@ -54819,17 +54828,17 @@ function uL({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:}//#endregion//#region src/react/video-wall/wall-empty.ts-function iTe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {- return e ? r || uL() : t ? Vo("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Vo("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${aL()}">清除筛选</a>` });+function nTe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {+ return e ? r || pL() : t ? Vo("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Vo("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${cL()}">清除筛选</a>` });}//#endregion//#region src/react/library-processing/processing-actions.tsx-function aTe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {+function rTe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {let [a, o] = (0, E.useState)(t), [s, c] = (0, E.useState)(), [l, u] = (0, E.useState)("");return (0, E.useEffect)(() => {let t = new AbortController(), r, i = async (a) => {try {- let o = await ZSe(e, t.signal, a);+ let o = await YSe(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(() => {@@ -54847,7 +54856,7 @@ function aTe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "flex justify-center",- children: /* @__PURE__ */ (0, D.jsx)(hF, {+ children: /* @__PURE__ */ (0, D.jsx)(vF, {value: a,busy: i,onChange: (e) => {@@ -54855,7 +54864,7 @@ function aTe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}})}),- s ? /* @__PURE__ */ (0, D.jsx)(wF, {+ s ? /* @__PURE__ */ (0, D.jsx)(DF, {traffic: s,initial: !0}) : null,@@ -54867,7 +54876,7 @@ function aTe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {]});}-function dL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {+function mL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {let a = (0, E.useRef)(null), o = (0, E.useRef)(null), [s, c] = (0, E.useState)(null), l = (0, E.useRef)(r);(0, E.useEffect)(() => () => o.current?.close(), []);let [u, d] = (0, E.useState)(!1), f = {@@ -54925,7 +54934,7 @@ function dL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand});};return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- s ? (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(aTe, {+ s ? (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(rTe, {command: s.command,dialog: s.dialog,speed: r,@@ -54934,11 +54943,11 @@ function dL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standl.current = e;}}), s.host) : null,- s ? (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(Kk, {+ s ? (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(Yk, {href: "/settings/library",size: "small",variant: "primary",- trailingIcon: Ek,+ trailingIcon: kk,disabled: e,onClick: (e) => {s.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : s.dialog.close();@@ -54956,7 +54965,7 @@ function dL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand}), /* @__PURE__ */ (0, D.jsx)(q, {ref: a,iconOnly: !0,- leadingIcon: Tk,+ leadingIcon: Ok,"aria-label": "更多同步方式","aria-haspopup": "dialog","aria-expanded": u,@@ -54966,14 +54975,14 @@ function dL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand}})]}),- /* @__PURE__ */ (0, D.jsx)(QM, {+ /* @__PURE__ */ (0, D.jsx)(tN, {triggerRef: a,isOpen: u,onOpenChange: d,placement: "bottom end",offset: 4,- className: NP,- children: /* @__PURE__ */ (0, D.jsx)(lF, {+ className: IP,+ children: /* @__PURE__ */ (0, D.jsx)(fF, {"aria-label": "同步方式",className: "flex w-80 flex-col gap-1 outline-none",children: p.map(({ label: e, description: t, command: r }) => {@@ -54982,7 +54991,7 @@ function dL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standtype: "button",disabled: i,title: i ? "请先在媒体库设置中开启视频预览生成" : void 0,- className: oO(PP, FP, "text-body-2-medium"),+ className: lO(LP, RP, "text-body-2-medium"),onClick: () => m(r),children: /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",@@ -54999,37 +55008,37 @@ function dL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand}//#endregion//#region src/react/library-processing/library-completion.tsx-function fL(e, t) {+function hL(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) && !Aa(e, "small", !1, t).html).map((e) => e.id))];}-function pL({ assetIds: e, onComplete: t }) {- return e.length ? /* @__PURE__ */ (0, D.jsx)(oTe, {+function gL({ assetIds: e, onComplete: t }) {+ return e.length ? /* @__PURE__ */ (0, D.jsx)(iTe, {assetIds: e,onComplete: t}) : null;}-function oTe({ assetIds: e, onComplete: t }) {+function iTe({ assetIds: e, onComplete: t }) {let n = _t({- queryKey: QP,- queryFn: ({ signal: e }) => tF(e),- refetchInterval: (e) => iF(e.state.data, !0)+ queryKey: tF,+ queryFn: ({ signal: e }) => iF(e),+ refetchInterval: (e) => sF(e.state.data, !0)}), [r, i] = (0, E.useState)(null), [a, o] = (0, E.useState)(""), s = (0, E.useRef)(null), c = vt({- mutationFn: (t) => U(ZP, {+ mutationFn: (t) => U(eF, {...t,asset_ids: e}),onSuccess: (e) => {- i(e.job_id || null), W.setQueryData(QP, e), W.invalidateQueries({ queryKey: QP });+ i(e.job_id || null), W.setQueryData(tF, e), W.invalidateQueries({ queryKey: tF });}}), l = n.data;if ((0, E.useEffect)(() => {- l && r && l.job_id === r && !$P(l) && s.current !== r && (s.current = r, l.status === "complete" && o(`补全完成:取得 ${l.covers || 0} 张封面,生成 ${l.previews || 0} 部视频预览。`), W.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());+ l && r && l.job_id === r && !nF(l) && s.current !== r && (s.current = r, l.status === "complete" && o(`补全完成:取得 ${l.covers || 0} 张封面,生成 ${l.previews || 0} 部视频预览。`), W.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());}, [l,r,t- ]), $P(l)) return null;- let u = c.isPending || $P(l), d = c.error ? V(c.error) : n.error ? rF : r && l?.job_id === r && l.status === "failed" ? l.error || "补全未完成" : "", f = d || (c.isPending ? "正在启动补全…" : a || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);+ ]), nF(l)) return null;+ let u = c.isPending || nF(l), d = c.error ? V(c.error) : n.error ? oF : r && l?.job_id === r && l.status === "failed" ? l.error || "补全未完成" : "", f = d || (c.isPending ? "正在启动补全…" : a || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);return /* @__PURE__ */ (0, D.jsx)("section", {"aria-label": "补全预览","aria-live": "polite",@@ -55039,7 +55048,7 @@ function oTe({ assetIds: e, onComplete: t }) {tone: d ? "warning" : "neutral",action: /* @__PURE__ */ (0, D.jsx)("div", {className: "flex flex-wrap items-center gap-2",- children: /* @__PURE__ */ (0, D.jsx)(dL, {+ children: /* @__PURE__ */ (0, D.jsx)(mL, {busy: u,metadataOnly: l?.metadata_only,onRun: (e) => {@@ -55050,10 +55059,10 @@ function oTe({ assetIds: e, onComplete: t }) {children: [f," ",- /* @__PURE__ */ (0, D.jsx)(Kk, {+ /* @__PURE__ */ (0, D.jsx)(Yk, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: Ek,+ trailingIcon: kk,children: d ? "查看并处理" : "查看处理详情"})]@@ -55062,32 +55071,32 @@ function oTe({ assetIds: e, onComplete: t }) {}//#endregion//#region node_modules/@tanstack/react-table/dist/FlexRender.js-function sTe(e) {- return cTe(e) || typeof e == "function" || lTe(e);+function aTe(e) {+ return oTe(e) || typeof e == "function" || sTe(e);}-function cTe(e) {+function oTe(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function lTe(e) {+function sTe(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function mL(e, t) {- return e == null ? null : sTe(e) ? /* @__PURE__ */ E.createElement(e, t) : e;+function _L(e, t) {+ return e == null ? null : aTe(e) ? /* @__PURE__ */ E.createElement(e, t) : e;}-function uTe(e) {+function cTe(e) {if ("cell" in e && e.cell) {let t = e.cell, n = t.column.columnDef, r = t, i = n;- return r.getIsAggregated?.() ? mL(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : mL(n.cell, t.getContext());+ return r.getIsAggregated?.() ? _L(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : _L(n.cell, t.getContext());}- return "header" in e && e.header ? mL(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? mL(e.footer.column.columnDef.footer, e.footer.getContext()) : null;+ return "header" in e && e.header ? _L(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? _L(e.footer.column.columnDef.footer, e.footer.getContext()) : null;}//#endregion//#region node_modules/@tanstack/store/dist/alien.js/* @__NO_SIDE_EFFECTS__ */-function dTe({ update: e, notify: t, unwatched: n }) {+function lTe({ update: e, notify: t, unwatched: n }) {return {link: r,unlink: i,@@ -55205,7 +55214,7 @@ function dTe({ update: e, notify: t, unwatched: n }) {}//#endregion//#region node_modules/@tanstack/store/dist/atom.js-function fTe(e, t, n) {+function uTe(e, t, n) {let r = typeof e == "object", i = r ? e : void 0;return {next: (r ? e.next : e)?.bind(i),@@ -55213,38 +55222,38 @@ function fTe(e, t, n) {complete: (r ? e.complete : n)?.bind(i)};}-var hL = [], gL = 0, { link: _L, unlink: pTe, propagate: mTe, checkDirty: vL, shallowPropagate: yL } = /* @__PURE__ */ dTe({+var vL = [], yL = 0, { link: bL, unlink: dTe, propagate: fTe, checkDirty: xL, shallowPropagate: SL } = /* @__PURE__ */ lTe({update(e) {return e._update();},notify(e) {- hL[xL++] = e, e.flags &= -3;+ vL[wL++] = e, e.flags &= -3;},unwatched(e) {- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, wL(e));+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, DL(e));}-}), bL = 0, xL = 0, SL, CL = 0;-function hTe(e) {+}), CL = 0, wL = 0, TL, EL = 0;+function pTe(e) {try {- ++CL, e();+ ++EL, e();} finally {- --CL || TL();+ --EL || OL();}}-function wL(e) {+function DL(e) {let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;- for (; n !== void 0;) n = pTe(n, e);+ for (; n !== void 0;) n = dTe(n, e);}-function TL() {- if (!(CL > 0)) {- for (; bL < xL;) {- let e = hL[bL];- hL[bL++] = void 0, e.notify();+function OL() {+ if (!(EL > 0)) {+ for (; CL < wL;) {+ let e = vL[CL];+ vL[CL++] = void 0, e.notify();}- bL = 0, xL = 0;+ CL = 0, wL = 0;}}-function gTe(e, t) {+function mTe(e, t) {let n = typeof e == "function", r = e, i = {_snapshot: n ? void 0 : e,subs: void 0,@@ -55253,53 +55262,53 @@ function gTe(e, t) {depsTail: void 0,flags: +!n,get() {- return SL !== void 0 && _L(i, SL, gL), i._snapshot;+ return TL !== void 0 && bL(i, TL, yL), i._snapshot;},subscribe(e) {- let t = fTe(e), n = { current: !1 }, r = _Te(() => {- i.get(), n.current ? (SL = void 0, t.next?.(i._snapshot)) : n.current = !0;+ let t = uTe(e), n = { current: !1 }, r = hTe(() => {+ i.get(), n.current ? (TL = void 0, t.next?.(i._snapshot)) : n.current = !0;});return { unsubscribe: () => {r.stop();} };},_update(e) {- let a = SL, o = t?.compare ?? Object.is;- if (n) SL = i, ++gL, i.depsTail = void 0;+ let a = TL, o = t?.compare ?? Object.is;+ if (n) TL = i, ++yL, 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 {- SL = a, n && (i.flags &= -5), wL(i);+ TL = a, n && (i.flags &= -5), DL(i);}}};return n ? (i.flags = 17, i.get = function() {let e = i.flags;- if (e & 16 || e & 32 && vL(i.deps, i)) {+ if (e & 16 || e & 32 && xL(i.deps, i)) {if (i._update()) {let e = i.subs;- e !== void 0 && yL(e);+ e !== void 0 && SL(e);}} else e & 32 && (i.flags = e & -33);- return SL !== void 0 && _L(i, SL, gL), i._snapshot;+ return TL !== void 0 && bL(i, TL, yL), i._snapshot;}) : i.set = function(e) {if (i._update(e)) {let e = i.subs;- e !== void 0 && (mTe(e), yL(e), TL());+ e !== void 0 && (fTe(e), SL(e), OL());}}, i;}-function _Te(e) {+function hTe(e) {let t = () => {- let t = SL;- SL = n, ++gL, n.depsTail = void 0, n.flags = 6;+ let t = TL;+ TL = n, ++yL, n.depsTail = void 0, n.flags = 6;try {return e();} finally {- SL = t, n.flags &= -5, wL(n);+ TL = t, n.flags &= -5, DL(n);}}, n = {deps: void 0,@@ -55309,17 +55318,17 @@ function _Te(e) {flags: 6,notify() {let e = this.flags;- e & 16 || e & 32 && vL(this.deps, this) ? t() : this.flags = 2;+ e & 16 || e & 32 && xL(this.deps, this) ? t() : this.flags = 2;},stop() {- this.flags = 0, this.depsTail = void 0, wL(this);+ this.flags = 0, this.depsTail = void 0, DL(this);}};return t(), n;}//#endregion//#region node_modules/@tanstack/store/dist/shallow.js-function EL(e, t) {+function kL(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) {@@ -55333,17 +55342,17 @@ function EL(e, t) {return !0;}if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();- let n = DL(e);- if (n.length !== DL(t).length) return !1;+ let n = AL(e);+ if (n.length !== AL(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 DL(e) {+function AL(e) {return Object.keys(e).concat(Object.getOwnPropertySymbols(e));}//#endregion//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js-var vTe = /* @__PURE__ */ o(((e) => {+var gTe = /* @__PURE__ */ o(((e) => {var t = _(), n = Qv();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -55388,28 +55397,28 @@ var vTe = /* @__PURE__ */ o(((e) => {f.hasValue = !0, f.value = p;}, [p]), l(p), p;};-})), OL = (/* @__PURE__ */ o(((e, t) => {- t.exports = vTe();+})), jL = (/* @__PURE__ */ o(((e, t) => {+ t.exports = gTe();})))();-function yTe(e, t) {+function _Te(e, t) {return e === t;}-function kL(e, t = (e) => e, n) {- let r = n?.compare ?? yTe, i = (0, E.useCallback)((t) => {+function ML(e, t = (e) => e, n) {+ let r = n?.compare ?? _Te, i = (0, E.useCallback)((t) => {let { unsubscribe: n } = e.subscribe(t);return n;}, [e]), a = (0, E.useCallback)(() => e.get(), [e]);- return (0, OL.useSyncExternalStoreWithSelector)(i, a, a, t, r);+ return (0, jL.useSyncExternalStoreWithSelector)(i, a, a, t, r);}//#endregion//#region node_modules/@tanstack/react-table/dist/Subscribe.js-function bTe(e) {- let t = kL(e.source, e.selector, { compare: EL });+function vTe(e) {+ let t = ML(e.source, e.selector, { compare: kL });return typeof e.children == "function" ? e.children(t) : e.children;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js-function xTe(e) {+function yTe(e) {let t = e;return Object.defineProperty(e, "state", { get() {return e.get();@@ -55417,7 +55426,7 @@ function xTe(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js-function STe(e) {+function bTe(e) {let { createAtom: t, batch: n } = e, r = t(0);return {createOptionsStore: !1,@@ -55447,7 +55456,7 @@ function STe(e) {}};}-function CTe(e, t = Object.is) {+function xTe(e, t = Object.is) {let n = !1, r;return {get: e.get,@@ -55461,29 +55470,29 @@ function CTe(e, t = Object.is) {}//#endregion//#region node_modules/@tanstack/react-table/dist/reactivity.js-function wTe() {- return STe({- createAtom: gTe,- batch: hTe+function STe() {+ return bTe({+ createAtom: mTe,+ batch: pTe});}//#endregion//#region node_modules/@tanstack/table-core/dist/utils.js-function AL(e, t) {+function NL(e, t) {return typeof e == "function" ? e(t) : e;}-function jL(e) {- if (Array.isArray(e)) return e.map(jL);+function PL(e) {+ if (Array.isArray(e)) return e.map(PL);if (e && typeof e == "object") {let t = Object.getPrototypeOf(e);if (t !== Object.prototype && t !== null) return e;- let n = t === null ? NL() : {}, r = Object.keys(e);+ let n = t === null ? IL() : {}, 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: jL(e[i]),+ value: PL(e[i]),writable: !0});}@@ -55491,7 +55500,7 @@ function jL(e) {}return e;}-function ML(e, t) {+function FL(e, t) {let n = Object.keys(t), r = e;for (let e = 0; e < n.length; e++) {let i = n[e];@@ -55499,53 +55508,53 @@ function ML(e, t) {}return e;}-function NL() {+function IL() {return Object.create(null);}-function PL(e, t) {+function LL(e, t) {return Object.prototype.hasOwnProperty.call(e, t);}-function FL(e, t) {+function RL(e, t) {return (n) => {- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => AL(n, e));+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => NL(n, e));};}-function IL(e) {+function zL(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 LL(e) {+function BL(e) {return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}-var TTe = 3;-function ETe(e, t) {- return RL(e, t, TTe);+var CTe = 3;+function wTe(e, t) {+ return VL(e, t, CTe);}-function RL(e, t, n) {+function VL(e, t, n) {if (Object.is(e, t)) return !0;- if (n <= 0 || !IL(e) || !IL(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;- let r = LL(e), i = LL(t);+ if (n <= 0 || !zL(e) || !zL(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;+ let r = BL(e), i = BL(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) || !RL(a[i], o[i], n - 1)) return !1;+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !VL(a[i], o[i], n - 1)) return !1;}return !0;}-function zL(e, t, n, r = ETe) {+function HL(e, t, n, r = wTe) {let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];a && a((e) => {- let t = AL(n, e);+ let t = NL(n, e);return r(e, t) ? e : t;});}-function DTe(e) {+function TTe(e) {return e instanceof Function;}-function OTe(e, t) {+function ETe(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -55555,7 +55564,7 @@ function OTe(e, t) {};return r(e), n;}-var kTe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {+var DTe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {let o = [], s;return (c) => {i?.();@@ -55569,23 +55578,23 @@ var kTe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCoreturn n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;};};-function BL(e) {+function UL(e) {let t = !1;return () => {t ? e() : t = !0;};}-function VL({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {+function WL({ 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 kTe({+ return DTe({...a,...o});}-function HL(e, t = "_") {+function GL(e, t = "_") {let [n, r] = e.replace(t, " ").split(" ");return {fnKey: r,@@ -55593,10 +55602,10 @@ function HL(e, t = "_") {parentName: n};}-function UL(e, t, n) {+function KL(e, t, n) {for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {- let { fnKey: n, fnName: o } = HL(r);- t[n] = a ? VL({+ let { fnKey: n, fnName: o } = GL(r);+ t[n] = a ? WL({memoDeps: a,fn: i,fnName: o,@@ -55605,15 +55614,15 @@ function UL(e, t, n) {}) : i;}}-function WL(e, t, n, r) {+function qL(e, t, n, r) {for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {- let { fnKey: r, fnName: s } = HL(i);+ let { fnKey: r, fnName: s } = GL(i);if (o) {let i = `_memo_${r}`;t[r] = function(...t) {if (!this[i]) {let t = this;- this[i] = VL({+ this[i] = WL({memoDeps: (e) => o(t, e),fn: (...e) => a(t, ...e),fnName: s,@@ -55629,18 +55638,18 @@ function WL(e, t, n, r) {};}}-function GL(e, t, n, ...r) {+function JL(e, t, n, ...r) {return e[t]?.(...r) ?? n(e, ...r);}//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js-function ATe(e) {+function OTe(e) {return e.row.getValue(e.column.id);}-function jTe(e) {+function kTe(e) {return e.getValue() ?? e.table.options.renderFallbackValue;}-function MTe(e) {+function ATe(e) {return {table: e.table,column: e.column,@@ -55652,19 +55661,19 @@ function MTe(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js-var NTe = { assignCellPrototype: (e, t) => {- WL("coreCellsFeature", e, t, {- cell_getValue: { fn: (e) => ATe(e) },- cell_renderValue: { fn: (e) => jTe(e) },+var jTe = { assignCellPrototype: (e, t) => {+ qL("coreCellsFeature", e, t, {+ cell_getValue: { fn: (e) => OTe(e) },+ cell_renderValue: { fn: (e) => kTe(e) },cell_getContext: {- fn: (e) => MTe(e),+ fn: (e) => ATe(e),memoDeps: (e) => [e]}});} };//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js-function PTe(e) {+function MTe(e) {if (!e._columnPrototype) {e._columnPrototype = { table: e };let t = Object.values(e._features);@@ -55672,7 +55681,7 @@ function PTe(e) {}return e._columnPrototype;}-function FTe(e, t, n, r) {+function NTe(e, t, n, r) {let i = {...e.getDefaultColumnDef(),...t@@ -55692,7 +55701,7 @@ function FTe(e, t, n, r) {} else c = (e) => e[i.accessorKey];}if (!s) throw Error();- let l = PTe(e), u = Object.create(l);+ let l = MTe(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);@@ -55700,47 +55709,47 @@ function FTe(e, t, n, r) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/featureStubs.js-function KL(e) {+function YL(e) {return e.getIsVisible?.() ?? !0;}-function ITe(e) {+function PTe(e) {return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();}-function qL(e, t) {+function XL(e, t) {let n = e, r = t;return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;}-function JL(e, t, n, r) {+function ZL(e, t, n, r) {return e._orderByColumnPinning?.(t, n, r) ?? t;}-function YL(e, t) {+function QL(e, t) {return e._expandRows?.(t) ?? t;}-function LTe(e) {+function FTe(e) {e.autoResetExpanded?.();}-function XL(e) {+function $L(e) {e.autoResetPageIndex?.();}-function RTe(e) {+function ITe(e) {e.autoResetSorting?.();}-function zTe(e) {+function LTe(e) {e.autoResetCellSelection?.();}//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js-function BTe(e) {+function RTe(e) {return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];}-function VTe(e) {+function zTe(e) {if (e.columns.length) {let t = e.columns.flatMap((e) => e.getLeafColumns());- return qL(e.table, t);+ return XL(e.table, t);}return [e];}-function HTe(e) {+function BTe(e) {return {header: (e) => {let t = e.header.column.columnDef;@@ -55751,54 +55760,54 @@ function HTe(e) {...e.options.defaultColumn};}-function ZL(e, t, n, r = 0) {+function eR(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 = FTe(e, o, r, n), c = o;- s.columns = c.columns ? ZL(e, c.columns, s, r + 1) : [], i[a] = s;+ let o = t[a], s = NTe(e, o, r, n), c = o;+ s.columns = c.columns ? eR(e, c.columns, s, r + 1) : [], i[a] = s;}return i;}-function UTe(e) {- return ZL(e, e.options.columns);+function VTe(e) {+ return eR(e, e.options.columns);}-function WTe(e) {+function HTe(e) {return e.getAllColumns().flatMap((e) => e.getFlatColumns());}-function GTe(e) {- let t = NL(), n = e.getAllFlatColumns();+function UTe(e) {+ let t = IL(), n = e.getAllFlatColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function KTe(e) {- return qL(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));+function WTe(e) {+ return XL(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));}-function qTe(e) {- let t = NL(), n = e.getAllLeafColumns();+function GTe(e) {+ let t = IL(), n = e.getAllLeafColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function JTe(e, t) {+function KTe(e, t) {return e.getAllFlatColumnsById()[t];}//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js-var YTe = {+var qTe = {assignColumnPrototype: (e, t) => {- WL("coreColumnsFeature", e, t, {+ qL("coreColumnsFeature", e, t, {column_getFlatColumns: {- fn: (e) => BTe(e),+ fn: (e) => RTe(e),memoDeps: (e) => [e.table.options.columns]},column_getLeafColumns: {- fn: (e) => VTe(e),+ fn: (e) => zTe(e),memoDeps: (e) => [e.table.atoms.columnOrder?.get(),e.table.atoms.grouping?.get(),@@ -55809,25 +55818,25 @@ var YTe = {});},constructTableAPIs: (e) => {- UL("coreColumnsFeature", e, {+ KL("coreColumnsFeature", e, {table_getDefaultColumnDef: {- fn: () => HTe(e),+ fn: () => BTe(e),memoDeps: () => [e.options.defaultColumn]},table_getAllColumns: {- fn: () => UTe(e),+ fn: () => VTe(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumns: {- fn: () => WTe(e),+ fn: () => HTe(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumnsById: {- fn: () => GTe(e),+ fn: () => UTe(e),memoDeps: () => [e.options.columns]},table_getAllLeafColumns: {- fn: () => KTe(e),+ fn: () => WTe(e),memoDeps: () => [e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),@@ -55836,16 +55845,16 @@ var YTe = {]},table_getAllLeafColumnsById: {- fn: () => qTe(e),+ fn: () => GTe(e),memoDeps: () => [e.getAllLeafColumns()]},- table_getColumn: { fn: (t) => JTe(e, t) }+ table_getColumn: { fn: (t) => KTe(e, t) }});}};//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js-function XTe(e) {+function JTe(e) {if (!e._headerPrototype) {e._headerPrototype = { table: e };let t = Object.values(e._features);@@ -55853,8 +55862,8 @@ function XTe(e) {}return e._headerPrototype;}-function QL(e, t, n) {- let r = XTe(e), i = Object.create(r);+function tR(e, t, n) {+ let r = JTe(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);@@ -55862,30 +55871,30 @@ function QL(e, t, n) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js-function $L(e, t = 1) {+function nR(e, t = 1) {let n = t;for (let r = 0; r < e.length; r++) {let i = e[r];- KL(i) && i.columns.length && (n = Math.max(n, $L(i.columns, t + 1)));+ YL(i) && i.columns.length && (n = Math.max(n, nR(i.columns, t + 1)));}return n;}-function ZTe(e, t) {+function YTe(e, t) {return e ? `${e}_${t}` : String(t);}-function QTe(e, t, n, r) {+function XTe(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 $Te(e, t) {+function ZTe(e, t) {let n = 0;for (let r = 0; r < e.length; r++) e[r].column === t && n++;return n;}-function eR(e, t, n, r, i, a) {+function rR(e, t, n, r, i, a) {let o = {depth: t,- id: ZTe(r, t),+ id: YTe(r, t),headers: []}, s = [];for (let i = 0; i < e.length; i++) {@@ -55893,10 +55902,10 @@ function eR(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 = QL(n, u, {- id: QTe(r, t, u.id, a.id),+ let e = tR(n, u, {+ id: XTe(r, t, u.id, a.id),isPlaceholder: d,- placeholderId: d ? String($Te(s, u)) : void 0,+ placeholderId: d ? String(ZTe(s, u)) : void 0,depth: t,index: s.length});@@ -55905,18 +55914,18 @@ function eR(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 && eR(s, t - 1, n, r, i, a);+ i.push(o), t > 0 && rR(s, t - 1, n, r, i, a);}-function tR(e) {+function iR(e) {for (let t = 0; t < e.length; t++) {let n = e[t];- if (!KL(n.column)) continue;+ if (!YL(n.column)) continue;let r = 0;if (n.subHeaders.length) {- tR(n.subHeaders);+ iR(n.subHeaders);for (let e = 0; e < n.subHeaders.length; e++) {let t = n.subHeaders[e];- KL(t.column) && (r += t.colSpan);+ YL(t.column) && (r += t.colSpan);}} else r = 1;if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {@@ -55926,38 +55935,38 @@ function tR(e) {} else n.rowSpan = 1;}}-function eEe(e, t, n, r) {- let i = $L(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);- for (let e = 0; e < t.length; e++) e in t && (s[e] = QL(n, t[e], {+function QTe(e, t, n, r) {+ let i = nR(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);+ for (let e = 0; e < t.length; e++) e in t && (s[e] = tR(n, t[e], {depth: i,index: e}));- return eR(s, i - 1, n, r, a, o), a.reverse(), tR(a[0]?.headers ?? []), a;+ return rR(s, i - 1, n, r, a, o), a.reverse(), iR(a[0]?.headers ?? []), a;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js-function nR(e, t) {- for (let n = 0; n < e.subHeaders.length; n++) nR(e.subHeaders[n], t);+function aR(e, t) {+ for (let n = 0; n < e.subHeaders.length; n++) aR(e.subHeaders[n], t);t.push(e);}-function tEe(e) {+function $Te(e) {let t = [];- return nR(e, t), t;+ return aR(e, t), t;}-function nEe(e) {+function eEe(e) {return {column: e.column,header: e,table: e.column.table};}-function rEe(e) {- return eEe(e.getAllColumns(), JL(e, ITe(e), (e) => e.id), e);+function tEe(e) {+ return QTe(e.getAllColumns(), ZL(e, PTe(e), (e) => e.id), e);}-function iEe(e) {+function nEe(e) {return [...e.getHeaderGroups()].reverse();}-function aEe(e) {+function rEe(e) {let t = e.getHeaderGroups(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e].headers;@@ -55965,7 +55974,7 @@ function aEe(e) {}return n;}-function oEe(e) {+function iEe(e) {let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];for (let e = 0; e < t.length; e++) {let r = t[e].getLeafHeaders();@@ -55975,23 +55984,23 @@ function oEe(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js-var sEe = {+var aEe = {assignHeaderPrototype: (e, t) => {- WL("coreHeadersFeature", e, t, {+ qL("coreHeadersFeature", e, t, {header_getLeafHeaders: {- fn: (e) => tEe(e),+ fn: (e) => $Te(e),memoDeps: (e) => [e.column.table.options.columns]},header_getContext: {- fn: (e) => nEe(e),+ fn: (e) => eEe(e),memoDeps: (e) => [e.column.table.options.columns]}});},constructTableAPIs: (e) => {- UL("coreHeadersFeature", e, {+ KL("coreHeadersFeature", e, {table_getHeaderGroups: {- fn: () => rEe(e),+ fn: () => tEe(e),memoDeps: () => [e.options.columns,e.atoms.columnOrder?.get(),@@ -56002,15 +56011,15 @@ var sEe = {]},table_getFooterGroups: {- fn: () => iEe(e),+ fn: () => nEe(e),memoDeps: () => [e.getHeaderGroups()]},table_getFlatHeaders: {- fn: () => aEe(e),+ fn: () => rEe(e),memoDeps: () => [e.getHeaderGroups()]},table_getLeafHeaders: {- fn: () => oEe(e),+ fn: () => iEe(e),memoDeps: () => [e.getHeaderGroups()]}});@@ -56018,7 +56027,7 @@ var sEe = {};//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/constructRow.js-function cEe(e) {+function oEe(e) {if (!e._rowPrototype) {e._rowPrototype = { table: e };let t = Object.values(e._features);@@ -56026,102 +56035,102 @@ function cEe(e) {}return e._rowPrototype;}-var lEe = (e, t, n, r, i, a, o) => {- let s = cEe(e), c = Object.create(s);- c._displayIndexCache = -1, c._uniqueValuesCache = NL(), c._valuesCache = NL(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];+var sEe = (e, t, n, r, i, a, o) => {+ let s = oEe(e), c = Object.create(s);+ c._displayIndexCache = -1, c._uniqueValuesCache = IL(), c._valuesCache = IL(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];let l = e._rowInstanceInitFns;for (let e = 0; e < l.length; e++) l[e](c);return c;};//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js-function uEe() {- return (e) => VL({+function cEe() {+ return (e) => WL({feature: "coreRowModelsFeature",table: e,fnName: "table.getCoreRowModel",memoDeps: () => [e.options.data],- fn: () => dEe(e, e.options.data),- onAfterUpdate: BL(() => {- LTe(e), XL(e), RTe(e), zTe(e);+ fn: () => lEe(e, e.options.data),+ onAfterUpdate: UL(() => {+ FTe(e), $L(e), ITe(e), LTe(e);})});}-function rR(e, t, n, r = 0, i) {+function oR(e, t, n, r = 0, i) {let a = [];for (let o = 0; o < n.length; o++) {- let s = n[o], c = lEe(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 = rR(e, t, c.originalSubRows, r + 1, c)));+ let s = n[o], c = sEe(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 = oR(e, t, c.originalSubRows, r + 1, c)));}return a;}-function dEe(e, t) {+function lEe(e, t) {let n = {rows: [],flatRows: [],- rowsById: NL()+ rowsById: IL()};- return n.rows = rR(e, n, t), n;+ return n.rows = oR(e, n, t), n;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js-function fEe(e) {- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? uEe()(e)), e._rowModels.coreRowModel();+function uEe(e) {+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? cEe()(e)), e._rowModels.coreRowModel();}-function pEe(e) {+function dEe(e) {return e.getCoreRowModel();}-function mEe(e) {+function fEe(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 hEe(e) {+function pEe(e) {return e.getFilteredRowModel();}-function gEe(e) {+function mEe(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 _Ee(e) {+function hEe(e) {return e.getGroupedRowModel();}-function vEe(e) {+function gEe(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 yEe(e) {+function _Ee(e) {return e.getSortedRowModel();}-function bEe(e) {+function vEe(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 xEe(e) {+function yEe(e) {return e.getExpandedRowModel();}-function SEe(e) {+function bEe(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 CEe(e) {+function xEe(e) {return e.getPaginatedRowModel();}//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js-var wEe = { constructTableAPIs: (e) => {- UL("coreRowModelsFeature", e, {- table_getCoreRowModel: { fn: () => fEe(e) },- table_getPreFilteredRowModel: { fn: () => pEe(e) },- table_getFilteredRowModel: { fn: () => mEe(e) },- table_getPreGroupedRowModel: { fn: () => hEe(e) },- table_getGroupedRowModel: { fn: () => gEe(e) },- table_getPreSortedRowModel: { fn: () => _Ee(e) },- table_getSortedRowModel: { fn: () => vEe(e) },- table_getPreExpandedRowModel: { fn: () => yEe(e) },- table_getExpandedRowModel: { fn: () => bEe(e) },- table_getPrePaginatedRowModel: { fn: () => xEe(e) },- table_getPaginatedRowModel: { fn: () => SEe(e) },- table_getRowModel: { fn: () => CEe(e) }+var SEe = { constructTableAPIs: (e) => {+ KL("coreRowModelsFeature", e, {+ table_getCoreRowModel: { fn: () => uEe(e) },+ table_getPreFilteredRowModel: { fn: () => dEe(e) },+ table_getFilteredRowModel: { fn: () => fEe(e) },+ table_getPreGroupedRowModel: { fn: () => pEe(e) },+ table_getGroupedRowModel: { fn: () => mEe(e) },+ table_getPreSortedRowModel: { fn: () => hEe(e) },+ table_getSortedRowModel: { fn: () => gEe(e) },+ table_getPreExpandedRowModel: { fn: () => _Ee(e) },+ table_getExpandedRowModel: { fn: () => vEe(e) },+ table_getPrePaginatedRowModel: { fn: () => yEe(e) },+ table_getPaginatedRowModel: { fn: () => bEe(e) },+ table_getRowModel: { fn: () => xEe(e) }});} };//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/constructCell.js-function TEe(e) {+function CEe(e) {if (!e._cellPrototype) {e._cellPrototype = { table: e };let t = Object.values(e._features);@@ -56129,8 +56138,8 @@ function TEe(e) {}return e._cellPrototype;}-function EEe(e, t, n) {- let r = TEe(n), i = Object.create(r);+function wEe(e, t, n) {+ let r = CEe(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);@@ -56138,40 +56147,40 @@ function EEe(e, t, n) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js-function DEe(e) {+function TEe(e) {let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;return t[n] === e ? n : -1;}-function OEe(e) {- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? YL(e, t).rows : t.rows;+function EEe(e) {+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? QL(e, t).rows : t.rows;for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;return n;}-function kEe(e, t) {- if (PL(e._valuesCache, t)) return e._valuesCache[t];+function DEe(e, t) {+ if (LL(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 AEe(e, t) {- if (PL(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];+function OEe(e, t) {+ if (LL(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 jEe(e, t) {+function kEe(e, t) {return e.getValue(t) ?? e.table.options.renderFallbackValue;}-function MEe(e) {- return OTe(e.subRows, (e) => e.subRows);+function AEe(e) {+ return ETe(e.subRows, (e) => e.subRows);}-function NEe(e) {+function jEe(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 PEe(e) {+function MEe(e) {if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);}-function FEe(e) {+function NEe(e) {let t = [], n = e;for (;;) {let e = n.getParentRow();@@ -56180,71 +56189,71 @@ function FEe(e) {}return t.reverse();}-function IEe(e) {+function PEe(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 = EEe(a, e, e.table), n.set(a, o)), r[i] = o;+ o || (o = wEe(a, e, e.table), n.set(a, o)), r[i] = o;}return r;}-function LEe(e) {- let t = NL(), n = e.getAllCells();+function FEe(e) {+ let t = IL(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.column.id] = r;}return t;}-function REe(e, t, n, r) {+function IEe(e, t, n, r) {return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));}-function zEe(e, t, n) {+function LEe(e, t, n) {let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();return r;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js-var BEe = {+var REe = {assignRowPrototype: (e, t) => {- WL("coreRowsFeature", e, t, {- row_getDisplayIndex: { fn: (e) => DEe(e) },+ qL("coreRowsFeature", e, t, {+ row_getDisplayIndex: { fn: (e) => TEe(e) },row_getAllCellsByColumnId: {- fn: (e) => LEe(e),+ fn: (e) => FEe(e),memoDeps: (e) => [e.getAllCells()]},row_getAllCells: {- fn: (e) => IEe(e),+ fn: (e) => PEe(e),memoDeps: (e) => [e.table.getAllLeafColumns()]},row_getLeafRows: {- fn: (e) => MEe(e),+ fn: (e) => AEe(e),memoDeps: (e) => [e.subRows]},- row_getParentRow: { fn: (e) => PEe(e) },- row_getParentRows: { fn: (e) => FEe(e) },- row_getUniqueValues: { fn: (e, t) => AEe(e, t) },- row_getValue: { fn: (e, t) => kEe(e, t) },- row_renderValue: { fn: (e, t) => jEe(e, t) }+ row_getParentRow: { fn: (e) => MEe(e) },+ row_getParentRows: { fn: (e) => NEe(e) },+ row_getUniqueValues: { fn: (e, t) => OEe(e, t) },+ row_getValue: { fn: (e, t) => DEe(e, t) },+ row_renderValue: { fn: (e, t) => kEe(e, t) }});},constructTableAPIs: (e) => {- UL("coreRowsFeature", e, {+ KL("coreRowsFeature", e, {table_getRowsInDisplayOrder: {- fn: () => OEe(e),+ fn: () => EEe(e),memoDeps: () => [e.getPrePaginatedRowModel().rows,e.options.paginateExpandedRows,e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0]},- table_getRowId: { fn: (t, n, r) => REe(t, e, n, r) },- table_getRow: { fn: (t, n) => zEe(e, t, n) },+ table_getRowId: { fn: (t, n, r) => IEe(t, e, n, r) },+ table_getRow: { fn: (t, n) => LEe(e, t, n) },table_getMaxSubRowDepth: {- fn: () => NEe(e),+ fn: () => jEe(e),memoDeps: () => [e.getCoreRowModel()]}});@@ -56252,7 +56261,7 @@ var BEe = {};//#endregion//#region node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js-function iR(e, t, n = (e, t) => e === t) {+function sR(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) {@@ -56263,13 +56272,13 @@ function iR(e, t, n = (e, t) => e === t) {}});}-function aR(e, t, n = (e, t) => e === t) {+function cR(e, t, n = (e, t) => e === t) {e._reactivity.batch(() => {- iR(e, t, n), e._reactivity.commit?.();+ sR(e, t, n), e._reactivity.commit?.();});}-function VEe(e) {- let t = jL(e.initialState);+function zEe(e) {+ let t = PL(e.initialState);e._reactivity.batch(() => {let n = Object.keys(t);for (let r = 0; r < n.length; r++) {@@ -56280,7 +56289,7 @@ function VEe(e) {let n = Object.values(e._features);for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);}-function HEe(e, t) {+function BEe(e, t) {let { features: n, atoms: r, initialState: i } = e.options;if (!e.options.mergeOptions) return {...e.options,@@ -56312,28 +56321,28 @@ function HEe(e, t) {}});}-function oR(e, t, n) {- let r = HEe(e, AL(t, e.options));- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && aR(e, r.state ?? null);+function lR(e, t, n) {+ let r = BEe(e, NL(t, e.options));+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && cR(e, r.state ?? null);}//#endregion//#region node_modules/@tanstack/table-core/dist/core/coreFeatures.js-var UEe = {- coreCellsFeature: NTe,- coreColumnsFeature: YTe,- coreHeadersFeature: sEe,- coreRowModelsFeature: wEe,- coreRowsFeature: BEe,+var VEe = {+ coreCellsFeature: jTe,+ coreColumnsFeature: qTe,+ coreHeadersFeature: aEe,+ coreRowModelsFeature: SEe,+ coreRowsFeature: REe,coreTablesFeature: { constructTableAPIs: (e) => {- UL("coreTablesFeature", e, {- table_reset: { fn: () => VEe(e) },- table_setOptions: { fn: (t) => oR(e, t) }+ KL("coreTablesFeature", e, {+ table_reset: { fn: () => zEe(e) },+ table_setOptions: { fn: (t) => lR(e, t) }});} }};//#endregion//#region node_modules/@tanstack/table-core/dist/helpers/columnHelper.js-function sR() {+function uR() {return {accessor: (e, t) => typeof e == "function" ? {...t,@@ -56349,22 +56358,22 @@ function sR() {}//#endregion//#region node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js-function cR(e) {+function dR(e) {return e;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/table/constructTable.js-function WEe(e, t = {}) {+function HEe(e, t = {}) {return Object.values(e).forEach((e) => {t = e.getInitialState?.(t) ?? t;- }), jL(t);+ }), PL(t);}-function GEe(e) {+function UEe(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: {- ...UEe,+ ...VEe,..._},_headerGroupInstanceInitFns: [],@@ -56402,7 +56411,7 @@ function GEe(e) {set(e) {v.optionsStore.set(() => e);}- })) : v.options = b, v.initialState = WEe(v._features, v.options.initialState);+ })) : v.options = b, v.initialState = HEe(v._features, v.options.initialState);let x = Object.keys(v.initialState);for (let e = 0; e < x.length; e++) {let n = x[e];@@ -56410,14 +56419,14 @@ function GEe(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 && PL(i, n)) {+ if (i && LL(i, n)) {let e = i[n];return e === void 0 ? v.initialState[n] : e;}return r;}, { debugName: `table/atoms/${n}` });}- iR(v), v.store = xTe(t.createReadonlyAtom(() => {+ sR(v), v.store = yTe(t.createReadonlyAtom(() => {let e = {};for (let t = 0; t < x.length; t++) {let n = x[t];@@ -56425,7 +56434,7 @@ function GEe(e) {}return e;}, {- compare: EL,+ compare: kL,debugName: "table/store"}));for (let e = 0; e < y.length; e++) {@@ -56436,108 +56445,108 @@ function GEe(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js-function KEe() {- return NL();+function WEe() {+ return IL();}-function lR(e, t) {- dR(e) && pR(e.table, (n) => {- let r = Object.assign(NL(), n), i = t ?? !GL(e, "getIsVisible", uR), a = e.getLeafColumns();+function fR(e, t) {+ mR(e) && gR(e.table, (n) => {+ let r = Object.assign(IL(), n), i = t ?? !JL(e, "getIsVisible", pR), a = e.getLeafColumns();for (let e = 0; e < a.length; e++) {let t = a[e];- dR(t) && (r[t.id] = i);+ mR(t) && (r[t.id] = i);}return r;});}-function uR(e) {+function pR(e) {let t = e.table.atoms.columnVisibility?.get();if (!t) return !0;let n = e.columns;- return n.length ? n.some((e) => GL(e, "getIsVisible", uR)) : (PL(t, e.id) ? t[e.id] : void 0) ?? !0;+ return n.length ? n.some((e) => JL(e, "getIsVisible", pR)) : (LL(t, e.id) ? t[e.id] : void 0) ?? !0;}-function dR(e) {+function mR(e) {return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);}-function qEe(e) {+function GEe(e) {return (t) => {- lR(e, t.target.checked);+ fR(e, t.target.checked);};}-function JEe(e) {+function KEe(e) {let t = e.getAllCells(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e];- GL(r.column, "getIsVisible", uR) && n.push(r);+ JL(r.column, "getIsVisible", pR) && n.push(r);}- return JL(e.table, n, (e) => e.column.id, () => GL(e, "getVisibleCellsByColumnId", fR));+ return ZL(e.table, n, (e) => e.column.id, () => JL(e, "getVisibleCellsByColumnId", hR));}-function fR(e) {- let t = NL(), n = e.getAllCells();+function hR(e) {+ let t = IL(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];- GL(r.column, "getIsVisible", uR) && (t[r.column.id] = r);+ JL(r.column, "getIsVisible", pR) && (t[r.column.id] = r);}return t;}-function YEe(e) {- return e.getAllFlatColumns().filter((e) => GL(e, "getIsVisible", uR));+function qEe(e) {+ return e.getAllFlatColumns().filter((e) => JL(e, "getIsVisible", pR));}-function XEe(e) {- return e.getAllLeafColumns().filter((e) => GL(e, "getIsVisible", uR));+function JEe(e) {+ return e.getAllLeafColumns().filter((e) => JL(e, "getIsVisible", pR));}-function pR(e, t) {- zL(e, "columnVisibility", t);+function gR(e, t) {+ HL(e, "columnVisibility", t);}-function ZEe(e, t) {- pR(e, t ? NL() : Object.assign(NL(), jL(e.initialState.columnVisibility ?? {})));+function YEe(e, t) {+ gR(e, t ? IL() : Object.assign(IL(), PL(e.initialState.columnVisibility ?? {})));}-function mR(e, t) {- t ??= !hR(e);- let n = NL(), r = e.getAllLeafColumns();+function _R(e, t) {+ t ??= !vR(e);+ let n = IL(), r = e.getAllLeafColumns();for (let e = 0; e < r.length; e++) {let i = r[e];- n[i.id] = t || !dR(i);+ n[i.id] = t || !mR(i);}- pR(e, n);+ gR(e, n);}-function hR(e) {- return !e.getAllLeafColumns().some((e) => !GL(e, "getIsVisible", uR));+function vR(e) {+ return !e.getAllLeafColumns().some((e) => !JL(e, "getIsVisible", pR));}-function QEe(e) {- return e.getAllLeafColumns().some((e) => GL(e, "getIsVisible", uR));+function XEe(e) {+ return e.getAllLeafColumns().some((e) => JL(e, "getIsVisible", pR));}-function $Ee(e) {+function ZEe(e) {return (t) => {- mR(e, t.target.checked);+ _R(e, t.target.checked);};}//#endregion//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js-var gR = {+var yR = {getInitialState: (e) => ({- columnVisibility: KEe(),+ columnVisibility: WEe(),...e}),- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: FL("columnVisibility", e) }),+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: RL("columnVisibility", e) }),assignColumnPrototype: (e, t) => {- WL("columnVisibilityFeature", e, t, {+ qL("columnVisibilityFeature", e, t, {column_getIsVisible: {- fn: (e) => uR(e),+ fn: (e) => pR(e),memoDeps: (e) => [t.options.columns,t.atoms.columnVisibility?.get(),e.columns]},- column_getCanHide: { fn: (e) => dR(e) },- column_getToggleVisibilityHandler: { fn: (e) => qEe(e) },- column_toggleVisibility: { fn: (e, t) => lR(e, t) }+ column_getCanHide: { fn: (e) => mR(e) },+ column_getToggleVisibilityHandler: { fn: (e) => GEe(e) },+ column_toggleVisibility: { fn: (e, t) => fR(e, t) }});},assignRowPrototype: (e, t) => {- WL("columnVisibilityFeature", e, t, {+ qL("columnVisibilityFeature", e, t, {row_getVisibleCells: {- fn: (e) => JEe(e),+ fn: (e) => KEe(e),memoDeps: (e) => [e.getAllCells(),t.atoms.columnPinning?.get(),@@ -56545,15 +56554,15 @@ var gR = {]},row_getVisibleCellsByColumnId: {- fn: (e) => fR(e),+ fn: (e) => hR(e),memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]}});},constructTableAPIs: (e) => {- UL("columnVisibilityFeature", e, {+ KL("columnVisibilityFeature", e, {table_getVisibleFlatColumns: {- fn: () => YEe(e),+ fn: () => qEe(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -56563,7 +56572,7 @@ var gR = {]},table_getVisibleLeafColumns: {- fn: () => XEe(e),+ fn: () => JEe(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -56572,51 +56581,51 @@ var gR = {e.options.groupedColumnMode]},- table_setColumnVisibility: { fn: (t) => pR(e, t) },- table_resetColumnVisibility: { fn: (t) => ZEe(e, t) },- table_toggleAllColumnsVisible: { fn: (t) => mR(e, t) },- table_getIsAllColumnsVisible: { fn: () => hR(e) },- table_getIsSomeColumnsVisible: { fn: () => QEe(e) },- table_getToggleAllColumnsVisibilityHandler: { fn: () => $Ee(e) }+ table_setColumnVisibility: { fn: (t) => gR(e, t) },+ table_resetColumnVisibility: { fn: (t) => YEe(e, t) },+ table_toggleAllColumnsVisible: { fn: (t) => _R(e, t) },+ table_getIsAllColumnsVisible: { fn: () => vR(e) },+ table_getIsSomeColumnsVisible: { fn: () => XEe(e) },+ table_getToggleAllColumnsVisibilityHandler: { fn: () => ZEe(e) }});}-}, _R = 0, vR = 10;-function yR() {+}, bR = 0, xR = 10;+function SR() {return {- pageIndex: _R,- pageSize: vR+ pageIndex: bR,+ pageSize: xR};}-function eDe(e) {+function QEe(e) {if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {- if ((e.atoms.pagination?.get()?.pageIndex ?? _R) === _R) return;- SR(e, !0);+ if ((e.atoms.pagination?.get()?.pageIndex ?? bR) === bR) return;+ TR(e, !0);}}-function bR(e, t) {- zL(e, "pagination", t);+function CR(e, t) {+ HL(e, "pagination", t);}-function tDe(e, t) {- bR(e, t ? yR() : jL(e.initialState.pagination ?? yR()));+function $Ee(e, t) {+ CR(e, t ? SR() : PL(e.initialState.pagination ?? SR()));}-function xR(e, t) {- bR(e, (n) => {- let r = AL(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;+function wR(e, t) {+ CR(e, (n) => {+ let r = NL(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 SR(e, t) {- xR(e, t ? _R : e.initialState.pagination?.pageIndex ?? _R);+function TR(e, t) {+ wR(e, t ? bR : e.initialState.pagination?.pageIndex ?? bR);}-function nDe(e, t) {- CR(e, t ? vR : e.initialState.pagination?.pageSize ?? vR);+function eDe(e, t) {+ ER(e, t ? xR : e.initialState.pagination?.pageSize ?? xR);}-function CR(e, t) {- bR(e, (e) => {- let n = Math.max(1, AL(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);+function ER(e, t) {+ CR(e, (e) => {+ let n = Math.max(1, NL(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);return {...e,pageIndex: i,@@ -56624,233 +56633,233 @@ function CR(e, t) {};});}-function rDe(e) {- let t = wR(e), n = [];+function tDe(e) {+ let t = DR(e), n = [];return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;}-function iDe(e) {+function nDe(e) {return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;}-function aDe(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? _R, n = wR(e);+function rDe(e) {+ let t = e.atoms.pagination?.get()?.pageIndex ?? bR, n = DR(e);return n === -1 || n !== 0 && t < n - 1;}-function oDe(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? _R, n = wR(e);+function iDe(e) {+ let t = e.atoms.pagination?.get()?.pageIndex ?? bR, n = DR(e);return Number.isFinite(n) && n > 0 && t < n - 1;}-function sDe(e) {- return xR(e, (e) => e - 1);+function aDe(e) {+ return wR(e, (e) => e - 1);}-function cDe(e) {- return xR(e, (e) => e + 1);+function oDe(e) {+ return wR(e, (e) => e + 1);}-function lDe(e) {- return xR(e, 0);+function sDe(e) {+ return wR(e, 0);}-function uDe(e) {- let t = wR(e);- if (!(!Number.isFinite(t) || t <= 0)) return xR(e, t - 1);+function cDe(e) {+ let t = DR(e);+ if (!(!Number.isFinite(t) || t <= 0)) return wR(e, t - 1);}-function wR(e) {+function DR(e) {let t = e.options.pageCount;if (t != null) return t;- let n = TR(e), r = e.atoms.pagination?.get()?.pageSize ?? vR;+ let n = OR(e), r = e.atoms.pagination?.get()?.pageSize ?? xR;return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);}-function TR(e) {+function OR(e) {return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js-var ER = {+var kR = {getInitialState: (e) => ({...e,pagination: {- ...yR(),+ ...SR(),...e.pagination}}),- getDefaultTableOptions: (e) => ({ onPaginationChange: FL("pagination", e) }),+ getDefaultTableOptions: (e) => ({ onPaginationChange: RL("pagination", e) }),constructTableAPIs: (e) => {- UL("rowPaginationFeature", e, {- table_autoResetPageIndex: { fn: () => eDe(e) },- table_setPagination: { fn: (t) => bR(e, t) },- table_resetPagination: { fn: (t) => tDe(e, t) },- table_setPageIndex: { fn: (t) => xR(e, t) },- table_resetPageIndex: { fn: (t) => SR(e, t) },- table_setPageSize: { fn: (t) => CR(e, t) },- table_getPageCount: { fn: () => wR(e) },- table_resetPageSize: { fn: (t) => nDe(e, t) },- table_getPageOptions: { fn: () => rDe(e) },- table_getCanPreviousPage: { fn: () => iDe(e) },- table_getCanNextPage: { fn: () => aDe(e) },- table_getCanLastPage: { fn: () => oDe(e) },- table_previousPage: { fn: () => sDe(e) },- table_nextPage: { fn: () => cDe(e) },- table_firstPage: { fn: () => lDe(e) },- table_lastPage: { fn: () => uDe(e) },- table_getRowCount: { fn: () => TR(e) }+ KL("rowPaginationFeature", e, {+ table_autoResetPageIndex: { fn: () => QEe(e) },+ table_setPagination: { fn: (t) => CR(e, t) },+ table_resetPagination: { fn: (t) => $Ee(e, t) },+ table_setPageIndex: { fn: (t) => wR(e, t) },+ table_resetPageIndex: { fn: (t) => TR(e, t) },+ table_setPageSize: { fn: (t) => ER(e, t) },+ table_getPageCount: { fn: () => DR(e) },+ table_resetPageSize: { fn: (t) => eDe(e, t) },+ table_getPageOptions: { fn: () => tDe(e) },+ table_getCanPreviousPage: { fn: () => nDe(e) },+ table_getCanNextPage: { fn: () => rDe(e) },+ table_getCanLastPage: { fn: () => iDe(e) },+ table_previousPage: { fn: () => aDe(e) },+ table_nextPage: { fn: () => oDe(e) },+ table_firstPage: { fn: () => sDe(e) },+ table_lastPage: { fn: () => cDe(e) },+ table_getRowCount: { fn: () => OR(e) }});}};//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js-function dDe() {- return NL();+function lDe() {+ return IL();}-function DR(e, t) {+function AR(e, t) {e.options.onRowSelectionChange?.(t);}-function fDe(e, t) {- e._lastSelectedRowId = null, DR(e, t ? NL() : Object.assign(NL(), jL(e.initialState.rowSelection ?? {})));+function uDe(e, t) {+ e._lastSelectedRowId = null, AR(e, t ? IL() : Object.assign(IL(), PL(e.initialState.rowSelection ?? {})));}-function OR(e, t, n) {- e._lastSelectedRowId = null, DR(e, (r) => {- if (t = t === void 0 ? !GL(e, "getIsAllRowsSelected", jR) : t, n?.deselectAll && !t) return NL();- let i = Object.assign(NL(), r), a = e.getPreGroupedRowModel().flatRows;+function jR(e, t, n) {+ e._lastSelectedRowId = null, AR(e, (r) => {+ if (t = t === void 0 ? !JL(e, "getIsAllRowsSelected", PR) : t, n?.deselectAll && !t) return IL();+ let i = Object.assign(IL(), r), a = e.getPreGroupedRowModel().flatRows;if (t) {let e = /* @__PURE__ */ new Map();a.forEach((t) => {- VR(t, e) && (i[t.id] = !0);+ WR(t, e) && (i[t.id] = !0);});} else a.forEach((e) => {- LR(e) && delete i[e.id];+ BR(e) && delete i[e.id];});return i;});}-function kR(e, t, n) {- e._lastSelectedRowId = null, DR(e, (r) => {- let i = t === void 0 ? !GL(e, "getIsAllPageRowsSelected", MR) : t;- if (n?.deselectAll && !i) return NL();- let a = Object.assign(NL(), r);+function MR(e, t, n) {+ e._lastSelectedRowId = null, AR(e, (r) => {+ let i = t === void 0 ? !JL(e, "getIsAllPageRowsSelected", FR) : t;+ if (n?.deselectAll && !i) return IL();+ let a = Object.assign(IL(), r);return e.getRowModel().rows.forEach((t) => {- BR(a, t.id, i, !0, e, !0);+ UR(a, t.id, i, !0, e, !0);}), a;});}-function pDe(e) {+function dDe(e) {return e.getCoreRowModel();}-function mDe(e) {+function fDe(e) {let t = e.getCoreRowModel();- return GL(e, "getIsSomeRowsSelected", NR) ? WR(t, e) : {+ return JL(e, "getIsSomeRowsSelected", IR) ? qR(t, e) : {rows: [],flatRows: [],- rowsById: NL()+ rowsById: IL()};}-function hDe(e) {+function pDe(e) {let t = e.getFilteredRowModel();- return GL(e, "getIsSomeRowsSelected", NR) ? WR(t, e) : {+ return JL(e, "getIsSomeRowsSelected", IR) ? qR(t, e) : {rows: [],flatRows: [],- rowsById: NL()+ rowsById: IL()};}-function gDe(e) {+function mDe(e) {let t = e.getSortedRowModel();- return GL(e, "getIsSomeRowsSelected", NR) ? WR(t, e) : {+ return JL(e, "getIsSomeRowsSelected", IR) ? qR(t, e) : {rows: [],flatRows: [],- rowsById: NL()+ rowsById: IL()};}-function AR(e) {+function NR(e) {return Object.keys(e.atoms.rowSelection?.get() ?? {});}-function jR(e) {+function PR(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) => !GR(t, n) && VR(t, e)) && (r = !1);+ t.some((t) => !JR(t, n) && WR(t, e)) && (r = !1);}return r;}-function MR(e) {+function FR(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 (GR(a, n)) !i && VR(a, r) && (i = !0);- else if (VR(a, r)) return !1;+ if (JR(a, n)) !i && WR(a, r) && (i = !0);+ else if (WR(a, r)) return !1;}return i;}-function NR(e) {- return GL(e, "getSelectedRowIds", AR).length > 0;+function IR(e) {+ return JL(e, "getSelectedRowIds", NR).length > 0;}-function _De(e) {- return e.getPaginatedRowModel().flatRows.filter((e) => LR(e)).some((e) => FR(e) || GL(e, "getIsSomeSelected", IR));+function hDe(e) {+ return e.getPaginatedRowModel().flatRows.filter((e) => BR(e)).some((e) => RR(e) || JL(e, "getIsSomeSelected", zR));}-function vDe(e) {+function gDe(e) {return (t) => {- OR(e, t.target.checked);+ jR(e, t.target.checked);};}-function yDe(e) {+function _De(e) {return (t) => {- kR(e, t.target.checked);+ MR(e, t.target.checked);};}-function PR(e, t, n) {- let r = FR(e);- DR(e.table, (i) => {+function LR(e, t, n) {+ let r = RR(e);+ AR(e.table, (i) => {t = t === void 0 ? !r : t;- let a = Object.assign(NL(), i);- return BR(a, e.id, t, (n?.selectChildren ?? !0) && zR(e), e.table), !t && n?.deselectParents && HR(a, e), a;+ let a = Object.assign(IL(), i);+ return UR(a, e.id, t, (n?.selectChildren ?? !0) && HR(e), e.table), !t && n?.deselectParents && GR(a, e), a;});}-function FR(e) {- return GR(e, e.table.atoms.rowSelection?.get() ?? {});+function RR(e) {+ return JR(e, e.table.atoms.rowSelection?.get() ?? {});}-function IR(e) {- return KR(e) === "some";+function zR(e) {+ return YR(e) === "some";}-function bDe(e) {- return KR(e) === "all";+function vDe(e) {+ return YR(e) === "all";}-function LR(e) {+function BR(e) {let t = e.table.options;return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;}-function RR(e) {+function VR(e) {let t = e.table.options;return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;}-function zR(e) {+function HR(e) {let t = e.table.options;return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;}-function xDe(e, t) {- let n = LR(e);+function yDe(e, t) {+ let n = BR(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 && zR(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !SDe(e, s, o, t)) && PR(e, o, t), a._lastSelectedRowId = e.id;+ (!(a.options.enableRowRangeSelection !== !1 && s !== null && HR(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !bDe(e, s, o, t)) && LR(e, o, t), a._lastSelectedRowId = e.id;};}-function SDe(e, t, n, r) {+function bDe(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 || !zR(s) || !zR(e)) return !1;+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !HR(s) || !HR(e)) return !1;let f = Math.min(c, l), p = Math.max(c, l);- return DR(a, (e) => {- let t = Object.assign(NL(), e);+ return AR(a, (e) => {+ let t = Object.assign(IL(), e);for (let e = f; e <= p; e++) {let s = o[e];- LR(s) && zR(s) && (BR(t, s.id, n, i, a), !n && r?.deselectParents && HR(t, s));+ BR(s) && HR(s) && (UR(t, s.id, n, i, a), !n && r?.deselectParents && GR(t, s));}return t;}), !0;}-function BR(e, t, n, r, i, a) {+function UR(e, t, n, r, i, a) {let o = i.getRow(t, !0);- n ? (zR(o) || Object.keys(e).forEach((t) => delete e[t]), LR(o) && (e[t] = !0)) : (!a || LR(o)) && delete e[t], r && o.subRows.length && RR(o) && o.subRows.forEach((t) => BR(e, t.id, n, r, i, a));+ n ? (HR(o) || Object.keys(e).forEach((t) => delete e[t]), BR(o) && (e[t] = !0)) : (!a || BR(o)) && delete e[t], r && o.subRows.length && VR(o) && o.subRows.forEach((t) => UR(e, t.id, n, r, i, a));}-function VR(e, t) {- if (!LR(e)) return !1;+function WR(e, t) {+ if (!BR(e)) return !1;let n = e.table;if (n.options.enableSubRowSelection === !0) return !0;let r = e.parentId;@@ -56866,7 +56875,7 @@ function VR(e, t) {}o.push(c);let r = a[c] ?? n.getRow(c, !0);- if (!RR(r)) {+ if (!VR(r)) {s = !1;break;}@@ -56874,43 +56883,43 @@ function VR(e, t) {}return o.forEach((e) => t.set(e, s)), s;}-function HR(e, t) {+function GR(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 UR(e, t, n, r) {+function KR(e, t, n, r) {let i = [];for (let a = 0; a < e.length; a++) {- let o = e[a], s = GR(o, t);+ let o = e[a], s = JR(o, t);if (s && (n.push(o), r[o.id] = o), o.subRows.length) {- let e = UR(o.subRows, t, n, r);+ let e = KR(o.subRows, t, n, r);if (s) {let t = Object.create(Object.getPrototypeOf(o));- ML(t, o), t.subRows = e, i.push(t);+ FL(t, o), t.subRows = e, i.push(t);}} else s && i.push(o);}return i;}-function WR(e, t) {- let n = [], r = NL(), i = t.atoms.rowSelection?.get() ?? {};+function qR(e, t) {+ let n = [], r = IL(), i = t.atoms.rowSelection?.get() ?? {};return {- rows: UR(e.rows, i, n, r),+ rows: KR(e.rows, i, n, r),flatRows: n,rowsById: r};}-function GR(e, t) {- return !!(PL(t, e.id) && t[e.id]);+function JR(e, t) {+ return !!(LL(t, e.id) && t[e.id]);}-function KR(e) {+function YR(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 (LR(o) && (i = !0, GR(o, t) ? n = !0 : r = !1), o.subRows.length) {- let e = KR(o);+ if (BR(o) && (i = !0, JR(o, t) ? n = !0 : r = !1), o.subRows.length) {+ let e = YR(o);e === "all" ? (n = !0, i = !0) : e === "some" ? (n = !0, r = !1, i = !0) : r = !1;}}@@ -56918,7 +56927,7 @@ function KR(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.js-var qR = {+var XR = {initTableInstanceData: (e) => {e._lastSelectedRowId = null;},@@ -56926,11 +56935,11 @@ var qR = {e._lastSelectedRowId = null;},getInitialState: (e) => ({- rowSelection: dDe(),+ rowSelection: lDe(),...e}),getDefaultTableOptions: (e) => ({- onRowSelectionChange: FL("rowSelection", e),+ onRowSelectionChange: RL("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableRowRangeSelection: !0,@@ -56941,11 +56950,11 @@ var qR = {}}),assignRowPrototype: (e, t) => {- WL("rowSelectionFeature", e, t, {- row_toggleSelected: { fn: (e, t, n) => PR(e, t, n) },- row_getIsSelected: { fn: (e) => FR(e) },+ qL("rowSelectionFeature", e, t, {+ row_toggleSelected: { fn: (e, t, n) => LR(e, t, n) },+ row_getIsSelected: { fn: (e) => RR(e) },row_getIsSomeSelected: {- fn: (e) => IR(e),+ fn: (e) => zR(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),@@ -56953,44 +56962,44 @@ var qR = {]},row_getIsAllSubRowsSelected: {- fn: (e) => bDe(e),+ fn: (e) => vDe(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),e.table.options.enableRowSelection]},- row_getCanSelect: { fn: (e) => LR(e) },- row_getCanSelectSubRows: { fn: (e) => RR(e) },- row_getCanMultiSelect: { fn: (e) => zR(e) },- row_getToggleSelectedHandler: { fn: (e, t) => xDe(e, t) }+ row_getCanSelect: { fn: (e) => BR(e) },+ row_getCanSelectSubRows: { fn: (e) => VR(e) },+ row_getCanMultiSelect: { fn: (e) => HR(e) },+ row_getToggleSelectedHandler: { fn: (e, t) => yDe(e, t) }});},constructTableAPIs: (e) => {- UL("rowSelectionFeature", e, {- table_setRowSelection: { fn: (t) => DR(e, t) },- table_resetRowSelection: { fn: (t) => fDe(e, t) },- table_toggleAllRowsSelected: { fn: (t, n) => OR(e, t, n) },- table_toggleAllPageRowsSelected: { fn: (t, n) => kR(e, t, n) },- table_getPreSelectedRowModel: { fn: () => pDe(e) },+ KL("rowSelectionFeature", e, {+ table_setRowSelection: { fn: (t) => AR(e, t) },+ table_resetRowSelection: { fn: (t) => uDe(e, t) },+ table_toggleAllRowsSelected: { fn: (t, n) => jR(e, t, n) },+ table_toggleAllPageRowsSelected: { fn: (t, n) => MR(e, t, n) },+ table_getPreSelectedRowModel: { fn: () => dDe(e) },table_getSelectedRowModel: {- fn: () => mDe(e),+ fn: () => fDe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]},table_getFilteredSelectedRowModel: {- fn: () => hDe(e),+ fn: () => pDe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]},table_getGroupedSelectedRowModel: {- fn: () => gDe(e),+ fn: () => mDe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]},table_getSelectedRowIds: {- fn: () => AR(e),+ fn: () => NR(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsAllRowsSelected: {- fn: () => jR(e),+ fn: () => PR(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getFilteredRowModel(),@@ -56999,7 +57008,7 @@ var qR = {]},table_getIsAllPageRowsSelected: {- fn: () => MR(e),+ fn: () => FR(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),@@ -57008,49 +57017,49 @@ var qR = {]},table_getIsSomeRowsSelected: {- fn: () => NR(e),+ fn: () => IR(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsSomePageRowsSelected: {- fn: () => _De(e),+ fn: () => hDe(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),e.options.enableRowSelection]},- table_getToggleAllRowsSelectedHandler: { fn: () => vDe(e) },- table_getToggleAllPageRowsSelectedHandler: { fn: () => yDe(e) }+ table_getToggleAllRowsSelectedHandler: { fn: () => gDe(e) },+ table_getToggleAllPageRowsSelectedHandler: { fn: () => _De(e) }});}-}, CDe = /([0-9]+)/gm;+}, xDe = /([0-9]+)/gm;/* @__NO_SIDE_EFFECTS__ */-function wDe(e) {+function SDe(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 JR = /* @__PURE__ */ wDe({ sort: (e, t) => TDe(e, t) });-function TDe(e, t) {+var ZR = /* @__PURE__ */ SDe({ sort: (e, t) => CDe(e, t) });+function CDe(e, t) {return e === t ? 0 : e > t ? 1 : -1;}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js-function EDe() {+function wDe() {return [];}-function YR(e, t) {- zL(e, "sorting", t);+function QR(e, t) {+ HL(e, "sorting", t);}-function XR(e, t) {- YR(e, t ? [] : jL(e.initialState.sorting ?? []));+function $R(e, t) {+ QR(e, t ? [] : PL(e.initialState.sorting ?? []));}-function DDe(e) {- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && XR(e);+function TDe(e) {+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && $R(e);}-function ZR(e) {+function ez(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);@@ -57058,7 +57067,7 @@ function ZR(e) {r = "datetime";break;}- if (typeof a == "string" && (i = !0, a.split(CDe).length > 1)) {+ if (typeof a == "string" && (i = !0, a.split(xDe).length > 1)) {r = "alphanumeric";break;}@@ -57067,9 +57076,9 @@ function ZR(e) {let e = t?.[r];if (e || r === "alphanumeric" && (e = t?.text), e) return e;}- return JR;+ return ZR;}-function QR(e) {+function tz(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);@@ -57077,14 +57086,14 @@ function QR(e) {}return "desc";}-function $R(e) {+function nz(e) {let t = e.table._rowModelFns.sortFns;- return DTe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? ZR(e) : t?.[e.columnDef.sortFn] ?? JR;+ return TTe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? ez(e) : t?.[e.columnDef.sortFn] ?? ZR;}-function ez(e, t, n) {- let r = nz(e, n && iz(e)), i = t !== void 0;- YR(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 && iz(e) && n);+function rz(e, t, n) {+ let r = az(e, n && sz(e)), i = t !== void 0;+ QR(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 && sz(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@@ -57100,41 +57109,41 @@ function ez(e, t, n) {}], c;});}-function tz(e) {- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? QR(e) === "desc" ? "desc" : "asc";+function iz(e) {+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? tz(e) === "desc" ? "desc" : "asc";}-function nz(e, t) {- let n = tz(e), r = az(e);+function az(e, t) {+ let n = iz(e), r = cz(e);return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;}-function rz(e) {+function oz(e) {return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;}-function iz(e) {+function sz(e) {return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;}-function az(e) {+function cz(e) {let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);return t ? t.desc ? "desc" : "asc" : !1;}-function ODe(e) {+function EDe(e) {return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;}-function kDe(e) {- YR(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);+function DDe(e) {+ QR(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);}-function ADe(e) {- let t = rz(e);+function ODe(e) {+ let t = oz(e);return (n) => {- t && ez(e, void 0, iz(e) ? e.table.options.isMultiSortEvent?.(n) : !1);+ t && rz(e, void 0, sz(e) ? e.table.options.isMultiSortEvent?.(n) : !1);};}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js-var oz = {+var lz = {getInitialState(e) {return {- sorting: EDe(),+ sorting: wDe(),...e};},@@ -57147,40 +57156,40 @@ var oz = {getDefaultTableOptions(e) {return {autoResetSorting: !1,- onSortingChange: FL("sorting", e),+ onSortingChange: RL("sorting", e),isMultiSortEvent: (e) => e.shiftKey};},assignColumnPrototype(e, t) {- WL("rowSortingFeature", e, t, {- column_getAutoSortFn: { fn: (e) => ZR(e) },- column_getAutoSortDir: { fn: (e) => QR(e) },- column_getSortFn: { fn: (e) => $R(e) },- column_toggleSorting: { fn: (e, t, n) => ez(e, t, n) },- column_getFirstSortDir: { fn: (e) => tz(e) },- column_getNextSortingOrder: { fn: (e, t) => nz(e, t) },- column_getCanSort: { fn: (e) => rz(e) },- column_getCanMultiSort: { fn: (e) => iz(e) },- column_getIsSorted: { fn: (e) => az(e) },- column_getSortIndex: { fn: (e) => ODe(e) },- column_clearSorting: { fn: (e) => kDe(e) },- column_getToggleSortingHandler: { fn: (e) => ADe(e) }+ qL("rowSortingFeature", e, t, {+ column_getAutoSortFn: { fn: (e) => ez(e) },+ column_getAutoSortDir: { fn: (e) => tz(e) },+ column_getSortFn: { fn: (e) => nz(e) },+ column_toggleSorting: { fn: (e, t, n) => rz(e, t, n) },+ column_getFirstSortDir: { fn: (e) => iz(e) },+ column_getNextSortingOrder: { fn: (e, t) => az(e, t) },+ column_getCanSort: { fn: (e) => oz(e) },+ column_getCanMultiSort: { fn: (e) => sz(e) },+ column_getIsSorted: { fn: (e) => cz(e) },+ column_getSortIndex: { fn: (e) => EDe(e) },+ column_clearSorting: { fn: (e) => DDe(e) },+ column_getToggleSortingHandler: { fn: (e) => ODe(e) }});},constructTableAPIs(e) {- UL("rowSortingFeature", e, {- table_autoResetSorting: { fn: () => DDe(e) },- table_setSorting: { fn: (t) => YR(e, t) },- table_resetSorting: { fn: (t) => XR(e, t) }+ KL("rowSortingFeature", e, {+ table_autoResetSorting: { fn: () => TDe(e) },+ table_setSorting: { fn: (t) => QR(e, t) },+ table_resetSorting: { fn: (t) => $R(e, t) }});}};//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-pagination/createPaginatedRowModel.js-function sz() {+function uz() {return (e) => {let t = e;- return VL({+ return WL({feature: "rowPaginationFeature",table: t,fnName: "table.getPaginatedRowModel",@@ -57189,14 +57198,14 @@ function sz() {t.atoms.pagination?.get(),t.options.paginateExpandedRows ? void 0 : t.atoms.expanded?.get()],- fn: () => jDe(t)+ fn: () => kDe(t)});};}-function jDe(e) {+function kDe(e) {let t = e.getPrePaginatedRowModel(), n = e.atoms.pagination?.get();if (!t.rows.length) return t;- let { pageSize: r, pageIndex: i } = n ?? yR(), { rows: a, flatRows: o, rowsById: s } = t, c = a;+ let { pageSize: r, pageIndex: i } = n ?? SR(), { rows: a, flatRows: o, rowsById: s } = t, c = a;if (r !== Infinity || i !== 0) {let e = r * i, t = e + r;c = a.slice(e, t);@@ -57206,7 +57215,7 @@ function jDe(e) {rows: c,flatRows: o,rowsById: s- } : YL(e, {+ } : QL(e, {rows: c,flatRows: o,rowsById: s@@ -57218,25 +57227,25 @@ function jDe(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-sorting/createSortedRowModel.js-function cz() {+function dz() {return (e) => {let t = e;- return VL({+ return WL({feature: "rowSortingFeature",table: t,fnName: "table.getSortedRowModel",memoDeps: () => [t.atoms.sorting?.get(), t.getPreSortedRowModel()],- fn: () => MDe(t),- onAfterUpdate: BL(() => XL(t))+ fn: () => ADe(t),+ onAfterUpdate: UL(() => $L(t))});};}-function MDe(e) {+function ADe(e) {let t = e.getPreSortedRowModel(), n = e.atoms.sorting?.get();if (!t.rows.length || !n?.length) return t;let r = [], i = n.filter((t) => {let n = e.getColumn(t.id);- return n ? rz(n) : !1;+ return n ? oz(n) : !1;});if (!i.length) return t;let a = [];@@ -57247,7 +57256,7 @@ function MDe(e) {desc: n.desc,sortUndefined: r.columnDef.sortUndefined,invertSorting: r.columnDef.invertSorting,- sortFn: $R(r)+ sortFn: nz(r)});}let o = (e, t) => {@@ -57277,7 +57286,7 @@ function MDe(e) {let e = s(a.subRows);if (e.changed) {let s = Object.create(Object.getPrototypeOf(a));- ML(s, a), s.subRows = e.rows, t[i] = s, r[o] = s, n = !0;+ FL(s, a), s.subRows = e.rows, t[i] = s, r[o] = s, n = !0;}}}@@ -57294,31 +57303,31 @@ function MDe(e) {}//#endregion//#region node_modules/@tanstack/react-table/dist/useTable.js-var NDe = typeof window > "u" ? E.useEffect : E.useLayoutEffect;-function lz(e, t) {+var jDe = typeof window > "u" ? E.useEffect : E.useLayoutEffect;+function fz(e, t) {let [{ table: n, rootSource: r }] = (0, E.useState)(() => {- let t = GEe({+ let t = UEe({...e,features: {- coreReactivityFeature: wTe(),+ coreReactivityFeature: STe(),...e.features}});- return t.Subscribe = ((e) => bTe({+ return t.Subscribe = ((e) => vTe({...e,source: e.source ?? t.store- })), t.FlexRender = uTe, {+ })), t.FlexRender = cTe, {table: t,- rootSource: CTe(t.store, EL)+ rootSource: xTe(t.store, kL)};}), i = n;- oR(i, (t) => ({+ lR(i, (t) => ({...t,...e}), { syncExternalState: !1 });- let a = i.options.state, o = r.get(), s = kL(r, t, { compare: EL });- return NDe(() => {- r.markCommitted(o), aR(i, a ?? null, EL);+ let a = i.options.state, o = r.get(), s = ML(r, t, { compare: kL });+ return jDe(() => {+ r.markCommitted(o), cR(i, a ?? null, kL);}), (0, E.useMemo)(() => ({...n,options: e,@@ -57331,19 +57340,19 @@ function lz(e, t) {}//#endregion//#region src/react/boardui/components/base/table/table.tsx-function uz({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {+function pz({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, D.jsx)("div", {- className: oO("w-full overflow-x-auto", n),- children: /* @__PURE__ */ (0, D.jsx)(Txe, {+ className: lO("w-full overflow-x-auto", n),+ children: /* @__PURE__ */ (0, D.jsx)(Cxe, {ref: r,...i,- className: oO("bui-table", e === "sm" && "bui-table-sm", t)+ className: lO("bui-table", e === "sm" && "bui-table-sm", t)})});}//#endregion//#region src/react/components/data-table-frame.tsx-function dz({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {+function mz({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let i = (0, E.useRef)(null);return (0, E.useEffect)(() => {let e = i.current?.querySelector(".overflow-x-auto") ?? null;@@ -57357,9 +57366,9 @@ function dz({ 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 && EI(e, r) && n(r.dataset.key);+ r && kI(e, r) && n(r.dataset.key);} : void 0,- children: r ? /* @__PURE__ */ (0, D.jsx)(Cxe, {+ children: r ? /* @__PURE__ */ (0, D.jsx)(xxe, {className: "relative min-w-0",onResize: r.resize,onResizeEnd: r.save,@@ -57369,7 +57378,7 @@ function dz({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {}//#endregion//#region src/react/components/table-pagination.tsx-function fz({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {+function hz({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {return t <= 1 ? null : /* @__PURE__ */ (0, D.jsxs)("nav", {"aria-label": r,"data-pagination-layout": "",@@ -57409,11 +57418,11 @@ function fz({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {}//#endregion//#region src/react/components/table-controls.tsx-function pz({ label: e, options: t, sorting: n, onChange: r }) {+function gz({ label: e, options: t, sorting: n, onChange: r }) {let i = n[0];return /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex flex-none items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsxs)(FF, {+ children: [/* @__PURE__ */ (0, D.jsxs)(RF, {"aria-label": `${e}排序`,selectedKey: i?.id ?? "default",onSelectionChange: (e) => {@@ -57422,10 +57431,10 @@ function pz({ label: e, options: t, sorting: n, onChange: r }) {desc: i?.desc ?? !1}]);},- children: [/* @__PURE__ */ (0, D.jsx)(IF, {+ children: [/* @__PURE__ */ (0, D.jsx)(zF, {id: "default",children: "默认顺序"- }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(IF, {+ }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e.id,children: e.label}, e.id))]@@ -57433,7 +57442,7 @@ function pz({ label: e, options: t, sorting: n, onChange: r }) {variant: "secondary",iconOnly: !0,disabled: !i,- leadingIcon: XF,+ leadingIcon: $F,"data-icon-state": i?.desc ? "b" : "a","aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,onClick: () => {@@ -57445,7 +57454,7 @@ function pz({ label: e, options: t, sorting: n, onChange: r }) {})]});}-function mz({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条" }) {+function _z({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条" }) {let o = Math.max(1, Math.ceil(t / n.pageSize)), s = Math.min(n.pageIndex, o - 1), c = t ? s * n.pageSize + 1 : 0, l = Math.min((s + 1) * n.pageSize, t);return /* @__PURE__ */ (0, D.jsxs)("div", {"data-table-pagination": !0,@@ -57455,7 +57464,7 @@ function mz({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记children: `${c.toLocaleString()}–${l.toLocaleString()} / ${t.toLocaleString()} ${i}`}), /* @__PURE__ */ (0, D.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, D.jsx)(FF, {+ children: [/* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(n.pageSize),@@ -57470,11 +57479,11 @@ function mz({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记20,50,100- ].map((e) => /* @__PURE__ */ (0, D.jsx)(IF, {+ ].map((e) => /* @__PURE__ */ (0, D.jsx)(zF, {id: String(e),children: `每页 ${e} ${a}`}, e))- }), /* @__PURE__ */ (0, D.jsx)(fz, {+ }), /* @__PURE__ */ (0, D.jsx)(hz, {label: `${e}分页`,page: s + 1,pages: o,@@ -57488,7 +57497,7 @@ function mz({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记}//#endregion//#region src/react/components/table-column-preferences.ts-function hz(e) {+function vz(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -57496,17 +57505,17 @@ function hz(e) {return {};}}-function gz(e, t) {+function yz(e, t) {try {localStorage.setItem(e, JSON.stringify(t));} catch {}}-function PDe(e, t) {+function MDe(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, E.useState)(() => {- let r = hz(e);+ let r = vz(e);for (let [e, n] of Object.entries(t)) n.flex && r[e] === n.width && delete r[e];return n(r);});@@ -57523,7 +57532,7 @@ function PDe(e, t) {...r,...Object.fromEntries(t)});- i(a), gz(e, a);+ i(a), yz(e, a);},reset: () => {i(n({}));@@ -57533,26 +57542,26 @@ function PDe(e, t) {}};}-function FDe(e, t, n, r = {}) {+function NDe(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, E.useState)(() => i(hz(e)));+ }), [a, o] = (0, E.useState)(() => i(vz(e)));return {visibility: a,change: (t) => {let n = i(typeof t == "function" ? t(a) : t);- o(n), gz(e, n);+ o(n), yz(e, n);}};}-function _z(e, t, n) {+function bz(e, t, n) {let r = (0, E.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 = PDe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = FDe(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 = MDe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = NDe(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,@@ -57572,7 +57581,7 @@ function _z(e, t, n) {}//#endregion//#region src/react/catalog-grid/catalog-column-widths.ts-var IDe = "peach.catalog-column-widths.v1", LDe = {+var PDe = "peach.catalog-column-widths.v1", FDe = {select: {width: 48,min: 48,@@ -57633,13 +57642,13 @@ var IDe = "peach.catalog-column-widths.v1", LDe = {min: 112,max: 400}-}, RDe = "peach.catalog-column-visibility.v1", zDe = {+}, IDe = "peach.catalog-column-visibility.v1", LDe = {code: !1,o: !1,new: !1,played: !1,release: !1-}, BDe = {+}, RDe = {select: "选择",name: "名称",dur: "时长",@@ -57652,7 +57661,7 @@ var IDe = "peach.catalog-column-widths.v1", LDe = {played: "观看时间",release: "发行时间",code: "番号"-}, VDe = [+}, zDe = ["select","name","code",@@ -57667,22 +57676,22 @@ var IDe = "peach.catalog-column-widths.v1", LDe = {"release"].map((e) => ({id: e,- label: BDe[e],- ...LDe[e],+ label: RDe[e],+ ...FDe[e],flex: e === "name",required: e === "select" || e === "name",- visible: zDe[e] !== !1+ visible: LDe[e] !== !1}));-function HDe() {- return _z("catalog", VDe, {- widths: IDe,- visibility: RDe+function BDe() {+ return bz("catalog", zDe, {+ widths: PDe,+ visibility: IDe});}//#endregion//#region src/react/components/rating-stars.tsx-var vz = hP("star");-function yz({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {+var xz = vP("star");+function Sz({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {let i = Math.max(0, Math.min(5, e)), a = Math.round(i);return /* @__PURE__ */ (0, D.jsx)("span", {"data-rating-stars": "",@@ -57705,16 +57714,16 @@ function yz({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {onClick: () => {n || t(e);},- children: n === e ? /* @__PURE__ */ (0, D.jsx)("span", { dangerouslySetInnerHTML: { __html: Ro("正在保存评分") } }) : /* @__PURE__ */ (0, D.jsx)(vz, {})+ children: n === e ? /* @__PURE__ */ (0, D.jsx)("span", { dangerouslySetInnerHTML: { __html: Ro("正在保存评分") } }) : /* @__PURE__ */ (0, D.jsx)(xz, {})}, e) : /* @__PURE__ */ (0, D.jsx)("span", {"data-rate": e,"data-on": String(i >= e),children: /* @__PURE__ */ (0, D.jsxs)("span", {"data-rating-icon": "",- children: [/* @__PURE__ */ (0, D.jsx)(vz, {}), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(xz, {}), /* @__PURE__ */ (0, D.jsx)("span", {"data-rating-fill": "",style: { width: `${Math.max(0, Math.min(1, i - e + 1)) * 100}%` },- children: /* @__PURE__ */ (0, D.jsx)(vz, {})+ children: /* @__PURE__ */ (0, D.jsx)(xz, {})})]})}, e))@@ -57722,9 +57731,9 @@ function yz({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {}//#endregion//#region src/react/catalog-grid/catalog-table-controls.tsx-function UDe({ item: e, actions: t }) {- let { rating: n } = e, r = nA(), i = (0, E.useRef)(0), a = KE(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {- GE(e.id, { rating: t }), W.setQueryData(["item", e.id], (e) => e && {+function VDe({ item: e, actions: t }) {+ let { rating: n } = e, r = aA(), i = (0, E.useRef)(0), a = YE(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {+ JE(e.id, { rating: t }), W.setQueryData(["item", e.id], (e) => e && {...e,rating: t});@@ -57736,7 +57745,7 @@ function UDe({ item: e, actions: t }) {role: "group","aria-label": o,title: o,- children: [/* @__PURE__ */ (0, D.jsx)(yz, {+ children: [/* @__PURE__ */ (0, D.jsx)(Sz, {value: a,onRate: c,busyStar: r.busy ? Number(r.busy) : void 0@@ -57752,7 +57761,7 @@ function UDe({ item: e, actions: t }) {}) : null]});}-function bz(e) {+function Cz(e) {if (e == null || e === "") return "—";let t = String(e);if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;@@ -57768,7 +57777,7 @@ function bz(e) {}//#endregion//#region src/react/components/table-column-controls.tsx-function xz({ preferences: e, label: t = "表格" }) {+function wz({ preferences: e, label: t = "表格" }) {let n = (0, E.useRef)(null), [r, i] = (0, E.useState)(!1), a = e.columns.filter((e) => !e.required);return /* @__PURE__ */ (0, D.jsxs)("div", {role: "group",@@ -57784,18 +57793,18 @@ function xz({ preferences: e, label: t = "表格" }) {onClick: () => i(!0),children: "显示列"}),- /* @__PURE__ */ (0, D.jsx)(QM, {+ /* @__PURE__ */ (0, D.jsx)(tN, {triggerRef: n,isOpen: r,onOpenChange: i,placement: "bottom end",offset: 4,- className: `${NP} overscroll-contain`,- children: /* @__PURE__ */ (0, D.jsxs)(lF, {+ className: `${IP} overscroll-contain`,+ children: /* @__PURE__ */ (0, D.jsxs)(fF, {"aria-label": `${t}显示列`,className: "flex w-48 flex-col gap-2 outline-none",children: [- a.map((t) => /* @__PURE__ */ (0, D.jsx)(BP, {+ a.map((t) => /* @__PURE__ */ (0, D.jsx)(UP, {isSelected: e.visibility[t.id] !== !1,onChange: (n) => e.change((e) => ({...e,@@ -57827,41 +57836,41 @@ function xz({ preferences: e, label: t = "表格" }) {]});}-function Sz({ preferences: e, id: t }) {+function Tz({ preferences: e, id: t }) {let n = e.columns.find((e) => e.id === t);- return e.canResize(t) ? /* @__PURE__ */ (0, D.jsx)(Pxe, { "aria-label": `调整${n.label}列宽` }) : null;+ return e.canResize(t) ? /* @__PURE__ */ (0, D.jsx)(Mxe, { "aria-label": `调整${n.label}列宽` }) : null;}//#endregion//#region src/react/components/table-selection-header.tsx-function Cz(e, t) {+function Ez(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 wz({ table: e, label: t, page: n = !1, disabled: r = !1 }) {- let { all: i, some: a } = Cz(e, n);- return /* @__PURE__ */ (0, D.jsx)(BP, {+function Dz({ table: e, label: t, page: n = !1, disabled: r = !1 }) {+ let { all: i, some: a } = Ez(e, n);+ return /* @__PURE__ */ (0, D.jsx)(UP, {slot: null,"aria-label": t,isDisabled: r,isSelected: i,isIndeterminate: a,onChange: () => {- let t = !Cz(e, n).all;+ let t = !Ez(e, n).all;n ? e.toggleAllPageRowsSelected(t) : e.toggleAllRowsSelected(t);}});}//#endregion//#region src/react/catalog-grid/catalog-list-page.tsx-var WDe = cR({- rowSortingFeature: oz,- rowSelectionFeature: qR,- rowPaginationFeature: ER,- columnVisibilityFeature: gR-}), GDe = [+var HDe = dR({+ rowSortingFeature: lz,+ rowSelectionFeature: XR,+ rowPaginationFeature: kR,+ columnVisibilityFeature: yR+}), UDe = [{id: "name",label: "名称"@@ -57898,12 +57907,12 @@ var WDe = cR({id: "played",label: "观看时间"}-], Tz = /* @__PURE__ */ new Map();-function KDe(e) {- let t = HDe(), n = UE(e.filters || {}, !1), [r] = (0, E.useState)(() => {+], Oz = /* @__PURE__ */ new Map();+function WDe(e) {+ let t = BDe(), n = KE(e.filters || {}, !1), [r] = (0, E.useState)(() => {let t = new URLSearchParams(n);return new URLSearchParams(location.search).has("seed") || t.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${t}`;- }), [i, a] = (0, E.useState)(() => Tz.get(r) || {+ }), [i, a] = (0, E.useState)(() => Oz.get(r) || {sorting: [],pagination: {pageIndex: 0,@@ -57911,7 +57920,7 @@ function KDe(e) {}}), { sorting: o, pagination: s } = i;(0, E.useEffect)(() => {- Tz.set(r, i);+ Oz.set(r, i);}, [r, i]);let c = s.pageIndex * s.pageSize, l = o[0], u = _t({queryKey: [@@ -57965,19 +57974,19 @@ function KDe(e) {f,s.pageIndex]);- let p = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, m = lz({- features: WDe,+ let p = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, m = fz({+ features: HDe,columns: (0, E.useMemo)(() => {- let t = sR();+ let t = uR();return t.columns([t.display({id: "select",- header: ({ table: e }) => /* @__PURE__ */ (0, D.jsx)(wz, {+ header: ({ table: e }) => /* @__PURE__ */ (0, D.jsx)(Dz, {table: e,label: "全选本页作品",disabled: u.isPlaceholderData}),- cell: ({ row: t }) => /* @__PURE__ */ (0, D.jsx)(BP, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, D.jsx)(UP, {slot: null,"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,isDisabled: u.isPlaceholderData,@@ -57989,7 +57998,7 @@ function KDe(e) {id: "name",header: "名称",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, D.jsx)(qDe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, D.jsx)(GDe, {item: t.original,props: e,disabled: u.isPlaceholderData@@ -58024,7 +58033,7 @@ function KDe(e) {id: "rating",header: "评分",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, D.jsx)(UDe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, D.jsx)(VDe, {item: t.original,actions: e.actions})@@ -58045,13 +58054,13 @@ function KDe(e) {id: "played",header: "观看时间",enableSorting: !0,- cell: ({ row: e }) => bz(e.original.last_played)+ cell: ({ row: e }) => Cz(e.original.last_played)}),t.accessor((e) => e.first_seen, {id: "new",header: "入库时间",enableSorting: !0,- cell: ({ row: e }) => bz(e.original.first_seen)+ cell: ({ row: e }) => Cz(e.original.first_seen)}),t.accessor((e) => e.release_date, {id: "release",@@ -58111,26 +58120,26 @@ function KDe(e) {"aria-label": "作品列表工具栏",children: /* @__PURE__ */ (0, D.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, D.jsx)(xz, { preferences: t }), /* @__PURE__ */ (0, D.jsx)(pz, {+ children: [/* @__PURE__ */ (0, D.jsx)(wz, { preferences: t }), /* @__PURE__ */ (0, D.jsx)(gz, {label: "作品列表",- options: GDe,+ options: UDe,sorting: o,onChange: (e) => m.setSorting(e)})]})}),- /* @__PURE__ */ (0, D.jsx)(pL, { assetIds: e.filters?.state === "trash" ? [] : fL(d, e.layout.javImage) }),- u.isError ? /* @__PURE__ */ (0, D.jsx)(wI, {+ /* @__PURE__ */ (0, D.jsx)(gL, { assetIds: e.filters?.state === "trash" ? [] : hL(d, e.layout.javImage) }),+ u.isError ? /* @__PURE__ */ (0, D.jsx)(DI, {message: Rt(u.error),onRetry: () => void u.refetch()}) : null,- /* @__PURE__ */ (0, D.jsx)(dz, {+ /* @__PURE__ */ (0, D.jsx)(mz, {follow: !0,preferences: t,onRowClick: e.selectMode ? (t) => {u.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);} : void 0,- children: /* @__PURE__ */ (0, D.jsxs)(uz, {+ children: /* @__PURE__ */ (0, D.jsxs)(pz, {"aria-label": "作品列表",size: "sm",sortDescriptor: l ? {@@ -58141,29 +58150,29 @@ function KDe(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, D.jsxs)(BN, { children: [m.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(VN, {+ children: [/* @__PURE__ */ (0, D.jsxs)(UN, { children: [m.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(WN, {id: e.id,isRowHeader: e.id === "name",allowsSorting: e.column.getCanSort(),...t.columnProps(e.id),children: ({ sortDirection: n }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-0.5",- children: [mL(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {+ children: [_L(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {"data-sort-indicator": !0,"data-direction": n || void 0,- children: /* @__PURE__ */ (0, D.jsx)(AP, {})+ children: /* @__PURE__ */ (0, D.jsx)(NP, {})}) : null]- }), /* @__PURE__ */ (0, D.jsx)(Sz, {+ }), /* @__PURE__ */ (0, D.jsx)(Tz, {preferences: t,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, D.jsx)(VN, {+ }, e.id)), /* @__PURE__ */ (0, D.jsx)(WN, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: t.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, D.jsx)(WN, {+ })] }), /* @__PURE__ */ (0, D.jsx)(qN, {renderEmptyState: () => u.isPending ? /* @__PURE__ */ (0, D.jsx)("div", {"data-skeleton": "","data-table-skeleton": "",@@ -58172,17 +58181,17 @@ function KDe(e) {"aria-label": "正在读取作品列表",children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, D.jsxs)("div", { children: [/* @__PURE__ */ (0, D.jsx)("i", { className: "skeleton-sheen" }), /* @__PURE__ */ (0, D.jsx)("span", { className: "skeleton-sheen" })] }, t))}) : u.isError ? "作品列表未取得" : "没有符合的作品",- children: m.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(qN, {+ children: m.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(XN, {id: e.id,"data-catalog-row": "","data-id": e.original.id,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(YN, { children: mL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(YN, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(QN, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(QN, { "data-table-space": "" })]}, e.id))})]})}),- u.data ? /* @__PURE__ */ (0, D.jsx)(mz, {+ u.data ? /* @__PURE__ */ (0, D.jsx)(_z, {label: "作品列表",total: f,pagination: s,@@ -58193,7 +58202,7 @@ function KDe(e) {]});}-function qDe({ item: e, props: t, disabled: n }) {+function GDe({ item: e, props: t, disabled: n }) {let r = Aa(e, "small", !1, t.layout.javImage), i = t.helpers.displayName(e, e.name || "").trim() || "未命名作品", a = e.creator || e.performers?.join("、") || e.studio;return /* @__PURE__ */ (0, D.jsx)("div", {"data-list-identity": "",@@ -58207,7 +58216,7 @@ function qDe({ item: e, props: t, disabled: n }) {},children: [/* @__PURE__ */ (0, D.jsx)("span", {"data-list-picture": "",- children: r.html ? /* @__PURE__ */ (0, D.jsx)(LA, {+ children: r.html ? /* @__PURE__ */ (0, D.jsx)(BA, {artwork: r,relayout: (e) => yc(e, "small")}) : /* @__PURE__ */ (0, D.jsx)("span", { children: "无预览" })@@ -58227,20 +58236,20 @@ function qDe({ item: e, props: t, disabled: n }) {}//#endregion//#region src/react/catalog-grid/catalog-grid-page.tsx-function Ez(e) {- let t = HE();- if (e.mode === "items") return /* @__PURE__ */ (0, D.jsx)(YDe, { ...e });- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${UE(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- return t === "list" && !e.wall ? /* @__PURE__ */ (0, D.jsx)(KDe, { ...e }, n) : /* @__PURE__ */ (0, D.jsx)(XDe, { ...e }, n);+function kz(e) {+ let t = GE();+ if (e.mode === "items") return /* @__PURE__ */ (0, D.jsx)(qDe, { ...e });+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${KE(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;+ return t === "list" && !e.wall ? /* @__PURE__ */ (0, D.jsx)(WDe, { ...e }, n) : /* @__PURE__ */ (0, D.jsx)(JDe, { ...e }, n);}-function JDe({ name: e }) {+function KDe({ name: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })});}-function Dz({ children: e, selectMode: t }) {+function Az({ children: e, selectMode: t }) {let n = (0, E.useRef)(null), [r, i] = (0, E.useState)(!1);return (0, E.useLayoutEffect)(() => {let e = n.current;@@ -58256,8 +58265,8 @@ function Dz({ children: e, selectMode: t }) {children: e});}-function YDe(e) {- let { actions: t } = e, n = (0, E.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, D.jsx)(PI, {+function qDe(e) {+ let { actions: t } = e, n = (0, E.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, D.jsx)(LI, {item: i,variant: r,layout: e.layout,@@ -58271,13 +58280,13 @@ function YDe(e) {return r === "next" ? /* @__PURE__ */ (0, D.jsx)("div", {"data-media-next-row": "",children: i- }) : /* @__PURE__ */ (0, D.jsx)(Dz, {+ }) : /* @__PURE__ */ (0, D.jsx)(Az, {selectMode: e.selectMode,children: i});}-function XDe(e) {- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? $fe(e) : Qfe(e), [s] = (0, E.useState)(() => e.wall ? tpe(o.queryKey) : void 0), c = s || (i && e.initial ? {+function JDe(e) {+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Zfe(e) : Xfe(e), [s] = (0, E.useState)(() => e.wall ? $fe(o.queryKey) : void 0), c = s || (i && e.initial ? {pages: [{...e.initial,items: e.initial.items || [],@@ -58298,7 +58307,7 @@ function XDe(e) {(0, E.useEffect)(() => {l.isPending || u.current || (u.current = !0, e.settled?.(e.revision));}, [l.isPending]);- let { tiles: d, pageStarts: f } = (0, E.useMemo)(() => ipe(l.data?.pages || [], {+ let { tiles: d, pageStarts: f } = (0, E.useMemo)(() => npe(l.data?.pages || [], {collapse: e.groupCollapse !== !1,mix: !!e.mix && !a,javImage: r.javImage@@ -58308,7 +58317,7 @@ function XDe(e) {e.mix,a,r.javImage- ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || Kwe(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && Bwe(e.item) ? [e.item] : []), v = a ? [] : fL(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = CI(l.isPending, e.skeletonHtml), b = (0, E.useRef)(null), x = ZDe(e, l.data, d, f, b);+ ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || Wwe(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && Rwe(e.item) ? [e.item] : []), v = a ? [] : hL(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = EI(l.isPending, e.skeletonHtml), b = (0, E.useRef)(null), x = YDe(e, l.data, d, f, b);(0, E.useLayoutEffect)(() => {if (!l.data) return;let t = !0;@@ -58335,12 +58344,12 @@ function XDe(e) {let C = (0, E.useCallback)((e, t) => n.open(e, t), [n]), w = (0, E.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, E.useCallback)((e) => n.openShort(e), [n]), O = (0, E.useCallback)(async () => {let e = await l.fetchNextPage({ cancelRefetch: !1 });if (e.isFetchNextPageError) throw e.error;- }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, D.jsx)($De, {+ }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, D.jsx)(ZDe, {seed: i.seed,layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, D.jsx)(PI, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, D.jsx)(LI, {item: i.item,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",layout: r,@@ -58357,10 +58366,10 @@ function XDe(e) {"data-grid-reveal": y.fading ? "" : void 0,children: [!e.wall && y.layer,- /* @__PURE__ */ (0, D.jsx)(pL, { assetIds: v }),+ /* @__PURE__ */ (0, D.jsx)(gL, { assetIds: v }),(() => {- if (g && e.wall) return /* @__PURE__ */ (0, D.jsx)(tTe, {- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${UE(e.filters || {}, !!e.excludeVertical)}`,+ if (g && e.wall) return /* @__PURE__ */ (0, D.jsx)($we, {+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${KE(e.filters || {}, !!e.excludeVertical)}`,items: _,finite: h,hasMore: !!l.hasNextPage,@@ -58368,7 +58377,7 @@ function XDe(e) {loading: l.isPending || !l.data && l.isFetching,error: !l.data && !l.isPending ? Rt(l.error) : "",retry: () => void l.refetch(),- emptyHtml: l.data && !_.length ? iTe({+ emptyHtml: l.data && !_.length ? nTe({libraryEmpty: !!l.data.pages[0]?.libraryEmpty,matches: m,hasMore: !!l.hasNextPage,@@ -58383,7 +58392,7 @@ function XDe(e) {javImage: r.javImage}, h ? "finite" : "explore");if (l.isPending) return null;- if (!l.data) return /* @__PURE__ */ (0, D.jsx)(wI, {+ if (!l.data) return /* @__PURE__ */ (0, D.jsx)(DI, {message: Rt(l.error),onRetry: () => void l.refetch()});@@ -58400,12 +58409,12 @@ function XDe(e) {return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("div", {"data-media-sections": "","data-select-mode": e.selectMode ? "" : void 0,- children: spe(d, x).map((t) => /* @__PURE__ */ (0, D.jsxs)(E.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Dz, { children: t.tiles.map(k) }), t.strip ? /* @__PURE__ */ (0, D.jsx)(QDe, {+ children: ape(d, x).map((t) => /* @__PURE__ */ (0, D.jsxs)(E.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Az, { children: t.tiles.map(k) }), t.strip ? /* @__PURE__ */ (0, D.jsx)(XDe, {cut: t.strip,props: e,onOpen: T}) : null] }, t.start))- }), l.hasNextPage ? /* @__PURE__ */ (0, D.jsx)(Oz, {+ }), l.hasNextPage ? /* @__PURE__ */ (0, D.jsx)(jz, {entity: i,load: O,enabled: () => e.canLoadMore?.() !== !1@@ -58414,7 +58423,7 @@ function XDe(e) {]});}-function Oz({ entity: e, load: t, enabled: n, children: r }) {+function jz({ entity: e, load: t, enabled: n, children: r }) {let i = (0, E.useRef)(null), a = (0, E.useRef)(!1), o = (0, E.useRef)(!1), [s, c] = (0, E.useState)({busy: !1,error: ""@@ -58476,12 +58485,12 @@ function Oz({ entity: e, load: t, enabled: n, children: r }) {hidden: !!s.error,onClick: () => void u(!0),dangerouslySetInnerHTML: { __html: zo("继续载入中…") }- }), s.error ? /* @__PURE__ */ (0, D.jsx)(wI, {+ }), s.error ? /* @__PURE__ */ (0, D.jsx)(DI, {message: s.error,onRetry: () => void u(!0)}) : null] });}-function ZDe(e, t, n, r, i) {+function YDe(e, t, n, r, i) {let [a, o] = (0, E.useState)([]), [s, c] = (0, E.useState)(null), l = (0, E.useRef)(0), u = (0, E.useRef)(0), d = (0, E.useRef)([]);return (0, E.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, E.useEffect)(() => {let n = t?.pages.length || 0;@@ -58490,7 +58499,7 @@ function ZDe(e, t, n, r, i) {let r = new AbortController();d.current.push(r);let i = n - 1;- H(`/api/items?${ope(e.filters || {}, l.current)}`, r.signal).then((e) => {+ H(`/api/items?${ipe(e.filters || {}, l.current)}`, r.signal).then((e) => {let t = e.items || [];t.length ? c({page: i,@@ -58502,7 +58511,7 @@ function ZDe(e, t, n, r, i) {}, [t]), (0, E.useLayoutEffect)(() => {if (!s) return;c(null);- let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = ape(n.length - e, f, d);+ let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = rpe(n.length - e, f, d);if (!p.length) return;let m = e + (p[Math.floor(Math.random() * p.length)] ?? 0);l.current = s.more ? l.current + 18 : 0, o((e) => [...e, {@@ -58512,7 +58521,7 @@ function ZDe(e, t, n, r, i) {}]);}, [s]), a;}-function QDe({ cut: e, props: t, onOpen: n }) {+function XDe({ cut: e, props: t, onOpen: n }) {let r = (0, E.useRef)(null), { wireDrag: i } = t;return (0, E.useEffect)(() => {r.current && i(r.current);@@ -58528,12 +58537,12 @@ function QDe({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, D.jsx)(JDe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, D.jsx)(KDe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "进入沉浸模式" })]})] }), /* @__PURE__ */ (0, D.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, D.jsx)(PI, {+ children: e.items.map((e) => /* @__PURE__ */ (0, D.jsx)(LI, {item: e,variant: "short",layout: t.layout,@@ -58547,17 +58556,17 @@ function QDe({ cut: e, props: t, onOpen: n }) {})]});}-function kz(e, t, n) {+function Mz(e, t, n) {return ja(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function $De({ seed: e, layout: t, helpers: n, actions: r }) {+function ZDe({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, E.useRef)(/* @__PURE__ */ new Map()), a = (0, E.useRef)(t);a.current = t;let o = Ia(e, n.tagLabel), s = (0, E.useCallback)(async () => {- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => WE(e, t.javImage)).slice(0, 9);- return i.current = new Map(n.map((e) => [String(e.id), kz(e, t, !0).html])), n.map((e) => String(e.id));- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = kz(e, t, !1);- return /* @__PURE__ */ (0, D.jsx)(RI, {+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => qE(e, t.javImage)).slice(0, 9);+ return i.current = new Map(n.map((e) => [String(e.id), Mz(e, t, !0).html])), n.map((e) => String(e.id));+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = Mz(e, t, !1);+ return /* @__PURE__ */ (0, D.jsx)(VI, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -58567,12 +58576,12 @@ function $De({ seed: e, layout: t, helpers: n, actions: r }) {wholeCard: !0,poster: null,artwork: l,- artworkIdentity: c === "small" ? l.html : kz(e, {+ artworkIdentity: c === "small" ? l.html : Mz(e, {...t,size: "small"}, !1).html,relayoutArt: (e) => yc(e, c),- ratio: MI(e, "grid", t),+ ratio: FI(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -58584,37 +58593,37 @@ function $De({ seed: e, layout: t, helpers: n, actions: r }) {}//#endregion//#region src/react/media-sources.ts-async function Az(e) {+async function Nz(e) {await W.fetchQuery({queryKey: Nn,queryFn: () => Pn(e)});}-var eOe = (e) => (e?.sources ?? []).filter((e) => Ft.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), tOe = "/api/duplicates?limit=120", jz = ["duplicates"], Mz = "/api/batch", Nz = (e) => H(tOe, e), nOe = /[\s\-_.()[\]【】/\\]/;-function rOe(e) {+var QDe = (e) => (e?.sources ?? []).filter((e) => Ft.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), $De = "/api/duplicates?limit=120", Pz = ["duplicates"], Fz = "/api/batch", Iz = (e) => H($De, e), eOe = /[\s\-_.()[\]【】/\\]/;+function tOe(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 && !nOe.test(n[r - 1]);) --r;+ for (; r > 0 && !eOe.test(n[r - 1]);) --r;return r >= 8 ? n.slice(0, r) : "";}-var iOe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;-async function aOe(e) {+var nOe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;+async function rOe(e) {await Promise.all([W.fetchQuery({- queryKey: jz,- queryFn: () => Nz(e)- }), Az(e)]);+ queryKey: Pz,+ queryFn: () => Iz(e)+ }), Nz(e)]);}-var Pz = {+var Lz = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, oOe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), Fz = (e, t) => oOe(e, t).filter((t) => e.some((e) => e.location !== t)), sOe = (e, t) => t.filter((t) => e.some((e) => Fz(e.files, [t]).length));-function cOe(e, t) {+}, iOe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), Rz = (e, t) => iOe(e, t).filter((t) => e.some((e) => e.location !== t)), aOe = (e, t) => t.filter((t) => e.some((e) => Rz(e.files, [t]).length));+function oOe(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -58633,12 +58642,12 @@ function cOe(e, t) {}return n;}-function lOe(e, t) {+function sOe(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 Iz(e, t) {- for (let n = 0; n < e.length; n += 200) await U(Mz, {+async function zz(e, t) {+ for (let n = 0; n < e.length; n += 200) await U(Fz, {ids: e.slice(n, n + 200),operation: t,...t === "dispose" ? { disposal_reason: "duplicate" } : {}@@ -58646,7 +58655,7 @@ async function Iz(e, t) {}//#endregion//#region src/react/media-repair/media-repair.ts-var Lz = "/api/media-repair", Rz = ["media-repair"], zz = ["media-repair", "libraries"], Bz = {+var Bz = "/api/media-repair", Vz = ["media-repair"], Hz = ["media-repair", "libraries"], Uz = {status: "idle",library: "",stage: "",@@ -58658,41 +58667,41 @@ var Lz = "/api/media-repair", Rz = ["media-repair"], zz = ["media-repair", "librmissing_tool: 0,skipped: 0,message: ""-}, Vz = (e) => H(Lz, e), Hz = async (e) => (await H("/api/libraries", e)).libraries || [];-async function uOe(e) {+}, Wz = (e) => H(Bz, e), Gz = async (e) => (await H("/api/libraries", e)).libraries || [];+async function cOe(e) {await Promise.all([W.fetchQuery({- queryKey: Rz,- queryFn: () => Vz(e)+ queryKey: Vz,+ queryFn: () => Wz(e)}), W.fetchQuery({- queryKey: zz,- queryFn: () => Hz(e)+ queryKey: Hz,+ queryFn: () => Gz(e)})]);}-var Uz = (e) => Number(e).toLocaleString();-function dOe(e) {+var Kz = (e) => Number(e).toLocaleString();+function lOe(e) {if (e.status === "running") {- let t = e.total ? `${Uz(Math.min(e.checked || 0, e.total))} / ${Uz(e.total)}` : "准备中";+ let t = e.total ? `${Kz(Math.min(e.checked || 0, e.total))} / ${Kz(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${Uz(e.repaired)} 部,${Uz(e.failed)} 部修不了` : `修好 ${Uz(e.repaired)} 部` : "";+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${Kz(e.repaired)} 部,${Kz(e.failed)} 部修不了` : `修好 ${Kz(e.repaired)} 部` : "";}-var fOe = (e) => `${Uz(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, pOe = "/api/quality-goals?limit=200", Wz = ["quality-goals"], Gz = (e) => H(pOe, e);-async function mOe(e) {+var uOe = (e) => `${Kz(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, dOe = "/api/quality-goals?limit=200", qz = ["quality-goals"], Jz = (e) => H(dOe, e);+async function fOe(e) {await W.fetchQuery({- queryKey: Wz,- queryFn: () => Gz(e)+ queryKey: qz,+ queryFn: () => Jz(e)});}-var Kz = (e) => e.has_cover ? _a(e) : `/poster?id=${e.id}&c=4`;+var Yz = (e) => e.has_cover ? _a(e) : `/poster?id=${e.id}&c=4`;//#endregion//#region src/selection.ts-function qz(e, t, n, r, i, a = i || !e.has(r)) {+function Xz(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;}//#endregion//#region src/react/review/review.ts-var hOe = "/api/review", gOe = "/api/review/decision", _Oe = "/api/review/genre", Jz = ["review"], Yz = {+var pOe = "/api/review", mOe = "/api/review/decision", hOe = "/api/review/genre", Zz = ["review"], Qz = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -58702,15 +58711,15 @@ var hOe = "/api/review", gOe = "/api/review/decision", _Oe = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, Xz = Object.keys(Yz), vOe = "metadata_fields", Zz = (e) => typeof e == "string" && Object.hasOwn(Yz, e), yOe = {+}, $z = Object.keys(Qz), gOe = "metadata_fields", eB = (e) => typeof e == "string" && Object.hasOwn(Qz, e), _Oe = {creator_tags: "creator",western_identity: "creator"};-function bOe(e, t) {+function vOe(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 Qz(e, t) {+function tB(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -58727,10 +58736,10 @@ function Qz(e, t) {}return [...n.values()];}-function xOe(e, t, n) {- return n && Qz(e, t).find((e) => e.key === n)?.rows || e;+function yOe(e, t, n) {+ return n && tB(e, t).find((e) => e.key === n)?.rows || e;}-function SOe(e, t) {+function bOe(e, t) {let n = An(e.length, 20), r = jn(t, n);return {page: r,@@ -58738,32 +58747,32 @@ function SOe(e, t) {rows: e.slice((r - 1) * 20, r * 20)};}-function COe(e) {+function xOe(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 wOe(e, t, n, r, i, a) {- return qz(e, t, n, r, i, a);+function SOe(e, t, n, r, i, a) {+ return Xz(e, t, n, r, i, a);}-function $z(e, t) {+function nB(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}-function eB(e, t) {+function rB(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}-var tB = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function TOe(e, t) {- let n = eB(e, t), r = tB(e, t);+var iB = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";+function COe(e, t) {+ let n = rB(e, t), r = iB(e, t);return r ? `${n} · ${r}` : n;}-var EOe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", DOe = (e) => String(e.tags || "").split("|").filter(Boolean), OOe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function kOe(e) {+var wOe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", TOe = (e) => String(e.tags || "").split("|").filter(Boolean), EOe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function DOe(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function nB(e, t, n, r) {+function aB(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -58779,12 +58788,12 @@ function nB(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var AOe = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", rB = (e) => H(hOe, e);-async function iB(e) {- let t = await U(gOe, e);+var OOe = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", oB = (e) => H(pOe, e);+async function sB(e) {+ let t = await U(mOe, e);if (t.ok && t.asset_revisions) {let e = t.asset_revisions;- W.setQueryData(Jz, (t) => t && {+ W.setQueryData(Zz, (t) => t && {...t,sections: {...t.sections,@@ -58800,22 +58809,22 @@ async function iB(e) {}return t;}-function aB(e, t) {- return W.getQueryData(Jz)?.sections[e]?.find((e) => e.item_key === t.item_key) || t;+function cB(e, t) {+ return W.getQueryData(Zz)?.sections[e]?.find((e) => e.item_key === t.item_key) || t;}-var jOe = (e, t) => U(_Oe, {+var kOe = (e, t) => U(hOe, {genre: e,tag: t});-async function MOe(e) {+async function AOe(e) {await W.fetchQuery({- queryKey: Jz,- queryFn: () => rB(e)+ queryKey: Zz,+ queryFn: () => oB(e)});}-function oB(e, t) {+function lB(e, t) {let n = new Set(t);- n.size && W.setQueryData(Jz, (t) => {+ n.size && W.setQueryData(Zz, (t) => {if (!t) return t;let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));return i.length === r.length ? t : {@@ -58831,210 +58840,210 @@ function oB(e, t) {};});}-var NOe = () => W.invalidateQueries({- queryKey: Jz,+var jOe = () => W.invalidateQueries({+ queryKey: Zz,exact: !0});-function POe(e, t) {+function MOe(e, t) {return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Ln(e.fetched_at)} 的缓存` : e?.error || t;}//#endregion//#region src/react/data-cleanup/links.ts-var FOe = "/api/links", sB = "/api/links/check", cB = "/api/links/prune", lB = ["links"], uB = ["links", "check"], dB = ["links", "prune"], fB = {+var NOe = "/api/links", uB = "/api/links/check", dB = "/api/links/prune", fB = ["links"], pB = ["links", "check"], mB = ["links", "prune"], hB = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",source_reference: "资料出处"};-async function pB(e) {+async function gB(e) {let t = await e;if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var mB = (e) => H(FOe, e), hB = (e) => U(sB, { status_only: !0 }, "POST", e), IOe = ({ retry: e, checkId: t }) => pB(U(sB, e ? {+var _B = (e) => H(NOe, e), vB = (e) => U(uB, { status_only: !0 }, "POST", e), POe = ({ retry: e, checkId: t }) => gB(U(uB, e ? {retry: e,check_id: t-} : { restart: !0 })), gB = (e) => H(cB, e), LOe = ({ checkId: e, ids: t }) => pB(U(cB, {+} : { restart: !0 })), yB = (e) => H(dB, e), FOe = ({ checkId: e, ids: t }) => gB(U(dB, {confirm: !0,check_id: e,background: !0,...t ? { ids: t } : {}-})), _B = (e) => Number(e || 0).toLocaleString(), vB = (e) => `已删除 ${_B(e.removed)} 条;${e.marked ? `已隐退女优的 ${_B(e.marked)} 条留作不可点的记录;` : ""}保留 ${_B(e.recovered)} 条未确认失效的链接。`;-function ROe(e) {+})), bB = (e) => Number(e || 0).toLocaleString(), xB = (e) => `已删除 ${bB(e.removed)} 条;${e.marked ? `已隐退女优的 ${bB(e.marked)} 条留作不可点的记录;` : ""}保留 ${bB(e.recovered)} 条未确认失效的链接。`;+function IOe(e) {let t = e.scope === "retry";- return e.total ? `${t ? "已重验" : "已检查"} ${_B(e.checked)} / ${_B(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";+ return e.total ? `${t ? "已重验" : "已检查"} ${bB(e.checked)} / ${bB(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}//#endregion//#region src/configuration-endpoints.ts-var yB = "/api/configuration", bB = "/api/pick-folder", xB = "/api/settings", SB = "/api/follow/schedule", CB = "/api/thumbnail-jobs", wB = ["settings"], TB = ["follow-schedule"], EB = ["thumbnail-jobs"], DB = (e) => H(xB, e), zOe = (e) => H(SB, e), BOe = (e) => H(CB, e);-function VOe(e = W) {+var SB = "/api/configuration", CB = "/api/pick-folder", wB = "/api/settings", TB = "/api/follow/schedule", EB = "/api/thumbnail-jobs", DB = ["settings"], OB = ["follow-schedule"], kB = ["thumbnail-jobs"], AB = (e) => H(wB, e), LOe = (e) => H(TB, e), ROe = (e) => H(EB, e);+function zOe(e = W) {return e.fetchQuery({- queryKey: wB,- queryFn: ({ signal: e }) => DB(e),+ queryKey: DB,+ queryFn: ({ signal: e }) => AB(e),staleTime: 0}).catch(() => null);}-function OB() {+function jB() {return vt({- mutationFn: (e) => U(xB, e),- onSuccess: (e) => W.setQueryData(wB, e)+ mutationFn: (e) => U(wB, e),+ onSuccess: (e) => W.setQueryData(DB, e)});}-function HOe() {+function BOe() {return vt({- mutationFn: (e) => U(SB, {+ mutationFn: (e) => U(TB, {enabled: e > 0,interval_minutes: e || 60}),- onSuccess: (e) => W.setQueryData(TB, e)+ onSuccess: (e) => W.setQueryData(OB, e)});}-function UOe() {+function VOe() {return vt({- mutationFn: (e) => U(CB, { mode: e }),- onSuccess: (e) => W.setQueryData(EB, e)+ mutationFn: (e) => U(EB, { mode: e }),+ onSuccess: (e) => W.setQueryData(kB, e)});}//#endregion//#region src/react/data-cleanup/organize.ts-var WOe = "/api/organize", GOe = "/api/organize/preview", KOe = "/api/organize/apply", qOe = "/api/organize/rollback", kB = ["organize"], JOe = "/api/organize/example", YOe = (e, t, n) => H(`${JOe}?${new URLSearchParams({+var HOe = "/api/organize", UOe = "/api/organize/preview", WOe = "/api/organize/apply", GOe = "/api/organize/rollback", MB = ["organize"], KOe = "/api/organize/example", qOe = (e, t, n) => H(`${KOe}?${new URLSearchParams({file_template: e,dir_template: t-})}`, n), AB = (e) => H(WOe, e);-async function XOe(e) {+})}`, n), NB = (e) => H(HOe, e);+async function JOe(e) {await W.fetchQuery({- queryKey: kB,- queryFn: () => AB(e)+ queryKey: MB,+ queryFn: () => NB(e)});}-var ZOe = (e) => U(GOe, e), QOe = (e) => U(bB, { initial: e }), $Oe = (e) => e.kind === "apply" ? U(KOe, {+var YOe = (e) => U(UOe, e), XOe = (e) => U(CB, { initial: e }), ZOe = (e) => e.kind === "apply" ? U(WOe, {...e.request,confirm: !0-}) : U(qOe, { confirm: !0 });-async function eke(e) {- W.setQueryData(kB, (t) => t && {+}) : U(GOe, { confirm: !0 });+async function QOe(e) {+ W.setQueryData(MB, (t) => t && {...t,templates: e});try {- await U(xB, { organizeTemplates: e });+ await U(wB, { organizeTemplates: e });} catch {}}-var tke = (e, t) => e && {+var $Oe = (e, t) => e && {...e,...t-}, nke = /目录模板|分隔符|盘符|`\.`/;-function jB(e) {+}, eke = /目录模板|分隔符|盘符|`\.`/;+function PB(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}-var MB = (e) => Number(e || 0).toLocaleString();-function rke(e) {- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${MB(t)}`).join(" · ");- return Number(e.counts?.change || 0) ? `${MB(e.counts.change)} 个文件会改名或移动,${MB(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;+var FB = (e) => Number(e || 0).toLocaleString();+function tke(e) {+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${FB(t)}`).join(" · ");+ return Number(e.counts?.change || 0) ? `${FB(e.counts.change)} 个文件会改名或移动,${FB(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;}-function NB(e) {+function IB(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {- text: t ? `已退回 ${MB(r)} 个文件${n ? `,${MB(n)} 行未能退回` : ""}。` : `已整理 ${MB(r)} 个文件${n ? `,${MB(n)} 行未能处理` : ""}。`,+ text: t ? `已退回 ${FB(r)} 个文件${n ? `,${FB(n)} 行未能退回` : ""}。` : `已整理 ${FB(r)} 个文件${n ? `,${FB(n)} 行未能处理` : ""}。`,failed: n,rollback: t};}//#endregion//#region src/react/data-cleanup/orphan-records.ts-var ike = "/api/orphan-records", ake = "/api/orphan-records/attach", PB = ["orphan-records"], oke = [+var nke = "/api/orphan-records", rke = "/api/orphan-records/attach", LB = ["orphan-records"], ike = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], FB = (e) => H(ike, e), ske = (e, t) => U(ake, {+], RB = (e) => H(nke, e), ake = (e, t) => U(rke, {id: e,target: t-}), IB = (e) => U(Mz, {+}), zB = (e) => U(Fz, {ids: Array.isArray(e) ? e : [e],operation: "delete"-}), cke = (e) => [+}), oke = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], LB = (e) => [...oke.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...cke(e)].filter(Boolean).join(" · "), lke = (e) => e ? `${Math.round(e / 60)} 分钟` : "", RB = (e) => [e.name, lke(e.duration)].filter(Boolean).join(" · "), zB = "/api/resource-sync/scan", BB = "/api/resource-sync/apply", VB = ["resource-sync", "scan"], HB = ["resource-sync", "apply"], UB = (e) => U(zB, {+], BB = (e) => [...ike.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...oke(e)].filter(Boolean).join(" · "), ske = (e) => e ? `${Math.round(e / 60)} 分钟` : "", VB = (e) => [e.name, ske(e.duration)].filter(Boolean).join(" · "), HB = "/api/resource-sync/scan", UB = "/api/resource-sync/apply", WB = ["resource-sync", "scan"], GB = ["resource-sync", "apply"], KB = (e) => U(HB, {background: !0,status_only: !0-}, "POST", e), uke = () => U(zB, {+}, "POST", e), cke = () => U(HB, {background: !0,restart: !0-}), WB = (e) => H(BB, e), dke = (e) => U(BB, {+}), qB = (e) => H(UB, e), lke = (e) => U(UB, {confirm: !0,clean_cache: !0,scan_id: e,background: !0-}), GB = (e) => (e?.sources ?? []).some((e) => Pt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);-async function fke(e) {- GB(W.getQueryData(Nn)) && await Promise.all([W.fetchQuery({- queryKey: VB,- queryFn: () => UB(e)+}), JB = (e) => (e?.sources ?? []).some((e) => Pt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);+async function uke(e) {+ JB(W.getQueryData(Nn)) && await Promise.all([W.fetchQuery({+ queryKey: WB,+ queryFn: () => KB(e)}), W.fetchQuery({- queryKey: HB,- queryFn: () => WB(e)+ queryKey: GB,+ queryFn: () => qB(e)})]);}-var pke = (e) => !!(e?.missing || e?.empty || e?.cache?.files), KB = (e) => Number(e || 0).toLocaleString(), mke = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", qB = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), JB = (e) => e.vanish ? `${KB(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", YB = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", hke = (e) => `将永久删除文件已不在盘上的 ${KB(qB(e))} 条记录和 ${KB(e.empty)} 个空文件夹,并清理 ${KB(e.cache?.files)} 个闲置缓存。${YB(e)}${JB(e)}`, gke = (e) => `将永久删除文件已不在盘上的 ${KB(qB(e))} 条记录(含回收站里的)、${KB(e.empty)} 个空文件夹,并清理 ${KB(e.cache?.files)} 个闲置缓存。来源根目录保留。${YB(e)}${JB(e)}`, XB = (e) => e.online ? [- `找不到文件 · 共 ${KB(e.total)} 项`,- e.vanish ? `${KB(e.vanish)} 项带个人记录` : "",- e.empty ? `空文件夹 ${KB(e.empty)} 个` : ""-].filter(Boolean).join(" · ") : `馆藏中有 ${KB(e.total)} 项`;-function ZB(e) {+var dke = (e) => !!(e?.missing || e?.empty || e?.cache?.files), YB = (e) => Number(e || 0).toLocaleString(), fke = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", XB = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), ZB = (e) => e.vanish ? `${YB(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", QB = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", pke = (e) => `将永久删除文件已不在盘上的 ${YB(XB(e))} 条记录和 ${YB(e.empty)} 个空文件夹,并清理 ${YB(e.cache?.files)} 个闲置缓存。${QB(e)}${ZB(e)}`, mke = (e) => `将永久删除文件已不在盘上的 ${YB(XB(e))} 条记录(含回收站里的)、${YB(e.empty)} 个空文件夹,并清理 ${YB(e.cache?.files)} 个闲置缓存。来源根目录保留。${QB(e)}${ZB(e)}`, $B = (e) => e.online ? [+ `找不到文件 · 共 ${YB(e.total)} 项`,+ e.vanish ? `${YB(e.vanish)} 项带个人记录` : "",+ e.empty ? `空文件夹 ${YB(e.empty)} 个` : ""+].filter(Boolean).join(" · ") : `馆藏中有 ${YB(e.total)} 项`;+function eV(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 ? `${KB(t.length)} 条记录没有删除(${o})` : "",- n ? `${KB(n)} 个文件夹没有删除` : "",- r.length ? `${KB(r.length)} 个缓存没有清理` : ""+ t.length ? `${YB(t.length)} 条记录没有删除(${o})` : "",+ n ? `${YB(n)} 个文件夹没有删除` : "",+ r.length ? `${YB(r.length)} 个缓存没有清理` : ""].filter(Boolean).join(",")};}-var _ke = (e, t) => {- let { rest: n } = ZB(e), r = `已永久删除 ${KB(e.purged)} 条失效记录和 ${KB(e.dirs_removed)} 个空文件夹,清理 ${KB(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${KB(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${KB(e.reattached)} 条的记录已接到库里的另一个版本。` : "");+var hke = (e, t) => {+ let { rest: n } = eV(e), r = `已永久删除 ${YB(e.purged)} 条失效记录和 ${YB(e.dirs_removed)} 个空文件夹,清理 ${YB(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${YB(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${YB(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, vke = "/api/review?counts=1", QB = ["review", "counts"], yke = "/api/ads?limit=1", $B = ["junk-summary"], eV = "/api/items?state=trash&limit=1", tV = ["trash-summary"], bke = [+}, gke = "/api/review?counts=1", tV = ["review", "counts"], _ke = "/api/ads?limit=1", nV = ["junk-summary"], rV = "/api/items?state=trash&limit=1", iV = ["trash-summary"], vke = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], nV = (e) => H(vke, e), rV = (e) => H(yke, e), iV = (e) => {+], aV = (e) => H(gke, e), oV = (e) => H(_ke, e), sV = (e) => {let t = sessionStorage.getItem("peach.library");- return H(t ? `${eV}&library=${encodeURIComponent(t)}` : eV, e);-}, aV = (e) => Number(e || 0).toLocaleString();-function xke(e) {- let t = Yz, 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 H(t ? `${rV}&library=${encodeURIComponent(t)}` : rV, e);+}, cV = (e) => Number(e || 0).toLocaleString();+function yke(e) {+ let t = Qz, 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 Ske(e) {+function bke(e) {if (!e) return "";- let t = bke.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${aV(e.counts[t])}`);- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${aV(e.dismissed_total)}`), t.join(" · ");-}-var Cke = [- [QB, ({ signal: e }) => nV(e)],- [Wz, ({ signal: e }) => Gz(e)],- [tV, ({ signal: e }) => iV(e)],- [lB, ({ signal: e }) => mB(e)],- [uB, ({ signal: e }) => hB(e)],- [dB, ({ signal: e }) => gB(e)],- [PB, ({ signal: e }) => FB(e)]+ let t = vke.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${cV(e.counts[t])}`);+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${cV(e.dismissed_total)}`), t.join(" · ");+}+var xke = [+ [tV, ({ signal: e }) => aV(e)],+ [qz, ({ signal: e }) => Jz(e)],+ [iV, ({ signal: e }) => sV(e)],+ [fB, ({ signal: e }) => _B(e)],+ [pB, ({ signal: e }) => vB(e)],+ [mB, ({ signal: e }) => yB(e)],+ [LB, ({ signal: e }) => RB(e)]];-async function wke(e) {- let t = !!location.hash, n = Cke.map(([n, r]) => {+async function Ske(e) {+ let t = !!location.hash, n = xke.map(([n, r]) => {if (t) return W.fetchQuery({queryKey: n,queryFn: () => r({ signal: e })@@ -59047,49 +59056,49 @@ async function wke(e) {await Promise.all([...n,W.fetchQuery({- queryKey: $B,- queryFn: () => rV(e)+ queryKey: nV,+ queryFn: () => oV(e)}),W.fetchQuery({- queryKey: jz,- queryFn: () => Nz(e)+ queryKey: Pz,+ queryFn: () => Iz(e)}),- Az(e).then(() => fke(e)),- nF(e),- uOe(e),- XOe(e)+ Nz(e).then(() => uke(e)),+ aF(e),+ cOe(e),+ JOe(e)]);}//#endregion//#region src/react/components/stat-card.tsx-var Tke = [+var Cke = ["text-chart-6","text-chart-5","text-chart-7","text-chart-8"-], Eke = [+], wke = ["bg-chart-6/10","bg-chart-5/10","bg-chart-7/10","bg-chart-8/10"];-function oV(e = {}) {- return `${qk({+function lV(e = {}) {+ return `${Xk({...e,padding: "none"})} flex flex-col overflow-hidden pt-4 text-left`;}-var sV = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Dke = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";-function cV({ interactive: e = !1 } = {}) {- return qk({+var uV = "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 dV({ interactive: e = !1 } = {}) {+ return Xk({padding: "none",radius: "plain",interactive: e,className: "flex min-h-33 flex-col gap-2 p-4 text-left"});}-var Oke = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";-function lV({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {+var Eke = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";+function fV({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",@@ -59122,13 +59131,13 @@ function lV({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta})] });}-function uV({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {+function pV({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.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, D.jsx)("i", {"aria-hidden": !0,- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Tke[n % 4]} ${Eke[n % 4]}`,+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Cke[n % 4]} ${wke[n % 4]}`,children: /* @__PURE__ */ (0, D.jsx)(t, {"aria-hidden": !0,className: "size-4"@@ -59150,69 +59159,69 @@ function uV({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {}//#endregion//#region src/react/components/fieldset-layout.ts-var dV = qk({+var mV = Xk({padding: "none",bordered: "line",className: "overflow-hidden"-}), fV = {+}), hV = {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"-}, pV = {+}, gV = {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 mV(e) {- return `${dV} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;+function _V(e) {+ return `${mV} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;}//#endregion//#region src/management.ts-var hV = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", gV = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", _V = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", vV = "disabled data-skeleton-action", kke = "aria-disabled=\"true\"", yV = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, bV = (e, t, n) => `<div class="${fV[n]}"><div class="flex flex-col gap-2">+var vV = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", yV = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", bV = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", xV = "disabled data-skeleton-action", Dke = "aria-disabled=\"true\"", SV = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, CV = (e, t, n) => `<div class="${hV[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 yV(`<section aria-label="扫描与采集" class="${mV("stack")}" data-cleanup-task data-cleanup-processing>- ${bV("扫描与采集", hV, "stack")}- <footer class="${pV.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>${wo("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Do({+function Oke() {+ return SV(`<section aria-label="扫描与采集" class="${_V("stack")}" data-cleanup-task data-cleanup-processing>+ ${CV("扫描与采集", vV, "stack")}+ <footer class="${gV.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>${wo("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Do({label: "同步媒体库",- attrs: vV+ attrs: xV})}${Do({glyph: "chevron-down",- attrs: `${vV} aria-label="更多同步方式"`+ attrs: `${xV} aria-label="更多同步方式"`})}</span></footer></section>`);}-function jke() {- return yV(`<section aria-label="媒体修复" class="${mV("split")}" data-cleanup-task data-cleanup-processing>- ${bV("媒体修复", gV, "split")}- <footer class="${pV.split}">${ko(_V, {+function kke() {+ return SV(`<section aria-label="媒体修复" class="${_V("split")}" data-cleanup-task data-cleanup-processing>+ ${CV("媒体修复", yV, "split")}+ <footer class="${gV.split}">${ko(bV, {className: "w-48",- attrs: kke+ attrs: Dke})}${Do({label: "开始修复",- attrs: vV+ attrs: xV})}</footer></section>`);}-function xV() {+function wV() {let e = [["人工复核", "square-check-big"],["高清版", "sparkles"],["重复文件", "file-stack"],["垃圾文件", "file-archive"],["回收站", "trash"]- ], t = dV, n = fV.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${pV.stack}">${Do({+ ], t = mV, n = hV.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${gV.stack}">${Do({label: e,- attrs: vV+ attrs: xV})}</footer>`, a = (e) => `<div class="flex flex-col gap-1.5"><span class="text-body-medium text-text-primary">${e}</span><span class="skeleton ui-configuration-skeleton-input"></span></div>`;return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">- <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${wo(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${_V}</strong><span class="text-caption-1-regular">${_V}</span></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${wo(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${bV}</strong><span class="text-caption-1-regular">${bV}</span></div>`).join("")}</div><div class="flex flex-col gap-4 max-cleanup-tight:gap-3">- <div id="libraryProcessing">${Ake()}</div><div id="mediaRepair">${jke()}</div>+ <div id="libraryProcessing">${Oke()}</div><div id="mediaRepair">${kke()}</div><section id="organize" class="${t} flex flex-col" data-cleanup-organize><div class="${n}">${r("整理", "mb-3")}<p class="text-body-regular text-text-secondary">清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>- <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${ko(_V)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => Do({+ <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${ko(bV)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => Do({variant: "secondary",- label: _V,- attrs: vV+ label: bV,+ attrs: xV})).join("")}</div></div></div>${i("预览")}</section></div><section id="link-manager" class="flex scroll-mt-20 flex-col gap-4"><div class="${t} flex flex-col"><div class="${n}">${r("链接管理")}<div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${[@@ -59220,60 +59229,60 @@ function xV() {"官网/事务所","社交账号","作品资料站"- ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${_V}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${_V}</div></div>${i("检查死链")}</div></section>+ ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${bV}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${bV}</div></div>${i("检查死链")}</div></section></div></div>`;}//#endregion//#region src/react/components/fieldset.tsx-var Mke = qk({+var Ake = Xk({padding: "none",radius: "surface",bordered: "line",className: "overflow-hidden"-}), SV = "border-t border-border-button-default p-4 first:border-t-0";-function CV({ id: e, gap: t = "none", children: n }) {+}), TV = "border-t border-border-button-default p-4 first:border-t-0";+function EV({ id: e, gap: t = "none", children: n }) {return /* @__PURE__ */ (0, D.jsx)("h3", {id: e,className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,children: n});}-function wV({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {+function DV({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {return /* @__PURE__ */ (0, D.jsxs)("section", {id: r,"aria-label": t,"aria-labelledby": n,...o,- className: mV(e),+ className: _V(e),children: [/* @__PURE__ */ (0, D.jsx)("div", {- className: fV[e],+ className: hV[e],children: a}), i ? /* @__PURE__ */ (0, D.jsx)("footer", {- className: pV[e],+ className: gV[e],children: i}) : null]});}//#endregion//#region src/react/components/status-label.tsx-var Nke = {+var jke = {success: "lime",progress: "blue",warning: "yellow",error: "rose",neutral: "neutral"};-function TV({ tone: e = "neutral", ...t }) {- return /* @__PURE__ */ (0, D.jsx)(Hk, {+function OV({ tone: e = "neutral", ...t }) {+ return /* @__PURE__ */ (0, D.jsx)(Gk, {"data-status-tone": e,variant: "caption",- color: Nke[e],+ color: jke[e],...t});}//#endregion//#region src/react/components/path-line.tsx-function Pke({ className: e }) {+function Mke({ className: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -59286,8 +59295,8 @@ function Pke({ className: e }) {children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-folder-open" })});}-var Fke = "打开文件管理器失败,请重试";-function EV({ path: e, prefix: t, className: n, onRevealed: r }) {+var Nke = "打开文件管理器失败,请重试";+function kV({ path: e, prefix: t, className: n, onRevealed: r }) {let [i, a] = (0, E.useState)(!1), [o, s] = (0, E.useState)(""), c = (0, E.useRef)(!0);(0, E.useEffect)(() => () => {c.current = !1;@@ -59298,7 +59307,7 @@ function EV({ path: e, prefix: t, className: n, onRevealed: r }) {try {await U("/api/reveal", { path: e }), r?.("已在资源管理器中显示");} catch (e) {- c.current && s(e instanceof Sn ? e.message : Fke);+ c.current && s(e instanceof Sn ? e.message : Nke);} finally {c.current && a(!1);}@@ -59309,10 +59318,10 @@ function EV({ path: e, prefix: t, className: n, onRevealed: r }) {children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex items-center justify-between gap-2",children: [/* @__PURE__ */ (0, D.jsxs)("p", {- className: oO("min-w-0 break-all", n),+ className: lO("min-w-0 break-all", n),children: [t, e]- }), /* @__PURE__ */ (0, D.jsx)(ZA, {- icon: Pke,+ }), /* @__PURE__ */ (0, D.jsx)(ej, {+ icon: Mke,size: "small",className: "shrink-0","aria-label": "在资源管理器中显示",@@ -59327,14 +59336,14 @@ function EV({ path: e, prefix: t, className: n, onRevealed: r }) {}//#endregion//#region src/react/library-processing/library-processing-card.tsx-var Ike = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Lke = (e) => {+var Pke = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Fke = (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(",")}。`;-}, Rke = (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} 部视频预览。` : "") + Lke(e);-function zke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = iCe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = tCe(e.notes || {}), c = Jk();+}, Ike = (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} 部视频预览。` : "") + Fke(e);+function Lke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+ let a = nCe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = $Se(e.notes || {}), c = Zk();return /* @__PURE__ */ (0, D.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",@@ -59342,7 +59351,7 @@ function zke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {e.status === "running" && e.stalled ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "warning",title: "处理较慢",- children: Ike+ children: Pke}) : null,t || e.status === "failed" ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",@@ -59355,7 +59364,7 @@ function zke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null,extra: a ? /* @__PURE__ */ (0, D.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3",- children: /* @__PURE__ */ (0, D.jsxs)(gA, {+ children: /* @__PURE__ */ (0, D.jsxs)(yA, {summary: a.label,contentClassName: "gap-0",children: [/* @__PURE__ */ (0, D.jsx)("div", {@@ -59387,7 +59396,7 @@ function zke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {})}), a.log ? /* @__PURE__ */ (0, D.jsx)("div", {className: "mt-3 border-t border-border-error-default/20 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, D.jsx)(EV, {+ children: /* @__PURE__ */ (0, D.jsx)(kV, {path: a.log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -59401,13 +59410,13 @@ function zke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {n?.status === "complete" ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "success",title: "处理完成",- children: Rke(n)+ children: Ike(n)}) : null,- !$P(e) && s ? /* @__PURE__ */ (0, D.jsx)(J, {+ !nF(e) && s ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "neutral",extra: e.issues_log ? /* @__PURE__ */ (0, D.jsx)("div", {className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",- children: /* @__PURE__ */ (0, D.jsx)(EV, {+ children: /* @__PURE__ */ (0, D.jsx)(kV, {path: e.issues_log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -59419,38 +59428,38 @@ function zke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {]});}-function DV(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = gF(e), o = vt({- mutationFn: (e) => U(ZP, e),+function AV(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = yF(e), o = vt({+ mutationFn: (e) => U(eF, e),onSuccess: (e) => {- a(), W.setQueryData(QP, e), W.invalidateQueries({ queryKey: QP });+ a(), W.setQueryData(tF, e), W.invalidateQueries({ queryKey: tF });}});(0, E.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = o.error ? V(o.error) : r.isError ? r.data ? rF : V(r.error) : "", l = o.isPending || $P(s), u = async (e) => {+ let s = r.data ?? { status: "idle" }, c = o.error ? V(o.error) : r.isError ? r.data ? oF : V(r.error) : "", l = o.isPending || nF(s), u = async (e) => {l || (o.reset(), await o.mutateAsync(e));};return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, D.jsx)(wV, {+ children: [/* @__PURE__ */ (0, D.jsx)(DV, {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(Kk, {+ /* @__PURE__ */ (0, D.jsx)(Yk, {href: "/sources",size: "small",- trailingIcon: Ek,+ trailingIcon: kk,children: "来源和凭证"}),- s.candidates ? /* @__PURE__ */ (0, D.jsx)(Kk, {+ s.candidates ? /* @__PURE__ */ (0, D.jsx)(Yk, {href: "/review",size: "small",- trailingIcon: Ek,+ trailingIcon: kk,children: "复核资料"}) : null,- /* @__PURE__ */ (0, D.jsx)(dL, {+ /* @__PURE__ */ (0, D.jsx)(mL, {scan: !0,busy: l,metadataOnly: s?.metadata_only,@@ -59461,24 +59470,24 @@ function DV(e) {children: /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(CV, { children: "扫描与采集" }),+ /* @__PURE__ */ (0, D.jsx)(EV, { children: "扫描与采集" }),/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: hV+ children: vV}),s.status === "paused" && !s.total ? /* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(TV, { children: "已暂停" })- }) : $P(s) ? /* @__PURE__ */ (0, D.jsx)(pCe, { state: s }) : null,- $P(s) ? /* @__PURE__ */ (0, D.jsx)("p", {+ children: /* @__PURE__ */ (0, D.jsx)(OV, { children: "已暂停" })+ }) : nF(s) ? /* @__PURE__ */ (0, D.jsx)(dCe, { state: s }) : null,+ nF(s) ? /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary tabular-nums","data-processing-eta": "",- children: eF(s)+ children: rF(s)}) : null,- $P(s) ? /* @__PURE__ */ (0, D.jsx)(wF, { traffic: s.traffic }) : null+ nF(s) ? /* @__PURE__ */ (0, D.jsx)(DF, { traffic: s.traffic }) : null]})- }), /* @__PURE__ */ (0, D.jsx)(zke, {+ }), /* @__PURE__ */ (0, D.jsx)(Lke, {state: s,problem: c,settled: i,@@ -59494,9 +59503,9 @@ function DV(e) {}//#endregion//#region src/react/background-job.ts-var Bke = 2e3, Vke = (e) => e, Hke = (e, t) => t;-function OV(e) {- let { queryKey: t, jobOf: n = Vke, withJob: r = Hke, idlePollMs: i } = e, [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(null), l = (0, E.useRef)(e);+var Rke = 2e3, zke = (e) => e, Bke = (e, t) => t;+function jV(e) {+ let { queryKey: t, jobOf: n = zke, withJob: r = Bke, idlePollMs: i } = e, [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(null), l = (0, E.useRef)(e);(0, E.useEffect)(() => {l.current = e;});@@ -59505,7 +59514,7 @@ function OV(e) {queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),refetchInterval: (e) => {let t = e.state.data;- return t !== void 0 && n(t)?.status === "running" ? Bke : i ?? !1;+ return t !== void 0 && n(t)?.status === "running" ? Rke : i ?? !1;}}), d = vt({mutationFn: (e) => l.current.start(e),@@ -59530,12 +59539,12 @@ function OV(e) {}//#endregion//#region src/react/media-repair/media-repair-card.tsx-var Uke = (e) => _o[e] || e, Wke = (e) => W.setQueryData(Rz, e);-function Gke({ toast: e = () => {} }) {- let t = OV({- queryKey: Rz,- queryFn: ({ signal: e }) => Vz(e),- start: (e) => U(Lz, {+var Vke = (e) => _o[e] || e, Hke = (e) => W.setQueryData(Vz, e);+function Uke({ toast: e = () => {} }) {+ let t = jV({+ queryKey: Vz,+ queryFn: ({ signal: e }) => Wz(e),+ start: (e) => U(Bz, {library: e,restart: !0}),@@ -59543,9 +59552,9 @@ function Gke({ toast: e = () => {} }) {t.status === "complete" && !t.failed && !t.missing_tool && e(t.repaired ? `已修复 ${t.repaired.toLocaleString()} 部视频` : "已检查媒体库,没有需要修复的视频");}}), n = _t({- queryKey: zz,- queryFn: ({ signal: e }) => Hz(e)- }), [r, i] = (0, E.useState)(""), a = nA(), o = t.job ?? Bz, s = n.data ?? [], c = o.status === "running", l = s.find((e) => e.id === (c ? o.library : r)) ?? s.find((e) => e.id === o.library) ?? s[0], u = () => {+ queryKey: Hz,+ queryFn: ({ signal: e }) => Gz(e)+ }), [r, i] = (0, E.useState)(""), a = aA(), o = t.job ?? Uz, s = n.data ?? [], c = o.status === "running", l = s.find((e) => e.id === (c ? o.library : r)) ?? s.find((e) => e.id === o.library) ?? s[0], u = () => {l && Hs({title: `修复媒体库「${l.name}」`,body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (l.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),@@ -59554,13 +59563,13 @@ function Gke({ toast: e = () => {} }) {await t.start.mutateAsync(l.id);}});- }, d = () => void a.run("stop", (e) => U(Lz, { stop: !0 }, "POST", e), Wke), f = t.outcome, p = dOe(c ? o : f ?? Bz), m = a.error || f?.error || (t.query.error ? "读不到媒体修复的状态" : "");+ }, d = () => void a.run("stop", (e) => U(Bz, { stop: !0 }, "POST", e), Hke), f = t.outcome, p = lOe(c ? o : f ?? Uz), m = a.error || f?.error || (t.query.error ? "读不到媒体修复的状态" : "");return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, D.jsx)(wV, {+ children: [/* @__PURE__ */ (0, D.jsx)(DV, {layout: "split",label: "媒体修复",- footer: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(FF, {+ footer: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": "媒体库",className: "w-48",selectedKey: l?.id ?? null,@@ -59568,10 +59577,10 @@ function Gke({ toast: e = () => {} }) {onSelectionChange: (e) => {e !== null && i(String(e));},- children: s.map((e) => /* @__PURE__ */ (0, D.jsxs)(IF, {+ children: s.map((e) => /* @__PURE__ */ (0, D.jsxs)(zF, {id: e.id,textValue: e.name,- children: [/* @__PURE__ */ (0, D.jsx)(_A, { mark: Uke(e.icon) }), e.name]+ children: [/* @__PURE__ */ (0, D.jsx)(bA, { mark: Vke(e.icon) }), e.name]}, e.id))}), c ? /* @__PURE__ */ (0, D.jsx)(q, {onClick: d,@@ -59585,12 +59594,12 @@ function Gke({ toast: e = () => {} }) {children: /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(CV, { children: "媒体修复" }),+ /* @__PURE__ */ (0, D.jsx)(EV, { children: "媒体修复" }),/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: gV+ children: yV}),- c && o.total ? /* @__PURE__ */ (0, D.jsx)(tA, {+ c && o.total ? /* @__PURE__ */ (0, D.jsx)(iA, {label: "修复进度",value: o.checked,max: o.total@@ -59614,7 +59623,7 @@ function Gke({ toast: e = () => {} }) {onClick: t.dismiss,children: "关闭提示"}),- children: fOe(f)+ children: uOe(f)}) : null, m ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",children: m@@ -59624,26 +59633,26 @@ function Gke({ toast: e = () => {} }) {}//#endregion//#region src/react/components/use-table-selection.ts-var kV = /* @__PURE__ */ new Map();-function AV(e) {+var MV = /* @__PURE__ */ new Map();+function NV(e) {let t = (0, E.useId)(), n = (0, E.useRef)(e);- return n.current = e, (0, E.useEffect)(() => (kV.set(t, () => n.current()), () => {- kV.delete(t);+ return n.current = e, (0, E.useEffect)(() => (MV.set(t, () => n.current()), () => {+ MV.delete(t);}), [t]), (0, E.useCallback)(() => {- for (let [e, n] of kV) e !== t && n();+ for (let [e, n] of MV) e !== t && n();}, [t]);}//#endregion//#region src/react/components/data-table.tsx-var Kke = cR({- rowSortingFeature: oz,- rowSelectionFeature: qR,- rowPaginationFeature: ER,- columnVisibilityFeature: gR,- sortedRowModel: cz(),- paginatedRowModel: sz()+var Wke = dR({+ rowSortingFeature: lz,+ rowSelectionFeature: XR,+ rowPaginationFeature: kR,+ columnVisibilityFeature: yR,+ sortedRowModel: dz(),+ paginatedRowModel: uz()});-function jV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a, onSelected: o, actions: s, title: c = e, titleId: l, description: u, footerActions: d, panel: f = !0, unit: p = "条记录" }) {+function PV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a, onSelected: o, actions: s, title: c = e, titleId: l, description: u, footerActions: d, panel: f = !0, unit: p = "条记录" }) {let [m, h] = (0, E.useState)([]), g = (0, E.useMemo)(() => [{id: "select",label: "选择",@@ -59657,21 +59666,21 @@ function jV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: amin: e.min ?? (t === 0 ? 320 : 96),flex: e.flex ?? t === 0,required: t === 0- }))], [n]), _ = _z(`data:${e}`, g), [v, y] = (0, E.useState)({+ }))], [n]), _ = bz(`data:${e}`, g), [v, y] = (0, E.useState)({pageIndex: 0,pageSize: 20- }), b = AV(() => o([])), x = Math.max(1, Math.ceil(t.length / v.pageSize)), S = Math.min(v.pageIndex, x - 1), C = Object.fromEntries(a.map((e) => [e, !0])), w = lz({- features: Kke,+ }), b = NV(() => o([])), x = Math.max(1, Math.ceil(t.length / v.pageSize)), S = Math.min(v.pageIndex, x - 1), C = Object.fromEntries(a.map((e) => [e, !0])), w = fz({+ features: Wke,data: t,columns: (0, E.useMemo)(() => {- let t = sR();+ let t = uR();return t.columns([t.display({id: "select",- header: ({ table: t }) => /* @__PURE__ */ (0, D.jsx)(wz, {+ header: ({ table: t }) => /* @__PURE__ */ (0, D.jsx)(Dz, {table: t,label: `全选${e}`}),- cell: ({ row: e }) => /* @__PURE__ */ (0, D.jsx)(BP, {+ cell: ({ row: e }) => /* @__PURE__ */ (0, D.jsx)(UP, {slot: null,"aria-label": `选择 ${i(e.original)}`,isSelected: e.getIsSelected(),@@ -59718,7 +59727,7 @@ function jV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a}), T = w.getSelectedRowModel().rows.map((e) => e.original);return /* @__PURE__ */ (0, D.jsxs)("div", {"data-data-table-panel": f || void 0,- className: f ? qk({+ className: f ? Xk({padding: "none",bordered: "line",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"@@ -59740,10 +59749,10 @@ function jV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a})]}), /* @__PURE__ */ (0, D.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, D.jsx)(xz, {+ children: [/* @__PURE__ */ (0, D.jsx)(wz, {preferences: _,label: e- }), /* @__PURE__ */ (0, D.jsx)(pz, {+ }), /* @__PURE__ */ (0, D.jsx)(gz, {label: e,options: n.filter((e) => e.value).map((e) => ({id: e.id,@@ -59763,7 +59772,7 @@ function jV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: aclassName: "text-body-2-regular text-text-secondary",children: u}) : null,- /* @__PURE__ */ (0, D.jsxs)(xT, {+ /* @__PURE__ */ (0, D.jsxs)(CT, {label: `${e}批量操作`,visible: T.length > 0,count: `已选 ${T.length.toLocaleString()} ${p}`,@@ -59774,11 +59783,11 @@ function jV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: achildren: "取消选择"})]}),- /* @__PURE__ */ (0, D.jsx)(dz, {+ /* @__PURE__ */ (0, D.jsx)(mz, {follow: !0,preferences: _,onRowClick: (e) => w.getRow(e)?.toggleSelected(),- children: /* @__PURE__ */ (0, D.jsxs)(uz, {+ children: /* @__PURE__ */ (0, D.jsxs)(pz, {"aria-label": e,size: "sm",sortDescriptor: m[0] ? {@@ -59786,39 +59795,39 @@ function jV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: adirection: m[0].desc ? "descending" : "ascending"} : void 0,onSortChange: (e) => w.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),- children: [/* @__PURE__ */ (0, D.jsxs)(BN, { children: [w.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(VN, {+ children: [/* @__PURE__ */ (0, D.jsxs)(UN, { children: [w.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(WN, {id: e.id,isRowHeader: e.id === n[0].id,allowsSorting: e.column.getCanSort(),..._.columnProps(e.id),children: ({ sortDirection: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-0.5",- children: [mL(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {+ children: [_L(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {"data-sort-indicator": !0,"data-direction": t || void 0,- children: /* @__PURE__ */ (0, D.jsx)(AP, {})+ children: /* @__PURE__ */ (0, D.jsx)(NP, {})}) : null]- }), /* @__PURE__ */ (0, D.jsx)(Sz, {+ }), /* @__PURE__ */ (0, D.jsx)(Tz, {preferences: _,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, D.jsx)(VN, {+ }, e.id)), /* @__PURE__ */ (0, D.jsx)(WN, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: _.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, D.jsx)(WN, {+ })] }), /* @__PURE__ */ (0, D.jsx)(qN, {renderEmptyState: () => "没有记录",- children: w.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(qN, {+ children: w.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(XN, {id: e.id,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(YN, { children: mL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(YN, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(QN, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(QN, { "data-table-space": "" })]}, e.id))})]})}),- /* @__PURE__ */ (0, D.jsx)(mz, {+ /* @__PURE__ */ (0, D.jsx)(_z, {label: e,total: t.length,pagination: {@@ -59837,17 +59846,17 @@ function jV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a}//#endregion//#region src/react/components/site-mark.tsx-function MV({ source: e, linkId: t }) {+function FV({ source: e, linkId: t }) {let [n, r] = (0, E.useState)(""), i = String(t ?? e);- if (t === void 0 && !e) return /* @__PURE__ */ (0, D.jsx)(Pk, {+ if (t === void 0 && !e) return /* @__PURE__ */ (0, D.jsx)(Lk, {"aria-hidden": !0,className: "size-4 shrink-0"});- if (e === "makers") return /* @__PURE__ */ (0, D.jsx)(Sve, {+ if (e === "makers") return /* @__PURE__ */ (0, D.jsx)(bve, {"aria-hidden": !0,className: "size-4 shrink-0"});- if (n === i) return /* @__PURE__ */ (0, D.jsx)(Pk, {+ if (n === i) return /* @__PURE__ */ (0, D.jsx)(Lk, {"aria-hidden": !0,className: "size-4 shrink-0"});@@ -59870,10 +59879,10 @@ function MV({ source: e, linkId: t }) {}//#endregion//#region src/react/components/legacy-avatar.ts-var NV = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover";+var IV = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover";//#endregion//#region src/react/data-cleanup/link-check-icon.tsx-function qke({ className: e }) {+function Gke({ className: e }) {return /* @__PURE__ */ (0, D.jsxs)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -59901,8 +59910,8 @@ function qke({ className: e }) {}//#endregion//#region src/react/data-cleanup/link-manager.tsx-var PV = hP("rotate-cw"), Jke = "站点返回 404 或 410,确认这个地址不存在。", Yke = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Xke = "删除前会逐条重验一次;此操作不可撤销。", Zke = "暂时无法读取进度,正在重新连接…", FV = (e) => Number(e || 0).toLocaleString();-function IV({ label: e, value: t, note: n }) {+var LV = vP("rotate-cw"), Kke = "站点返回 404 或 410,确认这个地址不存在。", qke = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Jke = "删除前会逐条重验一次;此操作不可撤销。", Yke = "暂时无法读取进度,正在重新连接…", RV = (e) => Number(e || 0).toLocaleString();+function zV({ label: e, value: t, note: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-col gap-0.5",children: [@@ -59921,11 +59930,11 @@ function IV({ label: e, value: t, note: n }) {]});}-function LV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, footer: o, confirmed: s = !1 }) {+function BV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, footer: o, confirmed: s = !1 }) {return t.length ? /* @__PURE__ */ (0, D.jsx)("div", {- className: SV,+ className: TV,"data-link-results": s ? "gone" : "unclear",- children: /* @__PURE__ */ (0, D.jsx)(jV, {+ children: /* @__PURE__ */ (0, D.jsx)(PV, {label: e,items: t,columns: [@@ -59941,7 +59950,7 @@ function LV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, fo"data-link-identity": "",children: [/* @__PURE__ */ (0, D.jsx)("span", {"data-link-avatar": "",- className: `relative flex size-6 shrink-0 items-center justify-center overflow-hidden rounded-full bg-background-quaternary-default text-caption-1-medium text-text-primary ${NV}`,+ className: `relative flex size-6 shrink-0 items-center justify-center overflow-hidden rounded-full bg-background-quaternary-default text-caption-1-medium text-text-primary ${IV}`,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: `<span>${B(hn(e.entity))}</span>` + xa({kind: e.entity_kind,@@ -59962,8 +59971,8 @@ function LV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, foid: "kind",label: "类型",width: 128,- value: (e) => fB[e.link_kind] || e.link_kind,- render: (e) => fB[e.link_kind] || e.link_kind+ value: (e) => hB[e.link_kind] || e.link_kind,+ render: (e) => hB[e.link_kind] || e.link_kind},{id: "label",@@ -59988,16 +59997,16 @@ function LV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, forender: (e) => /* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-0 w-full","data-link-result": s ? "gone" : "unclear",- children: /^(?:HTTP\s+)?[1-5]\d{2}$/.test(e.note.trim()) ? /* @__PURE__ */ (0, D.jsx)(TV, {+ children: /^(?:HTTP\s+)?[1-5]\d{2}$/.test(e.note.trim()) ? /* @__PURE__ */ (0, D.jsx)(OV, {tone: s || /^(?:HTTP\s+)?5\d{2}$/.test(e.note.trim()) ? "error" : "warning","data-link-code": "",children: e.note.trim()}) : /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col items-start gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(TV, {+ children: [/* @__PURE__ */ (0, D.jsx)(OV, {tone: s ? "error" : "warning",children: s ? "地址已失效" : "未取得结论"- }), /* @__PURE__ */ (0, D.jsx)(WA, {+ }), /* @__PURE__ */ (0, D.jsx)(qA, {text: e.note,className: "tabular-nums text-text-secondary"})]@@ -60018,13 +60027,13 @@ function LV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, fo"data-link-address": "",className: "flex min-w-0 items-center gap-1 text-text-secondary hover:text-text-primary",children: [- /* @__PURE__ */ (0, D.jsx)(MV, { linkId: e.id }),+ /* @__PURE__ */ (0, D.jsx)(FV, { linkId: e.id }),/* @__PURE__ */ (0, D.jsx)("span", {"data-middle-truncate": !0,className: "min-w-0 truncate",children: e.url}),- /* @__PURE__ */ (0, D.jsx)(Mk, {+ /* @__PURE__ */ (0, D.jsx)(Fk, {"aria-hidden": !0,className: "size-3.5 shrink-0"})@@ -60044,27 +60053,27 @@ function LV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, fo})}) : null;}-function Qke() {+function Xke() {let e = _t({- queryKey: lB,- queryFn: ({ signal: e }) => mB(e)- }), [t, n] = (0, E.useState)([]), [r, i] = (0, E.useState)([]), a = OV({- queryKey: dB,- queryFn: ({ signal: e }) => gB(e),- start: LOe,+ queryKey: fB,+ queryFn: ({ signal: e }) => _B(e)+ }), [t, n] = (0, E.useState)([]), [r, i] = (0, E.useState)([]), a = jV({+ queryKey: mB,+ queryFn: ({ signal: e }) => yB(e),+ start: FOe,onFinish: () => {W.invalidateQueries({- queryKey: lB,+ queryKey: fB,exact: !0}), W.invalidateQueries({- queryKey: uB,+ queryKey: pB,exact: !0});}- }), o = OV({- queryKey: uB,- queryFn: ({ signal: e }) => hB(e),- start: IOe,+ }), o = jV({+ queryKey: pB,+ queryFn: ({ signal: e }) => vB(e),+ start: POe,onStarted: () => {a.dismiss(), n([]), i([]);}@@ -60097,7 +60106,7 @@ function Qke() {else if (x && !f.length && !p.length) w = /* @__PURE__ */ (0, D.jsx)(J, {tone: "success",title: "完成",- children: vB(x)+ children: xB(x)});else if (S) w = /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",@@ -60107,7 +60116,7 @@ function Qke() {else if (o.query.isError && s) w = /* @__PURE__ */ (0, D.jsx)(J, {tone: "neutral",title: "任务状态",- children: Zke+ children: Yke});else if (s?.status === "failed") w = /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",@@ -60115,12 +60124,12 @@ function Qke() {children: s.error || "检查失败"});else if (s && s.status !== "idle") {- C = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [s.status === "running" ? /* @__PURE__ */ (0, D.jsx)(_F, {+ C = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [s.status === "running" ? /* @__PURE__ */ (0, D.jsx)(bF, {embedded: !0,- label: ROe(s),+ label: IOe(s),value: Math.min(s.checked || 0, s.total || 0),total: s.total- }) : null, u ? /* @__PURE__ */ (0, D.jsx)(_F, {+ }) : null, u ? /* @__PURE__ */ (0, D.jsx)(bF, {embedded: !0,label: a.job?.message || "正在重验并删除失效链接…",value: Math.min(a.job?.checked || 0, a.job?.total || 0),@@ -60128,23 +60137,23 @@ function Qke() {}) : null] });let e = g.length ? `重试选中的 ${g.length} 条` : "重试选中的链接";w = d || f.length || p.length ? /* @__PURE__ */ (0, D.jsxs)("div", {- className: Mke,+ className: Ake,children: [x?.status === "complete" ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "success",title: "完成",- children: vB(x)+ children: xB(x)}) : null,- /* @__PURE__ */ (0, D.jsx)(LV, {+ /* @__PURE__ */ (0, D.jsx)(BV, {title: "地址已失效",items: f,- hint: Jke,+ hint: Kke,picked: r,onPick: i,confirmed: !0,footer: d && f.length ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("p", {className: "mr-auto min-w-0 text-caption-1-regular text-text-secondary",- children: Xke+ children: Jke}), /* @__PURE__ */ (0, D.jsx)(q, {variant: "danger",...Y(u),@@ -60160,20 +60169,20 @@ function Qke() {children: `删除所选(${h.length})`})}),- /* @__PURE__ */ (0, D.jsx)(LV, {+ /* @__PURE__ */ (0, D.jsx)(BV, {title: "本次未访问成功",items: p,- hint: Yke,+ hint: qke,picked: t,onPick: n,footer: m.length ? /* @__PURE__ */ (0, D.jsx)(q, {- leadingIcon: PV,+ leadingIcon: LV,...Y(l),onClick: () => y(m.map((e) => e.id)),children: `全部重试(${m.length})`}) : null,children: m.length ? /* @__PURE__ */ (0, D.jsx)(D.Fragment, { children: /* @__PURE__ */ (0, D.jsx)(q, {- leadingIcon: PV,+ leadingIcon: LV,disabled: !g.length,...Y(l),onClick: () => y(g),@@ -60181,7 +60190,7 @@ function Qke() {}) }) : null}),d && !f.length && !p.length ? /* @__PURE__ */ (0, D.jsx)("p", {- className: `${SV} text-body-regular text-notification-success-foreground`,+ className: `${TV} text-body-regular text-notification-success-foreground`,children: "全部链接均可访问。"}) : null]@@ -60191,18 +60200,18 @@ function Qke() {id: "link-manager","aria-labelledby": "link-manager-title",className: "flex scroll-mt-20 flex-col gap-4",- children: [/* @__PURE__ */ (0, D.jsxs)(wV, {+ children: [/* @__PURE__ */ (0, D.jsxs)(DV, {layout: "stack",labelledBy: "link-manager-title",footer: /* @__PURE__ */ (0, D.jsx)(q, {"data-link-check": "",- leadingIcon: qke,+ leadingIcon: Gke,...Y(l),onClick: () => y(),children: l ? "检查中" : d ? "重新检查" : "检查死链"}),children: [- /* @__PURE__ */ (0, D.jsx)(CV, {+ /* @__PURE__ */ (0, D.jsx)(EV, {id: "link-manager-title",gap: "small",children: "链接管理"@@ -60213,13 +60222,13 @@ function Qke() {children: V(e.error)}) : _ ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "link-stat-grid mt-4 gap-x-8 gap-y-3",- children: [/* @__PURE__ */ (0, D.jsx)(IV, {+ children: [/* @__PURE__ */ (0, D.jsx)(zV, {label: "链接总数",- value: FV(_.total),- note: `分布在 ${FV(_.entities)} 个女优、厂牌与系列`- }), Object.entries(_.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(IV, {- label: fB[e] || e,- value: FV(t)+ value: RV(_.total),+ note: `分布在 ${RV(_.entities)} 个女优、厂牌与系列`+ }), Object.entries(_.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(zV, {+ label: hB[e] || e,+ value: RV(t)}, e))]}), v.length ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "mt-4 flex min-w-0 flex-col gap-0.5",@@ -60237,22 +60246,22 @@ function Qke() {rel: "noopener noreferrer",className: "inline-flex min-w-0 items-center gap-1.5 text-body-2-medium text-text-primary",children: [- /* @__PURE__ */ (0, D.jsx)(MV, { linkId: _.top_host_link_ids?.[e] }),+ /* @__PURE__ */ (0, D.jsx)(FV, { linkId: _.top_host_link_ids?.[e] }),/* @__PURE__ */ (0, D.jsx)("span", {className: "min-w-0 wrap-anywhere",children: e}),- /* @__PURE__ */ (0, D.jsx)(Mk, {+ /* @__PURE__ */ (0, D.jsx)(Fk, {"aria-hidden": !0,className: "size-3.5 shrink-0"})]- }), /* @__PURE__ */ (0, D.jsx)(Hk, {+ }), /* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption",color: "neutral",children: /* @__PURE__ */ (0, D.jsx)("span", {className: "tabular-nums",- children: FV(t)+ children: RV(t)})})]}, e))@@ -60273,7 +60282,7 @@ function Qke() {}//#endregion//#region src/react/settings/folder-rows.tsx-function RV({ className: e }) {+function VV({ className: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -60286,34 +60295,34 @@ function RV({ className: e }) {children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-folder-search" })});}-var zV = Nt, BV = (e) => _o[e] || "database", VV = (e) => Ft.includes(e);-function HV({ label: e, className: t, children: n }) {+var HV = Nt, UV = (e) => _o[e] || "database", WV = (e) => Ft.includes(e);+function GV({ label: e, className: t, children: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {- className: oO("flex min-w-0 flex-col gap-1", t),- children: [/* @__PURE__ */ (0, D.jsx)(oP, {+ className: lO("flex min-w-0 flex-col gap-1", t),+ children: [/* @__PURE__ */ (0, D.jsx)(lP, {elementType: "span","aria-hidden": !0,children: e}), n]});}-function UV({ children: e }) {+function KV({ children: e }) {return /* @__PURE__ */ (0, D.jsx)("div", {className: "flex w-full flex-wrap items-start gap-2",children: e});}-function $ke({ index: e, cost: t, error: n, onChange: r }) {+function Zke({ index: e, cost: t, error: n, onChange: r }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-media-read-policy": e,className: "flex w-full flex-col gap-1 @lg:w-32",children: [- /* @__PURE__ */ (0, D.jsx)(oP, {+ /* @__PURE__ */ (0, D.jsx)(lP, {elementType: "span","aria-hidden": !0,children: "读取策略"}),- /* @__PURE__ */ (0, D.jsxs)(FF, {+ /* @__PURE__ */ (0, D.jsxs)(RF, {"aria-label": `媒体读取策略 ${e + 1}`,placeholder: "选择读取策略",isRequired: !0,@@ -60323,22 +60332,22 @@ function $ke({ index: e, cost: t, error: n, onChange: r }) {onSelectionChange: (e) => {(e === "free" || e === "metered") && r(e);},- children: [/* @__PURE__ */ (0, D.jsx)(IF, {+ children: [/* @__PURE__ */ (0, D.jsx)(zF, {id: "free",children: "正常读取"- }), /* @__PURE__ */ (0, D.jsx)(IF, {+ }), /* @__PURE__ */ (0, D.jsx)(zF, {id: "metered",children: "代理保护"})]}),- n ? /* @__PURE__ */ (0, D.jsx)(dA, { children: n }) : null+ n ? /* @__PURE__ */ (0, D.jsx)(mA, { children: n }) : null]});}-function eAe() {- return /* @__PURE__ */ (0, D.jsx)(uA, { children: "读取策略选「代理保护」时,会限制自动读取视频。" });+function Qke() {+ return /* @__PURE__ */ (0, D.jsx)(pA, { children: "读取策略选「代理保护」时,会限制自动读取视频。" });}-function tAe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {+function $ke({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {let [a, o] = (0, E.useState)(e), [s, c] = (0, E.useState)([]), [l, u] = (0, E.useState)(null), [d, f] = (0, E.useState)(null), p = (0, E.useRef)(!1), m = (0, E.useRef)([]);(0, E.useLayoutEffect)(() => {l !== null && (m.current[l]?.focus(), u(null));@@ -60381,7 +60390,7 @@ function tAe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick:}};}-function nAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {+function eAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {let u = (0, E.useRef)(null), d = () => {let e = u.current;e && e.ownerDocument.activeElement !== e && (e.scrollLeft = e.scrollWidth);@@ -60394,7 +60403,7 @@ function nAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex items-start gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {className: "min-w-0 flex-1","aria-label": e,placeholder: "媒体目录路径",@@ -60412,8 +60421,8 @@ function nAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,className: "flex h-9 shrink-0 items-center",children: c}) : null,- /* @__PURE__ */ (0, D.jsx)(ZA, {- icon: RV,+ /* @__PURE__ */ (0, D.jsx)(ej, {+ icon: VV,"aria-label": "选择文件夹",onClick: o,...Y(a)@@ -60421,7 +60430,7 @@ function nAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,s ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "danger",iconOnly: !0,- leadingIcon: jk,+ leadingIcon: Pk,"aria-label": "移除这个文件夹",onClick: s}) : null@@ -60432,39 +60441,39 @@ function nAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,})]});}-function rAe({ index: e, value: t, onChange: n, options: r = zV }) {- return /* @__PURE__ */ (0, D.jsx)(HV, {+function tAe({ index: e, value: t, onChange: n, options: r = HV }) {+ return /* @__PURE__ */ (0, D.jsx)(GV, {label: "来源",className: "w-full @lg:w-60",- children: /* @__PURE__ */ (0, D.jsx)(FF, {+ children: /* @__PURE__ */ (0, D.jsx)(RF, {className: "w-full","aria-label": `媒体来源 ${e + 1}`,selectedKey: t,onSelectionChange: (e) => {e !== null && n(String(e));},- children: r.map(([e, t]) => /* @__PURE__ */ (0, D.jsxs)(IF, {+ children: r.map(([e, t]) => /* @__PURE__ */ (0, D.jsxs)(zF, {id: e,textValue: t,- children: [/* @__PURE__ */ (0, D.jsx)(_A, { mark: BV(e) }), t]+ children: [/* @__PURE__ */ (0, D.jsx)(bA, { mark: UV(e) }), t]}, e))})});}//#endregion//#region src/react/data-cleanup/organize-card.tsx-var iAe = (e, t) => `将整理「${e}」${t ? `的「${t}」及其子目录` : "上的文件名与目录"},清理特殊符号与乱码,并按已填模板改名或移动。目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, aAe = "将把上一批整理动过的文件退回整理前的名字与位置,数据库路径跟着退回。退回后这一批不再出现在这里。", WV = 8;-function oAe({ plan: e }) {+var nAe = (e, t) => `将整理「${e}」${t ? `的「${t}」及其子目录` : "上的文件名与目录"},清理特殊符号与乱码,并按已填模板改名或移动。目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, rAe = "将把上一批整理动过的文件退回整理前的名字与位置,数据库路径跟着退回。退回后这一批不再出现在这里。", qV = 8;+function iAe({ plan: e }) {return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("ol", {className: "mt-2 flex min-w-0 flex-col gap-1",- children: e.rows.slice(0, WV).map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {+ children: e.rows.slice(0, qV).map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, D.jsx)("span", {"data-middle-truncate": !0,title: e.current_path,className: "min-w-0 truncate",- children: jB(e.current_path)+ children: PB(e.current_path)}),/* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,@@ -60474,19 +60483,19 @@ function oAe({ plan: e }) {"data-middle-truncate": !0,title: e.target_path,className: "min-w-0 truncate text-text-primary",- children: jB(e.target_path)+ children: PB(e.target_path)})]}, e.current_path))- }), e.truncated || e.rows.length > WV ? /* @__PURE__ */ (0, D.jsx)("p", {+ }), e.truncated || e.rows.length > qV ? /* @__PURE__ */ (0, D.jsx)("p", {className: "text-caption-1-regular text-text-secondary",children: "只列出前 8 行,完整计划在计划 CSV 里。"}) : null] });}-function sAe({ toast: e, failure: t }) {+function aAe({ toast: e, failure: t }) {let n = _t({- queryKey: kB,- queryFn: ({ signal: e }) => AB(e)+ queryKey: MB,+ queryFn: ({ signal: e }) => NB(e)}), r = n.data, i = r?.locations ?? [], [a, o] = (0, E.useState)(""), s = i.some((e) => e.location === a) ? a : i[0]?.location ?? "", c = r?.templates?.[s], [l, u] = (0, E.useState)(null), d = l?.location === s ? l : {location: s,file: c?.file ?? "",@@ -60513,7 +60522,7 @@ function sAe({ toast: e, failure: t }) {d.file,d.dir],- queryFn: ({ signal: e }) => YOe(d.file, d.dir, e),+ queryFn: ({ signal: e }) => qOe(d.file, d.dir, e),enabled: !!r}), [C, w] = (0, E.useState)("file"), T = (0, E.useRef)(!1), O = (0, E.useRef)(null);(0, E.useLayoutEffect)(() => {@@ -60529,32 +60538,32 @@ function sAe({ toast: e, failure: t }) {file_template: d.file.trim(),dir_template: d.dir.trim()}), A = vt({- mutationFn: ZOe,+ mutationFn: YOe,onError: (e) => {- let t = /整理路径/.test(V(e)) ? "path" : nke.test(V(e)) ? "dir" : "file";+ let t = /整理路径/.test(V(e)) ? "path" : eke.test(V(e)) ? "dir" : "file";v(t), (t === "path" ? x : t === "dir" ? b : y).current?.focus();}}), j = vt({- mutationFn: ({ initial: e }) => QOe(e),+ mutationFn: ({ initial: e }) => XOe(e),onSuccess: (e, t) => {e.path && t.location === g.current.location && t.path === g.current.path && (m({location: t.location,path: e.path}), v(null), A.reset(), x.current?.focus());}- }), M = OV({- queryKey: kB,- queryFn: ({ signal: e }) => AB(e),- start: $Oe,+ }), M = jV({+ queryKey: MB,+ queryFn: ({ signal: e }) => NB(e),+ start: ZOe,jobOf: (e) => e,- withJob: tke,+ withJob: $Oe,onStarted: () => A.reset(),onFinish: (n) => {if (W.invalidateQueries({- queryKey: kB,+ queryKey: MB,exact: !0}), n.status !== "complete") return;- let { text: r, failed: i } = NB(n);+ let { text: r, failed: i } = IB(n);i ? t("整理文件", /* @__PURE__ */ Error(`${i} 行未能处理`)) : e(r.replace(/。$/, ""));}}), N = M.running || M.start.isPending, P = JSON.stringify(A.variables) === JSON.stringify(k()), F = P ? A.data : void 0, I = Number(F?.counts?.change || 0), ee = _n[s] || s, L = (e) => {@@ -60571,13 +60580,13 @@ function sAe({ toast: e, failure: t }) {let e = A.variables;e && F && I && Hs({title: "整理文件",- body: iAe(ee, e.path),+ body: nAe(ee, e.path),confirmLabel: "整理文件",onConfirm: async () => {await M.start.mutateAsync({kind: "apply",request: e- }), eke({+ }), QOe({...r?.templates ?? {},[e.location]: {file: e.file_template,@@ -60588,13 +60597,13 @@ function sAe({ toast: e, failure: t }) {});}, ie = () => void Hs({title: "回滚上一批整理",- body: aAe,+ body: rAe,confirmLabel: "回滚整理",onConfirm: () => M.start.mutateAsync({ kind: "rollback" })}), ae = null, oe = M.job, se = M.outcome;if (oe?.status === "running") {let e = oe.message || oe.stage || "正在整理文件…";- ae = /* @__PURE__ */ (0, D.jsx)(_F, {+ ae = /* @__PURE__ */ (0, D.jsx)(bF, {embedded: !0,label: e,value: Math.min(oe.checked || 0, oe.total || 0),@@ -60606,7 +60615,7 @@ function sAe({ toast: e, failure: t }) {children: se.error || "请查看任务记录,核对已处理的文件。"});else if (se) {- let { text: e, failed: t } = NB(se);+ let { text: e, failed: t } = IB(se);ae = /* @__PURE__ */ (0, D.jsx)(J, {tone: t ? "warning" : "success",title: t ? "部分完成" : "整理结果",@@ -60616,7 +60625,7 @@ function sAe({ toast: e, failure: t }) {tone: "error",title: "整理失败",children: V(M.start.error)- }) : A.isPending ? ae = /* @__PURE__ */ (0, D.jsx)(_F, {+ }) : A.isPending ? ae = /* @__PURE__ */ (0, D.jsx)(bF, {embedded: !0,label: "正在核对整理计划…"}) : A.isError && P ? ae = /* @__PURE__ */ (0, D.jsx)(J, {@@ -60626,9 +60635,9 @@ function sAe({ toast: e, failure: t }) {}) : F && (ae = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(J, {tone: "neutral",title: "预览结果",- children: rke(F)- }), I ? /* @__PURE__ */ (0, D.jsx)(oAe, { plan: F }) : null] }));- return /* @__PURE__ */ (0, D.jsxs)(wV, {+ children: tke(F)+ }), I ? /* @__PURE__ */ (0, D.jsx)(iAe, { plan: F }) : null] }));+ return /* @__PURE__ */ (0, D.jsxs)(DV, {layout: "stack",id: "organize",labelledBy: "cleanup-organize-title",@@ -60652,7 +60661,7 @@ function sAe({ toast: e, failure: t }) {}) : null] }),children: [- /* @__PURE__ */ (0, D.jsx)(CV, {+ /* @__PURE__ */ (0, D.jsx)(EV, {id: "cleanup-organize-title",gap: "medium",children: "整理"@@ -60675,7 +60684,7 @@ function sAe({ toast: e, failure: t }) {/* @__PURE__ */ (0, D.jsxs)("div", {"data-organize-scope": !0,className: "flex min-w-0 flex-wrap items-start gap-2",- children: [i.length ? /* @__PURE__ */ (0, D.jsx)(FF, {+ children: [i.length ? /* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": "整理哪个来源",className: "w-fit min-w-25",selectedKey: s || null,@@ -60685,14 +60694,14 @@ function sAe({ toast: e, failure: t }) {path: ""}), v(null), A.reset(), j.reset(), T.current = !1);},- children: i.map((e) => /* @__PURE__ */ (0, D.jsxs)(IF, {+ children: i.map((e) => /* @__PURE__ */ (0, D.jsxs)(zF, {id: e.location,textValue: _n[e.location] || e.location,- children: [/* @__PURE__ */ (0, D.jsx)(_A, { mark: _o[e.location] || "database" }), _n[e.location] || e.location]+ children: [/* @__PURE__ */ (0, D.jsx)(bA, { mark: _o[e.location] || "database" }), _n[e.location] || e.location]}, e.location))}) : null, /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 basis-64 flex-1 items-start gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(dP, {+ children: [/* @__PURE__ */ (0, D.jsx)(mP, {"aria-label": "整理路径",className: "min-w-0 flex-1",placeholder: "留空整理整个来源",@@ -60708,8 +60717,8 @@ function sAe({ toast: e, failure: t }) {path: e}), v(null), A.reset(), j.reset();}- }), /* @__PURE__ */ (0, D.jsx)(ZA, {- icon: RV,+ }), /* @__PURE__ */ (0, D.jsx)(ej, {+ icon: VV,"aria-label": "选择整理路径",...Y(j.isPending),onClick: () => j.mutate({@@ -60729,7 +60738,7 @@ function sAe({ toast: e, failure: t }) {title: "目录选择失败",children: [V(j.error), ";也可直接输入路径。"]}) : null,- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "文件名模板",placeholder: "{code}[ {title}]",value: d.file,@@ -60741,7 +60750,7 @@ function sAe({ toast: e, failure: t }) {},onChange: (e) => L({ file: e })}),- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "目录模板",placeholder: "留空表示原地改名",value: d.dir,@@ -60839,27 +60848,27 @@ function sAe({ toast: e, failure: t }) {}//#endregion//#region src/react/data-cleanup/orphan-records-card.tsx-var cAe = hP("play"), GV = () => W.invalidateQueries({- queryKey: PB,+var oAe = vP("play"), JV = () => W.invalidateQueries({+ queryKey: LB,exact: !0});-function lAe({ item: e, toast: t }) {+function sAe({ item: e, toast: t }) {let [n, r] = (0, E.useState)(e.candidates[0]?.id ?? null), i = vt({- mutationFn: () => ske(e.id, Number(n)),+ mutationFn: () => ake(e.id, Number(n)),onSuccess: () => {let r = e.candidates.find((e) => e.id === n);- t(`已将「${e.name}」的个人记录转移到「${r?.name ?? "所选文件"}」`), GV();+ t(`已将「${e.name}」的个人记录转移到「${r?.name ?? "所选文件"}」`), JV();},onError: (e) => t(V(e))}), a = vt({- mutationFn: () => IB(e.id),+ mutationFn: () => zB(e.id),onSuccess: (n) => {- t(n.blocked.length ? `「${e.name}」的文件已恢复,记录未删除;下次扫描后恢复为在库状态` : `已删除「${e.name}」的作品记录及个人记录`), GV();+ t(n.blocked.length ? `「${e.name}」的文件已恢复,记录未删除;下次扫描后恢复为在库状态` : `已删除「${e.name}」的作品记录及个人记录`), JV();}}), o = () => {Hs({title: "删除记录",- body: `将删除「${e.name}」的作品记录${LB(e.records) ? `及其个人记录(${LB(e.records)})` : ""}。此操作不可撤销。`,+ body: `将删除「${e.name}」的作品记录${BB(e.records) ? `及其个人记录(${BB(e.records)})` : ""}。此操作不可撤销。`,confirmLabel: "删除记录",danger: !0,onConfirm: () => a.mutateAsync()@@ -60868,17 +60877,17 @@ function lAe({ item: e, toast: t }) {return /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 flex-wrap items-center gap-2",children: [- e.candidates.length ? /* @__PURE__ */ (0, D.jsx)(FF, {+ e.candidates.length ? /* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": `选择接收 ${e.name} 个人记录的文件`,className: "w-52",selectedKey: n,onSelectionChange: (e) => {e !== null && r(Number(e));},- children: e.candidates.map((e) => /* @__PURE__ */ (0, D.jsx)(IF, {+ children: e.candidates.map((e) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e.id,- textValue: RB(e),- children: RB(e)+ textValue: VB(e),+ children: VB(e)}, e.id))}) : null,e.candidates.length ? /* @__PURE__ */ (0, D.jsx)(q, {@@ -60898,12 +60907,12 @@ function lAe({ item: e, toast: t }) {]});}-function uAe({ item: e }) {+function cAe({ item: e }) {return /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 items-center gap-3",children: [/* @__PURE__ */ (0, D.jsxs)("span", {className: "relative inline-grid aspect-16/10 w-24 flex-none place-items-center max-cleanup-tight:hidden overflow-hidden rounded-lg border border-separator-border bg-background-tertiary-default text-text-tertiary",- children: [/* @__PURE__ */ (0, D.jsx)(cAe, {+ children: [/* @__PURE__ */ (0, D.jsx)(oAe, {"aria-hidden": !0,className: "size-5"}), e.has_thumb ? /* @__PURE__ */ (0, D.jsx)("img", {@@ -60926,14 +60935,14 @@ function uAe({ item: e }) {})]});}-function dAe({ toast: e }) {+function lAe({ toast: e }) {let [t, n] = (0, E.useState)([]), r = _t({- queryKey: PB,- queryFn: ({ signal: e }) => FB(e)+ queryKey: LB,+ queryFn: ({ signal: e }) => RB(e)}), i = r.data?.items ?? [], a = vt({- mutationFn: (e) => IB(e),+ mutationFn: (e) => zB(e),onSuccess: (t) => {- e(`已删除 ${t.purged} 条作品记录及其个人记录${t.blocked.length ? `;${t.blocked.length} 条文件已恢复,记录未删除` : ""}`), n([]), GV();+ e(`已删除 ${t.purged} 条作品记录及其个人记录${t.blocked.length ? `;${t.blocked.length} 条文件已恢复,记录未删除` : ""}`), n([]), JV();}}), o = (e) => void Hs({title: "删除所选记录",@@ -60949,17 +60958,17 @@ function dAe({ toast: e }) {width: 480,min: 320,value: (e) => e.name,- render: (e) => /* @__PURE__ */ (0, D.jsx)(uAe, { item: e })+ render: (e) => /* @__PURE__ */ (0, D.jsx)(cAe, { item: e })},{id: "records",label: "个人记录",width: 176,min: 144,- value: (e) => LB(e.records),+ value: (e) => BB(e.records),render: (e) => /* @__PURE__ */ (0, D.jsx)("span", {className: "block min-w-0 whitespace-normal wrap-anywhere",- children: LB(e.records) || "无"+ children: BB(e.records) || "无"})},{@@ -60968,7 +60977,7 @@ function dAe({ toast: e }) {width: i.some((e) => e.candidates.length) ? 360 : 128,min: 128,value: (e) => e.candidates.length,- render: (t) => /* @__PURE__ */ (0, D.jsx)(lAe, {+ render: (t) => /* @__PURE__ */ (0, D.jsx)(sAe, {item: t,toast: e})@@ -60978,10 +60987,10 @@ function dAe({ toast: e }) {id: "orphan-records","aria-labelledby": "orphan-records-title",className: "flex scroll-mt-20 flex-col gap-4",- children: r.isError ? /* @__PURE__ */ (0, D.jsxs)(wV, {+ children: r.isError ? /* @__PURE__ */ (0, D.jsxs)(DV, {layout: "stack",labelledBy: "orphan-records-title",- children: [/* @__PURE__ */ (0, D.jsx)(CV, {+ children: [/* @__PURE__ */ (0, D.jsx)(EV, {id: "orphan-records-title",children: "文件已丢失的记录"}), /* @__PURE__ */ (0, D.jsx)(J, {@@ -60989,7 +60998,7 @@ function dAe({ toast: e }) {title: "读取文件已丢失的记录失败",children: V(r.error)})]- }) : /* @__PURE__ */ (0, D.jsx)(jV, {+ }) : /* @__PURE__ */ (0, D.jsx)(PV, {label: "文件已消失的作品",items: i,columns: s,@@ -61014,7 +61023,7 @@ function dAe({ toast: e }) {}//#endregion//#region src/react/boardui/components/base/badges/status-dot.tsx-var KV = sO({+var YV = uO({base: "inline-flex size-3 shrink-0 items-center justify-center rounded-full",halo: {green: "bg-status-dot-green-halo",@@ -61027,134 +61036,134 @@ var KV = sO({indigo: "bg-indigo-500"}});-function fAe({ color: e = "green", className: t, ref: n, ...r }) {+function uAe({ color: e = "green", className: t, ref: n, ...r }) {return /* @__PURE__ */ (0, D.jsx)("span", {ref: n,"aria-hidden": !0,- className: oO(KV.base, KV.halo[e], t),+ className: lO(YV.base, YV.halo[e], t),...r,- children: /* @__PURE__ */ (0, D.jsx)("span", { className: oO("size-1.5 rounded-full", KV.dot[e]) })+ children: /* @__PURE__ */ (0, D.jsx)("span", { className: lO("size-1.5 rounded-full", YV.dot[e]) })});}//#endregion//#region src/react/components/connection-status.tsx-var pAe = {+var dAe = {success: "text-green-700 dark:text-green-400",warning: "text-status-yellow-text",progress: "text-notification-information-foreground",neutral: "text-text-secondary",error: "text-text-error-primary"};-function qV({ online: e, tone: t, children: n }) {+function XV({ online: e, tone: t, children: n }) {let r = t ?? (e === !0 ? "success" : e === !1 ? "warning" : "neutral");return /* @__PURE__ */ (0, D.jsxs)("span", {"data-mount": e === !0 ? "online" : e === !1 ? "offline" : "unknown","data-connection-tone": r,- className: oO("inline-flex items-center gap-1.5 whitespace-nowrap text-body-2-medium", pAe[r]),- children: [/* @__PURE__ */ (0, D.jsx)(fAe, { color: r === "success" ? "green" : r === "warning" ? "yellow" : "indigo" }), n ?? (e === !0 ? "在线" : e === !1 ? "离线" : "未检测")]+ className: lO("inline-flex items-center gap-1.5 whitespace-nowrap text-body-2-medium", dAe[r]),+ children: [/* @__PURE__ */ (0, D.jsx)(uAe, { color: r === "success" ? "green" : r === "warning" ? "yellow" : "indigo" }), n ?? (e === !0 ? "在线" : e === !1 ? "离线" : "未检测")]});}//#endregion//#region src/react/data-cleanup/resource-sync-card.tsx-var mAe = hP("git-compare"), hAe = hP("rotate-cw"), gAe = "暂时无法读取进度,正在重新连接…", JV = "清理失效条目", YV = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", XV = (e) => Number(e || 0).toLocaleString();-function ZV({ scan: e, partial: t = !1 }) {+var fAe = vP("git-compare"), pAe = vP("rotate-cw"), mAe = "暂时无法读取进度,正在重新连接…", ZV = "清理失效条目", QV = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", $V = (e) => Number(e || 0).toLocaleString();+function eH({ scan: e, partial: t = !1 }) {let n = e.cache ?? {files: 0,bytes: 0};return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("div", {- className: YV,+ className: QV,children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, D.jsxs)("article", {- className: cV(),- children: [/* @__PURE__ */ (0, D.jsx)(lV, {+ className: dV(),+ children: [/* @__PURE__ */ (0, D.jsx)(fV, {label: It[e.location] || "媒体来源",- mark: /* @__PURE__ */ (0, D.jsx)(_A, { mark: _o[e.location] ?? "database" }),- aside: /* @__PURE__ */ (0, D.jsx)(qV, {+ mark: /* @__PURE__ */ (0, D.jsx)(bA, { mark: _o[e.location] ?? "database" }),+ aside: /* @__PURE__ */ (0, D.jsx)(XV, {online: e.online,children: e.online ? "可访问" : "离线"}),- figure: e.online ? `${XV(e.missing)} 项` : "—",- meta: e.online ? XB(e) : `${XB(e)} · 本次已跳过`,+ figure: e.online ? `${$V(e.missing)} 项` : "—",+ meta: e.online ? $B(e) : `${$B(e)} · 本次已跳过`,wrapMeta: !0}), e.online && e.unreadable > 0 ? /* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsxs)(TV, {+ children: /* @__PURE__ */ (0, D.jsxs)(OV, {tone: "warning",- children: [XV(e.unreadable), " 个目录未读取"]+ children: [$V(e.unreadable), " 个目录未读取"]})}) : null]}, e.location))}), !t && /* @__PURE__ */ (0, D.jsxs)("div", {- className: YV,+ className: QV,children: [/* @__PURE__ */ (0, D.jsx)("article", {- className: cV(),- children: /* @__PURE__ */ (0, D.jsx)(lV, {+ className: dV(),+ children: /* @__PURE__ */ (0, D.jsx)(fV, {label: "待永久删除",- figure: `${XV(qB(e))} 项`,+ figure: `${$V(XB(e))} 项`,meta: "文件已不在盘上,含回收站"})}),/* @__PURE__ */ (0, D.jsx)("article", {- className: cV(),- children: /* @__PURE__ */ (0, D.jsx)(lV, {+ className: dV(),+ children: /* @__PURE__ */ (0, D.jsx)(fV, {label: "将标为已消失",- figure: `${XV(e.vanish)} 项`,+ figure: `${$V(e.vanish)} 项`,meta: "带个人记录,记录留着"})}),/* @__PURE__ */ (0, D.jsx)("article", {- className: cV(),- children: /* @__PURE__ */ (0, D.jsx)(lV, {+ className: dV(),+ children: /* @__PURE__ */ (0, D.jsx)(fV, {label: "空文件夹",- figure: `${XV(e.empty)} 个`,+ figure: `${$V(e.empty)} 个`,meta: "保留来源根目录"})}),/* @__PURE__ */ (0, D.jsx)("article", {- className: cV(),- children: /* @__PURE__ */ (0, D.jsx)(lV, {+ className: dV(),+ children: /* @__PURE__ */ (0, D.jsx)(fV, {label: "可清理的缓存",- figure: `${XV(n.files)} 个`,+ figure: `${$V(n.files)} 个`,meta: n.files ? dn(n.bytes) : ""})})]})] });}-function _Ae({ toast: e }) {- let t = OV({- queryKey: HB,- queryFn: ({ signal: e }) => WB(e),- start: dke,+function hAe({ toast: e }) {+ let t = jV({+ queryKey: GB,+ queryFn: ({ signal: e }) => qB(e),+ start: lke,onFinish: (t) => {if (W.invalidateQueries({- queryKey: tV,+ queryKey: iV,exact: !0}), W.invalidateQueries({- queryKey: VB,+ queryKey: WB,exact: !0}), t.status !== "complete") return;- let { done: n, left: r } = ZB(t);- r ? e(`已完成 ${XV(n)} 项,${XV(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");+ let { done: n, left: r } = eV(t);+ r ? e(`已完成 ${$V(n)} 项,${$V(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");}- }), n = OV({- queryKey: VB,- queryFn: ({ signal: e }) => UB(e),- start: uke,+ }), n = jV({+ queryKey: WB,+ queryFn: ({ signal: e }) => KB(e),+ start: cke,onStarted: () => t.dismiss()}), r = n.job, i = n.running || n.start.isPending, a = t.running || t.start.isPending, o = r?.status === "complete" || r?.status === "failed", s = i ? "扫描中" : o ? "重新扫描" : "检查文件", c = (e) => void Hs({- title: JV,- body: gke(e),- confirmLabel: JV,+ title: ZV,+ body: mke(e),+ confirmLabel: ZV,danger: !0,onConfirm: () => t.start.mutateAsync(e.scan_id || "")}), l = t.outcome, u = (e) => {- let t = ZB(e).left > 0;+ let t = eV(e).left > 0;return /* @__PURE__ */ (0, D.jsx)(J, {tone: t ? "warning" : "success",title: t ? "部分完成" : "清理结果",- children: _ke(e, dn)+ children: hke(e, dn)});}, d = null, f = null;if (l?.status === "failed") f = /* @__PURE__ */ (0, D.jsx)(J, {@@ -61163,7 +61172,7 @@ function _Ae({ toast: e }) {children: l.error || "请查看任务记录,核对已处理的文件。"});else if (l) f = u(l);- else if (t.running) d = /* @__PURE__ */ (0, D.jsx)(_F, {+ else if (t.running) d = /* @__PURE__ */ (0, D.jsx)(bF, {embedded: !0,label: t.job?.message || "正在复核并清理失效条目…"});@@ -61175,20 +61184,20 @@ function _Ae({ toast: e }) {else if (n.query.isError && r) f = /* @__PURE__ */ (0, D.jsx)(J, {tone: "neutral",title: "任务状态",- children: gAe+ children: mAe});else if (r?.status === "running") {- let e = mke(r);- d = /* @__PURE__ */ (0, D.jsx)(_F, {+ let e = fke(r);+ d = /* @__PURE__ */ (0, D.jsx)(bF, {embedded: !0,label: e,value: r.completed_sources,total: r.total_sources- }), r.sources?.length && (f = /* @__PURE__ */ (0, D.jsx)(ZV, {+ }), r.sources?.length && (f = /* @__PURE__ */ (0, D.jsx)(eH, {scan: r,partial: !0}));- } else if (r?.status === "failed") f = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [r.sources?.length ? /* @__PURE__ */ (0, D.jsx)(ZV, {+ } else if (r?.status === "failed") f = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [r.sources?.length ? /* @__PURE__ */ (0, D.jsx)(eH, {scan: r,partial: !0}) : null, /* @__PURE__ */ (0, D.jsx)(J, {@@ -61202,17 +61211,17 @@ function _Ae({ toast: e }) {children: "这次检查的结果已经清理,重新扫描可再核对。"});else if (r?.status === "complete") {- let e = pke(r);- f = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(ZV, { scan: r }), e ? /* @__PURE__ */ (0, D.jsx)(J, {+ let e = dke(r);+ f = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(eH, { scan: r }), e ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "neutral",title: "清理内容",action: /* @__PURE__ */ (0, D.jsx)(q, {variant: "danger",...Y(a),onClick: () => c(r),- children: a ? "正在复核并清理…" : JV+ children: a ? "正在复核并清理…" : ZV}),- children: hke(r)+ children: pke(r)}) : /* @__PURE__ */ (0, D.jsx)("p", {className: "mr-auto text-body-regular text-notification-success-foreground",children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"@@ -61226,12 +61235,12 @@ function _Ae({ toast: e }) {id: "resource-sync","aria-labelledby": "resource-sync-title",className: "flex scroll-mt-20 flex-col gap-4",- children: [/* @__PURE__ */ (0, D.jsxs)(wV, {+ children: [/* @__PURE__ */ (0, D.jsxs)(DV, {layout: "split",labelledBy: "resource-sync-title",footer: /* @__PURE__ */ (0, D.jsx)(q, {"data-resource-scan": !0,- leadingIcon: o && !i ? hAe : mAe,+ leadingIcon: o && !i ? pAe : fAe,...Y(i),onClick: () => {i || n.start.mutate();@@ -61239,7 +61248,7 @@ function _Ae({ toast: e }) {children: s}),children: [- /* @__PURE__ */ (0, D.jsx)(CV, {+ /* @__PURE__ */ (0, D.jsx)(EV, {id: "resource-sync-title",gap: "small",children: "资源同步"@@ -61263,16 +61272,16 @@ function _Ae({ toast: e }) {}//#endregion//#region src/react/data-cleanup/data-cleanup-page.tsx-function QV(e, t) {+function tH(e, t) {return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);}-function $V({ section: e, label: t, icon: n, value: r, open: i }) {+function nH({ section: e, label: t, icon: n, value: r, open: i }) {return /* @__PURE__ */ (0, D.jsx)("button", {type: "button",- className: cV({ interactive: !0 }),+ className: dV({ interactive: !0 }),"data-cleanup-go": e,onClick: () => i(e),- children: /* @__PURE__ */ (0, D.jsx)(lV, {+ children: /* @__PURE__ */ (0, D.jsx)(fV, {label: t,icon: n,figure: r.figure,@@ -61280,80 +61289,80 @@ function $V({ section: e, label: t, icon: n, value: r, open: i }) {})});}-var vAe = hP("square-check-big"), yAe = hP("sparkles"), bAe = hP("file-stack"), xAe = hP("file-archive"), SAe = hP("trash"), CAe = [- QB,- Wz,- jz-], wAe = () => {- for (let e of CAe) W.invalidateQueries({+var gAe = vP("square-check-big"), _Ae = vP("sparkles"), vAe = vP("file-stack"), yAe = vP("file-archive"), bAe = vP("trash"), xAe = [+ tV,+ qz,+ Pz+], SAe = () => {+ for (let e of xAe) W.invalidateQueries({queryKey: e,exact: !0});};-function TAe({ toast: e, failure: t, open: n }) {+function CAe({ toast: e, failure: t, open: n }) {let r = _t({- queryKey: QB,- queryFn: ({ signal: e }) => nV(e)+ queryKey: tV,+ queryFn: ({ signal: e }) => aV(e)}), i = _t({- queryKey: Wz,- queryFn: ({ signal: e }) => Gz(e)+ queryKey: qz,+ queryFn: ({ signal: e }) => Jz(e)}), a = _t({- queryKey: jz,- queryFn: ({ signal: e }) => Nz(e)+ queryKey: Pz,+ queryFn: ({ signal: e }) => Iz(e)}), o = _t({- queryKey: $B,- queryFn: ({ signal: e }) => rV(e)+ queryKey: nV,+ queryFn: ({ signal: e }) => oV(e)}), s = _t({- queryKey: tV,- queryFn: ({ signal: e }) => iV(e)+ queryKey: iV,+ queryFn: ({ signal: e }) => sV(e)}), c = _t({queryKey: Nn,queryFn: ({ signal: e }) => Pn(e)}), l = (t) => e(t);- return /* @__PURE__ */ (0, D.jsxs)($k, { children: [+ return /* @__PURE__ */ (0, D.jsxs)(nA, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: Oke,+ className: Eke,children: [- /* @__PURE__ */ (0, D.jsx)($V, {+ /* @__PURE__ */ (0, D.jsx)(nH, {section: "review",label: "人工复核",- icon: vAe,+ icon: gAe,open: n,- value: QV(r, xke)+ value: tH(r, yke)}),- /* @__PURE__ */ (0, D.jsx)($V, {+ /* @__PURE__ */ (0, D.jsx)(nH, {section: "quality",label: "高清版",- icon: yAe,+ icon: _Ae,open: n,- value: QV(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))+ value: tH(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))}),- /* @__PURE__ */ (0, D.jsx)($V, {+ /* @__PURE__ */ (0, D.jsx)(nH, {section: "duplicates",label: "重复文件",- icon: bAe,+ icon: vAe,open: n,- value: QV(a, (e) => Number(e.total || 0) ? {+ value: tH(a, (e) => Number(e.total || 0) ? {figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,meta: `可回收 ${dn(e.reclaimable || 0)}`} : { figure: "没有重复内容" })}),- /* @__PURE__ */ (0, D.jsx)($V, {+ /* @__PURE__ */ (0, D.jsx)(nH, {section: "ads",label: "垃圾文件",- icon: xAe,+ icon: yAe,open: n,- value: QV(o, (e) => ({+ value: tH(o, (e) => ({figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,- meta: Ske(e)+ meta: bke(e)}))}),- /* @__PURE__ */ (0, D.jsx)($V, {+ /* @__PURE__ */ (0, D.jsx)(nH, {section: "trash",label: "回收站",- icon: SAe,+ icon: bAe,open: n,- value: QV(s, (e) => ({+ value: tH(s, (e) => ({figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,meta: e.total ? `占用 ${dn(e.bytes || 0)}` : ""}))@@ -61366,31 +61375,31 @@ function TAe({ toast: e, failure: t, open: n }) {/* @__PURE__ */ (0, D.jsx)("div", {id: "libraryProcessing",className: "scroll-mt-20",- children: /* @__PURE__ */ (0, D.jsx)(DV, {+ children: /* @__PURE__ */ (0, D.jsx)(AV, {toast: l,monitor: !0,- onComplete: wAe+ onComplete: SAe})}),/* @__PURE__ */ (0, D.jsx)("div", {id: "mediaRepair",- children: /* @__PURE__ */ (0, D.jsx)(Gke, { toast: l })+ children: /* @__PURE__ */ (0, D.jsx)(Uke, { toast: l })}),- /* @__PURE__ */ (0, D.jsx)(sAe, {+ /* @__PURE__ */ (0, D.jsx)(aAe, {toast: l,failure: t})]}),- /* @__PURE__ */ (0, D.jsx)(Qke, {}),- /* @__PURE__ */ (0, D.jsx)(dAe, { toast: l }),- GB(c.data) ? /* @__PURE__ */ (0, D.jsx)(_Ae, { toast: e }) : null+ /* @__PURE__ */ (0, D.jsx)(Xke, {}),+ /* @__PURE__ */ (0, D.jsx)(lAe, { toast: l }),+ JB(c.data) ? /* @__PURE__ */ (0, D.jsx)(hAe, { toast: e }) : null] });}//#endregion//#region src/react/feed-new/feed-new.ts-var eH = (e) => ["feed-new", e ?? "home"], EAe = 8, DAe = 1500;-function OAe(e, t, n) {+var rH = (e) => ["feed-new", e ?? "home"], wAe = 8, TAe = 1500;+function EAe(e, t, n) {let r = document.createElement("template");r.innerHTML = e;let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {@@ -61401,34 +61410,34 @@ function OAe(e, t, n) {setTimeout(e, n);})]);}-async function kAe(e, t, n) {+async function DAe(e, t, n) {let r = new URLSearchParams({ limit: "12" });e && r.set("entity", String(e));let i = await Vt(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);- return n && o.length && await OAe(s, EAe, DAe), {+ return n && o.length && await EAe(s, wAe, TAe), {items: o,html: s,fetching: o.some((e) => e.cover_fetching && !e.has_cover)};}-var tH = (e, t, n = !1) => ({- queryKey: eH(e),- queryFn: () => kAe(e, t, n),+var iH = (e, t, n = !1) => ({+ queryKey: rH(e),+ queryFn: () => DAe(e, t, n),staleTime: Infinity,refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1-}), nH = (e, t) => Vt("/api/feeds/discovery", {+}), aH = (e, t) => Vt("/api/feeds/discovery", {method: "POST",body: JSON.stringify({action: t,ids: [e]})}).then(() => void 0, () => void 0);-async function AAe(e) {- W.removeQueries({ queryKey: eH(null) }), await W.fetchQuery(tH(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));+async function OAe(e) {+ W.removeQueries({ queryKey: rH(null) }), await W.fetchQuery(iH(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}//#endregion//#region src/react/entity-page/entity-page.ts-var rH = [+var oH = ["loc","creator","tag",@@ -61441,52 +61450,52 @@ var rH = ["browse","folder","folder_recursive"-], iH = {+], sH = {media: "videos",set: 0-}, aH = (e, t) => [+}, cH = (e, t) => ["entity",e,t-], jAe = (e, t, n, r) => [+], kAe = (e, t, n, r) => ["entity-items",e,t,n,r-], oH = (e, t, n, r) => [+], lH = (e, t, n, r) => ["entity-photos",e,t,n,r-], sH = (e) => String(e || "").split(",").filter(Boolean), MAe = (e, t) => sH(e).includes(t);-function cH(e, t, n, r, i = 0) {+], uH = (e) => String(e || "").split(",").filter(Boolean), AAe = (e, t) => uH(e).includes(t);+function dH(e, t, n, r, i = 0) {let a = new URLSearchParams();- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...sH(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 rH) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...uH(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 oH) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);return r.jav && a.set("jav", "1"), a;}-async function lH(e, t, n, r, i, a, o) {- let s = cH(e, t, n, r, i);+async function fH(e, t, n, r, i, a, o) {+ let s = dH(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 Vt(`/api/items?${s}`, a ? { signal: a } : {});}-var uH = (e) => {+var pH = (e) => {let t = {jav: e.jav,seed: e.seed- }, n = cH(e.kind, e.name, e.filters, t).toString();+ }, n = dH(e.kind, e.name, e.filters, t).toString();return {- queryKey: jAe(e.kind, e.name, n, e.revision),- queryFn: ({ signal: n }) => lH(e.kind, e.name, e.filters, t, 0, n),+ queryKey: kAe(e.kind, e.name, n, e.revision),+ queryFn: ({ signal: n }) => fH(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};-}, dH = (e, t) => ({- queryKey: aH(e, t),+}, mH = (e, t) => ({+ queryKey: cH(e, t),queryFn: ({ signal: n }) => Vt(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});-function NAe(e, t, n, r, i, a) {+function jAe(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)}` : ""}`;@@ -61495,10 +61504,10 @@ function NAe(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 fH = (e, t, n, r) => ({- queryKey: oH(e, t, n, r),+var hH = (e, t, n, r) => ({+ queryKey: lH(e, t, n, r),queryFn: async ({ pageParam: i }) => {- let a = await Vt(NAe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {+ let a = await Vt(jAe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;return { error: String(e) };});@@ -61511,8 +61520,8 @@ var fH = (e, t, n, r) => ({seed: t[0]?.seed || ""} : void 0,staleTime: Infinity-}), pH = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];-async function PAe(e) {+}), gH = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];+async function MAe(e) {let { kind: t, name: n } = e;for (let e of ["entity",@@ -61523,26 +61532,26 @@ async function PAe(e) {t,n] });- e.resolvedEntity?.id && W.setQueryData(aH(t, n), e.resolvedEntity), await Promise.all([- W.fetchQuery(dH(t, n)).then((t) => !t || t.error || !t.id ? null : (W.removeQueries({ queryKey: eH(Number(t.id)) }), W.fetchQuery(tH(Number(t.id), e.helpers.feedRowHtml, !0)))),- W.fetchQuery(uH(e)),- W.fetchInfiniteQuery(fH(t, n, 0, "")),- e.media.media === "photos" && e.media.set ? W.fetchInfiniteQuery(fH(t, n, e.media.set, "")) : null+ e.resolvedEntity?.id && W.setQueryData(cH(t, n), e.resolvedEntity), await Promise.all([+ W.fetchQuery(mH(t, n)).then((t) => !t || t.error || !t.id ? null : (W.removeQueries({ queryKey: rH(Number(t.id)) }), W.fetchQuery(iH(Number(t.id), e.helpers.feedRowHtml, !0)))),+ W.fetchQuery(pH(e)),+ W.fetchInfiniteQuery(hH(t, n, 0, "")),+ e.media.media === "photos" && e.media.set ? W.fetchInfiniteQuery(hH(t, n, e.media.set, "")) : null]);}//#endregion//#region src/identity-filter.ts-var mH = [+var _H = [["all", "全部"],["japanese_av", "女优"],["amateur", "素人"],["western", "西方"],["blogger", "网黄博主"],["animation", "动画作者"]-], hH = "mb-4 flex flex-wrap gap-2";-function FAe(e) {- let t = mH.some(([t]) => t === e) ? e : "all";- return `<div class="peach-react"><div aria-label="身份分类" class="${hH}">${mH.map(([e, n]) => Do({+], vH = "mb-4 flex flex-wrap gap-2";+function NAe(e) {+ let t = _H.some(([t]) => t === e) ? e : "all";+ return `<div class="peach-react"><div aria-label="身份分类" class="${vH}">${_H.map(([e, n]) => Do({variant: e === t ? "primary" : "secondary",size: "small",label: n,@@ -61551,43 +61560,43 @@ function FAe(e) {}//#endregion//#region src/react/follow/online-vocab.ts-var IAe = "/api/follow/authors", LAe = "/api/follow/tags", RAe = (e) => [+var PAe = "/api/follow/authors", FAe = "/api/follow/tags", IAe = (e) => ["follow","authors",e-], zAe = (e, t) => [+], LAe = (e, t) => ["follow","tags",e,t];-function BAe(e, t, n) {+function RAe(e, t, n) {let r = new URLSearchParams({limit: String(t),offset: String(n)});- return e && r.set("q", e), `${IAe}?${r}`;+ return e && r.set("q", e), `${PAe}?${r}`;}-function VAe(e, t, n, r) {+function zAe(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), `${LAe}?${i}`;+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${FAe}?${i}`;}-var HAe = (e, t, n, r) => H(BAe(e, t, n), r), UAe = (e, t, n, r, i) => H(VAe(e, t, n, r), i), WAe = "/api/index", gH = {+var BAe = (e, t, n, r) => H(RAe(e, t, n), r), VAe = (e, t, n, r, i) => H(zAe(e, t, n, r), i), HAe = "/api/index", yH = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",tags: "标签"-}, GAe = {+}, UAe = {performers: "performer",creators: "creator",studios: "studio",agencies: "agency"-}, _H = [+}, bH = [["all", "全部"],["meta", "影片属性"],["relationship", "人物关系"],@@ -61597,31 +61606,31 @@ var HAe = (e, t, n, r) => H(BAe(e, t, n), r), UAe = (e, t, n, r, i) => H(VAe(e,["story", "故事剧情"],["position", "性交体位"],["general", "其他内容"]-], vH = [+], xH = [["all", "全部"],["general", "通用"],["artist", "创作者"],["character", "角色"],["copyright", "作品"],["metadata", "元数据"]-], yH = {+], SH = {people: 120,tags: 180-}, bH = (e) => e !== "tags", xH = (e) => e === "studios" || e === "agencies";-function SH(e) {- if (e.kind === "creators" && e.category === "animation") return SH({+}, CH = (e) => e !== "tags", wH = (e) => e === "studios" || e === "agencies";+function TH(e) {+ if (e.kind === "creators" && e.category === "animation") return TH({...e,kind: "performers",scope: "local"});- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? vH : _H : e.kind === "performers" && t === "local" ? mH : []).some(([t]) => t === e.category);+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? xH : bH : e.kind === "performers" && t === "local" ? _H : []).some(([t]) => t === e.category);return {...e,scope: t,category: n ? e.category : "all"};}-function CH(e) {+function EH(e) {let { kind: t, q: n, scope: r, category: i } = e;return t === "tags" ? r === "online" ? {what: "online-tags",@@ -61641,50 +61650,50 @@ function CH(e) {...i && i !== "all" ? { category: i } : {}};}-var wH = (e, t, n = "all") => [+var DH = (e, t, n = "all") => ["index",e,t,...e === "tags" || n !== "all" ? [n] : []];-function TH(e, t, n, r, i) {+function OH(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), `${WAe}?${a}`;+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${HAe}?${a}`;}-function EH(e) {- let t = e.what === "people" || e.what === "online-authors" ? yH.people : yH.tags, n = {+function kH(e) {+ let t = e.what === "people" || e.what === "online-authors" ? SH.people : SH.tags, n = {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 {...n,- queryKey: wH(e.kind, e.q, e.category || "all"),- queryFn: ({ pageParam: n, signal: r }) => H(TH(e.kind, e.q, e.category || "all", t, n), r)+ queryKey: DH(e.kind, e.q, e.category || "all"),+ queryFn: ({ pageParam: n, signal: r }) => H(OH(e.kind, e.q, e.category || "all", t, n), r)};case "tags": return {...n,- queryKey: wH("tags", e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => H(TH("tags", e.q, e.category, t, n), r)+ queryKey: DH("tags", e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => H(OH("tags", e.q, e.category, t, n), r)};case "online-authors": return {...n,- queryKey: RAe(e.q),- queryFn: ({ pageParam: n, signal: r }) => HAe(e.q, t, n, r)+ queryKey: IAe(e.q),+ queryFn: ({ pageParam: n, signal: r }) => BAe(e.q, t, n, r)};case "online-tags": return {...n,- queryKey: zAe(e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => UAe(e.q, e.category, t, n, r)+ queryKey: LAe(e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => VAe(e.q, e.category, t, n, r)};}}-async function KAe(e, t) {- let n = EH(CH(SH(e)));+async function WAe(e, t) {+ let n = kH(EH(TH(e)));W.removeQueries({queryKey: n.queryKey,exact: !0@@ -61698,13 +61707,13 @@ async function KAe(e, t) {getNextPageParam: n.getNextPageParam});}-var qAe = (e) => e ? e.pages.flatMap((e) => e.items) : [], JAe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, DH = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", YAe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, XAe = {+var GAe = (e) => e ? e.pages.flatMap((e) => e.items) : [], KAe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, AH = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", qAe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, JAe = {numeric: !0,sensitivity: "base"};-function OH(e, t) {+function jH(e, t) {let n = /* @__PURE__ */ new Map();- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", XAe))) {+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", JAe))) {let e = hn(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]);}@@ -61712,7 +61721,7 @@ function OH(e, t) {}//#endregion//#region src/react/index/index-people.tsx-function kH({ html: e, face: t, company: n, big: r }) {+function MH({ html: e, face: t, company: n, big: r }) {let i = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");@@ -61724,18 +61733,18 @@ function kH({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var ZAe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", QAe = hP("rss");-function AH({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {+var YAe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", XAe = vP("rss");+function NH({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {return /* @__PURE__ */ (0, D.jsxs)("button", {type: "button",...o,"data-index-cell": "",onClick: a,- className: qk({+ className: Xk({radius: "plain",padding: "none",interactive: !0,- className: `${ZAe} ${n ? "items-stretch text-left" : "items-center text-center"}`+ className: `${YAe} ${n ? "items-stretch text-left" : "items-center text-center"}`}),children: [r,@@ -61744,10 +61753,10 @@ function AH({ 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, D.jsx)(Hk, {+ children: /* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption",color: "soft",- children: /* @__PURE__ */ (0, D.jsx)(QAe, {})+ children: /* @__PURE__ */ (0, D.jsx)(XAe, {})})}) : null,/* @__PURE__ */ (0, D.jsx)("span", {@@ -61763,24 +61772,24 @@ function AH({ name: e, readout: t, big: n, children: r, following: i, onPress: a]});}-function jH({ kind: e, items: t, layout: n, props: r }) {- let i = xH(e), a = n === "big";+function PH({ kind: e, items: t, layout: n, props: r }) {+ let i = wH(e), a = n === "big";return /* @__PURE__ */ (0, D.jsx)("div", {"data-index-grid": "","data-layout": n,"data-cells": i ? "company" : "people",className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,children: t.map((t) => {- let n = t.entity_kind || GAe[e], o = r.personAvatar(t, n, a);- return /* @__PURE__ */ (0, D.jsx)(AH, {+ let n = t.entity_kind || UAe[e], o = r.personAvatar(t, n, a);+ return /* @__PURE__ */ (0, D.jsx)(NH, {"data-k": t.k,"data-kind": n,name: t.k,- readout: `${YAe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,+ readout: `${qAe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,big: a,following: t.following,onPress: () => r.openEntity(n, t.k),- children: /* @__PURE__ */ (0, D.jsx)(kH, {+ children: /* @__PURE__ */ (0, D.jsx)(MH, {html: o.html,face: o.face,company: i,@@ -61790,14 +61799,14 @@ function jH({ kind: e, items: t, layout: n, props: r }) {})});}-function $Ae({ items: e, layout: t, props: n }) {+function ZAe({ items: e, layout: t, props: n }) {let r = t === "big";return /* @__PURE__ */ (0, D.jsx)("div", {"data-index-grid": "","data-layout": t,"data-cells": "people",className: "index-grid-person gap-3",- children: e.map((e) => /* @__PURE__ */ (0, D.jsx)(AH, {+ children: e.map((e) => /* @__PURE__ */ (0, D.jsx)(NH, {"data-follow-author": e.key,"data-kind": "performer",name: e.k,@@ -61806,7 +61815,7 @@ function $Ae({ items: e, layout: t, props: n }) {onPress: () => {e.entity_id ? n.openEntity("creator", e.k) : e.held_by ? n.openEntity("creator", e.held_by) : n.openFollowAuthor(e.key);},- children: /* @__PURE__ */ (0, D.jsx)(kH, {+ children: /* @__PURE__ */ (0, D.jsx)(MH, {html: n.authorAvatar(e),company: !1,big: r@@ -61816,8 +61825,8 @@ function $Ae({ items: e, layout: t, props: n }) {}//#endregion//#region src/board-tooltip.ts-var MH = (e) => e.replace(/\s+/g, " ").trim();-function NH(e) {+var FH = (e) => e.replace(/\s+/g, " ").trim();+function IH(e) {let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;for (; r = t.nextNode();) {let e = r.parentElement;@@ -61825,12 +61834,12 @@ function NH(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 MH(n);+ return FH(n);}-function PH(e) {+function LH(e) {let t = e.getBoundingClientRect();if (t.width && t.height) {- if (e.matches("a") && NH(e) && !FH(e)) {+ if (e.matches("a") && IH(e) && !RH(e)) {let t = document.createRange();t.selectNodeContents(e);let n = t.getBoundingClientRect();@@ -61843,7 +61852,7 @@ function PH(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 FH(e) {+function RH(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);@@ -61854,19 +61863,19 @@ function FH(e) {}return !1;}-function eje() {+function QAe() {let e = document.createElement("div");e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);let t = null, n = "", r = null, i, a = (t) => {- let n = PH(t), r = e.getBoundingClientRect();+ let n = LH(t), r = e.getBoundingClientRect();n && (e.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left + (n.width - r.width) / 2))}px`, e.style.top = `${n.top >= r.height + 16 ? n.top - r.height - 8 : Math.min(innerHeight - r.height - 8, n.bottom + 8)}px`);}, o = () => {clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null;}, s = (s, c) => {if (!(s instanceof Element)) return;let l = s.closest("[title]");- (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (NH(l) !== MH(n) || FH(l)) && (i = setTimeout(() => {- t === l && l.isConnected && PH(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));+ (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (IH(l) !== FH(n) || RH(l)) && (i = setTimeout(() => {+ t === l && l.isConnected && LH(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));}, c)));};document.addEventListener("pointerover", (e) => s(e.target, 400)), document.addEventListener("pointerout", (e) => {@@ -61875,33 +61884,33 @@ function eje() {e.key === "Escape" && o();}), document.addEventListener("scroll", (n) => {if (!t || !uo(n, t)) return;- let r = PH(t);+ let r = LH(t);t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && a(t) : o();}, !0), window.addEventListener("resize", o);}//#endregion//#region src/board-controls.ts-function IH(e) {+function zH(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 LH = /* @__PURE__ */ new WeakSet();-function tje() {- if (LH.has(document)) return;- LH.add(document);+var BH = /* @__PURE__ */ new WeakSet();+function $Ae() {+ if (BH.has(document)) return;+ BH.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(IH), rje(e), nje(e);+ e.querySelectorAll("input[type=range]").forEach(zH), tje(e), eje(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]") && IH(t), e(t));+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && zH(t), e(t));}).observe(document.body, {subtree: !0,childList: !0}), document.addEventListener("input", (e) => {- e.target instanceof HTMLInputElement && e.target.type === "range" && IH(e.target);- }), eje();+ e.target instanceof HTMLInputElement && e.target.type === "range" && zH(e.target);+ }), QAe();}-function nje(e) {+function eje(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;@@ -61925,15 +61934,15 @@ function nje(e) {r.observe(e);});}-var RH = /* @__PURE__ */ new Map();-function rje(e) {+var VH = /* @__PURE__ */ new Map();+function tje(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 = RH.get(n) ?? null, i = () => {+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = VH.get(n) ?? null, i = () => {let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");if (!i || !i.offsetWidth) return;let a = {@@ -61942,7 +61951,7 @@ function rje(e) {w: i.offsetWidth,h: i.offsetHeight};- Es(t, r, a, "x"), r = a, RH.set(n, a);+ Es(t, r, a, "x"), r = a, VH.set(n, a);};e.addEventListener("change", i);let a = new MutationObserver(i);@@ -61959,8 +61968,8 @@ function rje(e) {}//#endregion//#region src/react/photo-lightbox/photo-lightbox.ts-var zH = "/vendor/swiper/14.3.0/", BH = null, ije = () => BH ??= Promise.all([new Promise((e, t) => {- let n = `${zH}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);+var HH = "/vendor/swiper/14.3.0/", UH = null, nje = () => UH ??= Promise.all([new Promise((e, t) => {+ let n = `${HH}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();return;@@ -61974,11 +61983,11 @@ var zH = "/vendor/swiper/14.3.0/", BH = null, ije = () => BH ??= Promise.all([nereturn;}let r = document.createElement("script");- r.src = `${zH}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);+ r.src = `${HH}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 BH = null, e;+ throw UH = null, e;});-function aje(e, t, n) {+function rje(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);@@ -61999,47 +62008,47 @@ function aje(e, t, n) {}};}-var VH = (e) => {+var WH = (e) => {let t = Number(e) || 0;return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : dn(t)).replace(" ", "\xA0") : "大小未知";-}, oje = (e) => e.asset?.name || e.name || "未命名图片";-function sje(e, t) {+}, ije = (e) => e.asset?.name || e.name || "未命名图片";+function aje(e, t) {let n = e.asset;- if (n) return [_n[n.location ?? ""] || n.location || "来源未知", VH(n.size)].join(" · ");+ if (n) return [_n[n.location ?? ""] || n.location || "来源未知", WH(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";return [e.source || "在线图片",r,- e.size ? VH(e.size) : ""+ e.size ? WH(e.size) : ""].filter(Boolean).join(" · ");}//#endregion//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx-var HH = null, UH = null, cje = 0;-function lje() {- return (!UH || !HH?.isConnected) && (UH?.unmount(), HH = document.createElement("div"), HH.className = "peach-react", HH.dataset.photoLightboxHost = "", document.body.append(HH), UH = (0, xt.createRoot)(HH)), UH;+var GH = null, KH = null, oje = 0;+function sje() {+ return (!KH || !GH?.isConnected) && (KH?.unmount(), GH = document.createElement("div"), GH.className = "peach-react", GH.dataset.photoLightboxHost = "", document.body.append(GH), KH = (0, xt.createRoot)(GH)), KH;}-async function WH(e, t, n) {+async function qH(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {- r = await ije();+ r = await nje();} catch {window.open(t[e].src, "_blank", "noopener");return;}- let i = lje();- (0, bt.flushSync)(() => i.render(/* @__PURE__ */ (0, D.jsx)(uje, {+ let i = sje();+ (0, bt.flushSync)(() => i.render(/* @__PURE__ */ (0, D.jsx)(cje, {slides: t,index: e,Swiper: r,host: n ?? null- }, ++cje)));+ }, ++oje)));}-function GH() {- UH && (0, bt.flushSync)(() => UH.render(null));+function JH() {+ KH && (0, bt.flushSync)(() => KH.render(null));}-function uje({ slides: e, index: t, Swiper: n, host: r }) {+function cje({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, E.useId)(), o = (0, E.useRef)(null), s = (0, E.useRef)(null), c = (0, E.useRef)(null), l = (0, E.useRef)(null), u = (0, E.useRef)(null), d = (0, E.useRef)(null), f = (0, E.useRef)(null), p = (0, E.useRef)(null), m = (0, E.useRef)(null), h = (0, E.useRef)(null), g = (0, E.useRef)(null), [_, v] = (0, E.useState)(t), [y, b] = (0, E.useState)(100), [x, S] = (0, E.useState)({}), [C, w] = (0, E.useState)(() => /* @__PURE__ */ new Set()), [T, O] = (0, E.useState)(() => /* @__PURE__ */ new Set()), [k, A] = (0, E.useState)(!1), [j, M] = (0, E.useState)({at: t,text: ""@@ -62082,7 +62091,7 @@ function uje({ slides: e, index: t, Swiper: n, host: r }) {v(this.activeIndex), i(this.activeIndex);} }});- i(t, 0), h.current = aje(e, a, b);+ i(t, 0), h.current = rje(e, a, b);let m = Ls(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();};@@ -62099,13 +62108,13 @@ function uje({ 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) : GH());+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : JH());};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, E.useLayoutEffect)(() => {- m.current && IH(m.current);+ m.current && zH(m.current);}, [y]);let N = e[_], P = N.asset ?? null, F = async (e) => {if (!P || !r || e.getAttribute("aria-busy") === "true") return;@@ -62136,18 +62145,18 @@ function uje({ slides: e, index: t, Swiper: n, host: r }) {"data-photo-lightbox": "","data-has-strip": i ? "" : void 0,onCancel: (e) => {- e.preventDefault(), GH();+ e.preventDefault(), JH();},onClick: (e) => {let t = e.target;- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && GH();+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && JH();},children: [/* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-photo-close": "","aria-label": "关闭",- onClick: GH,+ onClick: JH,dangerouslySetInnerHTML: { __html: z("x") }}),/* @__PURE__ */ (0, D.jsxs)("div", {@@ -62283,10 +62292,10 @@ function uje({ slides: e, index: t, Swiper: n, host: r }) {id: `${a}-title`,"data-middle-truncate": "",tabIndex: -1,- children: oje(N)+ children: ije(N)}, _), /* @__PURE__ */ (0, D.jsx)("span", {"data-photo-detail-meta": "",- children: sje(N, x[_])+ children: aje(N, x[_])})]}),/* @__PURE__ */ (0, D.jsx)("button", {@@ -62325,40 +62334,40 @@ function uje({ slides: e, index: t, Swiper: n, host: r }) {}//#endregion//#region src/react/entity-body/entity-body-page.tsx-function dje(e) {- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, D.jsx)(fje, {+function lje(e) {+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, D.jsx)(uje, {roster: e.roster,props: e- }) : e.view === "videos" ? /* @__PURE__ */ (0, D.jsx)(pje, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, D.jsx)(gje, {+ }) : e.view === "videos" ? /* @__PURE__ */ (0, D.jsx)(dje, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, D.jsx)(mje, {photos: e.photos,props: e}, e.photos.revision) : null;}-var KH = yH.people;-function fje({ roster: e, props: t }) {+var YH = SH.people;+function uje({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, E.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity- }), [n, r]), [a, o] = (0, E.useState)(KH), s = (0, E.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, E.useCallback)(async () => {- o((e) => e + KH);+ }), [n, r]), [a, o] = (0, E.useState)(YH), s = (0, E.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, E.useCallback)(async () => {+ o((e) => e + YH);}, []);- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(jH, {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(PH, {kind: e.kind,items: s,layout: e.layout,props: i- }), a < e.people.length ? /* @__PURE__ */ (0, D.jsx)(Oz, {+ }), a < e.people.length ? /* @__PURE__ */ (0, D.jsx)(jz, {entity: !0,load: c,enabled: () => !0}, a) : null] });}-function pje(e) {- let t = CI(!e.items, e.skeletonHtml);+function dje(e) {+ let t = EI(!e.items, e.skeletonHtml);return /* @__PURE__ */ (0, D.jsxs)("div", {"data-entity-grid": "","data-grid-reveal": t.fading ? "" : void 0,- children: [t.layer, e.items ? /* @__PURE__ */ (0, D.jsx)(Ez, {+ children: [t.layer, e.items ? /* @__PURE__ */ (0, D.jsx)(kz, {mode: "entity",entityKey: `${e.kind}:${e.name}`,revision: e.revision,@@ -62378,33 +62387,33 @@ function pje(e) {}) : null]});}-var mje = (e) => Array.from({ length: e.n }, (t, n) => ({+var fje = (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 || "官方样张"-})), qH = (e) => e.sample === !0, JH = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, YH = (e) => qH(e) ? `/sample-thumb?${JH(e)}` : `/photo-thumb?id=${e.id}`, hje = (e) => qH(e) ? {- src: `/sample-image?${JH(e)}`,- thumb: YH(e),+})), XH = (e) => e.sample === !0, ZH = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, QH = (e) => XH(e) ? `/sample-thumb?${ZH(e)}` : `/photo-thumb?id=${e.id}`, pje = (e) => XH(e) ? {+ src: `/sample-image?${ZH(e)}`,+ thumb: QH(e),name: e.name,asset: null,source: e.source} : {src: `/photo?id=${e.id}`,- thumb: YH(e),+ thumb: QH(e),name: e.name || "",asset: e};-function gje({ photos: e, props: t }) {- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, E.useMemo)(() => [...e.codeSets.flatMap(mje), ...e.items], [e]), [s, c] = (0, E.useState)(() => /* @__PURE__ */ new Set()), l = (0, E.useCallback)((e) => c((t) => {+function mje({ photos: e, props: t }) {+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, E.useMemo)(() => [...e.codeSets.flatMap(fje), ...e.items], [e]), [s, c] = (0, E.useState)(() => /* @__PURE__ */ new Set()), l = (0, E.useCallback)((e) => c((t) => {if (t.has(e)) return t;let n = new Set(t);return n.add(e), n;}), []), u = (0, E.useCallback)((e) => {- WH(e, o.map(hje), { revealSource: i.revealSource });- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, D.jsx)(_je, {+ qH(e, o.map(pje), { revealSource: i.revealSource });+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, D.jsx)(hje, {item: e,index: t,lost: s.has(t),@@ -62422,7 +62431,7 @@ function gje({ photos: e, props: t }) {};}), h = p;return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, D.jsxs)(E.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(XH, {+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, D.jsxs)(E.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)($H, {label: e.code,title: e.name,meta: [@@ -62434,7 +62443,7 @@ function gje({ 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, D.jsx)(XH, {+ m.length && e.total ? /* @__PURE__ */ (0, D.jsx)($H, {label: "本地图片",meta: `${e.total.toLocaleString()} 张`}) : null,@@ -62443,14 +62452,14 @@ function gje({ 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, D.jsx)(Oz, {+ e.hasMore ? /* @__PURE__ */ (0, D.jsx)(jz, {entity: !0,load: i.loadMorePhotos,enabled: () => a?.() !== !1}, e.items.length) : null] });}-function XH({ label: e, title: t, meta: n }) {+function $H({ label: e, title: t, meta: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-photo-group": "",children: [@@ -62467,7 +62476,7 @@ function XH({ label: e, title: t, meta: n }) {]});}-function _je({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {+function hje({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {let a = e.name ?? "";return /* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -62476,7 +62485,7 @@ function _je({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {title: a,onClick: () => i(t),children: n ? null : /* @__PURE__ */ (0, D.jsx)("img", {- src: YH(e),+ src: QH(e),alt: a,loading: "lazy",decoding: "async",@@ -62487,14 +62496,14 @@ function _je({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {}//#endregion//#region src/react/follow-feed/follow-check.ts-var ZH = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);-function vje(e, t) {- return t ? ZH(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];+var eU = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);+function gje(e, t) {+ return t ? eU(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];}//#endregion//#region src/react/follow-feed/follow-check-button.tsx-function yje({ sources: e, report: t }) {- let n = ZH(e), [r, i] = (0, E.useState)(""), { running: a, start: o } = OV({+function _je({ sources: e, report: t }) {+ let n = eU(e), [r, i] = (0, E.useState)(""), { running: a, start: o } = jV({queryKey: Yn,queryFn: ({ signal: e }) => Dr(e),start: (e) => Ar(e),@@ -62521,8 +62530,8 @@ function yje({ sources: e, report: t }) {}//#endregion//#region src/react/follow-feed/follow-card.tsx-var bje = (e) => Number(e) > 0;-function QH({ name: e, actions: t, children: n, ...r }) {+var vje = (e) => Number(e) > 0;+function tU({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, D.jsx)("a", {...r,href: Xt("creator", e),@@ -62532,15 +62541,15 @@ function QH({ name: e, actions: t, children: n, ...r }) {children: n});}-var $H = ({ provider: e }) => /* @__PURE__ */ (0, D.jsx)("span", {+var nU = ({ provider: e }) => /* @__PURE__ */ (0, D.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: eI(e) }+ dangerouslySetInnerHTML: { __html: rI(e) }});-function xje({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {+function yje({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {let [s, c] = (0, E.useState)(!1), [l, u] = (0, E.useState)(!1), [d, f] = (0, E.useState)(null);return (0, E.useEffect)(() => {c(!1);- }, [o]), s ? /* @__PURE__ */ (0, D.jsx)($H, { provider: i }) : /* @__PURE__ */ (0, D.jsx)("img", {+ }, [o]), s ? /* @__PURE__ */ (0, D.jsx)(nU, { provider: i }) : /* @__PURE__ */ (0, D.jsx)("img", {src: l ? t : e,alt: "",loading: "lazy",@@ -62559,8 +62568,8 @@ function xje({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a} : void 0});}-function Sje(e) {- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Ti(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) => qCe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? Di(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ki({+function bje(e) {+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Ti(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) => GCe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? Di(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ki({cover: p,coverFace: (f?.thumb_url ? f : u).face,stack: t.stack,@@ -62568,7 +62577,7 @@ function Sje(e) {limit: 9}), S = (0, E.useRef)(x.faces);S.current = x.faces;- let C = FI({+ let C = RI({load: async () => S.current,canFlip: () => S.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -62576,7 +62585,7 @@ function Sje(e) {w.current = C.onPointerLeave;let T = (0, E.useCallback)((e) => {e && (e._stopHover = () => w.current());- }, []), O = aI(u, n, i), k = tI(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = cI(u, i), N = sI(t, u), P = u.status === "saved", F = (e) => {+ }, []), O = cI(u, n, i), k = iI(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = dI(u, i), N = uI(t, u), P = u.status === "saved", F = (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));}, I = (e, t) => {e.stopPropagation(), t();@@ -62591,7 +62600,7 @@ function Sje(e) {"data-collection": x.isMix ? "" : void 0,"data-selected": a ? "" : void 0,onClick: F,- onMouseDown: DI,+ onMouseDown: AI,onMouseEnter: C.onPointerEnter,onMouseLeave: C.onPointerLeave,children: [@@ -62605,7 +62614,7 @@ function Sje(e) {}), /* @__PURE__ */ (0, D.jsxs)("div", {"data-media-pic": "",children: [- p ? /* @__PURE__ */ (0, D.jsx)(xje, {+ p ? /* @__PURE__ */ (0, D.jsx)(yje, {src: p,fallback: m,width: _?.width,@@ -62613,7 +62622,7 @@ function Sje(e) {provider: A,onLearn: v,retryKey: e.retryKey- }, p) : /* @__PURE__ */ (0, D.jsx)($H, { provider: A }),+ }, p) : /* @__PURE__ */ (0, D.jsx)(nU, { provider: A }),x.faces.length > 1 ? /* @__PURE__ */ (0, D.jsx)("div", {"data-mix-faces": "",hidden: !C.faces.length,@@ -62633,7 +62642,7 @@ function Sje(e) {"data-media-badge": "",title: u.provider_label || u.provider,"aria-label": `来源:${u.provider_label || u.provider}`,- dangerouslySetInnerHTML: { __html: eI(u.provider, u.provider_label) }+ dangerouslySetInnerHTML: { __html: rI(u.provider, u.provider_label) }}), N ? /* @__PURE__ */ (0, D.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: N }@@ -62646,7 +62655,7 @@ function Sje(e) {},dangerouslySetInnerHTML: { __html: z("check") }}) : null,- bje(u.duration) ? /* @__PURE__ */ (0, D.jsx)("span", {+ vje(u.duration) ? /* @__PURE__ */ (0, D.jsx)("span", {"data-media-duration": "",children: ln(u.duration)}) : null,@@ -62718,7 +62727,7 @@ function Sje(e) {/* @__PURE__ */ (0, D.jsxs)("div", {"data-media-meta": "",children: [- O.entityName ? /* @__PURE__ */ (0, D.jsx)(QH, {+ O.entityName ? /* @__PURE__ */ (0, D.jsx)(tU, {name: O.entityName,actions: l,"data-media-avatar": "",@@ -62737,12 +62746,12 @@ function Sje(e) {/* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-media-title": "",- dangerouslySetInnerHTML: { __html: oI(t, u) + B(k) }+ dangerouslySetInnerHTML: { __html: lI(t, u) + B(k) }}),/* @__PURE__ */ (0, D.jsxs)("div", {"data-follow-byline": "",children: [- O.entityName ? /* @__PURE__ */ (0, D.jsx)(QH, {+ O.entityName ? /* @__PURE__ */ (0, D.jsx)(tU, {name: O.entityName,actions: l,"data-follow-author": "",@@ -62755,8 +62764,8 @@ function Sje(e) {}),/* @__PURE__ */ (0, D.jsx)("time", {dateTime: u.published_at || "",- title: uI(u),- children: KCe(u)+ title: pI(u),+ children: WCe(u)}),O.credited ? /* @__PURE__ */ (0, D.jsx)("span", {"data-follow-credit": "",@@ -62791,10 +62800,10 @@ function Sje(e) {]});}-var eU = (0, E.memo)(Sje);+var rU = (0, E.memo)(bje);//#endregion//#region src/react/components/use-masonry-grid.ts-function Cje(e, t) {+function xje(e, t) {let n = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {let t = n.current;@@ -62830,10 +62839,10 @@ function Cje(e, t) {}//#endregion//#region src/react/follow-feed/follow-feed-page.tsx-var tU = () => /* @__PURE__ */ (0, D.jsx)("span", {+var iU = () => /* @__PURE__ */ (0, D.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), wje = hP("settings"), nU = hP("chevron-down"), Tje = hP("history"), Eje = hP("arrow-up"), Dje = hP("arrow-down"), Oje = [[+}), Sje = vP("settings"), aU = vP("chevron-down"), Cje = vP("history"), wje = vP("arrow-up"), Tje = vP("arrow-down"), Eje = [["fixed","固定比例","layout-grid"@@ -62842,7 +62851,7 @@ var tU = () => /* @__PURE__ */ (0, D.jsx)("span", {"瀑布流","columns-2"]];-function kje(e, t, n) {+function Dje(e, t, n) {return (0, E.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) => {@@ -62890,7 +62899,7 @@ function kje(e, t, n) {n]);}-function Aje(e) {+function Oje(e) {let { view: t, seed: n, revision: r, actions: i } = e, a = fi(t, r), o = yt(a), s = _t({queryKey: pi,queryFn: ({ signal: e }) => mi(e)@@ -62898,7 +62907,7 @@ function Aje(e) {sources: c?.sources || [],aliases: c?.author_aliases || [],credentials: l- }), [c, l]), d = kje(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, E.useMemo)(() => ({+ }), [c, l]), d = Dje(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, E.useMemo)(() => ({tags: Rc(d.visible.flatMap(vi).map((e) => ({ tags: e.tags || [] }))),providers: [...d.providers].map(([e, t]) => [e,@@ -62924,10 +62933,10 @@ function Aje(e) {m,i]);- let h = Mje(e, !!c);+ let h = Aje(e, !!c);if (!c) return o.isError ? /* @__PURE__ */ (0, D.jsxs)("div", {"data-follow-feed": "",- children: [/* @__PURE__ */ (0, D.jsx)(rU, { onManage: i.openManage }), /* @__PURE__ */ (0, D.jsx)(wI, {+ children: [/* @__PURE__ */ (0, D.jsx)(oU, { onManage: i.openManage }), /* @__PURE__ */ (0, D.jsx)(DI, {message: Rt(o.error),onRetry: () => void o.refetch()})]@@ -62940,7 +62949,7 @@ function Aje(e) {author: d.author,provider: d.provider}, {- authors: new Map([...d.authorSources].map(([e, t]) => [e, nI(t, u)])),+ authors: new Map([...d.authorSources].map(([e, t]) => [e, aI(t, u)])),providers: d.providers,works: d.workNames}), v = t.status ? d.counts[t.status] || 0 : d.allCount, y = d.sources.some((e) => e.can_backfill);@@ -62958,7 +62967,7 @@ function Aje(e) {"data-follow-feed": "","data-select-mode": e.selectMode ? "" : void 0,children: [- /* @__PURE__ */ (0, D.jsx)(rU, {+ /* @__PURE__ */ (0, D.jsx)(oU, {onManage: i.openManage,children: d.sources.length ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "primary",@@ -62972,20 +62981,20 @@ function Aje(e) {}) : "检查更新"}) : null}),- /* @__PURE__ */ (0, D.jsx)(Nje, {+ /* @__PURE__ */ (0, D.jsx)(jje, {facets: d,pressed: d.author,context: u,props: e,onPick: (e) => g({ author: d.author === e ? "" : e })}),- /* @__PURE__ */ (0, D.jsx)(Pje, {+ /* @__PURE__ */ (0, D.jsx)(Mje, {rows: d.workRows,pressed: t.work,props: e,onPick: (e) => g({ work: t.work === e ? "" : e })}),- /* @__PURE__ */ (0, D.jsx)(Fje, {+ /* @__PURE__ */ (0, D.jsx)(Nje, {facets: d,view: t,total: v,@@ -62993,7 +63002,7 @@ function Aje(e) {props: e,route: g}),- /* @__PURE__ */ (0, D.jsx)(Ije, {+ /* @__PURE__ */ (0, D.jsx)(Pje, {conditions: _,onDrop: (e) => i.route(Fi(t, e)),onClear: () => g({@@ -63005,11 +63014,11 @@ function Aje(e) {durMax: 0})}),- d.broken.length ? /* @__PURE__ */ (0, D.jsx)(Lje, {+ d.broken.length ? /* @__PURE__ */ (0, D.jsx)(Fje, {count: d.broken.length,onManage: i.openManage}) : null,- /* @__PURE__ */ (0, D.jsx)(Rje, {+ /* @__PURE__ */ (0, D.jsx)(Ije, {retryKey: o.dataUpdatedAt,pending: f,facets: d,@@ -63032,14 +63041,14 @@ function Aje(e) {"data-follow-pagination": "",children: [c.has_more ? /* @__PURE__ */ (0, D.jsx)("span", {"data-follow-page-action": "",- children: c.groups.length < 500 ? /* @__PURE__ */ (0, D.jsxs)(Oz, {+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, D.jsxs)(jz, {entity: !0,enabled: () => !h.busyRef.current,load: async () => {await o.fetchNextPage({ throwOnError: !0 });},- children: [/* @__PURE__ */ (0, D.jsx)(nU, { className: "size-3.5" }), "加载更多"]- }, o.data?.pages.length) : /* @__PURE__ */ (0, D.jsx)(jje, {+ children: [/* @__PURE__ */ (0, D.jsx)(aU, { className: "size-3.5" }), "加载更多"]+ }, o.data?.pages.length) : /* @__PURE__ */ (0, D.jsx)(kje, {busy: o.isFetchingNextPage,error: o.isFetchNextPageError ? Rt(o.error) : "",load: () => {@@ -63050,7 +63059,7 @@ function Aje(e) {"data-follow-page-action": "",children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",- leadingIcon: h.olderBusy ? void 0 : Tje,+ leadingIcon: h.olderBusy ? void 0 : Cje,"data-follow-older": "","aria-busy": h.busy || void 0,onClick: () => void h.start(!0),@@ -63068,7 +63077,7 @@ function Aje(e) {})] });}-function rU({ onManage: e, children: t }) {+function oU({ onManage: e, children: t }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-follow-head": "",children: [/* @__PURE__ */ (0, D.jsx)("h2", {@@ -63078,7 +63087,7 @@ function rU({ onManage: e, children: t }) {"data-follow-head-actions": "",children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",- leadingIcon: wje,+ leadingIcon: Sje,"data-follow-manage": "",onClick: e,children: "管理关注"@@ -63086,20 +63095,20 @@ function rU({ onManage: e, children: t }) {})]});}-function jje({ busy: e, error: t, load: n }) {+function kje({ busy: e, error: t, load: n }) {return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-entity-more": "","aria-busy": e || void 0,"aria-disabled": e || void 0,onClick: n,- children: [/* @__PURE__ */ (0, D.jsx)(nU, { className: "size-3.5" }), "加载更多"]- }), t ? /* @__PURE__ */ (0, D.jsx)(wI, {+ children: [/* @__PURE__ */ (0, D.jsx)(aU, { className: "size-3.5" }), "加载更多"]+ }), t ? /* @__PURE__ */ (0, D.jsx)(DI, {message: t,onRetry: n}) : null] });}-function Mje(e, t) {+function Aje(e, t) {let { helpers: n, actions: r } = e, [i, a] = (0, E.useState)(0), [o, s] = (0, E.useState)(!1), [c, l] = (0, E.useState)(""), [u, d] = (0, E.useState)(""), [f, p] = (0, E.useState)(!1), m = (0, E.useRef)(!1), h = (0, E.useRef)(null), g = (0, E.useRef)({helpers: n,actions: r@@ -63161,12 +63170,12 @@ function Mje(e, t) {olderBusy: c === "older" || f && o};}-function Nje({ facets: e, pressed: t, context: n, props: r, onPick: i }) {+function jje({ facets: e, pressed: t, context: n, props: r, onPick: i }) {let a = (0, E.useRef)(null);(0, E.useEffect)(() => {r.helpers.wireDrag(a.current);}, [r.helpers]);- let o = (t) => nI(e.authorSources.get(t) || [], n);+ let o = (t) => aI(e.authorSources.get(t) || [], n);return e.authorOrder.length ? /* @__PURE__ */ (0, D.jsx)("div", {"data-follow-authors-bar": "",children: /* @__PURE__ */ (0, D.jsx)("div", {@@ -63174,14 +63183,14 @@ function Nje({ 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 = rI(a), c = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", {+ let a = e.authorSources.get(n) || [], s = oI(a), c = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", {"data-follow-ring": "",- dangerouslySetInnerHTML: { __html: iI(a, o(n)) }+ dangerouslySetInnerHTML: { __html: sI(a, o(n)) }}), /* @__PURE__ */ (0, D.jsx)("span", {"data-follow-name": "",children: o(n)})] });- return s ? /* @__PURE__ */ (0, D.jsx)(QH, {+ return s ? /* @__PURE__ */ (0, D.jsx)(tU, {name: s,actions: r.actions,"data-follow-author": n,@@ -63198,7 +63207,7 @@ function Nje({ facets: e, pressed: t, context: n, props: r, onPick: i }) {})}) : null;}-function Pje({ rows: e, pressed: t, props: n, onPick: r }) {+function Mje({ rows: e, pressed: t, props: n, onPick: r }) {let i = (0, E.useRef)(null);return (0, E.useEffect)(() => {n.helpers.wireDrag(i.current);@@ -63219,13 +63228,13 @@ function Pje({ rows: e, pressed: t, props: n, onPick: r }) {}, e[0]))}) : null;}-function Fje({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {- let { helpers: o, actions: s } = i, c = (0, E.useRef)(null), l = (0, E.useRef)(null), u = (0, E.useRef)(null), d = (0, E.useRef)(null), f = (0, E.useRef)(null), p = (0, E.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = oj(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = oj(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);+function Nje({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {+ let { helpers: o, actions: s } = i, c = (0, E.useRef)(null), l = (0, E.useRef)(null), u = (0, E.useRef)(null), d = (0, E.useRef)(null), f = (0, E.useRef)(null), p = (0, E.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = lj(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = lj(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, E.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, D.jsx)(tj, {+ return /* @__PURE__ */ (0, D.jsx)(ij, {label: "筛选与排序",topLabel: m ? "媒体与关注筛选" : "关注筛选",attrs: {@@ -63277,7 +63286,7 @@ function Fje({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {dangerouslySetInnerHTML: { __html: z(i) }}, e);})- }), /* @__PURE__ */ (0, D.jsx)(tU, {})] }) : null, /* @__PURE__ */ (0, D.jsxs)("div", {+ }), /* @__PURE__ */ (0, D.jsx)(iU, {})] }) : null, /* @__PURE__ */ (0, D.jsxs)("div", {ref: f,"data-entity-scroll": "",children: [/* @__PURE__ */ (0, D.jsxs)("div", {@@ -63297,7 +63306,7 @@ function Fje({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {t.status !== e && a({ status: e });},children: n- }, e)), v ? /* @__PURE__ */ (0, D.jsx)(tU, {}) : null]+ }, e)), v ? /* @__PURE__ */ (0, D.jsx)(iU, {}) : null]}), /* @__PURE__ */ (0, D.jsxs)("div", {ref: p,"data-entity-tags": "",@@ -63310,10 +63319,10 @@ function Fje({ 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: eI(t, n) }+ dangerouslySetInnerHTML: { __html: rI(t, n) }}, t)),- _.length && e.tagRows.length ? /* @__PURE__ */ (0, D.jsx)(tU, {}) : null,- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, D.jsxs)(nj, {+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, D.jsx)(iU, {}) : null,+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, D.jsxs)(aj, {"data-follow-tag": n,"data-entity-press": "","data-tag-cat": `r34-${Ii(e.groups, n)}`,@@ -63333,18 +63342,18 @@ function Fje({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"data-follow-readout": "",children: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`}),- /* @__PURE__ */ (0, D.jsx)(kP, {+ /* @__PURE__ */ (0, D.jsx)(MP, {currentHref: () => location.pathname + location.search,kind: "creator"}),/* @__PURE__ */ (0, D.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, D.jsx)(vI, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(_I, {+ /* @__PURE__ */ (0, D.jsx)(xI, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(bI, {label: "图片布局",value: i.photoLayout,- options: Oje,+ options: Eje,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, D.jsxs)("button", {type: "button",@@ -63374,9 +63383,9 @@ function Fje({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {let n = ji(e, t.sort, t.dir);n && a(n);},- children: [n, r ? /* @__PURE__ */ (0, D.jsx)(YF, {- a: Eje,- b: Dje,+ children: [n, r ? /* @__PURE__ */ (0, D.jsx)(QF, {+ a: wje,+ b: Tje,state: t.dir === "asc" ? "a" : "b",className: "size-3.5"}) : null]@@ -63387,7 +63396,7 @@ function Fje({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {] })});}-function Ije({ conditions: e, onDrop: t, onClear: n }) {+function Pje({ conditions: e, onDrop: t, onClear: n }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-entity-combo": "","data-follow-combo": "",@@ -63412,7 +63421,7 @@ function Ije({ conditions: e, onDrop: t, onClear: n }) {})] }) : null});}-function Lje({ count: e, onManage: t }) {+function Fje({ count: e, onManage: t }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-follow-broken": "",onClick: (e) => {@@ -63421,12 +63430,12 @@ function Lje({ count: e, onManage: t }) {dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${z("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }});}-function Rje({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {- let { view: s, helpers: c } = i, l = s.media === "images", u = CI(e, () => c.listSkeletonHtml(s.media));+function Ije({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {+ let { view: s, helpers: c } = i, l = s.media === "images", u = EI(e, () => c.listSkeletonHtml(s.media));return /* @__PURE__ */ (0, D.jsxs)("div", {"data-follow-list-body": "","data-grid-reveal": u.fading ? "" : void 0,- children: [u.layer, e ? null : /* @__PURE__ */ (0, D.jsx)(zje, {+ children: [u.layer, e ? null : /* @__PURE__ */ (0, D.jsx)(Lje, {facets: t,data: n,context: r,@@ -63437,29 +63446,29 @@ function Rje({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a})]});}-function zje({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {- let { view: s, actions: c } = r, l = aU(r), u = i ? {+function Lje({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {+ let { view: s, actions: c } = r, l = cU(r), u = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)- } : {}, d = Cje(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;+ } : {}, d = xje(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, D.jsx)(eU, {+ return /* @__PURE__ */ (0, D.jsx)(rU, {group: t,authorSources: o,media: s.media,retryKey: a,context: n,- selected: r.selected.has(iU(t, s)),+ selected: r.selected.has(sU(t, s)),selectMode: r.selectMode,- busy: l.busy.get(iU(t, s)) || "",- failure: l.failures.get(iU(t, s)) || "",+ busy: l.busy.get(sU(t, s)) || "",+ failure: l.failures.get(sU(t, s)) || "",actions: c,onStatus: l.status,onSave: l.save}, `${u}:${s.media}`);- }) : /* @__PURE__ */ (0, D.jsx)(Bje, {+ }) : /* @__PURE__ */ (0, D.jsx)(Rje, {data: t,filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),checkAction: o,@@ -63482,22 +63491,22 @@ function zje({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,children: f});}-function iU(e, t) {+function sU(e, t) {return Ti(e, t.media).id;}-function Bje({ data: e, filtered: t, clear: n, checkAction: r }) {+function Rje({ data: e, filtered: t, clear: n, checkAction: r }) {let i = !!e.groups.length || t, a = !!e.sources.length;return /* @__PURE__ */ (0, D.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: hP(i ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: vP(i ? "search-x" : "rss"),title: i ? "当前筛选下没有更新" : a ? "还没有更新" : "还没有关注任何来源",actions: i ? /* @__PURE__ */ (0, D.jsx)(q, {size: "small",onClick: n,children: "清除筛选"- }) : a ? r : /* @__PURE__ */ (0, D.jsx)(Wk, {+ }) : a ? r : /* @__PURE__ */ (0, D.jsx)(qk, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -63506,12 +63515,12 @@ function Bje({ data: e, filtered: t, clear: n, checkAction: r }) {})});}-var Vje = {+var zje = {new: "已恢复未看",seen: "已标记已看",ignored: "已忽略"};-function aU(e) {+function cU(e) {let { view: t, revision: n, actions: r } = e, [i, a] = (0, E.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, E.useState)(() => /* @__PURE__ */ new Map()), c = fi(t, n).queryKey, l = (e, t, n) => n((n) => {let r = new Map(n);return t ? r.set(e, t) : r.delete(e), r;@@ -63534,7 +63543,7 @@ function aU(e) {to: t}),onSuccess: (e, { id: t, to: n, was: i }) => {- u(t, n), d(), r.toast(Vje[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ u(t, n), d(), r.toast(zje[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {await U(Gn, {item: t,to: i@@ -63580,9 +63589,9 @@ function aU(e) {}//#endregion//#region src/react/entity-body/entity-online.tsx-function Hje(e) {- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = CI(a, () => i.listSkeletonHtml(r));- return !n && t.isError ? /* @__PURE__ */ (0, D.jsx)(wI, {+function Bje(e) {+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = EI(a, () => i.listSkeletonHtml(r));+ return !n && t.isError ? /* @__PURE__ */ (0, D.jsx)(DI, {message: Rt(t.error),onRetry: () => {t.refetch();@@ -63593,11 +63602,11 @@ function Hje(e) {"data-grid-reveal": o.fading ? "" : void 0,children: [o.layer,- a || !n ? null : /* @__PURE__ */ (0, D.jsx)(Uje, {+ a || !n ? null : /* @__PURE__ */ (0, D.jsx)(Vje, {...e,data: n}),- !a && n?.has_more ? /* @__PURE__ */ (0, D.jsx)(Oz, {+ !a && n?.has_more ? /* @__PURE__ */ (0, D.jsx)(jz, {entity: !0,enabled: () => e.canLoadMore?.() !== !1,load: async () => {@@ -63607,8 +63616,8 @@ function Hje(e) {]});}-function Uje({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {- let u = aU({+function Vje({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {+ let u = cU({view: e,revision: 0,actions: c@@ -63626,7 +63635,7 @@ function Uje({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,"data-images-only": String(s)} : {}, m = r.length ? r.map((e) => {let n = Ti(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;- return /* @__PURE__ */ (0, D.jsx)(eU, {+ return /* @__PURE__ */ (0, D.jsx)(rU, {group: e,authorSources: r && d.byAuthor.get(r) || [],media: t,@@ -63639,11 +63648,11 @@ function Uje({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,onStatus: u.status,onSave: u.save}, `${e.primary.id}:${t}`);- }) : /* @__PURE__ */ (0, D.jsx)(Wje, {+ }) : /* @__PURE__ */ (0, D.jsx)(Hje, {searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),clear: l,actions: c,- sources: vje(n.sources || [], e.author)+ sources: gje(n.sources || [], e.author)});return /* @__PURE__ */ (0, D.jsx)("div", {"data-follow-list": "",@@ -63652,21 +63661,21 @@ function Uje({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,children: m});}-function Wje({ searched: e, clear: t, actions: n, sources: r }) {+function Hje({ searched: e, clear: t, actions: n, sources: r }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: hP(e ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: vP(e ? "search-x" : "rss"),title: e ? "当前筛选下没有更新" : "还没有抓到更新",actions: e ? /* @__PURE__ */ (0, D.jsx)(q, {size: "small",onClick: t,children: "清除筛选"- }) : r.length ? /* @__PURE__ */ (0, D.jsx)(yje, {+ }) : r.length ? /* @__PURE__ */ (0, D.jsx)(_je, {sources: r,report: n.checkReport- }) : /* @__PURE__ */ (0, D.jsx)(Wk, {+ }) : /* @__PURE__ */ (0, D.jsx)(qk, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -63675,7 +63684,7 @@ function Wje({ searched: e, clear: t, actions: n, sources: r }) {})});}-function oU(e) {+function lU(e) {return {x0: 0,y0: 0,@@ -63683,7 +63692,7 @@ function oU(e) {y1: e.height};}-function sU(e) {+function uU(e) {return {x0: Math.round(e.x0),y0: Math.round(e.y0),@@ -63691,40 +63700,40 @@ function sU(e) {y1: Math.round(e.y1)};}-function cU(e) {+function dU(e) {return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;}-function lU(e, t) {- if (!cU(e)) return {+function fU(e, t) {+ if (!dU(e)) return {x0: 0,y0: 0,x1: 0,y1: 0};- if (t == null || !(t > 0)) return oU(e);+ if (t == null || !(t > 0)) return lU(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 sU({+ return uU({x0: i,y0: a,x1: i + n,y1: a + r});}-function Gje(e, t) {- if (!cU(e) || !(t > 0)) return oU(e);+function Uje(e, t) {+ if (!dU(e) || !(t > 0)) return lU(e);let n = Math.min(e.width, e.height * t);- return sU({+ return uU({x0: e.width - n,y0: 0,x1: e.width,y1: e.height});}-function Kje(e, t, n) {- if (!cU(t) || !(n > 0)) return oU(t);- let r = uU(e, t), i = lU({+function Wje(e, t, n) {+ if (!dU(t) || !(n > 0)) return lU(t);+ let r = pU(e, t), i = fU({width: r.x1 - r.x0,height: r.y1 - r.y0}, n);@@ -63735,8 +63744,8 @@ function Kje(e, t, n) {y1: r.y0 + i.y1};}-function uU(e, t, n = null, r = "width") {- if (!cU(t)) return {+function pU(e, t, n = null, r = "width") {+ if (!dU(t)) return {x0: 0,y0: 0,x1: 0,@@ -63745,43 +63754,43 @@ function uU(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 sU({+ return uU({x0: s,y0: c,x1: s + a,y1: c + o});}-function dU(e, t, n, r) {+function mU(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 sU({+ return uU({x0: o,y0: s,x1: o + i,y1: s + a});}-function fU(e, t, n, r = null) {- if (!cU(n) || !(t > 0)) return e;+function hU(e, t, n, r = null) {+ if (!dU(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 uU({+ return pU({x0: i - o / 2,y0: a - s / 2,x1: i + o / 2,y1: a + s / 2}, n, r);}-function qje(e, t, n, r, i = null) {+function Gje(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 uU(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");+ return pU(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}-function Jje(e, t) {- return cU(t) ? {+function Kje(e, t) {+ return dU(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,width: (e.x1 - e.x0) / t.width * 100,@@ -63793,8 +63802,8 @@ function Jje(e, t) {height: 0};}-function Yje(e, t) {- if (!cU(t)) return {+function qje(e, t) {+ if (!dU(t)) return {size: "cover",position: "50% 50%"};@@ -63804,7 +63813,7 @@ function Yje(e, t) {position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`};}-function Xje(e, t) {+function Jje(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}%`,@@ -63813,16 +63822,16 @@ function Xje(e, t) {height: `${t.height / r * 100}%`};}-function pU(e, t, n) {+function gU(e, t, n) {return t > 0 ? e * n / t : 0;}-function Zje(e, t) {+function Yje(e, t) {return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;}//#endregion//#region src/react/crop/crop-frame.tsx-var Qje = .02, mU = 1.08;-function hU({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {+var Xje = .02, _U = 1.08;+function vU({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, E.useRef)(null), c = (0, E.useRef)(null), [l, u] = (0, E.useState)(!1), [d, f] = (0, E.useState)(null);(0, E.useEffect)(() => {u(!1);@@ -63841,8 +63850,8 @@ function hU({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odx: 0,dy: 0} : {- dx: pU(e, n.clientWidth, r.width),- dy: pU(t, n.clientHeight, r.height)+ dx: gU(e, n.clientWidth, r.width),+ dy: gU(t, n.clientHeight, r.height)};}, [r]);function m(e) {@@ -63859,22 +63868,22 @@ function hU({ 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(dU(n.box, o.dx, o.dy, r)) : i(qje(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(mU(n.box, o.dx, o.dy, r)) : i(Gje(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) * Qje), o = {+ let a = Math.max(1, (n.x1 - n.x0) * Xje), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],ArrowDown: [0, a]};- o[e.key] ? (e.preventDefault(), i(dU(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(fU(n, e.key === "-" ? 1 / mU : mU, r, t)));+ o[e.key] ? (e.preventDefault(), i(mU(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(hU(n, e.key === "-" ? 1 / _U : _U, r, t)));}- let v = n && r ? Jje(uU(n, r, t), r) : null, y = v ? Zje(v, d) : !1, b = v ? {+ let v = n && r ? Kje(pU(n, r, t), r) : null, y = v ? Yje(v, d) : !1, b = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -63893,7 +63902,7 @@ function hU({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odraggable: !1,onLoad: (e) => {let t = e.currentTarget;- cU({+ dU({width: t.naturalWidth,height: t.naturalHeight}) && a({@@ -63932,7 +63941,7 @@ function hU({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oonPointerCancel: g,onKeyDown: _,onWheel: (e) => {- n && r && i(fU(n, e.deltaY > 0 ? mU : 1 / mU, r, t));+ n && r && i(hU(n, e.deltaY > 0 ? _U : 1 / _U, 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, D.jsx)("span", {@@ -63955,13 +63964,13 @@ function hU({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o}//#endregion//#region src/react/avatar-picker/avatar-picker.ts-var $je = "/api/avatar-choices", gU = "/api/avatar-pick", eMe = "/api/avatar-code-cover", _U = "/api/avatar-frame", tMe = "/avatar-choice", vU = (e, t) => [+var Zje = "/api/avatar-choices", yU = "/api/avatar-pick", Qje = "/api/avatar-code-cover", bU = "/api/avatar-frame", $je = "/avatar-choice", xU = (e, t) => ["avatar-choices",e,t-], yU = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, bU = (e, t, n, r = "") => `${tMe}${yU(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), xU = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", nMe = (e, t, n) => H($je + yU(e, t), n), rMe = (e) => U(eMe, { code: e });-async function iMe(e, t, n) {- let r = await U(_U, {+], SU = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, CU = (e, t, n, r = "") => `${$je}${SU(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), wU = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", eMe = (e, t, n) => H(Zje + SU(e, t), n), tMe = (e) => U(Qje, { code: e });+async function nMe(e, t, n) {+ let r = await U(bU, {kind: e,id: t,ref: n.ref@@ -63974,12 +63983,12 @@ async function iMe(e, t, n) {bases: r.bases};}-var aMe = (e, t, n) => U(_U, {+var rMe = (e, t, n) => U(bU, {kind: e,id: t,url: n-}), oMe = (e, t, n) => SU(`${_U}${yU(e, t)}&name=${encodeURIComponent(n.name)}`, n);-async function SU(e, t) {+}), iMe = (e, t, n) => TU(`${bU}${SU(e, t)}&name=${encodeURIComponent(n.name)}`, n);+async function TU(e, t) {let n = await fetch(e, {method: "POST",credentials: "same-origin",@@ -63988,17 +63997,17 @@ async function SU(e, t) {if (n.ok) return r;throw new Sn(r?.error || `请求失败(${n.status})`, n.status, r);}-function CU(e, t, n) {+function EU(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? Kje(e.focus, t, n) : lU(t, n);+ return e.focus && r ? Wje(e.focus, t, n) : fU(t, n);}-var sMe = (e) => e.crop && cU({+var aMe = (e) => e.crop && dU({width: e.width,height: e.height});-async function cMe(e, t, n) {+async function oMe(e, t, n) {if (!("file" in n)) {- await U(gU, {+ await U(yU, {kind: e,id: t,...n@@ -64011,19 +64020,19 @@ async function cMe(e, t, n) {i.x1,i.y1].join(",")}` : "";- await SU(`${gU}${yU(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);+ await TU(`${yU}${SU(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}-var wU = 2;-function lMe(e, t) {+var DU = 2;+function sMe(e, t) {if (!t) return e;let n = t.matched_names.filter((t) => t !== e);- return n.length ? `${e}:图库里按${`「${n.slice(0, wU).join("」「")}」`}${n.length > wU ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;+ return n.length ? `${e}:图库里按${`「${n.slice(0, DU).join("」「")}」`}${n.length > DU ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;}-var uMe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function dMe(e) {- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${uMe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+var cMe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function lMe(e) {+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${cMe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var TU = (e) => e.cast > 1, fMe = (e) => TU(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, pMe = {+var OU = (e) => e.cast > 1, uMe = (e) => OU(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, dMe = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -64033,7 +64042,7 @@ var TU = (e) => e.cast > 1, fMe = (e) => TU(e) ? `${e.label}:${e.cast.toLocalesocial: "社媒头像",online: "在线作品"};-function mMe(e) {+function fMe(e) {if (e.startsWith("follow:")) {let t = e.split(":")[2];return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;@@ -64044,19 +64053,19 @@ function mMe(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var hMe = (e) => `${pMe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (TU(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), gMe = 8, _Me = 3 / 4;-async function vMe(e, t, n) {+var pMe = (e) => `${dMe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (OU(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), mMe = 8, hMe = 3 / 4;+async function gMe(e, t, n) {switch (n.via) {- case "choice": return { choice: await iMe(e, t, n.choice) };- case "code": return { choice: await rMe(n.code) };- case "url": return { choice: await aMe(e, t, n.url) };+ case "choice": return { choice: await nMe(e, t, n.choice) };+ case "code": return { choice: await tMe(n.code) };+ case "url": return { choice: await rMe(e, t, n.url) };case "file": return {- choice: await oMe(e, t, n.file),+ choice: await iMe(e, t, n.file),file: n.file};}}-function yMe({ kind: e, entityId: t, name: n, onPicked: r }) {+function _Me({ kind: e, entityId: t, name: n, onPicked: r }) {let [i, a] = (0, E.useState)(!1);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "absolute right-1 bottom-1 z-10",@@ -64066,17 +64075,17 @@ function yMe({ 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, D.jsx)(_ve, {+ children: /* @__PURE__ */ (0, D.jsx)(hve, {"aria-hidden": !0,className: "size-4"})})- }), /* @__PURE__ */ (0, D.jsx)(fP, {+ }), /* @__PURE__ */ (0, D.jsx)(hP, {isOpen: i,onOpenChange: a,width: "avatar-picker",label: "更换头像",- children: /* @__PURE__ */ (0, D.jsx)(bMe, {+ children: /* @__PURE__ */ (0, D.jsx)(vMe, {kind: e,entityId: t,name: n,@@ -64085,22 +64094,22 @@ function yMe({ kind: e, entityId: t, name: n, onPicked: r }) {})})] });}-function bMe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, E.useRef)(null), o = Jk(), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(null), p = vU(e, t), m = (0, E.useRef)(!1), h = _t({+function vMe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, E.useRef)(null), o = Zk(), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(null), p = xU(e, t), m = (0, E.useRef)(!1), h = _t({queryKey: p,- queryFn: ({ signal: n }) => nMe(e, t, n),+ queryFn: ({ signal: n }) => eMe(e, t, n),retryOnMount: !0});(0, E.useEffect)(() => () => {- m.current && W.removeQueries({ queryKey: vU(e, t) });+ m.current && W.removeQueries({ queryKey: xU(e, t) });}, [e, t]);let g = vt({- mutationFn: (n) => cMe(e, t, n),+ mutationFn: (n) => oMe(e, t, n),onSuccess: () => {m.current = !0, i(), r();}}), _ = vt({- mutationFn: (n) => vMe(e, t, n),+ mutationFn: (n) => gMe(e, t, n),onMutate: () => {g.reset();},@@ -64121,28 +64130,28 @@ function bMe({ 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 ? V(g.error) : "") || (!d && _.error ? V(_.error) : "") || (h.error ? V(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : dMe(x), O = !!C && !!h.error && C === V(h.error), k = h.isPending || S.length > 0;+ let x = h.data, S = x?.choices ?? [], C = (g.error ? V(g.error) : "") || (!d && _.error ? V(_.error) : "") || (h.error ? V(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : lMe(x), O = !!C && !!h.error && C === V(h.error), k = h.isPending || S.length > 0;return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, D.jsx)(pP, { children: /* @__PURE__ */ (0, D.jsx)(eye, { className: "size-6" }) }),+ /* @__PURE__ */ (0, D.jsx)(gP, { children: /* @__PURE__ */ (0, D.jsx)(Qve, { className: "size-6" }) }),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(Oj, {+ children: [/* @__PURE__ */ (0, D.jsx)(jj, {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"- }), !d && S.length ? /* @__PURE__ */ (0, D.jsxs)(Hk, {+ }), !d && S.length ? /* @__PURE__ */ (0, D.jsxs)(Gk, {color: "soft",children: [S.length.toLocaleString(), " 张可选"]}) : null]}),/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: d ? fMe(d.choice) : lMe(n, x)+ children: d ? uMe(d.choice) : sMe(n, x)}),T ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "neutral",@@ -64163,14 +64172,14 @@ function bMe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, D.jsx)(ZA, {- icon: Ok,+ /* @__PURE__ */ (0, D.jsx)(ej, {+ icon: jk,size: "small","aria-label": "关闭",onClick: i})]- }), d ? /* @__PURE__ */ (0, D.jsx)(SMe, {+ }), d ? /* @__PURE__ */ (0, D.jsx)(bMe, {kind: e,entityId: t,choice: d.choice,@@ -64190,7 +64199,7 @@ function bMe({ 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: gMe }, (e, t) => /* @__PURE__ */ (0, D.jsxs)("span", {+ children: h.isPending ? Array.from({ length: mMe }, (e, t) => /* @__PURE__ */ (0, D.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",@@ -64203,7 +64212,7 @@ function bMe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {role: "option","data-avatar-choice": !0,"aria-selected": n.current,- title: hMe(n),+ title: pMe(n),...Y(w),onClick: () => {w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({@@ -64213,8 +64222,8 @@ function bMe({ 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, D.jsx)(xMe, {- src: bU(e, t, n.ref, xU(n, n.ref)),+ /* @__PURE__ */ (0, D.jsx)(yMe, {+ src: CU(e, t, n.ref, wU(n, n.ref)),choice: n}),/* @__PURE__ */ (0, D.jsx)("span", {@@ -64223,15 +64232,15 @@ function bMe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),n.current ? /* @__PURE__ */ (0, D.jsx)("span", {className: "absolute top-1 left-1",- children: /* @__PURE__ */ (0, D.jsx)(Hk, {+ children: /* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption",color: "gray",children: "在用"})}) : null,- TU(n) ? /* @__PURE__ */ (0, D.jsx)("span", {+ OU(n) ? /* @__PURE__ */ (0, D.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, D.jsxs)(Hk, {+ children: /* @__PURE__ */ (0, D.jsxs)(Gk, {variant: "caption",color: "gray",children: [n.cast.toLocaleString(), " 人"]@@ -64253,7 +64262,7 @@ function bMe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, D.jsx)(dP, {+ children: /* @__PURE__ */ (0, D.jsx)(mP, {"aria-label": "番号",placeholder: "番号,如 ABW-232",value: l,@@ -64292,7 +64301,7 @@ function bMe({ 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, D.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, D.jsx)(dP, {+ children: /* @__PURE__ */ (0, D.jsx)(mP, {type: "url","aria-label": "图片地址",placeholder: "https://…",@@ -64315,7 +64324,7 @@ function bMe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {})]})] })] });}-function xMe({ src: e, choice: t }) {+function yMe({ src: e, choice: t }) {let n = (0, E.useRef)(null), [r, i] = (0, E.useState)(!1), [a, o] = (0, E.useState)(!1);(0, E.useEffect)(() => {n.current?.complete && n.current.naturalWidth && i(!0);@@ -64323,7 +64332,7 @@ function xMe({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = sMe(t) ? Xje(CU(t, s, _Me), s) : null, l = r || a ? !0 : void 0;+ }, c = aMe(t) ? Jje(EU(t, s, hMe), s) : null, l = r || a ? !0 : void 0;return /* @__PURE__ */ (0, D.jsxs)("span", {"data-choice-lost": a || void 0,className: "relative block w-full aspect-avatar-choice overflow-hidden",@@ -64349,23 +64358,23 @@ function xMe({ src: e, choice: t }) {})]});}-function SMe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, E.useState)(o[0]), [l, u] = (0, E.useState)(null), [d, f] = (0, E.useState)(null), p = xU(n, s), m = bU(e, t, s, p), h = Jk();+function bMe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, E.useState)(o[0]), [l, u] = (0, E.useState)(null), [d, f] = (0, E.useState)(null), p = wU(n, s), m = CU(e, t, s, p), h = Zk();function g(e) {c(e), u(null), f(null);}- let _ = d && l ? Yje(d, l) : null;+ let _ = d && l ? qje(d, l) : null;return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.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, D.jsx)(hU, {+ children: [m ? /* @__PURE__ */ (0, D.jsx)(vU, {src: m,aspect: 1,box: d,size: l,label: `${n.label} 的头像取景框`,onSize: (e) => {- u(e), cU(e) && f(s === n.ref ? CU(n, e, 1) : lU(e, 1));+ u(e), dU(e) && f(s === n.ref ? EU(n, e, 1) : fU(e, 1));},onBox: f}) : null, o.length > 1 ? /* @__PURE__ */ (0, D.jsx)("div", {@@ -64379,7 +64388,7 @@ function SMe({ 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: mMe(e)+ children: fMe(e)}, e))}) : null]}), /* @__PURE__ */ (0, D.jsxs)("div", {@@ -64428,7 +64437,7 @@ function SMe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}//#endregion//#region src/react/components/source-avatar.tsx-function EU({ code: e, person: t, detail: n = !1 }) {+function kU({ code: e, person: t, detail: n = !1 }) {let r = (0, E.useRef)(null), [i, a] = (0, E.useState)(n || typeof IntersectionObserver > "u");(0, E.useEffect)(() => {if (!r.current || i) return;@@ -64462,8 +64471,8 @@ function EU({ code: e, person: t, detail: n = !1 }) {}//#endregion//#region src/react/feed-new/feed-new-row.tsx-function DU({ feedNew: e, host: t, wire: n, act: r, settled: i }) {- let a = (0, E.useContext)(NF), o = (0, E.useRef)(null), [s, c] = (0, E.useState)([]), l = e?.items.length ? e.html : "";+function AU({ feedNew: e, host: t, wire: n, act: r, settled: i }) {+ let a = (0, E.useContext)(IF), o = (0, E.useRef)(null), [s, c] = (0, E.useState)([]), l = e?.items.length ? e.html : "";(0, E.useLayoutEffect)(() => {t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);}, [@@ -64495,7 +64504,7 @@ function DU({ feedNew: e, host: t, wire: n, act: r, settled: i }) {u(e);},dangerouslySetInnerHTML: { __html: l }- }), s.map((e, t) => (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(EU, {+ }), s.map((e, t) => (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(kU, {code: e.dataset.code,person: {name: e.dataset.name,@@ -64505,7 +64514,7 @@ function DU({ feedNew: e, host: t, wire: n, act: r, settled: i }) {}//#endregion//#region src/react/entity-hero/glyph.tsx-function OU({ name: e }) {+function jU({ name: e }) {let { wide: t, viewBox: n } = Bt(e);return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: n,@@ -64516,20 +64525,20 @@ function OU({ name: e }) {}//#endregion//#region src/react/entity-hero/hero-pop.tsx-function kU(e, t) {+function MU(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 AU = (e) => !!e?.isConnected && e.matches(":popover-open");-function jU(e, t, n, r) {+var NU = (e) => !!e?.isConnected && e.matches(":popover-open");+function PU(e, t, n, r) {let i = (0, E.useRef)(r);i.current = r, (0, E.useEffect)(() => {if (!e) return;let r = () => {- t.current && AU(n.current) ? kU(t.current, n.current) : i.current();+ t.current && NU(n.current) ? MU(t.current, n.current) : i.current();};return addEventListener("scroll", r, {capture: !0,@@ -64543,17 +64552,17 @@ function jU(e, t, n, r) {n]);}-function MU({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {+function FU({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {let o = (0, E.useRef)(null), s = (0, E.useRef)(null), [c, l] = (0, E.useState)(!1), u = (0, E.useRef)(!1), d = (0, E.useRef)(0), f = () => {- clearTimeout(d.current), u.current = !1, AU(s.current) && s.current.hidePopover(), l(!1);+ clearTimeout(d.current), u.current = !1, NU(s.current) && s.current.hidePopover(), l(!1);}, p = () => {- clearTimeout(d.current), s.current && o.current && !AU(s.current) && (s.current.showPopover(), kU(o.current, s.current), l(!0));+ clearTimeout(d.current), s.current && o.current && !NU(s.current) && (s.current.showPopover(), MU(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 jU(c, o, s, f), (0, E.useEffect)(() => {+ return PU(c, o, s, f), (0, E.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -64579,7 +64588,7 @@ function MU({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {u.current ? f() : (p(), u.current = !0);},onKeyDown: (e) => {- e.key === "Escape" && AU(s.current) && (e.preventDefault(), f());+ e.key === "Escape" && NU(s.current) && (e.preventDefault(), f());},children: ["+", t]}), /* @__PURE__ */ (0, D.jsxs)("div", {@@ -64597,16 +64606,16 @@ function MU({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}), a]})] });}-function CMe({ following: e, busy: t, onToggle: n, tip: r }) {+function xMe({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, E.useRef)(null), a = (0, E.useRef)(null), o = (0, E.useRef)(null), [s, c] = (0, E.useState)(!1), l = (0, E.useRef)(!1), u = () => {- AU(o.current) && o.current.hidePopover(), c(!1);+ NU(o.current) && o.current.hidePopover(), c(!1);}, d = () => {- !l.current && o.current && i.current && !AU(o.current) && (o.current.showPopover(), kU(i.current, o.current), c(!0));+ !l.current && o.current && i.current && !NU(o.current) && (o.current.showPopover(), MU(i.current, o.current), c(!0));}, f = () => {l.current = !1, u();};- return jU(s, i, o, () => c(!1)), (0, E.useEffect)(() => {- i.current && AU(o.current) && kU(i.current, o.current);+ return PU(s, i, o, () => c(!1)), (0, E.useEffect)(() => {+ i.current && NU(o.current) && MU(i.current, o.current);}, [r]), /* @__PURE__ */ (0, D.jsxs)("label", {ref: i,"data-entry-feed": "",@@ -64615,7 +64624,7 @@ function CMe({ following: e, busy: t, onToggle: n, tip: r }) {a.current?.matches(":focus-visible") || f();},children: [- /* @__PURE__ */ (0, D.jsx)(OU, { name: "rss" }),+ /* @__PURE__ */ (0, D.jsx)(jU, { name: "rss" }),/* @__PURE__ */ (0, D.jsx)("input", {ref: a,type: "checkbox",@@ -64650,29 +64659,29 @@ function CMe({ following: e, busy: t, onToggle: n, tip: r }) {}//#endregion//#region src/react/entity-hero/name-picker.tsx-function wMe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {+function SMe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, E.useState)(!1), o = (0, E.useRef)(null);return (0, E.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");- }, []), /* @__PURE__ */ (0, D.jsxs)(Ibe, {+ }, []), /* @__PURE__ */ (0, D.jsxs)(Pbe, {isOpen: i,onOpenChange: a,- children: [/* @__PURE__ */ (0, D.jsx)(Ej, {+ children: [/* @__PURE__ */ (0, D.jsx)(kj, {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",- children: /* @__PURE__ */ (0, D.jsx)(OU, { name: "chevron-down" })- }), /* @__PURE__ */ (0, D.jsx)(QM, {+ children: /* @__PURE__ */ (0, D.jsx)(jU, { name: "chevron-down" })+ }), /* @__PURE__ */ (0, D.jsx)(tN, {placement: "bottom start",offset: 8,containerPadding: 8,- className: NP,+ className: IP,"data-namepick-menu": "",- children: /* @__PURE__ */ (0, D.jsxs)(Rbe, {+ children: /* @__PURE__ */ (0, D.jsxs)(Ibe, {"aria-label": "名字与别名","data-namepick-list": "",children: [- /* @__PURE__ */ (0, D.jsx)(oN, {+ /* @__PURE__ */ (0, D.jsx)(lN, {selectionMode: "single",disallowEmptySelection: !0,selectedKeys: [e],@@ -64680,31 +64689,31 @@ function wMe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let r = [...t][0];r && r !== e && n(r);},- children: t.map((e) => /* @__PURE__ */ (0, D.jsxs)(cN, {+ children: t.map((e) => /* @__PURE__ */ (0, D.jsxs)(dN, {id: e,textValue: e,"data-namepick-name": e,- children: [/* @__PURE__ */ (0, D.jsx)(OU, { name: "check" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, D.jsx)(jU, { name: "check" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e })]}, e))}),- /* @__PURE__ */ (0, D.jsx)(ybe, { "data-namepick-rule": "" }),- /* @__PURE__ */ (0, D.jsx)(oN, { children: /* @__PURE__ */ (0, D.jsxs)(cN, {+ /* @__PURE__ */ (0, D.jsx)(_be, { "data-namepick-rule": "" }),+ /* @__PURE__ */ (0, D.jsx)(lN, { children: /* @__PURE__ */ (0, D.jsxs)(dN, {id: "alias",textValue: "添加别名","data-namepick-alias": "",onAction: r,- children: [/* @__PURE__ */ (0, D.jsx)(OU, { name: "plus" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "添加别名…" })]+ children: [/* @__PURE__ */ (0, D.jsx)(jU, { name: "plus" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "添加别名…" })]}) })]})})]});}-var TMe = (e) => e === "studio" || e === "agency", NU = (e) => e === "performer" || e === "creator", EMe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function DMe(e) {+var CMe = (e) => e === "studio" || e === "agency", IU = (e) => e === "performer" || e === "creator", wMe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+function TMe(e) {return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);}-function PU(e) {+function LU(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0,@@ -64716,13 +64725,13 @@ function PU(e) {linked: !1} : null;}-function FU(e, t) {+function RU(e, t) {let n = sn(e, "performer"), r = an(t);return r && [e.label, n].map(an).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}-var IU = (e) => ({ site: en(e) });-function OMe(e, t) {- let n = PU(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+var zU = (e) => ({ site: en(e) });+function EMe(e, t) {+ let n = LU(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -64732,7 +64741,7 @@ function OMe(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${FU(e, n)} · ${t}`+ title: `${RU(e, n)} · ${t}`};}let r = e.url || "";@@ -64740,11 +64749,11 @@ function OMe(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if (NU(t) && e.link_kind !== "social") return {+ if (IU(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: FU(e, n),- mark: IU(e)+ title: RU(e, n),+ mark: zU(e)};if (e.link_kind === "social") {let t = rn(r);@@ -64752,7 +64761,7 @@ function OMe(e, t) {type: "icon",url: r,title: e.label || "",- mark: t ? { brand: t } : IU(e)+ mark: t ? { brand: t } : zU(e)};}return {@@ -64760,12 +64769,12 @@ function OMe(e, t) {url: r,title: e.label || "",text: sn(e, t, i),- mark: IU(e)+ mark: zU(e)};});- return [...r, ...kMe(a)];+ return [...r, ...DMe(a)];}-function kMe(e) {+function DMe(e) {let t = e.filter((e) => e.type === "private");return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {type: "private",@@ -64773,8 +64782,8 @@ function kMe(e) {sources: t.map((e) => e.label)}];}-var LU = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function AMe(e) {+var BU = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+function OMe(e) {return [["legal_name",@@ -64830,7 +64839,7 @@ function AMe(e) {}]}] : []);}-function jMe(e) {+function kMe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -64887,14 +64896,14 @@ function jMe(e) {tags: e.tags}), t;}-function RU(e, t = 4) {+function VU(e, t = 4) {let n = e.length > t + 1 ? t : e.length;return {shown: e.slice(0, n),rest: e.length - n};}-function MMe(e) {+function AMe(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 ? {@@ -64905,7 +64914,7 @@ function MMe(e) {}//#endregion//#region src/react/entity-hero/entity-hero-page.tsx-function NMe(e) {+function jMe(e) {return xa({id: e.id,hasImage: e.has_image,@@ -64916,8 +64925,8 @@ function NMe(e) {standIn: e.avatar_stand_in});}-function PMe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- let s = NU(e), c = TMe(e), l = s ? jMe(n.profile) : c ? AMe(n.company_profile) : [], u = OMe(n, e), d = LU(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, E.useRef)(null), m = (0, E.useRef)(null);+function MMe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {+ let s = IU(e), c = CMe(e), l = s ? kMe(n.profile) : c ? OMe(n.company_profile) : [], u = EMe(n, e), d = BU(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, E.useRef)(null), m = (0, E.useRef)(null);return (0, E.useEffect)(() => {o.wireScroller(p.current);}, [o, u.length]), (0, E.useEffect)(() => {@@ -64930,7 +64939,7 @@ function PMe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-entity-portrait-wrap": "",- children: [/* @__PURE__ */ (0, D.jsx)(FMe, {+ children: [/* @__PURE__ */ (0, D.jsx)(NMe, {kind: e,name: t,helpers: o,@@ -64938,7 +64947,7 @@ function PMe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,company: c}), s && n.id ? /* @__PURE__ */ (0, D.jsx)("span", {"data-avatar-picker": "",- children: /* @__PURE__ */ (0, D.jsx)(yMe, {+ children: /* @__PURE__ */ (0, D.jsx)(_Me, {kind: e,entityId: Number(n.id),name: n.canonical_name || t,@@ -64953,13 +64962,13 @@ function PMe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,"data-entity-title": "",children: [/* @__PURE__ */ (0, D.jsx)("h2", { children: n.canonical_name }),- e === "tag" ? null : /* @__PURE__ */ (0, D.jsx)(wMe, {+ e === "tag" ? null : /* @__PURE__ */ (0, D.jsx)(SMe, {current: n.canonical_name,- choices: DMe(n),+ choices: TMe(n),onChoose: a.chooseName,onAddAlias: a.addAlias}),- n.id ? /* @__PURE__ */ (0, D.jsx)(OP, { item: {+ n.id ? /* @__PURE__ */ (0, D.jsx)(jP, { item: {entity_id: Number(n.id),kind: e,name: n.canonical_name || t,@@ -64967,7 +64976,7 @@ function PMe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,} }) : null]}),- /* @__PURE__ */ (0, D.jsx)(IMe, {+ /* @__PURE__ */ (0, D.jsx)(PMe, {kind: e,entity: n,actions: a@@ -64988,14 +64997,14 @@ function PMe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,u.length ? /* @__PURE__ */ (0, D.jsx)("div", {ref: p,"data-entity-links": "",- children: u.map((e, t) => /* @__PURE__ */ (0, D.jsx)(HMe, { link: e }, t))+ children: u.map((e, t) => /* @__PURE__ */ (0, D.jsx)(BMe, { link: e }, t))}) : null,- d.length || n.feed ? /* @__PURE__ */ (0, D.jsx)(UMe, {+ d.length || n.feed ? /* @__PURE__ */ (0, D.jsx)(VMe, {entity: n,actions: a,helpers: o}) : null,- n.follow?.held.length ? /* @__PURE__ */ (0, D.jsx)(zMe, {+ n.follow?.held.length ? /* @__PURE__ */ (0, D.jsx)(LMe, {follow: n.follow,entity: n,actions: a@@ -65004,11 +65013,11 @@ function PMe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),l.length ? /* @__PURE__ */ (0, D.jsx)("dl", {"data-entity-facts": "",- children: l.map((e) => /* @__PURE__ */ (0, D.jsx)(BMe, {+ children: l.map((e) => /* @__PURE__ */ (0, D.jsx)(RMe, {glyph: e.glyph,label: e.label,clip: e.clip,- children: e.tags ? /* @__PURE__ */ (0, D.jsx)(VMe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, D.jsxs)("span", {+ children: e.tags ? /* @__PURE__ */ (0, D.jsx)(zMe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, D.jsxs)("span", {"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,children: [t ? " " : "", e.text]}, t))@@ -65027,7 +65036,7 @@ function PMe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onClick: () => a.openEntity("performer", e.k),children: [/* @__PURE__ */ (0, D.jsx)("span", {"data-hero-ring": "",- dangerouslySetInnerHTML: { __html: `<span>${B(hn(e.k))}</span>${NMe(e)}` }+ dangerouslySetInnerHTML: { __html: `<span>${B(hn(e.k))}</span>${jMe(e)}` }}), /* @__PURE__ */ (0, D.jsx)("span", {"data-hero-costar-name": "",children: e.k@@ -65035,14 +65044,14 @@ function PMe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}, e.k))})}) : null]- }), i ? (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(DU, {+ }), i ? (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(AU, {feedNew: r,host: i,wire: o.wireFeedRow,act: (e, t) => a.feedAction(e, t)}), i) : null] });}-function FMe({ kind: e, name: t, helpers: n, people: r, company: i }) {+function NMe({ kind: e, name: t, helpers: n, people: r, company: i }) {let [a] = (0, E.useState)(() => `${n.portraitImg()}<span>${B(hn(t))}</span>`);return /* @__PURE__ */ (0, D.jsx)("div", {"data-entity-portrait": r ? "round" : "square",@@ -65051,8 +65060,8 @@ function FMe({ kind: e, name: t, helpers: n, people: r, company: i }) {dangerouslySetInnerHTML: { __html: a }});}-function IMe({ kind: e, entity: t, actions: n }) {- let r = PU(t), i = (e, t) => (r) => {+function PMe({ kind: e, entity: t, actions: n }) {+ let r = LU(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, D.jsx)("a", {href: Xt("agency", r.name, r.id),@@ -65061,41 +65070,41 @@ function IMe({ kind: e, entity: t, actions: n }) {children: r.name}) : r.name : null, o = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });if (e === "performer" || e === "creator") {- let e = MMe(t.name_groups);+ let e = AMe(t.name_groups);return /* @__PURE__ */ (0, D.jsxs)("div", {"data-entity-alias": "meta",children: [- /* @__PURE__ */ (0, D.jsx)(zU, { entity: t }),+ /* @__PURE__ */ (0, D.jsx)(HU, { entity: t }),/* @__PURE__ */ (0, D.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, D.jsx)(OU, { name: "film" }), /* @__PURE__ */ (0, D.jsx)("span", { children: o })]+ children: [/* @__PURE__ */ (0, D.jsx)(jU, { name: "film" }), /* @__PURE__ */ (0, D.jsx)("span", { children: o })]}),- t.follow?.key ? /* @__PURE__ */ (0, D.jsx)(RMe, {+ t.follow?.key ? /* @__PURE__ */ (0, D.jsx)(IMe, {follow: t.follow,actions: n}) : null,a ? /* @__PURE__ */ (0, D.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, D.jsx)(OU, { name: "briefcase" }), /* @__PURE__ */ (0, D.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, D.jsx)(jU, { name: "briefcase" }), /* @__PURE__ */ (0, D.jsx)("span", { children: a })]}) : null,e ? /* @__PURE__ */ (0, D.jsxs)("div", {"data-meta-item": "names",children: [- /* @__PURE__ */ (0, D.jsx)(OU, { name: "id-card" }),+ /* @__PURE__ */ (0, D.jsx)(jU, { name: "id-card" }),/* @__PURE__ */ (0, D.jsx)("span", {"data-alias-names": "",title: "别名",children: e.names.map((e, t) => /* @__PURE__ */ (0, D.jsx)("span", { children: e }, t))}),- e.rest > 0 ? /* @__PURE__ */ (0, D.jsx)(MU, {+ e.rest > 0 ? /* @__PURE__ */ (0, D.jsx)(FU, {id: "entityAliasPop",hook: "alias",rest: e.rest,label: `另外 ${e.rest.toLocaleString()} 个别名`,heading: `${e.total.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, D.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, D.jsx)(BU, {+ children: /* @__PURE__ */ (0, D.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, D.jsx)(UU, {label: e.label,names: e.names}, t)) })@@ -65117,61 +65126,61 @@ function IMe({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-entity-alias": "meta",children: [- e === "creator" ? /* @__PURE__ */ (0, D.jsx)(zU, { entity: t }) : null,+ e === "creator" ? /* @__PURE__ */ (0, D.jsx)(HU, { entity: t }) : null,/* @__PURE__ */ (0, D.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, D.jsx)(OU, { name: "film" }), /* @__PURE__ */ (0, D.jsxs)("span", { children: [o, c] })]+ children: [/* @__PURE__ */ (0, D.jsx)(jU, { name: "film" }), /* @__PURE__ */ (0, D.jsxs)("span", { children: [o, c] })]}),a ? /* @__PURE__ */ (0, D.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, D.jsx)(OU, { name: "briefcase" }), /* @__PURE__ */ (0, D.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, D.jsx)(jU, { name: "briefcase" }), /* @__PURE__ */ (0, D.jsx)("span", { children: a })]}) : null,l ? /* @__PURE__ */ (0, D.jsxs)("span", {"data-meta-item": "",title: "片商",- children: [/* @__PURE__ */ (0, D.jsx)(OU, { name: "clapperboard" }), /* @__PURE__ */ (0, D.jsx)("a", {+ children: [/* @__PURE__ */ (0, D.jsx)(jU, { name: "clapperboard" }), /* @__PURE__ */ (0, D.jsx)("a", {href: Xt("studio", l.name, l.id),"data-studio-link": l.name,onClick: i("studio", l.name),children: l.name})]}) : null,- s.length ? /* @__PURE__ */ (0, D.jsx)(LMe, { aliases: s }) : null+ s.length ? /* @__PURE__ */ (0, D.jsx)(FMe, { aliases: s }) : null]});}-function LMe({ aliases: e }) {- let { shown: t, rest: n } = RU(e, 3);+function FMe({ aliases: e }) {+ let { shown: t, rest: n } = VU(e, 3);return /* @__PURE__ */ (0, D.jsxs)("div", {"data-meta-item": "names","data-company-names": "",children: [- /* @__PURE__ */ (0, D.jsx)(OU, { name: "id-card" }),+ /* @__PURE__ */ (0, D.jsx)(jU, { name: "id-card" }),/* @__PURE__ */ (0, D.jsx)("span", {"data-alias-names": "",title: "别名",children: t.map((e, t) => /* @__PURE__ */ (0, D.jsx)("span", { children: e }, t))}),- n ? /* @__PURE__ */ (0, D.jsx)(MU, {+ n ? /* @__PURE__ */ (0, D.jsx)(FU, {id: "entityAliasPop",hook: "alias",rest: n,label: `另外 ${n.toLocaleString()} 个别名`,heading: `${e.length.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, D.jsx)("dl", { children: /* @__PURE__ */ (0, D.jsx)(BU, { names: e.map((e) => ({ name: e })) }) })+ children: /* @__PURE__ */ (0, D.jsx)("dl", { children: /* @__PURE__ */ (0, D.jsx)(UU, { names: e.map((e) => ({ name: e })) }) })}) : null]});}-function RMe({ follow: e, actions: t }) {+function IMe({ follow: e, actions: t }) {let n = e.providers.join(" · ");return /* @__PURE__ */ (0, D.jsxs)("span", {"data-meta-item": "","data-entity-follow": "",title: n ? `关注 · ${n}` : "关注",- children: [/* @__PURE__ */ (0, D.jsx)(OU, { name: "rss" }), /* @__PURE__ */ (0, D.jsxs)("a", {+ children: [/* @__PURE__ */ (0, D.jsx)(jU, { name: "rss" }), /* @__PURE__ */ (0, D.jsxs)("a", {href: "?media=online",onClick: (n) => {n.preventDefault(), t.openFollowAuthor(e.key);@@ -65180,7 +65189,7 @@ function RMe({ follow: e, actions: t }) {})]});}-function zMe({ follow: e, entity: t, actions: n }) {+function LMe({ follow: e, entity: t, actions: n }) {let [r, i] = (0, E.useState)(""), a = async (e, t) => {if (!r) {i(e);@@ -65214,14 +65223,14 @@ function zMe({ follow: e, entity: t, actions: n }) {}, e.key))});}-function zU({ entity: e }) {+function HU({ entity: e }) {return e.identity_labels?.length ? /* @__PURE__ */ (0, D.jsxs)("span", {"data-meta-item": "classification","data-identity-classification": "",- children: [/* @__PURE__ */ (0, D.jsx)(OU, { name: "user-round" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e.identity_labels.join(" · ") })]+ children: [/* @__PURE__ */ (0, D.jsx)(jU, { name: "user-round" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e.identity_labels.join(" · ") })]}) : null;}-function BU({ label: e, names: t }) {+function UU({ label: e, names: t }) {return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [e ? /* @__PURE__ */ (0, D.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, D.jsx)("dd", {"data-wide": e ? void 0 : "",children: t.map((e, t) => /* @__PURE__ */ (0, D.jsxs)("span", {@@ -65230,20 +65239,20 @@ function BU({ label: e, names: t }) {}, t))})] });}-function BMe({ glyph: e, label: t, clip: n, children: r }) {- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("dt", { children: [/* @__PURE__ */ (0, D.jsx)(OU, { name: e }), t] }), /* @__PURE__ */ (0, D.jsx)("dd", {+function RMe({ glyph: e, label: t, clip: n, children: r }) {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("dt", { children: [/* @__PURE__ */ (0, D.jsx)(jU, { name: e }), t] }), /* @__PURE__ */ (0, D.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}-function VMe({ tags: e }) {- let { shown: t, rest: n } = RU(e);+function zMe({ tags: e }) {+ let { shown: t, rest: n } = VU(e);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, D.jsx)("span", {"data-fact-tag": "",title: e,children: e- }, e)), n ? /* @__PURE__ */ (0, D.jsx)(MU, {+ }, e)), n ? /* @__PURE__ */ (0, D.jsx)(FU, {id: "entityTagPop",hook: "fact",rest: n,@@ -65259,10 +65268,10 @@ function VMe({ tags: e }) {})}) : null] });}-function VU({ mark: e }) {+function WU({ mark: e }) {if ("brand" in e) return /* @__PURE__ */ (0, D.jsx)("span", {"data-link-icon": "brand",- children: /* @__PURE__ */ (0, D.jsx)(OU, { name: e.brand })+ children: /* @__PURE__ */ (0, D.jsx)(jU, { name: e.brand })});let t = z("globe") + ("site" in e ? `<img src="${B(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");return /* @__PURE__ */ (0, D.jsx)("span", {@@ -65270,7 +65279,7 @@ function VU({ mark: e }) {dangerouslySetInnerHTML: { __html: t }});}-function HMe({ link: e }) {+function BMe({ link: e }) {switch (e.type) {case "icon": return /* @__PURE__ */ (0, D.jsx)("a", {"data-link": "icon",@@ -65279,19 +65288,19 @@ function HMe({ link: e }) {rel: "noreferrer",title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, D.jsx)(VU, { mark: e.mark })+ children: /* @__PURE__ */ (0, D.jsx)(WU, { mark: e.mark })});case "gone": return /* @__PURE__ */ (0, D.jsx)("span", {"data-link": "gone",tabIndex: 0,title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, D.jsx)(VU, { mark: { globe: !0 } })+ children: /* @__PURE__ */ (0, D.jsx)(WU, { mark: { globe: !0 } })});case "private": return /* @__PURE__ */ (0, D.jsxs)("span", {"data-link": "private",title: e.sources ? e.sources.join("\n") : e.label,- children: [/* @__PURE__ */ (0, D.jsx)(VU, { mark: { globe: !0 } }), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(WU, { mark: { globe: !0 } }), /* @__PURE__ */ (0, D.jsx)("span", {"data-link-label": "",children: e.sources ? e.label : `来源 · ${e.label}`})]@@ -65302,14 +65311,14 @@ function HMe({ link: e }) {target: "_blank",rel: "noreferrer",title: e.title,- children: [/* @__PURE__ */ (0, D.jsx)(VU, { mark: e.mark }), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(WU, { mark: e.mark }), /* @__PURE__ */ (0, D.jsx)("span", {"data-link-label": "",children: e.text})]});}}-function UMe({ entity: e, actions: t, helpers: n }) {+function VMe({ entity: e, actions: t, helpers: n }) {let [r, i] = (0, E.useState)(!!e.feed?.following), [a, o] = (0, E.useState)(!1), s = (0, E.useRef)(!1), c = async (e) => {if (s.current) return !1;s.current = !0, o(!0);@@ -65327,34 +65336,34 @@ function UMe({ entity: e, actions: t, helpers: n }) {};return /* @__PURE__ */ (0, D.jsxs)("div", {"data-entry-marks": "",- children: [LU(e).map((e, t) => /* @__PURE__ */ (0, D.jsxs)("a", {+ children: [BU(e).map((e, t) => /* @__PURE__ */ (0, D.jsxs)("a", {"data-entry-mark": "",href: e.url,target: "_blank",rel: "noreferrer",title: e.label,"aria-label": e.label,- children: [e.mark ? /* @__PURE__ */ (0, D.jsx)(OU, { name: e.mark }) : /* @__PURE__ */ (0, D.jsxs)("span", {+ children: [e.mark ? /* @__PURE__ */ (0, D.jsx)(jU, { name: e.mark }) : /* @__PURE__ */ (0, D.jsxs)("span", {"data-missav-mark": "",children: [/* @__PURE__ */ (0, D.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "AV" })]}), e.ordinal ? /* @__PURE__ */ (0, D.jsx)("span", {"data-entry-ordinal": "",children: e.ordinal}) : null]- }, t)), e.feed ? /* @__PURE__ */ (0, D.jsx)(CMe, {+ }, t)), e.feed ? /* @__PURE__ */ (0, D.jsx)(xMe, {following: r,busy: a,onToggle: (e) => {l(e);},- tip: EMe(r)+ tip: wMe(r)}) : null]});}//#endregion//#region src/react/entity-page/use-entity-online.ts-var WMe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;-function GMe(e, t, n) {+var HMe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;+function UMe(e, t, n) {let [r, i] = (0, E.useState)(() => Ei(e));r.author !== e && i(Ei(e));let [a, o] = (0, E.useState)({@@ -65433,7 +65442,7 @@ function GMe(e, t, n) {onlineMedia: (e) => c(e),onlineShuffle: () => T({sort: li,- seed: WMe()+ seed: HMe()}),onlineImagesOnly: (e) => n.setImagesOnly(e),onlineStatus: (e) => T({ status: e }),@@ -65464,8 +65473,8 @@ function GMe(e, t, n) {}//#endregion//#region src/react/entity-page/entity-page-view.tsx-function KMe(e) {- let { kind: t, name: n } = e, r = _t(dH(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {+function WMe(e) {+ let { kind: t, name: n } = e, r = _t(mH(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;@@ -65483,17 +65492,17 @@ function KMe(e) {s,o?.kind,o?.name- ]), r.isError ? /* @__PURE__ */ (0, D.jsx)(wI, {+ ]), r.isError ? /* @__PURE__ */ (0, D.jsx)(DI, {message: V(r.error),onRetry: () => {r.refetch();}- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, D.jsx)(YMe, {+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, D.jsx)(qMe, {...e,entity: r.data});}-function HU(e) {+function GU(e) {let [t, n] = (0, E.useState)({key: e,n: 1@@ -65505,22 +65514,22 @@ function HU(e) {};return n(r), r.n;}-var qMe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);-function JMe(e, t) {+var GMe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);+function KMe(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}-function YMe(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 = yt(fH(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 || pH(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {+function qMe(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 = yt(hH(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 || gH(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- } : iH, [y, b] = (0, E.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, E.useState)(x);+ } : sH, [y, b] = (0, E.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, E.useState)(x);S !== x && (C(x), b("videos"));- let w = l && y === "people" && u.length ? "people" : v.media, T = GMe(g, w === "online", {+ let w = l && y === "people" && u.length ? "people" : v.media, T = UMe(g, w === "online", {photoLayout: e.photoLayout,photoLayouts: e.photoLayouts,imagesOnly: e.followImagesOnly,setImagesOnly: e.follow.actions.setImagesOnly- }), O = w === "photos" || w === "online" && T.media === "images", [k, A] = (0, E.useState)(0), j = uH(e), M = _t(j), N = HU(JSON.stringify([j.queryKey, k])), [P] = (0, E.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));+ }), O = w === "photos" || w === "online" && T.media === "images", [k, A] = (0, E.useState)(0), j = pH(e), M = _t(j), N = GU(JSON.stringify([j.queryKey, k])), [P] = (0, E.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));(0, E.useLayoutEffect)(() => {s.javContext(P);}, [s, P]);@@ -65530,26 +65539,26 @@ function YMe(e) {}, [e.layout, P]), I = {jav: e.jav,seed: e.seed- }, ee = (0, E.useCallback)((e, r, a) => lH(t, n, i, I, e, r, a), [N]), [L, te] = (0, E.useState)({}), ne = v.set, re = L[ne] || "", ie = yt({- ...fH(t, n, ne, re),+ }, ee = (0, E.useCallback)((e, r, a) => fH(t, n, i, I, e, r, a), [N]), [L, te] = (0, E.useState)({}), ne = v.set, re = L[ne] || "", ie = yt({+ ...hH(t, n, ne, re),enabled: w === "photos"- }), ae = ie.data?.pages[0], oe = HU(JSON.stringify(oH(t, n, ne, re))), se = (0, E.useMemo)(() => {+ }), ae = ie.data?.pages[0], oe = GU(JSON.stringify(lH(t, n, ne, re))), se = (0, E.useMemo)(() => {let e = ie.data?.pages;if (!e?.[0] || e[0].error) return null;let t = e[0];return {revision: oe,- codeSets: t.id ? [] : pH(t),+ codeSets: t.id ? [] : gH(t),items: e.flatMap((e) => e.items || []),total: t.total || 0,hasMore: !!e[e.length - 1]?.has_more};}, [ie.data, oe]), ce = ie.refetch, le = ie.fetchNextPage, ue = _t({- ...tH(d, o.feedRowHtml),+ ...iH(d, o.feedRowHtml),enabled: !!d}), de = (0, E.useRef)(e.feedRevision);(0, E.useEffect)(() => {- de.current !== e.feedRevision && (de.current = e.feedRevision, W.invalidateQueries({ queryKey: eH(d) }));+ de.current !== e.feedRevision && (de.current = e.feedRevision, W.invalidateQueries({ queryKey: rH(d) }));}, [d, e.feedRevision]);let fe = !!M.data;(0, E.useEffect)(() => {@@ -65568,7 +65577,7 @@ function YMe(e) {pe.current = !1;}, []);let me = (0, E.useCallback)(async () => {- await W.invalidateQueries({ queryKey: ["entity-route"] }), await W.invalidateQueries({ queryKey: aH(t, n) }), await W.invalidateQueries({ queryKey: [+ await W.invalidateQueries({ queryKey: ["entity-route"] }), await W.invalidateQueries({ queryKey: cH(t, n) }), await W.invalidateQueries({ queryKey: ["entity-items",t,n@@ -65602,7 +65611,7 @@ function YMe(e) {enabled: e})}),- onSuccess: (e, r) => W.setQueryData(aH(t, n), (e) => e && {+ onSuccess: (e, r) => W.setQueryData(cH(t, n), (e) => e && {...e,feed: {...e.feed,@@ -65656,10 +65665,10 @@ function YMe(e) {let e = await Vt("/api/feeds/check").catch(() => null);if (!e || e.status !== "running") break;}- pe.current && await W.invalidateQueries({ queryKey: eH(d) });+ pe.current && await W.invalidateQueries({ queryKey: rH(d) });})();},- feedAction: nH,+ feedAction: aH,avatarPicked: () => {s.avatarChanged(), me().then(() => {pe.current && A((e) => e + 1);@@ -65707,19 +65716,19 @@ function YMe(e) {(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {media: e,set: 0- } : iH));+ } : sH));},setState: (e) => s.route({...i,state: e- }, iH),+ }, sH),toggleTag: s.toggleTag,clearFilter: s.clearFilter,clearAll: s.clearAll,setSort: s.setSort,reshuffle: async () => {if (w !== "photos") {- let r = s.reshuffleVideos(), a = uH({+ let r = s.reshuffleVideos(), a = pH({kind: t,name: n,filters: {@@ -65733,7 +65742,7 @@ function YMe(e) {await W.fetchQuery(a).catch(() => null);return;}- let r = qMe(), a = await W.fetchInfiniteQuery(fH(t, n, ne, r)).catch(() => null);+ let r = GMe(), a = await W.fetchInfiniteQuery(hH(t, n, ne, r)).catch(() => null);pe.current && a?.pages[0] && !a.pages[0].error && te((e) => ({...e,[ne]: r@@ -65768,7 +65777,7 @@ function YMe(e) {k: e.k,label: Ac(e.k),n: e.n,- selected: MAe(i.tag, e.k)+ selected: AAe(i.tag, e.k)})), we = [u.length,!_,@@ -65803,14 +65812,14 @@ function YMe(e) {creator: "",studio: "",owner: ""- }, iH), Me = "", Ne = !1;+ }, sH), 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") {Ne = !M.data;- let e = sH(i.tag).length;+ let e = uH(i.tag).length;Me = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;- } else ae && !ae.error ? Me = Ee ? `${ae.title} · ${(ae.total || 0).toLocaleString()} 张` : JMe(ae, pH(ae).length) : Ne = ie.isPending;+ } else ae && !ae.error ? Me = Ee ? `${ae.title} · ${(ae.total || 0).toLocaleString()} 张` : KMe(ae, gH(ae).length) : Ne = ie.isPending;let Pe = (0, E.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {@@ -65827,7 +65836,7 @@ function YMe(e) {u]);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(PMe, {+ /* @__PURE__ */ (0, D.jsx)(MMe, {kind: t,name: n,entity: r,@@ -65837,7 +65846,7 @@ function YMe(e) {actions: ye,helpers: be}, k),- (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(QCe, {+ (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(XCe, {kind: t,name: n,view: w,@@ -65854,9 +65863,9 @@ function YMe(e) {actions: xe,helpers: Se}), c.filter),- (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(zCe, {+ (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(LCe, {enabled: w === "videos",- children: w === "online" ? /* @__PURE__ */ (0, D.jsx)(Hje, {+ children: w === "online" ? /* @__PURE__ */ (0, D.jsx)(Bje, {view: T.view,media: T.media,result: T.result,@@ -65870,16 +65879,16 @@ function YMe(e) {actions: e.follow.actions,canLoadMore: e.canLoadMore,clearFilters: T.clearFilters- }, T.key) : w === "videos" && M.isError ? /* @__PURE__ */ (0, D.jsx)(wI, {+ }, T.key) : w === "videos" && M.isError ? /* @__PURE__ */ (0, D.jsx)(DI, {message: V(M.error),onRetry: () => {M.refetch();}- }) : Ae ? /* @__PURE__ */ (0, D.jsx)(XMe, {+ }) : Ae ? /* @__PURE__ */ (0, D.jsx)(JMe, {filtered: ke,onShowAll: je,onOnline: g ? () => xe.setView("online") : void 0- }) : /* @__PURE__ */ (0, D.jsx)(dje, {+ }) : /* @__PURE__ */ (0, D.jsx)(lje, {kind: t,name: n,view: w,@@ -65911,9 +65920,9 @@ function YMe(e) {}), c.body)] });}-function XMe({ filtered: e, onShowAll: t, onOnline: n }) {- return e ? /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: hP("search"),+function JMe({ filtered: e, onShowAll: t, onOnline: n }) {+ return e ? /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: vP("search"),title: "没有符合条件的视频",actions: /* @__PURE__ */ (0, D.jsx)(q, {size: "small",@@ -65921,14 +65930,14 @@ function XMe({ filtered: e, onShowAll: t, onOnline: n }) {children: "清除筛选"}),children: "清除筛选后查看名下全部视频。"- }) : /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: hP("film"),+ }) : /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: vP("film"),title: "还没有视频",actions: n ? /* @__PURE__ */ (0, D.jsx)(q, {size: "small",onClick: n,children: "查看在线作品"- }) : /* @__PURE__ */ (0, D.jsx)(Wk, {+ }) : /* @__PURE__ */ (0, D.jsx)(qk, {size: "small",href: "/",children: "浏览馆藏"@@ -65938,7 +65947,7 @@ function XMe({ filtered: e, onShowAll: t, onOnline: n }) {}//#endregion//#region src/react/components/collection-summary.tsx-function UU({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {+function KU({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {return /* @__PURE__ */ (0, D.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@@ -65965,29 +65974,29 @@ function UU({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !}//#endregion//#region src/react/duplicates/duplicates-page.tsx-var ZMe = hP("play"), QMe = hP("file-stack"), $Me = qk({+var YMe = vP("play"), XMe = vP("file-stack"), ZMe = Xk({padding: "none",radius: "surface",className: "mb-6 overflow-hidden dark:bg-background-primary-default"-}), WU = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", GU = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", KU = "font-mono text-caption-1-regular leading-5 text-text-secondary", qU = () => {+}), qU = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", JU = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", YU = "font-mono text-caption-1-regular leading-5 text-text-secondary", XU = () => {W.invalidateQueries({- queryKey: jz,+ queryKey: Pz,exact: !0}), W.invalidateQueries({- queryKey: tV,+ queryKey: iV,exact: !0});};-function eNe(e) {+function QMe(e) {return e.identical ? /* @__PURE__ */ (0, D.jsx)("span", {- className: `${GU} text-(--keep)`,+ className: `${JU} text-(--keep)`,children: "sha1 一致"}) : /* @__PURE__ */ (0, D.jsx)("span", {- className: `${GU} text-text-secondary`,+ className: `${JU} text-text-secondary`,children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"});}-function tNe({ file: e, prefix: t, openItem: n }) {+function $Me({ file: e, prefix: t, openItem: n }) {let r = () => n(e.id), i = _n[e.location] || e.location || e.drive;return /* @__PURE__ */ (0, D.jsxs)("div", {className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",@@ -65997,7 +66006,7 @@ function tNe({ file: e, prefix: t, openItem: n }) {onClick: r,"aria-label": `预览 ${e.name}`,className: "relative row-span-2 inline-grid aspect-16/10 w-full cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default text-text-secondary",- children: [/* @__PURE__ */ (0, D.jsx)(ZMe, {+ children: [/* @__PURE__ */ (0, D.jsx)(YMe, {"aria-hidden": !0,className: "size-6"}), /* @__PURE__ */ (0, D.jsx)("img", {@@ -66017,58 +66026,58 @@ function tNe({ file: e, prefix: t, openItem: n }) {"data-middle-truncate": !0,"data-middle-truncate-within": !0,className: "min-w-0 shrink cursor-pointer truncate text-left text-body-regular hover:text-text-secondary",- children: iOe(e.name, t)+ children: nOe(e.name, t)}), e.is_largest || e.is_longest ? /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex flex-none gap-1",children: [e.is_largest ? /* @__PURE__ */ (0, D.jsx)("i", {- className: `${WU} not-italic bg-background-primary-hover text-text-secondary`,+ className: `${qU} not-italic bg-background-primary-hover text-text-secondary`,children: "最大"}) : null, e.is_longest ? /* @__PURE__ */ (0, D.jsx)("i", {- className: `${WU} not-italic bg-(--keep)/22 text-(--keep)`,+ className: `${qU} not-italic bg-(--keep)/22 text-(--keep)`,children: "最长"}) : null]}) : null]}),/* @__PURE__ */ (0, D.jsxs)("span", {- className: `${KU} flex min-w-0 items-center gap-1.5`,- children: [/* @__PURE__ */ (0, D.jsx)(_A, { mark: _o[e.location] || "database" }), /* @__PURE__ */ (0, D.jsx)("span", {+ className: `${YU} flex min-w-0 items-center gap-1.5`,+ children: [/* @__PURE__ */ (0, D.jsx)(bA, { mark: _o[e.location] || "database" }), /* @__PURE__ */ (0, D.jsx)("span", {title: i,className: "min-w-0 truncate",children: i})]}),/* @__PURE__ */ (0, D.jsx)("span", {- className: KU,+ className: YU,children: dn(e.size || 0)}),/* @__PURE__ */ (0, D.jsx)("span", {- className: KU,+ className: YU,children: ln(e.duration)}),/* @__PURE__ */ (0, D.jsx)("span", {- className: `${KU} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,+ className: `${YU} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,children: e.path ?? ""})]});}-function nNe({ openItem: e, toast: t, failure: n }) {+function eNe({ openItem: e, toast: t, failure: n }) {let r = _t({- queryKey: jz,- queryFn: ({ signal: e }) => Nz(e)+ queryKey: Pz,+ queryFn: ({ signal: e }) => Iz(e)}), i = _t({queryKey: Nn,queryFn: ({ signal: e }) => Pn(e)}), [a, o] = (0, E.useState)(""), s = vt({- mutationFn: (e) => Iz(e, "dispose"),+ mutationFn: (e) => zz(e, "dispose"),onSuccess: (e, r) => {- qU(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {+ XU(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {try {- await Iz(r, "restore");+ await zz(r, "restore");} catch (e) {n("撤销移入回收站", e);} finally {- qU();+ XU();}} });},@@ -66082,12 +66091,12 @@ function nNe({ openItem: e, toast: t, failure: n }) {children: r.error ? V(r.error) : "未取得重复文件列表,请刷新页面重试。"})});- let l = c.groups ?? [], u = eOe(i.data), d = ({ groups: e, keep: t, key: n }) => {+ let l = c.groups ?? [], u = QDe(i.data), d = ({ groups: e, keep: t, key: n }) => {if (s.isPending) return;- let r = cOe(e, t);+ let r = oOe(e, t);r.length && Hs({title: "移入回收站",- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${Pz[t] ?? Pz.largest}。文件共 ${dn(lOe(e, r))},记录可从回收站还原。`,+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${Lz[t] ?? Lz.largest}。文件共 ${dn(sOe(e, r))},记录可从回收站还原。`,confirmLabel: "移入回收站",onConfirm: () => (o(n), s.mutateAsync(r))});@@ -66095,15 +66104,15 @@ function nNe({ openItem: e, toast: t, failure: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "mx-auto w-full max-w-board pb-10.5",children: [- /* @__PURE__ */ (0, D.jsx)(UU, {+ /* @__PURE__ */ (0, D.jsx)(KU, {label: "重复内容",figure: `${Number(c.total || 0).toLocaleString()} 组`,detail: `${Number(c.files || 0).toLocaleString()} 个文件 · 可回收 ${dn(c.reclaimable)}`}),- l.length ? /* @__PURE__ */ (0, D.jsxs)(Kye, {+ l.length ? /* @__PURE__ */ (0, D.jsxs)(Wye, {title: "批量保留",children: [- /* @__PURE__ */ (0, D.jsx)(rj, {+ /* @__PURE__ */ (0, D.jsx)(oj, {busy: a === "all:largest",onPress: () => d({groups: l,@@ -66112,7 +66121,7 @@ function nNe({ openItem: e, toast: t, failure: n }) {}),children: "全部保留最大"}),- /* @__PURE__ */ (0, D.jsx)(rj, {+ /* @__PURE__ */ (0, D.jsx)(oj, {busy: a === "all:longest",onPress: () => d({groups: l,@@ -66121,14 +66130,14 @@ function nNe({ openItem: e, toast: t, failure: n }) {}),children: "全部保留最长"}),- sOe(l, u).map((e) => /* @__PURE__ */ (0, D.jsx)(rj, {+ aOe(l, u).map((e) => /* @__PURE__ */ (0, D.jsx)(oj, {busy: a === `all:${e}`,onPress: () => d({groups: l,keep: e,key: `all:${e}`}),- children: /* @__PURE__ */ (0, D.jsx)(IA, {+ children: /* @__PURE__ */ (0, D.jsx)(zA, {source: e,label: `全部优先 ${_n[e] || e}`})@@ -66144,10 +66153,10 @@ function nNe({ openItem: e, toast: t, failure: n }) {})}) : null,l.length ? l.map((t, n) => {- let r = [t], i = rOe(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;+ let r = [t], i = tOe(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;return /* @__PURE__ */ (0, D.jsxs)("section", {"aria-label": t.code,- className: $Me,+ className: ZMe,children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default",children: [@@ -66159,9 +66168,9 @@ function nNe({ openItem: e, toast: t, failure: n }) {className: "font-mono text-caption-1-regular leading-5 text-text-primary",children: `${Number(t.count || 0).toLocaleString()} 个 · 可回收 ${dn(t.reclaimable)}`}),- eNe(t),+ QMe(t),t.cross_drive ? /* @__PURE__ */ (0, D.jsx)("span", {- className: `${GU} text-text-secondary`,+ className: `${JU} text-text-secondary`,children: `跨盘 ${t.drives.join(" ")}`}) : null,/* @__PURE__ */ (0, D.jsxs)("span", {@@ -66189,7 +66198,7 @@ function nNe({ openItem: e, toast: t, failure: n }) {}),children: "留最长"}),- Fz(t.files, u).map((e) => /* @__PURE__ */ (0, D.jsx)(q, {+ Rz(t.files, u).map((e) => /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",...f(a(e)),@@ -66198,7 +66207,7 @@ function nNe({ openItem: e, toast: t, failure: n }) {keep: e,key: a(e)}),- children: /* @__PURE__ */ (0, D.jsx)(IA, {+ children: /* @__PURE__ */ (0, D.jsx)(zA, {source: e,label: `留 ${_n[e] || e}`})@@ -66217,14 +66226,14 @@ function nNe({ openItem: e, toast: t, failure: n }) {]})]- }), /* @__PURE__ */ (0, D.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, D.jsx)(tNe, {+ }), /* @__PURE__ */ (0, D.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, D.jsx)($Me, {file: t,prefix: i,openItem: e}, t.id)) })]}, `${t.code}-${n}`);- }) : /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: QMe,+ }) : /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: XMe,title: "没有找到重复文件",children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"}),@@ -66237,17 +66246,17 @@ function nNe({ openItem: e, toast: t, failure: n }) {}//#endregion//#region src/react/diagnostics/diagnostics.ts-var JU = ["diagnostics"], YU = (e) => H("/api/diagnostics", e);-async function rNe(e) {+var ZU = ["diagnostics"], QU = (e) => H("/api/diagnostics", e);+async function tNe(e) {await W.fetchQuery({- queryKey: JU,- queryFn: () => YU(e),+ queryKey: ZU,+ queryFn: () => QU(e),staleTime: 1e4});}//#endregion//#region src/diagnostics-skeleton.ts-function XU() {+function $U() {let e = (e) => Do({label: e,variant: "secondary",@@ -66262,7 +66271,7 @@ function XU() {}//#endregion//#region src/react/diagnostics/health-list.tsx-var ZU = (e) => e.title || e.name || e.code || `作品 #${e.id}`, iNe = (e) => [[+var eW = (e) => e.title || e.name || e.code || `作品 #${e.id}`, nNe = (e) => [["作品","番号","文件名",@@ -66271,7 +66280,7 @@ var ZU = (e) => e.title || e.name || e.code || `作品 #${e.id}`, iNe = (e) => ["时长(秒)","大小(字节)"], ...e.map((e) => [- ZU(e),+ eW(e),e.code ?? "",e.name,_n[e.location] || e.location,@@ -66279,20 +66288,20 @@ var ZU = (e) => e.title || e.name || e.code || `作品 #${e.id}`, iNe = (e) => [e.duration ?? "",e.size ?? ""])].map((e) => e.map((e) => String(e ?? "").replace(/[\t\r\n]+/g, " ")).join(" ")).join("\n");-function aNe({ group: e, openItem: t, receipt: n }) {- let r = nA(), [i, a] = (0, E.useState)([]), o = (e) => void r.run("copy", () => navigator.clipboard.writeText(iNe(e)), () => n("已复制清单")), s = [+function rNe({ group: e, openItem: t, receipt: n }) {+ let r = aA(), [i, a] = (0, E.useState)([]), o = (e) => void r.run("copy", () => navigator.clipboard.writeText(nNe(e)), () => n("已复制清单")), s = [{id: "title",label: "作品",- value: ZU,+ value: eW,render: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(Kk, {+ children: [/* @__PURE__ */ (0, D.jsx)(Yk, {variant: "primary",className: "justify-start whitespace-normal text-left",onClick: () => t(e.id),- children: ZU(e)- }), e.name && e.name !== ZU(e) ? /* @__PURE__ */ (0, D.jsx)("span", {+ children: eW(e)+ }), e.name && e.name !== eW(e) ? /* @__PURE__ */ (0, D.jsx)("span", {"data-middle-truncate": !0,title: e.name,className: "block min-w-0 text-caption-1-regular text-text-secondary",@@ -66345,12 +66354,12 @@ function aNe({ group: e, openItem: t, receipt: n }) {render: (e) => e.size === null ? "未取得" : dn(e.size)}];- return /* @__PURE__ */ (0, D.jsx)(gA, {+ return /* @__PURE__ */ (0, D.jsx)(yA, {summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count.toLocaleString()} 项`}`,children: e.count === null ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "neutral",children: "清单未取得,请重新检查。"- }) : e.items.length ? /* @__PURE__ */ (0, D.jsxs)(cA, { children: [+ }) : e.items.length ? /* @__PURE__ */ (0, D.jsxs)(dA, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2",children: [e.truncated ? /* @__PURE__ */ (0, D.jsxs)("span", {@@ -66374,7 +66383,7 @@ function aNe({ group: e, openItem: t, receipt: n }) {tone: "error",children: r.error}) : null,- /* @__PURE__ */ (0, D.jsx)(jV, {+ /* @__PURE__ */ (0, D.jsx)(PV, {label: e.label,title: "作品清单",unit: "部作品",@@ -66382,7 +66391,7 @@ function aNe({ group: e, openItem: t, receipt: n }) {items: e.items,columns: s,rowId: (e) => String(e.id),- rowLabel: ZU,+ rowLabel: eW,selected: i,onSelected: a,actions: (e) => /* @__PURE__ */ (0, D.jsx)(q, {@@ -66393,8 +66402,8 @@ function aNe({ group: e, openItem: t, receipt: n }) {children: "复制所选"})})- ] }) : /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: Fve,+ ] }) : /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: Nve,title: "清单为空",size: "compact",children: "没有需要处理的作品。"@@ -66403,7 +66412,7 @@ function aNe({ group: e, openItem: t, receipt: n }) {}//#endregion//#region src/react/diagnostics/diagnostics-page.tsx-var oNe = {+var iNe = {ok: "正常",warning: "需检查",failed: "需处理",@@ -66411,11 +66420,11 @@ var oNe = {disabled: "未配置",stale: "待复查",unchecked: "尚无记录"-}, sNe = {+}, aNe = {"/settings/network": "打开网络与访问","/settings/maintenance": "打开维护与更新","/tasks": "查看任务"-}, cNe = [+}, oNe = [["媒体库与挂载", ["media_mounts", "data_root"]],["数据库与迁移", ["database", "schema"]],["工具", ["ffmpeg"]],@@ -66426,17 +66435,17 @@ var oNe = {"version"]],["后台任务", ["tasks"]]-], QU = (e) => new Date(e).toLocaleString();-function $U({ status: e }) {- return /* @__PURE__ */ (0, D.jsx)(Hk, {+], tW = (e) => new Date(e).toLocaleString();+function nW({ status: e }) {+ return /* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption","data-diagnostic-status": e,color: e === "failed" ? "rose" : e === "ok" ? "lime" : e === "warning" || e === "stale" ? "yellow" : "neutral",- children: oNe[e] ?? "未取得"+ children: iNe[e] ?? "未取得"});}-function eW() {- let e = nA();+function rW() {+ let e = aA();return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col items-end gap-2",children: [/* @__PURE__ */ (0, D.jsx)(q, {@@ -66460,24 +66469,24 @@ function eW() {}) : null]});}-function tW({ name: e, check: t, navigate: n, configure: r, compact: i = !1 }) {+function iW({ name: e, check: t, navigate: n, configure: r, compact: i = !1 }) {let a = e === "security" || e === "port" ? "网络与访问" : "媒体库与入库", o = i ? "h4" : "h3";return /* @__PURE__ */ (0, D.jsxs)("div", {"data-diagnostic-check": e,- className: oO("flex flex-col gap-4 border-b border-separator-border pr-3 last:border-b-0 sm:flex-row sm:items-center sm:justify-between", i ? "py-3" : "py-5"),+ className: lO("flex flex-col gap-4 border-b border-separator-border pr-3 last:border-b-0 sm:flex-row sm:items-center sm:justify-between", i ? "py-3" : "py-5"),children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: oO("flex min-w-0 flex-1 flex-col", i ? "gap-1" : "gap-2"),+ className: lO("flex min-w-0 flex-1 flex-col", i ? "gap-1" : "gap-2"),children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-3",children: [/* @__PURE__ */ (0, D.jsx)(o, {- className: oO("text-text-primary", i ? "text-body-2-medium" : "text-body-medium"),+ className: lO("text-text-primary", i ? "text-body-2-medium" : "text-body-medium"),children: t.label- }), /* @__PURE__ */ (0, D.jsx)($U, { status: t.status })]+ }), /* @__PURE__ */ (0, D.jsx)(nW, { status: t.status })]}),/* @__PURE__ */ (0, D.jsx)("p", {"data-check-reason": !0,- className: oO("text-body-2-regular break-words", i ? "text-text-secondary" : "text-text-primary"),+ className: lO("text-body-2-regular break-words", i ? "text-text-secondary" : "text-text-primary"),children: t.reason}),t.action ? /* @__PURE__ */ (0, D.jsxs)("p", {@@ -66491,17 +66500,17 @@ function tW({ name: e, check: t, navigate: n, configure: r, compact: i = !1 }) {size: "small",variant: "secondary",onClick: () => t.target === "/settings/library" ? r(a) : n(t.target),- children: t.target === "/settings/library" ? `打开${a}` : sNe[t.target] ?? "打开相关页面"+ children: t.target === "/settings/library" ? `打开${a}` : aNe[t.target] ?? "打开相关页面"})}) : null]});}-function lNe(e) {+function sNe(e) {let t = _t({- queryKey: JU,- queryFn: ({ signal: e }) => YU(e),+ queryKey: ZU,+ queryFn: ({ signal: e }) => QU(e),staleTime: 1e4- }), n = nA(), [r, i] = (0, E.useState)(""), a = () => void n.run("refresh", async () => {+ }), n = aA(), [r, i] = (0, E.useState)(""), a = () => void n.run("refresh", async () => {let e = await t.refetch();if (e.error) throw e.error;return e.data;@@ -66509,11 +66518,11 @@ function lNe(e) {if (!o && t.isPending) return /* @__PURE__ */ (0, D.jsx)("div", {role: "status","aria-label": "正在读取系统诊断",- dangerouslySetInnerHTML: { __html: XU() }+ dangerouslySetInnerHTML: { __html: $U() }});if (!o) return /* @__PURE__ */ (0, D.jsxs)("div", {className: "ui-configpage",- children: [/* @__PURE__ */ (0, D.jsx)(eW, {}), /* @__PURE__ */ (0, D.jsx)(J, {+ children: [/* @__PURE__ */ (0, D.jsx)(rW, {}), /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: "诊断读取失败",action: /* @__PURE__ */ (0, D.jsx)(q, {@@ -66539,7 +66548,7 @@ function lNe(e) {children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap justify-end gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(eW, {}), /* @__PURE__ */ (0, D.jsx)(q, {+ children: [/* @__PURE__ */ (0, D.jsx)(rW, {}), /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",onClick: a,...Y(n.busy === "refresh"),@@ -66550,30 +66559,30 @@ function lNe(e) {tone: "error",children: r}) : null,- s.length ? /* @__PURE__ */ (0, D.jsx)(oA, {+ s.length ? /* @__PURE__ */ (0, D.jsx)(lA, {title: `需要关注 · ${s.length} 项`,- children: s.map(([t, n]) => /* @__PURE__ */ (0, D.jsx)(tW, {+ children: s.map(([t, n]) => /* @__PURE__ */ (0, D.jsx)(iW, {name: t,check: n,...e}, t))}) : null,- /* @__PURE__ */ (0, D.jsx)(oA, {+ /* @__PURE__ */ (0, D.jsx)(lA, {title: "库健康",- children: /* @__PURE__ */ (0, D.jsxs)(cA, { children: [o.library.issue_at ? /* @__PURE__ */ (0, D.jsxs)("p", {+ children: /* @__PURE__ */ (0, D.jsxs)(dA, { children: [o.library.issue_at ? /* @__PURE__ */ (0, D.jsxs)("p", {className: "text-body-2-regular text-text-secondary",- children: ["处理记录 · ", QU(o.library.issue_at)]- }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, D.jsx)(aNe, {+ children: ["处理记录 · ", tW(o.library.issue_at)]+ }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, D.jsx)(rNe, {group: n,...e}, t))] })}),c.length ? /* @__PURE__ */ (0, D.jsx)("section", {"aria-label": "系统检查",- children: /* @__PURE__ */ (0, D.jsx)(gA, {+ children: /* @__PURE__ */ (0, D.jsx)(yA, {summary: `其他检查 · ${c.length} 项`,contentClassName: "gap-5",- children: cNe.map(([t, n]) => {+ children: oNe.map(([t, n]) => {let r = c.filter(([e]) => n.some((t) => t === e));return r.length ? /* @__PURE__ */ (0, D.jsxs)("section", {"aria-label": t,@@ -66585,7 +66594,7 @@ function lNe(e) {className: "text-caption-1-regular text-text-secondary",children: [r.length, " 项"]})]- }), /* @__PURE__ */ (0, D.jsx)(rA, { children: r.map(([t, n]) => /* @__PURE__ */ (0, D.jsx)(tW, {+ }), /* @__PURE__ */ (0, D.jsx)(oA, { children: r.map(([t, n]) => /* @__PURE__ */ (0, D.jsx)(iW, {name: t,check: n,compact: !0,@@ -66599,33 +66608,33 @@ function lNe(e) {"aria-label": "来源会话",className: "flex min-w-0 flex-col gap-3",children: [- /* @__PURE__ */ (0, D.jsx)(iA, { children: "来源会话" }),+ /* @__PURE__ */ (0, D.jsx)(sA, { children: "来源会话" }),o.sources.map((e) => /* @__PURE__ */ (0, D.jsx)("article", {"data-diagnostic-source": e.source,- children: /* @__PURE__ */ (0, D.jsx)(rA, { children: /* @__PURE__ */ (0, D.jsxs)(cA, { children: [+ children: /* @__PURE__ */ (0, D.jsx)(oA, { children: /* @__PURE__ */ (0, D.jsxs)(dA, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, D.jsxs)("h3", {className: "flex min-w-0 items-center gap-2 text-body-medium text-text-primary",- children: [/* @__PURE__ */ (0, D.jsx)(MV, { source: e.source }), e.label]- }), /* @__PURE__ */ (0, D.jsx)($U, { status: e.status })]+ children: [/* @__PURE__ */ (0, D.jsx)(FV, { source: e.source }), e.label]+ }), /* @__PURE__ */ (0, D.jsx)(nW, { status: e.status })]}),- /* @__PURE__ */ (0, D.jsx)(WA, {+ /* @__PURE__ */ (0, D.jsx)(qA, {text: e.reason,className: "text-body-regular text-text-primary"}),- /* @__PURE__ */ (0, D.jsxs)(mA, { children: [- /* @__PURE__ */ (0, D.jsx)(hA, {+ /* @__PURE__ */ (0, D.jsxs)(_A, { children: [+ /* @__PURE__ */ (0, D.jsx)(vA, {term: "上次解析成功",- children: e.last_success_at ? QU(e.last_success_at) : "尚无成功记录"+ children: e.last_success_at ? tW(e.last_success_at) : "尚无成功记录"}),- e.last_check_at ? /* @__PURE__ */ (0, D.jsxs)(hA, {+ e.last_check_at ? /* @__PURE__ */ (0, D.jsxs)(vA, {term: "上次检查",- children: [QU(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]+ children: [tW(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]}) : null,- /* @__PURE__ */ (0, D.jsx)(hA, {+ /* @__PURE__ */ (0, D.jsx)(vA, {term: "暂停访问至",- children: e.cooldown_until ? QU(e.cooldown_until) : "未暂停"+ children: e.cooldown_until ? tW(e.cooldown_until) : "未暂停"})] })] }) })@@ -66643,33 +66652,33 @@ function lNe(e) {}//#endregion//#region src/react/feed-new/feed-new-page.tsx-function uNe({ host: e, revision: t, helpers: n, actions: r }) {- let i = _t(tH(null, n.feedRowHtml)), a = (0, E.useRef)(t);+function cNe({ host: e, revision: t, helpers: n, actions: r }) {+ let i = _t(iH(null, n.feedRowHtml)), a = (0, E.useRef)(t);return (0, E.useEffect)(() => {- a.current !== t && (a.current = t, W.invalidateQueries({ queryKey: eH(null) }));- }, [t]), (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(DU, {+ a.current !== t && (a.current = t, W.invalidateQueries({ queryKey: rH(null) }));+ }, [t]), (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(AU, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,- act: nH,+ act: aH,settled: r.settled}), e);}//#endregion//#region src/react/components/pill-aria-tab-list.tsx-function nW({ scrollable: e = !0, ...t }) {- let [n, r] = (0, E.useState)(null), i = $A(r, e);- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(eP, {+function aW({ scrollable: e = !0, ...t }) {+ let [n, r] = (0, E.useState)(null), i = nj(r, e);+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(rP, {...t,ref: i,"data-pill-nav": ""- }), /* @__PURE__ */ (0, D.jsx)(cO, { container: n })] });+ }), /* @__PURE__ */ (0, D.jsx)(dO, { container: n })] });}//#endregion//#region src/react/follow-manage/source-view.tsx-function rW({ provider: e, label: t }) {+function oW({ provider: e, label: t }) {let n = ri(e), [r, i] = (0, E.useState)("");- return !n || r === e ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Pk, {+ return !n || r === e ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Lk, {"aria-hidden": !0,className: "size-3.5 shrink-0"}), t || null] }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("img", {@@ -66682,7 +66691,7 @@ function rW({ provider: e, label: t }) {className: "size-3.5 shrink-0 rounded-sm object-contain"}), t ? /* @__PURE__ */ (0, D.jsx)(ox, { children: t }) : null] });}-function iW({ group: e, name: t }) {+function sW({ group: e, name: t }) {let { src: n, fallback: r } = vr(e), [i, a] = (0, E.useState)(0), o = [n, r].filter(Boolean)[i];return o ? /* @__PURE__ */ (0, D.jsx)("img", {src: o,@@ -66699,15 +66708,15 @@ function iW({ group: e, name: t }) {children: _r(t)});}-function aW({ source: e }) {+function cW({ source: e }) {let t = !e.enabled || e.history_exhausted ? "gray" : lr(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "gray";- return /* @__PURE__ */ (0, D.jsx)(Hk, {+ return /* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption",color: t,children: cr(e)});}-function oW({ source: e }) {+function lW({ source: e }) {return /* @__PURE__ */ (0, D.jsx)("a", {href: e.url,target: "_blank",@@ -66717,7 +66726,7 @@ function oW({ source: e }) {children: e.label});}-function sW({ text: e, prefix: t = "", tone: n = "error" }) {+function uW({ text: e, prefix: t = "", tone: n = "error" }) {let r = (0, E.useRef)(null), [i, a] = (0, E.useState)(!1), [o, s] = (0, E.useState)(!1), c = dr(e);(0, E.useLayoutEffect)(() => {let e = r.current;@@ -66749,11 +66758,11 @@ function sW({ text: e, prefix: t = "", tone: n = "error" }) {}//#endregion//#region src/react/follow-manage/add-source.tsx-var cW = oO(PP, FP, "text-body-2-medium"), dNe = "粘贴来源链接,或输入创作者名、id…", fNe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", pNe = "识别中…", mNe = "站内没有查到来源", lW = (e, t) => `${e}:${t.url}`;-function hNe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {+var dW = lO(LP, RP, "text-body-2-medium"), lNe = "粘贴来源链接,或输入创作者名、id…", uNe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", dNe = "识别中…", fNe = "站内没有查到来源", fW = (e, t) => `${e}:${t.url}`;+function pNe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {return (0, E.useEffect)(() => {t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });- }, [t, r]), /* @__PURE__ */ (0, D.jsxs)(QM, {+ }, [t, r]), /* @__PURE__ */ (0, D.jsxs)(tN, {ref: t,triggerRef: e,isOpen: !0,@@ -66765,17 +66774,17 @@ function hNe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onCplacement: "bottom start",offset: 4,"aria-label": "来源建议",- className: oO(NP, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),+ className: lO(IP, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),children: [i && !n.length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "px-2 py-1.5",- children: /* @__PURE__ */ (0, D.jsx)(Qk, { label: "正在查找建议" })+ children: /* @__PURE__ */ (0, D.jsx)(tA, { label: "正在查找建议" })}) : null, n.map((e, t) => /* @__PURE__ */ (0, D.jsxs)(E.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, D.jsx)("div", {className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",children: e.group}), /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","aria-current": t === r ? "true" : void 0,- className: t === r ? oO(cW, "bg-background-secondary-default") : cW,+ className: t === r ? lO(dW, "bg-background-secondary-default") : dW,onMouseDown: (e) => e.preventDefault(),onClick: () => a(e.value),children: [@@ -66795,7 +66804,7 @@ function hNe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC})] }, `${e.group}-${e.value}`))]});}-function gNe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {+function mNe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {let i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), s = (e.providers || []).filter((e) => e.followable), c = s.filter((e) => !t.has(e.provider_label)).length, l = c === s.length ? "全部来源" : `${c}/${s.length} 个来源`, u = (e, r) => {let i = new Set(t);r ? i.delete(e) : i.add(e), n(i);@@ -66803,20 +66812,20 @@ function gNe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(q, {ref: i,variant: "secondary",- leadingIcon: Ive,+ leadingIcon: Pve,"aria-haspopup": "dialog","aria-expanded": a,"aria-label": l,onClick: () => o(!0),children: l- }), /* @__PURE__ */ (0, D.jsx)(QM, {+ }), /* @__PURE__ */ (0, D.jsx)(tN, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "bottom end",offset: 4,- className: NP,- children: /* @__PURE__ */ (0, D.jsxs)(dN, {+ className: IP,+ children: /* @__PURE__ */ (0, D.jsxs)(mN, {"aria-label": "来源筛选",className: "flex w-64 flex-col gap-1 outline-none",children: [s.length ? /* @__PURE__ */ (0, D.jsxs)("div", {@@ -66832,16 +66841,16 @@ function gNe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {onClick: () => n(new Set(s.map((e) => e.provider_label))),children: "全不选"})]- }) : /* @__PURE__ */ (0, D.jsx)(uA, { children: "暂无可用来源" }), s.map((e) => {+ }) : /* @__PURE__ */ (0, D.jsx)(pA, { children: "暂无可用来源" }), s.map((e) => {let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(BP, {+ children: [/* @__PURE__ */ (0, D.jsx)(UP, {isSelected: !t.has(e.provider_label),onChange: (t) => u(e.provider_label, t),children: /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(rW, { provider: e.provider }), e.provider_label]+ children: [/* @__PURE__ */ (0, D.jsx)(oW, { provider: e.provider }), e.provider_label]})}), n ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "ghost",@@ -66857,7 +66866,7 @@ function gNe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {})})] });}-function _Ne({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {+function hNe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {if (e.kind === "error") return /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: e.line,@@ -66865,7 +66874,7 @@ function _Ne({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {});let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});return /* @__PURE__ */ (0, D.jsxs)("div", {- className: qk({+ className: Xk({variant: "outlined",padding: "none",className: "flex flex-col gap-2 p-4"@@ -66876,15 +66885,15 @@ function _Ne({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {children: e.line}),a.length ? a.map((e) => {- let n = lW(t, e);- return /* @__PURE__ */ (0, D.jsx)(BP, {+ let n = fW(t, e);+ return /* @__PURE__ */ (0, D.jsx)(UP, {isSelected: !e.known && !r.has(n),isDisabled: e.known,onChange: (e) => i(n, e),children: /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 flex-wrap items-center gap-1.5",children: [- /* @__PURE__ */ (0, D.jsx)(rW, { provider: e.provider }),+ /* @__PURE__ */ (0, D.jsx)(oW, { provider: e.provider }),/* @__PURE__ */ (0, D.jsx)("b", {className: "text-body-medium",children: e.provider_label@@ -66900,22 +66909,22 @@ function _Ne({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {]})}, n);- }) : /* @__PURE__ */ (0, D.jsx)(uA, { children: mNe }),+ }) : /* @__PURE__ */ (0, D.jsx)(pA, { children: fNe }),(e.external_searches || []).map((e) => /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [/* @__PURE__ */ (0, D.jsx)("small", {className: "text-caption-1-regular text-text-secondary",children: e.evidence- }), /* @__PURE__ */ (0, D.jsx)(pA, {+ }), /* @__PURE__ */ (0, D.jsx)(gA, {href: e.url,children: `${e.label}:${e.query}`})]}, e.url)),- o.length ? /* @__PURE__ */ (0, D.jsx)(uA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null+ o.length ? /* @__PURE__ */ (0, D.jsx)(pA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null]});}-function vNe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {+function gNe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {let [a, o] = (0, E.useState)(""), [s, c] = (0, E.useState)(!1), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(!1), [h, g] = (0, E.useState)(null), [_, v] = (0, E.useState)(-1), y = (0, E.useRef)(null), b = (0, E.useRef)(null), [x, S] = (0, E.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, E.useState)(/* @__PURE__ */ new Set()), [T, O] = (0, E.useState)(""), [k, A] = (0, E.useState)(0);(0, E.useEffect)(() => {let e = a.trim();@@ -66935,7 +66944,7 @@ function vNe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:matched: t.matched || "",n: t.n || 0,group: e.label- }))), [j.data]), { job: N, running: P, outcome: F, start: I, dismiss: ee } = OV({+ }))), [j.data]), { job: N, running: P, outcome: F, start: I, dismiss: ee } = jV({queryKey: Xn,queryFn: ({ signal: e }) => Or(e),start: (e) => jr([e]),@@ -66967,7 +66976,7 @@ function vNe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:}}, ae = F?.results || [], oe = ae.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !x.has(e.provider_label || "")).map((e) => ({candidate: e,- key: lW(t, e)+ key: fW(t, e)})).filter((e) => !C.has(e.key))), se = vt({mutationFn: async (e) => {let t = [], n = [];@@ -66997,7 +67006,7 @@ function vNe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:onError: (e) => O(V(e))}), ce = e.suggestions || [], le = !l.includes("/");return /* @__PURE__ */ (0, D.jsxs)("div", {- className: qk({+ className: Xk({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -67017,11 +67026,11 @@ function vNe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:let t = e.relatedTarget;!e.currentTarget.contains(t) && !b.current?.contains(t) && m(!1);},- children: [/* @__PURE__ */ (0, D.jsx)(dP, {+ children: [/* @__PURE__ */ (0, D.jsx)(mP, {"aria-label": "来源链接、名字或 id",- placeholder: dNe,+ placeholder: lNe,value: a,- leadingIcon: Bk,+ leadingIcon: Uk,enterKeyHint: "search",isDisabled: n,onChange: o,@@ -67032,7 +67041,7 @@ function vNe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:c(!1), o(e.currentTarget.value);},onKeyDown: ie- }), ne ? /* @__PURE__ */ (0, D.jsx)(hNe, {+ }), ne ? /* @__PURE__ */ (0, D.jsx)(pNe, {field: y,menu: b,options: M,@@ -67042,7 +67051,7 @@ function vNe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:onClose: re}) : null]}),- /* @__PURE__ */ (0, D.jsx)(gNe, {+ /* @__PURE__ */ (0, D.jsx)(mNe, {credentials: t,hidden: x,onHidden: S,@@ -67060,9 +67069,9 @@ function vNe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:/* @__PURE__ */ (0, D.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",- children: [P || I.isPending ? /* @__PURE__ */ (0, D.jsx)(_F, {+ children: [P || I.isPending ? /* @__PURE__ */ (0, D.jsx)(bF, {embedded: !0,- label: N?.message || (N?.total ? `查找中:${N.checked || 0}/${N.total}` : le ? fNe : pNe),+ label: N?.message || (N?.total ? `查找中:${N.checked || 0}/${N.total}` : le ? uNe : dNe),value: N?.checked,total: N?.total}) : null, T ? /* @__PURE__ */ (0, D.jsx)(J, {@@ -67074,8 +67083,8 @@ function vNe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:ae.length ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, D.jsx)(fA, { children: "查找结果" }),- ae.map((e, t) => /* @__PURE__ */ (0, D.jsx)(_Ne, {+ /* @__PURE__ */ (0, D.jsx)(hA, { children: "查找结果" }),+ ae.map((e, t) => /* @__PURE__ */ (0, D.jsx)(hNe, {row: e,at: t,hidden: x,@@ -67130,23 +67139,23 @@ function vNe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:}//#endregion//#region src/react/follow-manage/alias-rename-dialog.tsx-function yNe({ group: e, close: t, receipt: n }) {- return /* @__PURE__ */ (0, D.jsx)(fP, {+function _Ne({ group: e, close: t, receipt: n }) {+ return /* @__PURE__ */ (0, D.jsx)(hP, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",label: "修改统一名称",- children: e ? /* @__PURE__ */ (0, D.jsx)(bNe, {+ children: e ? /* @__PURE__ */ (0, D.jsx)(vNe, {group: e,close: t,receipt: n}, e.canonical_key) : null});}-function bNe({ group: e, close: t, receipt: n }) {- let [r, i] = (0, E.useState)(e.canonical_name), a = nA();+function vNe({ group: e, close: t, receipt: n }) {+ let [r, i] = (0, E.useState)(e.canonical_name), a = aA();return /* @__PURE__ */ (0, D.jsxs)("form", {onSubmit: (i) => {i.preventDefault(), r.trim() && r.trim() !== e.canonical_name && a.run("rename", (t) => Lr(e.canonical_key, r.trim(), t), () => {@@ -67155,7 +67164,7 @@ function bNe({ group: e, close: t, receipt: n }) {},className: "flex min-h-0 flex-col gap-4 p-5",children: [- /* @__PURE__ */ (0, D.jsx)(Oj, {+ /* @__PURE__ */ (0, D.jsx)(jj, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "修改统一名称"@@ -67164,7 +67173,7 @@ function bNe({ group: e, close: t, receipt: n }) {className: "text-body-2-regular wrap-anywhere text-text-secondary",children: ["当前名称:", e.canonical_name]}),- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {"aria-label": "统一名称",autoFocus: !0,value: r,@@ -67172,7 +67181,7 @@ function bNe({ group: e, close: t, receipt: n }) {}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(fA, { children: "选择已有别名" }), /* @__PURE__ */ (0, D.jsx)("div", {+ children: [/* @__PURE__ */ (0, D.jsx)(hA, { children: "选择已有别名" }), /* @__PURE__ */ (0, D.jsx)("div", {className: "flex flex-wrap gap-2",children: e.aliases.map((e) => /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",@@ -67209,30 +67218,30 @@ function bNe({ group: e, close: t, receipt: n }) {}//#endregion//#region src/react/follow-manage/alias-manager.tsx-var xNe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, uW = cR({- rowSelectionFeature: qR,- rowSortingFeature: oz,- rowPaginationFeature: ER,- columnVisibilityFeature: gR,- sortedRowModel: cz(),- paginatedRowModel: sz()-}), SNe = uW, dW = {+var yNe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, pW = dR({+ rowSelectionFeature: XR,+ rowSortingFeature: lz,+ rowPaginationFeature: kR,+ columnVisibilityFeature: yR,+ sortedRowModel: dz(),+ paginatedRowModel: uz()+}), bNe = pW, mW = {id: "select",label: "选择",width: 48,min: 48,max: 48,required: !0-}, fW = {+}, hW = {id: "canonical",label: "统一名称",width: 280,min: 240,required: !0,flex: !0-}, CNe = [- dW,- fW,+}, xNe = [+ mW,+ hW,{id: "alias",label: "平台别名",@@ -67248,9 +67257,9 @@ var xNe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作label: "操作",width: 112}-], wNe = [- dW,- fW,+], SNe = [+ mW,+ hW,{id: "aliases",label: "平台别名",@@ -67262,16 +67271,16 @@ var xNe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作width: 184,min: 168}-], TNe = (e) => e.alias;-function ENe(e, t, n) {+], CNe = (e) => e.alias;+function wNe(e, t, n) {let r = n ? `name:${n}` : "", i = r && e.find((e) => e.author_key === r) || e.find((e) => e.author_name === t || e.entity_name === t);return i ? e.filter((e) => e.author_key === i.author_key) : [];}-function pW({ sources: e, name: t, canonicalKey: n }) {+function gW({ sources: e, name: t, canonicalKey: n }) {return /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(iW, {- group: ENe(e, t, n),+ children: [/* @__PURE__ */ (0, D.jsx)(sW, {+ group: wNe(e, t, n),name: t}), /* @__PURE__ */ (0, D.jsx)("b", {className: "text-body-medium",@@ -67279,8 +67288,8 @@ function pW({ sources: e, name: t, canonicalKey: n }) {})]});}-function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {- let a = _z("alias-suggestions", CNe), o = _z("alias-saved", wNe), [s, c] = (0, E.useState)(null), [l, u] = (0, E.useState)({}), [d, f] = (0, E.useState)({}), p = AV(() => u({})), m = AV(() => f({})), [h, g] = (0, E.useState)([]), [_, v] = (0, E.useState)([]), [y, b] = (0, E.useState)({+function TNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {+ let a = bz("alias-suggestions", xNe), o = bz("alias-saved", SNe), [s, c] = (0, E.useState)(null), [l, u] = (0, E.useState)({}), [d, f] = (0, E.useState)({}), p = NV(() => u({})), m = NV(() => f({})), [h, g] = (0, E.useState)([]), [_, v] = (0, E.useState)([]), [y, b] = (0, E.useState)({pageIndex: 0,pageSize: 20}), [x, S] = (0, E.useState)({@@ -67342,7 +67351,7 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i});}, ee = (e) => void Hs({title: "移除创作者别名",- body: xNe(e),+ body: yNe(e),confirmLabel: "移除创作者别名",onConfirm: () => F.mutateAsync(e)}), L = (0, E.useRef)({@@ -67364,15 +67373,15 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: irename: c};let te = (0, E.useMemo)(() => {- let e = sR();+ let e = uR();return e.columns([e.display({id: "select",- header: (e) => /* @__PURE__ */ (0, D.jsx)(wz, {+ header: (e) => /* @__PURE__ */ (0, D.jsx)(Dz, {table: e.table,label: "全选待合并别名"}),- cell: (e) => /* @__PURE__ */ (0, D.jsx)(BP, {+ cell: (e) => /* @__PURE__ */ (0, D.jsx)(UP, {slot: null,isSelected: e.row.getIsSelected(),"aria-label": `选择别名 ${e.row.original.alias},归入 ${e.row.original.canonical}`,@@ -67381,7 +67390,7 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}),e.accessor("canonical", {header: "统一名称",- cell: (e) => /* @__PURE__ */ (0, D.jsx)(pW, {+ cell: (e) => /* @__PURE__ */ (0, D.jsx)(gW, {sources: L.current.sources,name: e.getValue()})@@ -67411,15 +67420,15 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i})]);}, []), ne = (0, E.useMemo)(() => {- let e = sR();+ let e = uR();return e.columns([e.display({id: "select",- header: ({ table: e }) => /* @__PURE__ */ (0, D.jsx)(wz, {+ header: ({ table: e }) => /* @__PURE__ */ (0, D.jsx)(Dz, {table: e,label: "全选已保存别名"}),- cell: ({ row: e }) => /* @__PURE__ */ (0, D.jsx)(BP, {+ cell: ({ row: e }) => /* @__PURE__ */ (0, D.jsx)(UP, {slot: null,"aria-label": `选择已保存别名 ${e.original.canonical_name}`,isSelected: e.getIsSelected(),@@ -67429,7 +67438,7 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ie.accessor("canonical_name", {id: "canonical",header: "统一名称",- cell: (e) => /* @__PURE__ */ (0, D.jsx)(pW, {+ cell: (e) => /* @__PURE__ */ (0, D.jsx)(gW, {sources: L.current.sources,name: e.getValue(),canonicalKey: e.row.original.canonical_key@@ -67446,7 +67455,7 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ivariant: "ghost",size: "xs",iconOnly: !0,- leadingIcon: Ok,+ leadingIcon: jk,"aria-label": `移除别名 ${e.name}`,disabled: L.current.readOnly,...Y(L.current.removing),@@ -67468,11 +67477,11 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i})})]);- }, []), re = lz({- features: uW,+ }, []), re = fz({+ features: pW,data: t,columns: te,- getRowId: TNe,+ getRowId: CNe,state: {rowSelection: l,sorting: h,@@ -67491,8 +67500,8 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i},onPaginationChange: b,enableRowSelection: !0- }), ie = lz({- features: SNe,+ }), ie = fz({+ features: bNe,data: e,columns: ne,getRowId: (e) => e.canonical_key,@@ -67516,7 +67525,7 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ionPaginationChange: S}), ae = re.getSelectedRowModel().rows.map((e) => e.original), oe = ie.getSelectedRowModel().rows.flatMap((e) => e.original.aliases.map((e) => e.name)), se = Y(N.isPending);return /* @__PURE__ */ (0, D.jsxs)("div", {- className: qk({+ className: Xk({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -67527,10 +67536,10 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(fA, { children: "手动添加别名" }), /* @__PURE__ */ (0, D.jsxs)("div", {+ children: [/* @__PURE__ */ (0, D.jsx)(hA, { children: "手动添加别名" }), /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-end gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {"aria-label": "统一名称",placeholder: "在 Peach 中统一显示的名称",value: k,@@ -67538,7 +67547,7 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: iisDisabled: r,className: "w-56"}),- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {"aria-label": "平台别名",placeholder: "平台别名",value: j,@@ -67559,7 +67568,7 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i]})]}),- T ? /* @__PURE__ */ (0, D.jsx)(dA, { children: T }) : null,+ T ? /* @__PURE__ */ (0, D.jsx)(mA, { children: T }) : null,t.length ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2",children: [@@ -67567,7 +67576,7 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i"data-responsive-toolbar": "",children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-toolbar-heading": "",- children: [/* @__PURE__ */ (0, D.jsx)(fA, { children: "待合并" }), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(hA, { children: "待合并" }), /* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-2-regular text-text-secondary",children: `${t.length} 组`})]@@ -67582,7 +67591,7 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ionClick: () => I(t, !0),children: `全部合并(${t.length})`}),- /* @__PURE__ */ (0, D.jsx)(pz, {+ /* @__PURE__ */ (0, D.jsx)(gz, {label: "待合并创作者别名",sorting: h,options: [@@ -67606,14 +67615,14 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}));}}),- /* @__PURE__ */ (0, D.jsx)(xz, {+ /* @__PURE__ */ (0, D.jsx)(wz, {preferences: a,label: "待合并创作者别名"})]})]}),- /* @__PURE__ */ (0, D.jsxs)(xT, {+ /* @__PURE__ */ (0, D.jsxs)(CT, {label: "待合并别名批量操作",visible: ae.length > 0,count: `已选 ${ae.length} 组`,@@ -67631,11 +67640,11 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ichildren: "取消选择"})]}),- /* @__PURE__ */ (0, D.jsx)(dz, {+ /* @__PURE__ */ (0, D.jsx)(mz, {follow: !0,preferences: a,onRowClick: (e) => re.getRow(e)?.toggleSelected(),- children: /* @__PURE__ */ (0, D.jsxs)(uz, {+ children: /* @__PURE__ */ (0, D.jsxs)(pz, {"aria-label": "待合并创作者别名",size: "sm",sortDescriptor: h[0] ? {@@ -67643,36 +67652,36 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: idirection: h[0].desc ? "descending" : "ascending"} : void 0,onSortChange: (e) => re.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),- children: [/* @__PURE__ */ (0, D.jsxs)(BN, { children: [re.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(VN, {+ children: [/* @__PURE__ */ (0, D.jsxs)(UN, { children: [re.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(WN, {id: e.id,isRowHeader: e.column.id === "canonical",allowsSorting: e.column.getCanSort(),...a.columnProps(e.id),children: ({ sortDirection: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-0.5",- children: [mL(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {+ children: [_L(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {"data-sort-indicator": !0,"data-direction": t || void 0,- children: /* @__PURE__ */ (0, D.jsx)(AP, {})+ children: /* @__PURE__ */ (0, D.jsx)(NP, {})}) : null]- }), /* @__PURE__ */ (0, D.jsx)(Sz, {+ }), /* @__PURE__ */ (0, D.jsx)(Tz, {preferences: a,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, D.jsx)(VN, {+ }, e.id)), /* @__PURE__ */ (0, D.jsx)(WN, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: a.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, D.jsx)(WN, { children: re.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(qN, {+ })] }), /* @__PURE__ */ (0, D.jsx)(qN, { children: re.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(XN, {id: e.id,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(YN, { children: mL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(YN, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(QN, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(QN, { "data-table-space": "" })]}, e.id)) })]})}),- /* @__PURE__ */ (0, D.jsx)(mz, {+ /* @__PURE__ */ (0, D.jsx)(_z, {label: "待合并创作者别名",unit: "组",total: t.length,@@ -67688,13 +67697,13 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i"data-responsive-toolbar": "",children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-toolbar-heading": "",- children: [/* @__PURE__ */ (0, D.jsx)(fA, { children: "已保存别名" }), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(hA, { children: "已保存别名" }), /* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-2-regular text-text-secondary",children: `${e.length} 组`})]}), /* @__PURE__ */ (0, D.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, D.jsx)(pz, {+ children: [/* @__PURE__ */ (0, D.jsx)(gz, {label: "已保存创作者别名",sorting: _,options: [{@@ -67710,13 +67719,13 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ipageIndex: 0}));}- }), /* @__PURE__ */ (0, D.jsx)(xz, {+ }), /* @__PURE__ */ (0, D.jsx)(wz, {preferences: o,label: "已保存创作者别名"})]})]}),- /* @__PURE__ */ (0, D.jsxs)(xT, {+ /* @__PURE__ */ (0, D.jsxs)(CT, {label: "已保存别名批量操作",visible: oe.length > 0,count: `已选 ${oe.length} 个别名`,@@ -67740,11 +67749,11 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ichildren: "取消选择"})]}),- e.length ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(dz, {+ e.length ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(mz, {follow: !0,preferences: o,onRowClick: (e) => ie.getRow(e)?.toggleSelected(),- children: /* @__PURE__ */ (0, D.jsxs)(uz, {+ children: /* @__PURE__ */ (0, D.jsxs)(pz, {"aria-label": "已保存创作者别名",size: "sm",sortDescriptor: _[0] ? {@@ -67752,45 +67761,45 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: idirection: _[0].desc ? "descending" : "ascending"} : void 0,onSortChange: (e) => ie.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),- children: [/* @__PURE__ */ (0, D.jsxs)(BN, { children: [ie.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(VN, {+ children: [/* @__PURE__ */ (0, D.jsxs)(UN, { children: [ie.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(WN, {id: e.id,isRowHeader: e.column.id === "canonical",allowsSorting: e.column.getCanSort(),...o.columnProps(e.id),children: ({ sortDirection: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-0.5",- children: [mL(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {+ children: [_L(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {"data-sort-indicator": !0,"data-direction": t || void 0,- children: /* @__PURE__ */ (0, D.jsx)(AP, {})+ children: /* @__PURE__ */ (0, D.jsx)(NP, {})}) : null]- }), /* @__PURE__ */ (0, D.jsx)(Sz, {+ }), /* @__PURE__ */ (0, D.jsx)(Tz, {preferences: o,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, D.jsx)(VN, {+ }, e.id)), /* @__PURE__ */ (0, D.jsx)(WN, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: o.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, D.jsx)(WN, { children: ie.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(qN, {+ })] }), /* @__PURE__ */ (0, D.jsx)(qN, { children: ie.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(XN, {id: e.id,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(YN, { children: mL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(YN, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(QN, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(QN, { "data-table-space": "" })]}, e.id)) })]})- }), /* @__PURE__ */ (0, D.jsx)(mz, {+ }), /* @__PURE__ */ (0, D.jsx)(_z, {label: "已保存创作者别名",unit: "组",total: e.length,pagination: w,onChange: S- })] }) : /* @__PURE__ */ (0, D.jsx)(Zk, {+ })] }) : /* @__PURE__ */ (0, D.jsx)(eA, {size: "compact",- icon: eye,+ icon: Qve,title: "还没有保存创作者别名",- actions: r ? void 0 : /* @__PURE__ */ (0, D.jsx)(Xk, {+ actions: r ? void 0 : /* @__PURE__ */ (0, D.jsx)($k, {target: "input[aria-label=\"统一名称\"]",children: "添加别名"}),@@ -67798,7 +67807,7 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i})]}),- /* @__PURE__ */ (0, D.jsx)(yNe, {+ /* @__PURE__ */ (0, D.jsx)(_Ne, {group: s,close: () => c(null),receipt: i@@ -67808,7 +67817,7 @@ function DNe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}//#endregion//#region src/react/boardui/components/base/switch/switch.tsx-var ONe = sO({+var ENe = uO({sm: {track: "h-4 w-7",trackRadius: {@@ -67870,23 +67879,23 @@ var ONe = sO({}}});-function kNe({ state: e, size: t = "md", shape: n = "pill" }) {- let r = ONe[t];+function DNe({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = ENe[t];return /* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,- className: oO("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? oO("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: lO("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? lO("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, D.jsx)("span", {- className: oO("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),- children: /* @__PURE__ */ (0, D.jsx)("span", { className: oO("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })+ className: lO("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),+ children: /* @__PURE__ */ (0, D.jsx)("span", { className: lO("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })})});}-function mW({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, D.jsx)(sxe, {+function _W({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+ return /* @__PURE__ */ (0, D.jsx)(axe, {ref: i,...a,- className: (t) => oO("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, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(kNe, {+ className: (t) => lO("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, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(DNe, {state: e,size: n,shape: r@@ -67898,8 +67907,8 @@ function mW({ className: e, children: t, size: n = "md", shape: r = "pill", ref:}//#endregion//#region src/react/follow-manage/add-feed.tsx-var ANe = "输入女优名,到 JavDB 找她的演员页";-function jNe(e, t) {+var ONe = "输入女优名,到 JavDB 找她的演员页";+function kNe(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);if (n.size > 1) return {@@ -67918,10 +67927,10 @@ function jNe(e, t) {blocked: !1};}-function MNe({ card: e, picked: t, onPick: n }) {+function ANe({ card: e, picked: t, onPick: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(BP, {+ children: [/* @__PURE__ */ (0, D.jsx)(UP, {isSelected: t,onChange: n,children: /* @__PURE__ */ (0, D.jsxs)("span", {@@ -67931,7 +67940,7 @@ function MNe({ card: e, picked: t, onPick: n }) {className: "min-w-0 break-words",children: e.names.join("、")}),- e.record ? /* @__PURE__ */ (0, D.jsx)(Hk, {+ e.record ? /* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption",color: "neutral",children: e.record@@ -67942,14 +67951,14 @@ function MNe({ card: e, picked: t, onPick: n }) {}) : null]})- }), /* @__PURE__ */ (0, D.jsx)(pA, {+ }), /* @__PURE__ */ (0, D.jsx)(gA, {href: e.url,children: e.id})]});}-function NNe({ readOnly: e, toast: t, onAdded: n }) {- let [r, i] = (0, E.useState)(""), [a, o] = (0, E.useState)(null), [s, c] = (0, E.useState)(/* @__PURE__ */ new Set()), l = nA(), u = () => {+function jNe({ readOnly: e, toast: t, onAdded: n }) {+ let [r, i] = (0, E.useState)(""), [a, o] = (0, E.useState)(null), [s, c] = (0, E.useState)(/* @__PURE__ */ new Set()), l = aA(), u = () => {let t = r.trim();t && !e && l.run("lookup", (e) => Gr(t, e), (e) => {o(e), c(new Set(e.suggested));@@ -67962,9 +67971,9 @@ function NNe({ readOnly: e, toast: t, onAdded: n }) {a && l.run("follow", (e) => Kr(a.q, [...s], e), (e) => {t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();});- }, m = a ? jNe(a, s) : null;+ }, m = a ? kNe(a, s) : null;return /* @__PURE__ */ (0, D.jsxs)("div", {- className: qk({+ className: Xk({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -67977,11 +67986,11 @@ function NNe({ readOnly: e, toast: t, onAdded: n }) {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-64 grow",- children: /* @__PURE__ */ (0, D.jsx)(dP, {+ children: /* @__PURE__ */ (0, D.jsx)(mP, {"aria-label": "女优名",- placeholder: ANe,+ placeholder: ONe,value: r,- leadingIcon: Bk,+ leadingIcon: Uk,enterKeyHint: "search",isDisabled: e,onChange: i,@@ -68003,16 +68012,16 @@ function NNe({ readOnly: e, toast: t, onAdded: n }) {a ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, D.jsx)(fA, { children: "JavDB 上的演员卡" }),- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, D.jsx)(MNe, {+ /* @__PURE__ */ (0, D.jsx)(hA, { children: "JavDB 上的演员卡" }),+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, D.jsx)(ANe, {card: e,picked: s.has(e.id),onPick: (t) => c((n) => {let r = new Set(n);return t ? r.add(e.id) : r.delete(e.id), r;})- }, e.id)) : /* @__PURE__ */ (0, D.jsx)(uA, { children: "JavDB 上没有搜到这个名字。" }),- a.candidates.length ? /* @__PURE__ */ (0, D.jsx)(uA, {+ }, e.id)) : /* @__PURE__ */ (0, D.jsx)(pA, { children: "JavDB 上没有搜到这个名字。" }),+ a.candidates.length ? /* @__PURE__ */ (0, D.jsx)(pA, {role: "status",children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"}) : null,@@ -68039,14 +68048,14 @@ function NNe({ readOnly: e, toast: t, onAdded: n }) {}//#endregion//#region src/react/follow-manage/feed-sources.tsx-var PNe = cR({- rowPaginationFeature: ER,- rowSelectionFeature: qR,- rowSortingFeature: oz,- columnVisibilityFeature: gR,- sortedRowModel: cz(),- paginatedRowModel: sz()-}), hW = {+var MNe = dR({+ rowPaginationFeature: kR,+ rowSelectionFeature: XR,+ rowSortingFeature: lz,+ columnVisibilityFeature: yR,+ sortedRowModel: dz(),+ paginatedRowModel: uz()+}), vW = {select: "选择",name: "名称",kind: "类型",@@ -68056,7 +68065,7 @@ var PNe = cR({fetched: "上次拉取",fresh: "上次新增",actions: "操作"-}, FNe = /* @__PURE__ */ new Set(["actions"]), INe = Object.entries(hW).map(([e, t]) => ({+}, NNe = /* @__PURE__ */ new Set(["actions"]), PNe = Object.entries(vW).map(([e, t]) => ({id: e,label: t,width: e === "select" ? 48 : e === "name" ? 300 : e === "actions" ? 208 : e === "fetched" ? 200 : 160,@@ -68064,37 +68073,37 @@ var PNe = cR({max: e === "select" ? 48 : e === "name" ? 2e3 : 800,flex: e === "name",required: e === "select" || e === "name"-})), gW = () => W.invalidateQueries({+})), yW = () => W.invalidateQueries({queryKey: Zn,exact: !0-}), _W = (e) => e.name || e.url;-function vW(e) {+}), bW = (e) => e.name || e.url;+function xW(e) {try {return new URL(e).hostname.replace(/^www\./, "");} catch {return e;}}-function LNe({ source: e }) {- return e.enabled ? e.last_error ? /* @__PURE__ */ (0, D.jsx)(Hk, {+function FNe({ source: e }) {+ return e.enabled ? e.last_error ? /* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption",color: "rose",children: "拉取失败"- }) : e.last_fetched_at ? /* @__PURE__ */ (0, D.jsx)(Hk, {+ }) : e.last_fetched_at ? /* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption",color: "lime",children: "正常"- }) : /* @__PURE__ */ (0, D.jsx)(Hk, {+ }) : /* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption",color: "gray",children: "未检查"- }) : /* @__PURE__ */ (0, D.jsx)(Hk, {+ }) : /* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption",color: "gray",children: "已暂停"});}-function RNe({ source: e }) {+function INe({ source: e }) {let t = e.entity_id ? {id: e.entity_id,has_image: !!e.has_image,@@ -68103,31 +68112,31 @@ function RNe({ source: e }) {} : null;return /* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${NV}`,- dangerouslySetInnerHTML: { __html: Sa(_W(e), t, null, "performer") }+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${IV}`,+ dangerouslySetInnerHTML: { __html: Sa(bW(e), t, null, "performer") }});}-var zNe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";-function BNe(e) {+var LNe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";+function RNe(e) {let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));return n;}-function yW(e, t) {+function SW(e, t) {let n = e.length === 1 ? e[0] : null;return Hs({title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,- body: n ? `将移除订阅源「${_W(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",+ body: n ? `将移除订阅源「${bW(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",confirmLabel: n ? "移除订阅源" : "移除所选订阅源",danger: !0,onConfirm: t});}-function VNe({ readOnly: e, toast: t }) {+function zNe({ readOnly: e, toast: t }) {let n = _t({queryKey: Zn,queryFn: ({ signal: e }) => Vr(e)- }), r = nA(), i = _z("jav-feeds", INe), a = n.data, o = (0, E.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, E.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, E.useState)(1), [d, f] = (0, E.useState)(20), [p, m] = (0, E.useState)([]), h = Sr(o.length, d, l);+ }), r = aA(), i = bz("jav-feeds", PNe), a = n.data, o = (0, E.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, E.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, E.useState)(1), [d, f] = (0, E.useState)(20), [p, m] = (0, E.useState)([]), h = Sr(o.length, d, l);(0, E.useEffect)(() => {u((e) => Math.min(e, h.pages));}, [h.pages]), (0, E.useEffect)(() => {@@ -68148,13 +68157,13 @@ function VNe({ readOnly: e, toast: t }) {},onSuccess: (e) => {let n = e.results.filter((e) => !e.ok), i = e.ids.length - n.length;- if (c(/* @__PURE__ */ new Set()), gW(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {+ if (c(/* @__PURE__ */ new Set()), yW(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {let e = n[0];r.setError(`${n.length} 条没有写入:${e.ok ? "" : V(e.error)}`);}},onError: (e) => r.setError(V(e))- }), _ = (0, E.useMemo)(() => BNe(o), [o]), v = (0, E.useRef)({+ }), _ = (0, E.useMemo)(() => RNe(o), [o]), v = (0, E.useRef)({readOnly: e,shared: _,busy: null,@@ -68166,38 +68175,38 @@ function VNe({ readOnly: e, toast: t }) {readOnly: e,shared: _,busy: r.busy,- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Hr(e.id, t, n), () => void gW()),- fetch: (e) => void r.run(`check-${e.id}`, (t) => Wr(t, [e.id]), () => void gW()),- remove: (e) => void yW([e], async () => {- await Ur(e.id), t(`已移除订阅源「${_W(e)}」`), gW();+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Hr(e.id, t, n), () => void yW()),+ fetch: (e) => void r.run(`check-${e.id}`, (t) => Wr(t, [e.id]), () => void yW()),+ remove: (e) => void SW([e], async () => {+ await Ur(e.id), t(`已移除订阅源「${bW(e)}」`), yW();})};let y = (0, E.useMemo)(() => {- let e = sR(), t = (e) => () => hW[e] || e;+ let e = uR(), t = (e) => () => vW[e] || e;return e.columns([e.display({id: "select",- header: (e) => /* @__PURE__ */ (0, D.jsx)(wz, {+ header: (e) => /* @__PURE__ */ (0, D.jsx)(Dz, {table: e.table,label: "全选本页订阅源",page: !0}),- cell: (e) => /* @__PURE__ */ (0, D.jsx)(BP, {+ cell: (e) => /* @__PURE__ */ (0, D.jsx)(UP, {slot: null,isSelected: e.row.getIsSelected(),onChange: (t) => e.row.toggleSelected(t),- "aria-label": `选择 ${_W(e.row.original)}`+ "aria-label": `选择 ${bW(e.row.original)}`})}),- e.accessor(_W, {+ e.accessor(bW, {id: "name",header: t("name"),cell: (e) => {- let t = zNe(e.row.original, v.current.shared);+ let t = LNe(e.row.original, v.current.shared);return /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",children: [- /* @__PURE__ */ (0, D.jsx)(RNe, { source: e.row.original }),+ /* @__PURE__ */ (0, D.jsx)(INe, { source: e.row.original }),e.getValue(),t ? /* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -68225,16 +68234,16 @@ function VNe({ readOnly: e, toast: t }) {rel: "noreferrer noopener",title: "打开来源页面",className: "text-text-primary underline-offset-2 hover:underline",- children: /* @__PURE__ */ (0, D.jsx)(FA, {- site: e.row.original.kind.startsWith("javdb") ? "javdb" : vW(e.getValue()),- label: vW(e.getValue())+ children: /* @__PURE__ */ (0, D.jsx)(RA, {+ site: e.row.original.kind.startsWith("javdb") ? "javdb" : xW(e.getValue()),+ label: xW(e.getValue())})})}),e.accessor((e) => e.last_error ? "拉取失败" : e.enabled ? "已启用" : "已暂停", {id: "status",header: t("status"),- cell: (e) => /* @__PURE__ */ (0, D.jsx)(LNe, { source: e.row.original })+ cell: (e) => /* @__PURE__ */ (0, D.jsx)(FNe, { source: e.row.original })}),e.accessor((e) => e.interval_minutes, {id: "interval",@@ -68266,8 +68275,8 @@ function VNe({ readOnly: e, toast: t }) {cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-1",children: [- /* @__PURE__ */ (0, D.jsx)(mW, {- "aria-label": `启用 ${_W(e.row.original)}`,+ /* @__PURE__ */ (0, D.jsx)(_W, {+ "aria-label": `启用 ${bW(e.row.original)}`,isSelected: e.row.original.enabled,isDisabled: v.current.readOnly,onChange: (t) => v.current.toggle(e.row.original, t)@@ -68276,8 +68285,8 @@ function VNe({ readOnly: e, toast: t }) {variant: "secondary",size: "xs",iconOnly: !0,- leadingIcon: zk,- "aria-label": `拉取 ${_W(e.row.original)}`,+ leadingIcon: Hk,+ "aria-label": `拉取 ${bW(e.row.original)}`,disabled: v.current.readOnly,...Y(v.current.busy === `check-${e.row.original.id}`),onClick: () => v.current.fetch(e.row.original)@@ -68286,8 +68295,8 @@ function VNe({ readOnly: e, toast: t }) {variant: "secondary",size: "xs",iconOnly: !0,- leadingIcon: jk,- "aria-label": `移除 ${_W(e.row.original)}`,+ leadingIcon: Pk,+ "aria-label": `移除 ${bW(e.row.original)}`,disabled: v.current.readOnly,onClick: () => v.current.remove(e.row.original)})@@ -68295,8 +68304,8 @@ function VNe({ readOnly: e, toast: t }) {})})]);- }, []), b = (0, E.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), x = lz({- features: PNe,+ }, []), b = (0, E.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), x = fz({+ features: MNe,data: o,columns: y,getRowId: (e) => String(e.id),@@ -68323,20 +68332,20 @@ function VNe({ readOnly: e, toast: t }) {tone: "error",title: "打不开订阅源",children: V(n.error)- }) : /* @__PURE__ */ (0, D.jsx)(uA, { children: "正在读订阅源。" });- let S = () => void r.run("check", (e) => Wr(e), () => void gW()), C = (e) => c((t) => {+ }) : /* @__PURE__ */ (0, D.jsx)(pA, { children: "正在读订阅源。" });+ let S = () => void r.run("check", (e) => Wr(e), () => void yW()), C = (e) => c((t) => {let n = new Set(t);return n.has(e) ? n.delete(e) : n.add(e), n;}), w = o.filter((e) => s.has(e.id)), T = o.filter((e) => e.last_error);return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-3",- children: [/* @__PURE__ */ (0, D.jsx)(NNe, {+ children: [/* @__PURE__ */ (0, D.jsx)(jNe, {readOnly: e,toast: t,- onAdded: () => void gW()+ onAdded: () => void yW()}), /* @__PURE__ */ (0, D.jsxs)("section", {"aria-label": "JAV 订阅列表",- className: qk({+ className: Xk({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -68361,11 +68370,11 @@ function VNe({ readOnly: e, toast: t }) {...Y(r.busy === "check"),children: "立即拉取"}),- /* @__PURE__ */ (0, D.jsx)(xz, {+ /* @__PURE__ */ (0, D.jsx)(wz, {preferences: i,label: "JAV 订阅源"}),- /* @__PURE__ */ (0, D.jsx)(pz, {+ /* @__PURE__ */ (0, D.jsx)(gz, {label: "JAV 订阅源",sorting: p,onChange: (e) => {@@ -68381,7 +68390,7 @@ function VNe({ readOnly: e, toast: t }) {"fresh"].map((e) => ({id: e,- label: hW[e]+ label: vW[e]}))})]@@ -68397,13 +68406,13 @@ function VNe({ readOnly: e, toast: t }) {children: T.map((e) => /* @__PURE__ */ (0, D.jsx)("li", {className: "min-w-0 truncate",title: e.last_error || "",- children: `${_W(e)}:${dr(e.last_error || "") || "未说明原因"}`+ children: `${bW(e)}:${dr(e.last_error || "") || "未说明原因"}`}, e.id))}),children: "这些订阅源这一轮没有取到新条目。"- }) : null, r.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: r.error }) : null]+ }) : null, r.error ? /* @__PURE__ */ (0, D.jsx)(mA, { children: r.error }) : null]}) : null,- /* @__PURE__ */ (0, D.jsxs)(xT, {+ /* @__PURE__ */ (0, D.jsxs)(CT, {visible: w.length > 0,label: "订阅源批量操作",count: `已选 ${w.length} 条订阅源`,@@ -68435,7 +68444,7 @@ function VNe({ readOnly: e, toast: t }) {size: "small",disabled: e,...Y(g.isPending),- onClick: () => void yW(w, () => g.mutateAsync({+ onClick: () => void SW(w, () => g.mutateAsync({ids: w.map((e) => e.id),action: "remove"})),@@ -68449,11 +68458,11 @@ function VNe({ readOnly: e, toast: t }) {})]}),- o.length ? /* @__PURE__ */ (0, D.jsx)(dz, {+ o.length ? /* @__PURE__ */ (0, D.jsx)(mz, {follow: !0,preferences: i,onRowClick: (e) => C(Number(e)),- children: /* @__PURE__ */ (0, D.jsxs)(uz, {+ children: /* @__PURE__ */ (0, D.jsxs)(pz, {"aria-label": "JAV 订阅源",size: "sm",sortDescriptor: p[0] ? {@@ -68461,48 +68470,48 @@ function VNe({ readOnly: e, toast: t }) {direction: p[0].desc ? "descending" : "ascending"} : void 0,onSortChange: (e) => x.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),- children: [/* @__PURE__ */ (0, D.jsxs)(BN, { children: [x.getHeaderGroups()[0].headers.map((e) => {- let t = mL(e.column.columnDef.header, e.getContext());- return /* @__PURE__ */ (0, D.jsx)(VN, {+ children: [/* @__PURE__ */ (0, D.jsxs)(UN, { children: [x.getHeaderGroups()[0].headers.map((e) => {+ let t = _L(e.column.columnDef.header, e.getContext());+ return /* @__PURE__ */ (0, D.jsx)(WN, {id: e.id,isRowHeader: e.column.id === "name",allowsSorting: e.column.getCanSort(),...i.columnProps(e.id),- children: ({ sortDirection: n }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [FNe.has(e.column.id) ? /* @__PURE__ */ (0, D.jsx)(ox, { children: t }) : /* @__PURE__ */ (0, D.jsxs)("span", {+ children: ({ sortDirection: n }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [NNe.has(e.column.id) ? /* @__PURE__ */ (0, D.jsx)(ox, { children: t }) : /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-0.5",children: [t, e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {"data-sort-indicator": !0,"data-direction": n || void 0,- children: /* @__PURE__ */ (0, D.jsx)(AP, {})+ children: /* @__PURE__ */ (0, D.jsx)(NP, {})}) : null]- }), /* @__PURE__ */ (0, D.jsx)(Sz, {+ }), /* @__PURE__ */ (0, D.jsx)(Tz, {preferences: i,id: e.id})] })}, e.id);- }), /* @__PURE__ */ (0, D.jsx)(VN, {+ }), /* @__PURE__ */ (0, D.jsx)(WN, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: i.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, D.jsx)(WN, { children: x.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(qN, {+ })] }), /* @__PURE__ */ (0, D.jsx)(qN, { children: x.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(XN, {id: e.id,"data-follow-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(YN, { children: mL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(YN, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(QN, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(QN, { "data-table-space": "" })]}, e.id)) })]})- }) : /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: qve,+ }) : /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: Gve,title: "还没有订阅源",size: "compact",- actions: e ? void 0 : /* @__PURE__ */ (0, D.jsx)(Xk, {+ actions: e ? void 0 : /* @__PURE__ */ (0, D.jsx)($k, {target: "input[aria-label=\"女优名\"]",children: "添加订阅"}),children: "在上面按女优名添加,或在人物页点「订阅新作」。"}),- o.length ? /* @__PURE__ */ (0, D.jsx)(mz, {+ o.length ? /* @__PURE__ */ (0, D.jsx)(_z, {label: "JAV 订阅",total: h.total,unit: "个订阅源",@@ -68528,25 +68537,25 @@ function VNe({ readOnly: e, toast: t }) {}//#endregion//#region src/react/follow-manage/source-list.tsx-var HNe = cR({- rowPaginationFeature: ER,- rowSelectionFeature: qR,- rowSortingFeature: oz,- columnVisibilityFeature: gR,- paginatedRowModel: sz()-}), bW = (e) => (Number(e) || 0).toLocaleString(), UNe = Object.fromEntries(Object.entries(nr).map(([e, t]) => [t, e])), xW = 740;-function WNe() {+var BNe = dR({+ rowPaginationFeature: kR,+ rowSelectionFeature: XR,+ rowSortingFeature: lz,+ columnVisibilityFeature: yR,+ paginatedRowModel: uz()+}), CW = (e) => (Number(e) || 0).toLocaleString(), VNe = Object.fromEntries(Object.entries(nr).map(([e, t]) => [t, e])), wW = 740;+function HNe() {let [e, t] = (0, E.useState)(!1), n = (0, E.useRef)(null), r = (0, E.useCallback)((e) => {if (n.current?.disconnect(), !e) {n.current = null;return;}- let r = new ResizeObserver(() => t(e.clientWidth < xW));- r.observe(e), n.current = r, t(e.clientWidth < xW);+ let r = new ResizeObserver(() => t(e.clientWidth < wW));+ r.observe(e), n.current = r, t(e.clientWidth < wW);}, []);return (0, E.useEffect)(() => () => n.current?.disconnect(), []), [r, e];}-var SW = {+var TW = {select: "选择",author: "创作者",source: "来源",@@ -68554,7 +68563,7 @@ var SW = {status: "状态",checked: "上次检查",actions: "操作"-}, GNe = Object.entries(SW).map(([e, t]) => ({+}, UNe = Object.entries(TW).map(([e, t]) => ({id: e,label: t,width: e === "select" ? 48 : e === "source" ? 320 : e === "author" ? 240 : e === "actions" ? 208 : 184,@@ -68563,19 +68572,19 @@ var SW = {flex: e === "source",required: e === "select" || e === "source"}));-function KNe({ source: e, selected: t, onToggle: n, handlers: r }) {+function WNe({ source: e, selected: t, onToggle: n, handlers: r }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-selected": t || void 0,"data-follow-source-row": "",className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 last:rounded-b-lg max-sm:gap-x-2",onClick: (e) => {- EI(e, e.currentTarget) && n(!t);+ kI(e, e.currentTarget) && n(!t);},children: [/* @__PURE__ */ (0, D.jsxs)("span", {"data-follow-leading-site": "",className: "flex shrink-0 items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(rW, { provider: e.provider }), /* @__PURE__ */ (0, D.jsx)(BP, {+ children: [/* @__PURE__ */ (0, D.jsx)(oW, { provider: e.provider }), /* @__PURE__ */ (0, D.jsx)(UP, {isSelected: t,onChange: n,"aria-label": `选择 ${e.label}`@@ -68583,10 +68592,10 @@ function KNe({ source: e, selected: t, onToggle: n, handlers: r }) {}),/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 grow basis-0 flex-col gap-0.5",- children: [/* @__PURE__ */ (0, D.jsx)(oW, { source: e }), e.last_error ? /* @__PURE__ */ (0, D.jsx)(sW, { text: e.last_error }) : null]+ children: [/* @__PURE__ */ (0, D.jsx)(lW, { source: e }), e.last_error ? /* @__PURE__ */ (0, D.jsx)(uW, { text: e.last_error }) : null]}),/* @__PURE__ */ (0, D.jsx)(ox, { children: e.provider_label }),- /* @__PURE__ */ (0, D.jsx)(aW, { source: e }),+ /* @__PURE__ */ (0, D.jsx)(cW, { source: e }),/* @__PURE__ */ (0, D.jsxs)("span", {"data-follow-source-controls": "",className: "flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full",@@ -68595,7 +68604,7 @@ function KNe({ source: e, selected: t, onToggle: n, handlers: r }) {className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular",children: ti(e)}),- /* @__PURE__ */ (0, D.jsx)(mW, {+ /* @__PURE__ */ (0, D.jsx)(_W, {"aria-label": `启用 ${e.label}`,isSelected: e.enabled,isDisabled: r.readOnly,@@ -68607,7 +68616,7 @@ function KNe({ source: e, selected: t, onToggle: n, handlers: r }) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: zk,+ leadingIcon: Hk,"aria-label": `检查 ${e.label} 的更新`,disabled: !e.enabled || r.readOnly,...Y(r.busy),@@ -68616,7 +68625,7 @@ function KNe({ source: e, selected: t, onToggle: n, handlers: r }) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: jk,+ leadingIcon: Pk,"aria-label": `移除 ${e.label}`,disabled: r.readOnly,onClick: () => r.remove(e)@@ -68627,11 +68636,11 @@ function KNe({ source: e, selected: t, onToggle: n, handlers: r }) {]});}-function qNe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {+function GNe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(lr).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = Cr(r, c);return /* @__PURE__ */ (0, D.jsxs)("section", {"aria-label": `${t} 的关注来源`,- className: qk({+ className: Xk({variant: "raised",padding: "none",className: "flex flex-col overflow-hidden p-2"@@ -68641,7 +68650,7 @@ function qNe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,"data-open": n || void 0,className: "flex flex-wrap items-center gap-3 px-2 py-2.5",children: [- /* @__PURE__ */ (0, D.jsx)(iW, {+ /* @__PURE__ */ (0, D.jsx)(sW, {group: e,name: t}),@@ -68657,7 +68666,7 @@ function qNe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: zk,+ leadingIcon: Hk,"aria-label": `检查 ${t} 的全部来源`,disabled: !l.length || i.readOnly,...Y(i.busy),@@ -68666,7 +68675,7 @@ function qNe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex shrink-0 items-center gap-1 max-sm:mr-auto max-sm:min-w-0 max-sm:shrink max-sm:flex-wrap",title: d,- children: [e.map((e) => /* @__PURE__ */ (0, D.jsx)(rW, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, D.jsx)(ox, { children: `来源:${d}` })]+ children: [e.map((e) => /* @__PURE__ */ (0, D.jsx)(oW, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, D.jsx)(ox, { children: `来源:${d}` })]}),u ? /* @__PURE__ */ (0, D.jsx)("span", {className: "shrink-0 text-body-2-regular text-text-error-primary",@@ -68677,7 +68686,7 @@ function qNe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: Tve,+ leadingIcon: Cve,"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false","aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,onClick: () => o(!p.all),@@ -68687,7 +68696,7 @@ function qNe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,size: "small","aria-expanded": n,"aria-controls": f,- leadingIcon: bF,+ leadingIcon: CF,"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,onClick: () => a(!n),children: n ? "收起" : "展开"@@ -68696,11 +68705,11 @@ function qNe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,]})]- }), /* @__PURE__ */ (0, D.jsx)(yF, {+ }), /* @__PURE__ */ (0, D.jsx)(SF, {id: f,open: n,"data-source-divider": !0,- children: e.map((e) => /* @__PURE__ */ (0, D.jsx)(KNe, {+ children: e.map((e) => /* @__PURE__ */ (0, D.jsx)(WNe, {source: e,handlers: i,selected: r.has(e.id),@@ -68709,8 +68718,8 @@ function qNe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,})]});}-function JNe(e) {- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h, onAdd: g } = e, _ = t.sources, v = (0, E.useMemo)(() => t.author_aliases || [], [t.author_aliases]), y = t.counts || {}, [b, x] = (0, E.useState)(/* @__PURE__ */ new Set()), [S, C] = WNe(), [w, T] = (0, E.useState)(""), O = (0, E.useMemo)(() => br(_, n, r, v), [+function KNe(e) {+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h, onAdd: g } = e, _ = t.sources, v = (0, E.useMemo)(() => t.author_aliases || [], [t.author_aliases]), y = t.counts || {}, [b, x] = (0, E.useState)(/* @__PURE__ */ new Set()), [S, C] = HNe(), [w, T] = (0, E.useState)(""), O = (0, E.useMemo)(() => br(_, n, r, v), [_,n,r,@@ -68720,7 +68729,7 @@ function JNe(e) {n,r,v- ]), { job: A, running: j, outcome: M, start: N } = OV({+ ]), { job: A, running: j, outcome: M, start: N } = jV({queryKey: Yn,queryFn: ({ signal: e }) => Dr(e),start: (e) => Ar(e),@@ -68807,16 +68816,16 @@ function JNe(e) {readOnly: c};let oe = ae.current, se = (0, E.useMemo)(() => {- let e = sR(), t = (e) => () => SW[e] || e;+ let e = uR(), t = (e) => () => TW[e] || e;return e.columns([e.display({id: "select",- header: (e) => /* @__PURE__ */ (0, D.jsx)(wz, {+ header: (e) => /* @__PURE__ */ (0, D.jsx)(Dz, {table: e.table,label: "全选本页来源",page: !0}),- cell: (e) => /* @__PURE__ */ (0, D.jsx)(BP, {+ cell: (e) => /* @__PURE__ */ (0, D.jsx)(UP, {slot: null,isSelected: e.row.getIsSelected(),onChange: (t) => e.row.toggleSelected(t),@@ -68828,7 +68837,7 @@ function JNe(e) {header: t("author"),cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(iW, {+ children: [/* @__PURE__ */ (0, D.jsx)(sW, {group: e.row.original.group,name: e.row.original.author}), /* @__PURE__ */ (0, D.jsx)("span", {@@ -68842,7 +68851,7 @@ function JNe(e) {header: t("source"),cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 flex-col gap-0.5",- children: [/* @__PURE__ */ (0, D.jsx)(oW, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, D.jsx)(sW, { text: e.row.original.source.last_error }) : null]+ children: [/* @__PURE__ */ (0, D.jsx)(lW, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, D.jsx)(uW, { text: e.row.original.source.last_error }) : null]})}),e.accessor((e) => e.source.provider_label, {@@ -68850,13 +68859,13 @@ function JNe(e) {header: t("provider"),cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(rW, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]+ children: [/* @__PURE__ */ (0, D.jsx)(oW, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]})}),e.display({id: "status",header: t("status"),- cell: (e) => /* @__PURE__ */ (0, D.jsx)(aW, { source: e.row.original.source })+ cell: (e) => /* @__PURE__ */ (0, D.jsx)(cW, { source: e.row.original.source })}),e.accessor((e) => e.source.last_checked_at || "", {id: "checked",@@ -68869,7 +68878,7 @@ function JNe(e) {cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-1",children: [- /* @__PURE__ */ (0, D.jsx)(mW, {+ /* @__PURE__ */ (0, D.jsx)(_W, {"aria-label": `启用 ${e.row.original.source.label}`,isSelected: e.row.original.source.enabled,isDisabled: oe.readOnly,@@ -68879,7 +68888,7 @@ function JNe(e) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: zk,+ leadingIcon: Hk,"aria-label": `检查 ${e.row.original.source.label} 的更新`,disabled: !e.row.original.source.enabled || oe.readOnly,...Y(oe.busy),@@ -68889,7 +68898,7 @@ function JNe(e) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: jk,+ leadingIcon: Pk,"aria-label": `移除 ${e.row.original.source.label}`,disabled: oe.readOnly,onClick: () => ae.current.remove(e.row.original.source)@@ -68899,13 +68908,13 @@ function JNe(e) {})]);}, [oe]), ce = (0, E.useMemo)(() => {- let e = UNe[n];+ let e = VNe[n];return e ? [{id: e,desc: r === "desc"}] : [];- }, [n, r]), le = (0, E.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), ue = a === "table", de = _z("follow-sources", GNe), fe = Sr(ue ? k.length : O.length, o, i), pe = lz({- features: HNe,+ }, [n, r]), le = (0, E.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), ue = a === "table", de = bz("follow-sources", UNe), fe = Sr(ue ? k.length : O.length, o, i), pe = fz({+ features: BNe,data: k,columns: se,getRowId: (e) => String(e.source.id),@@ -68940,7 +68949,7 @@ function JNe(e) {}}), me = pe.getRowModel().rows, he = ue ? me.map((e) => e.original.source.id) : O.slice(fe.start, fe.end).flatMap((e) => e.map((e) => e.id)), ge = Cr(s, he), _e = [...s], ve = $r(M), ye = _.filter((e) => e.enabled && (e.last_status === "error" || e.last_status === "unauthorized")).map((e) => e.id), be = ei(M), xe = O.length > 0 && b.size >= O.length;return _.length ? /* @__PURE__ */ (0, D.jsxs)("div", {- className: qk({+ className: Xk({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -68957,7 +68966,7 @@ function JNe(e) {children: "关注列表"}), /* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-2-regular text-text-secondary",- children: `${_.length.toLocaleString()} 个来源${y.new ? ` · ${bW(y.new)} 条未看` : ""}`+ children: `${_.length.toLocaleString()} 个来源${y.new ? ` · ${CW(y.new)} 条未看` : ""}`})]}), /* @__PURE__ */ (0, D.jsxs)("div", {"data-follow-toolbar-actions": "",@@ -68965,7 +68974,7 @@ function JNe(e) {children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "primary",- leadingIcon: zk,+ leadingIcon: Hk,disabled: c,"aria-label": "检查全部",iconOnly: C,@@ -68991,26 +69000,26 @@ function JNe(e) {children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "ghost",iconOnly: !0,- leadingIcon: Uve,+ leadingIcon: Vve,"aria-label": $n[0][1],"aria-pressed": !ue,onClick: () => d("default")}), /* @__PURE__ */ (0, D.jsx)(q, {variant: "ghost",iconOnly: !0,- leadingIcon: Xve,+ leadingIcon: Jve,"aria-label": $n[1][1],"aria-pressed": ue,onClick: () => d("table")})]}),- ue ? /* @__PURE__ */ (0, D.jsx)(xz, {+ ue ? /* @__PURE__ */ (0, D.jsx)(wz, {preferences: de,label: "关注来源"}) : null,/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex flex-none items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(FF, {+ children: [/* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": "关注列表排序",selectedKey: n,onSelectionChange: (e) => {@@ -69018,14 +69027,14 @@ function JNe(e) {let t = String(e);l(t, En[t]);},- children: wn.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(IF, {+ children: wn.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e,children: t}, e))}), /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",iconOnly: !0,- leadingIcon: XF,+ leadingIcon: $F,"data-icon-state": r === "asc" ? "a" : "b","aria-label": or(n, r),onClick: () => l(n, r === "asc" ? "desc" : "asc")@@ -69034,7 +69043,7 @@ function JNe(e) {ue ? null : /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",iconOnly: C,- leadingIcon: bF,+ leadingIcon: CF,"aria-expanded": !xe,"aria-label": xe ? "全部展开" : "全部收起",onClick: () => x(xe ? /* @__PURE__ */ new Set() : new Set(O.map((e) => String(e[0].author_key || e[0].id)))),@@ -69049,7 +69058,7 @@ function JNe(e) {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",children: [- j ? /* @__PURE__ */ (0, D.jsx)(_F, {+ j ? /* @__PURE__ */ (0, D.jsx)(bF, {embedded: !0,label: A?.message || (A?.total ? `${A.older ? "抓取历史" : "检查更新"}:已完成 ${A.checked || 0}/${A.total} 个来源` : "正在准备检查任务"),value: A?.checked,@@ -69080,7 +69089,7 @@ function JNe(e) {}) : null]}),- /* @__PURE__ */ (0, D.jsxs)(xT, {+ /* @__PURE__ */ (0, D.jsxs)(CT, {label: "关注来源批量操作",visible: _e.length > 0,count: `已选 ${_e.length} 个来源`,@@ -69140,11 +69149,11 @@ function JNe(e) {})]}),- ue ? /* @__PURE__ */ (0, D.jsx)(dz, {+ ue ? /* @__PURE__ */ (0, D.jsx)(mz, {follow: !0,preferences: de,onRowClick: (e) => F(Number(e), !s.has(Number(e))),- children: /* @__PURE__ */ (0, D.jsxs)(uz, {+ children: /* @__PURE__ */ (0, D.jsxs)(pz, {"aria-label": "关注来源",size: "sm",sortDescriptor: ce[0] ? {@@ -69155,9 +69164,9 @@ function JNe(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, D.jsxs)(BN, { children: [pe.getHeaderGroups()[0].headers.map((e) => {- let t = e.column.id in nr, n = mL(e.column.columnDef.header, e.getContext());- return /* @__PURE__ */ (0, D.jsx)(VN, {+ children: [/* @__PURE__ */ (0, D.jsxs)(UN, { children: [pe.getHeaderGroups()[0].headers.map((e) => {+ let t = e.column.id in nr, n = _L(e.column.columnDef.header, e.getContext());+ return /* @__PURE__ */ (0, D.jsx)(WN, {id: e.id,allowsSorting: t,isRowHeader: e.column.id === "source",@@ -69167,29 +69176,29 @@ function JNe(e) {children: [n, /* @__PURE__ */ (0, D.jsx)("span", {"data-sort-indicator": !0,"data-direction": r || void 0,- children: /* @__PURE__ */ (0, D.jsx)(AP, {})+ children: /* @__PURE__ */ (0, D.jsx)(NP, {})})]- }) : /* @__PURE__ */ (0, D.jsx)(ox, { children: n }), /* @__PURE__ */ (0, D.jsx)(Sz, {+ }) : /* @__PURE__ */ (0, D.jsx)(ox, { children: n }), /* @__PURE__ */ (0, D.jsx)(Tz, {preferences: de,id: e.id})] })}, e.id);- }), /* @__PURE__ */ (0, D.jsx)(VN, {+ }), /* @__PURE__ */ (0, D.jsx)(WN, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: de.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, D.jsx)(WN, {+ })] }), /* @__PURE__ */ (0, D.jsx)(qN, {renderEmptyState: () => "这一页没有来源",- children: me.map((e) => /* @__PURE__ */ (0, D.jsxs)(qN, {+ children: me.map((e) => /* @__PURE__ */ (0, D.jsxs)(XN, {id: e.id,"data-follow-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(YN, { children: mL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(YN, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(QN, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(QN, { "data-table-space": "" })]}, e.id))})]})- }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(BP, {+ }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(UP, {isSelected: ge.all,isIndeterminate: ge.some,onChange: (e) => I(he, e),@@ -69199,7 +69208,7 @@ function JNe(e) {className: "flex flex-col gap-3",children: O.slice(fe.start, fe.end).map((e) => {let t = String(e[0].author_key || e[0].id);- return /* @__PURE__ */ (0, D.jsx)(qNe, {+ return /* @__PURE__ */ (0, D.jsx)(GNe, {group: e,name: gr(e, v),handlers: oe,@@ -69214,7 +69223,7 @@ function JNe(e) {}, t);})})] }),- /* @__PURE__ */ (0, D.jsx)(mz, {+ /* @__PURE__ */ (0, D.jsx)(_z, {label: "关注列表",total: fe.total,pagination: {@@ -69232,7 +69241,7 @@ function JNe(e) {children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "mr-auto text-body-2-regular text-text-secondary",- children: `未看 ${bW(y.new)} · 已看 ${bW(y.seen)} · 已保存 ${bW(y.saved)} · 已忽略 ${bW(y.ignored)}`+ children: `未看 ${CW(y.new)} · 已看 ${CW(y.seen)} · 已保存 ${CW(y.saved)} · 已忽略 ${CW(y.ignored)}`}),/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",@@ -69269,8 +69278,8 @@ function JNe(e) {]}) : null]- }) : /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: qve,+ }) : /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: Gve,title: "还没有关注来源",actions: /* @__PURE__ */ (0, D.jsx)(q, {variant: "primary",@@ -69283,14 +69292,14 @@ function JNe(e) {}//#endregion//#region src/react/follow-manage/follow-manage-page.tsx-var CW = [+var EW = [["list", "关注列表"],["add", "添加关注"],["feeds", "JAV 订阅源"]-], wW = (e) => CW.some(([t]) => t === e);-function TW({ term: e, figure: t, unit: n }) {+], DW = (e) => EW.some(([t]) => t === e);+function OW({ term: e, figure: t, unit: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {- className: qk({+ className: Xk({padding: "none",className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"}),@@ -69310,8 +69319,8 @@ function TW({ term: e, figure: t, unit: n }) {})]});}-function YNe(e) {- let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, E.useState)(wW(e.tab) ? e.tab : "list"), [d, f] = (0, E.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, E.useState)(() => On(e.sort, e.dir).sort), [h, g] = (0, E.useState)(() => On(e.sort, e.dir).dir), [_, v] = (0, E.useState)(rr(e.layout) ? e.layout : "default"), [y, b] = (0, E.useState)(ir(e.pageSize)), [x, S] = (0, E.useState)(/* @__PURE__ */ new Set()), C = _t({+function qNe(e) {+ let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, E.useState)(DW(e.tab) ? e.tab : "list"), [d, f] = (0, E.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, E.useState)(() => On(e.sort, e.dir).sort), [h, g] = (0, E.useState)(() => On(e.sort, e.dir).dir), [_, v] = (0, E.useState)(rr(e.layout) ? e.layout : "default"), [y, b] = (0, E.useState)(ir(e.pageSize)), [x, S] = (0, E.useState)(/* @__PURE__ */ new Set()), C = _t({queryKey: qn,queryFn: ({ signal: e }) => Tr(e)}), w = _t({@@ -69339,7 +69348,7 @@ function YNe(e) {dir: r === En[n] ? "" : r});}, M = yr(A), N = A.filter(lr).length, P = A.filter((e) => e.enabled).length, F = (k.providers || []).filter((e) => e.requirement === "required" && !ai(e)).length, I = new Set((T.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;- return /* @__PURE__ */ (0, D.jsxs)($k, { children: [+ return /* @__PURE__ */ (0, D.jsxs)(nA, { children: [o ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "warning",title: "本机只能浏览",@@ -69354,55 +69363,55 @@ function YNe(e) {children: s}) : null,/* @__PURE__ */ (0, D.jsxs)("div", {- className: Dke,+ className: Tke,"aria-label": "关注概览",children: [- /* @__PURE__ */ (0, D.jsx)(TW, {+ /* @__PURE__ */ (0, D.jsx)(OW, {term: "关注创作者",figure: M.length,unit: "位"}),- /* @__PURE__ */ (0, D.jsx)(TW, {+ /* @__PURE__ */ (0, D.jsx)(OW, {term: "启用来源",figure: P,unit: `/ ${A.length}`}),- /* @__PURE__ */ (0, D.jsx)(TW, {+ /* @__PURE__ */ (0, D.jsx)(OW, {term: "检查失败",figure: N,unit: "个来源"}),- /* @__PURE__ */ (0, D.jsx)(TW, {+ /* @__PURE__ */ (0, D.jsx)(OW, {term: "未看更新",figure: O.counts?.new || 0,unit: "条"}),- /* @__PURE__ */ (0, D.jsx)(TW, {+ /* @__PURE__ */ (0, D.jsx)(OW, {term: "JAV 订阅",figure: I,unit: "位"}),- /* @__PURE__ */ (0, D.jsx)(TW, {+ /* @__PURE__ */ (0, D.jsx)(OW, {term: "未看新作",figure: T.data?.unread || 0,unit: "条"})]}),- /* @__PURE__ */ (0, D.jsxs)($N, {+ /* @__PURE__ */ (0, D.jsxs)(nP, {selectedKey: l,onSelectionChange: (e) => {let t = String(e);- wW(t) && (u(t), j({ tab: t }));+ DW(t) && (u(t), j({ tab: t }));},className: "flex flex-col gap-6",children: [- /* @__PURE__ */ (0, D.jsx)(nW, {+ /* @__PURE__ */ (0, D.jsx)(aW, {"aria-label": "关注管理区域","data-section-nav": !0,"data-section-items": !0,className: "flex max-w-full flex-nowrap overflow-x-auto",- children: CW.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(tP, {+ children: EW.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(iP, {id: e,"data-pill-selected": l === e ? "" : void 0,"data-pill-variant": "gray",@@ -69410,10 +69419,10 @@ function YNe(e) {children: t}, e))}),- /* @__PURE__ */ (0, D.jsx)(nP, {+ /* @__PURE__ */ (0, D.jsx)(aP, {id: "list",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, D.jsx)(JNe, {+ children: /* @__PURE__ */ (0, D.jsx)(KNe, {data: O,sort: p,dir: h,@@ -69446,16 +69455,16 @@ function YNe(e) {}})}),- /* @__PURE__ */ (0, D.jsxs)(nP, {+ /* @__PURE__ */ (0, D.jsxs)(aP, {id: "add",className: "flex flex-col gap-8",- children: [/* @__PURE__ */ (0, D.jsx)(vNe, {+ children: [/* @__PURE__ */ (0, D.jsx)(gNe, {data: O,credentials: k,readOnly: o,toast: r,openCredentials: a- }), /* @__PURE__ */ (0, D.jsx)(DNe, {+ }), /* @__PURE__ */ (0, D.jsx)(TNe, {groups: O.author_aliases || [],readOnly: o,toast: r,@@ -69463,10 +69472,10 @@ function YNe(e) {sources: O.sources})]}),- /* @__PURE__ */ (0, D.jsx)(nP, {+ /* @__PURE__ */ (0, D.jsx)(aP, {id: "feeds",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, D.jsx)(VNe, {+ children: /* @__PURE__ */ (0, D.jsx)(zNe, {readOnly: o,toast: r})@@ -69482,16 +69491,16 @@ function YNe(e) {}//#endregion//#region src/react/components/board-tabs.tsx-function EW({ value: e }) {+function kW({ value: e }) {return /* @__PURE__ */ (0, D.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 XNe = "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 DW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {- let a = (0, E.useRef)(null), o = $A(a);+var JNe = "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 AW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {+ let a = (0, E.useRef)(null), o = nj(a);return (0, E.useLayoutEffect)(() => {let e = a.current;e && (() => {@@ -69500,7 +69509,7 @@ function DW({ 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, D.jsx)(cO, {+ }, [t]), /* @__PURE__ */ (0, D.jsx)(dO, {ref: o,role: "tablist","aria-label": n,@@ -69515,7 +69524,7 @@ function DW({ 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 ? hP(e.symbol) : null, i = e.value === t;+ let n = e.symbol ? vP(e.symbol) : null, i = e.value === t;return /* @__PURE__ */ (0, D.jsxs)("button", {type: "button",role: "tab",@@ -69524,7 +69533,7 @@ function DW({ 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: XNe,+ className: JNe,onClick: () => {i || r(e.value);},@@ -69535,11 +69544,11 @@ function DW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"}//#endregion//#region src/react/index/index-tags.tsx-var OW = () => /* @__PURE__ */ (0, D.jsx)("span", {+var jW = () => /* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"-}), kW = hP("pencil"), AW = (e, t) => ({+}), MW = vP("pencil"), NW = (e, t) => ({kind: "tag",name: e.k,favorite: e.favorite,@@ -69548,7 +69557,7 @@ var OW = () => /* @__PURE__ */ (0, D.jsx)("span", {tag_id: e.id || e.k} : { entity_id: e.entity_id }});-function ZNe({ tag: e, actions: t }) {+function YNe({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 items-center gap-1",@@ -69557,13 +69566,13 @@ function ZNe({ tag: e, actions: t }) {type: "button","data-alpha-tag": "","data-k": e.k,- "data-tag-cat": DH(t.online, e.cat),+ "data-tag-cat": AH(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, D.jsx)(OW, {}),+ /* @__PURE__ */ (0, D.jsx)(jW, {}),/* @__PURE__ */ (0, D.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -69574,32 +69583,32 @@ function ZNe({ tag: e, actions: t }) {})]}),- t.favorites === !1 ? null : /* @__PURE__ */ (0, D.jsx)(OP, { item: AW(e, t.online) }),- t.edit ? /* @__PURE__ */ (0, D.jsx)(DP, {+ t.favorites === !1 ? null : /* @__PURE__ */ (0, D.jsx)(jP, { item: NW(e, t.online) }),+ t.edit ? /* @__PURE__ */ (0, D.jsx)(AP, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, D.jsx)(kW, {})+ children: /* @__PURE__ */ (0, D.jsx)(MW, {})}) : null]});}-function jW({ groups: e, actions: t }) {+function PW({ groups: e, actions: t }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",children: e.map(([e, n], r) => /* @__PURE__ */ (0, D.jsxs)("section", {"data-alpha-group": r,- className: qk({+ className: Xk({radius: "plain",padding: "none",className: "px-5 pt-4 pb-3"}),children: [/* @__PURE__ */ (0, D.jsxs)("h3", {className: "mb-2 flex items-center text-title-2-medium text-text-primary",- children: [e, /* @__PURE__ */ (0, D.jsx)(EW, { value: n.length })]+ children: [e, /* @__PURE__ */ (0, D.jsx)(kW, { value: n.length })]}), /* @__PURE__ */ (0, D.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",- children: n.map((e) => /* @__PURE__ */ (0, D.jsx)(ZNe, {+ children: n.map((e) => /* @__PURE__ */ (0, D.jsx)(YNe, {tag: e,actions: t}, e.k))@@ -69607,26 +69616,26 @@ function jW({ groups: e, actions: t }) {}, e))});}-var QNe = "\xA0";-function MW({ tags: e, actions: t }) {+var XNe = "\xA0";+function FW({ tags: e, actions: t }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-tag-cloud": "",className: "flex flex-wrap gap-1.75",children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)("span", {"data-tag-token": "",- "data-tag-cat": DH(t.online, e.cat),+ "data-tag-cat": AH(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, D.jsxs)("button", {type: "button","data-tag-chip": "","data-k": e.k,- "data-tag-cat": DH(t.online, e.cat),+ "data-tag-cat": AH(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, D.jsx)("span", {className: "min-w-0 truncate",- children: e.label + QNe+ children: e.label + XNe}), /* @__PURE__ */ (0, D.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",@@ -69635,16 +69644,16 @@ function MW({ tags: e, actions: t }) {}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, D.jsxs)("span", {"data-tag-actions": "",className: "inline-flex flex-none items-center gap-1",- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, D.jsx)(OP, { item: AW(e, t.online) }), t.edit ? /* @__PURE__ */ (0, D.jsx)(DP, {+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, D.jsx)(jP, { item: NW(e, t.online) }), t.edit ? /* @__PURE__ */ (0, D.jsx)(AP, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, D.jsx)(kW, {})+ children: /* @__PURE__ */ (0, D.jsx)(MW, {})}) : null]}) : null]}, e.k))});}-var $Ne = [[+var ZNe = [["cloud","标签云","tags"@@ -69653,28 +69662,28 @@ var $Ne = [["字母表","text-aa"]];-function NW({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {- let d = $A();- return /* @__PURE__ */ (0, D.jsx)(tj, {+function IW({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {+ let d = nj();+ return /* @__PURE__ */ (0, D.jsx)(ij, {label: "标签筛选",topLabel: "标签类型",top: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [l ? /* @__PURE__ */ (0, D.jsx)("div", {role: "group","aria-label": "标签状态",className: "flex flex-none items-center gap-1.75 border-r border-(--glass-low) pr-3",- children: [[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(nj, {+ children: [[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(aj, {"data-tag-pill": "","data-tag-cat": "all",pressed: l.hidden === e,onPress: () => l.onChange(!!e),children: t}, String(e)))- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, D.jsxs)(nj, {+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, D.jsxs)(aj, {"data-tag-pill": "",- "data-tag-cat": e === "all" ? "all" : DH(n, e),+ "data-tag-cat": e === "all" ? "all" : AH(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, D.jsx)(OW, {}), r]+ children: [/* @__PURE__ */ (0, D.jsx)(jW, {}), r]}, e))] }),bottom: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", {@@ -69695,19 +69704,19 @@ function NW({ categories: e, category: t, online: n, readout: r, letters: i, viechildren: e}, e))}) : null,- /* @__PURE__ */ (0, D.jsx)(vN, {+ /* @__PURE__ */ (0, D.jsx)(xN, {"aria-label": "标签视图",orientation: "horizontal",value: a,onChange: (e) => c(e),- className: `ml-auto ${KF}`,- children: $Ne.map(([e, t, n]) => {- let r = hP(n);- return /* @__PURE__ */ (0, D.jsx)(yN, {+ className: `ml-auto ${YF}`,+ children: ZNe.map(([e, t, n]) => {+ let r = vP(n);+ return /* @__PURE__ */ (0, D.jsx)(SN, {value: e,"aria-label": t,"data-glass-segment": "",- className: qF,+ className: XF,children: /* @__PURE__ */ (0, D.jsx)("span", {title: t,className: "contents",@@ -69719,13 +69728,13 @@ function NW({ categories: e, category: t, online: n, readout: r, letters: i, vie] })});}-function ePe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {- return /* @__PURE__ */ (0, D.jsxs)(xT, {+function QNe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+ return /* @__PURE__ */ (0, D.jsxs)(CT, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,children: [- /* @__PURE__ */ (0, D.jsx)(BP, {+ /* @__PURE__ */ (0, D.jsx)(UP, {isSelected: t === "any",onChange: (e) => n(e ? "any" : "all"),children: /* @__PURE__ */ (0, D.jsxs)("span", {@@ -69757,29 +69766,29 @@ function ePe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {}//#endregion//#region src/react/toaster.tsx-var PW = (e, t) => /* @__PURE__ */ (0, D.jsx)("span", {+var LW = (e, t) => /* @__PURE__ */ (0, D.jsx)("span", {"data-toast-glyph": t ? "draw" : "still","aria-hidden": "true",dangerouslySetInnerHTML: { __html: e }-}), FW = null, IW = { "--floating-radius": "var(--radius-2xl)" };-function LW() {- let e = FW;- FW = null, e?.root.unmount();-}-var RW = (e, t) => {- if (FW?.host === e) return;- LW();+}), RW = null, zW = { "--floating-radius": "var(--radius-2xl)" };+function BW() {+ let e = RW;+ RW = null, e?.root.unmount();+}+var VW = (e, t) => {+ if (RW?.host === e) return;+ BW();let n = (0, xt.createRoot)(e);- FW = {+ RW = {host: e,root: n- }, n.render(/* @__PURE__ */ (0, D.jsxs)(HP, { children: [/* @__PURE__ */ (0, D.jsx)(XP, {+ }, n.render(/* @__PURE__ */ (0, D.jsxs)(GP, { children: [/* @__PURE__ */ (0, D.jsx)($P, {id: "receipts",position: "bottom-right",closeButton: !0,gap: 8,style: {- ...IW,+ ...zW,"--width": "min(560px, calc(100vw - 48px))"},offset: {@@ -69794,16 +69803,16 @@ var RW = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭提示" },containerAriaLabel: "通知",icons: {- success: PW(t.success, !0),- error: PW(t.error, !1)+ success: LW(t.success, !0),+ error: LW(t.error, !1)}- }), /* @__PURE__ */ (0, D.jsx)(XP, {+ }), /* @__PURE__ */ (0, D.jsx)($P, {id: "processing",position: "bottom-right",gap: 8,expand: !0,style: {- ...IW,+ ...zW,"--width": "min(400px, calc(100vw - 32px))"},offset: {@@ -69818,13 +69827,13 @@ var RW = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭任务提示" },containerAriaLabel: "后台任务"})] }));-}, tPe = 6e3, zW = (e, t) => {+}, $Ne = 6e3, HW = (e, t) => {if (!String(t.html ?? "").trim()) return;- let n = t.alert ? GP.error : GP.success, r = t.action;+ let n = t.alert ? JP.error : JP.success, r = t.action;n(/* @__PURE__ */ (0, D.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,toasterId: "receipts",- duration: t.timeout > 0 ? t.timeout : tPe,+ duration: t.timeout > 0 ? t.timeout : $Ne,action: r ? {label: r.label,onClick: (e) => {@@ -69832,32 +69841,32 @@ var RW = (e, t) => {}} : void 0});-}, BW = (e) => e.id ?? e.entity_id, VW = {+}, UW = (e) => e.id ?? e.entity_id, WW = {rename: "重命名标签",merge: "合并标签",hide: "隐藏标签",restore: "恢复标签",repair: "整理重复标签"-}, HW = (e, t) => U("/api/tag-management/preview", e, "POST", t);-async function UW(e, t, n) {+}, GW = (e, t) => U("/api/tag-management/preview", e, "POST", t);+async function KW(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 === "hide" ? "隐藏" : "恢复"} ${t.tags.length} 个标签,涉及 ${t.assets} 个资源。${e.operation === "hide" ? "可在“已隐藏”中恢复。" : ""}`;return !(await Hs({- title: VW[e.operation],+ title: WW[e.operation],body: i,- confirmLabel: VW[e.operation],+ confirmLabel: WW[e.operation],onConfirm: () => U("/api/tag-management", {...e,token: t.token}, "POST", n)- })).confirmed || n?.aborted ? !1 : (await W.invalidateQueries(), zW(`tag-management-${Date.now()}`, {- html: `已${VW[e.operation]}`,+ })).confirmed || n?.aborted ? !1 : (await W.invalidateQueries(), HW(`tag-management-${Date.now()}`, {+ html: `已${WW[e.operation]}`,alert: !1,timeout: 6e3,action: null}), !0);}-function nPe({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {+function ePe({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {let a = (0, E.useRef)({operation: e,selected: t,@@ -69866,24 +69875,24 @@ function nPe({ operation: e, selected: t, close: n, done: r, scope: i = "local"scope: i}), o = (0, E.useRef)({name: t[0]?.k || "",- target_id: t[0] ? BW(t[0]) : 0+ target_id: t[0] ? UW(t[0]) : 0}), [s, c] = (0, E.useState)(null);return (0, E.useEffect)(() => {let e = new AbortController(), t = a.current, n = Bs({- title: VW[t.operation],+ title: WW[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(BW),+ ids: t.selected.map(UW),...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 HW(n, e.signal)+ plan: await GW(n, e.signal)};}});@@ -69894,14 +69903,14 @@ function nPe({ operation: e, selected: t, close: n, done: r, scope: i = "local"if (!e.signal.aborted) {if (n.confirmed) {let r = n.result;- await UW(r.command, r.plan, e.signal) && t.done();+ await KW(r.command, r.plan, e.signal) && t.done();}e.signal.aborted || t.close();}}), () => {e.abort(), n.close();};- }, []), s ? (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(rPe, {+ }, []), s ? (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(tPe, {operation: a.current.operation,selected: a.current.selected,dialog: s.dialog,@@ -69910,8 +69919,8 @@ function nPe({ operation: e, selected: t, close: n, done: r, scope: i = "local"}}), s.host) : null;}-function rPe({ operation: e, selected: t, dialog: n, update: r }) {- let [i, a] = (0, E.useState)(t[0]?.k || ""), [o, s] = (0, E.useState)(t[0] ? BW(t[0]) : 0);+function tPe({ operation: e, selected: t, dialog: n, update: r }) {+ let [i, a] = (0, E.useState)(t[0]?.k || ""), [o, s] = (0, E.useState)(t[0] ? UW(t[0]) : 0);return (0, E.useEffect)(() => {r({name: i,@@ -69924,45 +69933,45 @@ function rPe({ operation: e, selected: t, dialog: n, update: r }) {e,t,r- ]), e === "rename" ? /* @__PURE__ */ (0, D.jsx)(dP, {+ ]), e === "rename" ? /* @__PURE__ */ (0, D.jsx)(mP, {autoFocus: !0,"aria-label": "标签名称",value: i,onChange: a,maxLength: 80- }) : /* @__PURE__ */ (0, D.jsx)(FF, {+ }) : /* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": "保留的标签",selectedKey: String(o),onSelectionChange: (e) => {- let n = t.find((t) => String(BW(t)) === String(e));- n && s(BW(n));+ let n = t.find((t) => String(UW(t)) === String(e));+ n && s(UW(n));},- children: t.map((e) => /* @__PURE__ */ (0, D.jsx)(IF, {- id: String(BW(e)),+ children: t.map((e) => /* @__PURE__ */ (0, D.jsx)(zF, {+ id: String(UW(e)),children: e.k- }, BW(e)))+ }, UW(e)))});}//#endregion//#region src/react/index/tag-manager.tsx-function iPe({ search: e = "", category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {+function nPe({ search: e = "", category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {let s = o === "online", c = _t({queryKey: ["tag-management", o],queryFn: ({ signal: e }) => H(`/api/tag-management${s ? "?scope=online" : ""}`, e)- }), [l, u] = (0, E.useState)(!1), [d, f] = (0, E.useState)(/* @__PURE__ */ new Set()), [p, m] = (0, E.useState)(null), h = nA(), g = c.data?.items || [], _ = g.filter((t) => t.hidden === l && [t.k, ...t.aliases].some((t) => t.toLocaleLowerCase().includes(e.trim().toLocaleLowerCase()))), v = _.filter((e) => t === "all" || (e.cat || "general") === t), y = (s ? vH : _H).filter(([e]) => e === "all" || e === t || c.isPending || _.some((t) => (t.cat || "general") === e)), b = v.map((e) => ({+ }), [l, u] = (0, E.useState)(!1), [d, f] = (0, E.useState)(/* @__PURE__ */ new Set()), [p, m] = (0, E.useState)(null), h = aA(), g = c.data?.items || [], _ = g.filter((t) => t.hidden === l && [t.k, ...t.aliases].some((t) => t.toLocaleLowerCase().includes(e.trim().toLocaleLowerCase()))), v = _.filter((e) => t === "all" || (e.cat || "general") === t), y = (s ? xH : bH).filter(([e]) => e === "all" || e === t || c.isPending || _.some((t) => (t.cat || "general") === e)), b = v.map((e) => ({...e,label: e.k- })), x = n === "alphabet" ? OH(b, (e) => e) : [], S = g.filter((e) => d.has(e.k)), C = (e) => {+ })), x = n === "alphabet" ? jH(b, (e) => e) : [], S = g.filter((e) => d.has(e.k)), C = (e) => {h.run(e.operation, async (t) => {let n = s ? {...e,scope: o} : e;- return UW(n, await HW(n, t), t);+ return KW(n, await GW(n, t), t);}, (e) => {e && f(/* @__PURE__ */ new Set());});- }, w = S.map(BW), T = {+ }, w = S.map(UW), T = {online: s,favorites: s,picked: d,@@ -69979,7 +69988,7 @@ function iPe({ search: e = "", category: t = "all", view: n = "cloud", onCategor"data-tag-manager": "",className: "flex min-w-0 flex-col",children: [- /* @__PURE__ */ (0, D.jsx)(NW, {+ /* @__PURE__ */ (0, D.jsx)(IW, {categories: y,category: t,online: s,@@ -69998,7 +70007,7 @@ function iPe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}},actions: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- c.data?.duplicate_groups.length ? /* @__PURE__ */ (0, D.jsx)(rj, {+ c.data?.duplicate_groups.length ? /* @__PURE__ */ (0, D.jsx)(oj, {busy: h.busy === "repair",onPress: () => C({operation: "repair",@@ -70006,11 +70015,11 @@ function iPe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}),children: "整理重复标签"}) : null,- v.length ? /* @__PURE__ */ (0, D.jsx)(rj, {+ v.length ? /* @__PURE__ */ (0, D.jsx)(oj, {onPress: () => f(new Set(v.map((e) => e.k))),children: "选择当前结果"}) : null,- d.size ? /* @__PURE__ */ (0, D.jsx)(rj, {+ d.size ? /* @__PURE__ */ (0, D.jsx)(oj, {onPress: () => f(/* @__PURE__ */ new Set()),children: "清空选择"}) : null@@ -70029,10 +70038,10 @@ function iPe({ search: e = "", category: t = "all", view: n = "cloud", onCategorchildren: "重试"}),children: "无法读取标签"- }) : v.length ? n === "alphabet" ? /* @__PURE__ */ (0, D.jsx)(jW, {+ }) : v.length ? n === "alphabet" ? /* @__PURE__ */ (0, D.jsx)(PW, {groups: x,actions: T- }) : /* @__PURE__ */ (0, D.jsx)(MW, {+ }) : /* @__PURE__ */ (0, D.jsx)(FW, {tags: b,actions: T}) : /* @__PURE__ */ (0, D.jsx)(J, {@@ -70043,7 +70052,7 @@ function iPe({ search: e = "", category: t = "all", view: n = "cloud", onCategortone: "error",children: h.error}) : null,- /* @__PURE__ */ (0, D.jsxs)(xT, {+ /* @__PURE__ */ (0, D.jsxs)(CT, {label: "标签管理操作",count: `已选 ${d.size} 个标签`,visible: d.size > 0,@@ -70074,7 +70083,7 @@ function iPe({ search: e = "", category: t = "all", view: n = "cloud", onCategor})]}),- p ? /* @__PURE__ */ (0, D.jsx)(nPe, {+ p ? /* @__PURE__ */ (0, D.jsx)(ePe, {operation: p,selected: S,scope: o,@@ -70086,7 +70095,7 @@ function iPe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}//#endregion//#region src/react/index/index-page.tsx-var aPe = [{+var rPe = [{value: "studios",label: "厂牌",symbol: "clapperboard"@@ -70094,7 +70103,7 @@ var aPe = [{value: "agencies",label: "事务所",symbol: "briefcase"-}], oPe = [{+}], iPe = [{value: "local",label: "本地",symbol: "hard-drive"@@ -70102,7 +70111,7 @@ var aPe = [{value: "online",label: "在线",symbol: "rss"-}], sPe = [+}], aPe = [{value: "performers",label: "艺人",@@ -70118,7 +70127,7 @@ var aPe = [{label: "在线",symbol: "rss"}-], cPe = {+], oPe = {people: [["big","大图 · 竖幅头像",@@ -70138,20 +70147,20 @@ var aPe = [{"layout-grid"]]};-function lPe({ kind: e, layout: t, onChange: n }) {- return /* @__PURE__ */ (0, D.jsx)(UF, {- "aria-label": `${gH[e]}索引版式`,+function sPe({ kind: e, layout: t, onChange: n }) {+ return /* @__PURE__ */ (0, D.jsx)(KF, {+ "aria-label": `${yH[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",- className: `flex-none ${WF}`,- children: cPe[xH(e) ? "company" : "people"].map(([e, t, n]) => {- let r = hP(n);- return /* @__PURE__ */ (0, D.jsx)(yN, {+ className: `flex-none ${qF}`,+ children: oPe[wH(e) ? "company" : "people"].map(([e, t, n]) => {+ let r = vP(n);+ return /* @__PURE__ */ (0, D.jsx)(SN, {value: e,"aria-label": t,- className: UCe,+ className: VCe,children: /* @__PURE__ */ (0, D.jsx)("span", {title: t,className: "contents",@@ -70161,8 +70170,8 @@ function lPe({ kind: e, layout: t, onChange: n }) {})});}-var uPe = hP("search");-function dPe({ label: e, value: t, onQuery: n }) {+var cPe = vP("search");+function lPe({ label: e, value: t, onQuery: n }) {let [r, i] = (0, E.useState)(t), a = (0, E.useRef)(!1), o = (0, E.useRef)(void 0);(0, E.useEffect)(() => {clearTimeout(o.current), i(t);@@ -70179,15 +70188,15 @@ function dPe({ label: e, value: t, onQuery: n }) {onCompositionEnd: (e) => {a.current = !1, s(e.target.value);},- children: /* @__PURE__ */ (0, D.jsx)(cP, {+ children: /* @__PURE__ */ (0, D.jsx)(dP, {"aria-label": e,value: r,onChange: (e) => {i(e), a.current || s(e);},- children: /* @__PURE__ */ (0, D.jsx)(uP, {+ children: /* @__PURE__ */ (0, D.jsx)(pP, {type: "search",- leadingIcon: uPe,+ leadingIcon: cPe,spellCheck: !1,autoComplete: "off",enterKeyHint: "search",@@ -70198,14 +70207,14 @@ function dPe({ label: e, value: t, onQuery: n }) {})});}-function fPe(e) {- let [t, n] = (0, E.useState)(!1), [r, i] = (0, E.useState)(() => SH({+function uPe(e) {+ let [t, n] = (0, E.useState)(!1), [r, i] = (0, E.useState)(() => TH({kind: e.kind,q: e.q,scope: e.scope,view: e.view,category: e.category- })), [a, o] = (0, E.useState)(e.layout), [s, c] = (0, E.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, E.useState)("any"), d = (0, E.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = r, _ = gH[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";+ })), [a, o] = (0, E.useState)(e.layout), [s, c] = (0, E.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, E.useState)("any"), d = (0, E.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = r, _ = yH[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";(0, E.useEffect)(() => {if (r.kind === e.kind && r.scope === e.scope && r.category === e.category) return;let t = !0;@@ -70224,7 +70233,7 @@ function fPe(e) {...t};x(Object.keys(t).every((e) => e === "q")), i(o), e.route(o, { replace: a });- }, C = EH(CH(r)), w = yt({+ }, C = kH(EH(r)), w = yt({queryKey: C.queryKey,queryFn: ({ pageParam: e, signal: t }) => C.queryFn({pageParam: e,@@ -70233,7 +70242,7 @@ function fPe(e) {initialPageParam: 0,getNextPageParam: C.getNextPageParam,placeholderData: b ? he : void 0- }), T = qAe(w.data), O = !!w.hasNextPage && !w.isPlaceholderData, k = JAe(T.length, !!w.hasNextPage), A = `${f}:${m}:${p}`, j = (0, E.useRef)(null), M = w.data?.pages[0]?.categories;+ }), T = GAe(w.data), O = !!w.hasNextPage && !w.isPlaceholderData, k = KAe(T.length, !!w.hasNextPage), A = `${f}:${m}:${p}`, j = (0, E.useRef)(null), M = w.data?.pages[0]?.categories;M && !w.isPlaceholderData && (j.current = {key: A,counts: M@@ -70249,15 +70258,15 @@ function fPe(e) {T,f,v- ]), ee = (0, E.useMemo)(() => f === "tags" && h === "alphabet" ? OH(I, (t) => v ? t : e.tagLabel(t)) : [], [+ ]), ee = (0, E.useMemo)(() => f === "tags" && h === "alphabet" ? jH(I, (t) => v ? t : e.tagLabel(t)) : [], [I,h,f,v]), L = (t) => {o(t), e.savePreference({ layout: t });- }, te = f === "tags" ? /* @__PURE__ */ (0, D.jsx)(DW, {- tabs: oPe,+ }, te = f === "tags" ? /* @__PURE__ */ (0, D.jsx)(AW, {+ tabs: iPe,value: m,label: "词表",onChange: (e) => {@@ -70267,8 +70276,8 @@ function fPe(e) {view: e === "online" ? "alphabet" : h});}- }) : xH(f) ? /* @__PURE__ */ (0, D.jsx)(DW, {- tabs: aPe,+ }) : wH(f) ? /* @__PURE__ */ (0, D.jsx)(AW, {+ tabs: rPe,value: f,label: "公司类型",onChange: (e) => S({ kind: e })@@ -70277,7 +70286,7 @@ function fPe(e) {let n = new Set(e);return n.delete(t) || n.add(t), n;}) : I.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");- }, re = (v ? vH : _H).filter(F);+ }, re = (v ? xH : bH).filter(F);return /* @__PURE__ */ (0, D.jsxs)("div", {ref: d,"data-index-page": f,@@ -70292,24 +70301,24 @@ function fPe(e) {className: "flex flex-none items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",children: _}),- bH(f) ? /* @__PURE__ */ (0, D.jsx)("span", {+ CH(f) ? /* @__PURE__ */ (0, D.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: w.isPending || w.isError ? "" : k}) : null,- bH(f) ? /* @__PURE__ */ (0, D.jsx)(lPe, {+ CH(f) ? /* @__PURE__ */ (0, D.jsx)(sPe, {kind: f,layout: a,onChange: L}) : null,- /* @__PURE__ */ (0, D.jsx)(kP, { kind: f === "tags" ? "tag" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),+ /* @__PURE__ */ (0, D.jsx)(MP, { kind: f === "tags" ? "tag" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),f === "tags" ? /* @__PURE__ */ (0, D.jsx)(q, {variant: t ? "primary" : "ghost",size: "small",iconOnly: !0,className: "flex-none","data-tag-mode": "",- leadingIcon: hP("pencil"),+ leadingIcon: vP("pencil"),"aria-label": t ? "返回标签浏览" : "管理标签",title: t ? "返回标签浏览" : "管理标签","aria-pressed": t,@@ -70317,7 +70326,7 @@ function fPe(e) {e.exitSelectMode(), c(/* @__PURE__ */ new Set()), n(!t);}}) : null,- /* @__PURE__ */ (0, D.jsx)(dPe, {+ /* @__PURE__ */ (0, D.jsx)(lPe, {label: `过滤${_}`,value: p,onQuery: (e) => {@@ -70326,8 +70335,8 @@ function fPe(e) {})]}),- f === "performers" || f === "creators" ? /* @__PURE__ */ (0, D.jsx)(DW, {- tabs: sPe,+ f === "performers" || f === "creators" ? /* @__PURE__ */ (0, D.jsx)(AW, {+ tabs: aPe,value: y ? "online" : f,label: "人物名册",onChange: (t) => {@@ -70339,7 +70348,7 @@ function fPe(e) {}}) : null,te,- t && f === "tags" ? /* @__PURE__ */ (0, D.jsx)(iPe, {+ t && f === "tags" ? /* @__PURE__ */ (0, D.jsx)(nPe, {scope: m,search: p,category: g,@@ -70353,8 +70362,8 @@ function fPe(e) {}, m) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [f === "performers" && m === "local" ? /* @__PURE__ */ (0, D.jsx)("div", {"aria-label": "身份分类",- className: hH,- children: mH.filter((e) => e[0] === g || F(e)).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(q, {+ className: vH,+ children: _H.filter((e) => e[0] === g || F(e)).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(q, {variant: g === e ? "primary" : "secondary",size: "small","aria-pressed": g === e,@@ -70362,7 +70371,7 @@ function fPe(e) {children: t}, e))}) : null,- f === "tags" ? /* @__PURE__ */ (0, D.jsx)(NW, {+ f === "tags" ? /* @__PURE__ */ (0, D.jsx)(IW, {categories: re,category: g,online: v,@@ -70387,8 +70396,8 @@ function fPe(e) {mode: h}) }});- if (w.isError) return /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: hP("alert"),+ if (w.isError) return /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: vP("alert"),title: `没能读取${_}`,actions: /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",@@ -70397,7 +70406,7 @@ function fPe(e) {}),children: Rt(w.error)});- if (!T.length) return /* @__PURE__ */ (0, D.jsx)(mPe, {+ if (!T.length) return /* @__PURE__ */ (0, D.jsx)(fPe, {kind: f,filtered: !!p || g !== "all",online: v || y,@@ -70406,12 +70415,12 @@ function fPe(e) {category: "all"})});- if (y) return /* @__PURE__ */ (0, D.jsx)($Ae, {+ if (y) return /* @__PURE__ */ (0, D.jsx)(ZAe, {items: T,layout: a,props: e});- if (bH(f)) return /* @__PURE__ */ (0, D.jsx)(jH, {+ if (CH(f)) return /* @__PURE__ */ (0, D.jsx)(PH, {kind: f,items: T,layout: a,@@ -70422,10 +70431,10 @@ function fPe(e) {picked: s,press: ne};- return h === "alphabet" ? /* @__PURE__ */ (0, D.jsx)(jW, {+ return h === "alphabet" ? /* @__PURE__ */ (0, D.jsx)(PW, {groups: ee,actions: t- }) : /* @__PURE__ */ (0, D.jsx)(MW, {+ }) : /* @__PURE__ */ (0, D.jsx)(FW, {tags: I,actions: t});@@ -70440,13 +70449,13 @@ function fPe(e) {disabled: w.isFetchingNextPage,"aria-busy": w.isFetchingNextPage || void 0,onClick: () => void w.fetchNextPage(),- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, D.jsx)(Qk, {+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, D.jsx)(tA, {inline: !0,label: "继续载入中…"}) : "载入更多"})}) : null,- f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, D.jsx)(ePe, {+ f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, D.jsx)(QNe, {count: s.size,match: l,onMatch: u,@@ -70460,16 +70469,16 @@ function fPe(e) {]});}-var pPe = {+var dPe = {tags: "标签",performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所"};-function mPe({ kind: e, filtered: t, online: n, onClear: r }) {- if (t) return /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: hP("search"),+function fPe({ kind: e, filtered: t, online: n, onClear: r }) {+ if (t) return /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: vP("search"),title: "没有符合条件的内容",actions: /* @__PURE__ */ (0, D.jsx)(q, {size: "small",@@ -70478,16 +70487,16 @@ function mPe({ kind: e, filtered: t, online: n, onClear: r }) {}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : pPe[e], a = /* @__PURE__ */ (0, D.jsx)(Wk, {+ let i = n && e === "performers" ? "创作者" : dPe[e], a = /* @__PURE__ */ (0, D.jsx)(qk, {size: "small",variant: n ? "primary" : "secondary",href: "/subscriptions?tab=add",children: "添加关注"});- return /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: hP(e === "tags" ? "tags" : "user-round"),+ return /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: vP(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,- actions: n ? a : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Wk, {+ actions: n ? a : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(qk, {size: "small",href: "/settings/library",children: "添加媒体"@@ -70495,15 +70504,15 @@ function mPe({ kind: e, filtered: t, online: n, onClear: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var WW = {+var qW = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, hPe = (e) => WW[e.junk_kind || "other"] || WW.other;-function gPe(e) {+}, pPe = (e) => qW[e.junk_kind || "other"] || qW.other;+function mPe(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -70514,21 +70523,21 @@ function gPe(e) {glyph: "check"};}-var GW = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), _Pe = (e, t) => [+var JW = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), hPe = (e, t) => ["junk-queue",e.view,e.kind,t];-function vPe({ kind: e, view: t }) {+function gPe({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function yPe(e, t) {- let n = await H(`/api/ads?${vPe(e)}`, t);+async function _Pe(e, t) {+ let n = await H(`/api/ads?${gPe(e)}`, t);return {...n,items: n.items || []@@ -70536,19 +70545,19 @@ async function yPe(e, t) {}//#endregion//#region src/react/junk-queue/junk-card.tsx-function KW({ name: e }) {+function YW({ name: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })});}-var qW = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function bPe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {- let o = (0, E.useRef)(null), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), d = e.junk_kind || "other", [f, p] = hPe(e), m = String(e.name || ""), h = gPe(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]") || qW(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));+var XW = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;+function vPe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {+ let o = (0, E.useRef)(null), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), d = e.junk_kind || "other", [f, p] = pPe(e), m = String(e.name || ""), h = mPe(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]") || XW(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {- t.stopPropagation(), qW(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);+ t.stopPropagation(), XW(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) => {@@ -70579,7 +70588,7 @@ function bPe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-junk-kind": d,"data-selected": n ? "" : void 0,onClick: v,- onMouseDown: DI,+ onMouseDown: AI,children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-media-pic": "",@@ -70587,7 +70596,7 @@ function bPe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [/* @__PURE__ */ (0, D.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, D.jsx)(KW, { name: p }), /* @__PURE__ */ (0, D.jsx)("b", { children: f })]+ children: [/* @__PURE__ */ (0, D.jsx)(YW, { name: p }), /* @__PURE__ */ (0, D.jsx)("b", { children: f })]}),g ? /* @__PURE__ */ (0, D.jsx)("span", {"data-media-art": "thumb",@@ -70599,7 +70608,7 @@ function bPe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}),/* @__PURE__ */ (0, D.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, D.jsx)(KW, { name: "check" })+ children: /* @__PURE__ */ (0, D.jsx)(YW, { name: "check" })})]}),@@ -70636,7 +70645,7 @@ function bPe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [s === "reveal" ? /* @__PURE__ */ (0, D.jsx)("span", {"data-junk-spinner": "",dangerouslySetInnerHTML: { __html: Ro("正在定位") }- }) : /* @__PURE__ */ (0, D.jsx)(KW, { name: "folder-open" }), /* @__PURE__ */ (0, D.jsx)("span", {+ }) : /* @__PURE__ */ (0, D.jsx)(YW, { name: "folder-open" }), /* @__PURE__ */ (0, D.jsx)("span", {"data-junk-label": "",children: "打开位置"})]@@ -70648,7 +70657,7 @@ function bPe({ 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, D.jsx)(KW, { name: h.glyph }), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(YW, { name: h.glyph }), /* @__PURE__ */ (0, D.jsx)("span", {"data-junk-label": "",children: h.label})]@@ -70660,7 +70669,7 @@ function bPe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": "移入回收站",...S("dispose"),onClick: x("dispose"),- children: [/* @__PURE__ */ (0, D.jsx)(KW, { name: "trash" }), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(YW, { name: "trash" }), /* @__PURE__ */ (0, D.jsx)("span", {"data-junk-label": "",children: "移入回收站"})]@@ -70675,7 +70684,7 @@ function bPe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var xPe = (0, E.memo)(bPe), JW = [+var yPe = (0, E.memo)(vPe), ZW = [["","全部",@@ -70711,65 +70720,65 @@ var xPe = (0, E.memo)(bPe), JW = ["其它","hard-drive"]-], SPe = (e) => JW.find(([t]) => t === e)?.[0] ?? "";-function YW(e) {+], bPe = (e) => ZW.find(([t]) => t === e)?.[0] ?? "";+function QW(e) {let t = new URLSearchParams(e);return {- kind: SPe(t.get("type")),+ kind: bPe(t.get("type")),view: t.get("view") === "dismissed" ? "dismissed" : "pending"};}-function XW(e = "", t = "pending") {+function $W(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 ZW(e) {+function eG(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",glyph: "rotate-ccw",- href: XW("", "pending")+ href: $W("", "pending")} : {view: "dismissed",label: "已排除",glyph: "eye-off",- href: XW("", "dismissed")+ href: $W("", "dismissed")};}-var QW = (e) => e === "dismissed" ? "已排除" : "待判断", $W = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;-function CPe({ kind: e, view: t }) {- let n = JW.map(([n, r, i]) => `<a href="${XW(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${$W(i)}${B(r)}</a>`).join(""), r = ZW(t);- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Fo(QW(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\"" : ""}>${$W(r.glyph)}${r.label}</a></nav></div></div></div>`;+var tG = (e) => e === "dismissed" ? "已排除" : "待判断", nG = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;+function xPe({ kind: e, view: t }) {+ let n = ZW.map(([n, r, i]) => `<a href="${$W(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${nG(i)}${B(r)}</a>`).join(""), r = eG(t);+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Fo(tG(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\"" : ""}>${nG(r.glyph)}${r.label}</a></nav></div></div></div>`;}//#endregion//#region src/react/junk-queue/junk-count.tsx-function eG({ name: e }) {+function rG({ name: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })});}-function tG({ scope: e, count: t }) {+function iG({ scope: e, count: t }) {return t ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [" ", /* @__PURE__ */ (0, D.jsx)("span", {"data-count-badge": `junk:${e}`,children: t.toLocaleString()})] }) : null;}-function wPe({ route: e, page: t, failed: n, onNavigate: r }) {- let i = Jk(), a = (0, E.useRef)(null), { kind: o, view: s } = e, c = oj(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? JW.map(([e]) => GW(t, e)).join(",") : ""}`), l = ZW(s), u = (e) => {+function SPe({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = Zk(), a = (0, E.useRef)(null), { kind: o, view: s } = e, c = lj(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? ZW.map(([e]) => JW(t, e)).join(",") : ""}`), l = eG(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") || XW()));+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || $W()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";return /* @__PURE__ */ (0, D.jsxs)("div", {"data-junk-count": "",children: [/* @__PURE__ */ (0, D.jsx)("div", {"data-junk-summary": "","aria-live": "polite",- children: /* @__PURE__ */ (0, D.jsx)(UU, {- label: QW(s),+ children: /* @__PURE__ */ (0, D.jsx)(KU, {+ label: tG(s),figure: d,pending: !t && !n,flush: !0@@ -70789,17 +70798,17 @@ function wPe({ route: e, page: t, failed: n, onNavigate: r }) {onClick: u,onPointerLeave: c.leave,children: [- JW.map(([e, n, r]) => /* @__PURE__ */ (0, D.jsxs)("a", {- href: XW(e, s),+ ZW.map(([e, n, r]) => /* @__PURE__ */ (0, D.jsxs)("a", {+ href: $W(e, s),"data-junk-kind-link": e,"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,children: [- /* @__PURE__ */ (0, D.jsx)(eG, { name: r }),+ /* @__PURE__ */ (0, D.jsx)(rG, { name: r }),n,- /* @__PURE__ */ (0, D.jsx)(tG, {+ /* @__PURE__ */ (0, D.jsx)(iG, {scope: e,- count: t ? GW(t, e) : 0+ count: t ? JW(t, e) : 0})]}, e || "all")),@@ -70813,9 +70822,9 @@ function wPe({ 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, D.jsx)(eG, { name: l.glyph }),+ /* @__PURE__ */ (0, D.jsx)(rG, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, D.jsx)(tG, {+ /* @__PURE__ */ (0, D.jsx)(iG, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -70828,33 +70837,33 @@ function wPe({ route: e, page: t, failed: n, onNavigate: r }) {}//#endregion//#region src/react/junk-queue/junk-queue-page.tsx-var TPe = hP("check"), EPe = (e, t) => e[1] === t.view && e[2] === t.kind;-function DPe(e) {+var CPe = vP("check"), wPe = (e, t) => e[1] === t.view && e[2] === t.kind;+function TPe(e) {let t = {kind: e.kind,view: e.view}, n = _t({- queryKey: _Pe(t, e.revision),- queryFn: ({ signal: e }) => yPe(t, e),- placeholderData: (e, n) => n && EPe(n.queryKey, t) ? e : void 0+ queryKey: hPe(t, e.revision),+ queryFn: ({ signal: e }) => _Pe(t, e),+ placeholderData: (e, n) => n && wPe(n.queryKey, t) ? e : void 0});(0, E.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = OPe(e.countRow), i = n.isPending;+ let r = EPe(e.countRow), i = n.isPending;(0, E.useLayoutEffect)(() => {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, E.useLayoutEffect)(() => {r && n.data && Jo(r, "junk");}, [r, n.data]);- let { navigate: a } = e.actions, o = r ? (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(wPe, {+ let { navigate: a } = e.actions, o = r ? (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(SPe, {route: t,page: n.data,failed: n.isError && !n.data,onNavigate: a}), r) : null;- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [o, /* @__PURE__ */ (0, D.jsx)(kPe, {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [o, /* @__PURE__ */ (0, D.jsx)(DPe, {props: e,data: n.data,pending: i,@@ -70862,7 +70871,7 @@ function DPe(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function OPe(e) {+function EPe(e) {let [t, n] = (0, E.useState)(null);return (0, E.useLayoutEffect)(() => {if (!e) return;@@ -70872,8 +70881,8 @@ function OPe(e) {};}, [e]), t;}-function kPe({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = CI(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, E.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, E.useCallback)(() => {+function DPe({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = EI(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, E.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, E.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, D.jsxs)("div", {@@ -70881,16 +70890,16 @@ function kPe({ 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, D.jsx)(wI, {+ if (!t) return /* @__PURE__ */ (0, D.jsx)(DI, {message: Rt(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";- return /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: TPe,+ return /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: CPe,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",- actions: t ? /* @__PURE__ */ (0, D.jsx)(Wk, {+ actions: t ? /* @__PURE__ */ (0, D.jsx)(qk, {size: "small",href: "/junk-files",children: "查看待判断"@@ -70903,7 +70912,7 @@ function kPe({ 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, D.jsx)(xPe, {+ children: u.map((t) => /* @__PURE__ */ (0, D.jsx)(yPe, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -70912,7 +70921,7 @@ function kPe({ props: e, data: t, pending: n, error: r, retry: i }) {actions: e.actions}, t.id))}),- u.length < l.length ? /* @__PURE__ */ (0, D.jsx)(APe, { onMore: f }, s) : null,+ u.length < l.length ? /* @__PURE__ */ (0, D.jsx)(OPe, { onMore: f }, s) : null,u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, D.jsx)("p", {"data-junk-truncated": "",className: "py-6 text-center text-caption-1-regular text-text-secondary",@@ -70922,7 +70931,7 @@ function kPe({ props: e, data: t, pending: n, error: r, retry: i }) {})()]});}-function APe({ onMore: e }) {+function OPe({ onMore: e }) {let t = (0, E.useRef)(null);return (0, E.useEffect)(() => {let n = t.current;@@ -70940,9 +70949,9 @@ function APe({ onMore: e }) {}//#endregion//#region src/react/jav/discovery-faces.tsx-function jPe({ item: e }) {+function kPe({ item: e }) {let t = e.performer_refs?.length ? e.performer_refs : [...new Set(e.performers.split(/[,,、;/]/).filter(Boolean))].map((e) => ({ name: e })), n = t.slice(0, 5).map((t, n) => {- let r = { "--media-avatar-index": n }, i = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, D.jsx)(EU, {+ let r = { "--media-avatar-index": n }, i = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, D.jsx)(kU, {code: e.code,person: t}) } : { dangerouslySetInnerHTML: { __html: Sa(t.name, t, null) } };@@ -70967,18 +70976,18 @@ function jPe({ item: e }) {}//#endregion//#region src/react/jav/jav-navigation.ts-var nG = [+var aG = [["library", "馆藏"],["discover", "发现"],["wants", "想要"]-], rG = (e) => nG.some(([t]) => t === e) ? e : "library", MPe = (e) => rG(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;-function NPe(e) {+], oG = (e) => aG.some(([t]) => t === e) ? e : "library", APe = (e) => oG(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;+function jPe(e) {let t = new URLSearchParams(e);return t.delete("tab"), t.set("jav", "1"), "/?" + t;}//#endregion//#region src/react/jav/discovery-sorts.ts-var iG = [+var sG = [["taste","口味",@@ -70986,7 +70995,7 @@ var iG = [],["release_date",- ET[1],+ OT[1],"按发行日期排序"],[@@ -71005,10 +71014,10 @@ var iG = ["按番号排序"]];-function aG(e) {+function cG(e) {return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";}-function PPe(e) {+function MPe(e) {if (typeof e != "number" || !Number.isFinite(e)) return {score: "—",label: "资料未取得",@@ -71034,8 +71043,8 @@ function PPe(e) {}//#endregion//#region src/jav-skeleton.ts-var oG = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, FPe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, sG = "w-full min-w-0";-function cG() {+var lG = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, NPe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, uG = "w-full min-w-0";+function dG() {return ["w-20","w-16",@@ -71045,26 +71054,26 @@ function cG() {"w-24"].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-7.5 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");}-function lG(e, t = KT()) {- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${oG("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${FPe("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">${oG("80%")}${oG("60%")}${oG("40%")}</div></div>`).join("")}</div>`;- let n = ZT({- ...XT({+function fG(e, t = JT()) {+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${lG("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${NPe("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">${lG("80%")}${lG("60%")}${lG("40%")}</div></div>`).join("")}</div>`;+ let n = $T({+ ...QT({active: !0,home: !1,portrait: !1}),size: t});- return `<div data-media-grid class="${sG}" 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="${uG}" 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>${oG("85%")}${oG("65%")}</div><div data-media-byline>${oG("55%")}</div>+ <div data-media-title>${lG("85%")}${lG("65%")}</div><div data-media-byline>${lG("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 IPe(e) {+function PPe(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>${Do({@@ -71072,42 +71081,42 @@ function IPe(e) {label: "查找资源",attrs: "disabled data-skeleton-action"})}</div>- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${nG.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${aG.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}">${Eo("筛选番号、女优或标题", "", 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>${oG("100%")}</div>${lG(e)}` : `<section class="flex min-w-0 flex-col gap-4">${LPe()}${lG(e)}</section>`}</div></div>`;+ ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${lG("100%")}</div>${fG(e)}` : `<section class="flex min-w-0 flex-col gap-4">${FPe()}${fG(e)}</section>`}</div></div>`;}-function LPe() {- let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-7.5 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="" ${KT() === e ? "data-selected=\"true\"" : ""} class="flex size-7.5 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${wo(t, "size-4")}</span>`;+function FPe() {+ let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-7.5 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="" ${JT() === e ? "data-selected=\"true\"" : ""} class="flex size-7.5 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${wo(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>${cG()}</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>${dG()}</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>${To()}<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${wo("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>- ${iG.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? wo("arrow-down", "size-3.5") : ""}</button>`).join("")}+ ${sG.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? wo("arrow-down", "size-3.5") : ""}</button>`).join("")}</span></div></div>`;}//#endregion//#region src/react/activity/work-code.ts-var uG = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), dG = (e, t) => !!uG(e) && uG(e) === uG(t);+var pG = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), mG = (e, t) => !!pG(e) && pG(e) === pG(t);//#endregion//#region src/react/activity/resource-search.tsx-function RPe({ className: e }) {+function IPe({ className: e }) {return /* @__PURE__ */ (0, D.jsx)("span", {className: e,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: Ro("") }});}-function zPe(e) {+function LPe(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function BPe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {- let [a, o] = (0, E.useState)(e), [s, c] = (0, E.useState)(() => zPe(t)), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(null), [h, g] = (0, E.useState)(""), [_, v] = (0, E.useState)(""), y = nA(), b = (0, E.useRef)(null);+function RPe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {+ let [a, o] = (0, E.useState)(e), [s, c] = (0, E.useState)(() => LPe(t)), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(null), [h, g] = (0, E.useState)(""), [_, v] = (0, E.useState)(""), y = aA(), b = (0, E.useRef)(null);(0, E.useEffect)(() => () => b.current?.abort(), []);let x = () => {if (!a.trim() || y.busy) return;@@ -71123,7 +71132,7 @@ function BPe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {let e = new AbortController();b.current = e, H(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {if (e.signal.aborted) return;- let r = (n.items || []).find((e) => dG(e.code, t));+ let r = (n.items || []).find((e) => mG(e.code, t));i(r ? {code: r.code,title: String(r.catalog_title || r.name || ""),@@ -71144,18 +71153,18 @@ function BPe({ 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, D.jsxs)(uA, { children: [+ t ? /* @__PURE__ */ (0, D.jsxs)(pA, { children: ["版本目标:",t,"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"] }) : null,- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "按番号查找资源",value: a,maxLength: 80,placeholder: "输入番号,按回车搜索",enterKeyHint: "search",- leadingIcon: y.busy ? RPe : Bk,+ leadingIcon: y.busy ? IPe : Uk,isReadOnly: !!y.busy,"aria-busy": !!y.busy,onChange: o,@@ -71165,7 +71174,7 @@ function BPe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(fA, { children: "优先寻找" }), /* @__PURE__ */ (0, D.jsxs)(FF, {+ children: [/* @__PURE__ */ (0, D.jsx)(hA, { children: "优先寻找" }), /* @__PURE__ */ (0, D.jsxs)(RF, {"aria-label": "优先寻找",selectedKey: s,isDisabled: !!y.busy,@@ -71173,15 +71182,15 @@ function BPe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {e !== null && c(String(e));},children: [- /* @__PURE__ */ (0, D.jsx)(IF, {+ /* @__PURE__ */ (0, D.jsx)(zF, {id: "quality",children: "高清"}),- /* @__PURE__ */ (0, D.jsx)(IF, {+ /* @__PURE__ */ (0, D.jsx)(zF, {id: "chinese",children: "中字"}),- /* @__PURE__ */ (0, D.jsx)(IF, {+ /* @__PURE__ */ (0, D.jsx)(zF, {id: "uncensored",children: "无码"})@@ -71190,32 +71199,32 @@ function BPe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex gap-3 max-sm:flex-col",- children: [/* @__PURE__ */ (0, D.jsx)(dP, {+ children: [/* @__PURE__ */ (0, D.jsx)(mP, {label: "最小体积(GiB)",inputMode: "decimal",value: l,onChange: u- }), /* @__PURE__ */ (0, D.jsx)(dP, {+ }), /* @__PURE__ */ (0, D.jsx)(mP, {label: "最大体积(GiB)",inputMode: "decimal",value: d,onChange: f})]}),- y.busy ? /* @__PURE__ */ (0, D.jsx)(uA, {+ y.busy ? /* @__PURE__ */ (0, D.jsx)(pA, {role: "status",children: "正在搜索资源"}) : null,- y.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: y.error }) : null,- p?.error ? /* @__PURE__ */ (0, D.jsx)(uA, {+ y.error ? /* @__PURE__ */ (0, D.jsx)(mA, { children: y.error }) : null,+ p?.error ? /* @__PURE__ */ (0, D.jsx)(pA, {role: "status",children: p.error}) : null,- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, D.jsx)(uA, {+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, D.jsx)(pA, {role: "status",children: "没有符合条件的资源。"}) : null,- p?.warnings.map((e) => /* @__PURE__ */ (0, D.jsx)(uA, { children: e }, e)),+ p?.warnings.map((e) => /* @__PURE__ */ (0, D.jsx)(pA, { children: e }, e)),p?.items.length ? /* @__PURE__ */ (0, D.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: p.items.map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {@@ -71225,7 +71234,7 @@ function BPe({ 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, D.jsx)(uA, { children: [+ /* @__PURE__ */ (0, D.jsx)(pA, { children: [e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",e.resolution ? `${e.resolution}p` : "",@@ -71250,19 +71259,19 @@ function BPe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}//#endregion//#region src/react/activity/cloud-download-dialog.tsx-var VPe = {+var zPe = {submitted: "已提交离线下载,进度在任务中心",adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"};-function fG({ prefill: e, close: t, receipt: n, provider: r }) {- return /* @__PURE__ */ (0, D.jsx)(fP, {+function hG({ prefill: e, close: t, receipt: n, provider: r }) {+ return /* @__PURE__ */ (0, D.jsx)(hP, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",- children: e ? /* @__PURE__ */ (0, D.jsx)(HPe, {+ children: e ? /* @__PURE__ */ (0, D.jsx)(BPe, {prefill: e,close: t,receipt: n,@@ -71270,26 +71279,26 @@ function fG({ prefill: e, close: t, receipt: n, provider: r }) {}) : null});}-function HPe({ prefill: e, close: t, receipt: n, provider: r }) {+function BPe({ prefill: e, close: t, receipt: n, provider: r }) {let i = _t({- queryKey: zA,- queryFn: ({ signal: e }) => H(`${RA}?limit=50`, e),- refetchInterval: (e) => BA(e.state.data)+ queryKey: HA,+ queryFn: ({ signal: e }) => H(`${VA}?limit=50`, e),+ refetchInterval: (e) => UA(e.state.data)}), a = i.data, o = /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex items-center justify-between gap-4 px-5 pt-5",- children: [/* @__PURE__ */ (0, D.jsx)(Oj, {+ children: [/* @__PURE__ */ (0, D.jsx)(jj, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "查找资源"}), /* @__PURE__ */ (0, D.jsx)(q, {variant: "ghost",iconOnly: !0,- leadingIcon: Ok,+ leadingIcon: jk,"aria-label": "关闭资源面板",onClick: t})]});- return a ? /* @__PURE__ */ (0, D.jsx)(UPe, {+ return a ? /* @__PURE__ */ (0, D.jsx)(VPe, {header: o,snapshot: a,prefill: e,@@ -71318,8 +71327,8 @@ function HPe({ prefill: e, close: t, receipt: n, provider: r }) {]});}-function UPe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {- let o = k(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, E.useState)(c?.key || ""), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(n.code ?? ""), [h, g] = (0, E.useState)(c?.target || ""), [_, v] = (0, E.useState)(n.code ? n : null), [y, b] = (0, E.useState)(""), x = t.available && s.some((e) => e.key === l), S = nA(), C = (0, E.useRef)(null), w = (e) => {+function VPe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {+ let o = k(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, E.useState)(c?.key || ""), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(n.code ?? ""), [h, g] = (0, E.useState)(c?.target || ""), [_, v] = (0, E.useState)(n.code ? n : null), [y, b] = (0, E.useState)(""), x = t.available && s.some((e) => e.key === l), S = aA(), C = (0, E.useRef)(null), w = (e) => {u(e), g(s.find((t) => t.key === e)?.target ?? "");};return /* @__PURE__ */ (0, D.jsxs)("form", {@@ -71335,14 +71344,14 @@ function UPe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providetitle: _?.title,origin: _?.origin};- b(""), S.run("submit", (e) => U(RA, t, "POST", e), (e) => {- o.invalidateQueries({ queryKey: zA });- let t = VPe[e.outcome];+ b(""), S.run("submit", (e) => U(VA, t, "POST", e), (e) => {+ o.invalidateQueries({ queryKey: HA });+ let t = zPe[e.outcome];if (e.ok && t) {i(t), r();return;}- let n = HA(e.task);+ let n = GA(e.task);b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");});},@@ -71366,7 +71375,7 @@ function UPe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: [/* @__PURE__ */ (0, D.jsx)("p", {className: "break-words text-body-medium text-text-primary",children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"- }), _ ? /* @__PURE__ */ (0, D.jsx)(uA, { children: [+ }), _ ? /* @__PURE__ */ (0, D.jsx)(pA, { children: [_.performers,_.studio,_.release_date,@@ -71374,22 +71383,22 @@ function UPe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide].filter(Boolean).join(" · ") }) : null]})]}) : null,- /* @__PURE__ */ (0, D.jsx)(BPe, {+ /* @__PURE__ */ (0, D.jsx)(RPe, {initialCode: n.code ?? "",reason: n.searchReason,onSearch: (e) => {- dG(e, _?.code) || (v(dG(e, n.code) ? n : null), f("")), m(e);+ mG(e, _?.code) || (v(mG(e, n.code) ? n : null), f("")), m(e);},- onWork: (e) => v((t) => e ? dG(t?.code, e.code) ? {+ onWork: (e) => v((t) => e ? mG(t?.code, e.code) ? {...t,...e,origin: t?.origin || e.origin- } : e : dG(t?.code, n.code) ? t : null),+ } : e : mG(t?.code, n.code) ? t : null),choose: (e, t) => {f(e), m(t), C.current?.focus();}}),- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {ref: C,label: "磁力链接",placeholder: "magnet:?xt=urn:btih:…",@@ -71401,24 +71410,24 @@ function UPe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1",children: [- /* @__PURE__ */ (0, D.jsx)(fA, { children: "下载到" }),- /* @__PURE__ */ (0, D.jsx)(FF, {+ /* @__PURE__ */ (0, D.jsx)(hA, { children: "下载到" }),+ /* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": "下载到",selectedKey: l || null,isDisabled: !s.length,onSelectionChange: (e) => {e !== null && w(String(e));},- children: s.map((e) => /* @__PURE__ */ (0, D.jsx)(IF, {+ children: s.map((e) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e.key,textValue: e.label,- children: /* @__PURE__ */ (0, D.jsx)(IA, {+ children: /* @__PURE__ */ (0, D.jsx)(zA, {source: e.key,label: e.label})}, e.key))}),- l === "115" ? /* @__PURE__ */ (0, D.jsx)(uA, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null+ l === "115" ? /* @__PURE__ */ (0, D.jsx)(pA, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null]}),t.available ? null : /* @__PURE__ */ (0, D.jsx)(J, {@@ -71432,7 +71441,7 @@ function UPe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: "下载渠道设置"})]}),- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "目标目录",placeholder: "/云下载",autoComplete: "off",@@ -71440,17 +71449,17 @@ function UPe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providevalue: h,onChange: g}),- n.code ? null : /* @__PURE__ */ (0, D.jsx)(dP, {+ n.code ? null : /* @__PURE__ */ (0, D.jsx)(mP, {label: "番号",placeholder: "可不填",autoComplete: "off",maxLength: 60,value: p,onChange: (e) => {- m(e), dG(e, _?.code) || v(null);+ m(e), mG(e, _?.code) || v(null);}}),- y || S.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: y || S.error }) : null+ y || S.error ? /* @__PURE__ */ (0, D.jsx)(mA, { children: y || S.error }) : null]}),/* @__PURE__ */ (0, D.jsxs)("div", {@@ -71471,18 +71480,18 @@ function UPe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}//#endregion//#region src/react/wants/wants.ts-var pG = "/api/wants", mG = ["wants"], WPe = (e) => [+var gG = "/api/wants", _G = ["wants"], HPe = (e) => ["wants","follow",e-], GPe = [+], UPe = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], hG = (e) => H(pG, e);-function KPe(e, t) {- W.setQueryData(mG, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {+], vG = (e) => H(gG, e);+function WPe(e, t) {+ W.setQueryData(_G, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {...n,items: n.items.map((n) => n.id === e ? {...n,@@ -71490,26 +71499,26 @@ function KPe(e, t) {} : n)} : n);}-var qPe = (e, t) => H(`${pG}?follow=${encodeURIComponent(e)}`, t), gG = (e, t) => U(pG, {+var GPe = (e, t) => H(`${gG}?follow=${encodeURIComponent(e)}`, t), yG = (e, t) => U(gG, {action: "add",...e-}, "POST", t), _G = (e, t) => U(pG, {+}, "POST", t), bG = (e, t) => U(gG, {action: "remove",ids: e-}, "POST", t), JPe = (e, t) => U(pG, {+}, "POST", t), KPe = (e, t) => U(gG, {action: "reset",ids: e-}, "POST", t), vG = () => W.invalidateQueries({ queryKey: mG }), yG = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function YPe(e) {+}, "POST", t), xG = () => W.invalidateQueries({ queryKey: _G }), SG = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+function qPe(e) {return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";}//#endregion//#region src/react/publication-cache.ts-var bG = 864e5, xG = (e) => {+var CG = 864e5, wG = (e) => {let t = new Date(e);return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());};-function SG(e) {+function TG(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));@@ -71517,26 +71526,26 @@ function SG(e) {let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();return Date.UTC(n, r + 1, Math.min(i, o));}-function XPe(e, t = Date.now()) {- let n = SG(e);- return n !== void 0 && xG(t) > n ? Infinity : bG;+function JPe(e, t = Date.now()) {+ let n = TG(e);+ return n !== void 0 && wG(t) > n ? Infinity : CG;}-function CG(e, t, n = Date.now()) {- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : XPe(t, n) === Infinity ? xG(e) > SG(t) : n - e < bG;+function EG(e, t, n = Date.now()) {+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : JPe(t, n) === Infinity ? wG(e) > TG(t) : n - e < CG;}//#endregion//#region src/react/wants/resource-cache.ts-var wG = "peach.want-resources.v1";-function TG(e) {+var DG = "peach.want-resources.v1";+function OG(e) {return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);}-function EG(e, t, n) {- return !!e && !e.cache_stale && (e.state === "error" || !TG(e) ? Date.now() - t < 6e4 : CG(t, n));+function kG(e, t, n) {+ return !!e && !e.cache_stale && (e.state === "error" || !OG(e) ? Date.now() - t < 6e4 : EG(t, n));}-function DG() {+function AG() {try {- let e = JSON.parse(localStorage.getItem(wG) || "[]");- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && TG(e.result) && e.result.items.every((e) => e && [+ let e = JSON.parse(localStorage.getItem(DG) || "[]");+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && OG(e.result) && e.result.items.every((e) => e && ["magnet","ed2k","url"@@ -71545,23 +71554,23 @@ function DG() {return [];}}-function ZPe(e, t) {- let n = DG().find((t) => t.code === e);- return n && CG(n.saved, t) ? n : void 0;+function YPe(e, t) {+ let n = AG().find((t) => t.code === e);+ return n && EG(n.saved, t) ? n : void 0;}-function QPe(e) {- let t = new Map(DG().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();+function XPe(e) {+ let t = new Map(AG().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 && CG(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));+ e && EG(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));}return n;}-function $Pe(e, t) {- if (t.state === "ready" && TG(t)) try {- let n = DG().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");- localStorage.setItem(wG, JSON.stringify([{+function ZPe(e, t) {+ if (t.state === "ready" && OG(t)) try {+ let n = AG().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");+ localStorage.setItem(DG, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -71570,16 +71579,16 @@ function $Pe(e, t) {}//#endregion//#region src/react/wants/resource-display.ts-function eFe(e) {+function QPe(e) {let t = /^([\d,]+)\s*B$/i.exec(e.trim());return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? dn(Number(t[1].replaceAll(",", ""))) : e || "大小未知";}-function tFe(e) {+function $Pe(e) {return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;}//#endregion//#region src/react/wants/want-magnets.tsx-function OG({ icon: e, children: t, title: n }) {+function jG({ icon: e, children: t, title: n }) {return /* @__PURE__ */ (0, D.jsxs)("span", {title: n,className: "inline-flex items-center gap-1",@@ -71589,8 +71598,8 @@ function OG({ icon: e, children: t, title: n }) {}), t]});}-function kG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {- let s = (0, E.useRef)(null), [c, l] = (0, E.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, E.useState)([]), f = nA(), p = k(), m = (0, E.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, E.useMemo)(() => ZPe(h, e.release_date), [h, e.release_date]);+function MG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {+ let s = (0, E.useRef)(null), [c, l] = (0, E.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, E.useState)([]), f = aA(), p = k(), m = (0, E.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, E.useMemo)(() => YPe(h, e.release_date), [h, e.release_date]);(0, E.useEffect)(() => {if (!s.current || c) return;let e = new IntersectionObserver((t) => {@@ -71610,22 +71619,22 @@ function kG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc],queryFn: async ({ signal: t }) => {let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await H(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);- return m.current = n && i.state === "busy", $Pe(h, i), i;+ return m.current = n && i.state === "busy", ZPe(h, i), i;},initialData: g?.result,initialDataUpdatedAt: g?.saved,enabled: c,retry: !1,- staleTime: (t) => EG(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,+ staleTime: (t) => kG(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,gcTime: 864e5,- refetchOnMount: (t) => !EG(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",+ refetchOnMount: (t) => !kG(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, E.useEffect)(() => {_.data?.source_url && a?.(_.data.source_url);}, [_.data?.source_url, a]), (0, E.useEffect)(() => {- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && KPe(e.id, _.data.items.some((e) => e.protocol === "magnet"));+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && WPe(e.id, _.data.items.some((e) => e.protocol === "magnet"));}, [_.data,o,@@ -71633,7 +71642,7 @@ function kG({ 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 U(RA, {+ let n = await U(VA, {magnet: r.uri,provider: v.key,target: v.target,@@ -71644,7 +71653,7 @@ function kG({ 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: zA });+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: HA });});}, b = (e) => {f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));@@ -71662,7 +71671,7 @@ function kG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}), /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: zk,+ leadingIcon: Hk,...Y(x),onClick: () => {x || (m.current = !0, _.refetch());@@ -71670,7 +71679,7 @@ function kG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcchildren: "重新查询"})]}),- x ? /* @__PURE__ */ (0, D.jsx)(Qk, { label: "正在查找资源链接…" }) : null,+ x ? /* @__PURE__ */ (0, D.jsx)(tA, { label: "正在查找资源链接…" }) : null,S ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: "资源链接未取得",@@ -71678,13 +71687,13 @@ function kG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}) : null,_.data?.warnings?.map((e) => /* @__PURE__ */ (0, D.jsx)(J, {tone: "neutral",- children: tFe(e)+ children: $Pe(e)}, e)),- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, D.jsx)(Wk, {+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, D.jsx)(qk, {variant: "secondary",size: "small",className: "self-start",- trailingIcon: Mk,+ trailingIcon: Fk,href: _.data.source_url,target: "_blank",rel: "noopener noreferrer",@@ -71709,7 +71718,7 @@ function kG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcclassName: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(Hk, {+ children: [/* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption",color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"@@ -71723,26 +71732,26 @@ function kG({ 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, D.jsx)(OG, {- icon: Wve,+ /* @__PURE__ */ (0, D.jsx)(jG, {+ icon: Hve,children: e.source}),- /* @__PURE__ */ (0, D.jsx)(OG, {- icon: Fk,+ /* @__PURE__ */ (0, D.jsx)(jG, {+ icon: Rk,title: `来源大小:${e.size}`,- children: eFe(e.size)+ children: QPe(e.size)}),- e.files ? /* @__PURE__ */ (0, D.jsx)(OG, {- icon: Pve,+ e.files ? /* @__PURE__ */ (0, D.jsx)(jG, {+ icon: Mve,children: e.files.replaceAll("個", "个")}) : null,- /* @__PURE__ */ (0, D.jsx)(OG, {- icon: Cve,+ /* @__PURE__ */ (0, D.jsx)(jG, {+ icon: xve,title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",children: e.date ? e.date.slice(0, 10) : "日期未知"}),- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, D.jsx)(OG, {- icon: Rk,+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, D.jsx)(jG, {+ icon: Vk,children: e}, e))]@@ -71754,7 +71763,7 @@ function kG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource.protocol === "magnet" ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "primary",size: "small",- leadingIcon: v ? PA(v.key) : kve,+ leadingIcon: v ? LA(v.key) : Dve,title: v ? `下载到 ${v.label}` : void 0,disabled: t || !n?.available || !v || r,...Y(f.busy === e.id),@@ -71764,16 +71773,16 @@ function kG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc/* @__PURE__ */ (0, D.jsx)(q, {variant: e.protocol === "magnet" ? "secondary" : "primary",size: "small",- leadingIcon: Mve,+ leadingIcon: Ave,...Y(f.busy === `copy:${e.id}`),onClick: () => b(e),children: "复制链接"}),- /* @__PURE__ */ (0, D.jsx)(Wk, {+ /* @__PURE__ */ (0, D.jsx)(qk, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: Mk,+ trailingIcon: Fk,href: e.source_url,target: "_blank",rel: "noopener noreferrer",@@ -71786,7 +71795,7 @@ function kG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcreturn /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: e.slice(0, 3)- }), e.length > 3 ? /* @__PURE__ */ (0, D.jsx)(gA, {+ }), e.length > 3 ? /* @__PURE__ */ (0, D.jsx)(yA, {summary: `更多资源(${e.length - 3} 条)`,children: /* @__PURE__ */ (0, D.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",@@ -71799,21 +71808,21 @@ function kG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}//#endregion//#region src/react/wants/want-list.tsx-var nFe = {+var eFe = {code: "手动添加",feed: "订阅新作",follow: "关注"-}, rFe = [+}, tFe = [["all", "全部"],["available", "有磁链"],["missing", "没磁链"]-], AG = (e) => [+], NG = (e) => [e.release_date,e.studio,e.performers,- nFe[e.origin]+ eFe[e.origin]].filter(Boolean).join(" · ");-function iFe({ want: e }) {+function nFe({ want: e }) {return /* @__PURE__ */ (0, D.jsxs)("span", {className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default max-sm:w-24",children: [/* @__PURE__ */ (0, D.jsx)("span", {@@ -71829,39 +71838,39 @@ function iFe({ want: e }) {}) : null]});}-function aFe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {+function rFe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {let [l, u] = (0, E.useState)(""), d = e.link || l || (e.code ? `https://javdb.com/search?q=${encodeURIComponent(e.code)}&f=all` : "");return /* @__PURE__ */ (0, D.jsxs)("li", {"data-want-id": e.id,- className: qk({+ className: Xk({bordered: "soft",className: "flex flex-col gap-4 max-sm:p-4"}),children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 items-start gap-4 max-sm:gap-3",- children: [/* @__PURE__ */ (0, D.jsx)(iFe, { want: e }), /* @__PURE__ */ (0, D.jsxs)("div", {+ children: [/* @__PURE__ */ (0, D.jsx)(nFe, { want: e }), /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-1",children: [/* @__PURE__ */ (0, D.jsxs)("p", {className: "flex min-w-0 flex-wrap items-baseline gap-x-2",children: [/* @__PURE__ */ (0, D.jsx)("b", {className: "min-w-0 text-headline-medium wrap-anywhere text-text-primary",- children: yG(e)+ children: SG(e)}), e.code && e.title ? /* @__PURE__ */ (0, D.jsx)("span", {className: "min-w-0 truncate text-body-2-regular text-text-secondary",children: e.title}) : null]}),- AG(e) ? /* @__PURE__ */ (0, D.jsx)("p", {+ NG(e) ? /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: AG(e)+ children: NG(e)}) : null,!e.code || e.phase === "unreleased" || e.phase === "acquired" ? /* @__PURE__ */ (0, D.jsx)("p", {"data-want-note": "",className: "text-caption-1-regular text-text-secondary",- children: YPe(e)+ children: qPe(e)}) : null,- e.scrape_error ? /* @__PURE__ */ (0, D.jsx)(sW, {+ e.scrape_error ? /* @__PURE__ */ (0, D.jsx)(uW, {text: e.scrape_error,prefix: "资料未取得:",tone: "muted"@@ -71886,17 +71895,17 @@ function aFe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: jk,+ leadingIcon: Pk,disabled: t,...Y(n === `remove:${e.id}`),onClick: i,children: "移除"}),- d ? /* @__PURE__ */ (0, D.jsx)(Wk, {+ d ? /* @__PURE__ */ (0, D.jsx)(qk, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: Mk,+ trailingIcon: Fk,href: d,target: "_blank",rel: "noopener noreferrer",@@ -71906,7 +71915,7 @@ function aFe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo})]})]- }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, D.jsx)(kG, {+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, D.jsx)(MG, {want: e,readOnly: t,downloads: o,@@ -71916,8 +71925,8 @@ function aFe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo}) : null]});}-function oFe({ phase: e, label: t, rows: n, row: r }) {- let [i, a] = (0, E.useState)(1), [o, s] = (0, E.useState)("all"), c = QPe(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = Sr(d.length, 20, i);+function iFe({ phase: e, label: t, rows: n, row: r }) {+ let [i, a] = (0, E.useState)(1), [o, s] = (0, E.useState)("all"), c = XPe(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = Sr(d.length, 20, i);return /* @__PURE__ */ (0, D.jsxs)("section", {"aria-label": t,"data-want-phase": e,@@ -71931,19 +71940,19 @@ function oFe({ phase: e, label: t, rows: n, row: r }) {className: "text-body-2-regular tabular-nums text-text-secondary",children: n.length.toLocaleString()})]- }), e === "searching" ? /* @__PURE__ */ (0, D.jsx)(UF, {+ }), e === "searching" ? /* @__PURE__ */ (0, D.jsx)(KF, {name: "want-magnet-filter","aria-label": "待找磁链筛选",orientation: "horizontal",value: o,- className: WF,+ className: qF,onChange: (e) => {s(e), a(1);},- children: rFe.map(([e, t]) => /* @__PURE__ */ (0, D.jsxs)(yN, {+ children: tFe.map(([e, t]) => /* @__PURE__ */ (0, D.jsxs)(SN, {value: e,"aria-label": t,- className: GF,+ className: JF,children: [t, /* @__PURE__ */ (0, D.jsx)("span", {className: "text-caption-1-regular tabular-nums text-text-tertiary",children: (e === "all" ? n.length : e === "available" ? u.length : n.length - u.length).toLocaleString()@@ -71951,9 +71960,9 @@ function oFe({ phase: e, label: t, rows: n, row: r }) {}, e))}) : null]}),- d.length ? null : /* @__PURE__ */ (0, D.jsx)(Zk, {+ d.length ? null : /* @__PURE__ */ (0, D.jsx)(eA, {size: "compact",- icon: Yve,+ icon: qve,title: "暂无符合条件的作品",actions: /* @__PURE__ */ (0, D.jsx)(q, {size: "small",@@ -71974,7 +71983,7 @@ function oFe({ phase: e, label: t, rows: n, row: r }) {children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-2-regular tabular-nums text-text-secondary",children: `${(f.start + 1).toLocaleString()}–${f.end.toLocaleString()} / ${f.total.toLocaleString()} 条`- }), /* @__PURE__ */ (0, D.jsx)(fz, {+ }), /* @__PURE__ */ (0, D.jsx)(hz, {label: `${t}分页`,page: f.page,pages: f.pages,@@ -71984,34 +71993,34 @@ function oFe({ phase: e, label: t, rows: n, row: r }) {]});}-function sFe({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {- let [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(null), c = nA(), l = _t({- queryKey: mG,- queryFn: ({ signal: e }) => hG(e),+function aFe({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {+ let [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(null), c = aA(), l = _t({+ queryKey: _G,+ queryFn: ({ signal: e }) => vG(e),staleTime: 3e4,refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1}), u = () => {let n = i.trim();- n && !e && c.run("add", (e) => gG({ code: n }, e), (e) => {- t(e.created ? `已加入想要:${yG(e.want)}` : `${yG(e.want)} 已经在想要里`), a(""), vG();+ n && !e && c.run("add", (e) => yG({ code: n }, e), (e) => {+ t(e.created ? `已加入想要:${SG(e.want)}` : `${SG(e.want)} 已经在想要里`), a(""), xG();});}, d = (e) => {e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), u());}, f = (e) => {- c.run(`remove:${e.id}`, (t) => _G([e.id], t), () => {- t(`已移除:${yG(e)}`), vG();+ c.run(`remove:${e.id}`, (t) => bG([e.id], t), () => {+ t(`已移除:${SG(e)}`), xG();});}, p = (e) => {- c.run(`reset:${e.id}`, (t) => JPe([e.id], t), () => {- t(`${yG(e)} 回到待找`), vG();+ c.run(`reset:${e.id}`, (t) => KPe([e.id], t), () => {+ t(`${SG(e)} 回到待找`), xG();});}, m = l.data, h = (m?.items || []).filter((e) => !n || [e.code,e.title,e.performers].join(" ").toLocaleLowerCase().includes(n.toLocaleLowerCase())), g = _t({- queryKey: zA,- queryFn: ({ signal: e }) => H(`${RA}?limit=100`, e),+ queryKey: HA,+ queryFn: ({ signal: e }) => H(`${VA}?limit=100`, e),enabled: h.some((e) => e.code && (e.phase === "searching" || e.phase === "given_up"))}), _ = g.data?.providers.filter((e) => e.configured) || [], v = _[0]?.key || "";return /* @__PURE__ */ (0, D.jsxs)("div", {@@ -72019,7 +72028,7 @@ function sFe({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {className: "flex flex-col gap-8",children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: qk({+ className: Xk({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -72032,7 +72041,7 @@ function sFe({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-64 grow max-sm:min-w-0",- children: /* @__PURE__ */ (0, D.jsx)(dP, {+ children: /* @__PURE__ */ (0, D.jsx)(mP, {"aria-label": "番号",placeholder: "输入番号,例如 SSIS-950",value: i,@@ -72063,9 +72072,9 @@ function sFe({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {l.isPending ? /* @__PURE__ */ (0, D.jsx)("div", {role: "status","aria-label": "正在读取想要",- dangerouslySetInnerHTML: { __html: lG("wants") }+ dangerouslySetInnerHTML: { __html: fG("wants") }}) : null,- m?.scraping ? /* @__PURE__ */ (0, D.jsx)(uA, {+ m?.scraping ? /* @__PURE__ */ (0, D.jsx)(pA, {role: "status",children: "正在给刚加入的番号取资料与封面。"}) : null,@@ -72085,27 +72094,27 @@ function sFe({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {tone: "neutral",children: "云下载只在允许修改数据库的设备上可用。"}) : null,- m && !h.length ? /* @__PURE__ */ (0, D.jsx)(Zk, {+ m && !h.length ? /* @__PURE__ */ (0, D.jsx)(eA, {size: "compact",- icon: Yve,+ icon: qve,title: n ? "没有符合条件的作品" : "还没有想要的作品",actions: n && r ? /* @__PURE__ */ (0, D.jsx)(q, {size: "small",onClick: r,children: "清除搜索"- }) : !n && !e ? /* @__PURE__ */ (0, D.jsx)(Xk, {+ }) : !n && !e ? /* @__PURE__ */ (0, D.jsx)($k, {target: "input[aria-label=\"番号\"]",children: "添加作品"}) : void 0,children: n ? "试试其他番号、女优或标题。" : "输入番号,添加想看的作品。"}) : null,- GPe.map(([n, r]) => {+ UPe.map(([n, r]) => {let i = h.filter((e) => e.phase === n);- return i.length ? /* @__PURE__ */ (0, D.jsx)(oFe, {+ return i.length ? /* @__PURE__ */ (0, D.jsx)(iFe, {phase: n,label: r,rows: i,- row: (n) => /* @__PURE__ */ (0, D.jsx)(aFe, {+ row: (n) => /* @__PURE__ */ (0, D.jsx)(rFe, {want: n,readOnly: e,busy: c.busy,@@ -72126,7 +72135,7 @@ function sFe({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {}, n.id)}, n) : null;}),- /* @__PURE__ */ (0, D.jsx)(fG, {+ /* @__PURE__ */ (0, D.jsx)(hG, {prefill: o,close: () => s(null),receipt: t,@@ -72137,13 +72146,13 @@ function sFe({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {}//#endregion//#region src/react/jav/jav.ts-var jG = (e, t = "taste", n = "desc") => [+var PG = (e, t = "taste", n = "desc") => ["jav-discoveries",e,t,n];-function MG(e, t, n = {}) {+function FG(e, t, n = {}) {let r = new URLSearchParams({scope: e,limit: "100",@@ -72152,29 +72161,29 @@ function MG(e, t, n = {}) {});return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), H(`/api/jav/discoveries?${r}`, t);}-function NG(e, t, n) {+function IG(e, t, n) {let r = ka({...e,is_jav: !0}, t, !1, n);return r.html || !e.cover_url ? r.html : Da(e, t).replace(/ src="[^"]*"/, ` src="${B(e.cover_url)}" referrerpolicy="no-referrer" data-jav-image="${e.id}" data-jav-cover="${B(e.cover_url)}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`);}-async function cFe(e, t) {+async function oFe(e, t) {e === "wants" ? await W.ensureQueryData({- queryKey: mG,- queryFn: () => hG(t),+ queryKey: _G,+ queryFn: () => vG(t),staleTime: 3e4,revalidateIfStale: !0}) : e === "discover" && await W.ensureQueryData({- queryKey: jG("external"),- queryFn: () => MG("external", t),+ queryKey: PG("external"),+ queryFn: () => FG("external", t),staleTime: 3e4,revalidateIfStale: !0});}//#endregion//#region src/react/jav/jav-header.tsx-function PG({ tab: e, navigate: t, find: n }) {+function LG({ tab: e, navigate: t, find: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex w-full flex-col gap-4",children: [/* @__PURE__ */ (0, D.jsxs)("div", {@@ -72188,25 +72197,25 @@ function PG({ tab: e, navigate: t, find: n }) {onClick: n,children: "查找资源"})]- }), /* @__PURE__ */ (0, D.jsx)(DW, {- tabs: nG.map(([e, t]) => ({+ }), /* @__PURE__ */ (0, D.jsx)(AW, {+ tabs: aG.map(([e, t]) => ({value: e,label: t})),value: e,label: "JAV 分区",className: "",- onChange: (e) => t(MPe(e))+ onChange: (e) => t(APe(e))})]});}-function lFe({ navigate: e, receipt: t }) {+function sFe({ navigate: e, receipt: t }) {let [n, r] = (0, E.useState)(null);- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(PG, {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(LG, {tab: "library",navigate: e,find: () => r({})- }), /* @__PURE__ */ (0, D.jsx)(fG, {+ }), /* @__PURE__ */ (0, D.jsx)(hG, {prefill: n,close: () => r(null),receipt: t@@ -72214,23 +72223,23 @@ function lFe({ navigate: e, receipt: t }) {}//#endregion//#region src/react/jav/jav-page.tsx-var uFe = hP("search"), dFe = hP("x"), fFe = hP("refresh-cw");-function FG(e) {+var cFe = vP("search"), lFe = vP("x"), uFe = vP("refresh-cw");+function RG(e) {let t = new URLSearchParams(location.search);for (let [n, r] of Object.entries(e)) r ? t.set(n, r) : t.delete(n);- yk(location.pathname + (t.size ? `?${t}` : ""), {+ Sk(location.pathname + (t.size ? `?${t}` : ""), {replace: !0,- state: vk.navigation.location.state+ state: xk.navigation.location.state});}-function pFe({ tab: e, readOnly: t, navigate: n, receipt: r }) {+function dFe({ tab: e, readOnly: t, navigate: n, receipt: r }) {let [i, a] = (0, E.useState)(null), [o, s] = (0, E.useState)(() => new URLSearchParams(location.search).get("q") || ""), c = (e) => {- s(e), FG({ q: e });+ s(e), RG({ q: e });};return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex w-full flex-col gap-6",children: [- /* @__PURE__ */ (0, D.jsx)(PG, {+ /* @__PURE__ */ (0, D.jsx)(LG, {tab: e,navigate: n,find: () => a({})@@ -72240,30 +72249,30 @@ function pFe({ tab: e, readOnly: t, navigate: n, receipt: r }) {onSubmit: (e) => {e.preventDefault();},- children: /* @__PURE__ */ (0, D.jsx)(dP, {+ children: /* @__PURE__ */ (0, D.jsx)(mP, {type: "search","aria-label": e === "discover" ? "筛选推荐" : "筛选想要",placeholder: "筛选番号、女优或标题",- leadingIcon: uFe,+ leadingIcon: cFe,value: o,onChange: c,enterKeyHint: "search"})}),- e === "discover" ? /* @__PURE__ */ (0, D.jsx)(mFe, {+ e === "discover" ? /* @__PURE__ */ (0, D.jsx)(fFe, {readOnly: t,receipt: r,resource: a,query: o.trim(),navigate: n,clearText: () => c("")- }) : /* @__PURE__ */ (0, D.jsx)(sFe, {+ }) : /* @__PURE__ */ (0, D.jsx)(aFe, {readOnly: t,toast: r,query: o.trim(),clearQuery: () => c("")}),- /* @__PURE__ */ (0, D.jsx)(fG, {+ /* @__PURE__ */ (0, D.jsx)(hG, {prefill: i,close: () => a(null),receipt: r@@ -72271,33 +72280,33 @@ function pFe({ tab: e, readOnly: t, navigate: n, receipt: r }) {]});}-function mFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {- let o = new URLSearchParams(location.search), [s, c] = (0, E.useState)(() => o.get("scope") === "library" ? "library" : "external"), [l, u] = (0, E.useState)(() => o.get("tag") || ""), [d, f] = (0, E.useState)(() => iG.some(([e]) => e === o.get("sort")) ? o.get("sort") : "taste"), [p, m] = (0, E.useState)(() => o.get("dir") === "asc"), h = (e) => {- c(e), FG({ scope: e === "external" ? "" : e });+function fFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {+ let o = new URLSearchParams(location.search), [s, c] = (0, E.useState)(() => o.get("scope") === "library" ? "library" : "external"), [l, u] = (0, E.useState)(() => o.get("tag") || ""), [d, f] = (0, E.useState)(() => sG.some(([e]) => e === o.get("sort")) ? o.get("sort") : "taste"), [p, m] = (0, E.useState)(() => o.get("dir") === "asc"), h = (e) => {+ c(e), RG({ scope: e === "external" ? "" : e });}, g = (e) => {- u(e), FG({ tag: e });+ u(e), RG({ tag: e });}, _ = (e) => {- f(e), FG({ sort: e === "taste" ? "" : e });+ f(e), RG({ sort: e === "taste" ? "" : e });}, v = (e) => {- m(e), FG({ dir: e ? "asc" : "" });+ m(e), RG({ dir: e ? "asc" : "" });}, y = (0, E.useRef)(null);(0, E.useEffect)(() => {let e = [...y.current?.querySelectorAll("[data-catalog-scroll],[data-catalog-tags],[data-filter-row=\"bottom\"]") || []].map((e) => hs(e, { drag: !0 }));return () => e.forEach((e) => e.destroy());}, []);- let b = BT();+ let b = HT();(0, E.useSyncExternalStore)(b.subscribe, b.version, b.version);- let x = KT(), S = ZT(XT({+ let x = JT(), S = $T(QT({active: !0,home: !1,portrait: !1})), C = (0, E.useRef)({}), w = (0, E.useRef)(!1), T = (0, E.useRef)(!1), O = p ? "asc" : "desc", k = _t({- queryKey: jG(s, d, O),+ queryKey: PG(s, d, O),retry: !1,refetchOnWindowFocus: !1,queryFn: ({ signal: e }) => {let t = w.current, n = T.current;- return w.current = !1, T.current = !1, MG(s, e, {+ return w.current = !1, T.current = !1, FG(s, e, {sort: d,direction: O,jobId: t ? void 0 : C.current[s],@@ -72310,7 +72319,7 @@ function mFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea(0, E.useEffect)(() => {A?.job_id && (C.current[s] = A.job_id);}, [s, A?.job_id]);- let j = nA(), M = nA(), N = (e) => {+ let j = aA(), M = aA(), N = (e) => {M.run(e, async () => (T.current = e === "stop", w.current = e !== "stop", k.refetch({cancelRefetch: !0,throwOnError: !0@@ -72329,7 +72338,7 @@ function mFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea"aria-busy": ee,className: "flex min-w-0 flex-col gap-4",children: [- /* @__PURE__ */ (0, D.jsx)(tj, {+ /* @__PURE__ */ (0, D.jsx)(ij, {label: "发现筛选与排序",topLabel: "发现范围与标签",attrs: {@@ -72344,7 +72353,7 @@ function mFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea"data-catalog-scroll": "",children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-catalog-views": "",- children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(nj, {+ children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(aj, {"data-entity-tag": e,"data-entity-press": "",pressed: s === e,@@ -72358,8 +72367,8 @@ function mFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea})]}), /* @__PURE__ */ (0, D.jsx)("div", {"data-catalog-tags": "",- dangerouslySetInnerHTML: ee ? { __html: cG() } : void 0,- children: ee ? null : F.map((e) => /* @__PURE__ */ (0, D.jsxs)(nj, {+ dangerouslySetInnerHTML: ee ? { __html: dG() } : void 0,+ children: ee ? null : F.map((e) => /* @__PURE__ */ (0, D.jsxs)(aj, {"data-catalog-tag": e,"data-entity-press": "",pressed: l === e,@@ -72380,8 +72389,8 @@ function mFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleaclassName: "relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"}) : `${I.length} 部`}),- /* @__PURE__ */ (0, D.jsx)(kP, { currentHref: () => location.pathname + location.search }),- r || l ? /* @__PURE__ */ (0, D.jsx)(rj, {+ /* @__PURE__ */ (0, D.jsx)(MP, { currentHref: () => location.pathname + location.search }),+ r || l ? /* @__PURE__ */ (0, D.jsx)(oj, {onPress: () => {g(""), a();},@@ -72390,24 +72399,24 @@ function mFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea/* @__PURE__ */ (0, D.jsxs)("span", {"data-entity-sorts": "",children: [- s === "external" ? /* @__PURE__ */ (0, D.jsx)(ej, {+ s === "external" ? /* @__PURE__ */ (0, D.jsx)(rj, {"data-entity-batch": "","data-jav-metadata-update": "",label: A?.status === "running" ? "停止读取" : "更新资料",disabled: ee,"data-skeleton-action": ee ? "" : void 0,busy: !!M.busy,- icon: A?.status === "running" ? dFe : fFe,+ icon: A?.status === "running" ? lFe : uFe,onPress: () => N(A?.status === "running" ? "stop" : "update")}) : null,- /* @__PURE__ */ (0, D.jsx)(_I, {+ /* @__PURE__ */ (0, D.jsx)(bI, {label: "JAV 卡片版式",value: x,- options: UT,- onChange: ode+ options: GT,+ onChange: ide}),- /* @__PURE__ */ (0, D.jsx)(yI, {- sorts: iG.map(([e, t, n]) => ({+ /* @__PURE__ */ (0, D.jsx)(SI, {+ sorts: sG.map(([e, t, n]) => ({key: e,label: t,ariaLabel: n,@@ -72425,7 +72434,7 @@ function mFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleaee ? /* @__PURE__ */ (0, D.jsx)("div", {role: "status","aria-label": "正在读取推荐",- dangerouslySetInnerHTML: { __html: lG("discover", x) }+ dangerouslySetInnerHTML: { __html: fG("discover", x) }}) : null,k.error ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",@@ -72435,7 +72444,7 @@ function mFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleas === "external" && A?.status === "running" ? /* @__PURE__ */ (0, D.jsx)("div", {"data-jav-metadata": "",className: "min-w-0",- children: /* @__PURE__ */ (0, D.jsx)(_F, {+ children: /* @__PURE__ */ (0, D.jsx)(bF, {embedded: !0,label: `正在读取作品资料 · ${A.completed} / ${A.total} 部`,value: A.completed,@@ -72456,19 +72465,19 @@ function mFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleatone: "error",children: M.error}) : null,- !ee && !k.error && !I.length ? /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: kk,+ !ee && !k.error && !I.length ? /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: Mk,title: r || l ? "没有符合条件的推荐" : "暂无匹配口味的作品",actions: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [r || l ? /* @__PURE__ */ (0, D.jsx)(q, {size: "small",onClick: () => {- a(), u(""), FG({+ a(), u(""), RG({q: "",tag: ""});},children: "清除筛选"- }) : s === "library" ? /* @__PURE__ */ (0, D.jsx)(Wk, {+ }) : s === "library" ? /* @__PURE__ */ (0, D.jsx)(qk, {size: "small",href: "/",children: "浏览馆藏"@@ -72476,7 +72485,7 @@ function mFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleasize: "small",onClick: () => n({}),children: "查找作品"- }), /* @__PURE__ */ (0, D.jsx)(Wk, {+ }), /* @__PURE__ */ (0, D.jsx)(qk, {size: "small",href: "/taste",variant: "secondary",@@ -72490,13 +72499,13 @@ function mFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea}) : null,/* @__PURE__ */ (0, D.jsx)("div", {"data-media-grid": "",- className: sG,+ className: uG,style: { "--card-ratio": S },children: I.map((r) => {- let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = NG(r, x, b.value.javImage), s = PPe(r.taste_score ?? r.score), c = [+ let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = IG(r, x, b.value.javImage), s = MPe(r.taste_score ?? r.score), c = [s.label,- `口味 ${aG(r.taste_score ?? r.score)}`,- k.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${aG(r.ranking_score)}` : "",+ `口味 ${cG(r.taste_score ?? r.score)}`,+ k.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${cG(r.ranking_score)}` : "",r.source_score == null ? "" : `来源评分 ${r.source_score.toFixed(1)} / 5`,...r.reasons || []].filter(Boolean).join(" · ");@@ -72516,12 +72525,12 @@ function mFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea"data-media-pic": "","data-jav-cover-box": "",className: "relative inline-grid place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default",- children: o ? /* @__PURE__ */ (0, D.jsx)(LA, {+ children: o ? /* @__PURE__ */ (0, D.jsx)(BA, {artwork: {kind: "cover",html: o},- identity: NG(r, "small", b.value.javImage),+ identity: IG(r, "small", b.value.javImage),relayout: (e) => yc(e, x)}) : /* @__PURE__ */ (0, D.jsx)("span", {"data-media-nopic": "",@@ -72530,7 +72539,7 @@ function mFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea}),/* @__PURE__ */ (0, D.jsxs)("div", {"data-media-meta": "",- children: [/* @__PURE__ */ (0, D.jsx)(jPe, { item: r }), /* @__PURE__ */ (0, D.jsxs)("div", {+ children: [/* @__PURE__ */ (0, D.jsx)(kPe, { item: r }), /* @__PURE__ */ (0, D.jsxs)("div", {"data-media-text": "",children: [/* @__PURE__ */ (0, D.jsxs)("h3", {@@ -72592,7 +72601,7 @@ function mFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleatitle: c,"aria-label": `推荐分 ${s.score},${s.label}`,className: "rounded-md outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, D.jsx)(Hk, {+ children: /* @__PURE__ */ (0, D.jsx)(Gk, {color: s.color,children: s.label})@@ -72625,16 +72634,16 @@ function mFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleadisabled: e || r.wanted || !!r.asset_id,...Y(j.busy === String(r.id)),onClick: () => {- j.run(String(r.id), (e) => gG({ code: r.code }, e), () => {- t("已加入想要"), vG(), k.refetch();+ j.run(String(r.id), (e) => yG({ code: r.code }, e), () => {+ t("已加入想要"), xG(), k.refetch();});},children: r.asset_id ? "已入库" : r.wanted ? "已加入想要" : "想要"}),- r.link ? /* @__PURE__ */ (0, D.jsx)(Wk, {+ r.link ? /* @__PURE__ */ (0, D.jsx)(qk, {"data-button-link": "",variant: "secondary",- trailingIcon: Mk,+ trailingIcon: Fk,href: r.link,target: "_blank",rel: "noopener noreferrer",@@ -72651,32 +72660,32 @@ function mFe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea}//#endregion//#region src/react/playlists/playlists.ts-var hFe = "/api/playlists", IG = "/api/playlist", LG = ["playlists"], RG = (e) => H(hFe, e);-async function gFe(e) {+var pFe = "/api/playlists", zG = "/api/playlist", BG = ["playlists"], VG = (e) => H(pFe, e);+async function mFe(e) {await W.fetchQuery({- queryKey: LG,- queryFn: () => RG(e),+ queryKey: BG,+ queryFn: () => VG(e),staleTime: 0});}-var zG = () => W.invalidateQueries({- queryKey: LG,+var HG = () => W.invalidateQueries({+ queryKey: BG,exact: !0-}), _Fe = (e) => e.current_asset_id || e.preview_asset_id || null, BG = (e) => `/poster?id=${e}&c=4`, vFe = (e) => U(IG, {+}), hFe = (e) => e.current_asset_id || e.preview_asset_id || null, UG = (e) => `/poster?id=${e}&c=4`, gFe = (e) => U(zG, {action: "create",name: e,asset_ids: []-}), VG = (e, t) => U(IG, {+}), WG = (e, t) => U(zG, {action: "rename",id: e,name: t-}), HG = (e) => U(IG, {+}), GG = (e) => U(zG, {action: "delete",id: e-}), yFe = (e) => H(`${IG}?id=${e}`).catch(() => null);-function bFe(e) {+}), _Fe = (e) => H(`${zG}?id=${e}`).catch(() => null);+function vFe(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;- return U(IG, {+ return U(zG, {action: "create",name: e.name,asset_ids: t,@@ -72686,18 +72695,18 @@ function bFe(e) {}//#endregion//#region src/react/playlists/playlists-page.tsx-var xFe = hP("ellipsis"), SFe = hP("pencil"), CFe = hP("trash"), wFe = hP("playlist"), UG = oO(PP, FP, "text-body-2-medium"), WG = "播放列表名称不能为空", GG = (e) => async () => {+var yFe = vP("ellipsis"), bFe = vP("pencil"), xFe = vP("trash"), SFe = vP("playlist"), KG = lO(LP, RP, "text-body-2-medium"), qG = "播放列表名称不能为空", JG = (e) => async () => {try {await e();} finally {- zG();+ HG();}};-function TFe({ toast: e }) {+function CFe({ toast: e }) {let [t, n] = (0, E.useState)(""), [r, i] = (0, E.useState)(""), a = vt({- mutationFn: (e) => vFe(e),+ mutationFn: (e) => gFe(e),onSuccess: (t) => {- n(""), i(""), zG(), e("已新建播放列表", { undo: GG(() => HG(t.playlist.id)) });+ n(""), i(""), HG(), e("已新建播放列表", { undo: JG(() => GG(t.playlist.id)) });},onError: (e) => i(V(e) || "新建失败")});@@ -72705,12 +72714,12 @@ function TFe({ toast: e }) {"data-playlist-create": "","aria-label": "新建播放列表",onSubmit: (e) => {- e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(WG));+ e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(qG));},className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none",- children: /* @__PURE__ */ (0, D.jsx)(dP, {+ children: /* @__PURE__ */ (0, D.jsx)(mP, {label: "新播放列表",placeholder: "输入名称",maxLength: 80,@@ -72729,7 +72738,7 @@ function TFe({ toast: e }) {})]});}-function EFe({ target: e, close: t, toast: n }) {+function wFe({ target: e, close: t, toast: n }) {let [r, i] = (0, E.useState)(""), [a, o] = (0, E.useState)(""), s = (0, E.useRef)(null);(0, E.useEffect)(() => {if (!e) return;@@ -72740,13 +72749,13 @@ function EFe({ target: e, close: t, toast: n }) {return () => cancelAnimationFrame(t);}, [e]);let c = vt({- mutationFn: ({ row: e, value: t }) => VG(e.id, t),+ mutationFn: ({ row: e, value: t }) => WG(e.id, t),onSuccess: (e, { row: r }) => {- t(), zG(), n("已重命名播放列表", { undo: GG(() => VG(r.id, r.name)) });+ t(), HG(), n("已重命名播放列表", { undo: JG(() => WG(r.id, r.name)) });},onError: (e) => o(V(e))});- return /* @__PURE__ */ (0, D.jsx)(fP, {+ return /* @__PURE__ */ (0, D.jsx)(hP, {isOpen: !!e,onOpenChange: (e) => {e || t();@@ -72760,16 +72769,16 @@ function EFe({ target: e, close: t, toast: n }) {n ? c.mutate({row: e,value: n- }) : o(WG);+ }) : o(qG);},className: "flex min-h-0 flex-col",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-4 p-5",- children: [/* @__PURE__ */ (0, D.jsx)(Oj, {+ children: [/* @__PURE__ */ (0, D.jsx)(jj, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "编辑名称"- }), /* @__PURE__ */ (0, D.jsx)(dP, {+ }), /* @__PURE__ */ (0, D.jsx)(mP, {ref: s,label: "名称",placeholder: "输入名称",@@ -72797,7 +72806,7 @@ function EFe({ target: e, close: t, toast: n }) {})});}-function DFe({ name: e, onRename: t, onDelete: n }) {+function TFe({ name: e, onRename: t, onDelete: n }) {let r = (0, E.useRef)(null), [i, a] = (0, E.useState)(!1), o = (e) => {a(!1), e();};@@ -72811,33 +72820,33 @@ function DFe({ name: e, onRename: t, onDelete: n }) {"data-playlist-menu": "",onClick: () => a(!0),className: "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-2lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary aria-expanded:bg-background-primary-hover aria-expanded:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, D.jsx)(xFe, {+ children: /* @__PURE__ */ (0, D.jsx)(yFe, {"aria-hidden": !0,className: "size-4.5"})- }), /* @__PURE__ */ (0, D.jsx)(QM, {+ }), /* @__PURE__ */ (0, D.jsx)(tN, {triggerRef: r,isOpen: i,onOpenChange: a,placement: "bottom end",offset: 4,- className: NP,- children: /* @__PURE__ */ (0, D.jsxs)(lF, {+ className: IP,+ children: /* @__PURE__ */ (0, D.jsxs)(fF, {"aria-label": `播放列表操作:${e}`,className: "flex w-37.5 flex-col gap-0.5 outline-none",children: [/* @__PURE__ */ (0, D.jsxs)("button", {type: "button",- className: UG,+ className: KG,onClick: () => o(t),- children: [/* @__PURE__ */ (0, D.jsx)(SFe, {+ children: [/* @__PURE__ */ (0, D.jsx)(bFe, {"aria-hidden": !0,className: "size-4 shrink-0"}), "编辑名称"]}), /* @__PURE__ */ (0, D.jsxs)("button", {type: "button",- className: UG,+ className: KG,onClick: () => o(n),- children: [/* @__PURE__ */ (0, D.jsx)(CFe, {+ children: [/* @__PURE__ */ (0, D.jsx)(xFe, {"aria-hidden": !0,className: "size-4 shrink-0"}), "删除播放列表"]@@ -72845,13 +72854,13 @@ function DFe({ name: e, onRename: t, onDelete: n }) {})})] });}-function OFe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {+function EFe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {let a = _t({- queryKey: LG,- queryFn: ({ signal: e }) => RG(e)+ queryKey: BG,+ queryFn: ({ signal: e }) => VG(e)}), [o, s] = (0, E.useState)(null), c = (0, E.useRef)(i);(0, E.useEffect)(() => {- c.current !== i && (c.current = i, zG());+ c.current !== i && (c.current = i, HG());}, [i]);let l = a.data, u = l?.items ?? [], d = (e) => {Hs({@@ -72860,8 +72869,8 @@ function OFe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: iconfirmLabel: "删除播放列表",danger: !0,onConfirm: async () => {- let t = await yFe(e.id);- await HG(e.id), zG(), r("已删除播放列表", t ? { undo: GG(() => bFe(t)) } : void 0);+ let t = await _Fe(e.id);+ await GG(e.id), HG(), r("已删除播放列表", t ? { undo: JG(() => vFe(t)) } : void 0);}});};@@ -72876,7 +72885,7 @@ function OFe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i}), /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "保存 Mix,按自己的顺序继续播放。"- })] }), /* @__PURE__ */ (0, D.jsx)(TFe, { toast: r })]+ })] }), /* @__PURE__ */ (0, D.jsx)(CFe, { toast: r })]}),/* @__PURE__ */ (0, D.jsx)("div", {className: "mx-auto w-full max-w-board",@@ -72884,40 +72893,40 @@ function OFe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i"data-playlist-grid": "",className: "card-grid-cover gap-4.5",children: u.map((r) => {- let i = _Fe(r), a = r.name.trim() || "未命名播放列表";- return /* @__PURE__ */ (0, D.jsx)(RI, {+ let i = hFe(r), a = r.name.trim() || "未命名播放列表";+ return /* @__PURE__ */ (0, D.jsx)(VI, {"data-playlist-card": String(r.id),name: a,caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",count: r.item_count,- poster: r.preview_asset_id ? BG(r.preview_asset_id) : null,- flipImages: async () => (r.preview_ids || []).map(BG),+ poster: r.preview_asset_id ? UG(r.preview_asset_id) : null,+ flipImages: async () => (r.preview_ids || []).map(UG),canFlip: n,faces: r.faces || [],onOpenEntity: t,...i ? { onOpen: () => e(r.id, i) } : {},openLabel: `打开播放列表 ${a}`,- menu: /* @__PURE__ */ (0, D.jsx)(DFe, {+ menu: /* @__PURE__ */ (0, D.jsx)(TFe, {name: a,onRename: () => s(r),onDelete: () => d(r)})}, r.id);})- }) : /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: wFe,+ }) : /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: SFe,title: "还没有播放列表",- actions: /* @__PURE__ */ (0, D.jsx)(Xk, {+ actions: /* @__PURE__ */ (0, D.jsx)($k, {target: "[data-playlist-create] input",children: "新建播放列表"}),children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"- }) : a.isError ? /* @__PURE__ */ (0, D.jsx)(wI, {+ }) : a.isError ? /* @__PURE__ */ (0, D.jsx)(DI, {message: V(a.error) || "播放列表读取失败",onRetry: () => void a.refetch()}) : null}),- /* @__PURE__ */ (0, D.jsx)(EFe, {+ /* @__PURE__ */ (0, D.jsx)(wFe, {target: o,close: () => s(null),toast: r@@ -72927,11 +72936,11 @@ function OFe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i}//#endregion//#region src/react/quality-goals/quality-goals-page.tsx-function kFe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {+function DFe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {let o = () => t(e.id);return /* @__PURE__ */ (0, D.jsxs)("li", {"data-goal-id": e.id,- className: qk({+ className: Xk({padding: "none",bordered: "soft",className: "flex flex-col gap-3 p-3"@@ -72947,7 +72956,7 @@ function kFe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisclassName: "text-caption-1-regular text-text-secondary",children: "暂无预览"}), /* @__PURE__ */ (0, D.jsx)("img", {- src: Kz(e),+ src: Yz(e),alt: "",loading: "lazy",onError: (e) => e.currentTarget.remove(),@@ -72995,7 +73004,7 @@ function kFe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisorigin: `asset:${e.id}`,searchReason: e.reason || "",duration: e.duration,- cover: Kz(e)+ cover: Yz(e)}),children: "查找资源"}) : null, /* @__PURE__ */ (0, D.jsx)(q, {@@ -73007,26 +73016,26 @@ function kFe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis})]});}-function AFe({ toast: e, ...t }) {+function OFe({ toast: e, ...t }) {let [n, r] = (0, E.useState)(null), i = _t({- queryKey: Wz,- queryFn: ({ signal: e }) => Gz(e)+ queryKey: qz,+ queryFn: ({ signal: e }) => Jz(e)}), a = i.data;- if (!a) return /* @__PURE__ */ (0, D.jsx)($k, { children: /* @__PURE__ */ (0, D.jsx)(J, {+ if (!a) return /* @__PURE__ */ (0, D.jsx)(nA, { children: /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: "高清版目标读取失败",children: i.error ? V(i.error) : "未取得高清版目标,请刷新页面重试。"}) });let o = a.items || [];- return o.length ? /* @__PURE__ */ (0, D.jsxs)($k, { children: [- /* @__PURE__ */ (0, D.jsx)(UU, {+ return o.length ? /* @__PURE__ */ (0, D.jsxs)(nA, { children: [+ /* @__PURE__ */ (0, D.jsx)(KU, {label: "待升级",figure: `${Number(a.total || 0).toLocaleString()} 部作品`,flush: !0}),/* @__PURE__ */ (0, D.jsx)("ul", {className: "card-grid-cover gap-5",- children: o.map((e) => /* @__PURE__ */ (0, D.jsx)(kFe, {+ children: o.map((e) => /* @__PURE__ */ (0, D.jsx)(DFe, {item: e,...t,searchResources: r@@ -73036,21 +73045,21 @@ function AFe({ toast: e, ...t }) {className: "mt-6 text-center text-caption-1-regular text-text-secondary",children: `显示前 ${o.length.toLocaleString()} 部,共 ${Number(a.total).toLocaleString()} 部。`}) : null,- /* @__PURE__ */ (0, D.jsx)(fG, {+ /* @__PURE__ */ (0, D.jsx)(hG, {prefill: n,close: () => r(null),receipt: e})- ] }) : /* @__PURE__ */ (0, D.jsx)($k, { children: /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: nye,+ ] }) : /* @__PURE__ */ (0, D.jsx)(nA, { children: /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: eye,title: "没有标记中的高清版目标",children: "现有版本都已满足条件,或还没有加入追踪。"}) });}//#endregion//#region src/react/review/bulk-toolbar.tsx-function jFe(e) {- let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = COe(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";+function kFe(e) {+ let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = xOe(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {role: "group","aria-label": "复核筛选",@@ -73058,29 +73067,29 @@ function jFe(e) {"data-glass-pane": "",className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",children: [- /* @__PURE__ */ (0, D.jsx)(FF, {+ /* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": "筛选分组方式",size: "sm",selectedKey: n,onSelectionChange: (e) => {e !== null && r(String(e));},- children: t.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(IF, {+ children: t.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e,children: t}, e))}),- i.length > 1 ? /* @__PURE__ */ (0, D.jsxs)(FF, {+ i.length > 1 ? /* @__PURE__ */ (0, D.jsxs)(RF, {"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",size: "sm",selectedKey: a || "*",onSelectionChange: (e) => {e !== null && o(String(e) === "*" ? "" : String(e));},- children: [/* @__PURE__ */ (0, D.jsx)(IF, {+ children: [/* @__PURE__ */ (0, D.jsx)(zF, {id: "*",children: "全部分类"- }), i.map((e) => /* @__PURE__ */ (0, D.jsx)(IF, {+ }), i.map((e) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e.key,children: `${e.title} · ${e.rows.length}`}, e.key))]@@ -73088,7 +73097,7 @@ function jFe(e) {/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: Tve,+ leadingIcon: Cve,"aria-pressed": v,disabled: p || !s.length,onClick: () => {@@ -73099,12 +73108,12 @@ function jFe(e) {children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"})]- }), /* @__PURE__ */ (0, D.jsxs)(xT, {+ }), /* @__PURE__ */ (0, D.jsxs)(CT, {label: "复核所选项目",visible: c.size > 0,count: `已选 ${c.size} 项`,children: [- b ? /* @__PURE__ */ (0, D.jsxs)(FF, {+ b ? /* @__PURE__ */ (0, D.jsxs)(RF, {"aria-label": "统一选择来源",size: "sm",selectedKey: "",@@ -73112,10 +73121,10 @@ function jFe(e) {onSelectionChange: (e) => {e !== null && e !== "" && h(String(e));},- children: [/* @__PURE__ */ (0, D.jsx)(IF, {+ children: [/* @__PURE__ */ (0, D.jsx)(zF, {id: "",children: x- }), y.map((e) => /* @__PURE__ */ (0, D.jsx)(IF, {+ }), y.map((e) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e,children: e}, e))]@@ -73151,7 +73160,7 @@ function jFe(e) {}//#endregion//#region src/react/review/candidate-form.tsx-var MFe = {+var AFe = {title: "标题",original_title: "原标题",runtime: "来源时长",@@ -73161,14 +73170,14 @@ var MFe = {cover_url: "封面",screenshot_urls: "截图",trailer_url: "预告片"-}, KG = "reviewgenretags";-function NFe({ tags: e }) {+}, YG = "reviewgenretags";+function jFe({ tags: e }) {return e.length ? /* @__PURE__ */ (0, D.jsx)("datalist", {- id: KG,+ id: YG,children: e.map((e) => /* @__PURE__ */ (0, D.jsx)("option", { value: e }, e))}) : null;}-function qG({ candidate: e, selectable: t = !1 }) {+function XG({ candidate: e, selectable: t = !1 }) {let n = Object.entries(e.catalog_evidence || {}).filter(([, e]) => e && e.display_value), r = e.content_id || e.provider_id;return /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 flex-1 flex-col",@@ -73205,7 +73214,7 @@ function qG({ candidate: e, selectable: t = !1 }) {children: [/* @__PURE__ */ (0, D.jsx)("dt", {className: "text-body-2-regular text-text-secondary",- children: MFe[e] || e+ children: AFe[e] || e}),/* @__PURE__ */ (0, D.jsx)("dd", {className: "min-w-0 text-body-2-regular break-words text-text-primary",@@ -73220,32 +73229,32 @@ function qG({ candidate: e, selectable: t = !1 }) {}) : null]});}-function PFe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {+function MFe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {let a = e.candidates || [];return a.length ? a.length === 1 ? /* @__PURE__ */ (0, D.jsx)("div", {className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",- children: /* @__PURE__ */ (0, D.jsx)(qG, { candidate: a[0] })- }) : /* @__PURE__ */ (0, D.jsx)(vN, {+ children: /* @__PURE__ */ (0, D.jsx)(XG, { candidate: a[0] })+ }) : /* @__PURE__ */ (0, D.jsx)(xN, {"aria-label": `${t || "资料"}的来源`,value: n,isDisabled: i,onChange: r,className: "flex flex-col gap-2",- children: a.map((e) => /* @__PURE__ */ (0, D.jsx)(yN, {+ children: a.map((e) => /* @__PURE__ */ (0, D.jsx)(SN, {value: e.candidate_key,className: "group flex cursor-pointer items-center gap-2 overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-button-active data-disabled:cursor-not-allowed",- children: /* @__PURE__ */ (0, D.jsx)(qG, {+ children: /* @__PURE__ */ (0, D.jsx)(XG, {candidate: e,selectable: !0})}, e.candidate_key))}) : null;}-function FFe({ genre: e, tags: t, locked: n, toast: r }) {+function NFe({ genre: e, tags: t, locked: n, toast: r }) {let [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), c = vt({- mutationFn: (t) => jOe(e, t),+ mutationFn: (t) => kOe(e, t),onSuccess: async (t, n) => {- t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await NOe()) : s(t.error || "服务端拒绝了这次收录");+ t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await jOe()) : s(t.error || "服务端拒绝了这次收录");},onError: (e) => s(V(e))}), l = () => {@@ -73260,16 +73269,16 @@ function FFe({ genre: e, tags: t, locked: n, toast: r }) {className: "text-body-medium text-text-primary",children: e}),- /* @__PURE__ */ (0, D.jsx)(cP, {+ /* @__PURE__ */ (0, D.jsx)(dP, {"aria-label": `「${e}」收录成的中文标签`,value: i,onChange: a,maxLength: 40,isDisabled: n || c.isPending,className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, D.jsx)(uP, {+ children: /* @__PURE__ */ (0, D.jsx)(pP, {size: "small",- list: t.length ? KG : void 0,+ list: t.length ? YG : void 0,autoComplete: "off",placeholder: "中文标签",onKeyDown: (e) => {@@ -73301,8 +73310,8 @@ function FFe({ genre: e, tags: t, locked: n, toast: r }) {]});}-function IFe({ row: e, tags: t, locked: n, toast: r }) {- let i = OOe(e);+function PFe({ row: e, tags: t, locked: n, toast: r }) {+ let i = EOe(e);return i.length ? /* @__PURE__ */ (0, D.jsxs)("div", {role: "group","aria-label": "未收录 genre",@@ -73310,7 +73319,7 @@ function IFe({ row: e, tags: t, locked: n, toast: r }) {children: [/* @__PURE__ */ (0, D.jsx)("h5", {className: "text-body-2-medium text-text-secondary",children: `未收录 genre · ${i.length}`- }), i.map((e) => /* @__PURE__ */ (0, D.jsx)(FFe, {+ }), i.map((e) => /* @__PURE__ */ (0, D.jsx)(NFe, {genre: e,tags: t,locked: n,@@ -73320,12 +73329,12 @@ function IFe({ row: e, tags: t, locked: n, toast: r }) {}//#endregion//#region src/react/review/review-evidence.tsx-var JG = (e = "") => /^https?:\/\//i.test(e) ? e : "", LFe = (e = "") => JG(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");-function YG({ url: e }) {- let t = LFe(e || "");- return /* @__PURE__ */ (0, D.jsx)(RFe, { source: t }, t);+var ZG = (e = "") => /^https?:\/\//i.test(e) ? e : "", FFe = (e = "") => ZG(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");+function QG({ url: e }) {+ let t = FFe(e || "");+ return /* @__PURE__ */ (0, D.jsx)(IFe, { source: t }, t);}-function RFe({ source: e }) {+function IFe({ source: e }) {let [t, n] = (0, E.useState)("idle");return (0, E.useEffect)(() => {if (t !== "loading") return;@@ -73362,7 +73371,7 @@ function RFe({ source: e }) {})]});}-function XG({ asset: e, openItem: t }) {+function $G({ asset: e, openItem: t }) {let n = e.name || "";return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",@@ -73388,21 +73397,21 @@ function XG({ asset: e, openItem: t }) {}), /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: Lk,+ leadingIcon: Bk,onClick: () => t(e.id),children: "打开原视频"})]})]});}-function zFe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {+function LFe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [/* @__PURE__ */ (0, D.jsx)("button", {type: "button","aria-label": `打开创作者页:${t}`,onClick: () => i(e, t),- className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${NV}`,+ className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${IV}`,dangerouslySetInnerHTML: { __html: r }}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-col items-start",@@ -73418,8 +73427,8 @@ function zFe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {})]});}-function BFe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {- let o = JG(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));+function RFe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {+ let o = ZG(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));return /* @__PURE__ */ (0, D.jsxs)("section", {className: "flex flex-col gap-3",children: [@@ -73429,10 +73438,10 @@ function BFe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [o ? /* @__PURE__ */ (0, D.jsx)(Wk, {+ children: [o ? /* @__PURE__ */ (0, D.jsx)(qk, {variant: "secondary",size: "small",- trailingIcon: Mk,+ trailingIcon: Fk,href: o,target: "_blank",rel: "noopener noreferrer",@@ -73444,7 +73453,7 @@ function BFe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, nochildren: `查看全部 ${c.toLocaleString()} 部作品`})]}),- /* @__PURE__ */ (0, D.jsx)(YG, { url: e.preview_url }),+ /* @__PURE__ */ (0, D.jsx)(QG, { url: e.preview_url }),/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "通过后记录身份判断。"@@ -73487,7 +73496,7 @@ function BFe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no]});}-function VFe({ assets: e, picked: t, onPicked: n, locked: r }) {+function zFe({ assets: e, picked: t, onPicked: n, locked: r }) {let [i, a] = (0, E.useState)(null), o = new Set(t), s = (t, s) => {if (r) return;let c = new Set(o);@@ -73543,7 +73552,7 @@ function VFe({ assets: e, picked: t, onPicked: n, locked: r }) {}),/* @__PURE__ */ (0, D.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, D.jsx)(zP, {+ children: /* @__PURE__ */ (0, D.jsx)(HP, {size: "sm",state: {isSelected: n,@@ -73563,22 +73572,22 @@ function VFe({ assets: e, picked: t, onPicked: n, locked: r }) {}//#endregion//#region src/react/review/review-card.tsx-var HFe = qk({+var BFe = Xk({variant: "outlined",padding: "none",className: "flex flex-col gap-4 px-5 pt-4"-}), ZG = "flex min-h-6 min-w-0 items-center", QG = 2, UFe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";-function WFe(e) {- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, E.useRef)(!1), m = Jk(), h = Jk(), g = t === "metadata_fields", _ = yOe[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = TOe(t, n), x = tB(t, n), S = eB(t, n), C = EOe(n), w = DOe(n), T = $z(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, D.jsxs)("div", {+}), eK = "flex min-h-6 min-w-0 items-center", tK = 2, VFe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";+function HFe(e) {+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, E.useRef)(!1), m = Zk(), h = Zk(), g = t === "metadata_fields", _ = _Oe[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = COe(t, n), x = iB(t, n), S = rB(t, n), C = wOe(n), w = TOe(n), T = nB(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-3",- children: [O.slice(0, QG).map((e) => /* @__PURE__ */ (0, D.jsx)(XG, {+ children: [O.slice(0, tK).map((e) => /* @__PURE__ */ (0, D.jsx)($G, {asset: e,openItem: f.openItem- }, e.id)), O.length > QG ? /* @__PURE__ */ (0, D.jsx)("p", {+ }, e.id)), O.length > tK ? /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: `另有 ${(O.length - QG).toLocaleString()} 部对照作品`+ children: `另有 ${(O.length - tK).toLocaleString()} 部对照作品`}) : null]- }) : y ? /* @__PURE__ */ (0, D.jsx)(zFe, {+ }) : y ? /* @__PURE__ */ (0, D.jsx)(LFe, {kind: _,name: v,works: Number(n.video_count || n.videos || 0),@@ -73589,14 +73598,14 @@ function WFe(e) {image_version: n.image_version,avatar_focus: n.avatar_focus} : null, null, _)- }) : n.asset_id ? /* @__PURE__ */ (0, D.jsx)(XG, {+ }) : n.asset_id ? /* @__PURE__ */ (0, D.jsx)($G, {openItem: f.openItem,asset: {id: n.asset_id,name: n.asset_name,preview_url: n.asset_preview_url}- }) : null, M = g ? /* @__PURE__ */ (0, D.jsx)(PFe, {+ }) : null, M = g ? /* @__PURE__ */ (0, D.jsx)(MFe, {row: n,fieldName: x,value: r.candidateKey,@@ -73605,7 +73614,7 @@ function WFe(e) {candidateKey: e}),locked: s- }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, D.jsx)(VFe, {+ }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, D.jsx)(zFe, {assets: k,picked: r.assets,locked: s,@@ -73613,24 +73622,24 @@ function WFe(e) {...r,assets: e})- }) : /* @__PURE__ */ (0, D.jsx)(Zk, {+ }) : /* @__PURE__ */ (0, D.jsx)(eA, {size: "compact",- icon: zve,+ icon: Lve,title: "这批作品尚未抽帧",children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按所选资料写入标签。`- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, D.jsx)(BFe, {+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, D.jsx)(RFe, {row: n,openItem: f.openItem,openEntity: f.openEntity,onReveal: f.onReveal,revealing: f.revealing,note: f.revealNote- }) : /* @__PURE__ */ (0, D.jsx)(YG, { url: n.preview_url }), N = y ? j : x ? /* @__PURE__ */ (0, D.jsxs)("h4", {- className: `${ZG} flex-wrap gap-2`,+ }) : /* @__PURE__ */ (0, D.jsx)(QG, { url: n.preview_url }), N = y ? j : x ? /* @__PURE__ */ (0, D.jsxs)("h4", {+ className: `${eK} flex-wrap gap-2`,children: [/* @__PURE__ */ (0, D.jsx)("span", {title: x,className: "flex max-w-full min-w-0 overflow-hidden rounded-md",- children: /* @__PURE__ */ (0, D.jsx)(Hk, {+ children: /* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption",color: "blue",children: x@@ -73641,7 +73650,7 @@ function WFe(e) {children: S})]}) : /* @__PURE__ */ (0, D.jsx)("h4", {- className: ZG,+ className: eK,children: /* @__PURE__ */ (0, D.jsx)("span", {title: b,className: "min-w-0 truncate text-body-medium text-text-primary",@@ -73651,20 +73660,20 @@ function WFe(e) {return /* @__PURE__ */ (0, D.jsxs)("section", {"aria-label": b,"data-review-key": n.item_key,- className: `${HFe} ${UFe(t)} overflow-hidden`,+ className: `${BFe} ${VFe(t)} overflow-hidden`,children: [/* @__PURE__ */ (0, D.jsxs)("header", {className: "flex min-w-0 shrink-0 items-start gap-2",children: [s ? null : /* @__PURE__ */ (0, D.jsx)("span", {- className: `${ZG} shrink-0`,+ className: `${eK} shrink-0`,onPointerDownCapture: (e) => {p.current = e.shiftKey;},onKeyDownCapture: (e) => {p.current = e.shiftKey;},- children: /* @__PURE__ */ (0, D.jsx)(BP, {+ children: /* @__PURE__ */ (0, D.jsx)(UP, {isSelected: a,"aria-label": `选择 ${b}`,onChange: (e) => o(p.current, e)@@ -73674,7 +73683,7 @@ function WFe(e) {className: "min-w-0 flex-1",children: N}),- A ? /* @__PURE__ */ (0, D.jsx)(Hk, {+ A ? /* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption",color: "neutral",children: n.decision@@ -73698,7 +73707,7 @@ function WFe(e) {!y && j ? j : null,w.length || t === "creator_tags" ? /* @__PURE__ */ (0, D.jsx)("div", {className: "flex flex-wrap gap-1",- children: w.length ? w.map((e) => /* @__PURE__ */ (0, D.jsx)(Hk, {+ children: w.length ? w.map((e) => /* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption",color: "soft",children: e@@ -73708,7 +73717,7 @@ function WFe(e) {})}) : null,M,- /* @__PURE__ */ (0, D.jsx)(IFe, {+ /* @__PURE__ */ (0, D.jsx)(PFe, {row: n,tags: u,locked: s,@@ -73771,8 +73780,8 @@ function WFe(e) {}//#endregion//#region src/react/review/review-page.tsx-var GFe = "flex cursor-pointer items-center justify-between gap-2";-function KFe({ page: e, pages: t, onPage: n }) {+var UFe = "flex cursor-pointer items-center justify-between gap-2";+function WFe({ page: e, pages: t, onPage: n }) {return t <= 1 ? null : /* @__PURE__ */ (0, D.jsxs)("nav", {"aria-label": "复核分页","data-pagination-layout": "",@@ -73810,34 +73819,34 @@ function KFe({ page: e, pages: t, onPage: n }) {]});}-function qFe(e) {+function GFe(e) {let [t, n] = (0, E.useState)(() => matchMedia("(max-width:900px)").matches);(0, E.useEffect)(() => {let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, E.useState)(Zz(e.category) ? e.category : vOe), [p, m] = (0, E.useState)("candidates"), [h, g] = (0, E.useState)(""), [_, v] = (0, E.useState)(1), [y, b] = (0, E.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, E.useState)(/* @__PURE__ */ new Map()), [C, w] = (0, E.useState)(/* @__PURE__ */ new Map()), [T, O] = (0, E.useState)(""), k = (0, E.useRef)(null), [A, j] = (0, E.useState)(0), [M, N] = (0, E.useState)(""), P = (0, E.useRef)(!0);+ let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, E.useState)(eB(e.category) ? e.category : gOe), [p, m] = (0, E.useState)("candidates"), [h, g] = (0, E.useState)(""), [_, v] = (0, E.useState)(1), [y, b] = (0, E.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, E.useState)(/* @__PURE__ */ new Map()), [C, w] = (0, E.useState)(/* @__PURE__ */ new Map()), [T, O] = (0, E.useState)(""), k = (0, E.useRef)(null), [A, j] = (0, E.useState)(0), [M, N] = (0, E.useState)(""), P = (0, E.useRef)(!0);(0, E.useEffect)(() => () => {P.current = !1;}, []);let F = _t({- queryKey: Jz,- queryFn: ({ signal: e }) => rB(e)+ queryKey: Zz,+ queryFn: ({ signal: e }) => oB(e)}), I = F.data || {sections: {},counts: {}- }, ee = I.sections[d] || [], L = d === "metadata_fields", te = c, ne = bOe(ee, L), re = ne.some(([e]) => e === p) ? p : "candidates", ie = Qz(ee, re), ae = ie.some((e) => e.key === h) ? h : "", oe = SOe(xOe(ee, re, ae), _), se = oe.rows.map((e) => e.item_key), ce = new Set(se), le = ie.map((e) => ({+ }, ee = I.sections[d] || [], L = d === "metadata_fields", te = c, ne = vOe(ee, L), re = ne.some(([e]) => e === p) ? p : "candidates", ie = tB(ee, re), ae = ie.some((e) => e.key === h) ? h : "", oe = bOe(yOe(ee, re, ae), _), se = oe.rows.map((e) => e.item_key), ce = new Set(se), le = ie.map((e) => ({...e,rows: e.rows.filter((e) => ce.has(e.item_key))- })).filter((e) => e.rows.length), ue = (e) => x.get(e.item_key) || kOe(e), de = ee.filter((e) => y.has(e.item_key)), fe = (e) => {+ })).filter((e) => e.rows.length), ue = (e) => x.get(e.item_key) || DOe(e), de = ee.filter((e) => y.has(e.item_key)), fe = (e) => {let t = new Set(e);b((e) => new Set([...e].filter((e) => !t.has(e)))), S((e) => new Map([...e].filter(([e]) => !t.has(e)))), w((e) => new Map([...e].filter(([e]) => !t.has(e))));}, pe = (e, t) => w((n) => new Map(n).set(e, t)), me = (e) => {f(e), m("candidates"), g(""), v(1), b(/* @__PURE__ */ new Set()), S(/* @__PURE__ */ new Map()), w(/* @__PURE__ */ new Map()), O(""), k.current = null, r({ category: e === "metadata_fields" ? "" : e });}, he = vt({- mutationFn: ({ row: e, status: t }) => iB(nB(d, aB(d, e), t, ue(e))),+ mutationFn: ({ row: e, status: t }) => sB(aB(d, cB(d, e), t, ue(e))),onSuccess: (e, { row: t, status: n }) => {- e.ok ? (oB(d, [t.item_key]), fe([t.item_key]), s(AOe(n))) : pe(t.item_key, e.error || "服务端拒绝了这次判定");+ e.ok ? (lB(d, [t.item_key]), fe([t.item_key]), s(OOe(n))) : pe(t.item_key, e.error || "服务端拒绝了这次判定");},onError: (e, { row: t }) => pe(t.item_key, V(e))}), ge = vt({@@ -73847,7 +73856,7 @@ function qFe(e) {if (!P.current) break;O(`正在处理 ${i} / ${t.length}`);try {- let t = await iB(nB(d, aB(d, a), e, ue(a)));+ let t = await sB(aB(d, cB(d, a), e, ue(a)));if (!t.ok) throw Error(t.error || "服务端未采用该项");n.push(a.item_key);} catch (e) {@@ -73861,7 +73870,7 @@ function qFe(e) {};},onSuccess: ({ status: e, done: t, failures: n }) => {- oB(d, t), fe(t), n.forEach(([e, t]) => pe(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));+ lB(d, t), fe(t), n.forEach(([e, t]) => pe(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));},onError: (e) => {O(V(e));@@ -73885,7 +73894,7 @@ function qFe(e) {j(e), N("");let t = await o(e);P.current && (j(0), N(t));- }, be = POe(I.mirror, l), xe = I.genre_tags || [], Se = {+ }, be = MOe(I.mirror, l), xe = I.genre_tags || [], Se = {openItem: i,openEntity: a,onReveal: ye,@@ -73893,7 +73902,7 @@ function qFe(e) {revealNote: M,toast: s};- return /* @__PURE__ */ (0, D.jsx)($k, { children: /* @__PURE__ */ (0, D.jsxs)("div", {+ return /* @__PURE__ */ (0, D.jsx)(nA, { children: /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-5 pb-10",children: [te ? /* @__PURE__ */ (0, D.jsx)(J, {@@ -73909,13 +73918,13 @@ function qFe(e) {}) : void 0,children: be}) : null,- /* @__PURE__ */ (0, D.jsx)(NFe, { tags: xe }),- /* @__PURE__ */ (0, D.jsxs)($N, {+ /* @__PURE__ */ (0, D.jsx)(jFe, { tags: xe }),+ /* @__PURE__ */ (0, D.jsxs)(nP, {orientation: t ? "horizontal" : "vertical",selectedKey: d,onSelectionChange: (e) => {let t = String(e);- Zz(t) && me(t);+ eB(t) && me(t);},className: "flex flex-col gap-5 review-split:flex-row review-split:items-start review-split:gap-6",children: [/* @__PURE__ */ (0, D.jsxs)("div", {@@ -73924,30 +73933,30 @@ function qFe(e) {children: [/* @__PURE__ */ (0, D.jsx)("h2", {id: "reviewcategories",children: "复核分类"- }), /* @__PURE__ */ (0, D.jsx)(nW, {+ }), /* @__PURE__ */ (0, D.jsx)(aW, {scrollable: t,"aria-labelledby": "reviewcategories","data-section-items": !0,className: "flex review-split:flex-col review-split:items-stretch",- children: Xz.map((e) => {+ children: $z.map((e) => {let t = Number(I.counts[e] || 0);- return /* @__PURE__ */ (0, D.jsxs)(tP, {+ return /* @__PURE__ */ (0, D.jsxs)(iP, {id: e,- className: GFe,+ className: UFe,"data-pill-selected": d === e ? "" : void 0,"data-pill-variant": "gray",- children: [Yz[e], t ? /* @__PURE__ */ (0, D.jsx)("span", {+ children: [Qz[e], t ? /* @__PURE__ */ (0, D.jsx)("span", {className: "tabular-nums text-caption-1-medium text-text-secondary",children: t.toLocaleString()}) : null]}, e);})})]- }), /* @__PURE__ */ (0, D.jsxs)(nP, {+ }), /* @__PURE__ */ (0, D.jsxs)(aP, {id: d,className: "flex min-w-0 flex-1 flex-col gap-5",children: [- ee.length && !te ? /* @__PURE__ */ (0, D.jsx)(jFe, {+ ee.length && !te ? /* @__PURE__ */ (0, D.jsx)(kFe, {groupOptions: ne,groupBy: re,onGroupBy: (e) => {@@ -73963,7 +73972,7 @@ function qFe(e) {onSelected: b,selectedRows: de,metadata: L,- approvable: de.every((e) => $z(d, e)),+ approvable: de.every((e) => nB(d, e)),busy: ge.isPending,feedback: T,onUnifySource: ve,@@ -73988,7 +73997,7 @@ function qFe(e) {})]}) : null, /* @__PURE__ */ (0, D.jsx)("div", {className: "review-grid gap-5",- children: e.rows.map((e) => /* @__PURE__ */ (0, D.jsx)(WFe, {+ children: e.rows.map((e) => /* @__PURE__ */ (0, D.jsx)(HFe, {category: d,row: e,choice: ue(e),@@ -73996,7 +74005,7 @@ function qFe(e) {selected: y.has(e.item_key),onSelect: (t, n) => b((r) => {let i = new Set(r);- return k.current = wOe(i, se, k.current, e.item_key, t, n), i;+ return k.current = SOe(i, se, k.current, e.item_key, t, n), i;}),locked: te,busy: he.isPending && he.variables?.row.item_key === e.item_key,@@ -74022,20 +74031,20 @@ function qFe(e) {children: "重试"}),children: V(F.error)- }) : /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: Ove,+ }) : /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: Eve,title: "此分类没有待复核项目",- actions: Xz.some((e) => e !== d && Number(I.counts[e] || 0) > 0) ? /* @__PURE__ */ (0, D.jsx)(q, {+ actions: $z.some((e) => e !== d && Number(I.counts[e] || 0) > 0) ? /* @__PURE__ */ (0, D.jsx)(q, {size: "small",onClick: () => {- let e = Xz.find((e) => e !== d && Number(I.counts[e] || 0) > 0);+ let e = $z.find((e) => e !== d && Number(I.counts[e] || 0) > 0);e && me(e);},children: "查看其他分类"}) : void 0,children: "可切换分类查看其他待确认资料。"}),- /* @__PURE__ */ (0, D.jsx)(KFe, {+ /* @__PURE__ */ (0, D.jsx)(WFe, {page: oe.page,pages: oe.pages,onPage: v@@ -74048,42 +74057,42 @@ function qFe(e) {}//#endregion//#region src/react/scraping/custom-source-data.ts-var $G = "/api/custom-metadata", eK = ["custom-metadata"], tK = (e) => H($G, e), JFe = "/api/scraping", YFe = "/api/scraping/settings", XFe = "/api/scraping/check", nK = "/api/scraping/cover", ZFe = "/api/scraping/amane-bridge", QFe = "/api/scraping/amane-bridge/check", $Fe = "/api/scraping/amane-bridge/rebuild", rK = ["scraping"], iK = ["scraping", "cover"], aK = ["scraping", "amane-bridge"], oK = (e) => H(JFe, e), sK = (e) => H(nK, e), cK = (e) => H(ZFe, e);-async function eIe(e) {+var nK = "/api/custom-metadata", rK = ["custom-metadata"], iK = (e) => H(nK, e), KFe = "/api/scraping", qFe = "/api/scraping/settings", JFe = "/api/scraping/check", aK = "/api/scraping/cover", YFe = "/api/scraping/amane-bridge", XFe = "/api/scraping/amane-bridge/check", ZFe = "/api/scraping/amane-bridge/rebuild", oK = ["scraping"], sK = ["scraping", "cover"], cK = ["scraping", "amane-bridge"], lK = (e) => H(KFe, e), uK = (e) => H(aK, e), dK = (e) => H(YFe, e);+async function QFe(e) {await Promise.all([W.fetchQuery({- queryKey: rK,- queryFn: () => oK(e)+ queryKey: oK,+ queryFn: () => lK(e)}),W.fetchQuery({- queryKey: iK,- queryFn: () => sK(e)+ queryKey: sK,+ queryFn: () => uK(e)}),W.fetchQuery({- queryKey: aK,- queryFn: () => cK(e)+ queryKey: cK,+ queryFn: () => dK(e)}),W.fetchQuery({- queryKey: eK,- queryFn: () => tK(e)+ queryKey: rK,+ queryFn: () => iK(e)})]);}-function tIe(e, t) {+function $Fe(e, t) {return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");}//#endregion//#region src/react/settings-panel/legacy-controls.tsx-var lK = (e) => e.map(([e, t, n]) => n ? [+var fK = (e) => e.map(([e, t, n]) => n ? [e,t,n] : [e, t]);-function uK({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {+function pK({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {let u = (0, E.useRef)(null), d = (0, E.useRef)(null), f = (0, E.useRef)(l);return f.current = l, (0, E.useLayoutEffect)(() => {let e = u.current;- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Ns(t, n, lK(r), i, {+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Ns(t, n, fK(r), i, {attr: a,className: o,text: s@@ -74101,13 +74110,13 @@ function uK({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:ref: u});}-function dK({ 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 mK({ 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, E.useRef)(null), f = (0, E.useRef)(null), p = (0, E.useRef)(-1), m = (0, E.useRef)(l);return m.current = l, (0, E.useLayoutEffect)(() => {let e = d.current;if (!e) return;if (p.current !== c || !f.current) {- e.innerHTML = mo(lK(n), r, { label: t });+ e.innerHTML = mo(fK(n), r, { label: t });let i = ho(e.firstElementChild);i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;}@@ -74120,7 +74129,7 @@ function dK({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a ="aria-describedby": s});}-function nIe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {+function eIe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {let s = (0, E.useRef)(null), c = (0, E.useRef)(null), l = (0, E.useRef)({onStep: a,onSettle: o@@ -74155,7 +74164,7 @@ function nIe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet}//#endregion//#region src/react/scraping/custom-sources.tsx-var rIe = [+var tIe = [["code", "番号"],["title", "标题"],["studio", "厂牌"],@@ -74163,7 +74172,7 @@ var rIe = [["release_date", "发行日期"],["performers", "演员(文本数组)"],["tags", "标签(文本数组)"]-], iIe = [+], nIe = [["censored", "有码"],["amateur", "素人"],["uncensored", "无码"],@@ -74172,7 +74181,7 @@ var rIe = [["other", "其他"],["unsure", "待核番号"],["unknown", "未知"]-], aIe = () => ({+], rIe = () => ({name: "",endpoint: "",enabled: !1,@@ -74182,25 +74191,25 @@ var rIe = [},content_types: ["censored"]});-function oIe({ receipt: e }) {+function iIe({ receipt: e }) {let [t, n] = (0, E.useState)(null), r = _t({- queryKey: eK,- queryFn: ({ signal: e }) => tK(e)- }), i = nA(), a = (e) => W.setQueryData(eK, e), o = !!(r.isPending || r.error || r.data?.items.length || i.error), s = /* @__PURE__ */ (0, D.jsx)(q, {+ queryKey: rK,+ queryFn: ({ signal: e }) => iK(e)+ }), i = aA(), a = (e) => W.setQueryData(rK, e), o = !!(r.isPending || r.error || r.data?.items.length || i.error), s = /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",- onClick: () => n(aIe()),+ onClick: () => n(rIe()),children: "添加来源"});- return /* @__PURE__ */ (0, D.jsxs)(oA, {+ return /* @__PURE__ */ (0, D.jsxs)(lA, {title: "自定义元数据来源",children: [- o ? /* @__PURE__ */ (0, D.jsxs)(cA, { children: [+ o ? /* @__PURE__ */ (0, D.jsxs)(dA, { children: [r.isPending ? /* @__PURE__ */ (0, D.jsx)("div", {"aria-busy": "true","data-skeleton": "","aria-label": "读取自定义来源"}) : null,- r.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: V(r.error) }) : null,+ r.error ? /* @__PURE__ */ (0, D.jsx)(mA, { children: V(r.error) }) : null,r.data?.items.map((t) => /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-3",children: [@@ -74208,7 +74217,7 @@ function oIe({ receipt: e }) {className: "min-w-0 flex-1",children: t.name}),- /* @__PURE__ */ (0, D.jsx)(TV, {+ /* @__PURE__ */ (0, D.jsx)(OV, {tone: t.enabled ? "success" : "neutral",children: t.enabled ? "已启用" : "已停用"}),@@ -74220,7 +74229,7 @@ function oIe({ receipt: e }) {/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",...Y(i.busy === t.id),- onClick: () => void i.run(t.id, (e) => U($G, {+ onClick: () => void i.run(t.id, (e) => U(nK, {...t,enabled: !t.enabled}, "POST", e), (n) => {@@ -74235,7 +74244,7 @@ function oIe({ receipt: e }) {body: `删除「${B(t.name)}」后,采集将不再查询这个来源。`,confirmLabel: "删除来源",onConfirm: async () => {- a(await U($G, {+ a(await U(nK, {action: "delete",id: t.id})), n(null), e("已删除来源");@@ -74245,13 +74254,13 @@ function oIe({ receipt: e }) {})]}, t.id)),- i.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: i.error }) : null+ i.error ? /* @__PURE__ */ (0, D.jsx)(mA, { children: i.error }) : null] }) : null,- t ? null : o ? /* @__PURE__ */ (0, D.jsx)(lA, { children: s }) : /* @__PURE__ */ (0, D.jsx)(cA, { children: /* @__PURE__ */ (0, D.jsx)("div", {+ t ? null : o ? /* @__PURE__ */ (0, D.jsx)(fA, { children: s }) : /* @__PURE__ */ (0, D.jsx)(dA, { children: /* @__PURE__ */ (0, D.jsx)("div", {className: "flex justify-end",children: s}) }),- t ? /* @__PURE__ */ (0, D.jsx)(sIe, {+ t ? /* @__PURE__ */ (0, D.jsx)(aIe, {initial: t,cancel: () => n(null),saved: (t) => {@@ -74261,8 +74270,8 @@ function oIe({ receipt: e }) {]});}-function sIe({ initial: e, cancel: t, saved: n }) {- let [r, i] = (0, E.useState)(e), [a, o] = (0, E.useState)(""), [s, c] = (0, E.useState)(""), l = (0, E.useRef)(0), u = nA(), d = (e) => {+function aIe({ initial: e, cancel: t, saved: n }) {+ let [r, i] = (0, E.useState)(e), [a, o] = (0, E.useState)(""), [s, c] = (0, E.useState)(""), l = (0, E.useRef)(0), u = aA(), d = (e) => {l.current++, i((t) => ({...t,...e@@ -74272,16 +74281,16 @@ function sIe({ initial: e, cancel: t, saved: n }) {"aria-label": "元数据来源配置","aria-busy": u.busy === "preview",onSubmit: (e) => {- e.preventDefault(), u.run("save", (e) => U($G, r, "POST", e), n);+ e.preventDefault(), u.run("save", (e) => U(nK, r, "POST", e), n);},- children: [/* @__PURE__ */ (0, D.jsxs)(cA, { children: [- /* @__PURE__ */ (0, D.jsx)(dP, {+ children: [/* @__PURE__ */ (0, D.jsxs)(dA, { children: [+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "来源名称",value: r.name,maxLength: 80,onChange: (e) => d({ name: e })}),- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "JSON 接口地址",value: r.endpoint,maxLength: 2048,@@ -74290,7 +74299,7 @@ function sIe({ initial: e, cancel: t, saved: n }) {}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(fA, { children: "来源连接方式" }), /* @__PURE__ */ (0, D.jsx)(dK, {+ children: [/* @__PURE__ */ (0, D.jsx)(hA, { children: "来源连接方式" }), /* @__PURE__ */ (0, D.jsx)(mK, {id: "custom-source-network",label: "来源连接方式",epoch: 0,@@ -74301,7 +74310,7 @@ function sIe({ initial: e, cancel: t, saved: n }) {}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(fA, { children: "接口番号格式" }), /* @__PURE__ */ (0, D.jsx)(dK, {+ children: [/* @__PURE__ */ (0, D.jsx)(hA, { children: "接口番号格式" }), /* @__PURE__ */ (0, D.jsx)(mK, {id: "custom-source-code-format",label: "接口番号格式",epoch: 0,@@ -74315,8 +74324,8 @@ function sIe({ initial: e, cancel: t, saved: n }) {onPick: (e) => d({ code_format: e })})]}),- /* @__PURE__ */ (0, D.jsx)(uA, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),- rIe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(pA, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),+ tIe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(mP, {label: `${t}字段路径`,value: r.fields[e] || "",onChange: (t) => {@@ -74328,18 +74337,18 @@ function sIe({ initial: e, cancel: t, saved: n }) {className: "flex flex-wrap gap-3",role: "group","aria-label": "适用内容类型",- children: iIe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(BP, {+ children: nIe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(UP, {isSelected: r.content_types.includes(e),onChange: (t) => d({ content_types: t ? [...r.content_types, e] : r.content_types.filter((t) => t !== e) }),children: t}, e))}),- /* @__PURE__ */ (0, D.jsx)(BP, {+ /* @__PURE__ */ (0, D.jsx)(UP, {isSelected: r.enabled,onChange: (e) => d({ enabled: e }),children: "启用来源"}),- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "试查番号(回车查询)",value: a,onChange: (e) => {@@ -74349,7 +74358,7 @@ function sIe({ initial: e, cancel: t, saved: n }) {if (e.key !== "Enter" || e.nativeEvent.isComposing) return;e.preventDefault();let t = l.current;- u.run("preview", (e) => U($G, {+ u.run("preview", (e) => U(nK, {...r,code: a,action: "preview"@@ -74360,17 +74369,17 @@ function sIe({ initial: e, cancel: t, saved: n }) {});}}),- u.busy === "preview" ? /* @__PURE__ */ (0, D.jsxs)(uA, {+ u.busy === "preview" ? /* @__PURE__ */ (0, D.jsxs)(pA, {role: "status",children: [/* @__PURE__ */ (0, D.jsx)("span", { dangerouslySetInnerHTML: { __html: Ro("正在试查来源") } }), "正在试查来源…"]}) : null,- s ? /* @__PURE__ */ (0, D.jsx)(Yk, {+ s ? /* @__PURE__ */ (0, D.jsx)(Qk, {code: s,language: "json",label: "元数据接口返回"}) : null,- u.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: u.error }) : null- ] }), /* @__PURE__ */ (0, D.jsxs)(lA, { children: [/* @__PURE__ */ (0, D.jsx)(q, {+ u.error ? /* @__PURE__ */ (0, D.jsx)(mA, { children: u.error }) : null+ ] }), /* @__PURE__ */ (0, D.jsxs)(fA, { children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",type: "button",onClick: t,@@ -74384,28 +74393,28 @@ function sIe({ initial: e, cancel: t, saved: n }) {}//#endregion//#region src/react/scraping/scraping-page.tsx-var fK = [["peach", "Peach 代理"], ["direct", "直接连接"]];-function cIe(e) {- return fK.some(([t]) => t === e) || !e ? [...fK] : [...fK, [e, e]];+var hK = [["peach", "Peach 代理"], ["direct", "直接连接"]];+function oIe(e) {+ return hK.some(([t]) => t === e) || !e ? [...hK] : [...hK, [e, e]];}-function lIe(e) {+function sIe(e) {try {return new URL(e).host || e;} catch {return e;}}-var pK = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];-function uIe() {- return /* @__PURE__ */ (0, D.jsx)(MV, { source: "github" });+var gK = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];+function cIe() {+ return /* @__PURE__ */ (0, D.jsx)(FV, { source: "github" });}-function dIe({ source: e, toast: t }) {- let [n, r] = (0, E.useState)(e.network), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(pK[0][0]), [u, d] = (0, E.useState)(""), [f, p] = (0, E.useState)(""), m = (0, E.useRef)(null);+function lIe({ source: e, toast: t }) {+ let [n, r] = (0, E.useState)(e.network), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(gK[0][0]), [u, d] = (0, E.useState)(""), [f, p] = (0, E.useState)(""), m = (0, E.useRef)(null);function h() {a(""), s(""), d(""), p(""), m.current && (m.current.value = "");}let g = vt({- mutationFn: (t) => U(YFe, {+ mutationFn: (t) => U(qFe, {source: e.source,network: n,cookie: i,@@ -74413,12 +74422,12 @@ function dIe({ source: e, toast: t }) {revoke: t}),onSuccess: (e, n) => {- W.setQueryData(rK, (t) => t && {+ W.setQueryData(oK, (t) => t && {...t,sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");}- }), _ = vt({ mutationFn: () => U(XFe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {+ }), _ = vt({ mutationFn: () => U(JFe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {e.preventDefault(), !v && (_.reset(), g.mutate(!1));}, b = () => {v || (_.reset(), g.mutate(!0));@@ -74437,27 +74446,27 @@ function dIe({ source: e, toast: t }) {}}let C = f || (g.error ? V(g.error) : "") || (_.error ? V(_.error) : ""), w = _.data?.results ?? [], T = n === "peach" || e.accepts_cookie || e.browser || !!C || w.length > 0;- return /* @__PURE__ */ (0, D.jsxs)(oA, {+ return /* @__PURE__ */ (0, D.jsxs)(lA, {title: e.label,onSubmit: y,aside: /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 items-center gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(MV, { source: e.source }), e.login ? /* @__PURE__ */ (0, D.jsx)(pA, {+ children: [/* @__PURE__ */ (0, D.jsx)(FV, { source: e.source }), e.login ? /* @__PURE__ */ (0, D.jsx)(gA, {href: e.login,- children: lIe(e.login)+ children: sIe(e.login)}) : null]}),children: [- /* @__PURE__ */ (0, D.jsx)(sA, { children: /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsx)(uA, { children: /* @__PURE__ */ (0, D.jsx)(cA, {label: "连接方式",- children: /* @__PURE__ */ (0, D.jsx)(FF, {+ children: /* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": "连接方式",className: "w-44 min-w-0",selectedKey: n,onSelectionChange: (e) => {e !== null && r(String(e));},- children: cIe(n).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(IF, {+ children: oIe(n).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e,children: t}, e))@@ -74467,7 +74476,7 @@ function dIe({ source: e, toast: t }) {tone: "warning",children: /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(TV, {+ children: [/* @__PURE__ */ (0, D.jsx)(OV, {tone: "warning",children: "冷却中"}), /* @__PURE__ */ (0, D.jsxs)("span", { children: [@@ -74477,15 +74486,15 @@ function dIe({ source: e, toast: t }) {] })]})}) : null,- T ? /* @__PURE__ */ (0, D.jsxs)(cA, {+ T ? /* @__PURE__ */ (0, D.jsxs)(dA, {divided: !0,children: [n === "peach" ? /* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(Kk, {+ children: /* @__PURE__ */ (0, D.jsx)(Yk, {href: "/settings/library#peachProxy",size: "small",- trailingIcon: Ek,+ trailingIcon: kk,children: "配置 Peach 代理"})}) : null,@@ -74498,7 +74507,7 @@ function dIe({ source: e, toast: t }) {className: "flex flex-col gap-2",children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(TV, {+ children: /* @__PURE__ */ (0, D.jsx)(OV, {tone: e.cookie_saved ? "success" : "neutral",children: e.cookie_saved ? "Cookie 已保存" : "Cookie 未配置"})@@ -74507,20 +74516,20 @@ function dIe({ source: e, toast: t }) {children: e.cookie_saved ? "登录有效性待验证。" : "需要登录时,任选一种方式提供 Cookie。"})]}),- /* @__PURE__ */ (0, D.jsx)(UF, {+ /* @__PURE__ */ (0, D.jsx)(KF, {"aria-label": "提供 Cookie 的方式(二选一)",value: c,onChange: (e) => {l(e), h();},- className: WF,- children: pK.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(yN, {+ className: qF,+ children: gK.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(SN, {value: e,- className: GF,+ className: JF,children: t}, e))}),- c === "paste" ? /* @__PURE__ */ (0, D.jsx)(dP, {+ c === "paste" ? /* @__PURE__ */ (0, D.jsx)(mP, {type: "password",label: "Cookie",autoComplete: "off",@@ -74529,7 +74538,7 @@ function dIe({ source: e, toast: t }) {}) : /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(fA, { children: "Netscape Cookie 文件(.txt)" }),+ /* @__PURE__ */ (0, D.jsx)(hA, { children: "Netscape Cookie 文件(.txt)" }),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-3",children: [/* @__PURE__ */ (0, D.jsx)(q, {@@ -74555,20 +74564,20 @@ function dIe({ source: e, toast: t }) {]})] }) : null,- C ? /* @__PURE__ */ (0, D.jsx)(dA, { children: C }) : null,+ C ? /* @__PURE__ */ (0, D.jsx)(mA, { children: C }) : null,w.map((t) => /* @__PURE__ */ (0, D.jsx)(J, {tone: t.ok ? "success" : "error",children: /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex flex-col items-start gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(qV, {+ children: [/* @__PURE__ */ (0, D.jsx)(XV, {tone: t.ok ? "success" : "error",children: t.ok ? "可访问" : "连接失败"- }), /* @__PURE__ */ (0, D.jsx)("span", { children: tIe(t, e.label) })]+ }), /* @__PURE__ */ (0, D.jsx)("span", { children: $Fe(t, e.label) })]})}, t.label))]}) : null,- /* @__PURE__ */ (0, D.jsxs)(lA, { children: [+ /* @__PURE__ */ (0, D.jsxs)(fA, { children: [e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",onClick: b,@@ -74590,26 +74599,26 @@ function dIe({ source: e, toast: t }) {]});}-function fIe({ toast: e }) {- let [t, n] = (0, E.useState)(""), { running: r, outcome: i, start: a } = OV({- queryKey: iK,- queryFn: ({ signal: e }) => sK(e),- start: () => U(nK, { code: t }),+function uIe({ toast: e }) {+ let [t, n] = (0, E.useState)(""), { running: r, outcome: i, start: a } = jV({+ queryKey: sK,+ queryFn: ({ signal: e }) => uK(e),+ start: () => U(aK, { code: t }),onFinish: (t) => {t.status === "complete" && e(t.result || "封面采集完成");}}), o = (e) => {e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();}, s = a.error ? V(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";- return /* @__PURE__ */ (0, D.jsx)(oA, {+ return /* @__PURE__ */ (0, D.jsx)(lA, {title: "高清封面",onSubmit: o,- children: /* @__PURE__ */ (0, D.jsxs)(cA, { children: [+ children: /* @__PURE__ */ (0, D.jsxs)(dA, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, D.jsx)(dP, {+ children: /* @__PURE__ */ (0, D.jsx)(mP, {"aria-label": "馆藏番号",isRequired: !0,isDisabled: r,@@ -74624,7 +74633,7 @@ function fIe({ toast: e }) {children: "抓取封面"})]}),- r ? /* @__PURE__ */ (0, D.jsx)(Qk, { label: "正在抓取封面" }) : null,+ r ? /* @__PURE__ */ (0, D.jsx)(tA, { label: "正在抓取封面" }) : null,s ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",children: s@@ -74636,11 +74645,11 @@ function fIe({ toast: e }) {] })});}-function pIe({ toast: e }) {- let { query: t, running: n, outcome: r, start: i } = OV({- queryKey: aK,- queryFn: ({ signal: e }) => cK(e),- start: () => U($Fe, {}),+function dIe({ toast: e }) {+ let { query: t, running: n, outcome: r, start: i } = jV({+ queryKey: cK,+ queryFn: ({ signal: e }) => dK(e),+ start: () => U(ZFe, {}),jobOf: (e) => e.job,withJob: (e, t) => e && {...e,@@ -74649,52 +74658,52 @@ function pIe({ toast: e }) {onFinish: (t) => {t.status === "complete" && e(t.result || "amane 桥已重建");}- }), a = vt({ mutationFn: () => U(QFe, {}) }), o = t.data;- if (!o) return t.error ? /* @__PURE__ */ (0, D.jsx)(oA, {+ }), a = vt({ mutationFn: () => U(XFe, {}) }), o = t.data;+ if (!o) return t.error ? /* @__PURE__ */ (0, D.jsx)(lA, {title: "amane",- children: /* @__PURE__ */ (0, D.jsx)(cA, { children: /* @__PURE__ */ (0, D.jsx)(J, {+ children: /* @__PURE__ */ (0, D.jsx)(dA, { children: /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",children: V(t.error)}) })}) : null;let s = n || i.isPending || a.isPending, c = i.error ? V(i.error) : a.error ? V(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";- return /* @__PURE__ */ (0, D.jsxs)(oA, {+ return /* @__PURE__ */ (0, D.jsxs)(lA, {title: "amane",- aside: /* @__PURE__ */ (0, D.jsx)(pA, {+ aside: /* @__PURE__ */ (0, D.jsx)(gA, {href: o.repository,- leadingIcon: uIe,+ leadingIcon: cIe,children: o.repository}),children: [- /* @__PURE__ */ (0, D.jsxs)(mA, { children: [- /* @__PURE__ */ (0, D.jsx)(hA, {+ /* @__PURE__ */ (0, D.jsxs)(_A, { children: [+ /* @__PURE__ */ (0, D.jsx)(vA, {term: "已安装版本",children: o.installed_version || "未安装"}),- /* @__PURE__ */ (0, D.jsx)(hA, {+ /* @__PURE__ */ (0, D.jsx)(vA, {term: "上游最新版本",children: a.data?.latest ?? "尚未检查"}),- /* @__PURE__ */ (0, D.jsx)(hA, {+ /* @__PURE__ */ (0, D.jsx)(vA, {term: "运行环境",children: o.installed ? "已安装" : "未安装"}),- /* @__PURE__ */ (0, D.jsxs)(hA, {+ /* @__PURE__ */ (0, D.jsxs)(vA, {term: "内置站点",children: [o.sites.length.toLocaleString(), " 个"]})] }),- /* @__PURE__ */ (0, D.jsxs)(cA, {+ /* @__PURE__ */ (0, D.jsxs)(dA, {divided: !0,children: [- o.sites.length ? /* @__PURE__ */ (0, D.jsx)(gA, {+ o.sites.length ? /* @__PURE__ */ (0, D.jsx)(yA, {summary: "查看内置站点",children: /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: o.sites.map((e) => e.label).join("、")})}) : null,- /* @__PURE__ */ (0, D.jsxs)(uA, { children: [+ /* @__PURE__ */ (0, D.jsxs)(pA, { children: ["已安装版本:",o.installed_version || "未安装","。amane(",@@ -74703,7 +74712,7 @@ function pIe({ toast: e }) {o.version," 版本,不随上游自动升级。"] }),- n ? /* @__PURE__ */ (0, D.jsx)(Qk, { label: "正在重建运行环境" }) : null,+ n ? /* @__PURE__ */ (0, D.jsx)(tA, { label: "正在重建运行环境" }) : null,c ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",children: c@@ -74714,7 +74723,7 @@ function pIe({ toast: e }) {}) : null]}),- /* @__PURE__ */ (0, D.jsxs)(lA, { children: [/* @__PURE__ */ (0, D.jsx)(q, {+ /* @__PURE__ */ (0, D.jsxs)(fA, { children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",onClick: () => {s || a.mutate();@@ -74731,24 +74740,24 @@ function pIe({ toast: e }) {]});}-function mIe({ toast: e }) {+function fIe({ toast: e }) {let t = _t({- queryKey: rK,- queryFn: ({ signal: e }) => oK(e)+ queryKey: oK,+ queryFn: ({ signal: e }) => lK(e)}), n = t.data;- return n ? /* @__PURE__ */ (0, D.jsxs)($k, { children: [+ return n ? /* @__PURE__ */ (0, D.jsxs)(nA, { children: [/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "高清图片可能要经代理才能下载,先检查连接。"}),- /* @__PURE__ */ (0, D.jsx)(fIe, { toast: e }),- /* @__PURE__ */ (0, D.jsx)(oIe, { receipt: e }),- (n.sources || []).map((t) => /* @__PURE__ */ (0, D.jsx)(dIe, {+ /* @__PURE__ */ (0, D.jsx)(uIe, { toast: e }),+ /* @__PURE__ */ (0, D.jsx)(iIe, { receipt: e }),+ (n.sources || []).map((t) => /* @__PURE__ */ (0, D.jsx)(lIe, {source: t,toast: e}, t.source)),- /* @__PURE__ */ (0, D.jsx)(pIe, { toast: e })- ] }) : /* @__PURE__ */ (0, D.jsx)($k, { children: /* @__PURE__ */ (0, D.jsx)(J, {+ /* @__PURE__ */ (0, D.jsx)(dIe, { toast: e })+ ] }) : /* @__PURE__ */ (0, D.jsx)(nA, { children: /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: "采集来源读取失败",children: t.error ? V(t.error) : "读取采集来源失败"@@ -74756,27 +74765,27 @@ function mIe({ toast: e }) {}//#endregion//#region src/react/search/search.ts-var mK = /* @__PURE__ */ new Set([+var _K = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), hK = /* @__PURE__ */ new Set([+]), vK = /* @__PURE__ */ new Set(["asset","jav","post","photo","release"-]), gK = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();-function hIe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {+]), yK = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+function pIe({ 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 || gK(t).includes(gK(e)));+ }, d = t.filter((t) => !e || yK(t).includes(yK(e)));if (!e) {if (s.length) {let e = s.map((e) => ({@@ -74797,8 +74806,8 @@ function hIe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: avalue: e}))} : null,- left: e.filter((e) => !hK.has(e.kind)),- right: e.filter((e) => hK.has(e.kind)),+ left: e.filter((e) => !vK.has(e.kind)),+ right: e.filter((e) => vK.has(e.kind)),empty: !1,options: l};@@ -74848,7 +74857,7 @@ function hIe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: n,more: r};- }, g = m.filter((e) => !hK.has(e.kind)).map(h), _ = m.filter((e) => hK.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);+ }, g = m.filter((e) => !vK.has(e.kind)).map(h), _ = m.filter((e) => vK.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);return {tabs: f && a.length > 1 ? [...a] : null,recent: p,@@ -74858,17 +74867,17 @@ function hIe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: l};}-function gIe(e, t, n = Math.random) {+function mIe(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) => gK(t) === gK(e))).slice(0, 5);+ return r.filter((e) => !t.some((t) => yK(t) === yK(e))).slice(0, 5);}//#endregion//#region src/react/search/search-page.tsx-var _Ie = () => ({+var hIe = () => ({history: [],pool: [],poolRequest: 0,@@ -74886,7 +74895,7 @@ var _Ie = () => ({active: -1,reveal: !1,rewind: !1-}), _K = (e) => hIe({+}), bK = (e) => pIe({query: e.query,history: e.history,picks: e.picks,@@ -74895,18 +74904,18 @@ var _Ie = () => ({tabs: e.tabs,kind: e.kind,recommendations: e.recommendations-}), vIe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), vK = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("svg", {+}), gIe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), xK = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })});-function yIe(e) {+function _Ie(e) {let t = (0, E.useRef)(e);t.current = e;let n = (0, E.useRef)(null);- n.current ??= _Ie();+ n.current ??= hIe();let r = n.current, i = (0, E.useRef)(null), [, a] = (0, E.useReducer)((e) => e + 1, 0), o = (0, E.useRef)(null);- o.current ??= bIe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);+ o.current ??= vIe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);let s = o.current;(0, E.useLayoutEffect)(() => {let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();@@ -74919,7 +74928,7 @@ function yIe(e) {let e = i.current?.closest("[data-search-menu]");r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;});- let c = _K(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, D.jsx)(SIe, {+ let c = bK(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, D.jsx)(bIe, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -74932,7 +74941,7 @@ function yIe(e) {children: [/* @__PURE__ */ (0, D.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, D.jsx)("a", {href: e.href,- onMouseDown: yK,+ onMouseDown: SK,onClick: (t) => {t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));},@@ -74951,7 +74960,7 @@ function yIe(e) {"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,"data-history-limit": l,children: [- c.tabs ? /* @__PURE__ */ (0, D.jsx)(xIe, {+ c.tabs ? /* @__PURE__ */ (0, D.jsx)(yIe, {tabs: c.tabs,kind: r.kind,onPick: s.pickKind,@@ -74978,7 +74987,7 @@ function yIe(e) {]});}-function bIe(e, t, n, r) {+function vIe(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 () => {@@ -74989,7 +74998,7 @@ function bIe(e, t, n, r) {t.history = Array.isArray(e.items) ? e.items.map(String) : [];} catch {}}, l = (t) => {- t && e().historyLimit && (s([t, ...o().filter((e) => gK(e) !== gK(t))]), U("/api/search-history", { query: t }).catch(() => null));+ t && e().historyLimit && (s([t, ...o().filter((e) => yK(e) !== yK(t))]), U("/api/search-history", { query: t }).catch(() => null));}, u = async () => {let n = ++t.poolRequest;t.pool = [];@@ -75035,9 +75044,9 @@ function bIe(e, t, n, r) {let i = n();i && e().helpers.dismiss(i), t.active = -1, r();}, h = () => {- t.query = i().value.trim(), t.picks = t.query ? [] : gIe(t.pool, o()), t.active = -1;+ t.query = i().value.trim(), t.picks = t.query ? [] : mIe(t.pool, o()), t.active = -1;let a = n();- a && (vIe(_K(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (gIe(bK(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, g = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -75049,7 +75058,7 @@ function bIe(e, t, n, r) {n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), h(), t.rewind = !0, f(n, e).then(() => {a() && t.kind === e && h();}));- }, v = () => p() ? _K(t).options : [], y = (e) => {+ }, v = () => p() ? bK(t).options : [], y = (e) => {let n = v();return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;}, b = (t, n) => {@@ -75058,7 +75067,7 @@ function bIe(e, t, n, r) {}, x = (t, n) => {i().blur(), l(n), e().actions.openEntity(t, n);}, S = (t) => {- t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && mK.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));+ t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && _K.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));}, C = (t) => {m(), i().blur(), e().actions.openPath?.(t);};@@ -75104,13 +75113,13 @@ function bIe(e, t, n, r) {await U("/api/search-history", {operation: "remove",query: e- }).catch(() => null), s(o().filter((t) => gK(t) !== gK(e))), t.active = -1, r();+ }).catch(() => null), s(o().filter((t) => yK(t) !== yK(e))), t.active = -1, r();},pickKind: _,openPath: C};}-function xIe({ tabs: e, kind: t, onPick: n, wire: r }) {+function yIe({ tabs: e, kind: t, onPick: n, wire: r }) {let i = (0, E.useRef)(null);(0, E.useLayoutEffect)(() => {r(i.current);@@ -75124,9 +75133,9 @@ function xIe({ tabs: e, kind: t, onPick: n, wire: r }) {"data-pill-variant": "gray",onMouseDown: (e) => e.preventDefault(),onClick: () => n(e),- children: [r, i ? /* @__PURE__ */ (0, D.jsx)(EW, { value: i }) : null]+ children: [r, i ? /* @__PURE__ */ (0, D.jsx)(kW, { value: i }) : null]}, e || "all");- return /* @__PURE__ */ (0, D.jsxs)(cO, {+ return /* @__PURE__ */ (0, D.jsxs)(dO, {ref: i,"data-search-tabs": "","data-pill-nav": "",@@ -75135,8 +75144,8 @@ function xIe({ tabs: e, kind: t, onPick: n, wire: r }) {children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]});}-var yK = (e) => e.preventDefault();-function SIe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {+var SK = (e) => e.preventDefault();+function bIe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {let o = {"data-search-value": e.value,"data-active": t ? "" : void 0,@@ -75148,33 +75157,33 @@ function SIe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-search-option": "more",...o,- onMouseDown: yK,+ onMouseDown: SK,children: ["查看全部 ",e.total.toLocaleString()," 个视频",- /* @__PURE__ */ (0, D.jsx)(vK, { name: "chevron-right" })+ /* @__PURE__ */ (0, D.jsx)(xK, { name: "chevron-right" })]});if (e.type !== "suggest") return /* @__PURE__ */ (0, D.jsxs)("div", {"data-search-option": "",...o,children: [- /* @__PURE__ */ (0, D.jsx)(vK, { name: e.type === "history" ? "history" : "sparkles" }),+ /* @__PURE__ */ (0, D.jsx)(xK, { name: e.type === "history" ? "history" : "sparkles" }),/* @__PURE__ */ (0, D.jsx)("span", { children: e.value }),e.type === "history" ? /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-remove-history": e.value,"aria-label": `删除历史 ${e.value}`,- onMouseDown: yK,+ onMouseDown: SK,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, D.jsx)(vK, { name: "x" })+ children: /* @__PURE__ */ (0, D.jsx)(xK, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = mK.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = _K.has(c) ? c : void 0;if (["asset","jav",@@ -75188,8 +75197,8 @@ function SIe({ 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: yK,- children: [/* @__PURE__ */ (0, D.jsx)(bK, {+ onMouseDown: SK,+ children: [/* @__PURE__ */ (0, D.jsx)(CK, {card: s.card,helpers: n}), /* @__PURE__ */ (0, D.jsxs)("span", {@@ -75214,9 +75223,9 @@ function SIe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "person","data-open-entity": l,...o,- onMouseDown: yK,+ onMouseDown: SK,children: [- /* @__PURE__ */ (0, D.jsx)(xK, {+ /* @__PURE__ */ (0, D.jsx)(wK, {item: s,kind: c}),@@ -75239,11 +75248,11 @@ function SIe({ 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: yK,+ onMouseDown: SK,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, D.jsx)(bK, {+ children: /* @__PURE__ */ (0, D.jsx)(CK, {card: e,helpers: n})@@ -75257,7 +75266,7 @@ function SIe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, D.jsx)(xK, {+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, D.jsx)(wK, {item: s,kind: c}) : null,@@ -75270,13 +75279,13 @@ function SIe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function bK({ card: e, helpers: t }) {+function CK({ card: e, helpers: t }) {return /* @__PURE__ */ (0, D.jsx)("span", {"data-search-pic": "",dangerouslySetInnerHTML: { __html: t.coverHtml(e) }});}-function xK({ item: e, kind: t }) {+function wK({ item: e, kind: t }) {if (e.avatarHtml) return /* @__PURE__ */ (0, D.jsx)("span", {"data-search-face": "",dangerouslySetInnerHTML: { __html: e.avatarHtml }@@ -75296,31 +75305,31 @@ function xK({ item: e, kind: t }) {}//#endregion//#region src/react/settings/configuration.ts-var SK = ["configuration"], CK = (e) => H(yB, e);-async function CIe(e) {+var TK = ["configuration"], EK = (e) => H(SB, e);+async function xIe(e) {await W.fetchQuery({- queryKey: SK,- queryFn: () => CK(e)+ queryKey: TK,+ queryFn: () => EK(e)});}//#endregion//#region src/react/settings/configuration-panel.ts-var wK = "flex flex-col gap-6";-function TK(e) {+var DK = "flex flex-col gap-6";+function OK(e) {return e ? {- className: e.active ? `${wK} ui-board-group-active` : wK,+ className: e.active ? `${DK} ui-board-group-active` : DK,"data-board-group": String(e.index),id: e.id,role: "tabpanel","aria-labelledby": e.labelledBy- } : { className: wK };+ } : { className: DK };}//#endregion//#region src/react/settings/userscript-probe.ts-function wIe() {+function SIe() {let e = (0, E.useRef)(null), [t, n] = (0, E.useState)(0), [r, i] = (0, E.useState)("checking");return (0, E.useEffect)(() => {- let t = crypto.randomUUID(), n = !1, r = () => e.current?.contentWindow?.postMessage({+ let t = OE(), n = !1, r = () => e.current?.contentWindow?.postMessage({type: "peach-userscript:probe",nonce: t}, window.location.origin), a = (r) => {@@ -75347,13 +75356,13 @@ function wIe() {}//#endregion//#region src/react/settings/userscript-status.tsx-function TIe(e, t) {+function CIe(e, t) {let n = e.split(".").map(Number), r = t.split(".").map(Number);for (let e = 0; e < 3; e++) if (n[e] !== r[e]) return n[e] > r[e];return !0;}-function EIe({ enabled: e, release: t }) {- let { frame: n, attempt: r, status: i, retry: a } = wIe(), o = typeof i == "object", s = o && !TIe(i.version, t.minimum_version), c = i === "checking" ? "progress" : i === "missing" ? "neutral" : s || !i.paired ? "warning" : "success", l = i === "checking" ? "检测中" : i === "missing" ? "未检测到" : s ? "需更新" : i.paired ? "已连接" : "待配对";+function wIe({ enabled: e, release: t }) {+ let { frame: n, attempt: r, status: i, retry: a } = SIe(), o = typeof i == "object", s = o && !CIe(i.version, t.minimum_version), c = i === "checking" ? "progress" : i === "missing" ? "neutral" : s || !i.paired ? "warning" : "success", l = i === "checking" ? "检测中" : i === "missing" ? "未检测到" : s ? "需更新" : i.paired ? "已连接" : "待配对";return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("iframe", {ref: n,title: "Peach 用户脚本检测",@@ -75362,7 +75371,7 @@ function EIe({ enabled: e, release: t }) {}, r), /* @__PURE__ */ (0, D.jsxs)("div", {"aria-live": "polite","data-userscript-status": "",- className: qk({+ className: Xk({bordered: "line",className: "flex flex-col gap-3"}),@@ -75372,7 +75381,7 @@ function EIe({ enabled: e, release: t }) {children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-medium text-text-primary",children: "Peach 用户脚本"- }), /* @__PURE__ */ (0, D.jsx)(qV, {+ }), /* @__PURE__ */ (0, D.jsx)(XV, {tone: c,children: l})]@@ -75386,7 +75395,7 @@ function EIe({ enabled: e, release: t }) {children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-regular text-text-secondary",children: "浏览器添加"- }), /* @__PURE__ */ (0, D.jsx)(TV, {+ }), /* @__PURE__ */ (0, D.jsx)(OV, {tone: e ? "success" : "neutral",children: e ? "已启用" : "未启用"})]@@ -75397,7 +75406,7 @@ function EIe({ enabled: e, release: t }) {}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [i === "missing" || s ? /* @__PURE__ */ (0, D.jsx)(pA, {+ children: [i === "missing" || s ? /* @__PURE__ */ (0, D.jsx)(gA, {href: t.install_url,children: s ? "更新用户脚本" : "安装 Peach 用户脚本"}) : null, /* @__PURE__ */ (0, D.jsx)(q, {@@ -75414,26 +75423,26 @@ function EIe({ enabled: e, release: t }) {}//#endregion//#region src/react/settings/jav-browser-settings.tsx-var EK = "/api/configuration/jav-browser";-function DIe({ receipt: e, refreshKey: t }) {+var kK = "/api/configuration/jav-browser";+function TIe({ receipt: e, refreshKey: t }) {let n = _t({queryKey: ["jav-browser-settings", t],- queryFn: ({ signal: e }) => H(EK, e),+ queryFn: ({ signal: e }) => H(kK, e),refetchOnMount: "always",refetchOnWindowFocus: "always"});- return n.error && !n.data ? /* @__PURE__ */ (0, D.jsx)(dA, { children: V(n.error) }) : n.isFetching && !n.data ? /* @__PURE__ */ (0, D.jsx)(Qk, { label: "正在读取浏览器添加设置" }) : n.data ? /* @__PURE__ */ (0, D.jsx)(OIe, {+ return n.error && !n.data ? /* @__PURE__ */ (0, D.jsx)(mA, { children: V(n.error) }) : n.isFetching && !n.data ? /* @__PURE__ */ (0, D.jsx)(tA, { label: "正在读取浏览器添加设置" }) : n.data ? /* @__PURE__ */ (0, D.jsx)(EIe, {initial: n.data,receipt: e}) : null;}-function OIe({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.provider), [o, s] = (0, E.useState)(""), c = nA();+function EIe({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.provider), [o, s] = (0, E.useState)(""), c = aA();(0, E.useEffect)(() => {r(e), a((t) => e.providers.some((e) => e.key === t) ? t : e.provider), e.enabled || s("");}, [e]);let l = (e) => {- c.run(e, (t) => U(EK, {+ c.run(e, (t) => U(kK, {action: e,provider: i}, "POST", t), (n) => {@@ -75441,16 +75450,16 @@ function OIe({ initial: e, receipt: t }) {r(o), a(o.provider), s(i), t(e === "disable" ? "已关闭浏览器添加" : "已生成专用令牌");});}, u = n.providers.some((e) => e.key === i && e.configured && e.target);- return /* @__PURE__ */ (0, D.jsxs)(oA, {+ return /* @__PURE__ */ (0, D.jsxs)(lA, {title: "浏览器添加 JAV",- children: [/* @__PURE__ */ (0, D.jsxs)(cA, { children: [- /* @__PURE__ */ (0, D.jsx)(EIe, {+ children: [/* @__PURE__ */ (0, D.jsxs)(dA, { children: [+ /* @__PURE__ */ (0, D.jsx)(wIe, {enabled: n.enabled,release: n.userscript}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(fA, { children: "浏览器添加的下载渠道" }), /* @__PURE__ */ (0, D.jsx)(FF, {+ children: [/* @__PURE__ */ (0, D.jsx)(hA, { children: "浏览器添加的下载渠道" }), /* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": "浏览器添加的下载渠道",selectedKey: i || null,placeholder: "暂无可用渠道",@@ -75458,27 +75467,27 @@ function OIe({ initial: e, receipt: t }) {e !== null && a(String(e));},isDisabled: !n.providers.length || !!c.busy,- children: n.providers.map((e) => /* @__PURE__ */ (0, D.jsx)(IF, {+ children: n.providers.map((e) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e.key,textValue: e.label,- children: /* @__PURE__ */ (0, D.jsx)(IA, {+ children: /* @__PURE__ */ (0, D.jsx)(zA, {source: e.key,label: e.label})}, e.key))})]}),- u ? null : /* @__PURE__ */ (0, D.jsx)(uA, { children: "请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。" }),- n.problems?.map((e) => /* @__PURE__ */ (0, D.jsx)(uA, { children: e }, e)),- n.enabled && n.active_provider && !n.providers.some((e) => e.key === n.active_provider) ? /* @__PURE__ */ (0, D.jsx)(uA, { children: "已启用的下载渠道不可用,请选择渠道并更新令牌。" }) : null,- /* @__PURE__ */ (0, D.jsx)(dP, {+ u ? null : /* @__PURE__ */ (0, D.jsx)(pA, { children: "请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。" }),+ n.problems?.map((e) => /* @__PURE__ */ (0, D.jsx)(pA, { children: e }, e)),+ n.enabled && n.active_provider && !n.providers.some((e) => e.key === n.active_provider) ? /* @__PURE__ */ (0, D.jsx)(pA, { children: "已启用的下载渠道不可用,请选择渠道并更新令牌。" }) : null,+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "Peach 地址",value: window.location.origin,isReadOnly: !0,autoComplete: "off"}),o ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "浏览器添加专用令牌",type: "password",value: o,@@ -75498,10 +75507,10 @@ function OIe({ initial: e, receipt: t }) {...Y(c.busy === "copy"),children: "复制配对信息"}) }),- /* @__PURE__ */ (0, D.jsx)(uA, { children: "在用户脚本设置的「Peach 地址」中粘贴配对信息,即可填好地址与令牌。" })+ /* @__PURE__ */ (0, D.jsx)(pA, { children: "在用户脚本设置的「Peach 地址」中粘贴配对信息,即可填好地址与令牌。" })] }) : null,- c.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: c.error }) : null- ] }), /* @__PURE__ */ (0, D.jsxs)(lA, { children: [n.enabled ? /* @__PURE__ */ (0, D.jsx)(q, {+ c.error ? /* @__PURE__ */ (0, D.jsx)(mA, { children: c.error }) : null+ ] }), /* @__PURE__ */ (0, D.jsxs)(fA, { children: [n.enabled ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",type: "button",disabled: !!c.busy,@@ -75518,17 +75527,17 @@ function OIe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/download-settings.tsx-var kIe = "/api/configuration/downloads", DK = "/api/configuration/downloads/check", AIe = "/api/configuration/downloads/folder", jIe = "/api/configuration/downloads/pikpak/login", MIe = "/api/configuration/downloads/pikpak/logout", OK = "/api/configuration/downloads/pikpak/browser-login", kK = 2e3, NIe = PA("pikpak");-function PIe({ initial: e, receipt: t, panel: n }) {+var DIe = "/api/configuration/downloads", AK = "/api/configuration/downloads/check", OIe = "/api/configuration/downloads/folder", kIe = "/api/configuration/downloads/pikpak/login", AIe = "/api/configuration/downloads/pikpak/logout", jK = "/api/configuration/downloads/pikpak/browser-login", MK = 2e3, jIe = LA("pikpak");+function MIe({ initial: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, D.jsx)("div", {- ...TK(n),- children: /* @__PURE__ */ (0, D.jsx)(FIe, {+ ...OK(n),+ children: /* @__PURE__ */ (0, D.jsx)(NIe, {initial: e,receipt: t})});}-function FIe({ initial: e, receipt: t }) {+function NIe({ initial: e, receipt: t }) {let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)("");(0, E.useEffect)(() => {r((t) => ({@@ -75539,20 +75548,20 @@ function FIe({ initial: e, receipt: t }) {}, [e.media_sources, e.pikpak_roots]);let o = n.media_sources ?? [], s = o.includes("pikpak"), c = o.some((e) => Ft.includes(e)), l = s && (n.pikpak.logged_in || !!i.trim());return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- c ? /* @__PURE__ */ (0, D.jsx)(IIe, {+ c ? /* @__PURE__ */ (0, D.jsx)(PIe, {state: n,settle: r,receipt: t,pikpakAccount: l}) : null,- s ? /* @__PURE__ */ (0, D.jsx)(RIe, {+ s ? /* @__PURE__ */ (0, D.jsx)(IIe, {state: n,settle: r,receipt: t,username: i,setUsername: a}) : null,- /* @__PURE__ */ (0, D.jsx)(DIe, {+ /* @__PURE__ */ (0, D.jsx)(TIe, {receipt: t,refreshKey: JSON.stringify([n.media_sources,@@ -75563,8 +75572,8 @@ function FIe({ initial: e, receipt: t }) {})] });}-function IIe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {- let [i, a] = (0, E.useState)(e.config), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(String(e.config.wait_hours)), [u, d] = (0, E.useState)(null), [f, p] = (0, E.useState)(""), [m, h] = (0, E.useState)(AK), [g, _] = (0, E.useState)(""), [v, y] = (0, E.useState)(!1), b = nA(), x = e.media_sources ?? [], S = x.includes("115"), C = x.includes("pikpak"), w = (e) => i.targets[e] ?? "", T = (e, t) => a({+function PIe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {+ let [i, a] = (0, E.useState)(e.config), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(String(e.config.wait_hours)), [u, d] = (0, E.useState)(null), [f, p] = (0, E.useState)(""), [m, h] = (0, E.useState)(NK), [g, _] = (0, E.useState)(""), [v, y] = (0, E.useState)(!1), b = aA(), x = e.media_sources ?? [], S = x.includes("115"), C = x.includes("pikpak"), w = (e) => i.targets[e] ?? "", T = (e, t) => a({...i,targets: {...i.targets,@@ -75593,8 +75602,8 @@ function IIe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {target: !e.config.targets[115],root: !e.config.pikpak_root};- b.run("auto", (e) => H(DK, e), (e) => k(e, t), (e) => _(V(e)));- }, []), /* @__PURE__ */ (0, D.jsxs)(oA, {+ b.run("auto", (e) => H(AK, e), (e) => k(e, t), (e) => _(V(e)));+ }, []), /* @__PURE__ */ (0, D.jsxs)(lA, {title: "云下载",onSubmit: (e) => {if (e.preventDefault(), O) {@@ -75607,18 +75616,18 @@ function IIe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {token: o,pikpak_account: r};- b.run("save", (e) => U(kIe, f, "POST", e), (e) => {+ b.run("save", (e) => U(DIe, f, "POST", e), (e) => {let { report: r, ...i } = e;t(i), a(i.config), l(String(i.config.wait_hours)), s(""), r ? k(r, {address: !i.config.clouddrive_address,target: u,root: !i.config.pikpak_root- }, i.config.targets[115] ?? "") : (d(null), p(""), h(AK), y(!1), _("")), n("已保存配置");+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(NK), y(!1), _("")), n("已保存配置");}, (e) => _(V(e)));},children: [- /* @__PURE__ */ (0, D.jsxs)(cA, { children: [- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsxs)(dA, { children: [+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "CloudDrive2 地址",placeholder: "留空自动查找",autoComplete: "off",@@ -75630,7 +75639,7 @@ function IIe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {clouddrive_address: e})}),- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "CloudDrive2 API 令牌",type: "password",autoComplete: "off",@@ -75641,8 +75650,8 @@ function IIe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {isDisabled: !e.available,onChange: s}),- S ? /* @__PURE__ */ (0, D.jsx)(dP, {- label: /* @__PURE__ */ (0, D.jsx)(IA, {+ S ? /* @__PURE__ */ (0, D.jsx)(mP, {+ label: /* @__PURE__ */ (0, D.jsx)(zA, {source: "115",label: "115 目标目录"}),@@ -75656,8 +75665,8 @@ function IIe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {isDisabled: !e.available,onChange: (e) => T("115", e)}) : null,- C ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(dP, {- label: /* @__PURE__ */ (0, D.jsx)(IA, {+ C ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(mP, {+ label: /* @__PURE__ */ (0, D.jsx)(zA, {source: "pikpak",label: "PikPak 目标目录"}),@@ -75670,10 +75679,10 @@ function IIe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {onChange: (e) => T("pikpak", e)}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(fA, { children: /* @__PURE__ */ (0, D.jsx)(IA, {+ children: [/* @__PURE__ */ (0, D.jsx)(hA, { children: /* @__PURE__ */ (0, D.jsx)(zA, {source: "pikpak",label: "PikPak 根目录对应的媒体目录"- }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, D.jsx)(FF, {+ }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": "PikPak 根目录对应的媒体目录",selectedKey: i.pikpak_root || null,isDisabled: !e.available,@@ -75682,13 +75691,13 @@ function IIe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {...i,pikpak_root: e === null ? "" : String(e)}),- children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, D.jsx)(IF, {+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e,children: e}, e))- }) : /* @__PURE__ */ (0, D.jsx)(uA, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]+ }) : /* @__PURE__ */ (0, D.jsx)(pA, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]})] }) : null,- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "等待上限(小时)",type: "number",inputMode: "numeric",@@ -75699,11 +75708,11 @@ function IIe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {onChange: l})] }),- b.busy === "auto" ? /* @__PURE__ */ (0, D.jsx)(cA, {+ b.busy === "auto" ? /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(Qk, { label: "正在检查 CloudDrive2" })+ children: /* @__PURE__ */ (0, D.jsx)(tA, { label: "正在检查 CloudDrive2" })}) : null,- u ? /* @__PURE__ */ (0, D.jsx)(LIe, {+ u ? /* @__PURE__ */ (0, D.jsx)(FIe, {report: u,detected: f,suggested: m,@@ -75715,7 +75724,7 @@ function IIe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {pikpak_root: i.pikpak_root,pikpak_account: r};- b.run("folder", (e) => U(AIe, t, "POST", e), (t) => {+ b.run("folder", (e) => U(OIe, t, "POST", e), (t) => {d(t), h((t) => ({...t,target: {@@ -75727,11 +75736,11 @@ function IIe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {} : void 0,creating: b.busy === "folder"}) : null,- g || b.error ? /* @__PURE__ */ (0, D.jsx)(cA, {+ g || b.error ? /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(dA, { children: g || b.error })+ children: /* @__PURE__ */ (0, D.jsx)(mA, { children: g || b.error })}) : null,- /* @__PURE__ */ (0, D.jsxs)(lA, {+ /* @__PURE__ */ (0, D.jsxs)(fA, {status: e.available ? void 0 : "云下载只在允许修改数据库的设备上可用。",children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",@@ -75747,7 +75756,7 @@ function IIe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {pikpak_root: i.pikpak_root,pikpak_account: r};- b.run("check", (e) => U(DK, t, "POST", e), (t) => k(t, e), (e) => _(V(e)));+ b.run("check", (e) => U(AK, t, "POST", e), (t) => k(t, e), (e) => _(V(e)));},disabled: !e.available,...Y(b.busy === "check"),@@ -75762,29 +75771,29 @@ function IIe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {]});}-var AK = {+var NK = {target: null,root: "",saved: !1};-function LIe({ report: e, detected: t, suggested: n, create: r, creating: i }) {+function FIe({ report: e, detected: t, suggested: n, create: r, creating: i }) {let a = n.target, o = !!(t || a || n.root || e.permissions.length || e.folder || e.quota);- return !o && !e.problems.length ? null : /* @__PURE__ */ (0, D.jsxs)(cA, {+ return !o && !e.problems.length ? null : /* @__PURE__ */ (0, D.jsxs)(dA, {divided: !0,- children: [o ? /* @__PURE__ */ (0, D.jsxs)(mA, { children: [- t ? /* @__PURE__ */ (0, D.jsx)(hA, {+ children: [o ? /* @__PURE__ */ (0, D.jsxs)(_A, { children: [+ t ? /* @__PURE__ */ (0, D.jsx)(vA, {term: "CloudDrive2 地址",children: `探测到 ${t},保存配置后生效`}) : null,- a?.exists ? /* @__PURE__ */ (0, D.jsx)(hA, {- term: /* @__PURE__ */ (0, D.jsx)(IA, {+ a?.exists ? /* @__PURE__ */ (0, D.jsx)(vA, {+ term: /* @__PURE__ */ (0, D.jsx)(zA, {source: "115",label: "115 目标目录"}),children: n.saved ? `已根据媒体库目录填入 ${a.path}` : `根据媒体库目录填入 ${a.path},保存配置后生效`}) : null,- a && !a.exists ? /* @__PURE__ */ (0, D.jsxs)(hA, {- term: /* @__PURE__ */ (0, D.jsx)(IA, {+ a && !a.exists ? /* @__PURE__ */ (0, D.jsxs)(vA, {+ term: /* @__PURE__ */ (0, D.jsx)(zA, {source: "115",label: "115 目标目录"}),@@ -75796,59 +75805,59 @@ function LIe({ report: e, detected: t, suggested: n, create: r, creating: i }) {children: "新建这个目录"}) : null]}) : null,- n.root ? /* @__PURE__ */ (0, D.jsx)(hA, {- term: /* @__PURE__ */ (0, D.jsx)(IA, {+ n.root ? /* @__PURE__ */ (0, D.jsx)(vA, {+ term: /* @__PURE__ */ (0, D.jsx)(zA, {source: "pikpak",label: "PikPak 根目录"}),children: `根据媒体库目录填入 ${n.root},保存配置后生效`}) : null,- e.permissions.length ? /* @__PURE__ */ (0, D.jsx)(hA, {+ e.permissions.length ? /* @__PURE__ */ (0, D.jsx)(vA, {term: "离线权限",- children: /* @__PURE__ */ (0, D.jsx)(Hk, {+ children: /* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption",color: e.missing.length ? "yellow" : "lime",children: e.missing.length ? `缺少:${e.missing.join("、")}` : "齐全"})}) : null,- e.folder ? /* @__PURE__ */ (0, D.jsx)(hA, {+ e.folder ? /* @__PURE__ */ (0, D.jsx)(vA, {term: "目标目录",children: e.folder.can_offline ? `${e.folder.path} 可以离线下载` : `${e.folder.path} 不支持离线下载`}) : null,- e.quota ? /* @__PURE__ */ (0, D.jsx)(hA, {- term: /* @__PURE__ */ (0, D.jsx)(IA, {+ e.quota ? /* @__PURE__ */ (0, D.jsx)(vA, {+ term: /* @__PURE__ */ (0, D.jsx)(zA, {source: "115",label: "115 离线配额"}),children: `本月还剩 ${e.quota.left} 条,共 ${e.quota.total} 条`}) : null- ] }) : null, e.problems.map((e) => /* @__PURE__ */ (0, D.jsx)(dA, { children: e }, e))]+ ] }) : null, e.problems.map((e) => /* @__PURE__ */ (0, D.jsx)(mA, { children: e }, e))]});}-function RIe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {- let [a, o] = (0, E.useState)(""), [s, c] = (0, E.useState)(!1), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(""), h = nA(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";+function IIe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {+ let [a, o] = (0, E.useState)(""), [s, c] = (0, E.useState)(!1), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(""), h = aA(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";(0, E.useEffect)(() => {if (!v) return;let e = new AbortController(), r, i = async () => {try {- let r = await H(OK, e.signal);+ let r = await H(jK, e.signal);if (e.signal.aborted || (t(r), r.pikpak_browser.state === "done" ? n("已登录 PikPak") : r.pikpak_browser.state !== "waiting" && m(r.pikpak_browser.message), r.pikpak_browser.state !== "waiting")) return;} catch (t) {if (e.signal.aborted) return;f(V(t));}- r = setTimeout(i, kK);+ r = setTimeout(i, MK);};- return r = setTimeout(i, kK), () => {+ return r = setTimeout(i, MK), () => {e.abort(), clearTimeout(r);};}, [v]);let y = () => {- m(""), h.run("browser", (e) => U(OK, {}, "POST", e), (e) => {+ m(""), h.run("browser", (e) => U(jK, {}, "POST", e), (e) => {t(e), f("");}, (e) => f(V(e)));}, b = () => {- h.run("cancel", (e) => U(`${OK}/cancel`, {}, "POST", e), (e) => {+ h.run("cancel", (e) => U(`${jK}/cancel`, {}, "POST", e), (e) => {t(e), f(""), m(e.pikpak_browser.message);}, (e) => f(V(e)));}, x = (e) => {@@ -75858,15 +75867,15 @@ function RIe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {password: a,remember: s};- h.run("login", (e) => U(jIe, i, "POST", e), (e) => {+ h.run("login", (e) => U(kIe, i, "POST", e), (e) => {t(e.settings), f(""), e.ok ? (u(""), o(""), n("已登录 PikPak")) : u(e.captcha_url ?? "");}, (e) => f(V(e)));}, S = () => {- h.run("logout", (e) => U(MIe, {}, "POST", e), (e) => {+ h.run("logout", (e) => U(AIe, {}, "POST", e), (e) => {t(e), f(""), n("已登出 PikPak");}, (e) => f(V(e)));}, C = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "账号",placeholder: "邮箱或手机号",autoComplete: "username",@@ -75875,7 +75884,7 @@ function RIe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {isDisabled: !e.available,onChange: i}),- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "密码",type: "password",autoComplete: "current-password",@@ -75884,7 +75893,7 @@ function RIe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {isDisabled: !e.available,onChange: o}),- /* @__PURE__ */ (0, D.jsx)(BP, {+ /* @__PURE__ */ (0, D.jsx)(UP, {isSelected: s,isDisabled: !e.available,onChange: c,@@ -75895,7 +75904,7 @@ function RIe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {title: "需要人机验证",extra: /* @__PURE__ */ (0, D.jsx)("div", {className: "pt-2",- children: /* @__PURE__ */ (0, D.jsx)(pA, {+ children: /* @__PURE__ */ (0, D.jsx)(gA, {href: l,children: "打开 PikPak 验证页"})@@ -75908,34 +75917,34 @@ function RIe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {...Y(h.busy === "login"),children: "登录"}), T = _.state === "timeout" || _.state === "failed";- return /* @__PURE__ */ (0, D.jsxs)(oA, {+ return /* @__PURE__ */ (0, D.jsxs)(lA, {title: "PikPak 账号",- icon: /* @__PURE__ */ (0, D.jsx)(NIe, {}),+ icon: /* @__PURE__ */ (0, D.jsx)(jIe, {}),onSubmit: x,- aside: /* @__PURE__ */ (0, D.jsx)(TV, {+ aside: /* @__PURE__ */ (0, D.jsx)(OV, {tone: g.logged_in ? "success" : v ? "progress" : T ? "error" : "neutral",children: g.logged_in ? "已登录" : v ? "等待登录" : T ? "登录未完成" : "待登录"}),children: [- g.logged_in ? /* @__PURE__ */ (0, D.jsxs)(mA, { children: [/* @__PURE__ */ (0, D.jsx)(hA, {+ g.logged_in ? /* @__PURE__ */ (0, D.jsxs)(_A, { children: [/* @__PURE__ */ (0, D.jsx)(vA, {term: "账号",children: g.username || "已登录"- }), g.method === "browser" ? /* @__PURE__ */ (0, D.jsx)(hA, {+ }), g.method === "browser" ? /* @__PURE__ */ (0, D.jsx)(vA, {term: "登录方式",children: "浏览器登录,由 Peach 续期"- }) : /* @__PURE__ */ (0, D.jsx)(hA, {+ }) : /* @__PURE__ */ (0, D.jsx)(vA, {term: "密码",children: g.remember ? "已保存,登录过期时自动重新登录" : "未保存,登录过期后需要回到这里重新登录"- })] }) : /* @__PURE__ */ (0, D.jsxs)(cA, { children: [p ? T ? /* @__PURE__ */ (0, D.jsx)(dA, { children: p }) : /* @__PURE__ */ (0, D.jsx)(uA, {+ })] }) : /* @__PURE__ */ (0, D.jsxs)(dA, { children: [p ? T ? /* @__PURE__ */ (0, D.jsx)(mA, { children: p }) : /* @__PURE__ */ (0, D.jsx)(pA, {role: "status",children: p}) : null, C] }),- d || h.error ? /* @__PURE__ */ (0, D.jsx)(cA, {+ d || h.error ? /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(dA, { children: d || h.error })+ children: /* @__PURE__ */ (0, D.jsx)(mA, { children: d || h.error })}) : null,- /* @__PURE__ */ (0, D.jsx)(lA, {- status: !g.logged_in && v ? /* @__PURE__ */ (0, D.jsx)(Qk, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,+ /* @__PURE__ */ (0, D.jsx)(fA, {+ status: !g.logged_in && v ? /* @__PURE__ */ (0, D.jsx)(tA, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,children: g.logged_in ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",onClick: S,@@ -75961,33 +75970,33 @@ function RIe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {}//#endregion//#region src/react/settings/maintenance-settings.tsx-var zIe = [+var LIe = [["6", "每 6 小时"],["24", "每天"],["168", "每周"]];-function BIe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {+function RIe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {return /* @__PURE__ */ (0, D.jsxs)("div", {- ...TK(r),+ ...OK(r),children: [- /* @__PURE__ */ (0, D.jsx)(UIe, { facts: e.facts }),- /* @__PURE__ */ (0, D.jsx)(VIe, {+ /* @__PURE__ */ (0, D.jsx)(VIe, { facts: e.facts }),+ /* @__PURE__ */ (0, D.jsx)(zIe, {receipt: t,reopenTutorial: n}),- e.uninstall ? /* @__PURE__ */ (0, D.jsx)(WIe, {+ e.uninstall ? /* @__PURE__ */ (0, D.jsx)(HIe, {uninstall: e.uninstall,receipt: t}) : null]});}-function VIe({ receipt: e, reopenTutorial: t }) {- let n = nA();+function zIe({ receipt: e, reopenTutorial: t }) {+ let n = aA();return /* @__PURE__ */ (0, D.jsx)("section", {"aria-label": "安装教程",className: "w-full",- children: /* @__PURE__ */ (0, D.jsxs)(rA, { children: [/* @__PURE__ */ (0, D.jsx)(sA, { children: /* @__PURE__ */ (0, D.jsx)(aA, {+ children: /* @__PURE__ */ (0, D.jsxs)(oA, { children: [/* @__PURE__ */ (0, D.jsx)(uA, { children: /* @__PURE__ */ (0, D.jsx)(cA, {label: "安装教程",children: /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",@@ -75995,61 +76004,61 @@ function VIe({ receipt: e, reopenTutorial: t }) {...Y(n.busy === "reopen"),children: "重新打开教程"})- }) }), n.error ? /* @__PURE__ */ (0, D.jsx)(cA, { children: /* @__PURE__ */ (0, D.jsx)(dA, { children: n.error }) }) : null] })+ }) }), n.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: /* @__PURE__ */ (0, D.jsx)(mA, { children: n.error }) }) : null] })});}-function HIe({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e.mode), [i, a] = (0, E.useState)(e.interval_hours), o = nA(e.error), s = (r) => {+function BIe({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e.mode), [i, a] = (0, E.useState)(e.interval_hours), o = aA(e.error), s = (r) => {r.preventDefault(), e.available && o.run("save", (e) => U("/api/configuration/automatic-updates", {mode: n,interval_hours: i}, "POST", e), () => t("已保存配置"));}, c = e.available ? e.download_available ? "下载完成后在这里确认重启安装。" : void 0 : "自动更新需要由托盘管理的服务。";- return /* @__PURE__ */ (0, D.jsxs)(oA, {+ return /* @__PURE__ */ (0, D.jsxs)(lA, {title: "自动更新",onSubmit: s,children: [- /* @__PURE__ */ (0, D.jsxs)(sA, { children: [- /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsxs)(uA, { children: [+ /* @__PURE__ */ (0, D.jsx)(cA, {label: "自动检查新版本",- children: /* @__PURE__ */ (0, D.jsx)(mW, {+ children: /* @__PURE__ */ (0, D.jsx)(_W, {"aria-label": "自动检查新版本",isSelected: n !== "off",isDisabled: !e.available,onChange: (e) => r(e ? "check" : "off")})}),- /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsx)(cA, {label: "自动下载更新",- children: /* @__PURE__ */ (0, D.jsx)(mW, {+ children: /* @__PURE__ */ (0, D.jsx)(_W, {"aria-label": "自动下载更新",isSelected: n === "download",isDisabled: !e.available || !e.download_available || n === "off",onChange: (e) => r(e ? "download" : "check")})}),- /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsx)(cA, {label: "检查频率",description: c,- children: /* @__PURE__ */ (0, D.jsx)(FF, {+ children: /* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": "检查频率",selectedKey: String(i),isDisabled: !e.available,onSelectionChange: (e) => {e !== null && a(Number(e));},- children: zIe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(IF, {+ children: LIe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e,children: t}, e))})})] }),- o.error ? /* @__PURE__ */ (0, D.jsx)(cA, {+ o.error ? /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(dA, { children: o.error })+ children: /* @__PURE__ */ (0, D.jsx)(mA, { children: o.error })}) : null,- /* @__PURE__ */ (0, D.jsx)(lA, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ /* @__PURE__ */ (0, D.jsx)(fA, { children: /* @__PURE__ */ (0, D.jsx)(q, {type: "submit",disabled: !e.available,...Y(o.busy === "save"),@@ -76058,19 +76067,19 @@ function HIe({ initial: e, receipt: t }) {]});}-function UIe({ facts: e }) {- return /* @__PURE__ */ (0, D.jsx)(oA, {+function VIe({ facts: e }) {+ return /* @__PURE__ */ (0, D.jsx)(lA, {title: "运行信息",- children: /* @__PURE__ */ (0, D.jsx)(mA, { children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)(hA, {+ children: /* @__PURE__ */ (0, D.jsx)(_A, { children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)(vA, {term: e.term,- children: [e.value, e.download_url ? /* @__PURE__ */ (0, D.jsx)(pA, {+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, D.jsx)(gA, {href: e.download_url,children: e.download_label}) : null]}, e.term)) })});}-function WIe({ uninstall: e, receipt: t }) {+function HIe({ uninstall: e, receipt: t }) {let [n, r] = (0, E.useState)(!1), [i, a] = (0, E.useState)(""), o = () => void Hs({title: "卸载 Peach",danger: !0,@@ -76084,33 +76093,33 @@ function WIe({ uninstall: e, receipt: t }) {a(e.message);}}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];- return /* @__PURE__ */ (0, D.jsxs)(oA, {+ return /* @__PURE__ */ (0, D.jsxs)(lA, {id: "uninstallPeach",title: "卸载 Peach",children: [- e.available ? /* @__PURE__ */ (0, D.jsx)(cA, { children: /* @__PURE__ */ (0, D.jsx)(uA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) }) : null,- /* @__PURE__ */ (0, D.jsx)(sA, { children: /* @__PURE__ */ (0, D.jsx)(aA, {+ e.available ? /* @__PURE__ */ (0, D.jsx)(dA, { children: /* @__PURE__ */ (0, D.jsx)(pA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) }) : null,+ /* @__PURE__ */ (0, D.jsx)(uA, { children: /* @__PURE__ */ (0, D.jsx)(cA, {label: "完全卸载",description: "同时删除设置、本地数据库、观看记录、凭据和缓存",- children: /* @__PURE__ */ (0, D.jsx)(mW, {+ children: /* @__PURE__ */ (0, D.jsx)(_W, {"aria-label": "完全卸载",isSelected: n,isDisabled: !e.full_available || !!i,onChange: r})}) }),- /* @__PURE__ */ (0, D.jsx)(cA, {+ /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(gA, {+ children: /* @__PURE__ */ (0, D.jsx)(yA, {summary: "数据目录",- children: c.map((e) => /* @__PURE__ */ (0, D.jsx)(EV, {+ children: c.map((e) => /* @__PURE__ */ (0, D.jsx)(kV, {path: e,className: "text-body-2-regular text-text-secondary",onRevealed: t}, e))})}),- /* @__PURE__ */ (0, D.jsx)(lA, {+ /* @__PURE__ */ (0, D.jsx)(fA, {status: s ? /* @__PURE__ */ (0, D.jsx)("p", {role: i ? "status" : void 0,children: s@@ -76127,23 +76136,23 @@ function WIe({ uninstall: e, receipt: t }) {}//#endregion//#region src/react/settings/release-updates.tsx-var jK = /* @__PURE__ */ new Set([+var PK = /* @__PURE__ */ new Set(["downloading","verifying","extracting","preparing","restarting","installing"-]), GIe = [+]), UIe = [65,75,90-], MK = 120;-function KIe({ initial: e, initialJob: t }) {+], FK = 120;+function WIe({ initial: e, initialJob: t }) {let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(t || {state: "idle",progress: 0- }), [o, s] = (0, E.useState)(""), c = nA(), l = (0, E.useRef)(!1), u = (0, E.useRef)(!0), d = jK.has(i.state);+ }), [o, s] = (0, E.useState)(""), c = aA(), l = (0, E.useRef)(!1), u = (0, E.useRef)(!0), d = PK.has(i.state);(0, E.useEffect)(() => (u.current = !0, () => {u.current = !1;}), []);@@ -76160,7 +76169,7 @@ function KIe({ initial: e, initialJob: t }) {(0, E.useEffect)(() => {i.state !== "ready" || l.current || (l.current = !0, p());}, [i.state]), (0, E.useEffect)(() => {- let e = new AbortController(), t = jK.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {+ let e = new AbortController(), t = PK.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {try {let t = await H("/api/configuration/update-status", e.signal);if (e.signal.aborted) return;@@ -76173,9 +76182,9 @@ function KIe({ initial: e, initialJob: t }) {let n = await H("/api/configuration/automatic-updates", e.signal);!e.signal.aborted && n.result && r(n.result);} catch {- o += 1, o >= MK && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");+ o += 1, o >= FK && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");}- !e.signal.aborted && o < MK && (n = setTimeout(c, t));+ !e.signal.aborted && o < FK && (n = setTimeout(c, t));};return n = setTimeout(c, t), () => {e.abort(), clearTimeout(n);@@ -76189,66 +76198,66 @@ function KIe({ initial: e, initialJob: t }) {state: "error"}), c.setError(V(t));}), g = c.error || o, _ = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;- return /* @__PURE__ */ (0, D.jsxs)(oA, {+ return /* @__PURE__ */ (0, D.jsxs)(lA, {title: "检查更新",- aside: /* @__PURE__ */ (0, D.jsx)(TV, {+ aside: /* @__PURE__ */ (0, D.jsx)(OV, {tone: g || n.state === "error" || i.state === "error" ? "error" : d ? "progress" : n.state === "available" ? "warning" : n.state === "unchecked" ? "neutral" : "success",children: g || n.state === "error" || i.state === "error" ? "检查未完成" : d ? "准备更新中" : i.state === "ready" ? "可安装" : n.state === "available" ? "有可用更新" : n.state === "unchecked" ? "尚未检查" : "检查完成"}),children: [- /* @__PURE__ */ (0, D.jsxs)(mA, { children: [- /* @__PURE__ */ (0, D.jsx)(hA, {+ /* @__PURE__ */ (0, D.jsxs)(_A, { children: [+ /* @__PURE__ */ (0, D.jsx)(vA, {term: "当前版本",children: n.current_version}),- /* @__PURE__ */ (0, D.jsx)(hA, {+ /* @__PURE__ */ (0, D.jsx)(vA, {term: "安装方式",children: n.installation}),- /* @__PURE__ */ (0, D.jsx)(hA, {+ /* @__PURE__ */ (0, D.jsx)(vA, {term: "更新通道",children: n.channel}),- /* @__PURE__ */ (0, D.jsx)(hA, {+ /* @__PURE__ */ (0, D.jsx)(vA, {term: "最新版本",children: n.latest_version || "未取得"}),- n.package_kind ? /* @__PURE__ */ (0, D.jsxs)(hA, {+ n.package_kind ? /* @__PURE__ */ (0, D.jsxs)(vA, {term: "下载内容",children: [n.package_kind === "update" ? "应用更新包" : "应用与工具", n.asset_size ? ` · ${(n.asset_size / 1048576).toFixed(1)} MB` : ""]}) : null] }),- n.package_kind === "update" ? /* @__PURE__ */ (0, D.jsx)(uA, { children: "应用更新包复用已安装工具;工具缺失、损坏或版本变化时会另行下载所需工具包。" }) : n.package_kind === "full" ? /* @__PURE__ */ (0, D.jsx)(uA, { children: "本次更新包含媒体工具。" }) : null,- n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, D.jsxs)(cA, {+ n.package_kind === "update" ? /* @__PURE__ */ (0, D.jsx)(pA, { children: "应用更新包复用已安装工具;工具缺失、损坏或版本变化时会另行下载所需工具包。" }) : n.package_kind === "full" ? /* @__PURE__ */ (0, D.jsx)(pA, { children: "本次更新包含媒体工具。" }) : null,+ n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, D.jsxs)(dA, {divided: !0,children: [- n.checked_at ? /* @__PURE__ */ (0, D.jsxs)(uA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,+ n.checked_at ? /* @__PURE__ */ (0, D.jsxs)(pA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,n.state === "available" && !g ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "info",title: "有可用更新",children: n.message- }) : g || n.state === "error" ? /* @__PURE__ */ (0, D.jsx)(dA, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, D.jsx)(uA, {+ }) : g || n.state === "error" ? /* @__PURE__ */ (0, D.jsx)(mA, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, D.jsx)(pA, {role: "status",children: n.message}),- i.state === "error" ? /* @__PURE__ */ (0, D.jsx)(dA, { children: i.message }) : null,+ i.state === "error" ? /* @__PURE__ */ (0, D.jsx)(mA, { children: i.message }) : null,i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, D.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(tA, {+ /* @__PURE__ */ (0, D.jsx)(iA, {label: "更新准备进度",value: i.progress,- stops: GIe+ stops: UIe}),- /* @__PURE__ */ (0, D.jsxs)(uA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),- /* @__PURE__ */ (0, D.jsx)(uA, { children: _ })+ /* @__PURE__ */ (0, D.jsxs)(pA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),+ /* @__PURE__ */ (0, D.jsx)(pA, { children: _ })]}) : null]}),- /* @__PURE__ */ (0, D.jsxs)(lA, {- status: /* @__PURE__ */ (0, D.jsx)(pA, {+ /* @__PURE__ */ (0, D.jsxs)(fA, {+ status: /* @__PURE__ */ (0, D.jsx)(gA, {href: n.release_url,children: "查看发布页"}),@@ -76276,11 +76285,11 @@ function KIe({ initial: e, initialJob: t }) {}//#endregion//#region src/react/settings/remote-reporting-settings.tsx-function qIe({ value: e, onChange: t, busy: n = !1 }) {- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(sA, { children: /* @__PURE__ */ (0, D.jsx)(aA, {+function GIe({ value: e, onChange: t, busy: n = !1 }) {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(uA, { children: /* @__PURE__ */ (0, D.jsx)(cA, {label: "发送版本统计与错误诊断(推荐)",description: "上传版本、系统信息、故障类型、代码位置与发生次数。",- children: /* @__PURE__ */ (0, D.jsx)(mW, {+ children: /* @__PURE__ */ (0, D.jsx)(_W, {"aria-label": "发送版本统计与错误诊断(推荐)",isSelected: e.usage && e.errors,onChange: (n) => t({@@ -76290,17 +76299,17 @@ function qIe({ value: e, onChange: t, busy: n = !1 }) {}),...Y(n)})- }) }), e.available ? null : /* @__PURE__ */ (0, D.jsx)(cA, {+ }) }), e.available ? null : /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,children: /* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(TV, { children: "上传服务未配置" })+ children: /* @__PURE__ */ (0, D.jsx)(OV, { children: "上传服务未配置" })})})] });}-function JIe({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e), i = nA();- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(qIe, {+function KIe({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e), i = aA();+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(GIe, {value: n,busy: i.busy === "save",onChange: (e) => {@@ -76311,15 +76320,15 @@ function JIe({ initial: e, receipt: t }) {r(e), t("已保存诊断选项");});}- }), i.error ? /* @__PURE__ */ (0, D.jsx)(cA, {+ }), i.error ? /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(dA, { children: i.error })+ children: /* @__PURE__ */ (0, D.jsx)(mA, { children: i.error })}) : null] });}//#endregion//#region src/react/settings/library-sharing-settings.tsx-function YIe({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(null), [o, s] = (0, E.useState)(!1), [c, l] = (0, E.useState)(!1), u = (0, E.useMemo)(() => i ? JSON.stringify(i.data, null, 2) : "", [i]), d = nA(), f = (e) => void d.run("save", (t) => U("/api/configuration/library-sharing", {+function qIe({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(null), [o, s] = (0, E.useState)(!1), [c, l] = (0, E.useState)(!1), u = (0, E.useMemo)(() => i ? JSON.stringify(i.data, null, 2) : "", [i]), d = aA(), f = (e) => void d.run("save", (t) => U("/api/configuration/library-sharing", {enabled: e,schema: n.schema,consent: c,@@ -76336,54 +76345,54 @@ function YIe({ initial: e, receipt: t }) {}};return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(sA, { children: /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsx)(uA, { children: /* @__PURE__ */ (0, D.jsx)(cA, {label: "上传馆藏与口味明细",description: n.notice,- children: /* @__PURE__ */ (0, D.jsx)(mW, {+ children: /* @__PURE__ */ (0, D.jsx)(_W, {"aria-label": "上传馆藏与口味明细",isSelected: n.enabled,onChange: (e) => e ? s(!0) : f(!1),...Y(d.busy === "save")})}) }),- n.available ? null : /* @__PURE__ */ (0, D.jsx)(cA, {+ n.available ? null : /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,children: /* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(TV, { children: "上传服务未配置" })+ children: /* @__PURE__ */ (0, D.jsx)(OV, { children: "上传服务未配置" })})}),- n.enabled && n.last_attempt?.status === "failed" ? /* @__PURE__ */ (0, D.jsxs)(cA, {+ n.enabled && n.last_attempt?.status === "failed" ? /* @__PURE__ */ (0, D.jsxs)(dA, {divided: !0,children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(TV, {+ children: /* @__PURE__ */ (0, D.jsx)(OV, {tone: n.last_attempt.attempted ? "error" : "warning",children: n.last_attempt.attempted ? "上传失败" : "待重新准备"})- }), /* @__PURE__ */ (0, D.jsx)(dA, { children: n.last_attempt.attempted ? "馆藏与口味上传失败,本周不再发送。" : "馆藏与口味上传未完成,将自动重新准备。" })]+ }), /* @__PURE__ */ (0, D.jsx)(mA, { children: n.last_attempt.attempted ? "馆藏与口味上传失败,本周不再发送。" : "馆藏与口味上传未完成,将自动重新准备。" })]}) : null,- n.enabled && n.last_attempt?.status === "waiting-data" ? /* @__PURE__ */ (0, D.jsxs)(cA, {+ n.enabled && n.last_attempt?.status === "waiting-data" ? /* @__PURE__ */ (0, D.jsxs)(dA, {divided: !0,children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(TV, { children: "等待数据" })- }), /* @__PURE__ */ (0, D.jsx)(uA, { children: "等待可分析的馆藏或偏好数据。" })]+ children: /* @__PURE__ */ (0, D.jsx)(OV, { children: "等待数据" })+ }), /* @__PURE__ */ (0, D.jsx)(pA, { children: "等待可分析的馆藏或偏好数据。" })]}) : null,- n.enabled && n.last_attempt?.status === "unknown" ? /* @__PURE__ */ (0, D.jsxs)(cA, {+ n.enabled && n.last_attempt?.status === "unknown" ? /* @__PURE__ */ (0, D.jsxs)(dA, {divided: !0,children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(TV, {+ children: /* @__PURE__ */ (0, D.jsx)(OV, {tone: "warning",children: "结果未取得"})- }), /* @__PURE__ */ (0, D.jsx)(uA, { children: "未取得上传结果,本周不再发送。" })]+ }), /* @__PURE__ */ (0, D.jsx)(pA, { children: "未取得上传结果,本周不再发送。" })]}) : null,- i ? /* @__PURE__ */ (0, D.jsxs)(cA, {+ i ? /* @__PURE__ */ (0, D.jsxs)(dA, {divided: !0,children: [- /* @__PURE__ */ (0, D.jsxs)(uA, { children: [+ /* @__PURE__ */ (0, D.jsxs)(pA, { children: ["当前预览包含 ",i.data.library.length," 部有编号作品、",@@ -76392,34 +76401,34 @@ function YIe({ initial: e, receipt: t }) {(i.bytes / 1024).toFixed(1)," KiB。不含账号、设备、文件路径和浏览器历史记录等个人数据。"] }),- /* @__PURE__ */ (0, D.jsx)(gA, {+ /* @__PURE__ */ (0, D.jsx)(yA, {summary: "上传数据预览",defaultOpen: !0,- children: /* @__PURE__ */ (0, D.jsx)(Yk, {+ children: /* @__PURE__ */ (0, D.jsx)(Qk, {code: u,language: "json",label: "馆藏与口味上传预览",maxCharacters: 24e3})}),- u.length > 24e3 ? /* @__PURE__ */ (0, D.jsx)(uA, { children: "显示前 24,000 个字符,下载可查看完整内容。" }) : null,+ u.length > 24e3 ? /* @__PURE__ */ (0, D.jsx)(pA, { children: "显示前 24,000 个字符,下载可查看完整内容。" }) : null,/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",onClick: p,children: "下载完整预览"}),- n.enabled ? null : /* @__PURE__ */ (0, D.jsx)(BP, {+ n.enabled ? null : /* @__PURE__ */ (0, D.jsx)(UP, {isSelected: c,onChange: l,children: "我已查看上传预览,同意上传馆藏与口味明细"})]}) : null,- d.error ? /* @__PURE__ */ (0, D.jsx)(cA, {+ d.error ? /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(dA, { children: d.error })+ children: /* @__PURE__ */ (0, D.jsx)(mA, { children: d.error })}) : null,- /* @__PURE__ */ (0, D.jsxs)(lA, { children: [+ /* @__PURE__ */ (0, D.jsxs)(fA, { children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",onClick: () => {@@ -76448,41 +76457,41 @@ function YIe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/general-settings.tsx-function XIe({ data: e, receipt: t, panel: n }) {+function JIe({ data: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {- ...TK(n),+ ...OK(n),children: [- e.remote_reporting || e.library_sharing ? /* @__PURE__ */ (0, D.jsxs)(oA, {+ e.remote_reporting || e.library_sharing ? /* @__PURE__ */ (0, D.jsxs)(lA, {title: "数据上传",- children: [e.remote_reporting ? /* @__PURE__ */ (0, D.jsx)(JIe, {+ children: [e.remote_reporting ? /* @__PURE__ */ (0, D.jsx)(KIe, {initial: e.remote_reporting,receipt: t}) : null, e.library_sharing ? /* @__PURE__ */ (0, D.jsx)("div", {className: "border-t border-separator-border",- children: /* @__PURE__ */ (0, D.jsx)(YIe, {+ children: /* @__PURE__ */ (0, D.jsx)(qIe, {initial: e.library_sharing,receipt: t})}) : null]}) : null,- e.startup ? /* @__PURE__ */ (0, D.jsx)(ZIe, {+ e.startup ? /* @__PURE__ */ (0, D.jsx)(YIe, {startup: e.startup,receipt: t}) : null,- e.automatic_updates ? /* @__PURE__ */ (0, D.jsx)(HIe, {+ e.automatic_updates ? /* @__PURE__ */ (0, D.jsx)(BIe, {initial: e.automatic_updates,receipt: t}) : null,- e.updates ? /* @__PURE__ */ (0, D.jsx)(KIe, {+ e.updates ? /* @__PURE__ */ (0, D.jsx)(WIe, {initial: e.updates,initialJob: e.update_job}) : null]});}-function ZIe({ startup: e, receipt: t }) {- let [n, r] = (0, E.useState)(e.enabled), [i, a] = (0, E.useState)(e.silent), [o, s] = (0, E.useState)(e.desktop), c = nA(), l = e.available && !e.desktop_message;- return /* @__PURE__ */ (0, D.jsxs)(oA, {+function YIe({ startup: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e.enabled), [i, a] = (0, E.useState)(e.silent), [o, s] = (0, E.useState)(e.desktop), c = aA(), l = e.available && !e.desktop_message;+ return /* @__PURE__ */ (0, D.jsxs)(lA, {title: "开机自启",onSubmit: (r) => {r.preventDefault(), e.available && c.run("save", (e) => U("/api/configuration/startup", {@@ -76492,29 +76501,29 @@ function ZIe({ startup: e, receipt: t }) {}, "POST", e), () => t("已保存配置"));},children: [- /* @__PURE__ */ (0, D.jsxs)(sA, { children: [- /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsxs)(uA, { children: [+ /* @__PURE__ */ (0, D.jsx)(cA, {label: "开机后启动 Peach",- children: /* @__PURE__ */ (0, D.jsx)(mW, {+ children: /* @__PURE__ */ (0, D.jsx)(_W, {"aria-label": "开机后启动 Peach",isSelected: n,isDisabled: !e.available,onChange: r})}),- /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsx)(cA, {label: "只启动托盘,不打开网页",- children: /* @__PURE__ */ (0, D.jsx)(mW, {+ children: /* @__PURE__ */ (0, D.jsx)(_W, {"aria-label": "只启动托盘,不打开网页",isSelected: i,isDisabled: !e.available || !n,onChange: a})}),- /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsx)(cA, {label: "在桌面创建快捷方式",description: e.desktop_message || void 0,- children: /* @__PURE__ */ (0, D.jsx)(mW, {+ children: /* @__PURE__ */ (0, D.jsx)(_W, {"aria-label": "在桌面创建快捷方式",isSelected: o,isDisabled: !l,@@ -76522,11 +76531,11 @@ function ZIe({ startup: e, receipt: t }) {})})] }),- e.message || c.error ? /* @__PURE__ */ (0, D.jsxs)(cA, {+ e.message || c.error ? /* @__PURE__ */ (0, D.jsxs)(dA, {divided: !0,- children: [e.message ? /* @__PURE__ */ (0, D.jsx)(uA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: c.error }) : null]+ children: [e.message ? /* @__PURE__ */ (0, D.jsx)(pA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, D.jsx)(mA, { children: c.error }) : null]}) : null,- /* @__PURE__ */ (0, D.jsx)(lA, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ /* @__PURE__ */ (0, D.jsx)(fA, { children: /* @__PURE__ */ (0, D.jsx)(q, {type: "submit",disabled: !e.available,...Y(c.busy === "save"),@@ -76537,7 +76546,7 @@ function ZIe({ startup: e, receipt: t }) {}//#endregion//#region src/react/restart-redirect.ts-var NK = 8e3, QIe = [+var IK = 8e3, XIe = [{name: "机械硬盘,或内存 8 GB 以内",cache: "10–20 GiB",@@ -76556,34 +76565,34 @@ var NK = 8e3, QIe = [read: "256 / 128 KB",task: "2 个起步"}-], $Ie = [+], ZIe = [["cache", "缓存上限"],["read", "读取长度(默认 / 最小)"],["task", "同时处理视频"]];-function eLe() {+function QIe() {return /* @__PURE__ */ (0, D.jsx)("div", {className: "@container flex flex-col gap-3",- children: /* @__PURE__ */ (0, D.jsxs)(gA, {+ children: /* @__PURE__ */ (0, D.jsxs)(yA, {summary: "CloudDrive 设置帮助",children: [- /* @__PURE__ */ (0, D.jsxs)(uA, { children: ["先将 CloudDrive2 或 OpenList 中的网盘挂载为本机文件夹,再在这里选择。", /* @__PURE__ */ (0, D.jsx)(pA, {+ /* @__PURE__ */ (0, D.jsxs)(pA, { children: ["先将 CloudDrive2 或 OpenList 中的网盘挂载为本机文件夹,再在这里选择。", /* @__PURE__ */ (0, D.jsx)(gA, {href: "https://www.clouddrive2.com/help.html",children: "挂载帮助"})] }),- /* @__PURE__ */ (0, D.jsx)(uA, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),- /* @__PURE__ */ (0, D.jsx)(uA, { children: "文件操作需要挂载工具和网盘账号授予写入权限。光鸭云盘的上传、建文件夹、改名和移动需要 CloudDrive2 v1.1.0 或更高版本,删除和复制暂不支持。" }),+ /* @__PURE__ */ (0, D.jsx)(pA, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),+ /* @__PURE__ */ (0, D.jsx)(pA, { children: "文件操作需要挂载工具和网盘账号授予写入权限。光鸭云盘的上传、建文件夹、改名和移动需要 CloudDrive2 v1.1.0 或更高版本,删除和复制暂不支持。" }),/* @__PURE__ */ (0, D.jsx)("ul", {"aria-label": "按缓存所在硬盘分档",className: "flex flex-col gap-2",- children: QIe.map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {+ children: XIe.map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",children: [/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-medium text-text-primary",children: e.name}), /* @__PURE__ */ (0, D.jsx)("dl", {className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",- children: $Ie.map(([t, n]) => /* @__PURE__ */ (0, D.jsxs)("div", {+ children: ZIe.map(([t, n]) => /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col",children: [/* @__PURE__ */ (0, D.jsx)("dt", {className: "text-caption-1-regular text-text-secondary",@@ -76604,7 +76613,7 @@ function eLe() {/* @__PURE__ */ (0, D.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })]}),- /* @__PURE__ */ (0, D.jsx)(uA, { children: /* @__PURE__ */ (0, D.jsx)(pA, {+ /* @__PURE__ */ (0, D.jsx)(pA, { children: /* @__PURE__ */ (0, D.jsx)(gA, {href: "https://github.com/peach-mitao/peach/blob/master/docs/CLOUDDRIVE.md",children: "完整配置与调优说明"}) })@@ -76614,15 +76623,15 @@ function eLe() {}//#endregion//#region src/react/settings/cloud-proxy-settings.tsx-var PK = "/api/configuration/cloud-proxies", tLe = [+var LK = "/api/configuration/cloud-proxies", $Ie = [["direct", "直连"],["system", "跟随系统"],["http", "HTTP 代理"],["socks5", "SOCKS5 代理"]];-function nLe({ receipt: e }) {- let [t, n] = (0, E.useState)(null), [r, i] = (0, E.useState)(!0), a = (0, E.useRef)(/* @__PURE__ */ new Set()), o = (0, E.useRef)(/* @__PURE__ */ new Set()), [s, c] = (0, E.useState)(!1), l = (0, E.useRef)(() => void 0), u = nA(), d = () => {- o.current.size || u.run("refresh", (e) => H(PK, e), (e) => {+function eLe({ receipt: e }) {+ let [t, n] = (0, E.useState)(null), [r, i] = (0, E.useState)(!0), a = (0, E.useRef)(/* @__PURE__ */ new Set()), o = (0, E.useRef)(/* @__PURE__ */ new Set()), [s, c] = (0, E.useState)(!1), l = (0, E.useRef)(() => void 0), u = aA(), d = () => {+ o.current.size || u.run("refresh", (e) => H(LK, e), (e) => {a.current.clear(), n(e), i(!1);}, (e) => {i(!1), u.setError(e instanceof Error ? e.message : "无法读取网盘代理");@@ -76634,10 +76643,10 @@ function nLe({ receipt: e }) {a.current.size || l.current();};return window.addEventListener("focus", e), () => window.removeEventListener("focus", e);- }, []), /* @__PURE__ */ (0, D.jsxs)(oA, {+ }, []), /* @__PURE__ */ (0, D.jsxs)(lA, {title: "CloudDrive 代理",- children: [/* @__PURE__ */ (0, D.jsxs)(cA, { children: [- /* @__PURE__ */ (0, D.jsx)(uA, { children: "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。" }),+ children: [/* @__PURE__ */ (0, D.jsxs)(dA, { children: [+ /* @__PURE__ */ (0, D.jsx)(pA, { children: "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。" }),r ? /* @__PURE__ */ (0, D.jsx)("div", {"data-skeleton": !0,"aria-busy": "true",@@ -76650,22 +76659,22 @@ function nLe({ receipt: e }) {children: [u.error," ",- /* @__PURE__ */ (0, D.jsx)(Kk, {+ /* @__PURE__ */ (0, D.jsx)(Yk, {href: "/settings/downloads",size: "small",children: "下载设置"})]}) : null,- t?.accounts.length === 0 && !t.unlinked?.length ? /* @__PURE__ */ (0, D.jsx)(uA, { children: "还没有使用 CloudDrive 的媒体库。" }) : null,+ t?.accounts.length === 0 && !t.unlinked?.length ? /* @__PURE__ */ (0, D.jsx)(pA, { children: "还没有使用 CloudDrive 的媒体库。" }) : null,t?.unlinked?.map((e) => /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-col gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(fA, { children: /* @__PURE__ */ (0, D.jsxs)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(hA, { children: /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(_A, { mark: BV(e.location) }), e.name]- }) }), /* @__PURE__ */ (0, D.jsx)(uA, { children: "尚未匹配 CloudDrive 账号" })]+ children: [/* @__PURE__ */ (0, D.jsx)(bA, { mark: UV(e.location) }), e.name]+ }) }), /* @__PURE__ */ (0, D.jsx)(pA, { children: "尚未匹配 CloudDrive 账号" })]}, e.root)),- t?.accounts.map((t) => /* @__PURE__ */ (0, D.jsx)(rLe, {+ t?.accounts.map((t) => /* @__PURE__ */ (0, D.jsx)(tLe, {initial: t,receipt: e,onDirty: () => a.current.add(t.id),@@ -76679,7 +76688,7 @@ function nLe({ receipt: e }) {});}}, t.id + t.revision))- ] }), /* @__PURE__ */ (0, D.jsx)(lA, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ ] }), /* @__PURE__ */ (0, D.jsx)(fA, { children: /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",disabled: s,onClick: d,@@ -76688,8 +76697,8 @@ function nLe({ receipt: e }) {}) })]});}-function rLe({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {- let [a, o] = (0, E.useState)(e), [s, c] = (0, E.useState)([]), l = a.libraries?.map((e) => e.name).join("、") || a.name, u = nA(), d = (e, t) => {+function tLe({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {+ let [a, o] = (0, E.useState)(e), [s, c] = (0, E.useState)([]), l = a.libraries?.map((e) => e.name).join("、") || a.name, u = aA(), d = (e, t) => {o((n) => ({...n,[e]: t@@ -76698,7 +76707,7 @@ function rLe({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {return /* @__PURE__ */ (0, D.jsxs)("form", {"aria-label": `${l} 代理`,onSubmit: (e) => {- e.preventDefault(), i(!0), u.run("save", (e) => U(PK, {+ e.preventDefault(), i(!0), u.run("save", (e) => U(LK, {id: a.id,revision: a.revision,...s.includes("api") ? { api: a.api } : {},@@ -76709,28 +76718,28 @@ function rLe({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {},className: "flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4",children: [- /* @__PURE__ */ (0, D.jsx)(fA, { children: /* @__PURE__ */ (0, D.jsxs)("span", {+ /* @__PURE__ */ (0, D.jsx)(hA, { children: /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(_A, { mark: BV(a.libraries?.[0]?.location || (a.cloud === "115open" ? "115" : a.cloud.toLowerCase())) }), l]+ children: [/* @__PURE__ */ (0, D.jsx)(bA, { mark: UV(a.libraries?.[0]?.location || (a.cloud === "115open" ? "115" : a.cloud.toLowerCase())) }), l]}) }),- /* @__PURE__ */ (0, D.jsxs)(uA, { children: [+ /* @__PURE__ */ (0, D.jsxs)(pA, { children: [a.name," · ",a.path] }),- /* @__PURE__ */ (0, D.jsx)(FK, {+ /* @__PURE__ */ (0, D.jsx)(RK, {label: "数据代理",value: a.data,disabled: !a.writable || !!u.busy,onChange: (e) => d("data", e)}),- /* @__PURE__ */ (0, D.jsx)(FK, {+ /* @__PURE__ */ (0, D.jsx)(RK, {label: "API 代理",value: a.api,disabled: !a.writable || !!u.busy,onChange: (e) => d("api", e)}),- a.writable ? null : /* @__PURE__ */ (0, D.jsx)(uA, { children: "API 令牌需要“修改云盘”权限才能保存。" }),+ a.writable ? null : /* @__PURE__ */ (0, D.jsx)(pA, { children: "API 令牌需要“修改云盘”权限才能保存。" }),u.error ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: "没有保存",@@ -76748,13 +76757,13 @@ function rLe({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {]});}-function FK({ label: e, value: t, disabled: n, onChange: r }) {+function RK({ label: e, value: t, disabled: n, onChange: r }) {let i = t.mode === "http" || t.mode === "socks5";return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-col gap-3",children: [- /* @__PURE__ */ (0, D.jsx)(fA, { children: e }),- /* @__PURE__ */ (0, D.jsxs)(FF, {+ /* @__PURE__ */ (0, D.jsx)(hA, { children: e }),+ /* @__PURE__ */ (0, D.jsxs)(RF, {"aria-label": e,selectedKey: t.mode,isDisabled: n,@@ -76764,17 +76773,17 @@ function FK({ label: e, value: t, disabled: n, onChange: r }) {mode: String(e)});},- children: [t.mode === "unknown" ? /* @__PURE__ */ (0, D.jsx)(IF, {+ children: [t.mode === "unknown" ? /* @__PURE__ */ (0, D.jsx)(zF, {id: "unknown",children: "无法识别的代理类型"- }) : null, tLe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(IF, {+ }) : null, $Ie.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e,children: t}, e))]}),i ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap gap-3",- children: [/* @__PURE__ */ (0, D.jsx)(dP, {+ children: [/* @__PURE__ */ (0, D.jsx)(mP, {className: "min-w-40 flex-1",label: `${e}地址`,value: t.host,@@ -76784,7 +76793,7 @@ function FK({ label: e, value: t, disabled: n, onChange: r }) {...t,host: e})- }), /* @__PURE__ */ (0, D.jsx)(dP, {+ }), /* @__PURE__ */ (0, D.jsx)(mP, {className: "w-full sm:w-28",label: `${e}端口`,value: t.port ? String(t.port) : "",@@ -76795,10 +76804,10 @@ function FK({ label: e, value: t, disabled: n, onChange: r }) {port: Number(e)})})]- }), /* @__PURE__ */ (0, D.jsxs)(gA, {+ }), /* @__PURE__ */ (0, D.jsxs)(yA, {summary: "代理认证",children: [- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: `${e}用户名`,value: t.username,autoComplete: "off",@@ -76808,7 +76817,7 @@ function FK({ label: e, value: t, disabled: n, onChange: r }) {username: e})}),- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: `${e}密码`,type: "password",value: t.password || "",@@ -76820,7 +76829,7 @@ function FK({ label: e, value: t, disabled: n, onChange: r }) {password: e})}),- t.password_set ? /* @__PURE__ */ (0, D.jsx)(BP, {+ t.password_set ? /* @__PURE__ */ (0, D.jsx)(UP, {isSelected: !!t.clear_password,isDisabled: n,onChange: (e) => r({@@ -76836,7 +76845,7 @@ function FK({ label: e, value: t, disabled: n, onChange: r }) {}//#endregion//#region src/react/settings/library-icon-picker.tsx-var IK = [+var zK = [["", "自动识别"],["hard-drive", "磁盘"],["database", "资料库"],@@ -76880,13 +76889,13 @@ var IK = [["star", "收藏"],["tags", "主题"]];-function LK(e) {+function BK(e) {let t = e === "local" ? "" : _o[e];return t ? [t, "自动识别"] : ["hard-drive", "默认"];}-var RK = "auto";-function iLe({ value: e, label: t, kind: n = "local", onChange: r }) {- let i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(e), [l, u] = LK(n);+var VK = "auto";+function nLe({ value: e, label: t, kind: n = "local", onChange: r }) {+ let i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(e), [l, u] = BK(n);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(q, {ref: i,variant: "secondary",@@ -76900,35 +76909,35 @@ function iLe({ value: e, label: t, kind: n = "local", onChange: r }) {children: /* @__PURE__ */ (0, D.jsxs)("span", {"data-icon-choice": !0,className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(_A, { mark: e || l }), ((e) => e && IK.find(([t]) => t === e)?.[1] || u)(e)]+ children: [/* @__PURE__ */ (0, D.jsx)(bA, { mark: e || l }), ((e) => e && zK.find(([t]) => t === e)?.[1] || u)(e)]})- }), /* @__PURE__ */ (0, D.jsx)(QM, {+ }), /* @__PURE__ */ (0, D.jsx)(tN, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "bottom start",offset: 4,- className: NP,- children: /* @__PURE__ */ (0, D.jsxs)(dN, {+ className: IP,+ children: /* @__PURE__ */ (0, D.jsxs)(mN, {"aria-label": `${t}可选图标`,className: "flex w-72 flex-col gap-3 outline-none",children: [- /* @__PURE__ */ (0, D.jsx)(Oj, {+ /* @__PURE__ */ (0, D.jsx)(jj, {slot: "title",className: "px-1 text-body-medium text-text-primary",children: "选择媒体库图标"}),- /* @__PURE__ */ (0, D.jsx)(vN, {+ /* @__PURE__ */ (0, D.jsx)(xN, {"aria-label": "可选图标",- value: s || RK,- onChange: (e) => c(e === RK ? "" : e),+ value: s || VK,+ onChange: (e) => c(e === VK ? "" : e),className: "inline-grid grid-cols-7 gap-1",- children: IK.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(yN, {- value: e || RK,+ children: zK.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(SN, {+ value: e || VK,"aria-label": e ? t : u,className: "flex h-10 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none hover:bg-dropdown-item-hover-background focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-dropdown-item-hover-background data-selected:text-text-primary",- children: /* @__PURE__ */ (0, D.jsx)(_A, { mark: e || l })- }, e || RK))+ children: /* @__PURE__ */ (0, D.jsx)(bA, { mark: e || l })+ }, e || VK))}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",@@ -76950,9 +76959,9 @@ function iLe({ value: e, label: t, kind: n = "local", onChange: r }) {}//#endregion//#region src/react/settings/push-discovery-settings.tsx-var aLe = "/api/configuration/push-discovery", oLe = "/api/configuration/push-discovery/secret";-function sLe({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.prefixes), [o, s] = (0, E.useState)(""), c = nA(), l = n.media_roots, [u, d] = (0, E.useState)(e), f = (e, n) => {+var rLe = "/api/configuration/push-discovery", iLe = "/api/configuration/push-discovery/secret";+function aLe({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.prefixes), [o, s] = (0, E.useState)(""), c = aA(), l = n.media_roots, [u, d] = (0, E.useState)(e), f = (e, n) => {r(e), d(e), a(e.prefixes), s(""), t(n);}, p = (e, t) => a((n) => n.map((n, r) => r === e ? {...n,@@ -76965,29 +76974,29 @@ function sLe({ initial: e, receipt: t }) {cloud: n.cloud,prefixes: i};- c.run("save", (e) => U(aLe, t, "POST", e), (e) => f(e, "已保存配置"), (e) => s(V(e)));+ c.run("save", (e) => U(rLe, t, "POST", e), (e) => f(e, "已保存配置"), (e) => s(V(e)));}, h = () => {- c.run("secret", (e) => U(oLe, {}, "POST", e), (e) => f(e, "已更换共享密钥"), (e) => s(V(e)));+ c.run("secret", (e) => U(iLe, {}, "POST", e), (e) => f(e, "已更换共享密钥"), (e) => s(V(e)));}, g = `已入库 ${u.queue.ingested} 个文件` + (u.queue.pending ? `,队列里还有 ${u.queue.pending} 条` : ""), _ = u.local_running ? `正在监视 ${u.local_roots.join("、")}` : u.local_message || "没有运行";- return /* @__PURE__ */ (0, D.jsxs)(oA, {+ return /* @__PURE__ */ (0, D.jsxs)(lA, {title: "自动发现新文件",onSubmit: m,children: [- /* @__PURE__ */ (0, D.jsx)(cA, { children: /* @__PURE__ */ (0, D.jsxs)("div", {+ /* @__PURE__ */ (0, D.jsx)(dA, { children: /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-regular text-text-secondary",children: "本机监视"- }), /* @__PURE__ */ (0, D.jsx)(TV, {+ }), /* @__PURE__ */ (0, D.jsx)(OV, {tone: !u.enabled || !u.watch_local ? "neutral" : u.local_running ? "progress" : "warning",children: !u.enabled || !u.watch_local ? "未启用" : u.local_running ? "运行中" : "未运行"})]}) }),- /* @__PURE__ */ (0, D.jsxs)(sA, { children: [- /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsxs)(uA, { children: [+ /* @__PURE__ */ (0, D.jsx)(cA, {label: "发现新文件后自动入库",description: u.enabled ? g : void 0,- children: /* @__PURE__ */ (0, D.jsx)(mW, {+ children: /* @__PURE__ */ (0, D.jsx)(_W, {"aria-label": "发现新文件后自动入库",isSelected: n.enabled,isDisabled: !n.available,@@ -76997,10 +77006,10 @@ function sLe({ initial: e, receipt: t }) {})})}),- /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsx)(cA, {label: "监视本机文件夹",description: u.enabled && u.watch_local ? _ : void 0,- children: /* @__PURE__ */ (0, D.jsx)(mW, {+ children: /* @__PURE__ */ (0, D.jsx)(_W, {"aria-label": "监视本机文件夹",isSelected: n.watch_local,isDisabled: !n.available || !n.enabled,@@ -77010,9 +77019,9 @@ function sLe({ initial: e, receipt: t }) {})})}),- /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsx)(cA, {label: "接收 CloudDrive2 通知",- children: /* @__PURE__ */ (0, D.jsx)(mW, {+ children: /* @__PURE__ */ (0, D.jsx)(_W, {"aria-label": "接收 CloudDrive2 通知",isSelected: n.cloud,isDisabled: !n.available || !n.enabled,@@ -77022,34 +77031,34 @@ function sLe({ initial: e, receipt: t }) {})})}),- u.enabled && u.cloud ? /* @__PURE__ */ (0, D.jsx)(aA, {+ u.enabled && u.cloud ? /* @__PURE__ */ (0, D.jsx)(cA, {label: "Webhook 配置",description: u.config_toml ? "贴进 CloudDrive2「设置 → Webhooks」,需要会员;更换密钥后要重贴。" : u.origin ? "还没有共享密钥,保存配置后生成。" : "要先有 CloudDrive2 能访问的局域网地址才能生成。"}) : null] }),- u.enabled && u.cloud && u.config_toml ? /* @__PURE__ */ (0, D.jsx)(cA, {+ u.enabled && u.cloud && u.config_toml ? /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,children: /* @__PURE__ */ (0, D.jsx)("div", {className: "flex flex-col gap-3",- children: /* @__PURE__ */ (0, D.jsxs)(gA, {+ children: /* @__PURE__ */ (0, D.jsxs)(yA, {summary: "查看配置",- children: [/* @__PURE__ */ (0, D.jsx)(Yk, {+ children: [/* @__PURE__ */ (0, D.jsx)(Qk, {code: u.config_toml,language: "toml",label: "CloudDrive2 配置",bounded: !1,copyLabel: "复制配置",onCopy: () => t("已复制 CloudDrive2 配置")- }), /* @__PURE__ */ (0, D.jsx)(uA, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]+ }), /* @__PURE__ */ (0, D.jsx)(pA, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]})})}) : null,- n.enabled && n.cloud ? /* @__PURE__ */ (0, D.jsx)(cA, {+ n.enabled && n.cloud ? /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,children: /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, D.jsx)(fA, { children: "云端路径前缀" }),+ /* @__PURE__ */ (0, D.jsx)(hA, { children: "云端路径前缀" }),/* @__PURE__ */ (0, D.jsx)("div", {role: "group","aria-label": "云端路径前缀",@@ -77057,7 +77066,7 @@ function sLe({ initial: e, receipt: t }) {children: i.map((e, t) => /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex items-start gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {className: "min-w-0 flex-1","aria-label": `云端路径前缀 ${t + 1}`,placeholder: "/115",@@ -77066,13 +77075,13 @@ function sLe({ initial: e, receipt: t }) {value: e.prefix,onChange: (e) => p(t, { prefix: e })}),- /* @__PURE__ */ (0, D.jsx)(FF, {+ /* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": `前缀 ${t + 1} 对应的媒体根`,selectedKey: e.root,onSelectionChange: (e) => {e !== null && p(t, { root: String(e) });},- children: l.map((e) => /* @__PURE__ */ (0, D.jsx)(IF, {+ children: l.map((e) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e,children: e}, e))@@ -77080,7 +77089,7 @@ function sLe({ initial: e, receipt: t }) {/* @__PURE__ */ (0, D.jsx)(q, {variant: "danger",iconOnly: !0,- leadingIcon: jk,+ leadingIcon: Pk,"aria-label": "移除这一条",onClick: () => a((e) => e.filter((e, n) => n !== t))})@@ -77099,11 +77108,11 @@ function sLe({ initial: e, receipt: t }) {]})}) : null,- o || c.error ? /* @__PURE__ */ (0, D.jsx)(cA, {+ o || c.error ? /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(dA, { children: o || c.error })+ children: /* @__PURE__ */ (0, D.jsx)(mA, { children: o || c.error })}) : null,- /* @__PURE__ */ (0, D.jsxs)(lA, { children: [u.enabled && u.cloud && u.config_toml ? /* @__PURE__ */ (0, D.jsx)(q, {+ /* @__PURE__ */ (0, D.jsxs)(fA, { children: [u.enabled && u.cloud && u.config_toml ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",onClick: h,disabled: !n.available,@@ -77120,17 +77129,17 @@ function sLe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/media-settings.tsx-var cLe = (e) => zV.find(([t]) => t === e)?.[1] ?? e, lLe = async (e) => (await U(bB, { initial: e })).path, zK = (e = "") => ({+var oLe = (e) => HV.find(([t]) => t === e)?.[1] ?? e, sLe = async (e) => (await U(CB, { initial: e })).path, HK = (e = "") => ({path: e,location: "local",root: "",- library_id: crypto.randomUUID(),+ library_id: OE(),library: "",library_icon: "",cost: "free"});-function uLe(e) {- let t = e.media_sources?.filter((e) => zV.some(([t]) => t === e.location));+function cLe(e) {+ let t = e.media_sources?.filter((e) => HV.some(([t]) => t === e.location));return t?.length ? t.map((e) => ({path: e.path,location: e.location,@@ -77138,16 +77147,16 @@ function uLe(e) {library: e.library || "",library_icon: e.library_icon || "",root_id: e.root_id,- library_id: e.library_id || crypto.randomUUID(),+ library_id: e.library_id || OE(),cost: e.cost ?? Lt(e.location)- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => zK(e));+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => HK(e));}-var dLe = (e) => !(e instanceof Sn) || e.status !== 400 ? null : e.body?.errors ?? null;-function fLe({ data: e, receipt: t, panel: n }) {+var lLe = (e) => !(e instanceof Sn) || e.status !== 400 ? null : e.body?.errors ?? null;+function uLe({ data: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {- ...TK(n),+ ...OK(n),children: [- e.editable ? /* @__PURE__ */ (0, D.jsx)(pLe, {+ e.editable ? /* @__PURE__ */ (0, D.jsx)(dLe, {data: e,receipt: t}) : /* @__PURE__ */ (0, D.jsx)(J, {@@ -77155,22 +77164,22 @@ function fLe({ data: e, receipt: t, panel: n }) {title: "只读",children: e.notice}),- e.editable ? null : /* @__PURE__ */ (0, D.jsx)(mLe, { data: e }),- e.media_sources?.some((e) => VV(e.location)) ? /* @__PURE__ */ (0, D.jsx)(nLe, { receipt: t }) : null,- e.push_discovery ? /* @__PURE__ */ (0, D.jsx)(sLe, {+ e.editable ? null : /* @__PURE__ */ (0, D.jsx)(fLe, { data: e }),+ e.media_sources?.some((e) => WV(e.location)) ? /* @__PURE__ */ (0, D.jsx)(eLe, { receipt: t }) : null,+ e.push_discovery ? /* @__PURE__ */ (0, D.jsx)(aLe, {initial: e.push_discovery,receipt: t}) : null]});}-function pLe({ data: e, receipt: t }) {- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = tAe({- initial: () => uLe(e),- blank: () => zK(),- pickFolder: lLe,+function dLe({ data: e, receipt: t }) {+ let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = $ke({+ initial: () => cLe(e),+ blank: () => HK(),+ pickFolder: sLe,describe: V- }), [d, f] = (0, E.useState)(!1), [p, m] = (0, E.useState)(!1), [h, g] = (0, E.useState)(""), [_, v] = (0, E.useState)(null), y = (0, E.useRef)(e.revision), b = nA(), x = (e, t) => {+ }), [d, f] = (0, E.useState)(!1), [p, m] = (0, E.useState)(!1), [h, g] = (0, E.useState)(""), [_, v] = (0, E.useState)(null), y = (0, E.useRef)(e.revision), b = aA(), x = (e, t) => {n.forEach((i, a) => {i.library_id === n[e].library_id && r(a, t);});@@ -77181,14 +77190,14 @@ function pLe({ data: e, receipt: t }) {library: i.library,library_icon: i.library_icon} : {- library_id: crypto.randomUUID(),+ library_id: OE(),library: "",library_icon: ""});};(0, E.useEffect)(() => {if (!_) return;- let e = setTimeout(() => location.assign(_.url), NK);+ let e = setTimeout(() => location.assign(_.url), IK);return () => clearTimeout(e);}, [_]);let w = (r) => {@@ -77198,7 +77207,7 @@ function pLe({ data: e, receipt: t }) {m(!0);let e = r.currentTarget;requestAnimationFrame(() => e.querySelector(`[data-media-read-policy="${i}"] button`)?.focus());- } else g(""), b.run("save", (t) => U(yB, {+ } else g(""), b.run("save", (t) => U(SB, {revision: y.current,media_dirs: n.map((e) => e.path),...e.media_sources ? { media_sources: n } : {},@@ -77207,18 +77216,18 @@ function pLe({ data: e, receipt: t }) {}, "POST", t), (e) => {y.current = e.revision, s([]), t("已保存配置"), v(e);}, (e) => {- let t = dLe(e);+ let t = lLe(e);s(t?.media_dirs ?? []), (!t || t.port) && g(t?.port || V(e));});};- if (_) return /* @__PURE__ */ (0, D.jsx)(oA, {+ if (_) return /* @__PURE__ */ (0, D.jsx)(lA, {title: "媒体目录",- children: /* @__PURE__ */ (0, D.jsx)(cA, { children: /* @__PURE__ */ (0, D.jsxs)(J, {+ children: /* @__PURE__ */ (0, D.jsx)(dA, { children: /* @__PURE__ */ (0, D.jsxs)(J, {tone: "success",title: "配置已保存",children: ["Peach 正在重新启动。稍后自动跳转,或点击",- /* @__PURE__ */ (0, D.jsx)(Kk, {+ /* @__PURE__ */ (0, D.jsx)(Yk, {href: _.url,size: "small",children: "进入馆藏"@@ -77227,18 +77236,18 @@ function pLe({ data: e, receipt: t }) {]}) })});- let T = (t) => e.media_sources?.find((e) => e.root_id === t.root_id && e.path === t.path), O = n.some((e) => VV(e.location)), k = O ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];- return /* @__PURE__ */ (0, D.jsxs)(oA, {+ let T = (t) => e.media_sources?.find((e) => e.root_id === t.root_id && e.path === t.path), O = n.some((e) => WV(e.location)), k = O ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];+ return /* @__PURE__ */ (0, D.jsxs)(lA, {title: "媒体目录",onSubmit: w,- children: [/* @__PURE__ */ (0, D.jsxs)(cA, { children: [+ children: [/* @__PURE__ */ (0, D.jsxs)(dA, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-3",children: [/* @__PURE__ */ (0, D.jsx)("div", {role: "group","aria-label": "媒体目录",className: "flex flex-col gap-3",- children: n.map((e, t) => /* @__PURE__ */ (0, D.jsxs)(nAe, {+ children: n.map((e, t) => /* @__PURE__ */ (0, D.jsxs)(eAe, {label: `媒体目录 ${t + 1}`,path: e.path,onPath: (e) => r(t, { path: e }),@@ -77247,9 +77256,9 @@ function pLe({ data: e, receipt: t }) {picking: c === t,onPick: () => void l(t),onRemove: n.length > 1 ? () => a(t) : void 0,- status: T(e) ? /* @__PURE__ */ (0, D.jsx)(BK, { online: T(e)?.online }) : null,- children: [/* @__PURE__ */ (0, D.jsxs)(UV, { children: [- /* @__PURE__ */ (0, D.jsx)(rAe, {+ status: T(e) ? /* @__PURE__ */ (0, D.jsx)(UK, { online: T(e)?.online }) : null,+ children: [/* @__PURE__ */ (0, D.jsxs)(KV, { children: [+ /* @__PURE__ */ (0, D.jsx)(tAe, {index: t,value: e.location,onChange: (e) => r(t, {@@ -77257,16 +77266,16 @@ function pLe({ data: e, receipt: t }) {cost: e === "local" ? "free" : ""})}),- /* @__PURE__ */ (0, D.jsx)($ke, {+ /* @__PURE__ */ (0, D.jsx)(Zke, {index: t,cost: e.cost,onChange: (e) => r(t, { cost: e }),error: p && !e.cost ? "请选择媒体读取策略" : void 0}),- e.root_id && !T(e) ? /* @__PURE__ */ (0, D.jsx)(HV, {+ e.root_id && !T(e) ? /* @__PURE__ */ (0, D.jsx)(GV, {label: "变更方式",className: "w-full @lg:w-auto @lg:flex-1",- children: /* @__PURE__ */ (0, D.jsxs)(FF, {+ children: /* @__PURE__ */ (0, D.jsxs)(RF, {className: "w-full","aria-label": `目录变更方式 ${t + 1}`,placeholder: "选择目录变更方式",@@ -77278,26 +77287,26 @@ function pLe({ data: e, receipt: t }) {change_mode: ""}) : r(t, { change_mode: "relocate" });},- children: [/* @__PURE__ */ (0, D.jsx)(IF, {+ children: [/* @__PURE__ */ (0, D.jsx)(zF, {id: "relocate",children: "重定位此目录,保留文件记录"- }), /* @__PURE__ */ (0, D.jsx)(IF, {+ }), /* @__PURE__ */ (0, D.jsx)(zF, {id: "add",children: "添加另一目录"})]})}) : null- ] }), /* @__PURE__ */ (0, D.jsxs)(UV, { children: [- /* @__PURE__ */ (0, D.jsx)(HV, {+ ] }), /* @__PURE__ */ (0, D.jsxs)(KV, { children: [+ /* @__PURE__ */ (0, D.jsx)(GV, {label: "所属媒体库",className: "w-full @lg:w-60",- children: /* @__PURE__ */ (0, D.jsxs)(FF, {+ children: /* @__PURE__ */ (0, D.jsxs)(RF, {className: "w-full","aria-label": `目录所属媒体库 ${t + 1}`,selectedKey: e.library_id,renderValue: /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(_A, { mark: e.library_icon || LK(e.location)[0] }), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(bA, { mark: e.library_icon || BK(e.location)[0] }), /* @__PURE__ */ (0, D.jsx)("span", {className: "truncate",children: e.library || "未命名媒体库"})]@@ -77305,19 +77314,19 @@ function pLe({ data: e, receipt: t }) {onSelectionChange: (e) => {e && C(t, String(e));},- children: [S.map((e) => /* @__PURE__ */ (0, D.jsx)(IF, {+ children: [S.map((e) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e.library_id,children: e.library || "未命名媒体库"- }, e.library_id)), /* @__PURE__ */ (0, D.jsx)(IF, {+ }, e.library_id)), /* @__PURE__ */ (0, D.jsx)(zF, {id: "new",children: "新建媒体库"})]})}),- /* @__PURE__ */ (0, D.jsx)(HV, {+ /* @__PURE__ */ (0, D.jsx)(GV, {label: "媒体库名称",className: "w-full min-w-32 @lg:w-auto @lg:flex-1",- children: /* @__PURE__ */ (0, D.jsx)(dP, {+ children: /* @__PURE__ */ (0, D.jsx)(mP, {className: "w-full","aria-label": `媒体库名称 ${t + 1}`,maxLength: 80,@@ -77326,9 +77335,9 @@ function pLe({ data: e, receipt: t }) {onChange: (e) => x(t, { library: e })})}),- /* @__PURE__ */ (0, D.jsx)(HV, {+ /* @__PURE__ */ (0, D.jsx)(GV, {label: "图标",- children: /* @__PURE__ */ (0, D.jsx)(iLe, {+ children: /* @__PURE__ */ (0, D.jsx)(nLe, {label: `媒体库图标 ${t + 1}`,value: e.library_icon,kind: e.location,@@ -77344,17 +77353,17 @@ function pLe({ data: e, receipt: t }) {children: "添加文件夹"})]}),- O ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(eAe, {}), /* @__PURE__ */ (0, D.jsx)(eLe, {})] }) : null,- k.map((e) => /* @__PURE__ */ (0, D.jsxs)(uA, { children: [+ O ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Qke, {}), /* @__PURE__ */ (0, D.jsx)(QIe, {})] }) : null,+ k.map((e) => /* @__PURE__ */ (0, D.jsxs)(pA, { children: ["未检测到 ",e.name,"。",- /* @__PURE__ */ (0, D.jsxs)(pA, {+ /* @__PURE__ */ (0, D.jsxs)(gA, {href: e.download_url,children: ["下载 ", e.name]})] }, e.name)),- /* @__PURE__ */ (0, D.jsx)(BP, {+ /* @__PURE__ */ (0, D.jsx)(UP, {isSelected: d,onChange: f,children: "保存后扫描并补全资料"@@ -77364,7 +77373,7 @@ function pLe({ data: e, receipt: t }) {title: "没有保存",children: h}) : null- ] }), /* @__PURE__ */ (0, D.jsx)(lA, {+ ] }), /* @__PURE__ */ (0, D.jsx)(fA, {status: "保存后 Peach 会重新启动。",children: /* @__PURE__ */ (0, D.jsx)(q, {type: "submit",@@ -77374,25 +77383,25 @@ function pLe({ data: e, receipt: t }) {})]});}-function BK({ online: e }) {- return /* @__PURE__ */ (0, D.jsx)(qV, { online: e });+function UK({ online: e }) {+ return /* @__PURE__ */ (0, D.jsx)(XV, { online: e });}-function mLe({ data: e }) {- let t = e.media_sources, n = nA();- return t ? /* @__PURE__ */ (0, D.jsxs)(oA, {+function fLe({ data: e }) {+ let t = e.media_sources, n = aA();+ return t ? /* @__PURE__ */ (0, D.jsxs)(lA, {title: "挂载状态",children: [- /* @__PURE__ */ (0, D.jsx)(mA, { children: t.map((e, t) => /* @__PURE__ */ (0, D.jsxs)(hA, {- term: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(_A, { mark: BV(e.location) }), cLe(e.location)] }),- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, D.jsx)(BK, { online: e.online })]+ /* @__PURE__ */ (0, D.jsx)(_A, { children: t.map((e, t) => /* @__PURE__ */ (0, D.jsxs)(vA, {+ term: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(bA, { mark: UV(e.location) }), oLe(e.location)] }),+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, D.jsx)(UK, { online: e.online })]}, t)) }),- n.error ? /* @__PURE__ */ (0, D.jsx)(cA, {+ n.error ? /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(dA, { children: n.error })+ children: /* @__PURE__ */ (0, D.jsx)(mA, { children: n.error })}) : null,- /* @__PURE__ */ (0, D.jsx)(lA, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ /* @__PURE__ */ (0, D.jsx)(fA, { children: /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",- onClick: () => void n.run("refresh", (e) => CK(e), (e) => W.setQueryData(SK, e)),+ onClick: () => void n.run("refresh", (e) => EK(e), (e) => W.setQueryData(TK, e)),...Y(n.busy === "refresh"),children: "刷新挂载状态"}) })@@ -77401,76 +77410,76 @@ function mLe({ data: e }) {}//#endregion//#region src/application/initial-follow-ranges.ts-var VK = [+var WK = [["0", "不限时间"],["7", "最近 7 天"],["30", "最近 30 天"],["90", "最近 90 天"]-], hLe = [+], pLe = [["off", "关闭"],["precise", "每 10 秒一张"],["coarse", "每 30 秒一张"]];-function gLe({ epoch: e = 0, disabled: t = !1 }) {+function mLe({ epoch: e = 0, disabled: t = !1 }) {let n = _t({- queryKey: EB,- queryFn: ({ signal: e }) => BOe(e),+ queryKey: kB,+ queryFn: ({ signal: e }) => ROe(e),refetchOnMount: "always"- }), r = UOe(), i = r.reset;+ }), r = VOe(), i = r.reset;(0, E.useEffect)(() => {i();}, [e, i]);let a = n.data, o = r.error || n.error;return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(sA, { children: /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsx)(uA, { children: /* @__PURE__ */ (0, D.jsx)(cA, {label: "时间轴预览",description: "按所选间隔抽帧,仅处理本机磁盘上的视频。",children: /* @__PURE__ */ (0, D.jsx)("div", {id: "videoThumbnailSetting",- children: /* @__PURE__ */ (0, D.jsx)(FF, {+ children: /* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": "缩略图采集间隔",selectedKey: a?.mode || "off",isDisabled: t || !a || n.isFetching || r.isPending,onSelectionChange: (e) => {e !== null && r.mutate(String(e));},- children: hLe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(IF, {+ children: pLe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e,children: t}, e))})})}) }),- r.isPending || a?.status === "running" ? /* @__PURE__ */ (0, D.jsx)(cA, {+ r.isPending || a?.status === "running" ? /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(uA, {+ children: /* @__PURE__ */ (0, D.jsx)(pA, {role: "status",children: r.isPending ? "正在保存…" : "正在采集,进度在活动页查看。"})}) : null,- o ? /* @__PURE__ */ (0, D.jsx)(cA, {+ o ? /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(dA, { children: V(o) })+ children: /* @__PURE__ */ (0, D.jsx)(mA, { children: V(o) })}) : null] });}-function _Le({ receipt: e }) {- let t = BT();+function hLe({ receipt: e }) {+ let t = HT();(0, E.useSyncExternalStore)(t.subscribe, t.version);let n = _t({- queryKey: wB,- queryFn: ({ signal: e }) => DB(e),+ queryKey: DB,+ queryFn: ({ signal: e }) => AB(e),refetchOnMount: "always"- }), r = OB(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;- return /* @__PURE__ */ (0, D.jsxs)(oA, {+ }), r = jB(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;+ return /* @__PURE__ */ (0, D.jsxs)(lA, {title: "关注采集",- children: [/* @__PURE__ */ (0, D.jsxs)(sA, { children: [- /* @__PURE__ */ (0, D.jsx)(vLe, {}),- /* @__PURE__ */ (0, D.jsx)(aA, {+ children: [/* @__PURE__ */ (0, D.jsxs)(uA, { children: [+ /* @__PURE__ */ (0, D.jsx)(gLe, {}),+ /* @__PURE__ */ (0, D.jsx)(cA, {label: "首次采集范围",children: /* @__PURE__ */ (0, D.jsx)("div", {id: "followInitialDaysSetting",- children: /* @__PURE__ */ (0, D.jsx)(FF, {+ children: /* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": "首次采集范围",selectedKey: String(i),isDisabled: n.isFetching || r.isPending,@@ -77479,33 +77488,33 @@ function _Le({ receipt: e }) {typeof n.followInitialDays == "number" && (t.value.followInitialDays = n.followInitialDays), t.save(), e("已保存首次采集范围");} });},- children: VK.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(IF, {+ children: WK.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e,children: t}, e))})})}),- /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsx)(cA, {label: "头像刷新",children: "每 3 个月"}),- /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsx)(cA, {label: "favicon 刷新",children: "每年"})- ] }), a ? /* @__PURE__ */ (0, D.jsx)(cA, {+ ] }), a ? /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(dA, { children: V(a) })+ children: /* @__PURE__ */ (0, D.jsx)(mA, { children: V(a) })}) : null]});}-function vLe() {+function gLe() {let e = _t({- queryKey: TB,- queryFn: ({ signal: e }) => zOe(e),+ queryKey: OB,+ queryFn: ({ signal: e }) => LOe(e),refetchOnMount: "always"- }), t = HOe(), n = e.data, r = (0, E.useRef)(TT(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, E.useState)("60"), [o, s] = (0, E.useState)(!1);+ }), t = BOe(), n = e.data, r = (0, E.useRef)(DT(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, E.useState)("60"), [o, s] = (0, E.useState)(!1);(0, E.useEffect)(() => {n?.enabled && (r.current = n.interval_minutes, a(String(n.interval_minutes)));}, [n]);@@ -77514,12 +77523,12 @@ function vLe() {!Number.isInteger(e) || e < 15 || e > 10080 ? s(!0) : (s(!1), n?.enabled && !c && e !== n.interval_minutes && (r.current = e, localStorage.setItem("peach.number.followScheduleSetting", String(e)), t.mutate(e)));}, u = t.error || e.error;return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsx)(cA, {label: "自动检查更新",children: /* @__PURE__ */ (0, D.jsxs)("div", {id: "followScheduleSetting",className: "flex min-w-0 flex-wrap items-center justify-end gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(mW, {+ children: [/* @__PURE__ */ (0, D.jsx)(_W, {"aria-label": "自动检查更新",isSelected: n?.enabled === !0,isDisabled: c,@@ -77528,7 +77537,7 @@ function vLe() {}}), n?.enabled ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(dP, {+ children: [/* @__PURE__ */ (0, D.jsx)(mP, {type: "number",inputMode: "numeric",name: "follow-interval",@@ -77553,41 +77562,41 @@ function vLe() {}) : null]})}),- o ? /* @__PURE__ */ (0, D.jsx)(cA, { children: /* @__PURE__ */ (0, D.jsx)(dA, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,- t.isPending || n?.running ? /* @__PURE__ */ (0, D.jsx)(cA, { children: /* @__PURE__ */ (0, D.jsx)(uA, {+ o ? /* @__PURE__ */ (0, D.jsx)(dA, { children: /* @__PURE__ */ (0, D.jsx)(mA, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,+ t.isPending || n?.running ? /* @__PURE__ */ (0, D.jsx)(dA, { children: /* @__PURE__ */ (0, D.jsx)(pA, {role: "status",children: t.isPending ? "正在保存…" : "正在检查来源更新…"}) }) : null,- u ? /* @__PURE__ */ (0, D.jsx)(cA, { children: /* @__PURE__ */ (0, D.jsx)(dA, { children: V(u) }) }) : null+ u ? /* @__PURE__ */ (0, D.jsx)(dA, { children: /* @__PURE__ */ (0, D.jsx)(mA, { children: V(u) }) }) : null] });}//#endregion//#region src/react/settings/media-processing-settings.tsx-var HK = ["media-processing"];-function yLe({ receipt: e }) {+var GK = ["media-processing"];+function _Le({ receipt: e }) {let t = _t({- queryKey: HK,+ queryKey: GK,queryFn: ({ signal: e }) => H("/api/media-processing", e)- }), n = nA(), r = nA(), i = n.error || (t.error ? V(t.error) : ""), a = (i, a, o) => {+ }), n = aA(), r = aA(), i = n.error || (t.error ? V(t.error) : ""), a = (i, a, o) => {let s = i === "playback_acceleration" ? r : n;- return /* @__PURE__ */ (0, D.jsx)(aA, {+ return /* @__PURE__ */ (0, D.jsx)(cA, {label: a,description: o,children: /* @__PURE__ */ (0, D.jsx)("div", {id: i === "playback_acceleration" ? "playbackAccelerationSetting" : "previewAccelerationSetting",- children: /* @__PURE__ */ (0, D.jsxs)(FF, {+ children: /* @__PURE__ */ (0, D.jsxs)(RF, {"aria-label": a,selectedKey: t.data?.[i] || "auto",isDisabled: !t.data || t.isFetching || !!s.busy,onSelectionChange: (t) => {t !== null && s.run(i, (e) => U("/api/media-processing", { [i]: String(t) }, "POST", e), (t) => {- W.setQueryData(HK, t), e(`已保存${a}`);+ W.setQueryData(GK, t), e(`已保存${a}`);});},- children: [/* @__PURE__ */ (0, D.jsx)(IF, {+ children: [/* @__PURE__ */ (0, D.jsx)(zF, {id: "auto",children: "自动(硬件优先)"- }), /* @__PURE__ */ (0, D.jsx)(IF, {+ }), /* @__PURE__ */ (0, D.jsx)(zF, {id: "software",children: i === "preview_acceleration" ? "软件解码" : "软件编解码"})]@@ -77595,56 +77604,56 @@ function yLe({ receipt: e }) {})});};- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)(oA, {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)(lA, {title: "视频预览",children: [- /* @__PURE__ */ (0, D.jsxs)(sA, { children: [a("preview_acceleration", "抽帧解码方式", "用于生成封面、九宫格和时间轴。"), /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsxs)(uA, { children: [a("preview_acceleration", "抽帧解码方式", "用于生成封面、九宫格和时间轴。"), /* @__PURE__ */ (0, D.jsx)(cA, {label: "生成视频预览",description: "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。",- children: /* @__PURE__ */ (0, D.jsx)(mW, {+ children: /* @__PURE__ */ (0, D.jsx)(_W, {"aria-label": "生成视频预览",isSelected: !!t.data && !t.data.metadata_only,isDisabled: !t.data || t.isFetching || !!n.busy,onChange: (t) => void n.run("save", (e) => U("/api/media-processing", { metadata_only: !t }, "POST", e), (t) => {- W.setQueryData(HK, t), W.invalidateQueries({ queryKey: EB }), W.invalidateQueries({ queryKey: QP }), e(t.metadata_only ? "已关闭视频预览生成" : "已开启视频预览生成");+ W.setQueryData(GK, t), W.invalidateQueries({ queryKey: kB }), W.invalidateQueries({ queryKey: tF }), e(t.metadata_only ? "已关闭视频预览生成" : "已开启视频预览生成");})})})] }),- /* @__PURE__ */ (0, D.jsx)(gLe, { disabled: !t.data || t.data.metadata_only || !!n.busy }),- n.busy ? /* @__PURE__ */ (0, D.jsx)(cA, {+ /* @__PURE__ */ (0, D.jsx)(mLe, { disabled: !t.data || t.data.metadata_only || !!n.busy }),+ n.busy ? /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(uA, {+ children: /* @__PURE__ */ (0, D.jsx)(pA, {role: "status",children: "正在保存…"})}) : null,- i ? /* @__PURE__ */ (0, D.jsx)(cA, {+ i ? /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(dA, { children: i })+ children: /* @__PURE__ */ (0, D.jsx)(mA, { children: i })}) : null]- }), /* @__PURE__ */ (0, D.jsxs)(oA, {+ }), /* @__PURE__ */ (0, D.jsxs)(lA, {title: "视频播放",children: [- /* @__PURE__ */ (0, D.jsx)(sA, { children: a("playback_acceleration", "播放编解码方式", "用于播放时的视频转码。") }),- r.busy ? /* @__PURE__ */ (0, D.jsx)(cA, {+ /* @__PURE__ */ (0, D.jsx)(uA, { children: a("playback_acceleration", "播放编解码方式", "用于播放时的视频转码。") }),+ r.busy ? /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(uA, {+ children: /* @__PURE__ */ (0, D.jsx)(pA, {role: "status",children: "正在保存…"})}) : null,- r.error ? /* @__PURE__ */ (0, D.jsx)(cA, {+ r.error ? /* @__PURE__ */ (0, D.jsx)(dA, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(dA, { children: r.error })+ children: /* @__PURE__ */ (0, D.jsx)(mA, { children: r.error })}) : null]})] });}//#endregion//#region src/react/settings/password-pair.tsx-function bLe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(dP, {+function vLe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(mP, {id: "access-password",type: "password",label: e,@@ -77657,7 +77666,7 @@ function bLe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmavalidationBehavior: "aria",isInvalid: !a && !!o,hint: a ? s : o || s- }), /* @__PURE__ */ (0, D.jsx)(dP, {+ }), /* @__PURE__ */ (0, D.jsx)(mP, {id: "access-confirm",type: "password",label: "确认访问密码",@@ -77674,13 +77683,13 @@ function bLe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma}//#endregion//#region src/react/settings/access-settings.tsx-var xLe = {+var yLe = {legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"};-function SLe({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(""), [u, d] = (0, E.useState)(!1), [f, p] = (0, E.useState)({}), m = (0, E.useRef)(null), h = nA(), g = (e) => {+function bLe({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(""), [u, d] = (0, E.useState)(!1), [f, p] = (0, E.useState)({}), m = (0, E.useRef)(null), h = aA(), g = (e) => {e.preventDefault();let f = {};n.mode === "password" && !i && (f.current_password = "请输入当前访问密码"), u || ((o.length < 8 || o.length > 256) && (f.password = "访问密码需为 8–256 个字符"), o !== c && (f.confirmation = "两次输入的密码不一致")), p(f), Object.keys(f).length ? requestAnimationFrame(() => m.current?.querySelector("input[aria-invalid=\"true\"]")?.focus()) : h.run("save", (e) => U("/api/configuration/access", {@@ -77696,25 +77705,25 @@ function SLe({ initial: e, receipt: t }) {let t = e instanceof Sn ? e.body : null, n = t?.errors || t?.detail?.errors;n ? p(n) : h.setError(V(e));});- }, _ = xLe[n.mode], v = n.mode !== "locked";- return /* @__PURE__ */ (0, D.jsxs)(oA, {+ }, _ = yLe[n.mode], v = n.mode !== "locked";+ return /* @__PURE__ */ (0, D.jsxs)(lA, {title: "访问密码",onSubmit: g,children: [/* @__PURE__ */ (0, D.jsx)("div", {ref: m,- children: /* @__PURE__ */ (0, D.jsxs)(cA, { children: [- _ ? /* @__PURE__ */ (0, D.jsx)(uA, { children: _ }) : null,+ children: /* @__PURE__ */ (0, D.jsxs)(dA, { children: [+ _ ? /* @__PURE__ */ (0, D.jsx)(pA, { children: _ }) : null,n.mode === "open" ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "warning",title: "未设置访问密码",children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"}) : null,- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, D.jsx)(BP, {+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, D.jsx)(UP, {isSelected: u,onChange: d,children: "关闭访问密码"}) : null,- n.mode === "password" ? /* @__PURE__ */ (0, D.jsx)(dP, {+ n.mode === "password" ? /* @__PURE__ */ (0, D.jsx)(mP, {id: "access-current",type: "password",label: "当前访问密码",@@ -77727,7 +77736,7 @@ function SLe({ initial: e, receipt: t }) {isInvalid: !!f.current_password,hint: f.current_password}) : null,- v ? /* @__PURE__ */ (0, D.jsx)(bLe, {+ v ? /* @__PURE__ */ (0, D.jsx)(vLe, {label: n.mode === "password" ? "新访问密码" : "设置访问密码",password: o,confirmation: c,@@ -77743,9 +77752,9 @@ function SLe({ initial: e, receipt: t }) {title: "访问范围",children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"}) : null,- h.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: h.error }) : null+ h.error ? /* @__PURE__ */ (0, D.jsx)(mA, { children: h.error }) : null] })- }), v ? /* @__PURE__ */ (0, D.jsx)(lA, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ }), v ? /* @__PURE__ */ (0, D.jsx)(fA, { children: /* @__PURE__ */ (0, D.jsx)(q, {type: "submit",...Y(h.busy === "save"),children: "保存配置"@@ -77754,27 +77763,27 @@ function SLe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/port-settings.tsx-function CLe({ data: e, receipt: t }) {- let [n, r] = (0, E.useState)(String(e.port)), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(null), c = nA();+function xLe({ data: e, receipt: t }) {+ let [n, r] = (0, E.useState)(String(e.port)), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(null), c = aA();return (0, E.useEffect)(() => {if (!o) return;- let e = setTimeout(() => location.assign(o.url), NK);+ let e = setTimeout(() => location.assign(o.url), IK);return () => clearTimeout(e);- }, [o]), o ? /* @__PURE__ */ (0, D.jsx)(oA, {+ }, [o]), o ? /* @__PURE__ */ (0, D.jsx)(lA, {title: "本机访问端口",- children: /* @__PURE__ */ (0, D.jsx)(cA, { children: /* @__PURE__ */ (0, D.jsxs)(J, {+ children: /* @__PURE__ */ (0, D.jsx)(dA, { children: /* @__PURE__ */ (0, D.jsxs)(J, {tone: "success",title: "配置已保存",- children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, D.jsx)(Kk, {+ children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, D.jsx)(Yk, {href: o.url,size: "small",children: "进入馆藏"})]}) })- }) : /* @__PURE__ */ (0, D.jsxs)(oA, {+ }) : /* @__PURE__ */ (0, D.jsxs)(lA, {title: "本机访问端口",onSubmit: (r) => {- r.preventDefault(), a(""), c.run("save", (t) => U(yB, {+ r.preventDefault(), a(""), c.run("save", (t) => U(SB, {revision: e.revision,media_dirs: e.media_dirs,...e.media_sources ? { media_sources: e.media_sources } : {},@@ -77787,7 +77796,7 @@ function CLe({ data: e, receipt: t }) {t?.port ? a(t.port) : c.setError(V(e));});},- children: [/* @__PURE__ */ (0, D.jsxs)(cA, { children: [/* @__PURE__ */ (0, D.jsx)(dP, {+ children: [/* @__PURE__ */ (0, D.jsxs)(dA, { children: [/* @__PURE__ */ (0, D.jsx)(mP, {id: "configPort",label: "端口",inputMode: "numeric",@@ -77800,7 +77809,7 @@ function CLe({ data: e, receipt: t }) {tone: "error",title: "没有保存",children: c.error- }) : null] }), /* @__PURE__ */ (0, D.jsx)(lA, {+ }) : null] }), /* @__PURE__ */ (0, D.jsx)(fA, {status: "保存后 Peach 会重启,并跳转到新地址。",children: /* @__PURE__ */ (0, D.jsx)(q, {type: "submit",@@ -77812,19 +77821,19 @@ function CLe({ data: e, receipt: t }) {}//#endregion//#region src/react/settings/tunnel-settings.tsx-var wLe = 2e3, TLe = [["quick", "临时链接"], ["named", "命名隧道"]], ELe = {+var SLe = 2e3, CLe = [["quick", "临时链接"], ["named", "命名隧道"]], wLe = {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};-function DLe({ revision: e, initial: t, receipt: n }) {- let [r, i] = (0, E.useState)(t), [a, o] = (0, E.useState)(e), [s, c] = (0, E.useState)(t.mode), [l, u] = (0, E.useState)(t.hostname), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)({}), h = nA(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";+function TLe({ revision: e, initial: t, receipt: n }) {+ let [r, i] = (0, E.useState)(t), [a, o] = (0, E.useState)(e), [s, c] = (0, E.useState)(t.mode), [l, u] = (0, E.useState)(t.hostname), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)({}), h = aA(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";(0, E.useEffect)(() => {if (r.state !== "starting") return;let e = new AbortController(), t = window.setInterval(() => {- CK(e.signal).then((t) => {- !e.signal.aborted && t.tunnel && (W.setQueryData(SK, t), i(t.tunnel), o(t.revision));+ EK(e.signal).then((t) => {+ !e.signal.aborted && t.tunnel && (W.setQueryData(TK, t), i(t.tunnel), o(t.revision));}).catch(() => void 0);- }, wLe);+ }, SLe);return () => {e.abort(), window.clearInterval(t);};@@ -77843,30 +77852,30 @@ function DLe({ revision: e, initial: t, receipt: n }) {n ? m(n) : h.setError(V(e));});};- return /* @__PURE__ */ (0, D.jsxs)(oA, {+ return /* @__PURE__ */ (0, D.jsxs)(lA, {title: "Cloudflare 公网入口",onSubmit: (e) => {e.preventDefault(), v("save", g, () => n("已保存配置"));},- aside: /* @__PURE__ */ (0, D.jsx)(TV, {+ aside: /* @__PURE__ */ (0, D.jsx)(OV, {tone: r.error ? "error" : g ? "progress" : "neutral",children: r.error ? "连接失败" : r.state === "running" ? "运行中" : r.state === "starting" ? "连接中" : "已停止"}),- children: [/* @__PURE__ */ (0, D.jsxs)(cA, { children: [- r.named_available ? /* @__PURE__ */ (0, D.jsx)(UF, {+ children: [/* @__PURE__ */ (0, D.jsxs)(dA, { children: [+ r.named_available ? /* @__PURE__ */ (0, D.jsx)(KF, {"aria-label": "公网入口的形态(二选一)",value: s,isDisabled: g,onChange: (e) => c(e),- className: WF,- children: TLe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(yN, {+ className: qF,+ children: CLe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(SN, {value: e,- className: GF,+ className: JF,children: t}, e))}) : null,- /* @__PURE__ */ (0, D.jsx)(uA, { children: ELe[_ ? "named" : "quick"] }),- _ ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(pA, { children: wLe[_ ? "named" : "quick"] }),+ _ ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(mP, {id: "tunnel-hostname",label: "公开主机名",autoComplete: "off",@@ -77877,7 +77886,7 @@ function DLe({ revision: e, initial: t, receipt: n }) {validationBehavior: "aria",isInvalid: !!p.hostname,hint: p.hostname || "Cloudflare Zero Trust 里指向这台电脑的主机名。"- }), /* @__PURE__ */ (0, D.jsx)(dP, {+ }), /* @__PURE__ */ (0, D.jsx)(mP, {id: "tunnel-token",type: "password",label: "隧道令牌",@@ -77897,7 +77906,7 @@ function DLe({ revision: e, initial: t, receipt: n }) {r.state === "running" && r.url ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "info",title: "公网地址",- children: /* @__PURE__ */ (0, D.jsx)(pA, {+ children: /* @__PURE__ */ (0, D.jsx)(gA, {href: r.url,children: r.url})@@ -77907,9 +77916,9 @@ function DLe({ revision: e, initial: t, receipt: n }) {title: "正在连接",children: "正在等待 cloudflared 连上 Cloudflare 边缘。"}) : null,- r.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: r.error }) : null,- h.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: h.error }) : null- ] }), /* @__PURE__ */ (0, D.jsxs)(lA, {+ r.error ? /* @__PURE__ */ (0, D.jsx)(mA, { children: r.error }) : null,+ h.error ? /* @__PURE__ */ (0, D.jsx)(mA, { children: h.error }) : null+ ] }), /* @__PURE__ */ (0, D.jsxs)(fA, {status: r.enabled ? "Peach 重启后自动恢复。" : void 0,children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: r.named_available ? "secondary" : "primary",@@ -77926,28 +77935,28 @@ function DLe({ revision: e, initial: t, receipt: n }) {}//#endregion//#region src/react/settings/network-settings.tsx-var OLe = [+var ELe = [["environment", "系统代理"],["direct", "直连"],["proxy", "自定义"]];-function kLe({ data: e, receipt: t, panel: n }) {+function DLe({ data: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {- ...TK(n),+ ...OK(n),children: [- e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, D.jsx)(CLe, {+ e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, D.jsx)(xLe, {data: e,receipt: t}) : null,- e.peach_proxy ? /* @__PURE__ */ (0, D.jsx)(ALe, {+ e.peach_proxy ? /* @__PURE__ */ (0, D.jsx)(OLe, {initial: e.peach_proxy,receipt: t}) : null,- e.access ? /* @__PURE__ */ (0, D.jsx)(SLe, {+ e.access ? /* @__PURE__ */ (0, D.jsx)(bLe, {initial: e.access,receipt: t}) : null,- e.tunnel ? /* @__PURE__ */ (0, D.jsx)(DLe, {+ e.tunnel ? /* @__PURE__ */ (0, D.jsx)(TLe, {revision: e.revision,initial: e.tunnel,receipt: t@@ -77955,9 +77964,9 @@ function kLe({ data: e, receipt: t, panel: n }) {]});}-function ALe({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.mode), [o, s] = (0, E.useState)(""), c = nA();- return /* @__PURE__ */ (0, D.jsxs)(oA, {+function OLe({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.mode), [o, s] = (0, E.useState)(""), c = aA();+ return /* @__PURE__ */ (0, D.jsxs)(lA, {id: "peachProxy",title: "Peach 代理",onSubmit: (e) => {@@ -77969,24 +77978,24 @@ function ALe({ initial: e, receipt: t }) {});},children: [- /* @__PURE__ */ (0, D.jsx)(sA, { children: /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsx)(uA, { children: /* @__PURE__ */ (0, D.jsx)(cA, {label: "连接方式",- children: /* @__PURE__ */ (0, D.jsx)(FF, {+ children: /* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": "连接方式",selectedKey: i,onSelectionChange: (e) => {e !== null && a(String(e));},- children: OLe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(IF, {+ children: ELe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e,children: t}, e))})}) }),- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, D.jsxs)(cA, {+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, D.jsxs)(dA, {divided: !0,children: [- i === "proxy" ? /* @__PURE__ */ (0, D.jsx)(dP, {+ i === "proxy" ? /* @__PURE__ */ (0, D.jsx)(mP, {id: "peachProxyAddress",type: "password",label: "代理地址",@@ -78000,10 +78009,10 @@ function ALe({ initial: e, receipt: t }) {title: "需要选择连接方式",children: "已有来源的代理地址不同,请选择公共连接方式。"}) : null,- c.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: c.error }) : null+ c.error ? /* @__PURE__ */ (0, D.jsx)(mA, { children: c.error }) : null]}) : null,- /* @__PURE__ */ (0, D.jsx)(lA, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ /* @__PURE__ */ (0, D.jsx)(fA, { children: /* @__PURE__ */ (0, D.jsx)(q, {type: "submit",...Y(c.busy === "save"),children: "保存配置"@@ -78013,24 +78022,24 @@ function ALe({ initial: e, receipt: t }) {}//#endregion//#region src/react/follow-manage/credentials.tsx-var jLe = "将清除这个来源在本机和共享副本中的登录凭据。", MLe = "其他系统用户可以读取此凭据文件。请在运行 Peach 的 Mac 或 Linux 电脑上,将文件权限设为仅当前用户可读写(0600)。";-function NLe(e, t) {+var kLe = "将清除这个来源在本机和共享副本中的登录凭据。", ALe = "其他系统用户可以读取此凭据文件。请在运行 Peach 的 Mac 或 Linux 电脑上,将文件权限设为仅当前用户可读写(0600)。";+function jLe(e, t) {return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";}-function PLe({ row: e }) {- if (ai(e)) return /* @__PURE__ */ (0, D.jsx)(Hk, {+function MLe({ row: e }) {+ if (ai(e)) return /* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption",color: "lime",children: "已配置"});let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";- return /* @__PURE__ */ (0, D.jsx)(Hk, {+ return /* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption",color: t,children: ii[e.requirement] || ""});}-function FLe({ row: e, readOnly: t, toast: n }) {+function NLe({ row: e, readOnly: t, toast: n }) {let [r, i] = (0, E.useState)({}), [a, o] = (0, E.useState)(""), s = ai(e), c = vt({mutationFn: (t) => Rr(e.provider, t),onSuccess: (e, t) => {@@ -78047,17 +78056,17 @@ function FLe({ row: e, readOnly: t, toast: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, D.jsxs)(uA, { children: [e.why, e.where ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [" ", /* @__PURE__ */ (0, D.jsx)(pA, {+ /* @__PURE__ */ (0, D.jsxs)(pA, { children: [e.why, e.where ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [" ", /* @__PURE__ */ (0, D.jsx)(gA, {href: e.where,children: "获取凭据"})] }) : null] }),- e.howto ? /* @__PURE__ */ (0, D.jsx)(uA, { children: e.howto }) : null,+ e.howto ? /* @__PURE__ */ (0, D.jsx)(pA, { children: e.howto }) : null,/* @__PURE__ */ (0, D.jsx)("div", {className: "flex w-full flex-col gap-3",- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, D.jsx)(dP, {+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, D.jsx)(mP, {type: "password",label: n,- placeholder: NLe(e, n),+ placeholder: jLe(e, n),autoComplete: "off",spellCheck: "false",isDisabled: t,@@ -78085,7 +78094,7 @@ function FLe({ row: e, readOnly: t, toast: n }) {...Y(c.isPending),onClick: () => void Hs({title: "清除来源凭据",- body: jLe,+ body: kLe,confirmLabel: "清除来源凭据",danger: !0,onConfirm: () => c.mutateAsync({})@@ -78093,11 +78102,11 @@ function FLe({ row: e, readOnly: t, toast: n }) {children: "清除"}) : null]}),- a ? /* @__PURE__ */ (0, D.jsx)(dA, { children: a }) : null,- (e.shared_fields || []).length ? /* @__PURE__ */ (0, D.jsx)(uA, { children: `${e.shared_fields.join("、")} 使用共享副本中的登录信息,本机没有单独保存。清除时,本机和共享副本中的登录信息都会删除。` }) : null,- e.path ? /* @__PURE__ */ (0, D.jsx)(gA, {+ a ? /* @__PURE__ */ (0, D.jsx)(mA, { children: a }) : null,+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, D.jsx)(pA, { children: `${e.shared_fields.join("、")} 使用共享副本中的登录信息,本机没有单独保存。清除时,本机和共享副本中的登录信息都会删除。` }) : null,+ e.path ? /* @__PURE__ */ (0, D.jsx)(yA, {summary: "凭据文件",- children: /* @__PURE__ */ (0, D.jsx)(EV, {+ children: /* @__PURE__ */ (0, D.jsx)(kV, {path: e.path,className: "font-mono text-caption-1-regular text-text-tertiary",onRevealed: n@@ -78106,20 +78115,20 @@ function FLe({ row: e, readOnly: t, toast: n }) {]});}-function ILe({ row: e, readOnly: t, toast: n }) {+function PLe({ row: e, readOnly: t, toast: n }) {let r = /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 flex-wrap items-center gap-2",children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "inline-flex size-3.5 shrink-0 items-center justify-center",- children: /* @__PURE__ */ (0, D.jsx)(rW, { provider: e.provider })+ children: /* @__PURE__ */ (0, D.jsx)(oW, { provider: e.provider })}),/* @__PURE__ */ (0, D.jsx)("b", {className: "min-w-0 text-body-medium wrap-anywhere text-text-primary",children: e.provider_label}),- /* @__PURE__ */ (0, D.jsx)(PLe, { row: e }),- e.missing.length ? /* @__PURE__ */ (0, D.jsx)(Hk, {+ /* @__PURE__ */ (0, D.jsx)(MLe, { row: e }),+ e.missing.length ? /* @__PURE__ */ (0, D.jsx)(Gk, {variant: "caption",color: "rose",children: `缺 ${e.missing.join("、")}`@@ -78128,15 +78137,15 @@ function ILe({ row: e, readOnly: t, toast: n }) {});return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",- children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, D.jsx)(uA, { children: e.why }) : null]+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, D.jsx)(pA, { children: e.why }) : null]}) : /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",children: [r,- /* @__PURE__ */ (0, D.jsx)(gA, {+ /* @__PURE__ */ (0, D.jsx)(yA, {summary: ai(e) ? "修改凭据" : "填写凭据",defaultOpen: e.requirement === "required" && !ai(e),- children: /* @__PURE__ */ (0, D.jsx)(FLe, {+ children: /* @__PURE__ */ (0, D.jsx)(NLe, {row: e,readOnly: t,toast: n@@ -78145,16 +78154,16 @@ function ILe({ row: e, readOnly: t, toast: n }) {e.world_readable ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: "凭据文件权限过宽",- children: MLe+ children: ALe}) : null]});}-function LLe({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {+function FLe({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {let i = e.providers || [], a = i.filter((e) => e.requirement === "required" && !ai(e));- if (!i.length) return /* @__PURE__ */ (0, D.jsx)(Zk, {+ if (!i.length) return /* @__PURE__ */ (0, D.jsx)(eA, {size: "compact",- icon: Hve,+ icon: Bve,title: "没有可配置的来源",children: "已接入的站点及其凭据状态会显示在这里。"});@@ -78181,24 +78190,24 @@ function LLe({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {className: "text-body-medium text-text-secondary",children: e.title}), /* @__PURE__ */ (0, D.jsx)("div", {- className: qk({+ className: Xk({variant: "outlined",padding: "none",className: "flex flex-col overflow-hidden"}),- children: e.rows.map((e) => /* @__PURE__ */ (0, D.jsx)(ILe, {+ children: e.rows.map((e) => /* @__PURE__ */ (0, D.jsx)(PLe, {row: e,readOnly: t,toast: n}, e.provider))})]}, e.title)) });- return r ? /* @__PURE__ */ (0, D.jsx)(oA, {+ return r ? /* @__PURE__ */ (0, D.jsx)(lA, {title: "来源凭据",aside: o || void 0,- children: /* @__PURE__ */ (0, D.jsx)(cA, { children: s })+ children: /* @__PURE__ */ (0, D.jsx)(dA, { children: s })}) : /* @__PURE__ */ (0, D.jsxs)("div", {- className: qk({+ className: Xk({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -78213,15 +78222,15 @@ function LLe({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {}//#endregion//#region src/configuration-copy.ts-var RLe = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", zLe = "只填域名,留空用默认地址";+var ILe = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", LLe = "只填域名,留空用默认地址";//#endregion//#region src/react/settings/entry-links-settings.tsx-function BLe({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e.sites), i = nA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {+function RLe({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e.sites), i = aA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {...n,host: t} : n));- return /* @__PURE__ */ (0, D.jsxs)(oA, {+ return /* @__PURE__ */ (0, D.jsxs)(lA, {title: "作品资料站点",onSubmit: (e) => {e.preventDefault();@@ -78230,11 +78239,11 @@ function BLe({ initial: e, receipt: t }) {r(e.sites), t("已保存配置");});},- children: [/* @__PURE__ */ (0, D.jsxs)(cA, { children: [- /* @__PURE__ */ (0, D.jsx)(uA, { children: RLe }),- n.map((e) => /* @__PURE__ */ (0, D.jsx)(dP, {+ children: [/* @__PURE__ */ (0, D.jsxs)(dA, { children: [+ /* @__PURE__ */ (0, D.jsx)(pA, { children: ILe }),+ n.map((e) => /* @__PURE__ */ (0, D.jsx)(mP, {id: `entry-link-${e.key}`,- label: /* @__PURE__ */ (0, D.jsx)(FA, {+ label: /* @__PURE__ */ (0, D.jsx)(RA, {site: e.key,label: `${e.label} 地址`}),@@ -78244,10 +78253,10 @@ function BLe({ initial: e, receipt: t }) {placeholder: e.default_host,onChange: (t) => a(e.key, t),validationBehavior: "aria",- hint: zLe+ hint: LLe}, e.key)),- i.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: i.error }) : null- ] }), /* @__PURE__ */ (0, D.jsx)(lA, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ i.error ? /* @__PURE__ */ (0, D.jsx)(mA, { children: i.error }) : null+ ] }), /* @__PURE__ */ (0, D.jsx)(fA, { children: /* @__PURE__ */ (0, D.jsx)(q, {type: "submit",...Y(i.busy === "save"),children: "保存配置"@@ -78256,37 +78265,37 @@ function BLe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/indexer-settings.tsx-var UK = "/api/configuration/indexers";-function VLe({ receipt: e }) {+var KK = "/api/configuration/indexers";+function zLe({ receipt: e }) {let t = _t({queryKey: ["indexers"],- queryFn: ({ signal: e }) => H(UK, e),+ queryFn: ({ signal: e }) => H(KK, e),refetchOnMount: "always"});- return t.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: V(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, D.jsx)(Qk, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, D.jsx)(HLe, {+ return t.error ? /* @__PURE__ */ (0, D.jsx)(mA, { children: V(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, D.jsx)(tA, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, D.jsx)(BLe, {initial: t.data,receipt: e}) : null;}-function HLe({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e.indexers), i = nA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {+function BLe({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e.indexers), i = aA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {...n,...t} : n));- return /* @__PURE__ */ (0, D.jsxs)(oA, {+ return /* @__PURE__ */ (0, D.jsxs)(lA, {title: "资源搜索",onSubmit: (e) => {- e.preventDefault(), i.run("save", (e) => U(UK, { indexers: n }, "POST", e), (e) => {+ e.preventDefault(), i.run("save", (e) => U(KK, { indexers: n }, "POST", e), (e) => {r(e.indexers), t("已保存索引器");});},- children: [/* @__PURE__ */ (0, D.jsxs)(cA, { children: [- /* @__PURE__ */ (0, D.jsx)(gA, {+ children: [/* @__PURE__ */ (0, D.jsxs)(dA, { children: [+ /* @__PURE__ */ (0, D.jsx)(yA, {summary: "索引器连接帮助",- children: /* @__PURE__ */ (0, D.jsxs)(uA, { children: [+ children: /* @__PURE__ */ (0, D.jsxs)(pA, { children: ["填写 Prowlarr 或 Jackett 提供的 Torznab 地址和 API key。"," ",- /* @__PURE__ */ (0, D.jsx)(pA, {+ /* @__PURE__ */ (0, D.jsx)(gA, {href: "https://github.com/peach-mitao/peach/blob/master/docs/RESOURCE_SEARCH.md",children: "详细配置说明"})@@ -78295,14 +78304,14 @@ function HLe({ initial: e, receipt: t }) {n.map((e, t) => /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4",children: [- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: `索引器 ${t + 1} 名称`,value: e.name,maxLength: 80,isDisabled: !!i.busy,onChange: (t) => a(e.key, { name: t })}),- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: `索引器 ${t + 1} Torznab 地址`,value: e.url,type: "url",@@ -78311,7 +78320,7 @@ function HLe({ initial: e, receipt: t }) {isDisabled: !!i.busy,onChange: (t) => a(e.key, { url: t })}),- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: `索引器 ${t + 1} API key`,type: "password",autoComplete: "new-password",@@ -78320,13 +78329,13 @@ function HLe({ initial: e, receipt: t }) {isDisabled: !!i.busy,onChange: (t) => a(e.key, { api_key: t })}),- /* @__PURE__ */ (0, D.jsx)(BP, {+ /* @__PURE__ */ (0, D.jsx)(UP, {isSelected: e.enabled,isDisabled: !!i.busy,onChange: (t) => a(e.key, { enabled: t }),children: "启用"}),- e.api_key_set ? /* @__PURE__ */ (0, D.jsx)(BP, {+ e.api_key_set ? /* @__PURE__ */ (0, D.jsx)(UP, {isSelected: !!e.clear_api_key,isDisabled: !!i.busy,onChange: (t) => a(e.key, { clear_api_key: t }),@@ -78341,13 +78350,13 @@ function HLe({ initial: e, receipt: t }) {}) })]}, e.key)),- i.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: i.error }) : null- ] }), /* @__PURE__ */ (0, D.jsxs)(lA, { children: [/* @__PURE__ */ (0, D.jsx)(q, {+ i.error ? /* @__PURE__ */ (0, D.jsx)(mA, { children: i.error }) : null+ ] }), /* @__PURE__ */ (0, D.jsxs)(fA, { children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",type: "button",disabled: !!i.busy || n.length >= e.max_indexers,onClick: () => r([...n, {- key: crypto.randomUUID(),+ key: OE(),name: "",url: "",enabled: !0,@@ -78363,7 +78372,7 @@ function HLe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/source-settings.tsx-function ULe({ data: e, receipt: t, panel: n }) {+function VLe({ data: e, receipt: t, panel: n }) {let r = _t({queryKey: Jn,queryFn: ({ signal: e }) => Er(e),@@ -78371,14 +78380,14 @@ function ULe({ data: e, receipt: t, panel: n }) {refetchOnMount: "always"});return /* @__PURE__ */ (0, D.jsxs)("div", {- ...TK(n),+ ...OK(n),children: [- /* @__PURE__ */ (0, D.jsx)("div", { children: /* @__PURE__ */ (0, D.jsx)(Wk, {+ /* @__PURE__ */ (0, D.jsx)("div", { children: /* @__PURE__ */ (0, D.jsx)(qk, {href: "/sources",variant: "secondary",children: "采集来源与登录状态"}) }),- r.data ? /* @__PURE__ */ (0, D.jsx)(LLe, {+ r.data ? /* @__PURE__ */ (0, D.jsx)(FLe, {data: r.data,readOnly: !!e.ledger_read_only,toast: t,@@ -78387,24 +78396,24 @@ function ULe({ data: e, receipt: t, panel: n }) {tone: "error",title: "来源凭据未取得",children: V(r.error)- }) : n?.active === !1 ? null : /* @__PURE__ */ (0, D.jsx)(Qk, { label: "正在读取来源凭据" }),- e.entry_links ? /* @__PURE__ */ (0, D.jsx)(BLe, {+ }) : n?.active === !1 ? null : /* @__PURE__ */ (0, D.jsx)(tA, { label: "正在读取来源凭据" }),+ e.entry_links ? /* @__PURE__ */ (0, D.jsx)(RLe, {initial: e.entry_links,receipt: t}) : null,- /* @__PURE__ */ (0, D.jsx)(VLe, { receipt: t }),- /* @__PURE__ */ (0, D.jsx)(_Le, { receipt: t })+ /* @__PURE__ */ (0, D.jsx)(zLe, { receipt: t }),+ /* @__PURE__ */ (0, D.jsx)(hLe, { receipt: t })]});}//#endregion//#region src/react/settings/configuration-page.tsx-function WLe({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r }) {+function HLe({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r }) {let i = _t({- queryKey: SK,- queryFn: ({ signal: e }) => CK(e)+ queryKey: TK,+ queryFn: ({ signal: e }) => EK(e)}), a = i.data;- return a ? /* @__PURE__ */ (0, D.jsx)(KLe, {+ return a ? /* @__PURE__ */ (0, D.jsx)(WLe, {data: a,receipt: e,reopenTutorial: t,@@ -78419,9 +78428,9 @@ function WLe({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r })})});}-var GLe = 0;-function KLe({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i }) {- let [a] = (0, E.useState)(() => `board-tabs-${++GLe}`), [o, s] = (0, E.useState)(r), c = (0, E.useRef)(null), l = (0, E.useRef)(o);+var ULe = 0;+function WLe({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i }) {+ let [a] = (0, E.useState)(() => `board-tabs-${++ULe}`), [o, s] = (0, E.useState)(r), c = (0, E.useRef)(null), l = (0, E.useRef)(o);(0, E.useEffect)(() => {s(r);}, [r]), (0, E.useLayoutEffect)(() => {@@ -78435,9 +78444,9 @@ function KLe({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:window.scrollTo(0, Math.max(0, window.scrollY + t.getBoundingClientRect().top - r));}, [o]);let u = (e) => {- s(e), yk(BO(e), {+ s(e), Sk(UO(e), {replace: !0,- state: vk.navigation.location.state+ state: xk.navigation.location.state});}, [d, f] = (0, E.useState)(() => matchMedia("(max-width:900px)").matches);(0, E.useEffect)(() => {@@ -78451,20 +78460,20 @@ function KLe({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:{title: "媒体库与入库",body: (e) => /* @__PURE__ */ (0, D.jsxs)("div", {- ...TK(e),- children: [/* @__PURE__ */ (0, D.jsx)(fLe, { ...m }), /* @__PURE__ */ (0, D.jsx)(yLe, { receipt: t })]+ ...OK(e),+ children: [/* @__PURE__ */ (0, D.jsx)(uLe, { ...m }), /* @__PURE__ */ (0, D.jsx)(_Le, { receipt: t })]})},{title: "来源与订阅",- body: (e) => /* @__PURE__ */ (0, D.jsx)(ULe, {+ body: (e) => /* @__PURE__ */ (0, D.jsx)(VLe, {...m,panel: e})},...g ? [{title: "下载渠道",- body: (e) => /* @__PURE__ */ (0, D.jsx)(PIe, {+ body: (e) => /* @__PURE__ */ (0, D.jsx)(MIe, {initial: g,receipt: t,panel: e@@ -78472,7 +78481,7 @@ function KLe({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:}] : [],...h ? [{title: "网络与访问",- body: (e) => /* @__PURE__ */ (0, D.jsx)(kLe, {+ body: (e) => /* @__PURE__ */ (0, D.jsx)(DLe, {...m,panel: e})@@ -78480,8 +78489,8 @@ function KLe({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:{title: "应用与维护",body: (e) => /* @__PURE__ */ (0, D.jsxs)("div", {- ...TK(e),- children: [/* @__PURE__ */ (0, D.jsx)(XIe, { ...m }), /* @__PURE__ */ (0, D.jsx)(BIe, {+ ...OK(e),+ children: [/* @__PURE__ */ (0, D.jsx)(JIe, { ...m }), /* @__PURE__ */ (0, D.jsx)(RIe, {...m,reopenTutorial: n})]@@ -78490,7 +78499,7 @@ function KLe({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:{title: "系统诊断",body: (e) => /* @__PURE__ */ (0, D.jsx)("div", {- ...TK(e),+ ...OK(e),children: e.active ? i : null})}@@ -78506,7 +78515,7 @@ function KLe({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:return /* @__PURE__ */ (0, D.jsxs)("div", {ref: c,className: "ui-configpage",- children: [/* @__PURE__ */ (0, D.jsx)(cO, {+ children: [/* @__PURE__ */ (0, D.jsx)(dO, {className: "ui-board-local-nav",role: "tablist","aria-label": "配置分区",@@ -78543,7 +78552,7 @@ function KLe({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:}//#endregion//#region src/react/settings-panel/glow-settings.tsx-var qLe = [+var GLe = [["strength","强度",@@ -78570,8 +78579,8 @@ var qLe = [100]];-function JLe({ host: e, spot: t, index: n, glow: r }) {- let i = bue[n], a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useRef)(null), c = Jk(), [l, u] = (0, E.useState)("all");+function KLe({ host: e, spot: t, index: n, glow: r }) {+ let i = vue[n], a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useRef)(null), c = Zk(), [l, u] = (0, E.useState)("all");(0, E.useLayoutEffect)(() => {let [e, t, n] = [a.current,@@ -78584,7 +78593,7 @@ function JLe({ host: e, spot: t, index: n, glow: r }) {}, []);let d = r[t].color, f = (n) => {let r = e.store.value.homeGlow;- r[t].color = kue(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), ao(), o.current?.focus();+ r[t].color = Due(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), ao(), o.current?.focus();};return /* @__PURE__ */ (0, D.jsxs)("div", {"data-glow-stop": t,@@ -78609,7 +78618,7 @@ function JLe({ host: e, spot: t, index: n, glow: r }) {children: d})]}),- /* @__PURE__ */ (0, D.jsx)(LD, { name: "chevron-down" })+ /* @__PURE__ */ (0, D.jsx)(BD, { name: "chevron-down" })]}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "popmenu",@@ -78621,7 +78630,7 @@ function JLe({ host: e, spot: t, index: n, glow: r }) {"data-glow-pills": "",role: "group","aria-label": "色系",- children: Eue.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)("button", {+ children: wue.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-glow-pill": e,"aria-pressed": e === l,@@ -78635,7 +78644,7 @@ function JLe({ host: e, spot: t, index: n, glow: r }) {"data-glow-palette": "",role: "radiogroup","aria-label": `${i}颜色`,- children: Due.map(([e, t, n]) => /* @__PURE__ */ (0, D.jsx)("button", {+ children: Tue.map(([e, t, n]) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button",role: "radio","aria-checked": n === d,@@ -78652,8 +78661,8 @@ function JLe({ host: e, spot: t, index: n, glow: r }) {})]});}-function YLe({ host: e }) {- let t = e.store.value.homeGlow, n = PT(t.preset);+function qLe({ host: e }) {+ let t = e.store.value.homeGlow, n = IT(t.preset);return /* @__PURE__ */ (0, D.jsxs)("section", {"data-glow-setting": "",id: "homeGlowControls",@@ -78672,10 +78681,10 @@ function YLe({ host: e }) {"data-glow-current": "",children: ["当前配色", /* @__PURE__ */ (0, D.jsx)("b", {"data-glow-preset-name": "",- children: Sue(t.preset)+ children: bue(t.preset)})]}),- /* @__PURE__ */ (0, D.jsx)(Dde, {+ /* @__PURE__ */ (0, D.jsx)(Tde, {store: e.store,label: "光晕配色"}),@@ -78686,7 +78695,7 @@ function YLe({ host: e }) {}),/* @__PURE__ */ (0, D.jsx)("div", {"data-glow-fields": "",- children: qLe.map(([r, i, a]) => /* @__PURE__ */ (0, D.jsx)(nIe, {+ children: GLe.map(([r, i, a]) => /* @__PURE__ */ (0, D.jsx)(eIe, {field: r,label: i,max: a,@@ -78707,7 +78716,7 @@ function YLe({ host: e }) {className: "geist-button","data-glow-reset": "",onClick: () => {- e.store.value.homeGlow = Nue(null), e.store.save(), e.changed("glow");+ e.store.value.homeGlow = jue(null), e.store.save(), e.changed("glow");},children: "恢复默认"})@@ -78726,7 +78735,7 @@ function YLe({ host: e }) {"data-glow-colour-card": "",children: /* @__PURE__ */ (0, D.jsx)("div", {"data-glow-stops": "",- children: MT.map((n, r) => /* @__PURE__ */ (0, D.jsx)(JLe, {+ children: PT.map((n, r) => /* @__PURE__ */ (0, D.jsx)(KLe, {host: e,spot: n,index: r,@@ -78739,7 +78748,7 @@ function YLe({ host: e }) {}//#endregion//#region src/react/settings-panel/number-setting.tsx-var XLe = {+var JLe = {batchSizeSetting: {min: 1,max: 200,@@ -78780,22 +78789,22 @@ var XLe = {optional: !0,fallback: 60}-}, WK = (e) => `peach.number.${e}`;-function GK(e, t) {+}, qK = (e) => `peach.number.${e}`;+function JK(e, t) {if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";let n = e / 1440;return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}-function KK({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = XLe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, E.useRef)(0);- d.current ||= TT(Number(localStorage.getItem(WK(e))), o, s, n && n > 0 ? n : l);+function YK({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {+ let a = JLe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, E.useRef)(0);+ d.current ||= DT(Number(localStorage.getItem(qK(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, E.useState)(n ?? 0), [m, h] = (0, E.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, E.useState)(""), v = (0, E.useRef)(null), y = (0, E.useRef)(i);y.current = i, (0, E.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(WK(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(qK(e), String(d.current)), y.current(d.current)));}, x = (0, E.useRef)(b);x.current = b, (0, E.useEffect)(() => {let e = v.current;@@ -78805,7 +78814,7 @@ function KK({ 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(WK(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(qK(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, D.jsxs)("div", {"data-number-setting": "",@@ -78842,7 +78851,7 @@ function KK({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}}), /* @__PURE__ */ (0, D.jsxs)("span", {"aria-hidden": "true",- children: [c, GK(Number(m), c) ? ` · ${GK(Number(m), c)}` : ""]+ children: [c, JK(Number(m), c) ? ` · ${JK(Number(m), c)}` : ""]})]}), /* @__PURE__ */ (0, D.jsx)("small", {id: `${e}-error`,@@ -78856,13 +78865,13 @@ function KK({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}//#endregion//#region src/react/sidebar/sidebar-order.ts-function qK(e) {- let { mutate: t } = OB();+function XK(e) {+ let { mutate: t } = jB();return (0, E.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);}-function JK(e, t, n, r) {+function ZK(e, t, n, r) {if (t === n) return null;let i = [...e], a = i.indexOf(t);if (a < 0) return null;@@ -78872,17 +78881,17 @@ function JK(e, t, n, r) {}//#endregion//#region src/react/settings-panel/sidebar-order.tsx-var ZLe = "__home__", YK = (e) => e === "" ? ZLe : e;-function QLe({ host: e }) {- let t = qK(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, E.useState)(null), [c, l] = (0, E.useState)(!1), [u, d] = (0, E.useState)(null), [f, p] = (0, E.useState)(null), m = (0, E.useRef)(null), h = (0, E.useRef)(null), g = (e, r, i) => {- let a = JK(n, e, r, i);+var YLe = "__home__", QK = (e) => e === "" ? YLe : e;+function XLe({ host: e }) {+ let t = XK(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, E.useState)(null), [c, l] = (0, E.useState)(!1), [u, d] = (0, E.useState)(null), [f, p] = (0, E.useState)(null), m = (0, E.useRef)(null), h = (0, E.useRef)(null), g = (e, r, i) => {+ let a = ZK(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]) => YK(e) === o) ?? a[0], y = () => {+ }, v = a.find(([e]) => QK(e) === o) ?? a[0], y = () => {h.current && co(h.current), l(!1);}, b = () => {let e = h.current;@@ -78903,7 +78912,7 @@ function QLe({ host: e }) {}, C = (e) => ({draggable: !0,onDragStart: (t) => {- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", YK(e));+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", QK(e));},onDragOver: (t) => {if (u === null || u === e) return;@@ -78935,9 +78944,9 @@ function QLe({ host: e }) {/* @__PURE__ */ (0, D.jsx)("i", {"data-sidebar-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, D.jsx)(LD, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, D.jsx)(BD, { name: "grip-vertical" })}),- /* @__PURE__ */ (0, D.jsx)(LD, { name: a ?? "" }),+ /* @__PURE__ */ (0, D.jsx)(BD, { name: a ?? "" }),/* @__PURE__ */ (0, D.jsx)("b", { children: r })]}), /* @__PURE__ */ (0, D.jsxs)("span", {@@ -78951,7 +78960,7 @@ function QLe({ host: e }) {title: "上移",disabled: o === 0,onClick: () => _(e, -1),- children: /* @__PURE__ */ (0, D.jsx)(LD, { name: "chevron-up" })+ children: /* @__PURE__ */ (0, D.jsx)(BD, { name: "chevron-up" })}),/* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -78961,7 +78970,7 @@ function QLe({ host: e }) {title: "下移",disabled: o === i.length - 1,onClick: () => _(e, 1),- children: /* @__PURE__ */ (0, D.jsx)(LD, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, D.jsx)(BD, { name: "chevron-down" })}),/* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -78973,11 +78982,11 @@ function QLe({ host: e }) {onClick: () => {n.length > 1 && t(n.filter((t) => t !== e));},- children: /* @__PURE__ */ (0, D.jsx)(LD, { name: "eye-off" })+ children: /* @__PURE__ */ (0, D.jsx)(BD, { name: "eye-off" })})]})]- }, YK(e))), /* @__PURE__ */ (0, D.jsxs)("div", {+ }, QK(e))), /* @__PURE__ */ (0, D.jsxs)("div", {"data-sidebar-add-row": "",children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-sidebar-add-picker": "",@@ -78993,13 +79002,13 @@ function QLe({ host: e }) {ref: m,onClick: b,children: v ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(LD, { name: v[2] ?? "" }),+ /* @__PURE__ */ (0, D.jsx)(BD, { name: v[2] ?? "" }),/* @__PURE__ */ (0, D.jsx)("span", {"data-sidebar-add-label": "",children: v[1]}),- /* @__PURE__ */ (0, D.jsx)(LD, { name: "chevron-down" })- ] }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(LD, { name: "check" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "全部页面都已显示" })] })+ /* @__PURE__ */ (0, D.jsx)(BD, { name: "chevron-down" })+ ] }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(BD, { name: "check" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "全部页面都已显示" })] })}), a.length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "popmenu","data-sidebar-add-menu": "",@@ -79010,15 +79019,15 @@ function QLe({ host: e }) {children: a.map(([e, t, n]) => /* @__PURE__ */ (0, D.jsxs)("button", {type: "button",role: "option",- "data-sidebar-add-option": YK(e),+ "data-sidebar-add-option": QK(e),"aria-selected": v?.[0] === e,tabIndex: v?.[0] === e ? 0 : -1,onKeyDown: x,onClick: () => {- s(YK(e)), y(), m.current?.focus();+ s(QK(e)), y(), m.current?.focus();},- children: [/* @__PURE__ */ (0, D.jsx)(LD, { name: n ?? "" }), /* @__PURE__ */ (0, D.jsx)("span", { children: t })]- }, YK(e)))+ children: [/* @__PURE__ */ (0, D.jsx)(BD, { name: n ?? "" }), /* @__PURE__ */ (0, D.jsx)("span", { children: t })]+ }, QK(e)))}) : null]}), /* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -79035,13 +79044,13 @@ function QLe({ host: e }) {}//#endregion//#region src/react/settings-panel/settings-panel.tsx-var XK = [+var $K = [["外观与导航", "ri-palette-line"],["浏览与播放", "ri-play-circle-line"],["JAV 与新作", "jav"],["搜索与推荐", "ri-search-line"],["内容显示", "ri-shield-check-line"]-], $Le = [+], ZLe = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -79050,7 +79059,7 @@ var XK = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], eRe = [["desc", "降序"], ["asc", "升序"]], tRe = [[+], QLe = [["desc", "降序"], ["asc", "升序"]], $Le = [["cover","官方封面",""@@ -79058,7 +79067,7 @@ var XK = ["thumbnail","预览图",""-]], nRe = [+]], eRe = [["feedHideGroupSetting","feedHideGroupCompilations",@@ -79077,88 +79086,88 @@ var XK = ["切片","隐藏切片"]-], rRe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", ZK = null, QK = {+], tRe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", eq = null, tq = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null-}, $K = 0, eq = null, tq = /* @__PURE__ */ new Set();-function iRe(e) {- return tq.add(e), () => {- tq.delete(e);+}, nq = 0, rq = null, iq = /* @__PURE__ */ new Set();+function nRe(e) {+ return iq.add(e), () => {+ iq.delete(e);};}-function aRe() {- for (let e of [...tq]) e();+function rRe() {+ for (let e of [...iq]) e();}-function nq(e) {- QK = {- ...QK,+function aq(e) {+ tq = {+ ...tq,...e- }, (0, bt.flushSync)(aRe);+ }, (0, bt.flushSync)(rRe);}-async function oRe(e) {- let t = QK.epoch, n = await e.configurable();- QK.open && QK.epoch === t && nq({ configurable: n });+async function iRe(e) {+ let t = tq.epoch, n = await e.configurable();+ tq.open && tq.epoch === t && aq({ configurable: n });}-function sRe(e = "") {- let t = ZK;+function aRe(e = "") {+ let t = eq;if (!t) return;- let n = XK.findIndex(([t]) => t === e);- if (QK.open && !QK.closing) {- n >= 0 && n !== QK.tab && nq({ tab: n });+ let n = $K.findIndex(([t]) => t === e);+ if (tq.open && !tq.closing) {+ n >= 0 && n !== tq.tab && aq({ tab: n });return;}- ao(), $K += 1, eq ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");- let r = VOe();- nq({+ ao(), nq += 1, rq ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ let r = zOe();+ aq({open: !0,closing: !1,configurable: null,- epoch: QK.epoch + 1,- tab: n >= 0 ? n : QK.tab+ epoch: tq.epoch + 1,+ tab: n >= 0 ? n : tq.tab}), r.then((e) => {e && t.syncRemote(e);- }), oRe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+ }), iRe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}-function rq(e = !0) {- if (!QK.open || QK.closing) return;- let t = ++$K;- e && ZK?.closed?.(), nq({ closing: !0 });+function oq(e = !0) {+ if (!tq.open || tq.closing) return;+ let t = ++nq;+ e && eq?.closed?.(), aq({ closing: !0 });let n = () => {- t === $K && QK.closing && (nq({+ t === nq && tq.closing && (aq({open: !1,closing: !1- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), eq instanceof HTMLElement && document.contains(eq) && eq.focus(), eq = null);+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), rq instanceof HTMLElement && document.contains(rq) && rq.focus(), rq = null);};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}-var cRe = {- open: sRe,- close: rq,- isOpen: () => QK.open,+var oRe = {+ open: aRe,+ close: oq,+ isOpen: () => tq.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function lRe(e) {- return ZK = e, cRe;+function sRe(e) {+ return eq = e, oRe;}-function uRe() {- let e = (0, E.useSyncExternalStore)(iRe, () => QK);- return ZK ? /* @__PURE__ */ (0, D.jsx)(pRe, {- host: ZK,+function cRe() {+ let e = (0, E.useSyncExternalStore)(nRe, () => tq);+ return eq ? /* @__PURE__ */ (0, D.jsx)(dRe, {+ host: eq,view: e}) : null;}-function dRe(e) {+function lRe(e) {if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(rRe)].filter((e) => e.getClientRects().length > 0);+ let t = [...e.currentTarget.querySelectorAll(tRe)].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 iq = (e) => `settings-tab-${e}`, aq = (e) => `settings-group-${e}`;-function fRe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {+var sq = (e) => `settings-tab-${e}`, cq = (e) => `settings-group-${e}`;+function uRe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {let a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useRef)(null), c = (0, E.useRef)(e), l = (0, E.useRef)([]), u = (e, t) => {let n = o.current;if (!n) return;@@ -79186,7 +79195,7 @@ function fRe({ 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 = XK.length, r = t;+ let n = $K.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;@@ -79215,11 +79224,11 @@ function fRe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectrole: "presentation",children: "设置"}),- XK.map(([t, n], r) => /* @__PURE__ */ (0, D.jsxs)("button", {+ $K.map(([t, n], r) => /* @__PURE__ */ (0, D.jsxs)("button", {type: "button",role: "tab",- id: iq(r),- "aria-controls": aq(r),+ id: sq(r),+ "aria-controls": cq(r),"aria-selected": r === e,tabIndex: r === e ? 0 : -1,ref: (e) => {@@ -79230,7 +79239,7 @@ function fRe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonPointerEnter: (e) => {e.pointerType !== "touch" && u(e.currentTarget, !0);},- children: [n === "jav" ? /* @__PURE__ */ (0, D.jsx)(LD, { name: n }) : /* @__PURE__ */ (0, D.jsx)(qme, { name: n }), t]+ children: [n === "jav" ? /* @__PURE__ */ (0, D.jsx)(BD, { name: n }) : /* @__PURE__ */ (0, D.jsx)(Gme, { name: n }), t]}, t)),/* @__PURE__ */ (0, D.jsx)("div", {"data-settings-service": "",@@ -79241,27 +79250,27 @@ function fRe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonClick: r,title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,children: [- /* @__PURE__ */ (0, D.jsx)(LD, { name: "folder-cog" }),+ /* @__PURE__ */ (0, D.jsx)(BD, { name: "folder-cog" }),"Peach 配置",- /* @__PURE__ */ (0, D.jsx)(LD, { name: "chevron-right" })+ /* @__PURE__ */ (0, D.jsx)(BD, { name: "chevron-right" })]})})]});}-function oq({ index: e, tab: t, children: n, cards: r = !1 }) {+function lq({ index: e, tab: t, children: n, cards: r = !1 }) {return /* @__PURE__ */ (0, D.jsxs)("section", {"data-setting-group": "","data-setting-layout": r ? "cards" : void 0,- id: aq(e),+ id: cq(e),role: "tabpanel",- "aria-labelledby": iq(e),+ "aria-labelledby": sq(e),hidden: e !== t,- children: [/* @__PURE__ */ (0, D.jsx)("h3", { children: XK[e][0] }), n]+ children: [/* @__PURE__ */ (0, D.jsx)("h3", { children: $K[e][0] }), n]});}-function sq({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {+function uq({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {return /* @__PURE__ */ (0, D.jsxs)("label", {"data-setting-row": "",children: [/* @__PURE__ */ (0, D.jsxs)("span", { children: [/* @__PURE__ */ (0, D.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, D.jsx)("small", {@@ -79278,7 +79287,7 @@ function sq({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se})]});}-function cq({ title: e, description: t, kind: n, children: r }) {+function dq({ title: e, description: t, kind: n, children: r }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-setting-row": "","data-setting-sort": n === "sort" ? "" : void 0,@@ -79286,7 +79295,7 @@ function cq({ title: e, description: t, kind: n, children: r }) {children: [/* @__PURE__ */ (0, D.jsxs)("span", { children: [/* @__PURE__ */ (0, D.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, D.jsx)("small", { children: t }) : t] }), r]});}-function pRe({ host: e, view: t }) {+function dRe({ host: e, view: t }) {(0, E.useSyncExternalStore)(e.store.subscribe, e.store.version);let n = e.store.value, r = (0, E.useRef)(null), i = (0, E.useRef)(null), a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useRef)(null), c = (0, E.useRef)(t.tab), l = () => {let [e, t] = [i.current, o.current];@@ -79307,7 +79316,7 @@ function pRe({ host: e, view: t }) {s.current?.();});let d = t.epoch, f = (t) => {- t !== QK.tab && (nq({ tab: t }), e.selectSection?.(XK[t][0]));+ t !== tq.tab && (aq({ tab: t }), e.selectSection?.($K[t][0]));}, p = () => e.store.save();return /* @__PURE__ */ (0, D.jsx)("section", {"data-settings-panel": "",@@ -79318,9 +79327,9 @@ function pRe({ host: e, view: t }) {"aria-labelledby": "settingsTitle","data-closing": t.closing ? "" : void 0,ref: r,- onKeyDown: dRe,+ onKeyDown: lRe,onClick: (e) => {- e.target === e.currentTarget && rq();+ e.target === e.currentTarget && oq();},children: /* @__PURE__ */ (0, D.jsxs)("div", {"data-settings-card": "",@@ -79331,27 +79340,27 @@ function pRe({ host: e, view: t }) {ref: a,children: [/* @__PURE__ */ (0, D.jsx)("h2", {id: "settingsTitle",- children: XK[t.tab][0]- }), /* @__PURE__ */ (0, D.jsx)(gP, {+ children: $K[t.tab][0]+ }), /* @__PURE__ */ (0, D.jsx)(yP, {id: "settingsClose",label: "关闭设置",- onPress: () => rq()+ onPress: () => oq()})]}),- /* @__PURE__ */ (0, D.jsx)(fRe, {+ /* @__PURE__ */ (0, D.jsx)(uRe, {tab: t.tab,epoch: d,configurable: t.configurable,onSelect: f,openConfiguration: () => {- rq(!1), e.openConfiguration();+ oq(!1), e.openConfiguration();}}),/* @__PURE__ */ (0, D.jsxs)("div", {"data-settings-scroll": "",ref: o,children: [- /* @__PURE__ */ (0, D.jsxs)(oq, {+ /* @__PURE__ */ (0, D.jsxs)(lq, {index: 0,tab: t.tab,cards: !0,@@ -79359,9 +79368,9 @@ function pRe({ host: e, view: t }) {/* @__PURE__ */ (0, D.jsxs)("div", {"data-setting-card": "",children: [- /* @__PURE__ */ (0, D.jsx)(cq, {+ /* @__PURE__ */ (0, D.jsx)(dq, {title: "主题",- children: /* @__PURE__ */ (0, D.jsx)(uK, {+ children: /* @__PURE__ */ (0, D.jsx)(pK, {id: "themeSetting",name: "theme",legend: "主题",@@ -79389,7 +79398,7 @@ function pRe({ host: e, view: t }) {onChange: (t) => e.setHighContrast(t.target.checked)})]}),- /* @__PURE__ */ (0, D.jsx)(sq, {+ /* @__PURE__ */ (0, D.jsx)(uq, {id: "uiSoundsSetting",title: "界面音效",checked: n.uiSounds,@@ -79397,7 +79406,7 @@ function pRe({ host: e, view: t }) {n.uiSounds = t, p(), e.changed("uiSounds");}}),- /* @__PURE__ */ (0, D.jsx)(sq, {+ /* @__PURE__ */ (0, D.jsx)(uq, {id: "homeGlowSetting",title: "侧栏光晕",checked: n.homeGlow.on,@@ -79407,7 +79416,7 @@ function pRe({ host: e, view: t }) {})]}),- /* @__PURE__ */ (0, D.jsx)(YLe, { host: e }),+ /* @__PURE__ */ (0, D.jsx)(qLe, { host: e }),/* @__PURE__ */ (0, D.jsxs)("section", {"data-setting-block": "","aria-labelledby": "sidebarOrderTitle",@@ -79419,35 +79428,35 @@ function pRe({ host: e, view: t }) {"data-setting-card": "",children: /* @__PURE__ */ (0, D.jsx)("section", {"data-sidebar-setting": "",- children: /* @__PURE__ */ (0, D.jsx)(QLe, { host: e })+ children: /* @__PURE__ */ (0, D.jsx)(XLe, { host: e })})})]})]}),- /* @__PURE__ */ (0, D.jsx)(hRe, {+ /* @__PURE__ */ (0, D.jsx)(pRe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, D.jsx)(gRe, {+ /* @__PURE__ */ (0, D.jsx)(mRe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, D.jsxs)(oq, {+ /* @__PURE__ */ (0, D.jsxs)(lq, {index: 3,tab: t.tab,children: [- /* @__PURE__ */ (0, D.jsx)(yRe, {+ /* @__PURE__ */ (0, D.jsx)(_Re, {host: e,epoch: d}),- /* @__PURE__ */ (0, D.jsx)(cq, {+ /* @__PURE__ */ (0, D.jsx)(dq, {title: "相关推荐数量",children: /* @__PURE__ */ (0, D.jsx)("div", {id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, D.jsx)(KK, {+ children: /* @__PURE__ */ (0, D.jsx)(YK, {id: "relatedLimitSetting",label: "相关推荐数量",value: n.relatedLimit,@@ -79457,24 +79466,24 @@ function pRe({ host: e, view: t }) {}, d)})}),- /* @__PURE__ */ (0, D.jsx)(cq, {+ /* @__PURE__ */ (0, D.jsx)(dq, {title: "口味与记录",children: /* @__PURE__ */ (0, D.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, D.jsx)(Wk, {+ children: /* @__PURE__ */ (0, D.jsx)(qk, {variant: "secondary",href: "/taste",- onClick: () => rq(!1),+ onClick: () => oq(!1),children: "打开口味与记录"})})})]}),- /* @__PURE__ */ (0, D.jsx)(oq, {+ /* @__PURE__ */ (0, D.jsx)(lq, {index: 4,tab: t.tab,- children: /* @__PURE__ */ (0, D.jsx)(sq, {+ children: /* @__PURE__ */ (0, D.jsx)(uq, {id: "censorSetting",title: "SFW 模式",describedBy: "sfwDescription",@@ -79489,7 +79498,7 @@ function pRe({ host: e, view: t }) {})});}-function mRe(e, t) {+function fRe(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;n.querySelector("[data-icon-swap]") || (n.innerHTML = Ho("arrow-up", "arrow-down", "a", {@@ -79499,17 +79508,17 @@ function mRe(e, t) {let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}-function hRe({ host: e, tab: t, epoch: n }) {+function pRe({ 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, D.jsxs)(oq, {+ return /* @__PURE__ */ (0, D.jsxs)(lq, {index: 1,tab: t,children: [- /* @__PURE__ */ (0, D.jsx)(cq, {+ /* @__PURE__ */ (0, D.jsx)(dq, {title: "每批加载作品",children: /* @__PURE__ */ (0, D.jsx)("div", {id: "batchSizeSetting",- children: /* @__PURE__ */ (0, D.jsx)(KK, {+ children: /* @__PURE__ */ (0, D.jsx)(YK, {id: "batchSizeSetting",label: "每批作品",value: r.batchSize,@@ -79519,24 +79528,24 @@ function hRe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, D.jsx)(cq, {+ /* @__PURE__ */ (0, D.jsx)(dq, {title: "默认排序",kind: "sort",children: /* @__PURE__ */ (0, D.jsxs)("div", {"data-setting-sort-controls": "",- children: [/* @__PURE__ */ (0, D.jsx)(dK, {+ children: [/* @__PURE__ */ (0, D.jsx)(mK, {id: "defaultSortSetting",label: "默认排序",- options: $Le,+ options: ZLe,value: r.defaultSort,epoch: n,onPick: (t) => {r.defaultSort = t, i(), e.changed("defaultSort");}- }), /* @__PURE__ */ (0, D.jsx)(dK, {+ }), /* @__PURE__ */ (0, D.jsx)(mK, {id: "defaultSortDirectionSetting",label: "默认排序方向",- options: eRe,+ options: QLe,value: o ? "asc" : "desc",hidden: a,disabled: a,@@ -79544,13 +79553,13 @@ function hRe({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSortDirection = t, i(), e.changed("sortDirection");},- decorate: (e) => mRe(e, o)+ decorate: (e) => fRe(e, o)})]})}),- /* @__PURE__ */ (0, D.jsx)(cq, {+ /* @__PURE__ */ (0, D.jsx)(dq, {title: "视频卡片大小",- children: /* @__PURE__ */ (0, D.jsx)(uK, {+ children: /* @__PURE__ */ (0, D.jsx)(pK, {id: "javSizeSetting",name: "video-size",legend: "视频卡片大小",@@ -79563,16 +79572,16 @@ function hRe({ host: e, tab: t, epoch: n }) {onChoose: (t) => e.setVideoLayout(t)})}),- /* @__PURE__ */ (0, D.jsx)(vRe, {+ /* @__PURE__ */ (0, D.jsx)(gRe, {host: e,epoch: n})]});}-function gRe({ host: e, tab: t, epoch: n }) {+function mRe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();- return /* @__PURE__ */ (0, D.jsxs)(oq, {+ return /* @__PURE__ */ (0, D.jsxs)(lq, {index: 2,tab: t,children: [@@ -79580,13 +79589,13 @@ function gRe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品显示"}),- /* @__PURE__ */ (0, D.jsx)(cq, {+ /* @__PURE__ */ (0, D.jsx)(dq, {title: "默认图片",- children: /* @__PURE__ */ (0, D.jsx)(uK, {+ children: /* @__PURE__ */ (0, D.jsx)(pK, {id: "javImageSetting",name: "jav-image",legend: "默认图片",- options: tRe,+ options: $Le,value: r.javImage,attr: "data-jav-image-choice",variant: "javimageswitch",@@ -79614,7 +79623,7 @@ function gRe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "新作显示"}),- /* @__PURE__ */ (0, D.jsx)(sq, {+ /* @__PURE__ */ (0, D.jsx)(uq, {id: "feedAutoScrollSetting",title: "新作自动滚动",checked: r.feedAutoScroll,@@ -79622,7 +79631,7 @@ function gRe({ host: e, tab: t, epoch: n }) {r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}}),- nRe.map(([t, n, r, i]) => /* @__PURE__ */ (0, D.jsx)(_Re, {+ eRe.map(([t, n, r, i]) => /* @__PURE__ */ (0, D.jsx)(hRe, {host: e,id: t,settingKey: n,@@ -79632,8 +79641,8 @@ function gRe({ host: e, tab: t, epoch: n }) {]});}-function _Re({ host: e, id: t, settingKey: n, label: r, title: i }) {- let a = OB(), [o, s] = (0, E.useState)(null), c = (0, E.useRef)(null), l = e.store.value, u = (t) => {+function hRe({ host: e, id: t, settingKey: n, label: r, title: i }) {+ let a = jB(), [o, s] = (0, E.useState)(null), c = (0, E.useRef)(null), l = e.store.value, u = (t) => {s(t), As(c.current), a.mutate({ [n]: t }, {onSuccess: (i) => {l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);@@ -79657,24 +79666,24 @@ function _Re({ host: e, id: t, settingKey: n, label: r, title: i }) {})]});}-function vRe({ host: e, epoch: t }) {+function gRe({ host: e, epoch: t }) {let n = e.store.value, r = () => e.store.save();return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(cq, {+ /* @__PURE__ */ (0, D.jsx)(dq, {title: "悬停预览延迟",children: /* @__PURE__ */ (0, D.jsx)("div", {id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, D.jsx)(KK, {+ children: /* @__PURE__ */ (0, D.jsx)(YK, {id: "hoverDelaySetting",label: "悬停预览延迟",value: n.hoverDelaySeconds,onApply: (t) => {- n.hoverDelaySeconds = TT(t, 0, 60, 5), r(), e.changed("hoverDelay");+ n.hoverDelaySeconds = DT(t, 0, 60, 5), r(), e.changed("hoverDelay");}}, t)})}),- /* @__PURE__ */ (0, D.jsx)(sq, {+ /* @__PURE__ */ (0, D.jsx)(uq, {id: "detailAutoplaySetting",title: "打开详情自动播放",checked: n.detailAutoplay,@@ -79682,7 +79691,7 @@ function vRe({ host: e, epoch: t }) {n.detailAutoplay = e, r();}}),- /* @__PURE__ */ (0, D.jsx)(sq, {+ /* @__PURE__ */ (0, D.jsx)(uq, {id: "miniplayerSetting",title: "离开详情后小窗播放",checked: n.miniplayer,@@ -79690,11 +79699,11 @@ function vRe({ host: e, epoch: t }) {n.miniplayer = t, r(), e.changed("miniplayer");}}),- /* @__PURE__ */ (0, D.jsx)(cq, {+ /* @__PURE__ */ (0, D.jsx)(dq, {title: "快进 / 快退步长",children: /* @__PURE__ */ (0, D.jsx)("div", {id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, D.jsx)(KK, {+ children: /* @__PURE__ */ (0, D.jsx)(YK, {id: "seekSecondsSetting",label: "快进 / 快退",value: n.seekSeconds,@@ -79706,18 +79715,18 @@ function vRe({ host: e, epoch: t }) {})] });}-function yRe({ host: e, epoch: t }) {- let n = e.store.value, r = OB();- return /* @__PURE__ */ (0, D.jsx)(cq, {+function _Re({ host: e, epoch: t }) {+ let n = e.store.value, r = jB();+ return /* @__PURE__ */ (0, D.jsx)(dq, {title: "搜索记录数量",children: /* @__PURE__ */ (0, D.jsx)("div", {id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, D.jsx)(KK, {+ children: /* @__PURE__ */ (0, D.jsx)(YK, {id: "searchHistoryLimitSetting",label: "搜索记录",value: n.searchHistoryLimit,onApply: (t) => {- n.searchHistoryLimit = TT(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });+ n.searchHistoryLimit = DT(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });}}, t)})@@ -79725,68 +79734,68 @@ function yRe({ host: e, epoch: t }) {}//#endregion//#region src/react/sidebar/sidebar-island.tsx-var lq = "__home__", bRe = {+var fq = "__home__", vRe = {creator: 26,tag: 30,tech: 16-}, uq = 180, dq = null, fq = {+}, pq = 180, mq = null, hq = {props: {content: null,filters: {},latest: null},epoch: 0-}, pq = /* @__PURE__ */ new Set();-function xRe(e) {- return pq.add(e), () => {- pq.delete(e);+}, gq = /* @__PURE__ */ new Set();+function yRe(e) {+ return gq.add(e), () => {+ gq.delete(e);};}-function mq() {- for (let e of [...pq]) e();+function _q() {+ for (let e of [...gq]) e();}-var SRe = {+var bRe = {render(e) {- fq = {- ...fq,+ hq = {+ ...hq,props: e- }, (0, bt.flushSync)(mq);+ }, (0, bt.flushSync)(_q);},navChanged() {- fq = {- ...fq,- epoch: fq.epoch + 1- }, (0, bt.flushSync)(mq);+ hq = {+ ...hq,+ epoch: hq.epoch + 1+ }, (0, bt.flushSync)(_q);}};-function CRe(e) {- return dq = e, fq = {- ...fq,+function xRe(e) {+ return mq = e, hq = {+ ...hq,props: {content: null,filters: {},latest: null}- }, SRe;+ }, bRe;}-function wRe() {- let e = (0, E.useSyncExternalStore)(xRe, () => fq);- return dq ? /* @__PURE__ */ (0, D.jsx)(TRe, {- host: dq,+function SRe() {+ let e = (0, E.useSyncExternalStore)(yRe, () => hq);+ return mq ? /* @__PURE__ */ (0, D.jsx)(CRe, {+ host: mq,props: e.props,epoch: e.epoch}) : null;}-function TRe({ host: e, props: t, epoch: n }) {+function CRe({ host: e, props: t, epoch: n }) {let r = (0, E.useSyncExternalStore)(e.store.subscribe, e.store.version);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("div", { "data-sidebar-head": "" }),- /* @__PURE__ */ (0, D.jsx)(ERe, {+ /* @__PURE__ */ (0, D.jsx)(wRe, {host: e,epoch: n,version: r}),- t.content ? /* @__PURE__ */ (0, D.jsx)(ORe, {+ t.content ? /* @__PURE__ */ (0, D.jsx)(ERe, {host: e,content: t.content,filters: t.filters,@@ -79794,8 +79803,8 @@ function TRe({ host: e, props: t, epoch: n }) {}) : null] });}-function ERe({ host: e, epoch: t, version: n }) {- let r = qK(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, E.useRef)(null), l = (0, E.useRef)(null), u = oj(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || lq : "").join(",")}`, { axis: "y" }), { sync: d } = u;+function wRe({ host: e, epoch: t, version: n }) {+ let r = XK(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, E.useRef)(null), l = (0, E.useRef)(null), u = lj(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || fq : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, E.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());return [@@ -79813,7 +79822,7 @@ function ERe({ host: e, epoch: t, version: n }) {}, _ = (e) => ({draggable: !0,onDragStart: (t) => {- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || lq);+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || fq);},onDragOver: (t) => {if (f === null || f === e) return;@@ -79828,7 +79837,7 @@ function ERe({ host: e, epoch: t, version: n }) {t.preventDefault();let n = f, a = m?.key === e && m.after;g();- let o = n === null ? null : JK(i, n, e, a);+ let o = n === null ? null : ZK(i, n, e, a);o && r(o);},onDragEnd: g@@ -79851,16 +79860,16 @@ function ERe({ host: e, epoch: t, version: n }) {"data-sidebar-home-logo": "",src: "/peach-logo.png",alt: ""- }) : /* @__PURE__ */ (0, D.jsx)(LD, { name: r }), /* @__PURE__ */ (0, D.jsx)("span", { children: n })]- }, t || lq))+ }) : /* @__PURE__ */ (0, D.jsx)(BD, { name: r }), /* @__PURE__ */ (0, D.jsx)("span", { children: n })]+ }, t || fq))}), v ? (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)("span", {"data-sidebar-glide": "","aria-hidden": "true",ref: l}), v) : null] });}-var hq = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);-function DRe(e) {+var vq = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);+function TRe(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [["loc", e.locations],@@ -79873,7 +79882,7 @@ function DRe(e) {for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);return t;}-function ORe({ host: e, content: t, filters: n, latest: r }) {+function ERe({ 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, E.useLayoutEffect)(() => {t.kind === "catalog" && Jo(e.scroll, "drawer");@@ -79882,8 +79891,8 @@ function ORe({ host: e, content: t, filters: n, latest: r }) {i,t.kind]);- let a = t.kind === "catalog" ? kRe(e, t.facets, n, r, i) : ARe(e, t, n), o = 0;- return a.map((e) => e && /* @__PURE__ */ (0, D.jsx)(jRe, {+ let a = t.kind === "catalog" ? DRe(e, t.facets, n, r, i) : ORe(e, t, n), o = 0;+ return a.map((e) => e && /* @__PURE__ */ (0, D.jsx)(kRe, {title: e.title,kind: e.kind,active: e.active,@@ -79892,11 +79901,11 @@ function ORe({ host: e, content: t, filters: n, latest: r }) {children: e.body}, e.title));}-function kRe(e, t, n, r, i) {- let a = DRe(r), o = (t, r, i) => {+function DRe(e, t, n, r, i) {+ let a = TRe(r), o = (t, r, i) => {if (!t.length) return null;- let o = hq(n, r);- return /* @__PURE__ */ (0, D.jsx)(vq, {+ let o = vq(n, r);+ return /* @__PURE__ */ (0, D.jsx)(xq, {rows: t,filterKey: r,multi: i,@@ -79906,7 +79915,7 @@ function kRe(e, t, n, r, i) {});}, s = (t, s, c, l, u, d) => {if (!c.length) return null;- let f = hq(n, l), p = c.some((e) => f.includes(e.value));+ let f = vq(n, l), p = c.some((e) => f.includes(e.value));if (!d) return {title: t,kind: s,@@ -79918,12 +79927,12 @@ function kRe(e, t, n, r, i) {title: t,kind: s,active: p,- body: /* @__PURE__ */ (0, D.jsx)(NRe, {+ body: /* @__PURE__ */ (0, D.jsx)(jRe, {epoch: i,title: t,rows: c,latest: m ?? null,- limit: bRe[d],+ limit: vRe[d],filterKey: l,selected: f,counts: a,@@ -79938,7 +79947,7 @@ function kRe(e, t, n, r, i) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, D.jsx)(xq, {+ body: /* @__PURE__ */ (0, D.jsx)(wq, {host: e,filters: n})@@ -79952,7 +79961,7 @@ function kRe(e, t, n, r, i) {title: "关注标签",kind: "online",active: !1,- body: /* @__PURE__ */ (0, D.jsx)(yq, {+ body: /* @__PURE__ */ (0, D.jsx)(Sq, {rows: t.followTags,host: e,selected: null,@@ -79961,14 +79970,14 @@ function kRe(e, t, n, r, i) {} : null];}-function ARe(e, t, n) {- let r = t.providers || [], i = hq(n, "provider"), a = new Set(t.selected);+function ORe(e, t, n) {+ let r = t.providers || [], i = vq(n, "provider"), a = new Set(t.selected);return [r.length ? {title: "来源",kind: "src",active: r.some((e) => i.includes(e.value)),- body: /* @__PURE__ */ (0, D.jsx)(vq, {+ body: /* @__PURE__ */ (0, D.jsx)(xq, {rows: r,filterKey: "provider",multi: !1,@@ -79982,7 +79991,7 @@ function ARe(e, t, n) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, D.jsx)(xq, {+ body: /* @__PURE__ */ (0, D.jsx)(wq, {host: e,filters: n,commit: e.setFollowDuration@@ -79992,7 +80001,7 @@ function ARe(e, t, n) {title: "内容标签",kind: "online",active: t.tags.some((e) => a.has(e.value)),- body: /* @__PURE__ */ (0, D.jsx)(yq, {+ body: /* @__PURE__ */ (0, D.jsx)(Sq, {rows: t.tags,host: e,selected: a,@@ -80001,19 +80010,19 @@ function ARe(e, t, n) {} : null];}-function gq(e, t) {+function yq(e, t) {let n = null;try {n = sessionStorage.getItem(`peach.sidebar.group.${e}`);} catch {}return n === null ? t : n === "open";}-function jRe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {- let o = (0, E.useRef)(null), s = (0, E.useRef)(null), [c, l] = (0, E.useState)(() => gq(e, n)), u = (0, E.useRef)(!1);+function kRe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {+ let o = (0, E.useRef)(null), s = (0, E.useRef)(null), [c, l] = (0, E.useState)(() => yq(e, n)), u = (0, E.useRef)(!1);(0, E.useLayoutEffect)(() => {let t = o.current, r = s.current;if (!t || !r) return;- let i = u.current ? gq(e, n) : c;+ let i = u.current ? yq(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) => {@@ -80034,7 +80043,7 @@ function jRe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })"aria-expanded": c,"aria-controls": f,onClick: d,- children: [/* @__PURE__ */ (0, D.jsx)(LD, { name: "chevron-right" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, D.jsx)(BD, { name: "chevron-right" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e })]}), /* @__PURE__ */ (0, D.jsx)("div", {ref: s,"data-sidebar-collapse": "",@@ -80045,7 +80054,7 @@ function jRe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })children: /* @__PURE__ */ (0, D.jsx)("div", {"data-sidebar-body": "",id: `sidebar-group-${encodeURIComponent(e)}`,- children: /* @__PURE__ */ (0, D.jsx)(_q.Provider, {+ children: /* @__PURE__ */ (0, D.jsx)(bq.Provider, {value: d,children: a})@@ -80054,15 +80063,15 @@ function jRe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })})]});}-var _q = (0, E.createContext)(() => {});-function MRe({ dot: e }) {- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, D.jsx)(LD, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, D.jsx)("img", {+var bq = (0, E.createContext)(() => {});+function ARe({ dot: e }) {+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, D.jsx)(BD, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, D.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""}) : /* @__PURE__ */ (0, D.jsx)("i", { "data-sidebar-cost": e.cost }) : null;}-function vq({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {+function xq({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => {@@ -80079,7 +80088,7 @@ function vq({ 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, D.jsx)(MRe, { dot: e.dot }),+ /* @__PURE__ */ (0, D.jsx)(ARe, { dot: e.dot }),/* @__PURE__ */ (0, D.jsx)("span", {"data-sidebar-chip-label": "",children: e.label@@ -80094,8 +80103,8 @@ function vq({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,})});}-function NRe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {- let u = (0, E.useContext)(_q), [d, f] = (0, E.useState)(null), [p, m] = (0, E.useState)(e);+function jRe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {+ let u = (0, E.useContext)(bq), [d, f] = (0, E.useState)(null), [p, m] = (0, E.useState)(e);p !== e && (m(e), f(null));let h = (0, E.useRef)(null), g = (0, E.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;return (0, E.useLayoutEffect)(() => {@@ -80110,7 +80119,7 @@ function NRe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, se.body.classList.add("ui-fcollapse"), Ua(e.body, e.before, () => !!t?.open && !e.body.inert);}t(), requestAnimationFrame(t);- }, [d, _]), /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(vq, {+ }, [d, _]), /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(xq, {rows: _ ? v : v.slice(0, i),filterKey: a,multi: !1,@@ -80135,10 +80144,10 @@ function NRe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, sall: !_}), _ && u());},- children: /* @__PURE__ */ (0, D.jsx)(LD, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, D.jsx)(BD, { name: "chevron-down" })}) : null] });}-function yq({ rows: e, host: t, selected: n, badges: r }) {+function Sq({ rows: e, host: t, selected: n, badges: r }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)("button", {@@ -80160,10 +80169,10 @@ function yq({ rows: e, host: t, selected: n, badges: r }) {}, e.value))});}-var bq = (e, t) => e ? Math.min(uq, Number(e) / 60) : t;-function xq({ host: e, filters: t, commit: n = e.setDuration }) {- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, E.useState)(r), [o, s] = (0, E.useState)(() => [bq(t.dur_min, 0), bq(t.dur_max, uq)]), [c, l] = (0, E.useState)("max");- i !== r && (a(r), s([bq(t.dur_min, 0), bq(t.dur_max, uq)]));+var Cq = (e, t) => e ? Math.min(pq, Number(e) / 60) : t;+function wq({ host: e, filters: t, commit: n = e.setDuration }) {+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, E.useState)(r), [o, s] = (0, E.useState)(() => [Cq(t.dur_min, 0), Cq(t.dur_max, pq)]), [c, l] = (0, E.useState)("max");+ i !== r && (a(r), s([Cq(t.dur_min, 0), Cq(t.dur_max, pq)]));let [u, d] = o, f = (0, E.useRef)(null), p = (0, E.useRef)(null), m = (0, E.useRef)(null), h = (0, E.useRef)(o);h.current = o;let g = (e, t) => {@@ -80176,11 +80185,11 @@ function xq({ host: e, filters: t, commit: n = e.setDuration }) {}, [n]), (0, E.useLayoutEffect)(() => {let e = f.current;if (!e) return;- e.style.setProperty("--lo", `${u / uq * 100}%`), e.style.setProperty("--hi", `${d / uq * 100}%`);+ e.style.setProperty("--lo", `${u / pq * 100}%`), e.style.setProperty("--hi", `${d / pq * 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 / uq * 100}%`, e.style.setProperty("--range-tip-shift", "0px");+ e.style.left = `${n / pq * 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`);});@@ -80190,7 +80199,7 @@ function xq({ 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 >= uq ? "不限" : `${t} 分钟`+ children: e === "max" && t >= pq ? "不限" : `${t} 分钟`});return /* @__PURE__ */ (0, D.jsx)("div", {"data-sidebar-duration": "",@@ -80205,7 +80214,7 @@ function xq({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMin",type: "range",min: "0",- max: uq,+ max: pq,step: "5",value: u,"aria-label": "最短时长(分钟)",@@ -80216,7 +80225,7 @@ function xq({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMax",type: "range",min: "0",- max: uq,+ max: pq,step: "5",value: d,"aria-label": "最长时长(分钟)",@@ -80231,39 +80240,39 @@ function xq({ host: e, filters: t, commit: n = e.setDuration }) {}//#endregion//#region src/configuration-skeleton.ts-var Sq = "disabled data-skeleton-action", Cq = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, wq = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, Tq = (e, t = "primary") => Do({+var Tq = "disabled data-skeleton-action", Eq = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, Dq = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, Oq = (e, t = "primary") => Do({label: e,variant: t,- attrs: Sq-}), PRe = (e) => `<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">${e}</div>`, Eq = (e) => `<div class="flex flex-col gap-4 py-4 pr-3">${e}</div>`, Dq = (e, t, n = "") => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? PRe(n) : ""}</div></section>`, Oq = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<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><span class="skeleton ${n}"></span></div>`, kq = () => Dq("媒体目录", Eq(`<div class="flex flex-col gap-3"><p class="text-body-medium text-text-primary">媒体目录</p>+ attrs: Tq+}), MRe = (e) => `<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">${e}</div>`, kq = (e) => `<div class="flex flex-col gap-4 py-4 pr-3">${e}</div>`, Aq = (e, t, n = "") => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? MRe(n) : ""}</div></section>`, jq = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<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><span class="skeleton ${n}"></span></div>`, Mq = () => Aq("媒体目录", kq(`<div class="flex flex-col gap-3"><p class="text-body-medium text-text-primary">媒体目录</p><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">${wq()}</span>${Do({+ <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${Dq()}</span>${Do({glyph: "folder-search",- attrs: Sq+ attrs: Tq})}</div>- <div class="flex flex-wrap items-end gap-2">${ko(Cq("6em"), { className: "w-full @lg:w-60" })}<span class="w-full @lg:w-32">${wq()}</span><span class="w-full min-w-32 @lg:w-auto @lg:flex-1">${wq()}</span>${Do({+ <div class="flex flex-wrap items-end gap-2">${ko(Eq("6em"), { className: "w-full @lg:w-60" })}<span class="w-full @lg:w-32">${Dq()}</span><span class="w-full min-w-32 @lg:w-auto @lg:flex-1">${Dq()}</span>${Do({glyph: "hard-drive",- attrs: Sq+ attrs: Tq})}</div>- </div><div class="self-start">${Tq("添加文件夹", "secondary")}</div></div><span class="text-body-medium text-text-primary">${Cq("15em")}</span>`), `<span class="mr-auto min-w-0 text-body-2-regular text-text-secondary">保存后 Peach 会重新启动。</span>${Tq("保存配置")}`) + Dq("视频预览", Oq("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select") + Oq("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + Oq("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select")) + Dq("视频播放", Oq("播放编解码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select"));-function FRe(e) {+ </div><div class="self-start">${Oq("添加文件夹", "secondary")}</div></div><span class="text-body-medium text-text-primary">${Eq("15em")}</span>`), `<span class="mr-auto min-w-0 text-body-2-regular text-text-secondary">保存后 Peach 会重新启动。</span>${Oq("保存配置")}`) + Aq("视频预览", jq("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select") + jq("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + jq("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select")) + Aq("视频播放", jq("播放编解码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select"));+function NRe(e) {switch (e) {- case "系统诊断": return XU();- case "媒体库与入库": return kq();- case "来源与订阅": return `<div>${Tq("采集来源与登录状态", "secondary")}</div>` + Dq("来源凭据", Eq(`${Cq("40%")}${wq()}${Cq("70%")}`)) + Dq("作品资料站点", Eq(`${wq()}${wq()}`), Tq("保存配置")) + Dq("资源搜索", Eq(`${Cq("40%")}${wq()}`)) + Dq("关注采集", Oq("首次采集范围", "", "ui-configuration-skeleton-select") + Oq("头像刷新") + Oq("favicon 刷新"));- case "下载渠道": return Dq("云下载", Eq(`${Cq("35%")}${wq()}${wq()}${wq()}${wq()}`), Tq("保存配置")) + Dq("PikPak 账号", Eq(`${wq()}${wq()}`), Tq("登录账号"));- case "网络与访问": return Dq("本机访问端口", Eq(wq("128px")), Tq("保存配置")) + Dq("Peach 代理", Oq("连接方式", "", "ui-configuration-skeleton-select"), Tq("保存配置")) + Dq("访问密码", Eq(wq()), Tq("保存配置")) + Dq("公网访问", Eq(`${Cq("60%")}${wq()}`));- case "应用与维护": return Dq("数据上传", Oq("发送版本统计与错误诊断(推荐)") + Oq("馆藏与口味明细上传")) + Dq("开机自启", Oq("开机后启动 Peach") + Oq("只启动托盘,不打开网页") + Oq("在桌面创建快捷方式"), Tq("保存配置")) + Dq("运行信息", Eq(`${Cq("80%")}${Cq("60%")}${Cq("40%")}`));- default: return kq();+ case "系统诊断": return $U();+ case "媒体库与入库": return Mq();+ case "来源与订阅": return `<div>${Oq("采集来源与登录状态", "secondary")}</div>` + Aq("来源凭据", kq(`${Eq("40%")}${Dq()}${Eq("70%")}`)) + Aq("作品资料站点", kq(`${Dq()}${Dq()}`), Oq("保存配置")) + Aq("资源搜索", kq(`${Eq("40%")}${Dq()}`)) + Aq("关注采集", jq("首次采集范围", "", "ui-configuration-skeleton-select") + jq("头像刷新") + jq("favicon 刷新"));+ case "下载渠道": return Aq("云下载", kq(`${Eq("35%")}${Dq()}${Dq()}${Dq()}${Dq()}`), Oq("保存配置")) + Aq("PikPak 账号", kq(`${Dq()}${Dq()}`), Oq("登录账号"));+ case "网络与访问": return Aq("本机访问端口", kq(Dq("128px")), Oq("保存配置")) + Aq("Peach 代理", jq("连接方式", "", "ui-configuration-skeleton-select"), Oq("保存配置")) + Aq("访问密码", kq(Dq()), Oq("保存配置")) + Aq("公网访问", kq(`${Eq("60%")}${Dq()}`));+ case "应用与维护": return Aq("数据上传", jq("发送版本统计与错误诊断(推荐)") + jq("馆藏与口味明细上传")) + Aq("开机自启", jq("开机后启动 Peach") + jq("只启动托盘,不打开网页") + jq("在桌面创建快捷方式"), Oq("保存配置")) + Aq("运行信息", kq(`${Eq("80%")}${Eq("60%")}${Eq("40%")}`));+ default: return Mq();}}-function IRe(e = "媒体库与入库") {- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(LO).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">${FRe(e)}</div></div></div>`;+function PRe(e = "媒体库与入库") {+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(BO).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">${NRe(e)}</div></div></div>`;}//#endregion//#region src/management-skeletons.ts-var Aq = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", jq = (e = "60%") => `<span class="${Aq} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, Mq = "disabled data-skeleton-action", Nq = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";-function LRe() {+var Nq = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", Pq = (e = "60%") => `<span class="${Nq} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, Fq = "disabled data-skeleton-action", Iq = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";+function FRe() {let e = ["馆藏视频","看过",@@ -80271,27 +80280,27 @@ function LRe() {"使用空间"].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="${Aq} 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">${jq("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">${jq("6em")}</small>- </div>`).join(""), t = (e) => `<section class="${Nq}" 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">${jq("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="${Nq} 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">${Pq("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">${Pq("6em")}</small>+ </div>`).join(""), t = (e) => `<section class="${Iq}" 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">${Pq("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">${jq()}</span><b class="text-title-2-medium">${jq("3em")}</b><small class="text-caption-1-regular">${jq()}</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">${Pq()}</span><b class="text-title-2-medium">${Pq("3em")}</b><small class="text-caption-1-regular">${Pq()}</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">数据库中的当前统计 · ${jq("12em")}</p>+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${Pq("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="${Nq}"><h3 class="text-title-2-medium">${e}</h3><div class="${Aq} h-64"></div></section>`).join("")}</div>+ ].map((e) => `<section class="${Iq}"><h3 class="text-title-2-medium">${e}</h3><div class="${Nq} h-64"></div></section>`).join("")}</div></div></div><section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">@@ -80300,11 +80309,11 @@ function LRe() {"最近看过","标签来源"].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="${Aq} 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="${Nq} h-7"></div>`).join("")}</div></section></div></div>`;}-function RRe() {+function IRe() {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 = ["浏览记录","口味维度",@@ -80312,20 +80321,20 @@ function RRe() {"私有导出"].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="${Aq} 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">${jq("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">${jq("6em")}</small>- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${Aq} h-6"></div>`).join(""), r = (e) => `<section class="${Nq}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${Aq} 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="${Nq} 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">${Pq("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">${Pq("6em")}</small>+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${Nq} h-6"></div>`).join(""), r = (e) => `<section class="${Iq}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${Nq} 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">${ko("全部时间")}<span data-button-group data-split-button data-variant="primary">${Do({glyph: "compass",label: "读取浏览器历史",- attrs: Mq+ attrs: Fq})}${Do({glyph: "chevron-down",- attrs: Mq+ attrs: Fq})}</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>@@ -80343,11 +80352,11 @@ function RRe() {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">${jq("8em")}</small></div>+ <small class="text-caption-1-regular">${Pq("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="${Nq}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${Aq} h-72 max-sm:h-48"></div></section>+ <section class="${Iq}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${Nq} 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(["标签",@@ -80355,20 +80364,20 @@ function RRe() {"常访问网站","浏览线索"])}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${Aq} 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="${Nq} h-7"></div>`).join("")}</div></section></div></div></div>`;}-function zRe() {+function LRe() {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="${Aq} 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">${jq("70%")}</span>- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${jq("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">${jq("75%")}</span>+ <span class="${Nq} 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">${Pq("70%")}</span>+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${Pq("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">${Pq("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">${jq("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${jq("8em")}</span>+ <b class="text-title-2-medium">${Pq("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${Pq("8em")}</span><span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${["留最大","留最长",@@ -80377,27 +80386,27 @@ function zRe() {variant: "secondary",size: "small",label: e,- attrs: Mq+ attrs: Fq})).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">${jq("4em")}</strong></div><p class="text-body-regular text-text-secondary">${jq("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">${Pq("4em")}</strong></div><p class="text-body-regular text-text-secondary">${Pq("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 ${Mq} class="h-7.5 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 ${Fq} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>${t.repeat(2)}</div></div>`;}-function BRe() {+function RRe() {let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3">- <div class="flex min-w-0 gap-4"><span class="${Aq} 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">${jq("80%")}</h3><p class="text-body-2-regular">${jq("60%")}</p></div>+ <div class="flex min-w-0 gap-4"><span class="${Nq} 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">${Pq("80%")}</h3><p class="text-body-2-regular">${Pq("60%")}</p></div></div><footer class="flex justify-end">${Do({variant: "secondary",size: "small",label: "查看版本",- attrs: Mq+ attrs: Fq})}</footer></li>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">@@ -80407,24 +80416,24 @@ function BRe() {}//#endregion//#region src/board-skeleton.ts-var Pq = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, VRe = () => `${Pq("80%")}${Pq("48%")}`, Fq = (e, t) => e.repeat(t), Iq = "disabled data-skeleton-action", Lq = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, Rq = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, HRe = "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", zq = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[+var Lq = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, zRe = () => `${Lq("80%")}${Lq("48%")}`, Rq = (e, t) => e.repeat(t), zq = "disabled data-skeleton-action", Bq = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, Vq = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, BRe = "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", Hq = () => `<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="${HRe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${Lq("3em")}</b></div>`).join("")}</div>`, Bq = [+].map((e) => `<div class="${BRe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${Bq("3em")}</b></div>`).join("")}</div>`, Uq = [["list", "关注列表"],["add", "添加关注"],["feeds", "JAV 订阅源"]-], URe = (e = "") => Bq.some(([t]) => t === e) ? e : "list", Vq = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${Bq.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, Hq = (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>`, WRe = ({ table: e, sort: t, dir: n }) => {+], VRe = (e = "") => Uq.some(([t]) => t === e) ? e : "list", Wq = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${Uq.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, Gq = (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>`, HRe = ({ table: e, sort: t, dir: n }) => {let r = wn.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">${Lq("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Do({+ 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">${Bq("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Do({glyph: "refresh-cw",label: "检查全部",compact: !0,- attrs: Iq+ attrs: zq})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${Do({variant: "ghost",glyph: "layout-grid",@@ -80441,42 +80450,42 @@ var Pq = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, VReglyph: "chevron-up",label: "全部收起",compact: !0,- attrs: Iq+ attrs: zq})}</span></div></div>`;-}, Uq = () => `<span class="flex shrink-0 items-center gap-1">${Do({+}, Kq = () => `<span class="flex shrink-0 items-center gap-1">${Do({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: Iq+ attrs: zq})}${Do({variant: "secondary",size: "small",glyph: "trash",- attrs: Iq-})}</span>`, GRe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${Hq()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${Lq("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${Rq(14, 14)}</span>${Rq(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">${Lq("113px")}</span>${Uq()}</span></div>`, Wq = (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>${Rq(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${Lq("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">${Do({+ attrs: zq+})}</span>`, URe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${Gq()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${Bq("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${Vq(14, 14)}</span>${Vq(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">${Bq("113px")}</span>${Kq()}</span></div>`, qq = (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>${Vq(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${Bq("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">${Do({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: Iq-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${Rq(14, 14)}${Rq(14, 14)}</span><span class="flex flex-none items-center gap-2">${Do({+ attrs: zq+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${Vq(14, 14)}${Vq(14, 14)}</span><span class="flex flex-none items-center gap-2">${Do({variant: "secondary",size: "small",glyph: "check-check",label: "全选",- attrs: Iq+ attrs: zq})}${Do({variant: "secondary",size: "small",glyph: "chevron-up",label: "收起",- attrs: Iq-})}</span></span></div><div data-source-divider>${Fq(GRe(), e)}</div></section>`, KRe = () => {+ attrs: zq+})}</span></span></div><div data-source-divider>${Rq(URe(), e)}</div></section>`, WRe = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {return 20;}-}, qRe = [+}, GRe = [["select", ""],["author", "创作者"],["source", "来源"],@@ -80484,67 +80493,67 @@ var Pq = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, VRe["status", "状态"],["checked", "上次检查"],["actions", ""]-], JRe = {+], KRe = {name: "author",source: "source",provider: "provider",status: "status",checked: "checked"-}, YRe = "<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>", XRe = (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>${qRe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${JRe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${YRe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${Fq(`<tr>${[- Hq(),- `<span class="flex min-w-0 items-center gap-2">${Rq(32, 32, !0)}${Lq("5em")}</span>`,- Lq("10em"),- `<span class="flex items-center gap-1.5">${Rq(14, 14)}${Lq("4em")}</span>`,- Rq(48, 24),- Lq("113px"),- Uq()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, ZRe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${Lq("111px")}</span><div data-toolbar-actions>${ko(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${Rq(204, 32)}</div></div>`, QRe = () => `<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">${Lq("120px")}</h3>${[+}, qRe = "<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>", JRe = (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>${GRe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${KRe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${qRe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${Rq(`<tr>${[+ Gq(),+ `<span class="flex min-w-0 items-center gap-2">${Vq(32, 32, !0)}${Bq("5em")}</span>`,+ Bq("10em"),+ `<span class="flex items-center gap-1.5">${Vq(14, 14)}${Bq("4em")}</span>`,+ Vq(48, 24),+ Bq("113px"),+ Kq()+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, YRe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${Bq("111px")}</span><div data-toolbar-actions>${ko(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${Vq(204, 32)}</div></div>`, XRe = () => `<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">${Bq("120px")}</h3>${["72%","56%","64%","40%"-].map((e) => `<span class="text-body-medium">${Lq(e)}</span>`).join("")}</div>`, $Re = (e) => {- let t = URe(e.followTab);- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${zq()}<div class="flex flex-col gap-6">${Vq(t)}<div class="flex flex-col gap-4">${QRe()}</div></div></div></div>`;- let n = e.followLayout === "table", r = On(e.followSort, e.followDir), i = e.followPageSize || KRe(), a = n ? XRe(i, r) : `${Hq("全选本页")}<div class="flex flex-col gap-3">${Wq(3)}${Wq(4)}${Wq(3)}</div>`;- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${zq()}<div class="flex flex-col gap-6">${Vq(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"}">${WRe({+].map((e) => `<span class="text-body-medium">${Bq(e)}</span>`).join("")}</div>`, ZRe = (e) => {+ let t = VRe(e.followTab);+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${Hq()}<div class="flex flex-col gap-6">${Wq(t)}<div class="flex flex-col gap-4">${XRe()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = On(e.followSort, e.followDir), i = e.followPageSize || WRe(), a = n ? JRe(i, r) : `${Gq("全选本页")}<div class="flex flex-col gap-3">${qq(3)}${qq(4)}${qq(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${Hq()}<div class="flex flex-col gap-6">${Wq(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"}">${HRe({table: n,...r- })}${a}${ZRe(n, i)}</div></div></div></div></div>`;+ })}${a}${YRe(n, i)}</div></div></div></div></div>`;};-function eze() {- 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">${Pq("85%")}${Pq("65%")}${Fq(VRe(), 4)}</div></aside></div>`;+function QRe() {+ 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">${Lq("85%")}${Lq("65%")}${Rq(zRe(), 4)}</div></aside></div>`;}-function tze(e, t = {}) {+function $Re(e, t = {}) {let n = "";- if (e === "/stats") n = LRe();- else if (e === "/jav") n = IPe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");- else if (e === "/taste") n = RRe();- else if (e === "/subscriptions") n = $Re(t);- else if (e.startsWith("/settings/") && e.split("/")[2] in LO) n = IRe(LO[e.split("/")[2]]);+ if (e === "/stats") n = FRe();+ else if (e === "/jav") n = PPe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");+ else if (e === "/taste") n = IRe();+ else if (e === "/subscriptions") n = ZRe(t);+ else if (e.startsWith("/settings/") && e.split("/")[2] in BO) n = PRe(BO[e.split("/")[2]]);else if (e === "/tasks") n = `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${["正在进行","本次未执行","最近完成"- ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${Lq("8em")}</span><span class="text-caption-1-regular">${Lq("14em")}</span>${Lq("60%")}${Lq("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${Lq("6em")}</div></div></section>`).join("")}</div></div>`;- else if (e === "/duplicates") n = zRe();- else if (e === "/quality-goals") n = BRe();+ ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${Bq("8em")}</span><span class="text-caption-1-regular">${Bq("14em")}</span>${Bq("60%")}${Bq("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${Bq("6em")}</div></div></section>`).join("")}</div></div>`;+ else if (e === "/duplicates") n = LRe();+ else if (e === "/quality-goals") n = RRe();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>${Do({label: "新建",- attrs: Iq- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${Fq("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;+ attrs: zq+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${Rq("<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>`;}//#endregion//#region src/react/follow-detail/follow-detail.ts-var Gq = (e) => ["follow-item", e], nze = (e) => `/api/follow?item=${encodeURIComponent(e)}`, rze = "/api/follow/save", ize = "/api/follow/media/hide", Kq = class extends Error {+var Jq = (e) => ["follow-item", e], eze = (e) => `/api/follow?item=${encodeURIComponent(e)}`, tze = "/api/follow/save", nze = "/api/follow/media/hide", Yq = class extends Error {constructor() {super("这条关注内容已不存在");}};-async function qq(e, t) {- let n = await H(nze(e), t);+async function Xq(e, t) {+ let n = await H(eze(e), t);for (let t of n.groups || []) {let r = vi(t).find((t) => t.id === e);if (r) return {@@ -80554,9 +80563,9 @@ async function qq(e, t) {aliases: n.author_aliases || []};}- throw new Kq();+ throw new Yq();}-function aze(e) {+function rze(e) {for (let [, t] of W.getQueriesData({ queryKey: ["follow-item"] })) {if (!t?.group) continue;let n = vi(t.group).find((t) => t.id === e);@@ -80567,20 +80576,20 @@ function aze(e) {}return null;}-async function Jq(e, t) {- let n = Gq(e.id), r = yi(e.id), i = W.getQueryData(pi) ? null : W.fetchQuery({+async function Zq(e, t) {+ let n = Jq(e.id), r = yi(e.id), i = W.getQueryData(pi) ? null : W.fetchQuery({queryKey: pi,queryFn: () => mi(t)}), a = r ? {...r,item: r.item- } : W.getQueryData(n) ?? aze(e.id);+ } : W.getQueryData(n) ?? rze(e.id);a ? W.setQueryData(n, a) : await W.fetchQuery({queryKey: n,- queryFn: () => qq(e.id, t)+ queryFn: () => Xq(e.id, t)}), await i;}-function oze(e, t, n, r) {+function ize(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 && Di(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,@@ -80595,32 +80604,32 @@ function oze(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var sze = (e) => vi(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), cze = {+var aze = (e) => vi(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), oze = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA","mega.io": "MEGA","mediafire.com": "MediaFire","drive.google.com": "Google Drive"-}, lze = {+}, sze = {gofile: "Gofile",pixeldrain: "Pixeldrain",mega: "MEGA",mediafire: "MediaFire",google_drive: "Google Drive"};-function uze(e) {+function cze(e) {try {let t = new URL(e).hostname.replace(/^www\./, "");- return cze[t] || t;+ return oze[t] || t;} catch {return "外部文件页";}}-function Yq(e, t) {- return lze[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";+function Qq(e, t) {+ return sze[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}-function dze(e, t, n = "") {+function lze(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;@@ -80629,54 +80638,54 @@ function dze(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var fze = (e) => String(e.name || "").trim(), Xq = (e, t) => e.tag_types?.[t] || "unknown", pze = /* @__PURE__ */ new Set([+var uze = (e) => String(e.name || "").trim(), $q = (e, t) => e.tag_types?.[t] || "unknown", dze = /* @__PURE__ */ new Set(["artist","character","copyright","metadata","unknown"]);-function mze(e, t) {- let n = Xq(e, t);- return `r34-${pze.has(n) ? n : "general"}`;+function fze(e, t) {+ let n = $q(e, t);+ return `r34-${dze.has(n) ? n : "general"}`;}-var Zq = [+var eJ = ["copyright","character","artist","general","metadata"];-function hze(e, t) {+function pze(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = Zq.indexOf(Xq(e, t));- return n < 0 ? Zq.length : n;+ let n = eJ.indexOf($q(e, t));+ return n < 0 ? eJ.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function Qq(e, t) {+function tJ(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 gze = (e, t) => ({+var mze = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), $q = (e) => e?.size ? { size: e.size } : {};-function _ze(e, t) {+}), nJ = (e) => e?.size ? { size: e.size } : {};+function hze(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: Yq(t, e),- ...$q(t)+ source: Qq(t, e),+ ...nJ(t)})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: Yq(a, e),- ...$q(a)+ source: Qq(a, e),+ ...nJ(a)}] : e.thumb_url ? [{src: e.thumb_url,thumb: e.thumb_url,@@ -80684,7 +80693,7 @@ function _ze(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var vze = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", eJ = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => Zo(e, {+var gze = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", rJ = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => Zo(e, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -80692,7 +80701,7 @@ var vze = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", eJ...i ? { count: i } : {},...a === void 0 ? {} : { fill: a },...o ? { cardRatio: o } : {}-}), yze = [+}), _ze = ["元数据字段","创作者标签","厂牌 Logo",@@ -80702,39 +80711,39 @@ var vze = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", eJ"FC2 评论标记","FC2 跨号相似","片尾/出处证据"-], bze = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}">+], vze = (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>${yze.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>+ <div class="reviewtabs" data-section-items>${_ze.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>`, xze = {- "/data-cleanup": () => xV(),- "/resource-sync": () => xV(),- "/review": () => bze(),+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, yze = {+ "/data-cleanup": () => wV(),+ "/resource-sync": () => wV(),+ "/review": () => vze(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>- ${eJ("正在读取采集来源", {+ ${rJ("正在读取采集来源", {cards: !0,count: 4,fill: !1,className: "cleanup-skeleton"})}</div>`};-function tJ(e, { followLayout: t, followSort: n, followDir: r }) {- return tze(e, {+function iJ(e, { followLayout: t, followSort: n, followDir: r }) {+ return $Re(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (xze[e] ?? (() => eJ("正在读取页面")))();+ }) || (yze[e] ?? (() => rJ("正在读取页面")))();}-var nJ = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";-function rJ(e, t) {- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = nJ(t);+var aJ = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";+function oJ(e, t) {+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = aJ(t);(!r || r !== n) && (e.innerHTML = t, as(e));}//#endregion//#region src/react/components/related-section.tsx-function iJ({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {+function sJ({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {let c = (0, E.useCallback)((e) => {e && (as(e), t(e));}, [t]);@@ -80747,17 +80756,17 @@ function iJ({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,children: "接着看"}), i ? /* @__PURE__ */ (0, D.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, D.jsx)(wI, {+ children: /* @__PURE__ */ (0, D.jsx)(DI, {message: i,onRetry: a || (() => {})})}) : r && !n ? /* @__PURE__ */ (0, D.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, D.jsx)(Zk, {+ children: /* @__PURE__ */ (0, D.jsx)(eA, {size: "compact",- icon: tye,+ icon: $ve,title: "暂无接着看的内容",- actions: /* @__PURE__ */ (0, D.jsx)(Wk, {+ actions: /* @__PURE__ */ (0, D.jsx)(qk, {size: "small",href: o ? "/follow" : "/",children: o ? "返回关注" : "浏览馆藏"@@ -80774,7 +80783,7 @@ function iJ({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,}//#endregion//#region src/react/components/detail-continuation.tsx-function aJ({ queue: e, children: t, editionCards: n }) {+function cJ({ queue: e, children: t, editionCards: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-detail-continuation": "","data-edition-cards": n == null ? void 0 : Math.min(3, n),@@ -80783,7 +80792,7 @@ function aJ({ queue: e, children: t, editionCards: n }) {}//#endregion//#region src/react/components/media-carousel.tsx-function oJ({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {+function lJ({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {let a = (0, E.useRef)(null), o = e.some((e) => e.video), s = !!i;if ((0, E.useLayoutEffect)(() => {let e = a.current?.querySelector("[data-media-thumbnails]");@@ -80863,7 +80872,7 @@ function oJ({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"data-media-thumbnails": "",role: "group","aria-label": "媒体缩略图",- children: e.map((e, r) => /* @__PURE__ */ (0, D.jsx)(Sze, {+ children: e.map((e, r) => /* @__PURE__ */ (0, D.jsx)(bze, {item: e,selected: r === t,onSelect: n,@@ -80882,7 +80891,7 @@ function oJ({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]});}-function Sze({ item: e, selected: t, onSelect: n, render: r }) {+function bze({ item: e, selected: t, onSelect: n, render: r }) {let i = (0, E.useRef)(null), [a, o] = (0, E.useState)(typeof IntersectionObserver > "u");return (0, E.useEffect)(() => {if (!i.current || a) return;@@ -80909,14 +80918,14 @@ function Sze({ item: e, selected: t, onSelect: n, render: r }) {}//#endregion//#region src/react/follow-detail/follow-related.ts-var Cze = (e, t, n) => [+var xze = (e, t, n) => ["follow-feed","related",e,t,n];-function sJ(e, t, n, r) {+function uJ(e, t, n, r) {let i = new Set((t.group ? vi(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 = vi(e);@@ -80931,7 +80940,7 @@ function sJ(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 wze(e, t, n, r) {+async function Sze(e, t, n, r) {let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {...Ei(i),status: "new",@@ -80945,29 +80954,29 @@ async function wze(e, t, n, r) {}, t), r);return o.push(n), n;}, c = await s(i, 0);- return sJ(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && sJ(o, e, t, n).length < n && await s("", 0), {+ return uJ(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && uJ(o, e, t, n).length < n && await s("", 0), {pages: o,pageParams: o.map((e) => e.offset || 0)};}//#endregion//#region src/react/follow-detail/follow-detail-page.tsx-var cJ = (e) => Number(e) > 0, Tze = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("span", {+var dJ = (e) => Number(e) > 0, Cze = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: z(e) }-}), lJ = z("external-link", "ui-externalmark");-function Eze(e) {+}), fJ = z("external-link", "ui-externalmark");+function wze(e) {let { id: t, actions: n } = e, r = _t({- queryKey: Gq(t),- queryFn: ({ signal: e }) => qq(t, e)+ queryKey: Jq(t),+ queryFn: ({ signal: e }) => Xq(t, e)}), i = _t({queryKey: pi,queryFn: ({ signal: e }) => mi(e)}), a = (0, E.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, E.useState)(e.mediaIndex);- return r.data ? /* @__PURE__ */ (0, D.jsx)(kze, {+ return r.data ? /* @__PURE__ */ (0, D.jsx)(Dze, {...e,data: r.data,- context: gze(r.data, a),+ context: mze(r.data, a),mediaIndex: o,onMedia: s}) : /* @__PURE__ */ (0, D.jsx)("div", {@@ -80976,9 +80985,9 @@ function Eze(e) {children: /* @__PURE__ */ (0, D.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, D.jsx)(uJ, { onClose: n.close }), /* @__PURE__ */ (0, D.jsx)("div", {+ children: [/* @__PURE__ */ (0, D.jsx)(pJ, { onClose: n.close }), /* @__PURE__ */ (0, D.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? Dze(r.error) ? /* @__PURE__ */ (0, D.jsx)(Oze, { onBack: n.close }) : /* @__PURE__ */ (0, D.jsx)(wI, {+ children: r.isError ? Tze(r.error) ? /* @__PURE__ */ (0, D.jsx)(Eze, { onBack: n.close }) : /* @__PURE__ */ (0, D.jsx)(DI, {message: Rt(r.error),onRetry: () => void r.refetch()}) : null@@ -80986,8 +80995,8 @@ function Eze(e) {})});}-var Dze = (e) => e instanceof Kq || e instanceof Sn && e.status === 404;-function Oze({ onBack: e }) {+var Tze = (e) => e instanceof Yq || e instanceof Sn && e.status === 404;+function Eze({ onBack: e }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-follow-detail-gone": "",onClick: (t) => {@@ -80996,7 +81005,7 @@ function Oze({ onBack: e }) {dangerouslySetInnerHTML: { __html: Lo("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }});}-var uJ = ({ onClose: e }) => /* @__PURE__ */ (0, D.jsx)("button", {+var pJ = ({ onClose: e }) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -81005,8 +81014,8 @@ var uJ = ({ onClose: e }) => /* @__PURE__ */ (0, D.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: z("x") }});-function kze({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {- let { item: c, group: l } = e, u = oze(c, l, n, i), d = Fze(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, E.useState)({+function Dze({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {+ let { item: c, group: l } = e, u = ize(c, l, n, i), d = Nze(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, E.useState)({key: "",kind: ""}), h = {@@ -81026,20 +81035,20 @@ function kze({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? sze(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, D.jsx)(mJ, {+ let g = !u.embedded.length && u.collection ? aze(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, D.jsx)(_J, {item: c,current: u.selected.index,helpers: o,actions: s,onMedia: r- }) : u.collection ? g ? /* @__PURE__ */ (0, D.jsx)(mJ, {+ }) : u.collection ? g ? /* @__PURE__ */ (0, D.jsx)(_J, {item: g,current: null,helpers: o,actions: s,onMedia: r,currentId: c.id- }) : /* @__PURE__ */ (0, D.jsx)(Mze, {+ }) : /* @__PURE__ */ (0, D.jsx)(Aze, {group: u.collection,itemId: c.id,helpers: o,@@ -81049,14 +81058,14 @@ function kze({ 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, D.jsx)(jze, {+ children: [/* @__PURE__ */ (0, D.jsx)(kze, {item: c,media: u,helpers: o,actions: s,onMedia: r,issues: h- }, f), /* @__PURE__ */ (0, D.jsx)(Nze, {+ }, f), /* @__PURE__ */ (0, D.jsx)(jze, {item: c,data: e,context: t,@@ -81066,9 +81075,9 @@ function kze({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relhelpers: o,actions: s})]- }), /* @__PURE__ */ (0, D.jsx)(aJ, {+ }), /* @__PURE__ */ (0, D.jsx)(cJ, {queue: _,- children: a > 0 ? /* @__PURE__ */ (0, D.jsx)(Aze, {+ children: a > 0 ? /* @__PURE__ */ (0, D.jsx)(Oze, {data: e,media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,limit: a,@@ -81078,23 +81087,23 @@ function kze({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel}) : null})] });}-function Aze({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {+function Oze({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {let o = _t({- queryKey: Cze(e.item.id, t, n),- queryFn: ({ signal: r }) => wze(e, t, n, r)- }), [s] = (0, E.useState)(() => eJ("正在读取推荐", {+ queryKey: xze(e.item.id, t, n),+ queryFn: ({ signal: r }) => Sze(e, t, n, r)+ }), [s] = (0, E.useState)(() => rJ("正在读取推荐", {cards: !0,className: "related-skeleton"})), c = (0, E.useMemo)(() => ({openDetail: a.openItem,openAuthor: a.openAuthor,canFlip: () => !1- }), [a]), l = sJ(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {+ }), [a]), l = uJ(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, D.jsx)(iJ, {+ return /* @__PURE__ */ (0, D.jsx)(sJ, {online: !0,"data-follow-related": "",wireDrag: i.wireDrag,@@ -81104,11 +81113,11 @@ function Aze({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }onRetry: () => {o.refetch();},- children: o.data ? l.map((e) => /* @__PURE__ */ (0, D.jsx)(eU, {+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, D.jsx)(rU, {variant: "next",group: e,media: t,- authorSources: Qq(e.primary, u),+ authorSources: tJ(e.primary, u),context: d,selected: !1,selectMode: !1,@@ -81121,8 +81130,8 @@ function Aze({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }})});}-function jze({ 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, E.useRef)(null), p = _ze(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, E.useState)(g), b = (0, E.useRef)({+function kze({ 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, E.useRef)(null), p = hze(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, E.useState)(g), b = (0, E.useRef)({item: e,selected: o}), x = (0, E.useRef)(i.failed);@@ -81136,14 +81145,14 @@ function jze({ 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, D.jsx)(uJ, { onClose: n.close }),+ /* @__PURE__ */ (0, D.jsx)(pJ, { onClose: n.close }),h ? null : g ? /* @__PURE__ */ (0, D.jsx)("img", {"data-follow-detail-poster": "","data-zoomable": p.length ? "" : void 0,src: v,alt: e.title,referrerPolicy: "no-referrer",- onClick: p.length ? () => void WH(Math.max(0, l), p) : void 0,+ onClick: p.length ? () => void qH(Math.max(0, l), p) : void 0,onError: () => {_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();}@@ -81151,10 +81160,10 @@ function jze({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-follow-detail-placeholder": "",children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: $F(e.resource_provider || e.provider) }+ dangerouslySetInnerHTML: { __html: nI(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, D.jsx)("span", { children: "没有可用预览" })]}),- u ? /* @__PURE__ */ (0, D.jsx)(oJ, {+ u ? /* @__PURE__ */ (0, D.jsx)(lJ, {items: c,position: l,onSelect: r,@@ -81171,11 +81180,11 @@ function jze({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var dJ = ({ kind: e }) => /* @__PURE__ */ (0, D.jsx)("span", {+var mJ = ({ kind: e }) => /* @__PURE__ */ (0, D.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: z(e === "image" ? "image-off" : "play") }});-function fJ({ src: e }) {+function hJ({ src: e }) {let [t, n] = (0, E.useState)(!1);return t ? null : /* @__PURE__ */ (0, D.jsx)("img", {src: e,@@ -81185,27 +81194,27 @@ function fJ({ src: e }) {onError: () => n(!0)});}-function pJ(e) {+function gJ(e) {return (0, E.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}-function Mze({ group: e, itemId: t, helpers: n, actions: r }) {- let i = Di(e), a = pJ(n);- return /* @__PURE__ */ (0, D.jsx)(rL, {+function Aze({ group: e, itemId: t, helpers: n, actions: r }) {+ let i = Di(e), a = gJ(n);+ return /* @__PURE__ */ (0, D.jsx)(oL, {kind: "collection","data-follow-queue": "",title: "视频合集",onClose: r.close,listRef: a,- summary: `${tI(e.primary)} · ${i.length} 个视频`,+ summary: `${iI(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = dze(e, n, i ? n.provider_label : ""), o = i ? $F(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, D.jsxs)(iL, {+ let i = e.duplicates.includes(n), a = lze(e, n, i ? n.provider_label : ""), o = i ? nI(n.provider, n.provider_label) : "";+ return /* @__PURE__ */ (0, D.jsxs)(sL, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),- pic: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, D.jsx)(fJ, { src: n.thumb_url }) : /* @__PURE__ */ (0, D.jsx)(dJ, { kind: "video" }), cJ(n.duration) ? /* @__PURE__ */ (0, D.jsx)("i", {+ pic: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, D.jsx)(hJ, { src: n.thumb_url }) : /* @__PURE__ */ (0, D.jsx)(mJ, { kind: "video" }), dJ(n.duration) ? /* @__PURE__ */ (0, D.jsx)("i", {className: "mono","data-mix-item-duration": "",children: ln(n.duration)@@ -81223,15 +81232,15 @@ function Mze({ group: e, itemId: t, helpers: n, actions: r }) {children: a.label}), /* @__PURE__ */ (0, D.jsx)("time", {dateTime: n.published_at || "",- children: uI(n)+ children: pI(n)})]})]}, n.id);})});}-function mJ({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = pJ(r), c = [];+function _J({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {+ let o = e.media_items || [], s = gJ(r), c = [];o.forEach((e) => {let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);n || (n = {@@ -81241,26 +81250,26 @@ function mJ({ 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, D.jsx)(rL, {+ return /* @__PURE__ */ (0, D.jsx)(oL, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,- summary: `${tI(e)} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, D.jsx)(Qwe, {+ summary: `${iI(e)} · ${o.length} 个媒体`,+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, D.jsx)(Xwe, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, D.jsxs)(iL, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, D.jsxs)(sL, {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, D.jsx)(fJ, { src: n.thumb_url }) : /* @__PURE__ */ (0, D.jsx)(dJ, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, D.jsx)(hJ, { src: n.thumb_url }) : /* @__PURE__ */ (0, D.jsx)(mJ, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, D.jsx)("b", {"data-middle-truncate": "",- children: fze(n)+ children: uze(n)}), /* @__PURE__ */ (0, D.jsx)("span", {"data-truncate-end": "",children: n.media_kind === "image" ? "图片" : "视频"@@ -81268,13 +81277,13 @@ function mJ({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, n.index))])});}-function Nze({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {+function jze({ 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 = sI(d, e), p = aI(e, Qq(e, t.sources), n), m = p.credited ? "" : e.author && an(e.author) !== an(p.author) ? e.author : "", h = cI(e, n), g = hze(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {+ }, f = uI(d, e), p = cI(e, tJ(e, t.sources), n), m = p.credited ? "" : e.author && an(e.author) !== an(p.author) ? e.author : "", h = dI(e, n), g = pze(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -81290,7 +81299,7 @@ function Nze({ 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: oI(d, e) + B(tI(e)) }+ dangerouslySetInnerHTML: { __html: lI(d, e) + B(iI(e)) }}), e.url ? /* @__PURE__ */ (0, D.jsx)("a", {"data-follow-origin": "",href: e.url,@@ -81298,7 +81307,7 @@ function Nze({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: lJ }+ dangerouslySetInnerHTML: { __html: fJ }}) : null]}),/* @__PURE__ */ (0, D.jsxs)("div", {@@ -81306,8 +81315,8 @@ function Nze({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-meta": "","data-reveal-line": "",children: [- /* @__PURE__ */ (0, D.jsx)("span", { children: uI(e) }),- cJ(e.duration) ? /* @__PURE__ */ (0, D.jsx)("span", { children: ln(e.duration) }) : null,+ /* @__PURE__ */ (0, D.jsx)("span", { children: pI(e) }),+ dJ(e.duration) ? /* @__PURE__ */ (0, D.jsx)("span", { children: ln(e.duration) }) : null,f ? /* @__PURE__ */ (0, D.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }@@ -81324,7 +81333,7 @@ function Nze({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: "创作者"}), /* @__PURE__ */ (0, D.jsx)("div", {"data-id-row": "",- children: p.entityName ? /* @__PURE__ */ (0, D.jsxs)(QH, {+ children: p.entityName ? /* @__PURE__ */ (0, D.jsxs)(tU, {name: p.entityName,actions: s,"data-id-cell": "creator",@@ -81356,7 +81365,7 @@ function Nze({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: [m ? /* @__PURE__ */ (0, D.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, D.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]}) : null]}),- e.summary ? /* @__PURE__ */ (0, D.jsx)(Pze, { text: e.summary }, e.id) : null,+ e.summary ? /* @__PURE__ */ (0, D.jsx)(Mze, { text: e.summary }, e.id) : null,h ? /* @__PURE__ */ (0, D.jsx)("p", {"data-follow-media-issue": "",children: h@@ -81379,9 +81388,9 @@ function Nze({ item: e, data: t, context: n, media: r, write: i, issue: a, helpehref: e,target: "_blank",rel: "noreferrer noopener",- children: [uze(e), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [cze(e), /* @__PURE__ */ (0, D.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: lJ }+ dangerouslySetInnerHTML: { __html: fJ }})]}, e))}) : null,@@ -81481,7 +81490,7 @@ function Nze({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-label": `恢复显示 ${e.name || ""}`,...y(`restore:${e.index}`),onClick: () => i.restore(e.index),- children: [e.thumb_url ? /* @__PURE__ */ (0, D.jsx)(fJ, { src: e.thumb_url }) : /* @__PURE__ */ (0, D.jsx)(Tze, { name: "image-off" }), /* @__PURE__ */ (0, D.jsx)("i", { dangerouslySetInnerHTML: { __html: z("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, D.jsx)(hJ, { src: e.thumb_url }) : /* @__PURE__ */ (0, D.jsx)(Cze, { name: "image-off" }), /* @__PURE__ */ (0, D.jsx)("i", { dangerouslySetInnerHTML: { __html: z("rotate-ccw") } })]}, e.index))})]}) : null,@@ -81495,7 +81504,7 @@ function Nze({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-follow-detail-tags": "",children: g.map((t) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button",- "data-tag-cat": mze(e, t),+ "data-tag-cat": fze(e, t),"data-follow-tag": t,onClick: () => s.openTag(t),children: o.tagLabel(t)@@ -81505,7 +81514,7 @@ function Nze({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe})});}-function Pze({ text: e }) {+function Mze({ text: e }) {let t = (0, E.useRef)(null), [n, r] = (0, E.useState)(!1), [i, a] = (0, E.useState)(!1);return (0, E.useLayoutEffect)(() => {let e = t.current;@@ -81528,8 +81537,8 @@ function Pze({ text: e }) {children: n ? "收起" : "展开"}) : null] });}-function Fze(e, t, n) {- let r = e.id, i = Gq(r), [a, o] = (0, E.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, E.useState)(""), l = (e, t) => o((n) => {+function Nze(e, t, n) {+ let r = e.id, i = Jq(r), [a, o] = (0, E.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, E.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), u = (e) => {@@ -81548,7 +81557,7 @@ function Fze(e, t, n) {to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && vG(), t.toast(vze(n), { undo: i === "saved" ? void 0 : async () => {+ u(n), c(""), n === "ignored" && xG(), t.toast(gze(n), { undo: i === "saved" ? void 0 : async () => {await U(Gn, {item: r,to: i@@ -81558,7 +81567,7 @@ function Fze(e, t, n) {onError: d,onSettled: (e, t, { to: n }) => l(n, !1)}), p = vt({- mutationFn: () => U(rze, { item: r }),+ mutationFn: () => U(tze, { item: r }),onSuccess: () => {u("saved"), c(""), t.toast("已保存到数据库");},@@ -81566,7 +81575,7 @@ function Fze(e, t, n) {onSettled: () => l("save", !1)}), m = vt({mutationFn: async ({ index: e, hidden: t }) => {- await U(ize, {+ await U(nze, {item: r,media: e,hidden: t@@ -81582,12 +81591,12 @@ function Fze(e, t, n) {onError: d,onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)}), h = _t({- queryKey: WPe(r),- queryFn: ({ signal: e }) => qPe(r, e)+ queryKey: HPe(r),+ queryFn: ({ signal: e }) => GPe(r, e)}).data?.want ?? null, g = vt({- mutationFn: async (e) => (e ? await _G([e.id]) : await gG({ follow: r }), !e),+ mutationFn: async (e) => (e ? await bG([e.id]) : await yG({ follow: r }), !e),onSuccess: (e) => {- c(""), t.toast(e ? "已加入想要" : "已取消想要"), vG();+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), xG();},onError: d,onSettled: () => l("want", !1)@@ -81627,7 +81636,7 @@ function Fze(e, t, n) {}//#endregion//#region src/react/components/identity-cell.tsx-function hJ({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {+function vJ({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, D.jsx)("span", {"data-id-face": "",dangerouslySetInnerHTML: { __html: `<span>${B(hn(t.name))}</span>` + xa({@@ -81670,7 +81679,7 @@ function hJ({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })children: s});}-function gJ({ people: e, onOpen: t }) {+function yJ({ people: e, onOpen: t }) {if (!e.length) return null;let n = (e) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "contents",@@ -81704,7 +81713,7 @@ function gJ({ people: e, onOpen: t }) {}//#endregion//#region src/react/components/folded-title.ts-function _J(e) {+function bJ(e) {let t = (0, E.useRef)(null), [n, r] = (0, E.useState)(!1), [i, a] = (0, E.useState)(!1);return (0, E.useLayoutEffect)(() => {let e = t.current;@@ -81722,7 +81731,7 @@ function _J(e) {}//#endregion//#region src/react/components/source-picture.tsx-function vJ({ item: e, image: t, thumbnail: n = !1 }) {+function xJ({ item: e, image: t, thumbnail: n = !1 }) {let r = t === "cover" && e.has_cover, i = !r && (t !== "cover" || e.source_image), a = _t({queryKey: ["jav-image",@@ -81765,9 +81774,9 @@ function vJ({ item: e, image: t, thumbnail: n = !1 }) {}//#endregion//#region src/react/item-detail/catalog-picture.tsx-function yJ({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {+function SJ({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {let [i, a] = (0, E.useState)(!1), [o, s] = (0, E.useState)(0);- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, D.jsx)(vJ, {+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, D.jsx)(xJ, {item: {code: e.code,has_cover: !1,@@ -81800,49 +81809,49 @@ function yJ({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {}//#endregion//#region src/react/jav-detail/jav-detail.ts-var bJ = (e) => ["jav-detail", e], xJ = (e, t, n = !1) => H(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), Ize = (e, t, n, r = !1) => H(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), SJ = (e, t) => W.ensureQueryData({- queryKey: bJ(e.code),- queryFn: () => xJ(e.code, t),+var CJ = (e) => ["jav-detail", e], wJ = (e, t, n = !1) => H(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), Pze = (e, t, n, r = !1) => H(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), TJ = (e, t) => W.ensureQueryData({+ queryKey: CJ(e.code),+ queryFn: () => wJ(e.code, t),staleTime: 216e5,revalidateIfStale: !0});-function Lze(e, t) {+function Fze(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;}//#endregion//#region src/react/item-detail/external-playback.tsx-var CJ = "peach.external-player.v1", wJ = [+var EJ = "peach.external-player.v1", DJ = [["m3u", "M3U 播放列表"],["vlc-ios", "VLC(iPhone / iPad)"],["iina", "IINA(Mac)"]];-function Rze(e, t, n) {+function Ize(e, t, n) {return e === "vlc-ios" ? `vlc-x-callback://x-callback-url/stream?url=${encodeURIComponent(t)}` : e === "iina" ? `iina://weblink?url=${encodeURIComponent(t)}` : n;}-function TJ({ id: e }) {+function OJ({ id: e }) {let [t, n] = (0, E.useState)(() => {try {- return wJ.find(([e]) => e === localStorage.getItem(CJ))?.[0] || "m3u";+ return DJ.find(([e]) => e === localStorage.getItem(EJ))?.[0] || "m3u";} catch {return "m3u";}- }), [r, i] = (0, E.useState)(null), a = nA();- return /* @__PURE__ */ (0, D.jsx)(gA, {+ }), [r, i] = (0, E.useState)(null), a = aA();+ return /* @__PURE__ */ (0, D.jsx)(yA, {summary: "外部播放器 / VR",- children: /* @__PURE__ */ (0, D.jsxs)(cA, { children: [- /* @__PURE__ */ (0, D.jsx)(dK, {+ children: /* @__PURE__ */ (0, D.jsxs)(dA, { children: [+ /* @__PURE__ */ (0, D.jsx)(mK, {id: `external-player-${e}`,label: "此设备的外部播放器",- options: wJ,+ options: DJ,value: t,epoch: 0,onPick: (e) => {- let t = wJ.find(([t]) => t === e)?.[0] || "m3u";+ let t = DJ.find(([t]) => t === e)?.[0] || "m3u";n(t);try {- localStorage.setItem(CJ, t);+ localStorage.setItem(EJ, t);} catch {}}}),@@ -81855,32 +81864,32 @@ function TJ({ id: e }) {})),children: "生成播放链接"}),- a.error ? /* @__PURE__ */ (0, D.jsx)(dA, { children: a.error }) : null,+ a.error ? /* @__PURE__ */ (0, D.jsx)(mA, { children: a.error }) : null,r ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("a", {- href: Rze(t, r.url, r.playlist),+ href: Ize(t, r.url, r.playlist),rel: "noreferrer",- children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${wJ.find(([e]) => e === t)?.[1]}`+ children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${DJ.find(([e]) => e === t)?.[1]}`}),- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "网络播放地址",value: r.url,isReadOnly: !0}),- /* @__PURE__ */ (0, D.jsx)(uA, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })+ /* @__PURE__ */ (0, D.jsx)(pA, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null] })}, e);}//#endregion//#region src/react/cover-crop/cover-crop.ts-var zze = "/api/cover-crop", Bze = (e, t) => U(zze, {+var Lze = "/api/cover-crop", Rze = (e, t) => U(Lze, {code: e,box: t});//#endregion//#region src/react/cover-crop/cover-crop-page.tsx-function EJ({ className: e }) {+function kJ({ className: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -81893,7 +81902,7 @@ function EJ({ className: e }) {children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-crop" })});}-function Vze({ code: e, coverUrl: t, box: n, onSaved: r }) {+function zze({ code: e, coverUrl: t, box: n, onSaved: r }) {let [i, a] = (0, E.useState)(!1), o = (0, E.useRef)(null);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("button", {ref: o,@@ -81904,15 +81913,15 @@ function Vze({ 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, D.jsx)(EJ, { className: "size-3.75" })+ children: /* @__PURE__ */ (0, D.jsx)(kJ, { className: "size-3.75" })}), /* @__PURE__ */ (0, D.jsx)(yS, {- getContainer: () => TI(o.current),- children: /* @__PURE__ */ (0, D.jsx)(fP, {+ getContainer: () => OI(o.current),+ children: /* @__PURE__ */ (0, D.jsx)(hP, {isOpen: i,onOpenChange: a,width: "cover-crop",label: "裁剪封面",- children: /* @__PURE__ */ (0, D.jsx)(Hze, {+ children: /* @__PURE__ */ (0, D.jsx)(Bze, {code: e,coverUrl: t,box: n,@@ -81922,9 +81931,9 @@ function Vze({ code: e, coverUrl: t, box: n, onSaved: r }) {})})] });}-function Hze({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, E.useState)(null), [s, c] = (0, E.useState)(null), [l, u] = (0, E.useState)(!0), d = Jk(), f = vt({- mutationFn: (t) => Bze(e, t),+function Bze({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+ let [a, o] = (0, E.useState)(null), [s, c] = (0, E.useState)(null), [l, u] = (0, E.useState)(!0), d = Zk(), f = vt({+ mutationFn: (t) => Rze(e, t),onSuccess: (e) => {i(), r(e.poster_box);}@@ -81936,19 +81945,19 @@ function Hze({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : Gje(e, da);- c(uU(t, e, null));+ } : Uje(e, da);+ c(pU(t, e, null));}let m = f.isPending;return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, D.jsx)(pP, { children: /* @__PURE__ */ (0, D.jsx)(EJ, { className: "size-6" }) }),+ /* @__PURE__ */ (0, D.jsx)(gP, { children: /* @__PURE__ */ (0, D.jsx)(kJ, { className: "size-6" }) }),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(Oj, {+ /* @__PURE__ */ (0, D.jsx)(jj, {slot: "title",className: "text-title-3-semibold text-text-primary",children: "裁剪封面"@@ -81963,8 +81972,8 @@ function Hze({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, D.jsx)(ZA, {- icon: Ok,+ /* @__PURE__ */ (0, D.jsx)(ej, {+ icon: jk,size: "small","aria-label": "关闭",onClick: i@@ -81974,24 +81983,24 @@ function Hze({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, D.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, D.jsx)(hU, {+ children: /* @__PURE__ */ (0, D.jsx)(vU, {src: t,aspect: l ? da : null,box: s,size: a,label: `${e} 的正封取景框`,onSize: (e) => {- cU(e) && p(e);+ dU(e) && p(e);},onBox: c})}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, D.jsx)(mW, {+ children: [/* @__PURE__ */ (0, D.jsx)(_W, {isSelected: l,onChange: (e) => {- u(e), e && s && a && c(uU(s, a, da));+ u(e), e && s && a && c(pU(s, a, da));},children: /* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -82020,21 +82029,21 @@ function Hze({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}//#endregion//#region src/react/item-detail/item-detail-page.tsx-var DJ = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("span", {+var AJ = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: z(e) }-}), OJ = ({ html: e }) => /* @__PURE__ */ (0, D.jsx)("span", {+}), jJ = ({ html: e }) => /* @__PURE__ */ (0, D.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }-}), kJ = (e) => Number(e) > 0 ? dn(Number(e)) : "大小未知";-function Uze(e) {+}), Vze = (e) => Number(e) > 0 ? dn(Number(e)) : "大小未知";+function Hze(e) {let { queue: t, actions: n } = e, r = _t({- queryKey: t ? JE(t) : ["item-queue", "none"],- queryFn: ({ signal: n }) => $E(t, e.helpers, n),+ queryKey: t ? ZE(t) : ["item-queue", "none"],+ queryFn: ({ signal: n }) => nD(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? eD(i, e.id) : t ? null : e.id, o = _t({- queryKey: qE(a ?? 0),- queryFn: ({ signal: e }) => QE(a, e),+ }), i = t && r.data || null, a = i ? rD(i, e.id) : t ? null : e.id, o = _t({+ queryKey: XE(a ?? 0),+ queryFn: ({ signal: e }) => tD(a, e),enabled: a != null});if (!o.data || t && !i) {@@ -82045,9 +82054,9 @@ function Uze(e) {children: /* @__PURE__ */ (0, D.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, D.jsx)(AJ, { onClose: n.close }), /* @__PURE__ */ (0, D.jsx)("div", {+ children: [/* @__PURE__ */ (0, D.jsx)(Uze, { onClose: n.close }), /* @__PURE__ */ (0, D.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, D.jsx)(wI, {+ children: e ? /* @__PURE__ */ (0, D.jsx)(DI, {message: Rt(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();@@ -82059,11 +82068,11 @@ function Uze(e) {}return /* @__PURE__ */ (0, D.jsx)(Wze, {...e,- item: xpe(o.data, i),+ item: ype(o.data, i),queue: i}, o.data.id);}-var AJ = ({ onClose: e }) => /* @__PURE__ */ (0, D.jsx)("button", {+var Uze = ({ onClose: e }) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -82077,13 +82086,13 @@ function Wze(e) {(0, E.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, E.useEffect)(() => {- n?.kind === "playlist" && U(YE, {+ n?.kind === "playlist" && U(QE, {action: "progress",id: n.playlistId,asset_id: t.id}).catch(() => {});}, []);- let s = Rpe(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = Spe(n, t.id);+ let s = Ipe(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = bpe(n, t.id);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-stage-grid": "","data-with-queue": n ? "" : void 0,@@ -82108,7 +82117,7 @@ function Wze(e) {helpers: i,actions: r})]- }), /* @__PURE__ */ (0, D.jsx)(aJ, {+ }), /* @__PURE__ */ (0, D.jsx)(cJ, {editionCards: n?.kind === "editions" ? n.items.length : void 0,queue: n ? /* @__PURE__ */ (0, D.jsx)(qze, {queue: n,@@ -82127,10 +82136,10 @@ function Wze(e) {}function Gze({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {let [o, s] = (0, E.useState)(t ? "" : "auto"), c = (0, E.useRef)(null), [l, u] = (0, E.useState)(-2), d = (0, E.useRef)(!1), f = _t({- queryKey: bJ(e.code || ""),+ queryKey: CJ(e.code || ""),queryFn: ({ signal: t }) => {let n = d.current;- return d.current = !1, xJ(e.code, t, n);+ return d.current = !1, wJ(e.code, t, n);},staleTime: 216e5,enabled: !!e.is_jav && !!e.code && !e.sample_images?.length@@ -82175,26 +82184,26 @@ function Gze({ 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, D.jsx)(AJ, { onClose: r.close }),+ /* @__PURE__ */ (0, D.jsx)(Uze, { onClose: r.close }),h ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": l !== -2,onClick: () => g(l === -2 ? m[0].index : -2),- children: [/* @__PURE__ */ (0, D.jsx)(DJ, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]+ children: [/* @__PURE__ */ (0, D.jsx)(AJ, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]}),- l === -2 ? null : /* @__PURE__ */ (0, D.jsx)(yJ, {+ l === -2 ? null : /* @__PURE__ */ (0, D.jsx)(SJ, {item: e,image: l,source: p.find((e) => e.index === l)?.source}, l),- /* @__PURE__ */ (0, D.jsx)(oJ, {+ /* @__PURE__ */ (0, D.jsx)(lJ, {items: m,position: Math.max(0, m.findIndex((e) => e.index === l)),onSelect: g,below: !0,- renderThumbnail: (t) => /* @__PURE__ */ (0, D.jsx)(yJ, {+ renderThumbnail: (t) => /* @__PURE__ */ (0, D.jsx)(SJ, {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,@@ -82230,14 +82239,14 @@ function Gze({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: [/* @__PURE__ */ (0, D.jsx)("b", { children: "ISO 原盘" }),/* @__PURE__ */ (0, D.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),- /* @__PURE__ */ (0, D.jsx)(TJ, { id: e.id })+ /* @__PURE__ */ (0, D.jsx)(OJ, { id: e.id })]}) : t === "online" ? /* @__PURE__ */ (0, D.jsxs)("div", {id: "onlineGate",role: "status","data-item-gate": "online",children: [- /* @__PURE__ */ (0, D.jsx)(OJ, { html: y }),+ /* @__PURE__ */ (0, D.jsx)(jJ, { html: y }),/* @__PURE__ */ (0, D.jsx)("b", { children: "在线作品" }),/* @__PURE__ */ (0, D.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),/* @__PURE__ */ (0, D.jsx)("button", {@@ -82252,7 +82261,7 @@ function Gze({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aid: "gate","data-item-gate": "metered",onClick: () => s("clicked"),- children: [/* @__PURE__ */ (0, D.jsx)(OJ, { html: y }), /* @__PURE__ */ (0, D.jsxs)("span", { children: ["点此开始拉流 · ", kJ(e.size)] })]+ children: [/* @__PURE__ */ (0, D.jsx)(jJ, { html: y }), /* @__PURE__ */ (0, D.jsxs)("span", { children: ["点此开始拉流 · ", Vze(e.size)] })]}) : null]});@@ -82268,7 +82277,7 @@ function Kze({ item: e, badge: t, helpers: n, actions: r }) {role: "status","data-item-gate": "offline",children: [- /* @__PURE__ */ (0, D.jsx)(OJ, { html: t }),+ /* @__PURE__ */ (0, D.jsx)(jJ, { html: t }),/* @__PURE__ */ (0, D.jsx)("b", { children: "媒体目录无法访问" }),/* @__PURE__ */ (0, D.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),/* @__PURE__ */ (0, D.jsx)("button", {@@ -82283,7 +82292,7 @@ function Kze({ item: e, badge: t, helpers: n, actions: r }) {});}function qze({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = Ppe(e), a = (0, E.useRef)(null), o = Yze(e, t, r), s = (0, E.useRef)(o);+ let i = Mpe(e), a = (0, E.useRef)(null), o = Yze(e, t, r), s = (0, E.useRef)(o);s.current = o;let c = (0, E.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -82310,7 +82319,7 @@ function qze({ queue: e, itemId: t, helpers: n, actions: r }) {seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, D.jsx)(rL, {+ return /* @__PURE__ */ (0, D.jsx)(oL, {kind: e.kind,title: i.title,summary: i.summary,@@ -82319,11 +82328,11 @@ function qze({ queue: e, itemId: t, helpers: n, actions: r }) {listRef: c,children: e.items.map((i) => {let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, D.jsx)("i", {- className: `javedition ${Mpe[i.edition_label] || "censored"}`,+ className: `javedition ${Ape[i.edition_label] || "censored"}`,"data-queue-edition": "",children: i.edition_label- }) : null, s = e.kind === "playlist" && bpe(i);- return /* @__PURE__ */ (0, D.jsxs)(iL, {+ }) : null, s = e.kind === "playlist" && vpe(i);+ return /* @__PURE__ */ (0, D.jsxs)(sL, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -82333,25 +82342,25 @@ function qze({ queue: e, itemId: t, helpers: n, actions: r }) {onClick: () => {s || r.openQueueItem(d, i.id);},- pic: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(OJ, { html: Ma(i, n.javImage()) }), /* @__PURE__ */ (0, D.jsx)("i", {+ pic: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(jJ, { html: Ma(i, n.javImage()) }), /* @__PURE__ */ (0, D.jsx)("i", {className: "mono","data-mix-item-duration": "",children: ln(i.duration)})] }),- lead: /* @__PURE__ */ (0, D.jsx)(OJ, { html: Fa(i) }),+ lead: /* @__PURE__ */ (0, D.jsx)(jJ, { html: Fa(i) }),after: e.kind === "playlist" ? /* @__PURE__ */ (0, D.jsxs)("span", {"data-queue-edit": "",children: [/* @__PURE__ */ (0, D.jsx)("i", {"data-queue-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, D.jsx)(DJ, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, D.jsx)(AJ, { name: "grip-vertical" })}), /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-queue-remove": i.id,title: "移出播放列表","aria-label": "移出播放列表",onClick: () => o.remove(i.id),- children: /* @__PURE__ */ (0, D.jsx)(DJ, { name: "x" })+ children: /* @__PURE__ */ (0, D.jsx)(AJ, { name: "x" })})]}) : null,children: [/* @__PURE__ */ (0, D.jsxs)("span", {@@ -82362,14 +82371,14 @@ function qze({ queue: e, itemId: t, helpers: n, actions: r }) {})]}), /* @__PURE__ */ (0, D.jsx)("span", {"data-truncate-end": "",- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? nD(i.part_label) : Ia(i, n.tagLabel)+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? aD(i.part_label) : Ia(i, n.tagLabel)})]}, i.id);})});}function Jze(e, t) {- let n = vt({ mutationFn: (t) => U(YE, {+ let n = vt({ mutationFn: (t) => U(QE, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -82383,10 +82392,10 @@ function Jze(e, t) {});}function Yze(e, t, n) {- let r = JE({+ let r = ZE({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (W.setQueryData(r, ype(e)), e), a = (t) => U(YE, {+ }), i = (e) => (W.setQueryData(r, _pe(e)), e), a = (t) => U(QE, {id: e.playlistId,...t}).then((e) => e.playlist), o = vt({@@ -82402,8 +82411,8 @@ function Yze(e, t, n) {return {move: async (t, r, c) => {if (e.kind !== "playlist") return;- let l = Ipe(s, t, r, c);- if (Lpe(l, s)) return;+ let l = Ppe(s, t, r, c);+ if (Fpe(l, s)) return;let u = s;await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {i(await a({@@ -82476,7 +82485,7 @@ function Xze({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: [e.width && e.height ? /* @__PURE__ */ (0, D.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, D.jsx)(DJ, { name: "monitor" }), /* @__PURE__ */ (0, D.jsxs)("span", { children: [+ children: [/* @__PURE__ */ (0, D.jsx)(AJ, { name: "monitor" }), /* @__PURE__ */ (0, D.jsxs)("span", { children: [e.width,"×",e.height@@ -82484,11 +82493,11 @@ function Xze({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null,/* @__PURE__ */ (0, D.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, D.jsx)(DJ, { name: "hard-drive" }), /* @__PURE__ */ (0, D.jsx)("span", { children: kJ(e.size) })]+ children: [/* @__PURE__ */ (0, D.jsx)(AJ, { name: "hard-drive" }), /* @__PURE__ */ (0, D.jsx)("span", { children: Vze(e.size) })]}),e.release_date ? /* @__PURE__ */ (0, D.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, D.jsx)(DJ, { name: "calendar" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e.release_date })]+ children: [/* @__PURE__ */ (0, D.jsx)(AJ, { name: "calendar" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e.release_date })]}) : null,e.region_label ? /* @__PURE__ */ (0, D.jsxs)("button", {type: "button",@@ -82496,7 +82505,7 @@ function Xze({ 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, D.jsx)(DJ, { name: "globe" }), /* @__PURE__ */ (0, D.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]+ children: [/* @__PURE__ */ (0, D.jsx)(AJ, { name: "globe" }), /* @__PURE__ */ (0, D.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]}) : null]}),@@ -82511,14 +82520,14 @@ function Xze({ item: e, queue: t, write: n, helpers: r, actions: i }) {helpers: r,actions: i}),- /* @__PURE__ */ (0, D.jsx)(pL, {- assetIds: fL([e], r.javImage()),+ /* @__PURE__ */ (0, D.jsx)(gL, {+ assetIds: hL([e], r.javImage()),onComplete: () => {- W.invalidateQueries({ queryKey: qE(e.id) });+ W.invalidateQueries({ queryKey: XE(e.id) });}}),/* @__PURE__ */ (0, D.jsx)(rBe, { item: e }),- e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, D.jsx)(TJ, { id: e.id }, e.id) : null,+ e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, D.jsx)(OJ, { id: e.id }, e.id) : null,/* @__PURE__ */ (0, D.jsxs)("div", {"data-stage-actions": "","data-item-feedback": "",@@ -82532,7 +82541,7 @@ function Xze({ 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, D.jsx)(DJ, { name: "thumbs-up" })+ children: /* @__PURE__ */ (0, D.jsx)(AJ, { name: "thumbs-up" })}),/* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -82544,7 +82553,7 @@ function Xze({ 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, D.jsx)(DJ, { name: "notebook-pen" })+ children: /* @__PURE__ */ (0, D.jsx)(AJ, { name: "notebook-pen" })}),/* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -82555,7 +82564,7 @@ function Xze({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "dislike",...o("dislike"),onClick: () => n.feedback("dislike"),- children: /* @__PURE__ */ (0, D.jsx)(DJ, { name: "thumbs-down" })+ children: /* @__PURE__ */ (0, D.jsx)(AJ, { name: "thumbs-down" })}),/* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -82566,7 +82575,7 @@ function Xze({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "seen",...o("seen"),onClick: () => n.feedback("seen"),- children: /* @__PURE__ */ (0, D.jsx)(DJ, { name: "eye" })+ children: /* @__PURE__ */ (0, D.jsx)(AJ, { name: "eye" })}),/* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -82577,7 +82586,7 @@ function Xze({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.watch_later,...o("later"),onClick: n.later,- children: /* @__PURE__ */ (0, D.jsx)(DJ, { name: e.watch_later ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, D.jsx)(AJ, { name: e.watch_later ? "check" : "bookmark-plus" })}),/* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -82586,7 +82595,7 @@ function Xze({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-label": "加入播放列表",title: "加入播放列表",onClick: () => i.addToPlaylist(e),- children: /* @__PURE__ */ (0, D.jsx)(DJ, { name: "playlist" })+ children: /* @__PURE__ */ (0, D.jsx)(AJ, { name: "playlist" })}),/* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -82597,7 +82606,7 @@ function Xze({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.better_version,...o("quality"),onClick: n.quality,- children: /* @__PURE__ */ (0, D.jsx)(DJ, { name: "sparkles" })+ children: /* @__PURE__ */ (0, D.jsx)(AJ, { name: "sparkles" })}),/* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -82608,7 +82617,7 @@ function Xze({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.disposal === "trash",...o("dispose"),onClick: () => n.feedback("dispose"),- children: /* @__PURE__ */ (0, D.jsx)(DJ, { name: "trash" })+ children: /* @__PURE__ */ (0, D.jsx)(AJ, { name: "trash" })})]}),@@ -82623,7 +82632,7 @@ function Xze({ item: e, queue: t, write: n, helpers: r, actions: i }) {...o("o"),onClick: () => n.feedback("o"),children: [- /* @__PURE__ */ (0, D.jsx)(DJ, { name: "sperm" }),+ /* @__PURE__ */ (0, D.jsx)(AJ, { name: "sperm" }),/* @__PURE__ */ (0, D.jsx)("span", { children: "记一次高潮" }),/* @__PURE__ */ (0, D.jsx)("b", {className: "mono",@@ -82637,7 +82646,7 @@ function Xze({ item: e, queue: t, write: n, helpers: r, actions: i }) {});}function Zze({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {- let { text: a, expanded: o, foldable: s, toggle: c } = _J(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Fpe(e, t);+ let { text: a, expanded: o, foldable: s, toggle: c } = bJ(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Npe(e, t);return /* @__PURE__ */ (0, D.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, D.jsxs)("div", {@@ -82664,19 +82673,19 @@ function Zze({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {"aria-label": o ? "收起标题" : "展开标题",title: o ? "收起标题" : "展开完整标题",onClick: c,- children: /* @__PURE__ */ (0, D.jsx)(bF, {})+ children: /* @__PURE__ */ (0, D.jsx)(CF, {})}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, D.jsx)("span", {"data-cover-crop-host": "",- children: /* @__PURE__ */ (0, D.jsx)(Vze, {+ children: /* @__PURE__ */ (0, D.jsx)(zze, {code: e.cover_key || e.code || "",coverUrl: _a(e),box: e.poster_box || null,onSaved: (t) => {W.invalidateQueries({- queryKey: qE(e.id),+ queryKey: XE(e.id),exact: !0- }), cpe((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });+ }), ope((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,@@ -82720,18 +82729,18 @@ function Qze({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void o(),- children: /* @__PURE__ */ (0, D.jsx)(DJ, { name: "folder-sync" })+ children: /* @__PURE__ */ (0, D.jsx)(AJ, { name: "folder-sync" })})] });}function $ze({ item: e, write: t }) {- let n = KE(e.rating);+ let n = YE(e.rating);return /* @__PURE__ */ (0, D.jsxs)("div", {id: "detailRating",role: "group","data-item-rating": "","aria-label": "评分",- "data-value": lpe(e.rating),- children: [/* @__PURE__ */ (0, D.jsx)(yz, {+ "data-value": spe(e.rating),+ children: [/* @__PURE__ */ (0, D.jsx)(Sz, {value: n,onRate: (e) => t.rate(e),busyStar: [@@ -82745,14 +82754,14 @@ function $ze({ item: e, write: t }) {}), /* @__PURE__ */ (0, D.jsx)("span", {"data-rating-value": "","aria-live": "polite",- children: upe(e.rating)+ children: cpe(e.rating)})]});}function eBe({ item: e, actions: t }) {- let n = (0, E.useMemo)(() => wpe(e), [e]), [r, i] = (0, E.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {+ let n = (0, E.useMemo)(() => Spe(e), [e]), [r, i] = (0, E.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r;- return /* @__PURE__ */ (0, D.jsx)(hJ, {+ return /* @__PURE__ */ (0, D.jsx)(vJ, {kind: e,person: n,onOpen: t.openEntity,@@ -82784,7 +82793,7 @@ function eBe({ item: e, actions: t }) {onClick: t.openUnowned,children: [/* @__PURE__ */ (0, D.jsx)("span", {"data-id-face": "",- children: /* @__PURE__ */ (0, D.jsx)(DJ, { name: "user-round" })+ children: /* @__PURE__ */ (0, D.jsx)(AJ, { name: "user-round" })}), /* @__PURE__ */ (0, D.jsx)("span", {"data-id-name": "",children: "未归属"@@ -82796,7 +82805,7 @@ function eBe({ item: e, actions: t }) {size: "small",id: "castMore","data-cast-more": "",- trailingIcon: Tk,+ trailingIcon: Ok,"aria-expanded": !1,onClick: () => i(!0),children: [@@ -82815,14 +82824,14 @@ function eBe({ item: e, actions: t }) {children: [c.length ? /* @__PURE__ */ (0, D.jsx)("div", {"data-identity-primary": "",children: c- }) : null, /* @__PURE__ */ (0, D.jsx)(gJ, {+ }) : null, /* @__PURE__ */ (0, D.jsx)(yJ, {people: n.series,onOpen: t.openEntity})]});}function tBe({ item: e, write: t, helpers: n, actions: r }) {- let i = Tpe(e, n);+ let i = Cpe(e, n);return /* @__PURE__ */ (0, D.jsxs)("div", {"data-stage-tags": "",id: "detailTags",@@ -82842,7 +82851,7 @@ function tBe({ item: e, write: t, helpers: n, actions: r }) {"aria-label": `删除标签 ${n.tagLabel(e.k)}`,...t.busyAttrs(`tag:${e.k}`),onClick: () => t.removeTag(e),- children: /* @__PURE__ */ (0, D.jsx)(DJ, { name: "x" })+ children: /* @__PURE__ */ (0, D.jsx)(AJ, { name: "x" })})]}, e.k)), /* @__PURE__ */ (0, D.jsx)(nBe, {item: e,@@ -82865,7 +82874,7 @@ function nBe({ item: e, write: t, helpers: n }) {clearTimeout(t), document.removeEventListener("pointerdown", e, !0);};}, [s, h]);- let g = s ? jpe(d, n.tagCandidates(), kpe()) : {+ let g = s ? kpe(d, n.tagCandidates(), Dpe()) : {recent: [],results: [],create: ""@@ -82888,12 +82897,12 @@ function nBe({ item: e, write: t, helpers: n }) {} else if (n.key === "Enter") {n.preventDefault();let r = p >= 0 ? _[p] : null;- r ? v(r, r.n !== -1 && tD(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));+ r ? v(r, r.n !== -1 && iD(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));}}}, b = -1, x = (t) => {b += 1;- let r = b, i = tD(e, t.k);+ let r = b, i = iD(e, t.k);return /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-pick": t.k,@@ -82901,7 +82910,7 @@ function nBe({ item: e, write: t, helpers: n }) {"aria-pressed": i,onClick: () => v(t, i),children: [- /* @__PURE__ */ (0, D.jsx)(DJ, { name: i ? "check" : "tags" }),+ /* @__PURE__ */ (0, D.jsx)(AJ, { name: i ? "check" : "tags" }),/* @__PURE__ */ (0, D.jsx)("span", {"data-pick-name": "",children: n.tagLabel(t.k)@@ -82924,7 +82933,7 @@ function nBe({ item: e, write: t, helpers: n }) {onClick: () => {i.current && (so(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));},- children: /* @__PURE__ */ (0, D.jsx)(DJ, { name: "plus" })+ children: /* @__PURE__ */ (0, D.jsx)(AJ, { name: "plus" })}), /* @__PURE__ */ (0, D.jsxs)("div", {ref: i,id: "tagPicker",@@ -82934,7 +82943,7 @@ function nBe({ item: e, write: t, helpers: n }) {hidden: !0,children: [/* @__PURE__ */ (0, D.jsxs)("label", {"data-tag-search": "",- children: [/* @__PURE__ */ (0, D.jsx)(DJ, { name: "search" }), /* @__PURE__ */ (0, D.jsx)("input", {+ children: [/* @__PURE__ */ (0, D.jsx)(AJ, { name: "search" }), /* @__PURE__ */ (0, D.jsx)("input", {ref: a,id: "tagPickSearch",maxLength: 80,@@ -82975,7 +82984,7 @@ function nBe({ item: e, write: t, helpers: n }) {onClick: () => {h(), t.addTag(g.create);},- children: [/* @__PURE__ */ (0, D.jsx)(DJ, { name: "plus" }), /* @__PURE__ */ (0, D.jsxs)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(AJ, { name: "plus" }), /* @__PURE__ */ (0, D.jsxs)("span", {"data-pick-name": "",children: ["新建“",@@ -82991,7 +83000,7 @@ function nBe({ item: e, write: t, helpers: n }) {})] });}function rBe({ item: e }) {- let t = zpe(e);+ let t = Lpe(e);return /* @__PURE__ */ (0, D.jsxs)("div", {"data-item-trace": "",children: [/* @__PURE__ */ (0, D.jsxs)("div", {@@ -83066,10 +83075,10 @@ function iBe({ item: e, open: t, write: n }) {}function aBe(e) {let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = _t({- queryKey: fpe(t.id, n),- queryFn: async ({ signal: e }) => (await H(mpe(t.id, n), e)).items || []+ queryKey: upe(t.id, n),+ queryFn: async ({ signal: e }) => (await H(fpe(t.id, n), e)).items || []}), [o] = (0, E.useState)(() => r.relatedSkeletonHtml());- return /* @__PURE__ */ (0, D.jsx)(iJ, {+ return /* @__PURE__ */ (0, D.jsx)(sJ, {wireDrag: r.wireDrag,busy: a.isPending,empty: a.data?.length === 0,@@ -83077,7 +83086,7 @@ function aBe(e) {onRetry: () => {a.refetch();},- children: a.data ? /* @__PURE__ */ (0, D.jsx)(Ez, {+ children: a.data ? /* @__PURE__ */ (0, D.jsx)(kz, {mode: "items",variant: "next",items: a.data,@@ -83090,11 +83099,11 @@ function aBe(e) {revision: 0,wireDrag: r.wireDrag,skeletonHtml: () => ""- }) : /* @__PURE__ */ (0, D.jsx)(OJ, { html: o })+ }) : /* @__PURE__ */ (0, D.jsx)(jJ, { html: o })});}function oBe(e, t, n) {- let r = e.id, i = qE(r), [a, o] = (0, E.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), d = (e, t) => o((n) => {+ let r = e.id, i = XE(r), [a, o] = (0, E.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), d = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), f = () => W.getQueryData(i) || e, p = (e) => {@@ -83110,7 +83119,7 @@ function oBe(e, t, n) {rating: t.rating,o_count: t.o_count};- return GE(r, n), t;+ return JE(r, n), t;}, m = (e, t) => U(e, {id: r,...t@@ -83125,7 +83134,7 @@ function oBe(e, t, n) {run: n}));}, _ = async (e, t) => {- let n = await m(hpe, t === void 0 ? { kind: e } : {+ let n = await m(ppe, t === void 0 ? { kind: e } : {kind: e,value: t});@@ -83145,21 +83154,21 @@ function oBe(e, t, n) {"aria-disabled": !0} : {},rate: (e) => g(`rate:${e}`, "评分", async () => {- let n = f().rating || 0, r = dpe(n, e);- await _("rate", r), t.toast(r ? `已评 ${KE(r)} 星` : "已取消评分", { undo: async () => {+ let n = f().rating || 0, r = lpe(n, e);+ await _("rate", r), t.toast(r ? `已评 ${YE(r)} 星` : "已取消评分", { undo: async () => {await _("rate", n);} });}),feedback: (e) => g(e, "操作", async () => {let n = { feedback: f().feedback || null }, r = await _(e);- t.toast(Bpe(e, r), { undo: async () => {+ t.toast(Rpe(e, r), { undo: async () => {e === "o" ? await _("o-undo") : e === "dispose" ? await _("dispose") : (r.feedback && await _(r.feedback), n.feedback && await _(n.feedback)), await t.trashChanged(f().disposal || null, !0);} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);}),later: () => g("later", "更新稍后看", async () => {- let e = await m(gpe, {});+ let e = await m(mpe, {});p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- p({ watch_later: (await m(gpe, {})).watch_later });+ p({ watch_later: (await m(mpe, {})).watch_later });} });}),quality: () => g("quality", "更新版本需求", async () => {@@ -83169,9 +83178,9 @@ function oBe(e, t, n) {}, n = (e) => p({better_version: e.better_version,better_version_reason: e.better_version_reason || ""- }), r = await m(_pe, { wanted: !e.wanted });+ }), r = await m(hpe, { wanted: !e.wanted });n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {- n(await m(_pe, e));+ n(await m(hpe, e));} });}),preference: ({ liked: e, reason: n }) => {@@ -83185,7 +83194,7 @@ function oBe(e, t, n) {});u("保存中…");try {- o(await m(vpe, {+ o(await m(gpe, {liked: a,reason: i}));@@ -83195,7 +83204,7 @@ function oBe(e, t, n) {u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);let s = f();t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {- o(await m(vpe, r));+ o(await m(gpe, r));} });});},@@ -83204,30 +83213,30 @@ function oBe(e, t, n) {operation: "remove",tag: e.k})).ok) throw Error("标签未删除");- p((t) => Epe(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {- await m(XE, {+ p((t) => wpe(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {+ await m($E, {operation: "add",tag: e.k- }), p((t) => Dpe(t, e));+ }), p((t) => Tpe(t, e));} });}),addTag: (e) => {let r = e.trim();r && g(`add:${r}`, "添加标签", async () => {- let e = await m(XE, {+ let e = await m($E, {operation: "add",tag: r});if (!e.ok) return;let i = e.tag || r;- tD(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => Dpe(e, {+ iD(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => Tpe(e, {k: i,cat: "general"- })), Ape(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {- await m(XE, {+ })), Ope(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {+ await m($E, {operation: "remove",tag: i- }), p((e) => Epe(e, i));+ }), p((e) => wpe(e, i));} }));});}@@ -83260,7 +83269,7 @@ function uBe(e, t) {let n = cBe(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);- if (!o || !CG(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;+ if (!o || !EG(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;}return r.length ? {pages: r,@@ -83269,16 +83278,16 @@ function uBe(e, t) {} : void 0;}function dBe(e, t, n) {- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && CG(Date.parse(e.checked_at || "") || t, n));+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && EG(Date.parse(e.checked_at || "") || t, n));}//#endregion//#region src/react/jav-detail/jav-detail-page.tsxfunction fBe(e) {let t = (0, E.useRef)(!1), n = _t({- queryKey: bJ(e.code),+ queryKey: CJ(e.code),queryFn: ({ signal: n }) => {let r = t.current;- return t.current = !1, xJ(e.code, n, r);+ return t.current = !1, wJ(e.code, n, r);},staleTime: 216e5}), r = () => {@@ -83295,7 +83304,7 @@ function fBe(e) {retrying: n.isFetching}, e.code) : /* @__PURE__ */ (0, D.jsxs)("div", {"data-jav-failure": "",- children: [/* @__PURE__ */ (0, D.jsx)(pBe, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, D.jsx)(wI, {+ children: [/* @__PURE__ */ (0, D.jsx)(pBe, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, D.jsx)(DI, {message: V(n.error),onRetry: r}) : null]@@ -83331,13 +83340,13 @@ function mBe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: alabel: "视频预览",video: !0}] : []- ], [l, u] = (0, E.useState)(null), [d, f] = (0, E.useState)(t.want_id), p = nA(), m = () => {- p.run("want", async (e) => d ? (await _G([d], e), null) : (await gG({ code: t.code }, e)).want.id, (t) => {- f(t), W.setQueryData(bJ(e), (e) => e && {+ ], [l, u] = (0, E.useState)(null), [d, f] = (0, E.useState)(t.want_id), p = aA(), m = () => {+ p.run("want", async (e) => d ? (await bG([d], e), null) : (await yG({ code: t.code }, e)).want.id, (t) => {+ f(t), W.setQueryData(CJ(e), (e) => e && {...e,wanted: !!t,want_id: t- }), n.receipt(t ? "已加入想要" : "已取消想要"), vG(), W.invalidateQueries({ queryKey: ["feed-new"] }), W.invalidateQueries({ queryKey: ["jav-discoveries"] });+ }), n.receipt(t ? "已加入想要" : "已取消想要"), xG(), W.invalidateQueries({ queryKey: ["feed-new"] }), W.invalidateQueries({ queryKey: ["jav-discoveries"] });});};return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [@@ -83352,18 +83361,18 @@ function mBe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-preview-toggle": "","aria-pressed": o === -2,onClick: () => s(o === -2 ? -1 : -2),- children: [/* @__PURE__ */ (0, D.jsx)(jJ, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]+ children: [/* @__PURE__ */ (0, D.jsx)(MJ, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, D.jsx)(vBe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, D.jsx)(vJ, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, D.jsx)(vBe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, D.jsx)(xJ, {item: t,image: o === -1 ? "cover" : String(o)}, o),- /* @__PURE__ */ (0, D.jsx)(oJ, {+ /* @__PURE__ */ (0, D.jsx)(lJ, {items: c,position: Math.max(0, c.findIndex((e) => e.index === o)),onSelect: s,below: !0,- renderThumbnail: (e) => /* @__PURE__ */ (0, D.jsx)(vJ, {+ renderThumbnail: (e) => /* @__PURE__ */ (0, D.jsx)(xJ, {item: t,image: e.index < 0 ? "cover" : String(e.index),thumbnail: !0@@ -83383,11 +83392,11 @@ function mBe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: aclassName: "mono","data-stage-meta": "","data-reveal-line": "",- children: [/* @__PURE__ */ (0, D.jsx)(MJ, {+ children: [/* @__PURE__ */ (0, D.jsx)(NJ, {glyph: "calendar",label: "发行日期",value: t.release_date- }), /* @__PURE__ */ (0, D.jsx)(MJ, {+ }), /* @__PURE__ */ (0, D.jsx)(NJ, {glyph: "clock",label: "时长",value: t.duration ? `${t.duration} 分钟` : void 0@@ -83399,11 +83408,11 @@ function mBe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a}),/* @__PURE__ */ (0, D.jsxs)("div", {"data-jav-facts": "",- children: [/* @__PURE__ */ (0, D.jsx)(MJ, {+ children: [/* @__PURE__ */ (0, D.jsx)(NJ, {glyph: "briefcase",label: "发行商",value: t.publisher- }), /* @__PURE__ */ (0, D.jsx)(MJ, {+ }), /* @__PURE__ */ (0, D.jsx)(NJ, {glyph: "clapperboard",label: "导演",value: t.director@@ -83467,7 +83476,7 @@ function mBe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a}),t.source_url ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",- trailingIcon: Mk,+ trailingIcon: Fk,onClick: () => window.open(t.source_url, "_blank", "noopener,noreferrer"),children: "作品来源"}) : null@@ -83490,24 +83499,24 @@ function mBe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a]})}),- /* @__PURE__ */ (0, D.jsx)(fG, {+ /* @__PURE__ */ (0, D.jsx)(hG, {prefill: l,close: () => u(null),receipt: n.receipt})] });}-var jJ = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("span", {+var MJ = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("span", {className: "contents","aria-hidden": "true",dangerouslySetInnerHTML: { __html: z(e) }-}), MJ = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, D.jsxs)("span", {+}), NJ = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, D.jsxs)("span", {"data-spec-item": "",title: t,- children: [/* @__PURE__ */ (0, D.jsx)(jJ, { name: e }), /* @__PURE__ */ (0, D.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, D.jsx)(MJ, { name: e }), /* @__PURE__ */ (0, D.jsx)("span", { children: n })]}) : null;function hBe({ item: e }) {- let { text: t, expanded: n, foldable: r, toggle: i } = _J(e.title), a = e.title === e.code ? "" : e.title;+ let { text: t, expanded: n, foldable: r, toggle: i } = bJ(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, D.jsxs)("div", {"data-item-title": "",children: [/* @__PURE__ */ (0, D.jsx)("h1", {@@ -83534,7 +83543,7 @@ function hBe({ item: e }) {"aria-label": n ? "收起标题" : "展开标题",title: n ? "收起标题" : "展开完整标题",onClick: i,- children: /* @__PURE__ */ (0, D.jsx)(bF, {})+ children: /* @__PURE__ */ (0, D.jsx)(CF, {})})})]});@@ -83546,7 +83555,7 @@ function gBe({ score: e, review: t = !1 }) {"data-review-rating": t ? "" : void 0,role: "img","aria-label": `${t ? "评论" : "JavDB"}评分 ${e} / 5`,- children: [/* @__PURE__ */ (0, D.jsx)(yz, { value: e }), /* @__PURE__ */ (0, D.jsxs)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(Sz, { value: e }), /* @__PURE__ */ (0, D.jsxs)("span", {"data-rating-value": "",children: [e.toFixed(1), " / 5"]})]@@ -83561,14 +83570,14 @@ function _Be({ item: e, navigate: t }) {children: r}), /* @__PURE__ */ (0, D.jsx)("div", {"data-id-row": "",- children: i.map((r) => /* @__PURE__ */ (0, D.jsx)(hJ, {+ children: i.map((r) => /* @__PURE__ */ (0, D.jsx)(vJ, {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, D.jsx)(EU, {+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, D.jsx)(kU, {code: e.code,person: r,detail: !0@@ -83585,7 +83594,7 @@ function _Be({ item: e, navigate: t }) {r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),r("studio", "厂牌", e.studio_refs)]- }), /* @__PURE__ */ (0, D.jsx)(gJ, {+ }), /* @__PURE__ */ (0, D.jsx)(yJ, {people: e.series_refs.map((e) => ({...e,id: e.id ?? null@@ -83598,7 +83607,7 @@ function vBe({ src: e }) {let t = (0, E.useRef)(null), [n, r] = (0, E.useState)(!1), [i, a] = (0, E.useState)(0);return (0, E.useLayoutEffect)(() => {let n = t.current, i = document.createElement("video");- return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), Wfe(i, {+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), Hfe(i, {src: e,type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"}, () => r(!0));@@ -83632,7 +83641,7 @@ function yBe({ code: e, count: t, released: n }) {gcTime: 864e5,refetchOnWindowFocus: !1,queryFn: async ({ signal: t, pageParam: n }) => {- let i = await Ize(e, n, t, s.current);+ let i = await Pze(e, n, t, s.current);if (lBe(e, i), !i.ok || i.cache_stale) {let t = r.getQueryData(["jav-reviews", e])?.pages.find((e) => e.page === n);if (t?.ok) return {@@ -83643,7 +83652,7 @@ function yBe({ code: e, count: t, released: n }) {}return i;},- getNextPageParam: Lze+ getNextPageParam: Fze});(0, E.useEffect)(() => {c.isFetching || (s.current = !1);@@ -83651,10 +83660,10 @@ function yBe({ code: e, count: t, released: n }) {let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? V(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;return /* @__PURE__ */ (0, D.jsx)("section", {"data-jav-reviews": "",- children: /* @__PURE__ */ (0, D.jsxs)(gA, {+ children: /* @__PURE__ */ (0, D.jsxs)(yA, {trailing: !0,summary: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(wve, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, D.jsx)(Sve, { "aria-hidden": !0 }),"评论",t > 0 ? ` · ${t}` : ""] }),@@ -83748,19 +83757,19 @@ function yBe({ code: e, count: t, released: n }) {}function bBe({ item: e, actions: t, readOnly: n }) {let [r, i] = (0, E.useState)(!1), a = _t({- queryKey: zA,+ queryKey: HA,enabled: r,- queryFn: ({ signal: e }) => H(`${RA}?limit=50`, e)+ queryFn: ({ signal: e }) => H(`${VA}?limit=50`, e)}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, E.useState)(!1);return /* @__PURE__ */ (0, D.jsx)("section", {"data-jav-resources": "",- children: /* @__PURE__ */ (0, D.jsx)(gA, {+ children: /* @__PURE__ */ (0, D.jsx)(yA, {trailing: !0,- summary: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(jJ, { name: "link" }), "资源"] }),+ summary: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(MJ, { name: "link" }), "资源"] }),onOpenChange: (e) => {i(e), e && c(!0);},- children: s ? /* @__PURE__ */ (0, D.jsx)(kG, {+ children: s ? /* @__PURE__ */ (0, D.jsx)(MG, {want: {id: 0,code: e.code,@@ -83778,31 +83787,31 @@ function bBe({ item: e, actions: t, readOnly: n }) {}//#endregion//#region src/react/stage/stage-player.ts-var NJ = null, PJ = null, FJ = null, IJ = null, LJ = null, RJ = !1, zJ = 0, BJ = null, VJ = () => !1, xBe = (e, t, n) => `${e}:${t}:${n ?? ""}`;+var PJ = null, FJ = null, IJ = null, LJ = null, RJ = null, zJ = !1, BJ = 0, VJ = null, HJ = () => !1, xBe = (e, t, n) => `${e}:${t}:${n ?? ""}`;function SBe(e, t) {- NJ = e, VJ = () => t.isOpen(), BJ = () => t.requestClose(), jde({+ PJ = e, HJ = () => t.isOpen(), VJ = () => t.requestClose(), kde({...e.player,stage: () => document.getElementById("stage")- }), Mde({- inMiniplayer: (e) => PJ?.player === e,- kind: (e) => PJ?.player === e ? PJ.kind : FJ?.kind ?? IJ?.kind ?? "item",- expand: () => ZJ(),+ }), Ade({+ inMiniplayer: (e) => FJ?.player === e,+ kind: (e) => FJ?.player === e ? FJ.kind : IJ?.kind ?? LJ?.kind ?? "item",+ expand: () => QJ(),toMiniplayer: () => BBe()- }), CBe || (CBe = !0, addEventListener("pagehide", () => kE()));+ }), CBe || (CBe = !0, addEventListener("pagehide", () => ME()));}var CBe = !1;-function HJ() {- if (!NJ) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");- return NJ;+function UJ() {+ if (!PJ) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");+ return PJ;}-function UJ(e) {- IJ = e;+function WJ(e) {+ LJ = e;}-var wBe = () => IJ;-function WJ(e, t) {+var wBe = () => LJ;+function GJ(e, t) {let { kind: n, item: r, media: i = null } = t, a = xBe(n, r.id, i?.index ?? null);- if (PJ && PJ.key === a) return EBe(e, PJ);- PJ && XJ();+ if (FJ && FJ.key === a) return EBe(e, FJ);+ FJ && ZJ();let o = {player: null,kind: n,@@ -83810,23 +83819,23 @@ function WJ(e, t) {mediaIndex: i?.index ?? null,key: a};- FJ = o;+ IJ = 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 = IE(s, {+ let c = zE(s, {kind: n,item: r,media: i,autoplay: t.autoplay,resume: t.resume ?? null,onPlayer: (e) => {- FJ === o && (o.player = e);+ IJ === o && (o.player = e);},- handedOff: (e) => PJ?.player === e+ handedOff: (e) => FJ?.player === e});return () => {- let e = !!o.player && PJ?.player === o.player;- FJ === o && (FJ = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), kE());+ let e = !!o.player && FJ?.player === o.player;+ IJ === o && (IJ = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), ME());};}async function TBe(e, t, n) {@@ -83835,27 +83844,27 @@ async function TBe(e, t, n) {if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");if (r.location === "online") throw Error("请打开详情播放在线作品");if (r.cost === "metered") throw Error("请打开详情确认计费来源");- let i = await HJ().player.loadSourceStatus();- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(HJ().player.offlineReason(String(r.root_id || r.location || "")));+ let i = await UJ().player.loadSourceStatus();+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(UJ().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 || "未归属")};- UJ(a);- let o = WJ(t, {+ WJ(a);+ let o = GJ(t, {kind: "item",item: r,autoplay: !0}), s = !1;return (e = !1) => {- s || (s = !0, e && IJ === a && DBe(!0), o(), IJ === a && UJ(null));+ s || (s = !0, e && LJ === a && DBe(!0), o(), LJ === a && WJ(null));};}function EBe(e, t) {let { player: n } = t;- JJ(t), PJ = null, YJ(), n.el().classList.remove("vjs-peach-mini"), Vfe(e), e.append(n.el()), lE(n);+ YJ(t), FJ = null, XJ(), n.el().classList.remove("vjs-peach-mini"), zfe(e), e.append(n.el()), dE(n);let r = {player: n,kind: t.kind,@@ -83863,22 +83872,22 @@ function EBe(e, t) {mediaIndex: t.mediaIndex,key: t.key};- FJ = r;- let i = Hfe(n, e);- return uE(n), () => {- FJ === r && (FJ = null), i(), PJ?.player !== n && (cE() === n && lE(null), TE(n), kE());+ IJ = r;+ let i = Bfe(n, e);+ return fE(n), () => {+ IJ === r && (IJ = null), i(), FJ?.player !== n && (uE() === n && dE(null), DE(n), ME());};}-var GJ = () => {- let e = FJ?.player;+var KJ = () => {+ let e = IJ?.player;return e && !e.isDisposed() ? e : null;};function DBe(e) {- let t = RJ;- RJ = !1, PJ?.pending && XJ();- let n = FJ, r = n?.player, i = IJ;- if (!n || !r || r.isDisposed() || !i || !LJ) return;- let a = HJ().player.settings();+ let t = zJ;+ zJ = !1, FJ?.pending && ZJ();+ let n = IJ, r = n?.player, i = LJ;+ if (!n || !r || r.isDisposed() || !i || !RJ) return;+ let a = UJ().player.settings();(t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && zBe({player: r,kind: n.kind,@@ -83888,43 +83897,43 @@ function DBe(e) {}, i);}function OBe(e, t) {- RJ = !1, PJ && (PJ.kind === e && PJ.item.id === t ? (PJ.pending = !0, YJ()) : XJ());+ zJ = !1, FJ && (FJ.kind === e && FJ.item.id === t ? (FJ.pending = !0, XJ()) : ZJ());}function kBe(e) {- LJ = e, LJ && IBe();+ RJ = e, RJ && IBe();}-var KJ = () => !!PJ && !PJ.pending && !PJ.player.isDisposed();+var qJ = () => !!FJ && !FJ.pending && !FJ.player.isDisposed();function ABe() {- return KJ() ? LJ?.frame.querySelector("video") ?? null : null;+ return qJ() ? RJ?.frame.querySelector("video") ?? null : null;}function jBe() {- return VJ() ? document.getElementById("stage")?.querySelector("video") ?? null : GJ()?.el().querySelector("video") ?? ABe();+ return HJ() ? document.getElementById("stage")?.querySelector("video") ?? null : KJ()?.el().querySelector("video") ?? ABe();}function MBe(e) {- LJ && (LJ.title.textContent = e.title || "", LJ.sub.textContent = e.sub || "", LJ.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));+ RJ && (RJ.title.textContent = e.title || "", RJ.sub.textContent = e.sub || "", RJ.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));}-function qJ(e = PJ?.item) {- if (!LJ) return;- let t = LJ.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;- LJ.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);+function JJ(e = FJ?.item) {+ if (!RJ) return;+ let t = RJ.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;+ RJ.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);}function NBe() {- let e = PJ?.player;- if (!e || e.isDisposed() || !LJ) return;+ let e = FJ?.player;+ if (!e || e.isDisposed() || !RJ) return;let t = e.paused();- LJ.play.setAttribute("aria-label", t ? "播放" : "暂停"), LJ.play.querySelector("[data-icon-swap]") || (LJ.play.innerHTML = Ho("player-pause", "player-play", t ? "b" : "a")), Uo(LJ.play, t ? "b" : "a");+ RJ.play.setAttribute("aria-label", t ? "播放" : "暂停"), RJ.play.querySelector("[data-icon-swap]") || (RJ.play.innerHTML = Ho("player-pause", "player-play", t ? "b" : "a")), Uo(RJ.play, t ? "b" : "a");}function PBe() {- let e = PJ?.player;- if (!e || e.isDisposed() || !LJ) return;- let t = cn(PJ?.item.duration) || cn(e.duration());- LJ.time.textContent = `${un(e.currentTime())} / ${t ? un(t) : "0:00"}`;+ let e = FJ?.player;+ if (!e || e.isDisposed() || !RJ) return;+ let t = cn(FJ?.item.duration) || cn(e.duration());+ RJ.time.textContent = `${un(e.currentTime())} / ${t ? un(t) : "0:00"}`;}-var FBe = () => Math.max(1, Number(HJ().player.settings().seekSeconds) || 10);+var FBe = () => Math.max(1, Number(UJ().player.settings().seekSeconds) || 10);function IBe() {- if (!LJ || !NJ) return;+ if (!RJ || !PJ) return;let e = FBe();- for (let [t, n] of [[LJ.back, `后退 ${e} 秒`], [LJ.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+ for (let [t, n] of [[RJ.back, `后退 ${e} 秒`], [RJ.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;}function LBe(e) {let t = (t, n) => {@@ -83942,13 +83951,13 @@ function LBe(e) {"timeupdate","durationchange","loadedmetadata"- ], PBe), t("loadedmetadata", () => qJ()), NBe(), PBe(), qJ(), IBe();+ ], PBe), t("loadedmetadata", () => JJ()), NBe(), PBe(), JJ(), IBe();}-function JJ(e) {+function YJ(e) {e.off.forEach((e) => e()), e.off = [];}function RBe() {- let e = LJ?.root;+ let e = RJ?.root;if (!e) return;let t = e.hidden;if (e.hidden = !1, !t) return;@@ -83956,8 +83965,8 @@ function RBe() {let n = () => e.removeAttribute("data-miniplayer-enter");e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);}-function YJ() {- let e = LJ?.root;+function XJ() {+ let e = RJ?.root;if (e) {e.hidden = !0;for (let t of [@@ -83969,72 +83978,72 @@ function YJ() {}}function zBe(e, t) {- if (!LJ) return;+ if (!RJ) return;let n = {...e,meta: t,off: [],pending: !1};- PJ = n, zJ++, e.player.el().classList.add("vjs-peach-mini"), LJ.frame.prepend(e.player.el()), MBe(t), LBe(n), RBe(), uE(e.player);+ FJ = n, BJ++, e.player.el().classList.add("vjs-peach-mini"), RJ.frame.prepend(e.player.el()), MBe(t), LBe(n), RBe(), fE(e.player);}-function XJ() {- let e = PJ;- e && JJ(e), PJ = null, zJ++;+function ZJ() {+ let e = FJ;+ e && YJ(e), FJ = null, BJ++;let t = e?.player ?? null;- t && cE() === t && lE(null), TE(t), t && kE(), LJ?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), sE(), YJ();+ t && uE() === t && dE(null), DE(t), t && ME(), RJ?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), lE(), XJ();}-function ZJ() {- if (!KJ() || !PJ) return;- let { kind: e, item: t, mediaIndex: n } = PJ;- HJ().expand(e, t.id, n);+function QJ() {+ if (!qJ() || !FJ) return;+ let { kind: e, item: t, mediaIndex: n } = FJ;+ UJ().expand(e, t.id, n);}function BBe() {- KJ() && !VJ() ? ZJ() : VJ() && GJ() && BJ && (RJ = !0, BJ());+ qJ() && !HJ() ? QJ() : HJ() && KJ() && VJ && (zJ = !0, VJ());}function VBe() {- let e = PJ?.player;+ let e = FJ?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}function HBe(e) {- let t = PJ?.player;+ let t = FJ?.player;if (!t || t.isDisposed()) return;- let n = cn(t.duration()) || cn(PJ?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + FBe() * e);+ let n = cn(t.duration()) || cn(FJ?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + FBe() * e);t.currentTime(n ? Math.min(n, r) : r);}function UBe(e) {- return !(!KJ() || !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 || HJ().sourceOffline(String(e.root_id || e.location || "")));+ return !(!qJ() || !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 || UJ().sourceOffline(String(e.root_id || e.location || "")));}async function WBe(e) {- if (!KJ() || !PJ || !LJ) return;- let t = ++zJ, n = await Vt(`/api/item?id=${e}`).catch(() => null);- if (t !== zJ || !KJ() || !PJ || !LJ || !n || n.error) return;+ if (!qJ() || !FJ || !RJ) return;+ let t = ++BJ, n = await Vt(`/api/item?id=${e}`).catch(() => null);+ if (t !== BJ || !qJ() || !FJ || !RJ || !n || n.error) return;if (!UBe(n)) {- HJ().openItem(e);+ UJ().openItem(e);return;}- let r = PJ;- JJ(r), cE() === r.player && lE(null), TE(r.player), kE(), LJ.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ let r = FJ;+ YJ(r), uE() === r.player && dE(null), DE(r.player), ME(), RJ.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", LJ.frame.prepend(i);+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", RJ.frame.prepend(i);let a = {kind: "item",item: n,title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- MBe(a), IE(i, {+ MBe(a), zE(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {- if (t !== zJ) {- r && cE() === r && lE(null), TE(r);+ if (t !== BJ) {+ r && uE() === r && dE(null), DE(r);return;}if (!r) {- XJ(), HJ().openItem(e);+ ZJ(), UJ().openItem(e);return;}r.el().classList.add("vjs-peach-mini");@@ -84048,17 +84057,17 @@ async function WBe(e) {off: [],pending: !1};- PJ = i, LBe(i);+ FJ = i, LBe(i);}- }), qJ(n);+ }), JJ(n);}//#endregion//#region src/react/stage/miniplayer.tsx-var QJ = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("svg", {+var $J = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })-}), GBe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, $J = (e) => (t) => {+}), GBe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, eY = (e) => (t) => {t.stopPropagation(), e();}, KBe = (0, E.memo)(function() {let e = (0, E.useRef)(null), t = (0, E.useRef)(null), n = (0, E.useRef)(null), r = (0, E.useRef)(null), i = (0, E.useRef)(null), a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useRef)(null), c = (0, E.useRef)(null), l = (0, E.useRef)(null);@@ -84096,24 +84105,24 @@ var QJ = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("svg", {id: "miniplayerExpand","aria-label": "展开到详情","aria-keyshortcuts": "i",- onClick: $J(ZJ),- children: /* @__PURE__ */ (0, D.jsx)(QJ, { name: "maximize-2" })+ onClick: eY(QJ),+ children: /* @__PURE__ */ (0, D.jsx)($J, { name: "maximize-2" })}),/* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-miniplayer-button": "close",id: "miniplayerClose","aria-label": "关闭小窗",- onClick: $J(XJ),- children: /* @__PURE__ */ (0, D.jsx)(QJ, { name: "x" })+ onClick: eY(ZJ),+ children: /* @__PURE__ */ (0, D.jsx)($J, { name: "x" })}),/* @__PURE__ */ (0, D.jsx)("button", {ref: a,type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: $J(() => HBe(-1)),- children: /* @__PURE__ */ (0, D.jsx)(QJ, { name: "rotate-ccw" })+ onClick: eY(() => HBe(-1)),+ children: /* @__PURE__ */ (0, D.jsx)($J, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, D.jsx)("button", {ref: r,@@ -84122,7 +84131,7 @@ var QJ = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: $J(VBe),+ onClick: eY(VBe),dangerouslySetInnerHTML: GBe}),/* @__PURE__ */ (0, D.jsx)("button", {@@ -84130,8 +84139,8 @@ var QJ = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("svg", {type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: $J(() => HBe(1)),- children: /* @__PURE__ */ (0, D.jsx)(QJ, { name: "rotate-cw" })+ onClick: eY(() => HBe(1)),+ children: /* @__PURE__ */ (0, D.jsx)($J, { name: "rotate-cw" })}),/* @__PURE__ */ (0, D.jsx)("span", {ref: i,@@ -84148,7 +84157,7 @@ var QJ = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("svg", {"data-miniplayer-info": "",id: "miniplayerInfo","aria-label": "展开到详情",- onClick: () => ZJ(),+ onClick: () => QJ(),children: [/* @__PURE__ */ (0, D.jsx)("span", {ref: s,"data-miniplayer-title": "",@@ -84222,23 +84231,23 @@ function JBe(e, t) {}//#endregion//#region src/react/stage/stage.tsx-var eY = null, tY = null, nY = /* @__PURE__ */ new Set(), rY = 0, iY = null, aY = !1, oY = !1, sY = () => {+var tY = null, nY = null, rY = /* @__PURE__ */ new Set(), iY = 0, aY = null, oY = !1, sY = !1, cY = () => {let e = document.getElementById("stage");return e instanceof HTMLDialogElement ? e : null;};-function cY() {- if (!eY) throw Error("舞台还没有接上宿主(configureStage)");- return eY;+function lY() {+ if (!tY) throw Error("舞台还没有接上宿主(configureStage)");+ return tY;}function YBe(e) {- return nY.add(e), () => {- nY.delete(e);+ return rY.add(e), () => {+ rY.delete(e);};}function XBe() {- for (let e of [...nY]) e();+ for (let e of [...rY]) e();}-function lY() {+function uY() {(0, bt.flushSync)(XBe);}function ZBe({ view: e }) {@@ -84248,7 +84257,7 @@ var QBe = () => /* @__PURE__ */ (0, D.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",- dangerouslySetInnerHTML: { __html: eze() }+ dangerouslySetInnerHTML: { __html: QRe() }});function $Be(e) {let t = e.currentTarget;@@ -84260,11 +84269,11 @@ function eVe({ view: e }) {let t = (0, E.useRef)(null);(0, E.useLayoutEffect)(() => {let e = t.current, n = (t) => {- t.target === e && (t.preventDefault(), uY());+ t.target === e && (t.preventDefault(), dY());};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, D.jsx)(Uze, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, D.jsx)(fBe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, D.jsx)(Eze, { ...r.props }, r.props.id);+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, D.jsx)(Hze, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, D.jsx)(fBe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, D.jsx)(wze, { ...r.props }, r.props.id);return /* @__PURE__ */ (0, D.jsxs)("dialog", {ref: t,id: "stage",@@ -84272,13 +84281,13 @@ function eVe({ view: e }) {"data-stage-kind": r.kind,"aria-label": "作品详情",onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), uY());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), dY());},onPointerDown: (e) => {- oY = $Be(e);+ sY = $Be(e);},onClick: (e) => {- oY && $Be(e) && uY();+ sY && $Be(e) && dY();},children: [n === "skeleton" ? /* @__PURE__ */ (0, D.jsx)(QBe, {}, "skeleton") : null,@@ -84297,11 +84306,11 @@ function eVe({ view: e }) {]});}-function uY() {- tY && !aY && (aY = !0, tY.request.actions.close());+function dY() {+ nY && !oY && (oY = !0, nY.request.actions.close());}function tVe(e, t) {- let n = sY();+ let n = cY();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}function nVe(e) {@@ -84312,21 +84321,21 @@ function nVe(e) {readOnly: e.readOnly,actions: {...e.actions,- close: uY+ close: dY}}};let t = e.resume ?? null, n = (n) => {let r = t && (e.id == null || e.id === n) ? t : null;return t = null, r;- }, r = () => cY().player.settings(), i = () => tY?.request === e;+ }, r = () => lY().player.settings(), i = () => nY?.request === e;if (e.kind === "item") {let { kind: t, resume: a, actions: o, ...s } = e, c = {...o,- close: uY,+ close: dY,present: (e, t) => {let n = e.performers;- UJ({+ WJ({kind: "item",item: e,title: String(e.title || e.name || ""),@@ -84335,7 +84344,7 @@ function nVe(e) {i() && o.present(e, t);});},- mountPlayer: (e, t, r, i) => WJ(e, {+ mountPlayer: (e, t, r, i) => GJ(e, {kind: "item",item: t,autoplay: i?.autoplay,@@ -84353,9 +84362,9 @@ function nVe(e) {}let { kind: a, resume: o, actions: s, ...c } = e, l = {...s,- close: uY,+ close: dY,present: (e, t) => {- UJ({+ WJ({kind: "follow",item: e,title: e.title || "",@@ -84364,7 +84373,7 @@ function nVe(e) {i() && s.present(e, t);});},- mountPlayer: (e, t, r, i) => WJ(e, {+ mountPlayer: (e, t, r, i) => GJ(e, {kind: "follow",item: t,media: r,@@ -84385,46 +84394,46 @@ function rVe(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"), tY?.generation === t && tY.phase === "reveal" && (tY = {- ...tY,+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), nY?.generation === t && nY.phase === "reveal" && (nY = {+ ...nY,phase: "content"- }, lY());+ }, uY());}, a = (e) => {e.target === n && i();};n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);}-function dY(e) {- let t = sY();- return !tY || tY.content.kind !== e || aY || !t?.open || t.hasAttribute("data-closing") ? null : t;+function fY(e) {+ let t = cY();+ return !nY || nY.content.kind !== e || oY || !t?.open || t.hasAttribute("data-closing") ? null : t;}async function iVe(e) {- let t = dY(e.kind);+ let t = fY(e.kind);if (t) {await oVe(e, t);return;}- tY && cVe({ miniplayer: !1 });- let n = ++rY, r = new AbortController();- iY = r, aY = !1, oY = !1, e.kind === "jav" ? XJ() : OBe(e.kind, e.id ?? NaN);+ nY && cVe({ miniplayer: !1 });+ let n = ++iY, r = new AbortController();+ aY = r, oY = !1, sY = !1, e.kind === "jav" ? ZJ() : OBe(e.kind, e.id ?? NaN);let i = nVe(e);- tY = {+ nY = {generation: n,request: e,content: i,phase: "skeleton"};- let a = i.kind === "item" ? Cpe(i.props, r.signal) : i.kind === "jav" ? SJ(i.props, r.signal) : Jq(i.props, r.signal);- if (n !== rY || tY?.request !== e) {+ let a = i.kind === "item" ? xpe(i.props, r.signal) : i.kind === "jav" ? TJ(i.props, r.signal) : Zq(i.props, r.signal);+ if (n !== iY || nY?.request !== e) {await a.catch(() => {});return;}let o = aVe(i);- tY = {- ...tY,+ nY = {+ ...nY,phase: o ? "content" : "skeleton"- }, lY();- let s = sY();+ }, uY();+ let s = cY();if (!s) {await a.catch(() => {});return;@@ -84435,46 +84444,46 @@ async function iVe(e) {} catch {if (r.signal.aborted) return;}- if (n !== rY || !tY || o) return;+ if (n !== iY || !nY || o) return;let c = !!s.querySelector(".skeleton-awaiting");- tY = {- ...tY,+ nY = {+ ...nY,phase: c ? "content" : "reveal"- }, lY(), c || rVe(s, n), Yo(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, uY(), c || rVe(s, n), Yo(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");let l = document.activeElement;(l === s || !s.contains(l)) && s.querySelector("#closeStage")?.focus();}function aVe(e) {- if (e.kind === "jav") return !!W.getQueryData(bJ(e.props.code));- if (e.kind === "follow") return !!W.getQueryData(Gq(e.props.id));- let { queue: t, id: n } = e.props, r = t ? W.getQueryData(JE(t)) : null;+ if (e.kind === "jav") return !!W.getQueryData(CJ(e.props.code));+ if (e.kind === "follow") return !!W.getQueryData(Jq(e.props.id));+ let { queue: t, id: n } = e.props, r = t ? W.getQueryData(ZE(t)) : null;if (t && !r) return !1;- let i = r ? eD(r, n) : n;- return i != null && !!W.getQueryData(qE(i));+ let i = r ? rD(r, n) : n;+ return i != null && !!W.getQueryData(XE(i));}async function oVe(e, t) {- let n = ++rY;- iY?.abort();+ let n = ++iY;+ aY?.abort();let r = new AbortController();- iY = r, oY = !1;+ aY = r, sY = !1;let i = nVe(e);try {- i.kind === "item" ? await Cpe(i.props, r.signal) : i.kind === "jav" ? await SJ(i.props, r.signal) : await Jq(i.props, r.signal);+ i.kind === "item" ? await xpe(i.props, r.signal) : i.kind === "jav" ? await TJ(i.props, r.signal) : await Zq(i.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== rY || !tY || dY(e.kind) !== t) return;- e.kind === "jav" ? XJ() : OBe(e.kind, e.id ?? NaN), Ec(t), sE(), tY = {- ...tY,+ if (n !== iY || !nY || fY(e.kind) !== t) return;+ e.kind === "jav" ? ZJ() : OBe(e.kind, e.id ?? NaN), Ec(t), lE(), nY = {+ ...nY,request: e,content: i,phase: "content"- }, lY(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Yo(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, uY(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Yo(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 sVe() {- let e = sY();+ let e = cY();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();@@ -84485,32 +84494,32 @@ function sVe() {}));}function cVe({ miniplayer: e = !0 } = {}) {- if (rY++, iY?.abort(), iY = null, DBe(e), !tY) return;- let t = sY();- t && Ec(t), sE(), t?.open && t.close(), tY = null, aY = !1, oY = !1, lY(), UJ(null), document.body.removeAttribute("data-detail-open");+ if (iY++, aY?.abort(), aY = null, DBe(e), !nY) return;+ let t = cY();+ t && Ec(t), lE(), t?.open && t.close(), nY = null, oY = !1, sY = !1, uY(), WJ(null), document.body.removeAttribute("data-detail-open");}function lVe(e) {- tY && (tY = {- ...tY,- content: tY.content.kind === "item" ? {+ nY && (nY = {+ ...nY,+ content: nY.content.kind === "item" ? {kind: "item",props: {- ...tY.content.props,+ ...nY.content.props,...e}- } : tY.content.kind === "jav" ? tY.content : {+ } : nY.content.kind === "jav" ? nY.content : {kind: "follow",props: {- ...tY.content.props,+ ...nY.content.props,...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }}}- }, lY());+ }, uY());}function uVe() {- let e = wBe(), t = e?.kind === "item" ? e.item : null, n = t ? Na(t, cY().player.settings().javImage) : "";+ let e = wBe(), t = e?.kind === "item" ? e.item : null, n = t ? Na(t, lY().player.settings().javImage) : "";if (!n) return;- let r = GJ();+ let r = KJ();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}var dVe = {@@ -84518,32 +84527,32 @@ var dVe = {update: lVe,exit: sVe,dispose: cVe,- requestClose: uY,+ requestClose: dY,repaintPoster: uVe,- isOpen: () => !!tY,- showing: () => tY && dY(tY.content.kind) ? tY.content.kind : null,+ isOpen: () => !!nY,+ showing: () => nY && fY(nY.content.kind) ? nY.content.kind : null,activeVideo: () => jBe(),mountWallPlayer: TBe,toggleTheater: () => {- tY && lfe(!cY().player.settings().theaterMode);+ nY && sfe(!lY().player.settings().theaterMode);},toggleMiniplayer: () => BBe(),- closeMiniplayer: () => XJ(),- miniplayerActive: () => KJ(),+ closeMiniplayer: () => ZJ(),+ miniplayerActive: () => qJ(),miniplayerTakesCard: (e) => UBe(e),miniplayerPlay: (e) => {WBe(e);}};function fVe(e) {- return eY = e, SBe(e, {- isOpen: () => !!tY,- requestClose: uY+ return tY = e, SBe(e, {+ isOpen: () => !!nY,+ requestClose: dY}), dVe;}function pVe() {- let e = (0, E.useSyncExternalStore)(YBe, () => tY);- return eY ? /* @__PURE__ */ (0, D.jsx)(ZBe, { view: e }) : null;+ let e = (0, E.useSyncExternalStore)(YBe, () => nY);+ return tY ? /* @__PURE__ */ (0, D.jsx)(ZBe, { view: e }) : null;}//#endregion//#region src/react/stats/stats.ts@@ -84554,11 +84563,11 @@ async function _Ve(e) {queryFn: () => gVe(e)});}-var fY = (e) => e != null && Number.isFinite(e), pY = (e) => fY(e) ? e.toLocaleString() : "未取得", vVe = (e, t) => fY(e) && fY(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, mY = (e, t) => {+var pY = (e) => e != null && Number.isFinite(e), mY = (e) => pY(e) ? e.toLocaleString() : "未取得", vVe = (e, t) => pY(e) && pY(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, hY = (e, t) => {let n = vVe(e, t);- return !n && fY(e) && e > 0 && fY(t) && t > 0 ? "<1%" : `${n}%`;+ return !n && pY(e) && e > 0 && pY(t) && t > 0 ? "<1%" : `${n}%`;}, yVe = (e) => {- if (!fY(e)) return "未取得";+ if (!pY(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)} 分钟`;}, bVe = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, xVe = (e) => (e.max_reached || 0) * 100, SVe = (e) => e.kind === "online" ? "在线直接观看" : bVe(e) < xVe(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", CVe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;@@ -84631,7 +84640,7 @@ var TVe = (e) => Math.max(1, ...e) * 1.1, EVe = (e, t) => e > 0 ? Math.max(e, tname: r,value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)})), FVe = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");-function hY(e) {+function gY(e) {return typeof e == "string" && FVe.includes(e);}//#endregion@@ -84643,29 +84652,29 @@ function LVe(e) {function RVe(e) {return typeof e == "string" && e.startsWith("data-");}-function gY(e) {+function _Y(e) {if (typeof e != "object" || !e) return {};var t = {};for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (LVe(n) || RVe(n)) && (t[n] = e[n]);return t;}-function _Y(e) {+function vY(e) {if (e == null) return null;if (/*#__PURE__*/ (0, E.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {var t = e.props;- return gY(t);+ return _Y(t);}- return typeof e == "object" && !Array.isArray(e) ? gY(e) : null;+ return typeof e == "object" && !Array.isArray(e) ? _Y(e) : null;}//#endregion//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js-function vY(e) {+function yY(e) {var t = {};- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (LVe(n) || RVe(n) || hY(n)) && (t[n] = e[n]);+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (LVe(n) || RVe(n) || gY(n)) && (t[n] = e[n]);return t;}function zVe(e) {- return e == null ? null : /*#__PURE__*/ (0, E.isValidElement)(e) ? vY(e.props) : typeof e == "object" && !Array.isArray(e) ? vY(e) : null;+ return e == null ? null : /*#__PURE__*/ (0, E.isValidElement)(e) ? yY(e.props) : typeof e == "object" && !Array.isArray(e) ? yY(e) : null;}//#endregion//#region node_modules/recharts/es6/container/Surface.js@@ -84679,14 +84688,14 @@ var BVe = ["title","desc"];-function yY() {- return yY = Object.assign ? Object.assign.bind() : function(e) {+function bY() {+ return bY = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, yY.apply(null, arguments);+ }, bY.apply(null, arguments);}function VVe(e, t) {if (e == null) return {};@@ -84706,14 +84715,14 @@ function HVe(e, t) {}return n;}-var bY = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+var xY = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = VVe(e, BVe), d = a || {width: r,height: i,x: 0,y: 0}, f = Vv("recharts-surface", o);- return /*#__PURE__*/ E.createElement("svg", yY({}, vY(u), {+ return /*#__PURE__*/ E.createElement("svg", bY({}, yY(u), {className: f,width: r,height: i,@@ -84722,14 +84731,14 @@ var bY = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {ref: t}), /*#__PURE__*/ E.createElement("title", null, c), /*#__PURE__*/ E.createElement("desc", null, l), n);}), UVe = ["children", "className"];-function xY() {- return xY = Object.assign ? Object.assign.bind() : function(e) {+function SY() {+ return SY = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, xY.apply(null, arguments);+ }, SY.apply(null, arguments);}function WVe(e, t) {if (e == null) return {};@@ -84749,13 +84758,13 @@ function GVe(e, t) {}return n;}-var SY = /*#__PURE__*/ E.forwardRef((e, t) => {+var CY = /*#__PURE__*/ E.forwardRef((e, t) => {var n = e.children, r = e.className, i = WVe(e, UVe), a = Vv("recharts-layer", r);- return /*#__PURE__*/ E.createElement("g", xY({ className: a }, vY(i), { ref: t }), n);+ return /*#__PURE__*/ E.createElement("g", SY({ className: a }, yY(i), { ref: t }), n);});//#endregion//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs-function CY(e) {+function wY(e) {return e === "__proto__";}//#endregion@@ -84771,12 +84780,12 @@ function qVe(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs-function wY(e) {+function TY(e) {return typeof e == "string" || typeof e == "symbol" ? e : Object.is(e?.valueOf?.(), -0) ? "-0" : String(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs-function TY(e) {+function EY(e) {return typeof e == "symbol" || e instanceof Symbol;}//#endregion@@ -84787,14 +84796,14 @@ function JVe(e) {function YVe(e) {if (typeof e == "string") return e;if (Array.isArray(e)) return e.map(YVe).join(",");- if (TY(e)) return e.toString();+ if (EY(e)) return e.toString();let t = e + "";return t === "0" && Object.is(Number(e), -0) ? "-0" : t;}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toPath.mjs-function EY(e) {- if (Array.isArray(e)) return e.map(wY);+function DY(e) {+ if (Array.isArray(e)) return e.map(TY);if (typeof e == "symbol") return [e];e = JVe(e);let t = [], n = e.length;@@ -84824,23 +84833,23 @@ function EY(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/object/get.mjs-function DY(e, t, n) {+function OY(e, t, n) {if (e == null) return n;switch (typeof t) {case "string": {- if (CY(t)) return n;+ if (wY(t)) return n;let r = e[t];- return r === void 0 ? qVe(t) && !Object.hasOwn(e, t) ? DY(e, EY(t), n) : n : r;+ return r === void 0 ? qVe(t) && !Object.hasOwn(e, t) ? OY(e, DY(t), n) : n : r;}case "number":case "symbol": {- typeof t == "number" && (t = wY(t));+ typeof t == "number" && (t = TY(t));let r = e[t];return r === void 0 ? n : r;}default: {if (Array.isArray(t)) return XVe(e, t, n);- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), CY(t)) return n;+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), wY(t)) return n;let r = e[t];return r === void 0 ? n : r;}@@ -84850,7 +84859,7 @@ function XVe(e, t, n) {if (t.length === 0) return n;let r = e;for (let e = 0; e < t.length; e++) {- if (r == null || CY(t[e])) return n;+ if (r == null || wY(t[e])) return n;r = r[t[e]];}return r === void 0 ? n : r;@@ -84858,52 +84867,52 @@ function XVe(e, t, n) {//#endregion//#region node_modules/recharts/es6/util/round.jsvar ZVe = 4;-function OY(e) {+function kY(e) {var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ZVe), n = Math.round(e * t) / t;return Object.is(n, -0) ? 0 : n;}-function kY(e) {+function AY(e) {var t = [...arguments].slice(1);return e.reduce((e, n, r) => {var i = t[r - 1];- return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + OY(i) + n;+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + kY(i) + n;}, "");}//#endregion//#region node_modules/recharts/es6/util/DataUtils.js-var AY = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, jY = (e) => typeof e == "number" && e != +e, MY = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, NY = (e) => (typeof e == "number" || e instanceof Number) && !jY(e), PY = (e) => NY(e) || typeof e == "string", QVe = 0, FY = (e) => {+var jY = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, MY = (e) => typeof e == "number" && e != +e, NY = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, PY = (e) => (typeof e == "number" || e instanceof Number) && !MY(e), FY = (e) => PY(e) || typeof e == "string", QVe = 0, IY = (e) => {var t = ++QVe;return `${e || ""}${t}`;-}, IY = function(e, t) {+}, LY = function(e, t) {var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];- if (!NY(e) && typeof e != "string") return n;+ if (!PY(e) && typeof e != "string") return n;var i;- if (MY(e)) {+ if (NY(e)) {if (t == null) return n;var a = e.indexOf("%");i = t * parseFloat(e.slice(0, a)) / 100;} else i = +e;- return jY(i) && (i = n), r && t != null && i > t && (i = t), i;+ return MY(i) && (i = n), r && t != null && i > t && (i = t), i;}, $Ve = (e) => {if (!Array.isArray(e)) return !1;for (var t = e.length, n = {}, r = 0; r < t; r++) if (!n[String(e[r])]) n[String(e[r])] = !0;else return !0;return !1;};-function LY(e, t, n) {- return NY(e) && NY(t) ? OY(e + n * (t - e)) : t;+function RY(e, t, n) {+ return PY(e) && PY(t) ? kY(e + n * (t - e)) : t;}function eHe(e, t, n) {- if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : DY(e, t)) === n);+ if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : OY(e, t)) === n);}-var RY = (e) => e == null, zY = (e) => RY(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;-function BY(e) {+var zY = (e) => e == null, BY = (e) => zY(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;+function VY(e) {return e != null;}-function VY() {}+function HY() {}//#endregion//#region node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js-function HY(e) {+function UY(e) {if (e) return {x: e.x,y: e.y,@@ -84925,7 +84934,7 @@ function tHe(e, t) {}return n;}-function UY(e) {+function WY(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? tHe(Object(n), !0).forEach(function(t) {@@ -84959,7 +84968,7 @@ function iHe(e, t) {return (t === "string" ? String : Number)(e);}var aHe = (e) => {- var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = HY(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;+ var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = UY(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;if (n === "top") {var D = {x: p + d / 2,@@ -85000,52 +85009,52 @@ var aHe = (e) => {width: g,height: u} : {};- return n === "insideLeft" ? UY({+ return n === "insideLeft" ? WY({x: h + C,y: l + u / 2,horizontalAnchor: T,verticalAnchor: "middle"- }, j) : n === "insideRight" ? UY({+ }, j) : n === "insideRight" ? WY({x: h + g - C,y: l + u / 2,horizontalAnchor: w,verticalAnchor: "middle"- }, j) : n === "insideTop" ? UY({+ }, j) : n === "insideTop" ? WY({x: p + d / 2,y: l + y,horizontalAnchor: "middle",verticalAnchor: x- }, j) : n === "insideBottom" ? UY({+ }, j) : n === "insideBottom" ? WY({x: m + f / 2,y: l + u - y,horizontalAnchor: "middle",verticalAnchor: b- }, j) : n === "insideTopLeft" ? UY({+ }, j) : n === "insideTopLeft" ? WY({x: p + C,y: l + y,horizontalAnchor: T,verticalAnchor: x- }, j) : n === "insideTopRight" ? UY({+ }, j) : n === "insideTopRight" ? WY({x: p + d - C,y: l + y,horizontalAnchor: w,verticalAnchor: x- }, j) : n === "insideBottomLeft" ? UY({+ }, j) : n === "insideBottomLeft" ? WY({x: m + C,y: l + u - y,horizontalAnchor: T,verticalAnchor: b- }, j) : n === "insideBottomRight" ? UY({+ }, j) : n === "insideBottomRight" ? WY({x: m + f - C,y: l + u - y,horizontalAnchor: w,verticalAnchor: b- }, j) : n && typeof n == "object" && (NY(n.x) || MY(n.x)) && (NY(n.y) || MY(n.y)) ? UY({- x: c + IY(n.x, g),- y: l + IY(n.y, u),+ }, j) : n && typeof n == "object" && (PY(n.x) || NY(n.x)) && (PY(n.y) || NY(n.y)) ? WY({+ x: c + LY(n.x, g),+ y: l + LY(n.y, u),horizontalAnchor: "end",verticalAnchor: "end"- }, j) : UY({+ }, j) : WY({x: _,y: l + u / 2,horizontalAnchor: "middle",@@ -85057,7 +85066,7 @@ var aHe = (e) => {"right","bottom"];-function WY(e) {+function GY(e) {return e == null ? !1 : typeof e == "object" || oHe.includes(e);}//#endregion@@ -85065,16 +85074,16 @@ function WY(e) {var sHe = /*#__PURE__*/ (0, E.createContext)(null), cHe = () => (0, E.useContext)(sHe);//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js-function GY(e) {+function KY(e) {return function() {return e;};}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js-var lHe = Math.cos, KY = Math.sin, qY = Math.sqrt, JY = Math.PI;-JY / 2;-var YY = 2 * JY, XY = Math.PI, ZY = 2 * XY, QY = 1e-6, uHe = ZY - QY;+var lHe = Math.cos, qY = Math.sin, JY = Math.sqrt, YY = Math.PI;+YY / 2;+var XY = 2 * YY, ZY = Math.PI, QY = 2 * ZY, $Y = 1e-6, uHe = QY - $Y;function dHe(e) {this._ += e[0];for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];@@ -85112,18 +85121,18 @@ var pHe = class {if (e = +e, t = +t, n = +n, r = +r, i = +i, i < 0) throw Error(`negative radius: ${i}`);let a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;- else if (d > QY) {- if (!(Math.abs(u * s - c * l) > QY) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;+ else if (d > $Y) {+ if (!(Math.abs(u * s - c * l) > $Y) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;else {- let 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((XY - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > QY && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;+ let 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((ZY - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > $Y && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;}}}arc(e, t, n, r, i, a) {if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);let 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;- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > QY || Math.abs(this._y1 - l) > QY) && this._append`L${c},${l}`, n && (d < 0 && (d = d % ZY + ZY), d > uHe ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > QY && this._append`A${n},${n},0,${+(d >= XY)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);+ this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > $Y || Math.abs(this._y1 - l) > $Y) && this._append`L${c},${l}`, n && (d < 0 && (d = d % QY + QY), d > uHe ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > $Y && this._append`A${n},${n},0,${+(d >= ZY)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);}rect(e, t, n, r) {this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}h${n = +n}v${+r}h${-n}Z`;@@ -85135,7 +85144,7 @@ var pHe = class {pHe.prototype;//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js-function $Y(e) {+function eX(e) {let t = 3;return e.digits = function(n) {if (!arguments.length) return t;@@ -85149,7 +85158,7 @@ function $Y(e) {}, () => new pHe(t);}Array.prototype.slice;-function eX(e) {+function tX(e) {return typeof e == "object" && "length" in e ? e : Array.from(e);}//#endregion@@ -85180,7 +85189,7 @@ mHe.prototype = {}}};-function tX(e) {+function nX(e) {return new mHe(e);}//#endregion@@ -85194,19 +85203,19 @@ function gHe(e) {//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.jsfunction _He(e, t) {- var n = GY(!0), r = null, i = tX, a = null, o = $Y(s);- e = typeof e == "function" ? e : e === void 0 ? hHe : GY(e), t = typeof t == "function" ? t : t === void 0 ? gHe : GY(t);+ var n = KY(!0), r = null, i = nX, a = null, o = eX(s);+ e = typeof e == "function" ? e : e === void 0 ? hHe : KY(e), t = typeof t == "function" ? t : t === void 0 ? gHe : KY(t);function s(s) {- var c, l = (s = eX(s)).length, u, d = !1, f;+ var c, l = (s = tX(s)).length, u, d = !1, f;for (r ?? (a = i(f = o())), c = 0; c <= l; ++c) !(c < l && n(u = s[c], c, s)) === d && ((d = !d) ? a.lineStart() : a.lineEnd()), d && a.point(+e(u, c, s), +t(u, c, s));if (f) return a = null, f + "" || null;}return s.x = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : GY(+t), s) : e;+ return arguments.length ? (e = typeof t == "function" ? t : KY(+t), s) : e;}, s.y = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : GY(+e), s) : t;+ return arguments.length ? (t = typeof e == "function" ? e : KY(+e), s) : t;}, s.defined = function(e) {- return arguments.length ? (n = typeof e == "function" ? e : GY(!!e), s) : n;+ return arguments.length ? (n = typeof e == "function" ? e : KY(!!e), s) : n;}, s.curve = function(e) {return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;}, s.context = function(e) {@@ -85215,11 +85224,11 @@ function _He(e, t) {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js-function nX(e, t, n) {- var r = null, i = GY(!0), a = null, o = tX, s = null, c = $Y(l);- e = typeof e == "function" ? e : e === void 0 ? hHe : GY(+e), t = typeof t == "function" ? t : GY(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? gHe : GY(+n);+function rX(e, t, n) {+ var r = null, i = KY(!0), a = null, o = nX, s = null, c = eX(l);+ e = typeof e == "function" ? e : e === void 0 ? hHe : KY(+e), t = typeof t == "function" ? t : KY(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? gHe : KY(+n);function l(l) {- var u, d, f, p = (l = eX(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);+ var u, d, f, p = (l = tX(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);for (a ?? (s = o(g = c())), u = 0; u <= p; ++u) {if (!(u < p && i(m = l[u], u, l)) === h) {if (h = !h) d = u, s.areaStart(), s.lineStart();@@ -85236,17 +85245,17 @@ function nX(e, t, n) {return _He().defined(i).curve(o).context(a);}return l.x = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : GY(+t), r = null, l) : e;+ return arguments.length ? (e = typeof t == "function" ? t : KY(+t), r = null, l) : e;}, l.x0 = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : GY(+t), l) : e;+ return arguments.length ? (e = typeof t == "function" ? t : KY(+t), l) : e;}, l.x1 = function(e) {- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : GY(+e), l) : r;+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : KY(+e), l) : r;}, l.y = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : GY(+e), n = null, l) : t;+ return arguments.length ? (t = typeof e == "function" ? e : KY(+e), n = null, l) : t;}, l.y0 = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : GY(+e), l) : t;+ return arguments.length ? (t = typeof e == "function" ? e : KY(+e), l) : t;}, l.y1 = function(e) {- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : GY(+e), l) : n;+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : KY(+e), l) : n;}, l.lineX0 = l.lineY0 = function() {return u().x(e).y(t);}, l.lineY1 = function() {@@ -85254,7 +85263,7 @@ function nX(e, t, n) {}, l.lineX1 = function() {return u().x(r).y(t);}, l.defined = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : GY(!!e), l) : i;+ return arguments.length ? (i = typeof e == "function" ? e : KY(!!e), l) : i;}, l.curve = function(e) {return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;}, l.context = function(e) {@@ -85298,56 +85307,56 @@ function bHe(e) {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js-var rX = { draw(e, t) {- let n = qY(t / JY);- e.moveTo(n, 0), e.arc(0, 0, n, 0, YY);+var iX = { draw(e, t) {+ let n = JY(t / YY);+ e.moveTo(n, 0), e.arc(0, 0, n, 0, XY);} }, xHe = { draw(e, t) {- let n = qY(t / 5) / 2;+ let n = JY(t / 5) / 2;e.moveTo(-3 * n, -n), e.lineTo(-n, -n), e.lineTo(-n, -3 * n), e.lineTo(n, -3 * n), e.lineTo(n, -n), e.lineTo(3 * n, -n), e.lineTo(3 * n, n), e.lineTo(n, n), e.lineTo(n, 3 * n), e.lineTo(-n, 3 * n), e.lineTo(-n, n), e.lineTo(-3 * n, n), e.closePath();-} }, SHe = qY(1 / 3), CHe = SHe * 2, wHe = { draw(e, t) {- let n = qY(t / CHe), r = n * SHe;+} }, SHe = JY(1 / 3), CHe = SHe * 2, wHe = { draw(e, t) {+ let n = JY(t / CHe), r = n * SHe;e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();} }, THe = { draw(e, t) {- let n = qY(t), r = -n / 2;+ let n = JY(t), r = -n / 2;e.rect(r, r, n, n);-} }, EHe = .8908130915292852, DHe = KY(JY / 10) / KY(7 * JY / 10), OHe = KY(YY / 10) * DHe, kHe = -lHe(YY / 10) * DHe, AHe = { draw(e, t) {- let n = qY(t * EHe), r = OHe * n, i = kHe * n;+} }, EHe = .8908130915292852, DHe = qY(YY / 10) / qY(7 * YY / 10), OHe = qY(XY / 10) * DHe, kHe = -lHe(XY / 10) * DHe, AHe = { draw(e, t) {+ let n = JY(t * EHe), r = OHe * n, i = kHe * n;e.moveTo(0, -n), e.lineTo(r, i);for (let t = 1; t < 5; ++t) {- let a = YY * t / 5, o = lHe(a), s = KY(a);+ let a = XY * t / 5, o = lHe(a), s = qY(a);e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);}e.closePath();-} }, iX = qY(3), jHe = { draw(e, t) {- let n = -qY(t / (iX * 3));- e.moveTo(0, n * 2), e.lineTo(-iX * n, -n), e.lineTo(iX * n, -n), e.closePath();-} }, aX = -.5, oX = qY(3) / 2, sX = 1 / qY(12), MHe = (sX / 2 + 1) * 3, NHe = { draw(e, t) {- let n = qY(t / MHe), r = n / 2, i = n * sX, a = r, o = n * sX + n, s = -a, c = o;- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(aX * r - oX * i, oX * r + aX * i), e.lineTo(aX * a - oX * o, oX * a + aX * o), e.lineTo(aX * s - oX * c, oX * s + aX * c), e.lineTo(aX * r + oX * i, aX * i - oX * r), e.lineTo(aX * a + oX * o, aX * o - oX * a), e.lineTo(aX * s + oX * c, aX * c - oX * s), e.closePath();+} }, aX = JY(3), jHe = { draw(e, t) {+ let n = -JY(t / (aX * 3));+ e.moveTo(0, n * 2), e.lineTo(-aX * n, -n), e.lineTo(aX * n, -n), e.closePath();+} }, oX = -.5, sX = JY(3) / 2, cX = 1 / JY(12), MHe = (cX / 2 + 1) * 3, NHe = { draw(e, t) {+ let n = JY(t / MHe), r = n / 2, i = n * cX, a = r, o = n * cX + n, s = -a, c = o;+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(oX * r - sX * i, sX * r + oX * i), e.lineTo(oX * a - sX * o, sX * a + oX * o), e.lineTo(oX * s - sX * c, sX * s + oX * c), e.lineTo(oX * r + sX * i, oX * i - sX * r), e.lineTo(oX * a + sX * o, oX * o - sX * a), e.lineTo(oX * s + sX * c, oX * c - sX * s), e.closePath();} };//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.jsfunction PHe(e, t) {- let n = null, r = $Y(i);- e = typeof e == "function" ? e : GY(e || rX), t = typeof t == "function" ? t : GY(t === void 0 ? 64 : +t);+ let n = null, r = eX(i);+ e = typeof e == "function" ? e : KY(e || iX), t = typeof t == "function" ? t : KY(t === void 0 ? 64 : +t);function i() {let i;if (n ||= i = r(), e.apply(this, arguments).draw(n, +t.apply(this, arguments)), i) return n = null, i + "" || null;}return i.type = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : GY(t), i) : e;+ return arguments.length ? (e = typeof t == "function" ? t : KY(t), i) : e;}, i.size = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : GY(+e), i) : t;+ return arguments.length ? (t = typeof e == "function" ? e : KY(+e), i) : t;}, i.context = function(e) {return arguments.length ? (n = e ?? null, i) : n;}, i;}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/noop.js-function cX() {}+function lX() {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js-function lX(e, t, n) {+function uX(e, t, n) {e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);}function FHe(e) {@@ -85365,7 +85374,7 @@ FHe.prototype = {},lineEnd: function() {switch (this._point) {- case 3: lX(this, this._x1, this._y1);+ case 3: uX(this, this._x1, this._y1);case 2: this._context.lineTo(this._x1, this._y1);}(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;@@ -85379,7 +85388,7 @@ FHe.prototype = {this._point = 2;break;case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);- default: lX(this, e, t);+ default: uX(this, e, t);}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}@@ -85393,8 +85402,8 @@ function LHe(e) {this._context = e;}LHe.prototype = {- areaStart: cX,- areaEnd: cX,+ areaStart: lX,+ areaEnd: lX,lineStart: function() {this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;},@@ -85420,7 +85429,7 @@ LHe.prototype = {case 2:this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);break;- default: lX(this, e, t);+ default: uX(this, e, t);}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}@@ -85460,7 +85469,7 @@ zHe.prototype = {this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);break;case 3: this._point = 4;- default: lX(this, e, t);+ default: uX(this, e, t);}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}@@ -85474,8 +85483,8 @@ function VHe(e) {this._context = e;}VHe.prototype = {- areaStart: cX,- areaEnd: cX,+ areaStart: lX,+ areaEnd: lX,lineStart: function() {this._point = 0;},@@ -85502,14 +85511,14 @@ function GHe(e, t) {var n = e._x1 - e._x0;return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;}-function uX(e, t, n) {+function dX(e, t, n) {var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);}-function dX(e) {+function fX(e) {this._context = e;}-dX.prototype = {+fX.prototype = {areaStart: function() {this._line = 0;},@@ -85524,7 +85533,7 @@ dX.prototype = {case 2:this._context.lineTo(this._x1, this._y1);break;- case 3: uX(this, this._t0, GHe(this, this._t0));+ case 3: dX(this, this._t0, GHe(this, this._t0));}(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;},@@ -85539,9 +85548,9 @@ dX.prototype = {this._point = 2;break;case 2:- this._point = 3, uX(this, GHe(this, n = WHe(this, e, t)), n);+ this._point = 3, dX(this, GHe(this, n = WHe(this, e, t)), n);break;- default: uX(this, this._t0, n = WHe(this, e, t));+ default: dX(this, this._t0, n = WHe(this, e, t));}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;}@@ -85550,8 +85559,8 @@ dX.prototype = {function KHe(e) {this._context = new qHe(e);}-(KHe.prototype = Object.create(dX.prototype)).point = function(e, t) {- dX.prototype.point.call(this, t, e);+(KHe.prototype = Object.create(fX.prototype)).point = function(e, t) {+ fX.prototype.point.call(this, t, e);};function qHe(e) {this._context = e;@@ -85571,7 +85580,7 @@ qHe.prototype = {}};function JHe(e) {- return new dX(e);+ return new fX(e);}function YHe(e) {return new KHe(e);@@ -85616,10 +85625,10 @@ function QHe(e) {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js-function fX(e, t) {+function pX(e, t) {this._context = e, this._t = t;}-fX.prototype = {+pX.prototype = {areaStart: function() {this._line = 0;},@@ -85648,22 +85657,22 @@ fX.prototype = {}};function $He(e) {- return new fX(e, .5);+ return new pX(e, .5);}function eUe(e) {- return new fX(e, 0);+ return new pX(e, 0);}function tUe(e) {- return new fX(e, 1);+ return new pX(e, 1);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js-function pX(e, t) {+function mX(e, t) {if ((o = e.length) > 1) for (var n = 1, r, i, a = e[t[0]], o, s = a.length; n < o; ++n) for (i = a, a = e[t[n]], r = 0; r < s; ++r) a[r][1] += a[r][0] = isNaN(i[r][1]) ? i[r][0] : i[r][1];}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/order/none.js-function mX(e) {+function hX(e) {for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;return n;}@@ -85677,21 +85686,21 @@ function rUe(e) {return t.key = e, t;}function iUe() {- var e = GY([]), t = mX, n = pX, r = nUe;+ var e = KY([]), t = hX, n = mX, r = nUe;function i(i) {var a = Array.from(e.apply(this, arguments), rUe), o, s = a.length, c = -1, l;for (let e of i) for (o = 0, ++c; o < s; ++o) (a[o][c] = [0, +r(e, a[o].key, c, i)]).data = e;- for (o = 0, l = eX(t(a)); o < s; ++o) a[l[o]].index = o;+ for (o = 0, l = tX(t(a)); o < s; ++o) a[l[o]].index = o;return n(a, l), a;}return i.keys = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : GY(Array.from(t)), i) : e;+ return arguments.length ? (e = typeof t == "function" ? t : KY(Array.from(t)), i) : e;}, i.value = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : GY(+e), i) : r;+ return arguments.length ? (r = typeof e == "function" ? e : KY(+e), i) : r;}, i.order = function(e) {- return arguments.length ? (t = e == null ? mX : typeof e == "function" ? e : GY(Array.from(e)), i) : t;+ return arguments.length ? (t = e == null ? hX : typeof e == "function" ? e : KY(Array.from(e)), i) : t;}, i.offset = function(e) {- return arguments.length ? (n = e ?? pX, i) : n;+ return arguments.length ? (n = e ?? mX, i) : n;}, i;}//#endregion@@ -85702,7 +85711,7 @@ function aUe(e, t) {for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;if (o) for (n = 0; n < r; ++n) e[n][i][1] /= o;}- pX(e, t);+ mX(e, t);}}//#endregion@@ -85713,7 +85722,7 @@ function oUe(e, t) {for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;r[n][1] += r[n][0] = -s / 2;}- pX(e, t);+ mX(e, t);}}//#endregion@@ -85730,7 +85739,7 @@ function sUe(e, t) {}i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);}- i[r - 1][1] += i[r - 1][0] = n, pX(e, t);+ i[r - 1][1] += i[r - 1][0] = n, mX(e, t);}}//#endregion@@ -85740,14 +85749,14 @@ var cUe = ["size","sizeType"];-function hX() {- return hX = Object.assign ? Object.assign.bind() : function(e) {+function gX() {+ return gX = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, hX.apply(null, arguments);+ }, gX.apply(null, arguments);}function lUe(e, t) {var n = Object.keys(e);@@ -85811,14 +85820,14 @@ function hUe(e, t) {return n;}var gUe = {- symbolCircle: rX,+ symbolCircle: iX,symbolCross: xHe,symbolDiamond: wHe,symbolSquare: THe,symbolStar: AHe,symbolTriangle: jHe,symbolWye: NHe-}, _Ue = Math.PI / 180, vUe = (e) => gUe[`symbol${zY(e)}`] || rX, yUe = (e, t, n) => {+}, _Ue = Math.PI / 180, vUe = (e) => gUe[`symbol${BY(e)}`] || iX, yUe = (e, t, n) => {if (t === "area") return e;switch (n) {case "cross": return 5 * e * e / 9;@@ -85832,7 +85841,7 @@ var gUe = {default: return Math.PI * e * e / 4;}}, bUe = (e, t) => {- gUe[`symbol${zY(e)}`] = t;+ gUe[`symbol${BY(e)}`] = t;}, xUe = (e) => {var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = uUe(uUe({}, mUe(e, cUe)), {}, {type: n,@@ -85843,8 +85852,8 @@ var gUe = {var l = () => {var e = vUe(c), t = PHe().type(e).size(yUe(i, o, c))();if (t !== null) return t;- }, u = s.className, d = s.cx, f = s.cy, p = vY(s);- return NY(d) && NY(f) && NY(i) ? /*#__PURE__*/ E.createElement("path", hX({}, p, {+ }, u = s.className, d = s.cx, f = s.cy, p = yY(s);+ return PY(d) && PY(f) && PY(i) ? /*#__PURE__*/ E.createElement("path", gX({}, p, {className: Vv("recharts-symbols", u),transform: `translate(${d}, ${f})`,d: l()@@ -85853,20 +85862,20 @@ var gUe = {xUe.registerSymbol = bUe;//#endregion//#region node_modules/recharts/es6/util/types.js-var SUe = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, gX = (e, t) => {+var SUe = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, _X = (e, t) => {if (!e || typeof e == "function" || typeof e == "boolean") return null;var n = e;if (/*#__PURE__*/ (0, E.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;var r = {};return Object.keys(n).forEach((e) => {- hY(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));+ gY(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));}), r;-}, CUe = (e, t, n) => (r) => (e(t, n, r), null), _X = (e, t, n) => {+}, CUe = (e, t, n) => (r) => (e(t, n, r), null), vX = (e, t, n) => {if (e === null || typeof e != "object" && typeof e != "function") return null;var r = null;return Object.keys(e).forEach((i) => {var a = e[i];- hY(i) && typeof a == "function" && (r ||= {}, r[i] = CUe(a, t, n));+ gY(i) && typeof a == "function" && (r ||= {}, r[i] = CUe(a, t, n));}), r;};//#endregion@@ -85914,20 +85923,20 @@ function OUe(e, t) {}return (t === "string" ? String : Number)(e);}-function vX(e, t) {+function yX(e, t) {var n = TUe({}, e), r = t;return Object.keys(t).reduce((e, t) => (e[t] === void 0 && r[t] !== void 0 && (e[t] = r[t]), e), n);}//#endregion//#region node_modules/recharts/es6/component/DefaultLegendContent.js-function yX() {- return yX = Object.assign ? Object.assign.bind() : function(e) {+function bX() {+ return bX = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, yX.apply(null, arguments);+ }, bX.apply(null, arguments);}function kUe(e, t) {var n = Object.keys(e);@@ -85972,7 +85981,7 @@ function NUe(e, t) {}return (t === "string" ? String : Number)(e);}-var bX = 32, PUe = {+var xX = 32, PUe = {align: "center",iconSize: 14,inactiveColor: "#ccc",@@ -85984,7 +85993,7 @@ function FUe(e) {if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);}function IUe(e) {- var t = e.data, n = e.iconType, r = e.inactiveColor, i = bX / 2, a = bX / 6, o = bX / 3, s = t.inactive ? r : t.color, c = n ?? t.type;+ var t = e.data, n = e.iconType, r = e.inactiveColor, i = xX / 2, a = xX / 6, o = xX / 3, s = t.inactive ? r : t.color, c = n ?? t.type;if (c === "none") return null;if (c === "plainline") return /*#__PURE__*/ E.createElement("line", {strokeWidth: 4,@@ -85993,7 +86002,7 @@ function IUe(e) {strokeDasharray: FUe(t.payload),x1: 0,y1: i,- x2: bX,+ x2: xX,y2: i,className: "recharts-legend-icon"});@@ -86003,14 +86012,14 @@ function IUe(e) {stroke: s,d: `M0,${i}h${o}A${a},${a},0,1,1,${2 * o},${i}- H${bX}M${2 * o},${i}+ H${xX}M${2 * o},${i}A${a},${a},0,1,1,${o},${i}`,className: "recharts-legend-icon"});if (c === "rect") return /*#__PURE__*/ E.createElement("path", {stroke: "none",fill: s,- d: `M0,${bX / 8}h${bX}v${bX * 3 / 4}h${-bX}z`,+ d: `M0,${xX / 8}h${xX}v${xX * 3 / 4}h${-xX}z`,className: "recharts-legend-icon"});if (/*#__PURE__*/ E.isValidElement(t.legendIcon)) {@@ -86021,7 +86030,7 @@ function IUe(e) {fill: s,cx: i,cy: i,- size: bX,+ size: xX,sizeType: "diameter",type: c});@@ -86030,8 +86039,8 @@ function LUe(e) {var t = e.payload, n = e.iconSize, r = e.layout, i = e.formatter, a = e.inactiveColor, o = e.iconType, s = e.labelStyle, c = {x: 0,y: 0,- width: bX,- height: bX+ width: xX,+ height: xX}, l = {display: r === "horizontal" ? "inline-block" : "block",marginRight: 10,@@ -86051,11 +86060,11 @@ function LUe(e) {var p = typeof s == "object" ? AUe({}, s) : {};p.color = t.inactive ? a : p.color || t.color, p.whiteSpace ??= "normal", p.overflowWrap ??= "break-word";var m = d ? d(t.value, t, r) : t.value;- return /*#__PURE__*/ E.createElement("li", yX({+ return /*#__PURE__*/ E.createElement("li", bX({className: f,style: l,key: `legend-item-${r}`- }, _X(e, t, r)), /*#__PURE__*/ E.createElement(bY, {+ }, vX(e, t, r)), /*#__PURE__*/ E.createElement(xY, {width: n,height: n,viewBox: c,@@ -86072,7 +86081,7 @@ function LUe(e) {});}var RUe = (e) => {- var t = vX(e, PUe), n = t.payload, r = t.layout, i = t.align;+ var t = yX(e, PUe), n = t.payload, r = t.layout, i = t.align;if (!n || !n.length) return null;var a = {padding: 0,@@ -86082,7 +86091,7 @@ var RUe = (e) => {return /*#__PURE__*/ E.createElement("ul", {className: "recharts-default-legend",style: a- }, /*#__PURE__*/ E.createElement(LUe, yX({}, t, { payload: n })));+ }, /*#__PURE__*/ E.createElement(LUe, bX({}, t, { payload: n })));};//#endregion//#region node_modules/es-toolkit/dist/array/uniqBy.mjs@@ -86103,7 +86112,7 @@ function BUe(e, t) {}//#endregion//#region node_modules/es-toolkit/dist/function/identity.mjs-function xX(e) {+function SX(e) {return e;}//#endregion@@ -86113,14 +86122,14 @@ function VUe(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs-function SX(e) {+function CX(e) {return e != null && typeof e != "function" && VUe(e.length);}//#endregion//#region node_modules/es-toolkit/dist/compat/object/property.mjsfunction HUe(e) {return function(t) {- return DY(t, e);+ return OY(t, e);};}//#endregion@@ -86135,30 +86144,30 @@ function WUe(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs-function CX(e) {+function wX(e) {return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs-function wX(e) {+function TX(e) {return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs-var GUe = "[object RegExp]", TX = "[object String]", EX = "[object Number]", DX = "[object Boolean]", KUe = "[object Arguments]", qUe = "[object Symbol]", JUe = "[object Date]", YUe = "[object Map]", XUe = "[object Set]", ZUe = "[object Array]", QUe = "[object Function]", $Ue = "[object ArrayBuffer]", OX = "[object Object]", eWe = "[object Error]", tWe = "[object DataView]", nWe = "[object Uint8Array]", rWe = "[object Uint8ClampedArray]", iWe = "[object Uint16Array]", aWe = "[object Uint32Array]", oWe = "[object BigUint64Array]", sWe = "[object Int8Array]", cWe = "[object Int16Array]", lWe = "[object Int32Array]", uWe = "[object BigInt64Array]", dWe = "[object Float32Array]", fWe = "[object Float64Array]", pWe = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {+var GUe = "[object RegExp]", EX = "[object String]", DX = "[object Number]", OX = "[object Boolean]", KUe = "[object Arguments]", qUe = "[object Symbol]", JUe = "[object Date]", YUe = "[object Map]", XUe = "[object Set]", ZUe = "[object Array]", QUe = "[object Function]", $Ue = "[object ArrayBuffer]", kX = "[object Object]", eWe = "[object Error]", tWe = "[object DataView]", nWe = "[object Uint8Array]", rWe = "[object Uint8ClampedArray]", iWe = "[object Uint16Array]", aWe = "[object Uint32Array]", oWe = "[object BigUint64Array]", sWe = "[object Int8Array]", cWe = "[object Int16Array]", lWe = "[object Int32Array]", uWe = "[object BigInt64Array]", dWe = "[object Float32Array]", fWe = "[object Float64Array]", pWe = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {return this;})();//#endregion//#region node_modules/es-toolkit/dist/predicate/isBuffer.mjs-function kX(e) {+function AX(e) {return pWe.Buffer !== void 0 && pWe.Buffer.isBuffer(e);}//#endregion//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjsfunction mWe(e, t) {- return AX(e, void 0, e, /* @__PURE__ */ new Map(), t);+ return jX(e, void 0, e, /* @__PURE__ */ new Map(), t);}-function AX(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {+function jX(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {let a = i?.(e, t, n, r);if (a !== void 0) return a;if (UUe(e)) return e;@@ -86166,7 +86175,7 @@ function AX(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {if (Array.isArray(e)) {let t = Array(e.length);r.set(e, t);- for (let a = 0; a < e.length; a++) t[a] = AX(e[a], a, n, r, i);+ for (let a = 0; a < e.length; a++) t[a] = jX(e[a], a, n, r, i);return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;}if (e instanceof Date) return new Date(e.getTime());@@ -86177,71 +86186,71 @@ function AX(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {if (e instanceof Map) {let t = /* @__PURE__ */ new Map();r.set(e, t);- for (let [a, o] of e) t.set(a, AX(o, a, n, r, i));+ for (let [a, o] of e) t.set(a, jX(o, a, n, r, i));return t;}if (e instanceof Set) {let t = /* @__PURE__ */ new Set();r.set(e, t);- for (let a of e) t.add(AX(a, void 0, n, r, i));+ for (let a of e) t.add(jX(a, void 0, n, r, i));return t;}- if (kX(e)) return e.subarray();+ if (AX(e)) return e.subarray();if (WUe(e)) {let t = new (Object.getPrototypeOf(e)).constructor(e.length);r.set(e, t);- for (let a = 0; a < e.length; a++) t[a] = AX(e[a], a, n, r, i);+ for (let a = 0; a < e.length; a++) t[a] = jX(e[a], a, n, r, i);return t;}if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);if (e instanceof DataView) {let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);- return r.set(e, t), jX(t, e, n, r, i), t;+ return r.set(e, t), MX(t, e, n, r, i), t;}if (typeof File < "u" && e instanceof File) {let t = new File([e], e.name, { type: e.type });- return r.set(e, t), jX(t, e, n, r, i), t;+ return r.set(e, t), MX(t, e, n, r, i), t;}if (typeof Blob < "u" && e instanceof Blob) {let t = new Blob([e], { type: e.type });- return r.set(e, t), jX(t, e, n, r, i), t;+ return r.set(e, t), MX(t, e, n, r, i), t;}if (e instanceof Error) {let t = structuredClone(e);- return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, jX(t, e, n, r, i), t;+ return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, MX(t, e, n, r, i), t;}if (e instanceof Boolean) {let t = new Boolean(e.valueOf());- return r.set(e, t), jX(t, e, n, r, i), t;+ return r.set(e, t), MX(t, e, n, r, i), t;}if (e instanceof Number) {let t = new Number(e.valueOf());- return r.set(e, t), jX(t, e, n, r, i), t;+ return r.set(e, t), MX(t, e, n, r, i), t;}if (e instanceof String) {let t = new String(e.valueOf());- return r.set(e, t), jX(t, e, n, r, i), t;+ return r.set(e, t), MX(t, e, n, r, i), t;}if (typeof e == "object" && hWe(e)) {let t = Object.create(Object.getPrototypeOf(e));- return r.set(e, t), jX(t, e, n, r, i), t;+ return r.set(e, t), MX(t, e, n, r, i), t;}return e;}-function jX(e, t, n = e, r, i) {- let a = [...Object.keys(t), ...CX(t)];+function MX(e, t, n = e, r, i) {+ let a = [...Object.keys(t), ...wX(t)];for (let o = 0; o < a.length; o++) {let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);- (c == null || c.writable) && (e[s] = AX(t[s], s, n, r, i));+ (c == null || c.writable) && (e[s] = jX(t[s], s, n, r, i));}}function hWe(e) {- switch (wX(e)) {+ switch (TX(e)) {case KUe:case ZUe:case $Ue:case tWe:- case DX:+ case OX:case JUe:case dWe:case fWe:@@ -86249,11 +86258,11 @@ function hWe(e) {case cWe:case lWe:case YUe:- case EX:- case OX:+ case DX:+ case kX:case GUe:case XUe:- case TX:+ case EX:case qUe:case nWe:case rWe:@@ -86265,11 +86274,11 @@ function hWe(e) {//#endregion//#region node_modules/es-toolkit/dist/object/cloneDeep.mjsfunction gWe(e) {- return AX(e, void 0, e, /* @__PURE__ */ new Map(), void 0);+ return jX(e, void 0, e, /* @__PURE__ */ new Map(), void 0);}//#endregion//#region node_modules/es-toolkit/dist/compat/util/eq.mjs-function MX(e, t) {+function NX(e, t) {return e === t || Number.isNaN(e) && Number.isNaN(t);}//#endregion@@ -86280,17 +86289,17 @@ function _We(e) {//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjsfunction vWe(e, t, n) {- return typeof n == "function" ? NX(e, t, function e(t, r, i, a, o, s) {+ return typeof n == "function" ? PX(e, t, function e(t, r, i, a, o, s) {let c = n(t, r, i, a, o, s);- return c === void 0 ? NX(t, r, e, s, !1) : !!c;+ return c === void 0 ? PX(t, r, e, s, !1) : !!c;}, /* @__PURE__ */ new Map(), !0) : vWe(e, t, () => void 0);}-function NX(e, t, n, r, i = !1) {+function PX(e, t, n, r, i = !1) {if (t === e) return !0;switch (typeof t) {case "object": return yWe(e, t, n, r, i);- case "function": return Object.keys(t).length > 0 ? NX(e, { ...t }, n, r, i) : MX(e, t);- default: return _We(e) && i ? typeof t != "string" || t === "" : MX(e, t);+ case "function": return Object.keys(t).length > 0 ? PX(e, { ...t }, n, r, i) : NX(e, t);+ default: return _We(e) && i ? typeof t != "string" || t === "" : NX(e, t);}}function yWe(e, t, n, r, i = !1) {@@ -86302,7 +86311,7 @@ function yWe(e, t, n, r, i = !1) {if (e == null) return i && a.length === 0;if (i) UUe(e) && (e = Object(e));else {- let t = wX(e);+ let t = TX(e);if (t !== "[object Object]" && t !== "[object Arguments]") return !1;}if (a.length === 0) return !0;@@ -86362,20 +86371,20 @@ function TWe(e, t) {let o = t?.(n, r, i, a);if (o !== void 0) return o;if (typeof e == "object") {- if (wX(e) === "[object Object]" && typeof e.constructor != "function") {+ if (TX(e) === "[object Object]" && typeof e.constructor != "function") {let t = {};- return a.set(e, t), jX(t, e, i, a), t;+ return a.set(e, t), MX(t, e, i, a), t;}switch (Object.prototype.toString.call(e)) {+ case DX:case EX:- case TX:- case DX: {+ case OX: {let t = new e.constructor(e?.valueOf());- return jX(t, e), t;+ return MX(t, e), t;}case KUe: {let t = {};- return jX(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;+ return MX(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;}default: return;}@@ -86400,16 +86409,16 @@ function OWe(e, t = 2 ** 53 - 1) {//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjsfunction kWe(e) {- return typeof e == "object" && !!e && wX(e) === "[object Arguments]";+ return typeof e == "object" && !!e && TX(e) === "[object Arguments]";}//#endregion//#region node_modules/es-toolkit/dist/compat/object/has.mjsfunction AWe(e, t) {let n;- if (n = Array.isArray(t) ? t : typeof t == "string" && qVe(t) && !(t in Object(e)) ? EY(t) : [t], n.length === 0) return !1;+ if (n = Array.isArray(t) ? t : typeof t == "string" && qVe(t) && !(t in Object(e)) ? DY(t) : [t], n.length === 0) return !1;let r = e;for (let e = 0; e < n.length; e++) {- let t = wY(n[e]);+ let t = TY(n[e]);if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || kWe(r)) && OWe(t) && Number(t) < r.length)) return !1;r = r[t];}@@ -86422,17 +86431,17 @@ function jWe(e, t) {case "object":Object.is(e?.valueOf(), -0) && (e = "-0");break;- case "number": e = wY(e);+ case "number": e = TY(e);}return t = EWe(t), function(n) {- let r = DY(n, e);+ let r = OY(n, e);return r === void 0 ? AWe(n, e) : t === void 0 ? r === void 0 : CWe(r, t);};}//#endregion//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs-function PX(e) {- if (e == null) return xX;+function FX(e) {+ if (e == null) return SX;switch (typeof e) {case "function": return e;case "object": return Array.isArray(e) && e.length === 2 ? jWe(e[0], e[1]) : wWe(e);@@ -86446,8 +86455,8 @@ function MWe(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs-function NWe(e, t = xX) {- return SX(e) ? zUe(Array.from(e), BUe(PX(t), 1)).map(MWe) : [];+function NWe(e, t = SX) {+ return CX(e) ? zUe(Array.from(e), BUe(FX(t), 1)).map(MWe) : [];}//#endregion//#region node_modules/recharts/es6/util/payload/getUniqPayload.js@@ -86456,15 +86465,15 @@ function PWe(e, t, n) {}//#endregion//#region node_modules/recharts/es6/state/RechartsReduxContext.js-var FX = /*#__PURE__*/ (0, E.createContext)(null), FWe = (e) => e, IX = () => {- var e = (0, E.useContext)(FX);+var IX = /*#__PURE__*/ (0, E.createContext)(null), FWe = (e) => e, LX = () => {+ var e = (0, E.useContext)(IX);return e ? e.store.dispatch : FWe;-}, LX = () => {}, IWe = () => LX, LWe = (e, t) => e === t;-function RX(e) {- var t = (0, E.useContext)(FX), n = (0, E.useMemo)(() => t ? (t) => {+}, RX = () => {}, IWe = () => RX, LWe = (e, t) => e === t;+function zX(e) {+ var t = (0, E.useContext)(IX), n = (0, E.useMemo)(() => t ? (t) => {if (t != null) return e(t);- } : LX, [t, e]);- return (0, OL.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : IWe, t ? t.store.getState : LX, t ? t.store.getState : LX, n, LWe);+ } : RX, [t, e]);+ return (0, jL.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : IWe, t ? t.store.getState : RX, t ? t.store.getState : RX, n, LWe);}//#endregion//#region node_modules/reselect/dist/reselect.mjs@@ -86495,7 +86504,7 @@ var UWe = class {return this.value;}}, WWe = typeof WeakRef > "u" ? UWe : WeakRef, GWe = 0, KWe = 1;-function zX() {+function BX() {return {s: GWe,v: void 0,@@ -86507,7 +86516,7 @@ function qWe(e) {return e instanceof WWe ? e.deref() : e;}function JWe(e, t = {}) {- let n = zX(), { resultEqualityCheck: r } = t, i, a = 0;+ let n = BX(), { resultEqualityCheck: r } = t, i, a = 0;function o() {let t = n, { length: o } = arguments;for (let e = 0, n = o; e < n; e++) {@@ -86516,12 +86525,12 @@ function JWe(e, t = {}) {let e = t.o;e === null && (t.o = e = /* @__PURE__ */ new WeakMap());let r = e.get(n);- r === void 0 ? (t = zX(), e.set(n, t)) : t = r;+ r === void 0 ? (t = BX(), e.set(n, t)) : t = r;} else {let e = t.p;e === null && (t.p = e = /* @__PURE__ */ new Map());let r = e.get(n);- r === void 0 ? (t = zX(), e.set(n, t)) : t = r;+ r === void 0 ? (t = BX(), e.set(n, t)) : t = r;}}let s = t, c;@@ -86533,7 +86542,7 @@ function JWe(e, t = {}) {return s.s = KWe, s.v = c, c;}return o.clearCache = () => {- n = zX(), o.resetResultsCount();+ n = BX(), o.resetResultsCount();}, o.resultsCount = () => a, o.resetResultsCount = () => {a = 0;}, o;@@ -86588,8 +86597,8 @@ function XWe(e, t = 1) {}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs-function BX(e, t, n) {- return _We(n) && (typeof t == "number" && SX(n) && OWe(t) && t < n.length || typeof t == "string" && t in n) ? MX(n[t], e) : !1;+function VX(e, t, n) {+ return _We(n) && (typeof t == "number" && CX(n) && OWe(t) && t < n.length || typeof t == "string" && t in n) ? NX(n[t], e) : !1;}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs@@ -86608,13 +86617,13 @@ var QWe = (e, t, n) => {return 0;}, $We = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, eGe = /^\w*$/;function tGe(e, t) {- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || TY(e) ? !0 : typeof e == "string" && (eGe.test(e) || !$We.test(e)) || t != null && Object.hasOwn(t, e);+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || EY(e) ? !0 : typeof e == "string" && (eGe.test(e) || !$We.test(e)) || t != null && Object.hasOwn(t, e);}//#endregion//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjsfunction nGe(e, t, n, r) {if (e == null) return [];- n = r ? void 0 : n, Array.isArray(e) || (e = SX(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));+ n = r ? void 0 : n, Array.isArray(e) || (e = CX(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));let i = (e, t) => {let n = e, r = 0;for (; r < t.length && n != null; ++r) n = n[t[r]];@@ -86624,7 +86633,7 @@ function nGe(e, t, n, r) {if (t != null) return typeof e == "object" && "key" in e ? Object.hasOwn(t, e.key) ? t[e.key] : i(t, e.path) : typeof e == "function" ? e(t) : Array.isArray(e) ? i(t, e) : t[e];}, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || tGe(e) ? e : {key: e,- path: EY(e)+ path: DY(e)}));return e.map((e) => ({original: e,@@ -86639,20 +86648,20 @@ function nGe(e, t, n, r) {}//#endregion//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs-function VX(e, ...t) {+function HX(e, ...t) {let n = t.length;- return n > 1 && BX(e, t[0], t[1]) ? t = [] : n > 2 && BX(t[0], t[1], t[2]) && (t = [t[0]]), nGe(e, XWe(t), ["asc"]);+ return n > 1 && VX(e, t[0], t[1]) ? t = [] : n > 2 && VX(t[0], t[1], t[2]) && (t = [t[0]]), nGe(e, XWe(t), ["asc"]);}//#endregion//#region node_modules/recharts/es6/state/selectors/legendSelectors.jsvar rGe = (e) => e.legend.settings, iGe = (e) => e.legend.size, aGe = X([(e) => e.legend.payload, rGe], (e, t) => {var n = t.itemSorter, r = e.flat(1);- return n ? VX(r, n) : r;+ return n ? HX(r, n) : r;});//#endregion//#region node_modules/recharts/es6/context/legendPayloadContext.jsfunction oGe() {- return RX(aGe);+ return zX(aGe);}//#endregion//#region node_modules/recharts/es6/util/useElementOffset.js@@ -86698,9 +86707,9 @@ function dGe(e, t) {function fGe(e) {if (Array.isArray(e)) return e;}-var HX = 1;+var UX = 1;function pGe(e, t) {- return Math.abs(e.height - t.height) > HX || Math.abs(e.left - t.left) > HX || Math.abs(e.top - t.top) > HX || Math.abs(e.width - t.width) > HX;+ return Math.abs(e.height - t.height) > UX || Math.abs(e.left - t.left) > UX || Math.abs(e.top - t.top) > UX || Math.abs(e.width - t.width) > UX;}function mGe(e) {var t = e.getBoundingClientRect();@@ -86738,25 +86747,25 @@ function hGe() {}//#endregion//#region node_modules/redux/dist/redux.mjs-function UX(e) {+function WX(e) {return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;}-var gGe = typeof Symbol == "function" && Symbol.observable || "@@observable", WX = () => Math.random().toString(36).substring(7).split("").join("."), GX = {- INIT: `@@redux/INIT${/* @__PURE__ */ WX()}`,- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ WX()}`,- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${WX()}`+var gGe = typeof Symbol == "function" && Symbol.observable || "@@observable", GX = () => Math.random().toString(36).substring(7).split("").join("."), KX = {+ INIT: `@@redux/INIT${/* @__PURE__ */ GX()}`,+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ GX()}`,+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${GX()}`};-function KX(e) {+function qX(e) {if (typeof e != "object" || !e) return !1;let t = e;for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;}function _Ge(e, t, n) {- if (typeof e != "function") throw Error(UX(2));- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(UX(0));+ if (typeof e != "function") throw Error(WX(2));+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(WX(0));if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {- if (typeof n != "function") throw Error(UX(1));+ if (typeof n != "function") throw Error(WX(1));return n(_Ge)(e, t);}let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;@@ -86766,27 +86775,27 @@ function _Ge(e, t, n) {}));}function u() {- if (c) throw Error(UX(3));+ if (c) throw Error(WX(3));return i;}function d(e) {- if (typeof e != "function") throw Error(UX(4));- if (c) throw Error(UX(5));+ if (typeof e != "function") throw Error(WX(4));+ if (c) throw Error(WX(5));let t = !0;l();let n = s++;return o.set(n, e), function() {if (t) {- if (c) throw Error(UX(6));+ if (c) throw Error(WX(6));t = !1, l(), o.delete(n), a = null;}};}function f(e) {- if (!KX(e)) throw Error(UX(7));- if (e.type === void 0) throw Error(UX(8));- if (typeof e.type != "string") throw Error(UX(17));- if (c) throw Error(UX(9));+ if (!qX(e)) throw Error(WX(7));+ if (e.type === void 0) throw Error(WX(8));+ if (typeof e.type != "string") throw Error(WX(17));+ if (c) throw Error(WX(9));try {c = !0, i = r(i, e);} finally {@@ -86797,14 +86806,14 @@ function _Ge(e, t, n) {}), e;}function p(e) {- if (typeof e != "function") throw Error(UX(10));- r = e, f({ type: GX.REPLACE });+ if (typeof e != "function") throw Error(WX(10));+ r = e, f({ type: KX.REPLACE });}function m() {let e = d;return {subscribe(t) {- if (typeof t != "object" || !t) throw Error(UX(11));+ if (typeof t != "object" || !t) throw Error(WX(11));function n() {let e = t;e.next && e.next(u());@@ -86816,7 +86825,7 @@ function _Ge(e, t, n) {}};}- return f({ type: GX.INIT }), {+ return f({ type: KX.INIT }), {dispatch: f,subscribe: d,getState: u,@@ -86827,8 +86836,8 @@ function _Ge(e, t, n) {function vGe(e) {Object.keys(e).forEach((t) => {let n = e[t];- if (n(void 0, { type: GX.INIT }) === void 0) throw Error(UX(12));- if (n(void 0, { type: GX.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(UX(13));+ if (n(void 0, { type: KX.INIT }) === void 0) throw Error(WX(12));+ if (n(void 0, { type: KX.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(WX(13));});}function yGe(e) {@@ -86848,124 +86857,124 @@ function yGe(e) {let a = !1, o = {};for (let i = 0; i < r.length; i++) {let s = r[i], c = n[s], l = e[s], u = c(l, t);- if (u === void 0) throw t && t.type, Error(UX(14));+ if (u === void 0) throw t && t.type, Error(WX(14));o[s] = u, a ||= u !== l;}return a ||= r.length !== Object.keys(e).length, a ? o : e;};}-function qX(...e) {+function JX(...e) {return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));}function bGe(...e) {return (t) => (n, r) => {let i = t(n, r), a = () => {- throw Error(UX(15));+ throw Error(WX(15));}, o = {getState: i.getState,dispatch: (e, ...t) => a(e, ...t)};- return a = qX(...e.map((e) => e(o)))(i.dispatch), {+ return a = JX(...e.map((e) => e(o)))(i.dispatch), {...i,dispatch: a};};}function xGe(e) {- return KX(e) && "type" in e && typeof e.type == "string";+ return qX(e) && "type" in e && typeof e.type == "string";}//#endregion//#region node_modules/immer/dist/immer.mjs-var SGe = Symbol.for("immer-nothing"), CGe = Symbol.for("immer-draftable"), JX = Symbol.for("immer-state");-function YX(e, ...t) {+var SGe = Symbol.for("immer-nothing"), CGe = Symbol.for("immer-draftable"), YX = Symbol.for("immer-state");+function XX(e, ...t) {throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);}-var XX = Object, ZX = XX.getPrototypeOf, QX = "constructor", $X = "prototype", eZ = "configurable", tZ = "enumerable", nZ = "writable", rZ = "value", iZ = (e) => !!e && !!e[JX];-function aZ(e) {- return e ? EGe(e) || dZ(e) || !!e[CGe] || !!e[QX]?.[CGe] || fZ(e) || pZ(e) : !1;+var ZX = Object, QX = ZX.getPrototypeOf, $X = "constructor", eZ = "prototype", tZ = "configurable", nZ = "enumerable", rZ = "writable", iZ = "value", aZ = (e) => !!e && !!e[YX];+function oZ(e) {+ return e ? EGe(e) || fZ(e) || !!e[CGe] || !!e[$X]?.[CGe] || pZ(e) || mZ(e) : !1;}-var wGe = XX[$X][QX].toString(), TGe = /* @__PURE__ */ new WeakMap();+var wGe = ZX[eZ][$X].toString(), TGe = /* @__PURE__ */ new WeakMap();function EGe(e) {- if (!e || !mZ(e)) return !1;- let t = ZX(e);- if (t === null || t === XX[$X]) return !0;- let n = XX.hasOwnProperty.call(t, QX) && t[QX];+ if (!e || !hZ(e)) return !1;+ let t = QX(e);+ if (t === null || t === ZX[eZ]) return !0;+ let n = ZX.hasOwnProperty.call(t, $X) && t[$X];if (n === Object) return !0;- if (!hZ(n)) return !1;+ if (!gZ(n)) return !1;let r = TGe.get(n);return r === void 0 && (r = Function.toString.call(n), TGe.set(n, r)), r === wGe;}-function oZ(e, t, n = !0) {- sZ(e) === 0 ? (n ? Reflect.ownKeys(e) : XX.keys(e)).forEach((n) => {+function sZ(e, t, n = !0) {+ cZ(e) === 0 ? (n ? Reflect.ownKeys(e) : ZX.keys(e)).forEach((n) => {t(n, e[n], e);}) : e.forEach((n, r) => t(r, n, e));}-function sZ(e) {- let t = e[JX];- return t ? t.type_ : dZ(e) ? 1 : fZ(e) ? 2 : pZ(e) ? 3 : 0;+function cZ(e) {+ let t = e[YX];+ return t ? t.type_ : fZ(e) ? 1 : pZ(e) ? 2 : mZ(e) ? 3 : 0;}-var cZ = (e, t, n = sZ(e)) => n === 2 ? e.has(t) : XX[$X].hasOwnProperty.call(e, t), lZ = (e, t, n = sZ(e)) => n === 2 ? e.get(t) : e[t], uZ = (e, t, n, r = sZ(e)) => {+var lZ = (e, t, n = cZ(e)) => n === 2 ? e.has(t) : ZX[eZ].hasOwnProperty.call(e, t), uZ = (e, t, n = cZ(e)) => n === 2 ? e.get(t) : e[t], dZ = (e, t, n, r = cZ(e)) => {r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;};function DGe(e, t) {return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;}-var dZ = Array.isArray, fZ = (e) => e instanceof Map, pZ = (e) => e instanceof Set, mZ = (e) => typeof e == "object", hZ = (e) => typeof e == "function", gZ = (e) => typeof e == "boolean";+var fZ = Array.isArray, pZ = (e) => e instanceof Map, mZ = (e) => e instanceof Set, hZ = (e) => typeof e == "object", gZ = (e) => typeof e == "function", _Z = (e) => typeof e == "boolean";function OGe(e) {let t = +e;return Number.isInteger(t) && String(t) === e;}-var _Z = (e) => e.copy_ || e.base_, vZ = (e) => e.modified_ ? e.copy_ : e.base_;-function yZ(e, t) {- if (fZ(e)) return new Map(e);- if (pZ(e)) return new Set(e);- if (dZ(e)) return Array[$X].slice.call(e);+var vZ = (e) => e.copy_ || e.base_, yZ = (e) => e.modified_ ? e.copy_ : e.base_;+function bZ(e, t) {+ if (pZ(e)) return new Map(e);+ if (mZ(e)) return new Set(e);+ if (fZ(e)) return Array[eZ].slice.call(e);let n = EGe(e);if (t === !0 || t === "class_only" && !n) {- let t = XX.getOwnPropertyDescriptors(e);- delete t[JX];+ let t = ZX.getOwnPropertyDescriptors(e);+ delete t[YX];let n = Reflect.ownKeys(t);for (let r = 0; r < n.length; r++) {let i = n[r], a = t[i];- a[nZ] === !1 && (a[nZ] = !0, a[eZ] = !0), (a.get || a.set) && (t[i] = {- [eZ]: !0,- [nZ]: !0,- [tZ]: a[tZ],- [rZ]: e[i]+ a[rZ] === !1 && (a[rZ] = !0, a[tZ] = !0), (a.get || a.set) && (t[i] = {+ [tZ]: !0,+ [rZ]: !0,+ [nZ]: a[nZ],+ [iZ]: e[i]});}- return XX.create(ZX(e), t);+ return ZX.create(QX(e), t);}{- let t = ZX(e);+ let t = QX(e);if (t !== null && n) return { ...e };- let r = XX.create(t);- return XX.assign(r, e);- }-}-function bZ(e, t = !1) {- return SZ(e) || iZ(e) || !aZ(e) || (sZ(e) > 1 && XX.defineProperties(e, {- set: xZ,- add: xZ,- clear: xZ,- delete: xZ- }), XX.freeze(e), t && oZ(e, (e, t) => {- bZ(t, !0);+ let r = ZX.create(t);+ return ZX.assign(r, e);+ }+}+function xZ(e, t = !1) {+ return CZ(e) || aZ(e) || !oZ(e) || (cZ(e) > 1 && ZX.defineProperties(e, {+ set: SZ,+ add: SZ,+ clear: SZ,+ delete: SZ+ }), ZX.freeze(e), t && sZ(e, (e, t) => {+ xZ(t, !0);}, !1)), e;}function kGe() {- YX(2);+ XX(2);}-var xZ = { [rZ]: kGe };-function SZ(e) {- return e === null || !mZ(e) || XX.isFrozen(e);+var SZ = { [iZ]: kGe };+function CZ(e) {+ return e === null || !hZ(e) || ZX.isFrozen(e);}-var CZ = "MapSet", wZ = "Patches", AGe = "ArrayMethods", jGe = {};-function TZ(e) {+var wZ = "MapSet", TZ = "Patches", AGe = "ArrayMethods", jGe = {};+function EZ(e) {let t = jGe[e];- return t || YX(0, e), t;+ return t || XX(0, e), t;}-var MGe = (e) => !!jGe[e], EZ, NGe = () => EZ, PGe = (e, t) => ({+var MGe = (e) => !!jGe[e], DZ, NGe = () => DZ, PGe = (e, t) => ({drafts_: [],parent_: e,immer_: t,@@ -86973,38 +86982,38 @@ var MGe = (e) => !!jGe[e], EZ, NGe = () => EZ, PGe = (e, t) => ({unfinalizedDrafts_: 0,handledSet_: /* @__PURE__ */ new Set(),processedForPatches_: /* @__PURE__ */ new Set(),- mapSetPlugin_: MGe(CZ) ? TZ(CZ) : void 0,- arrayMethodsPlugin_: MGe(AGe) ? TZ(AGe) : void 0+ mapSetPlugin_: MGe(wZ) ? EZ(wZ) : void 0,+ arrayMethodsPlugin_: MGe(AGe) ? EZ(AGe) : void 0});function FGe(e, t) {- t && (e.patchPlugin_ = TZ(wZ), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);-}-function DZ(e) {- OZ(e), e.drafts_.forEach(LGe), e.drafts_ = null;+ t && (e.patchPlugin_ = EZ(TZ), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);}function OZ(e) {- e === EZ && (EZ = e.parent_);+ kZ(e), e.drafts_.forEach(LGe), e.drafts_ = null;}-var IGe = (e) => EZ = PGe(EZ, e);+function kZ(e) {+ e === DZ && (DZ = e.parent_);+}+var IGe = (e) => DZ = PGe(DZ, e);function LGe(e) {- let t = e[JX];+ let t = e[YX];t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;}function RGe(e, t) {t.unfinalizedDrafts_ = t.drafts_.length;let n = t.drafts_[0];if (e !== void 0 && e !== n) {- n[JX].modified_ && (DZ(t), YX(4)), aZ(e) && (e = zGe(t, e));+ n[YX].modified_ && (OZ(t), XX(4)), oZ(e) && (e = zGe(t, e));let { patchPlugin_: r } = t;- r && r.generateReplacementPatches_(n[JX].base_, e, t);+ r && r.generateReplacementPatches_(n[YX].base_, e, t);} else e = zGe(t, n);- return BGe(t, e, !0), DZ(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === SGe ? void 0 : e;+ return BGe(t, e, !0), OZ(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === SGe ? void 0 : e;}function zGe(e, t) {- if (SZ(t)) return t;- let n = t[JX];- if (!n) return AZ(t, e.handledSet_, e);- if (!kZ(n, e)) return t;+ if (CZ(t)) return t;+ let n = t[YX];+ if (!n) return jZ(t, e.handledSet_, e);+ if (!AZ(n, e)) return t;if (!n.modified_) return n.base_;if (!n.finalized_) {let { callbacks_: t } = n;@@ -87014,36 +87023,36 @@ function zGe(e, t) {return n.copy_;}function BGe(e, t, n = !1) {- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && bZ(t, n);+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && xZ(t, n);}function VGe(e) {e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;}-var kZ = (e, t) => e.scope_ === t, HGe = [];+var AZ = (e, t) => e.scope_ === t, HGe = [];function UGe(e, t, n, r) {- let i = _Z(e), a = e.type_;- if (r !== void 0 && lZ(i, r, a) === t) {- uZ(i, r, n, a);+ let i = vZ(e), a = e.type_;+ if (r !== void 0 && uZ(i, r, a) === t) {+ dZ(i, r, n, a);return;}if (!e.draftLocations_) {let t = e.draftLocations_ = /* @__PURE__ */ new Map();- oZ(i, (e, n) => {- if (iZ(n)) {+ sZ(i, (e, n) => {+ if (aZ(n)) {let r = t.get(n) || [];r.push(e), t.set(n, r);}});}let o = e.draftLocations_.get(t) ?? HGe;- for (let e of o) uZ(i, e, n, a);+ for (let e of o) dZ(i, e, n, a);}function WGe(e, t, n) {e.callbacks_.push(function(r) {let i = t;- if (!i || !kZ(i, r)) return;+ if (!i || !AZ(i, r)) return;r.mapSetPlugin_?.fixSetContents(i);- let a = vZ(i);+ let a = yZ(i);UGe(e, i.draft_ ?? i, a, n), GGe(i, r);});}@@ -87059,26 +87068,26 @@ function GGe(e, t) {}function KGe(e, t, n) {let { scope_: r } = e;- if (iZ(n)) {- let i = n[JX];- kZ(i, r) && i.callbacks_.push(function() {- FZ(e), UGe(e, n, vZ(i), t);+ if (aZ(n)) {+ let i = n[YX];+ AZ(i, r) && i.callbacks_.push(function() {+ IZ(e), UGe(e, n, yZ(i), t);});- } else aZ(n) && e.callbacks_.push(function() {- let i = _Z(e);- e.type_ === 3 ? i.has(n) && AZ(n, r.handledSet_, r) : lZ(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && AZ(lZ(e.copy_, t, e.type_), r.handledSet_, r);+ } else oZ(n) && e.callbacks_.push(function() {+ let i = vZ(e);+ e.type_ === 3 ? i.has(n) && jZ(n, r.handledSet_, r) : uZ(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && jZ(uZ(e.copy_, t, e.type_), r.handledSet_, r);});}-function AZ(e, t, n) {- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || iZ(e) || t.has(e) || !aZ(e) || SZ(e) || (t.add(e), oZ(e, (r, i) => {- if (iZ(i)) {- let t = i[JX];- kZ(t, n) && (uZ(e, r, vZ(t), e.type_), VGe(t));- } else aZ(i) && AZ(i, t, n);+function jZ(e, t, n) {+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || aZ(e) || t.has(e) || !oZ(e) || CZ(e) || (t.add(e), sZ(e, (r, i) => {+ if (aZ(i)) {+ let t = i[YX];+ AZ(t, n) && (dZ(e, r, yZ(t), e.type_), VGe(t));+ } else oZ(i) && jZ(i, t, n);})), e;}function qGe(e, t) {- let n = dZ(e), r = {+ let n = fZ(e), r = {type_: +!!n,scope_: t ? t.scope_ : NGe(),modified_: !1,@@ -87091,108 +87100,108 @@ function qGe(e, t) {revoke_: null,isManual_: !1,callbacks_: void 0- }, i = r, a = jZ;- n && (i = [r], a = MZ);+ }, i = r, a = MZ;+ n && (i = [r], a = NZ);let { revoke: o, proxy: s } = Proxy.revocable(i, a);return r.draft_ = s, r.revoke_ = o, [s, r];}-var jZ = {+var MZ = {get(e, t) {- if (t === JX) return e;+ if (t === YX) return e;let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);- let i = _Z(e);- if (!cZ(i, t, e.type_)) return YGe(e, i, t);+ let i = vZ(e);+ if (!lZ(i, t, e.type_)) return YGe(e, i, t);let a = i[t];- if (e.finalized_ || !aZ(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && OGe(t)) return a;- if (a === NZ(e.base_, t) || JGe(e, t, a)) {- FZ(e);- let n = e.type_ === 1 ? +t : t, r = IZ(e.scope_, a, e, n);+ if (e.finalized_ || !oZ(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && OGe(t)) return a;+ if (a === PZ(e.base_, t) || JGe(e, t, a)) {+ IZ(e);+ let n = e.type_ === 1 ? +t : t, r = LZ(e.scope_, a, e, n);return e.copy_[n] = r;}return a;},has(e, t) {- return t in _Z(e);+ return t in vZ(e);},ownKeys(e) {- return Reflect.ownKeys(_Z(e));+ return Reflect.ownKeys(vZ(e));},set(e, t, n) {- let r = XGe(_Z(e), t);+ let r = XGe(vZ(e), t);if (r?.set) return r.set.call(e.draft_, n), !0;if (!e.modified_) {- let r = NZ(_Z(e), t), i = r?.[JX];+ let r = PZ(vZ(e), t), i = r?.[YX];if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.delete(t), !0;- if (DGe(n, r) && (n !== void 0 || cZ(e.base_, t, e.type_))) return !0;- FZ(e), PZ(e);+ if (DGe(n, r) && (n !== void 0 || lZ(e.base_, t, e.type_))) return !0;+ IZ(e), FZ(e);}- return e.copy_[t] === n && (n !== void 0 || cZ(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), KGe(e, t, n)), !0;+ return e.copy_[t] === n && (n !== void 0 || lZ(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), KGe(e, t, n)), !0;},deleteProperty(e, t) {- return FZ(e), NZ(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), PZ(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;+ return IZ(e), PZ(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), FZ(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;},getOwnPropertyDescriptor(e, t) {- let n = _Z(e), r = Reflect.getOwnPropertyDescriptor(n, t);+ let n = vZ(e), r = Reflect.getOwnPropertyDescriptor(n, t);return r && {- [nZ]: !0,- [eZ]: e.type_ !== 1 || t !== "length",- [tZ]: r[tZ],- [rZ]: n[t]+ [rZ]: !0,+ [tZ]: e.type_ !== 1 || t !== "length",+ [nZ]: r[nZ],+ [iZ]: n[t]};},defineProperty() {- YX(11);+ XX(11);},getPrototypeOf(e) {- return ZX(e.base_);+ return QX(e.base_);},setPrototypeOf() {- YX(12);+ XX(12);}-}, MZ = {};-for (let e in jZ) {- let t = jZ[e];- MZ[e] = function() {+}, NZ = {};+for (let e in MZ) {+ let t = MZ[e];+ NZ[e] = function() {let e = arguments;return e[0] = e[0][0], t.apply(this, e);};}-MZ.deleteProperty = function(e, t) {- return MZ.set.call(this, e, t, void 0);-}, MZ.set = function(e, t, n) {- return jZ.set.call(this, e[0], t, n, e[0]);+NZ.deleteProperty = function(e, t) {+ return NZ.set.call(this, e, t, void 0);+}, NZ.set = function(e, t, n) {+ return MZ.set.call(this, e[0], t, n, e[0]);};-function NZ(e, t) {- let n = e[JX];- return (n ? _Z(n) : e)[t];+function PZ(e, t) {+ let n = e[YX];+ return (n ? vZ(n) : e)[t];}function JGe(e, t, n) {- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !aZ(n) || n[JX] ? !1 : e.baseRefs_.has(n);+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !oZ(n) || n[YX] ? !1 : e.baseRefs_.has(n);}function YGe(e, t, n) {let r = XGe(t, n);- return r ? rZ in r ? r[rZ] : r.get?.call(e.draft_) : void 0;+ return r ? iZ in r ? r[iZ] : r.get?.call(e.draft_) : void 0;}function XGe(e, t) {if (!(t in e)) return;- let n = ZX(e);+ let n = QX(e);for (; n;) {let e = Object.getOwnPropertyDescriptor(n, t);if (e) return e;- n = ZX(n);+ n = QX(n);}}-function PZ(e) {- e.modified_ || (e.modified_ = !0, e.parent_ && PZ(e.parent_));-}function FZ(e) {- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), yZ(e.base_, e.scope_.immer_.useStrictShallowCopy_));+ e.modified_ || (e.modified_ = !0, e.parent_ && FZ(e.parent_));+}+function IZ(e) {+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), bZ(e.base_, e.scope_.immer_.useStrictShallowCopy_));}var ZGe = class {constructor(e) {this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {- if (hZ(e) && !hZ(t)) {+ if (gZ(e) && !gZ(t)) {let n = t;t = e;let r = this;@@ -87200,30 +87209,30 @@ var ZGe = class {return r.produce(e, (e) => t.call(this, e, ...i));};}- hZ(t) || YX(6), n !== void 0 && !hZ(n) && YX(7);+ gZ(t) || XX(6), n !== void 0 && !gZ(n) && XX(7);let r;- if (aZ(e)) {- let i = IGe(this), a = IZ(i, e, void 0), o = !0;+ if (oZ(e)) {+ let i = IGe(this), a = LZ(i, e, void 0), o = !0;try {r = t(a), o = !1;} finally {- o ? DZ(i) : OZ(i);+ o ? OZ(i) : kZ(i);}return FGe(i, n), RGe(r, i);}- if (!e || !mZ(e)) {- if (r = t(e), r === void 0 && (r = e), r === SGe && (r = void 0), this.autoFreeze_ && bZ(r, !0), n) {+ if (!e || !hZ(e)) {+ if (r = t(e), r === void 0 && (r = e), r === SGe && (r = void 0), this.autoFreeze_ && xZ(r, !0), n) {let t = [], i = [];- TZ(wZ).generateReplacementPatches_(e, r, {+ EZ(TZ).generateReplacementPatches_(e, r, {patches_: t,inversePatches_: i}), n(t, i);}return r;}- YX(1, e);+ XX(1, e);}, this.produceWithPatches = (e, t) => {- if (hZ(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));+ if (gZ(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));let n, r;return [this.produce(e, t, (e, t) => {@@ -87232,16 +87241,16 @@ var ZGe = class {n,r];- }, gZ(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), gZ(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), gZ(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);+ }, _Z(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), _Z(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), _Z(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);}createDraft(e) {- aZ(e) || YX(8), iZ(e) && (e = LZ(e));- let t = IGe(this), n = IZ(t, e, void 0);- return n[JX].isManual_ = !0, OZ(t), n;+ oZ(e) || XX(8), aZ(e) && (e = RZ(e));+ let t = IGe(this), n = LZ(t, e, void 0);+ return n[YX].isManual_ = !0, kZ(t), n;}finishDraft(e, t) {- let n = e && e[JX];- (!n || !n.isManual_) && YX(9);+ let n = e && e[YX];+ (!n || !n.isManual_) && XX(9);let { scope_: r } = n;return FGe(r, t), RGe(void 0, r);}@@ -87267,48 +87276,48 @@ var ZGe = class {}}n > -1 && (t = t.slice(n + 1));- let r = TZ(wZ).applyPatches_;- return iZ(e) ? r(e, t) : this.produce(e, (e) => r(e, t));+ let r = EZ(TZ).applyPatches_;+ return aZ(e) ? r(e, t) : this.produce(e, (e) => r(e, t));}};-function IZ(e, t, n, r) {- let [i, a] = fZ(t) ? TZ(CZ).proxyMap_(t, n) : pZ(t) ? TZ(CZ).proxySet_(t, n) : qGe(t, n);+function LZ(e, t, n, r) {+ let [i, a] = pZ(t) ? EZ(wZ).proxyMap_(t, n) : mZ(t) ? EZ(wZ).proxySet_(t, n) : qGe(t, n);return (n?.scope_ ?? NGe()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? WGe(n, a, r) : a.callbacks_.push(function(e) {e.mapSetPlugin_?.fixSetContents(a);let { patchPlugin_: t } = e;a.modified_ && t && t.generatePatches_(a, [], e);}), i;}-function LZ(e) {- return iZ(e) || YX(10, e), QGe(e);+function RZ(e) {+ return aZ(e) || XX(10, e), QGe(e);}function QGe(e) {- if (!aZ(e) || SZ(e)) return e;- let t = e[JX], n, r = !0;+ if (!oZ(e) || CZ(e)) return e;+ let t = e[YX], n, r = !0;if (t) {if (!t.modified_) return t.base_;- t.finalized_ = !0, n = yZ(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();- } else n = yZ(e, !0);- return oZ(n, (e, t) => {- uZ(n, e, QGe(t));+ t.finalized_ = !0, n = bZ(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();+ } else n = bZ(e, !0);+ return sZ(n, (e, t) => {+ dZ(n, e, QGe(t));}, r), t && (t.finalized_ = !1), n;}globalThis.Iterator?.from;-var $Ge = new ZGe().produce, RZ = (e) => e;+var $Ge = new ZGe().produce, zZ = (e) => e;//#endregion//#region node_modules/redux-thunk/dist/redux-thunk.mjsfunction eKe(e) {return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);}var tKe = eKe(), nKe = eKe, rKe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {- if (arguments.length !== 0) return typeof arguments[0] == "object" ? qX : qX.apply(null, arguments);+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? JX : JX.apply(null, arguments);};typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;-function zZ(e, t) {+function BZ(e, t) {function n(...n) {if (t) {let r = t(...n);- if (!r) throw Error(tQ(0));+ if (!r) throw Error(nQ(0));return {type: e,payload: r.payload,@@ -87338,9 +87347,9 @@ var iKe = class e extends Array {}};function aKe(e) {- return aZ(e) ? $Ge(e, () => {}) : e;+ return oZ(e) ? $Ge(e, () => {}) : e;}-function BZ(e, t, n) {+function VZ(e, t, n) {return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);}function oKe(e) {@@ -87349,7 +87358,7 @@ function oKe(e) {var sKe = () => function(e) {let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new iKe();return t && (oKe(t) ? a.push(tKe) : a.push(nKe(t.extraArgument))), a;-}, cKe = "RTK_autoBatch", VZ = () => (e) => ({+}, cKe = "RTK_autoBatch", HZ = () => (e) => ({payload: e,meta: { [cKe]: !0 }}), lKe = (e) => (t) => {@@ -87384,11 +87393,11 @@ var sKe = () => function(e) {function pKe(e) {let t = sKe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;if (typeof n == "function") c = n;- else if (KX(n)) c = yGe(n);- else throw Error(tQ(1));+ else if (qX(n)) c = yGe(n);+ else throw Error(nQ(1));let l;l = typeof r == "function" ? r(t) : t();- let u = qX;+ let u = JX;i && (u = rKe({trace: !1,...typeof i == "object" && i@@ -87400,8 +87409,8 @@ function mKe(e) {let t = {}, n = [], r, i = {addCase(e, n) {let r = typeof e == "string" ? e : e.type;- if (!r) throw Error(tQ(28));- if (r in t) throw Error(tQ(29));+ if (!r) throw Error(nQ(28));+ if (r in t) throw Error(nQ(29));return t[r] = n, i;},addAsyncThunk(e, r) {@@ -87440,11 +87449,11 @@ function gKe(e, t) {let o = [n[t.type], ...r.filter(({ matcher: e }) => e(t)).map(({ reducer: e }) => e)];return o.filter((e) => !!e).length === 0 && (o = [i]), o.reduce((e, n) => {if (n) {- if (iZ(e)) {+ if (aZ(e)) {let r = n(e, t);return r === void 0 ? e : r;}- if (aZ(e)) return $Ge(e, (e) => n(e, t));+ if (oZ(e)) return $Ge(e, (e) => n(e, t));{let r = n(e, t);if (r === void 0) {@@ -87471,7 +87480,7 @@ function xKe({ creators: e } = {}) {let t = e?.asyncThunk?.[yKe];return function(e) {let { name: n, reducerPath: r = n } = e;- if (!n) throw Error(tQ(11));+ if (!n) throw Error(nQ(11));let i = (typeof e.reducers == "function" ? e.reducers(CKe()) : e.reducers) || {}, a = Object.keys(i), o = {sliceCaseReducersByName: {},sliceCaseReducersByType: {},@@ -87480,8 +87489,8 @@ function xKe({ creators: e } = {}) {}, s = {addCase(e, t) {let n = typeof e == "string" ? e : e.type;- if (!n) throw Error(tQ(12));- if (n in o.sliceCaseReducersByType) throw Error(tQ(13));+ if (!n) throw Error(nQ(12));+ if (n in o.sliceCaseReducersByType) throw Error(nQ(13));return o.sliceCaseReducersByType[n] = t, s;},addMatcher(e, t) {@@ -87527,12 +87536,12 @@ function xKe({ creators: e } = {}) {function h(t, n = !1) {function r(e) {let i = e[t];- return i === void 0 && n && (i = BZ(d, r, m)), i;+ return i === void 0 && n && (i = VZ(d, r, m)), i;}function i(t = l) {- return BZ(BZ(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {+ return VZ(VZ(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {let r = {};- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = SKe(a, t, () => BZ(d, t, m), n);+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = SKe(a, t, () => VZ(d, t, m), n);return r;});}@@ -87573,7 +87582,7 @@ function SKe(e, t, n, r) {}return i.unwrapped = e, i;}-var HZ = /* @__PURE__ */ xKe();+var UZ = /* @__PURE__ */ xKe();function CKe() {function e(e, t) {return {@@ -87601,10 +87610,10 @@ function CKe() {function wKe({ type: e, reducerName: t, createNotation: n }, r, i) {let a, o;if ("reducer" in r) {- if (n && !EKe(r)) throw Error(tQ(17));+ if (n && !EKe(r)) throw Error(nQ(17));a = r.reducer, o = r.prepare;} else a = r;- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? zZ(e, o) : zZ(e));+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? BZ(e, o) : BZ(e));}function TKe(e) {return e._reducerDefinitionType === "asyncThunk";@@ -87613,35 +87622,35 @@ function EKe(e) {return e._reducerDefinitionType === "reducerWithPrepare";}function DKe({ type: e, reducerName: t }, n, r, i) {- if (!i) throw Error(tQ(18));+ if (!i) throw Error(nQ(18));let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {- fulfilled: o || UZ,- pending: s || UZ,- rejected: c || UZ,- settled: l || UZ+ fulfilled: o || WZ,+ pending: s || WZ,+ rejected: c || WZ,+ settled: l || WZ});}-function UZ() {}-var OKe = "task", kKe = "listener", AKe = "completed", WZ = "cancelled", jKe = `task-${WZ}`, MKe = `task-${AKe}`, GZ = `${kKe}-${WZ}`, NKe = `${kKe}-${AKe}`, KZ = class {+function WZ() {}+var OKe = "task", kKe = "listener", AKe = "completed", GZ = "cancelled", jKe = `task-${GZ}`, MKe = `task-${AKe}`, KZ = `${kKe}-${GZ}`, NKe = `${kKe}-${AKe}`, qZ = class {constructor(e) {- this.code = e, this.message = `${OKe} ${WZ} (reason: ${e})`;+ this.code = e, this.message = `${OKe} ${GZ} (reason: ${e})`;}code;name = "TaskAbortError";message;-}, qZ = (e, t) => {- if (typeof e != "function") throw TypeError(tQ(32));-}, JZ = () => {}, PKe = (e, t = JZ) => (e.catch(t), e), FKe = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), YZ = (e) => {- if (e.aborted) throw new KZ(e.reason);+}, JZ = (e, t) => {+ if (typeof e != "function") throw TypeError(nQ(32));+}, YZ = () => {}, PKe = (e, t = YZ) => (e.catch(t), e), FKe = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), XZ = (e) => {+ if (e.aborted) throw new qZ(e.reason);};function IKe(e, t) {- let n = JZ;+ let n = YZ;return new Promise((r, i) => {- let a = () => i(new KZ(e.reason));+ let a = () => i(new qZ(e.reason));e.aborted ? a() : (n = FKe(e, a), t.finally(() => n()).then(r, i));}).finally(() => {- n = JZ;+ n = YZ;});}var LKe = async (e, t) => {@@ -87652,32 +87661,32 @@ var LKe = async (e, t) => {};} catch (e) {return {- status: e instanceof KZ ? "cancelled" : "rejected",+ status: e instanceof qZ ? "cancelled" : "rejected",error: e};} finally {t?.();}-}, XZ = (e) => (t) => PKe(IKe(e, t).then((t) => (YZ(e), t))), RKe = (e) => {- let t = XZ(e);+}, ZZ = (e) => (t) => PKe(IKe(e, t).then((t) => (XZ(e), t))), RKe = (e) => {+ let t = ZZ(e);return (e) => t(new Promise((t) => setTimeout(t, e)));-}, { assign: ZZ } = Object, zKe = {}, QZ = "listenerMiddleware", BKe = (e, t) => {+}, { assign: QZ } = Object, zKe = {}, $Z = "listenerMiddleware", BKe = (e, t) => {let n = (t) => FKe(e, () => t.abort(e.reason));return (r, i) => {- qZ(r, "taskExecutor");+ JZ(r, "taskExecutor");let a = new AbortController();n(a);let o = LKe(async () => {- YZ(e), YZ(a.signal);+ XZ(e), XZ(a.signal);let t = await r({- pause: XZ(a.signal),+ pause: ZZ(a.signal),delay: RKe(a.signal),signal: a.signal});- return YZ(a.signal), t;+ return XZ(a.signal), t;}, () => a.abort(MKe));- return i?.autoJoin && t.push(o.catch(JZ)), {- result: XZ(e)(o),+ return i?.autoJoin && t.push(o.catch(YZ)), {+ result: ZZ(e)(o),cancel() {a.abort(jKe);}@@ -87685,7 +87694,7 @@ var LKe = async (e, t) => {};}, VKe = (e, t) => {let n = async (n, r) => {- YZ(t);+ XZ(t);let i = () => {}, a = [new Promise((t, r) => {let a = e({predicate: n,@@ -87704,7 +87713,7 @@ var LKe = async (e, t) => {r != null && a.push(new Promise((e) => setTimeout(e, r, null)));try {let e = await IKe(t, Promise.race(a));- return YZ(t), e;+ return XZ(t), e;} finally {i();}@@ -87712,16 +87721,16 @@ var LKe = async (e, t) => {return ((e, t) => PKe(n(e, t)));}, HKe = (e) => {let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;- if (t) i = zZ(t).match;+ if (t) i = BZ(t).match;else if (n) t = n.type, i = n.match;else if (r) i = r;- else if (!i) throw Error(tQ(21));- return qZ(a, "options.listener"), {+ else if (!i) throw Error(nQ(21));+ return JZ(a, "options.listener"), {predicate: i,type: t,effect: a};-}, UKe = /* @__PURE__ */ ZZ((e) => {+}, UKe = /* @__PURE__ */ QZ((e) => {let { type: t, predicate: n, effect: r } = HKe(e);return {id: vKe(),@@ -87730,18 +87739,18 @@ var LKe = async (e, t) => {predicate: n,pending: /* @__PURE__ */ new Set(),unsubscribe: () => {- throw Error(tQ(22));+ throw Error(nQ(22));}};}, { withTypes: () => UKe }), WKe = (e, t) => {let { type: n, effect: r, predicate: i } = HKe(t);return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);-}, $Z = (e) => {+}, eQ = (e) => {e.pending.forEach((e) => {- e.abort(GZ);+ e.abort(KZ);});}, GKe = (e, t) => () => {- for (let e of t.keys()) $Z(e);+ for (let e of t.keys()) eQ(e);e.clear();}, KKe = (e, t, n) => {try {@@ -87751,9 +87760,9 @@ var LKe = async (e, t) => {throw e;}, 0);}-}, qKe = /* @__PURE__ */ ZZ(/* @__PURE__ */ zZ(`${QZ}/add`), { withTypes: () => qKe }), JKe = /* @__PURE__ */ zZ(`${QZ}/removeAll`), YKe = /* @__PURE__ */ ZZ(/* @__PURE__ */ zZ(`${QZ}/remove`), { withTypes: () => YKe }), XKe = (...e) => {- console.error(`${QZ}/error`, ...e);-}, eQ = (e = {}) => {+}, qKe = /* @__PURE__ */ QZ(/* @__PURE__ */ BZ(`${$Z}/add`), { withTypes: () => qKe }), JKe = /* @__PURE__ */ BZ(`${$Z}/removeAll`), YKe = /* @__PURE__ */ QZ(/* @__PURE__ */ BZ(`${$Z}/remove`), { withTypes: () => YKe }), XKe = (...e) => {+ console.error(`${$Z}/error`, ...e);+}, tQ = (e = {}) => {let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {let t = n.get(e) ?? 0;n.set(e, t + 1);@@ -87761,28 +87770,28 @@ var LKe = async (e, t) => {let t = n.get(e) ?? 1;t === 1 ? n.delete(e) : n.set(e, t - 1);}, { extra: a, onError: o = XKe } = e;- qZ(o, "onError");+ JZ(o, "onError");let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {- e.unsubscribe(), t?.cancelActive && $Z(e);+ e.unsubscribe(), t?.cancelActive && eQ(e);}), c = ((e) => {let n = WKe(t, e) ?? UKe(e);return s(n);});- ZZ(c, { withTypes: () => c });+ QZ(c, { withTypes: () => c });let l = (e) => {let n = WKe(t, e);- return n && (n.unsubscribe(), e.cancelActive && $Z(n)), !!n;+ return n && (n.unsubscribe(), e.cancelActive && eQ(n)), !!n;};- ZZ(l, { withTypes: () => l });+ QZ(l, { withTypes: () => l });let u = async (e, n, s, l) => {let u = new AbortController(), d = VKe(c, u.signal), f = [];try {- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, ZZ({}, s, {+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, QZ({}, s, {getOriginalState: l,condition: (e, t) => d(e, t).then(Boolean),take: d,delay: RKe(u.signal),- pause: XZ(u.signal),+ pause: ZZ(u.signal),extra: a,signal: u.signal,fork: BKe(u.signal, f),@@ -87792,18 +87801,18 @@ var LKe = async (e, t) => {},cancelActiveListeners: () => {e.pending.forEach((e, t, n) => {- e !== u && (e.abort(GZ), n.delete(e));+ e !== u && (e.abort(KZ), n.delete(e));});},cancel: () => {- u.abort(GZ), e.pending.delete(u);+ u.abort(KZ), e.pending.delete(u);},throwIfCancelled: () => {- YZ(u.signal);+ XZ(u.signal);}})));} catch (e) {- e instanceof KZ || KKe(o, e, { raisedBy: "effect" });+ e instanceof qZ || KKe(o, e, { raisedBy: "effect" });} finally {await Promise.all(f), u.abort(NKe), i(e), e.pending.delete(u);}@@ -87818,7 +87827,7 @@ var LKe = async (e, t) => {}if (YKe.match(r)) return l(r.payload);let i = e.getState(), a = () => {- if (i === zKe) throw Error(tQ(23));+ if (i === zKe) throw Error(nQ(23));return i;}, s;try {@@ -87844,12 +87853,12 @@ var LKe = async (e, t) => {clearListeners: d};};-function tQ(e) {+function nQ(e) {return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;}//#endregion//#region node_modules/recharts/es6/state/layoutSlice.js-var ZKe = HZ({+var ZKe = UZ({name: "chartLayout",initialState: {layoutType: "horizontal",@@ -87877,7 +87886,7 @@ var ZKe = HZ({e.scale = t.payload;}}-}), nQ = ZKe.actions, QKe = nQ.setMargin, $Ke = nQ.setLayout, eqe = nQ.setChartSize, tqe = nQ.setScale, nqe = ZKe.reducer;+}), rQ = ZKe.actions, QKe = rQ.setMargin, $Ke = rQ.setLayout, eqe = rQ.setChartSize, tqe = rQ.setScale, nqe = ZKe.reducer;//#endregion//#region node_modules/recharts/es6/util/getSliced.jsfunction rqe(e, t, n) {@@ -87885,10 +87894,10 @@ function rqe(e, t, n) {}//#endregion//#region node_modules/recharts/es6/util/isWellBehavedNumber.js-function rQ(e) {+function iQ(e) {return Number.isFinite(e);}-function iQ(e) {+function aQ(e) {return typeof e == "number" && e > 0 && Number.isFinite(e);}//#endregion@@ -87903,7 +87912,7 @@ function iqe(e, t) {}return n;}-function aQ(e) {+function oQ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? iqe(Object(n), !0).forEach(function(t) {@@ -87936,26 +87945,26 @@ function sqe(e, t) {}return (t === "string" ? String : Number)(e);}-function oQ(e, t, n) {- return RY(e) || RY(t) ? n : PY(t) ? DY(e, t, n) : typeof t == "function" ? t(e) : n;+function sQ(e, t, n) {+ return zY(e) || zY(t) ? n : FY(t) ? OY(e, t, n) : typeof t == "function" ? t(e) : n;}var cqe = (e, t, n) => {if (t && n) {var r = n.width, i = n.height, a = t.align, o = t.verticalAlign, s = t.layout, c = t.position, l = t.offset, u = l === void 0 ? 0 : l;if (c != null) {- if (WY(c)) {- if (c === "top" && NY(e.top)) return aQ(aQ({}, e), {}, { top: e.top + (i || 0) + u });- if (c === "bottom" && NY(e.bottom)) return aQ(aQ({}, e), {}, { bottom: e.bottom + (i || 0) + u });- if (c === "left" && NY(e.left)) return aQ(aQ({}, e), {}, { left: e.left + (r || 0) + u });- if (c === "right" && NY(e.right)) return aQ(aQ({}, e), {}, { right: e.right + (r || 0) + u });+ if (GY(c)) {+ if (c === "top" && PY(e.top)) return oQ(oQ({}, e), {}, { top: e.top + (i || 0) + u });+ if (c === "bottom" && PY(e.bottom)) return oQ(oQ({}, e), {}, { bottom: e.bottom + (i || 0) + u });+ if (c === "left" && PY(e.left)) return oQ(oQ({}, e), {}, { left: e.left + (r || 0) + u });+ if (c === "right" && PY(e.right)) return oQ(oQ({}, e), {}, { right: e.right + (r || 0) + u });}return e;}- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && NY(e[a])) return aQ(aQ({}, e), {}, { [a]: e[a] + (r || 0) });- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && NY(e[o])) return aQ(aQ({}, e), {}, { [o]: e[o] + (i || 0) });+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && PY(e[a])) return oQ(oQ({}, e), {}, { [a]: e[a] + (r || 0) });+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && PY(e[o])) return oQ(oQ({}, e), {}, { [o]: e[o] + (i || 0) });}return e;-}, sQ = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", lqe = (e, t, n, r) => {+}, cQ = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", lqe = (e, t, n, r) => {if (r) return e.map((e) => e.coordinate);var i, a, o = e.map((e) => (e.coordinate === t && (i = !0), e.coordinate === n && (a = !0), e.coordinate));return i || o.push(t), a || o.push(n), o;@@ -87964,43 +87973,43 @@ var cqe = (e, t, n) => {var r = e.duplicateDomain, i = e.type, a = e.range, o = e.scale, s = e.realScaleType, c = e.isCategorical, l = e.categoricalDomain, u = e.tickCount, d = e.ticks, f = e.niceTicks, p = e.axisType;if (!o) return null;var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;- return h = p === "angleAxis" && a && a.length >= 2 ? AY(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {+ return h = p === "angleAxis" && a && a.length >= 2 ? jY(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {var n = r ? r.indexOf(e) : e, i = o.map(n);- return rQ(i) ? {+ return iQ(i) ? {coordinate: i + h,value: e,offset: h,index: t} : null;- }).filter(BY) : c && l ? l.map((e, t) => {+ }).filter(VY) : c && l ? l.map((e, t) => {var n = o.map(e);- return rQ(n) ? {+ return iQ(n) ? {coordinate: n + h,value: e,index: t,offset: h} : null;- }).filter(BY) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {+ }).filter(VY) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {var n = o.map(e);- return rQ(n) ? {+ return iQ(n) ? {coordinate: n + h,value: e,index: t,offset: h} : null;- }).filter(BY) : o.domain().map((e, t) => {+ }).filter(VY) : o.domain().map((e, t) => {var n = o.map(e);- return rQ(n) ? {+ return iQ(n) ? {coordinate: n + h,value: r ? r[e] : e,index: t,offset: h} : null;- }).filter(BY);+ }).filter(VY);}, dqe = (e, t) => {- if (!t || t.length !== 2 || !NY(t[0]) || !NY(t[1])) return e;+ if (!t || t.length !== 2 || !PY(t[0]) || !PY(t[1])) return e;var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];- return (!NY(e[0]) || e[0] < n) && (i[0] = n), (!NY(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;+ return (!PY(e[0]) || e[0] < n) && (i[0] = n), (!PY(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;}, fqe = {sign: (e) => {var t = e.length;@@ -88009,14 +88018,14 @@ var cqe = (e, t, n) => {if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0, o = 0; o < t; ++o) {var s = e[o]?.[r];if (s != null) {- var c = s[1], l = s[0], u = jY(c) ? l : c;+ var c = s[1], l = s[0], u = MY(c) ? l : c;u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);}}}},expand: aUe,- none: pX,+ none: mX,silhouette: oUe,wiggle: sUe,positive: (e) => {@@ -88026,43 +88035,43 @@ var cqe = (e, t, n) => {if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0; a < t; ++a) {var o = e[a]?.[r];if (o != null) {- var s = jY(o[1]) ? o[0] : o[1];+ var s = MY(o[1]) ? o[0] : o[1];s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);}}}}}, pqe = (e, t, n) => {- var r = fqe[n] ?? pX, i = iUe().keys(t).value((e, t) => Number(oQ(e, t, 0))).order(mX).offset(r)(e);+ var r = fqe[n] ?? mX, i = iUe().keys(t).value((e, t) => Number(sQ(e, t, 0))).order(hX).offset(r)(e);return i.forEach((n, r) => {n.forEach((n, i) => {- var a = oQ(e[i], t[r], 0);- Array.isArray(a) && a.length === 2 && NY(a[0]) && NY(a[1]) && (n[0] = a[0], n[1] = a[1]);+ var a = sQ(e[i], t[r], 0);+ Array.isArray(a) && a.length === 2 && PY(a[0]) && PY(a[1]) && (n[0] = a[0], n[1] = a[1]);});}), i;};-function cQ(e) {+function lQ(e) {return e == null ? void 0 : String(e);}-function lQ(e) {+function uQ(e) {var t = e.axis, n = e.ticks, r = e.bandSize, i = e.entry, a = e.index, o = e.dataKey;if (t.type === "category") {- if (!t.allowDuplicatedCategory && t.dataKey && !RY(i[t.dataKey])) {+ if (!t.allowDuplicatedCategory && t.dataKey && !zY(i[t.dataKey])) {var s = eHe(n, "value", i[t.dataKey]);if (s) return s.coordinate + r / 2;}return n != null && n[a] ? n[a].coordinate + r / 2 : null;}- var c = oQ(i, RY(o) ? t.dataKey : o), l = t.scale.map(c);- return NY(l) ? l : null;+ var c = sQ(i, zY(o) ? t.dataKey : o), l = t.scale.map(c);+ return PY(l) ? l : null;}-var uQ = (e) => {+var dQ = (e) => {var t = e.axis, n = e.ticks, r = e.offset, i = e.bandSize, a = e.entry, o = e.index;if (t.type === "category") return n[o] ? n[o].coordinate + r : null;- var s = oQ(a, t.dataKey, t.scale.domain()[o]);- if (RY(s)) return null;+ var s = sQ(a, t.dataKey, t.scale.domain()[o]);+ if (zY(s)) return null;var c = t.scale.map(s);- return NY(c) ? c - i / 2 + r : null;+ return PY(c) ? c - i / 2 + r : null;}, mqe = (e) => {var t = e.numericAxis, n = t.scale.domain();if (t.type === "number") {@@ -88071,7 +88080,7 @@ var uQ = (e) => {}return n[0];}, hqe = (e) => {- var t = e.flat(2).filter(NY);+ var t = e.flat(2).filter(PY);return [Math.min(...t), Math.max(...t)];}, gqe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], _qe = (e, t, n) => {if (e != null && Object.keys(e).length !== 0) return gqe(Object.keys(e).reduce((r, i) => {@@ -88079,17 +88088,17 @@ var uQ = (e) => {if (!a) return r;var o = a.stackedData.reduce((e, r) => {var i = hqe(rqe(r, t, n));- return !rQ(i[0]) || !rQ(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];+ return !iQ(i[0]) || !iQ(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];}, [Infinity, -Infinity]);return [Math.min(o[0], r[0]), Math.max(o[1], r[1])];}, [Infinity, -Infinity]));-}, vqe = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, yqe = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, dQ = (e, t, n) => {+}, vqe = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, yqe = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, fQ = (e, t, n) => {if (e && e.scale && e.scale.bandwidth) {var r = e.scale.bandwidth();if (!n || r > 0) return r;}if (e && t && t.length >= 2) {- for (var i = VX(t, (e) => e.coordinate), a = [], o = 0, s = 1, c = i.length; s < c; s++) {+ for (var i = HX(t, (e) => e.coordinate), a = [], o = 0, s = 1, c = i.length; s < c; s++) {var l = (i[s]?.coordinate || 0) - (i[s - 1]?.coordinate || 0);a.push(l), o = Math.max(l, o);}@@ -88101,21 +88110,21 @@ var uQ = (e) => {};function bqe(e) {var t = e.tooltipEntrySettings, n = e.dataKey, r = e.payload, i = e.value, a = e.name;- return aQ(aQ({}, t), {}, {+ return oQ(oQ({}, t), {}, {dataKey: n,payload: r,value: i,name: a});}-function fQ(e, t) {+function pQ(e, t) {if (e != null) return String(e);if (typeof t == "string") return t;}var xqe = (e, t) => {if (t === "horizontal") return e.relativeX;if (t === "vertical") return e.relativeY;-}, Sqe = (e, t) => t === "centric" ? e.angle : e.radius, pQ = (e) => e.layout.width, mQ = (e) => e.layout.height, Cqe = (e) => e.layout.scale, hQ = (e) => e.layout.margin, gQ = X((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), _Q = X((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), wqe = "data-recharts-item-index";+}, Sqe = (e, t) => t === "centric" ? e.angle : e.radius, mQ = (e) => e.layout.width, hQ = (e) => e.layout.height, Cqe = (e) => e.layout.scale, gQ = (e) => e.layout.margin, _Q = X((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), vQ = X((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), wqe = "data-recharts-item-index";//#endregion//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.jsfunction Tqe(e, t) {@@ -88128,7 +88137,7 @@ function Tqe(e, t) {}return n;}-function vQ(e) {+function yQ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? Tqe(Object(n), !0).forEach(function(t) {@@ -88163,21 +88172,21 @@ function Oqe(e, t) {}var kqe = (e) => e.brush.height;function Aqe(e) {- return _Q(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);+ return vQ(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);}function jqe(e) {- return _Q(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);+ return vQ(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);}function Mqe(e) {- return gQ(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);+ return _Q(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);}function Nqe(e) {- return gQ(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);+ return _Q(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);}-var yQ = X([- pQ,+var bQ = X([mQ,hQ,+ gQ,kqe,Aqe,jqe,@@ -88189,35 +88198,35 @@ var yQ = X([var u = {left: (n.left || 0) + i,right: (n.right || 0) + a- }, d = vQ(vQ({}, {+ }, d = yQ(yQ({}, {top: (n.top || 0) + o,bottom: (n.bottom || 0) + s}), u), f = d.bottom;d.bottom += r, d = cqe(d, c, l);var p = e - d.left - d.right, m = t - d.top - d.bottom;- return vQ(vQ({ brushBottom: f }, d), {}, {+ return yQ(yQ({ brushBottom: f }, d), {}, {width: Math.max(p, 0),height: Math.max(m, 0)});-}), Pqe = X(yQ, (e) => ({+}), Pqe = X(bQ, (e) => ({x: e.left,y: e.top,width: e.width,height: e.height-})), bQ = X(pQ, mQ, (e, t) => ({+})), xQ = X(mQ, hQ, (e, t) => ({x: 0,y: 0,width: e,height: t-})), Fqe = /*#__PURE__*/ (0, E.createContext)(null), xQ = () => (0, E.useContext)(Fqe) != null, SQ = (e) => e.brush, CQ = X([- SQ,- yQ,- hQ+})), Fqe = /*#__PURE__*/ (0, E.createContext)(null), SQ = () => (0, E.useContext)(Fqe) != null, CQ = (e) => e.brush, wQ = X([+ CQ,+ bQ,+ gQ], (e, t, n) => ({height: e.height,- x: NY(e.x) ? e.x : t.left,- y: NY(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),- width: NY(e.width) ? e.width : t.width+ x: PY(e.x) ? e.x : t.left,+ y: PY(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),+ width: PY(e.width) ? e.width : t.width}));//#endregion//#region node_modules/es-toolkit/dist/function/debounce.mjs@@ -88269,7 +88278,7 @@ function Rqe(e, t = 0, n = {}) {}//#endregion//#region node_modules/recharts/es6/util/LogUtils.js-var wQ = function(e, t) {+var TQ = function(e, t) {var n = [...arguments].slice(2);if (typeof console < "u" && console.warn && (t === void 0 && console.warn("LogUtils requires an error message argument"), !e)) {if (t === void 0) console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");@@ -88278,7 +88287,7 @@ var wQ = function(e, t) {console.warn(t.replace(/%s/g, () => n[r++]));}}-}, TQ = {+}, EQ = {width: "100%",height: "100%",debounce: 0,@@ -88288,7 +88297,7 @@ var wQ = function(e, t) {height: -1}}, zqe = (e, t, n) => {- var r = n.width, i = r === void 0 ? TQ.width : r, a = n.height, o = a === void 0 ? TQ.height : a, s = n.aspect, c = n.maxHeight, l = MY(i) ? e : Number(i), u = MY(o) ? t : Number(o);+ var r = n.width, i = r === void 0 ? EQ.width : r, a = n.height, o = a === void 0 ? EQ.height : a, s = n.aspect, c = n.maxHeight, l = NY(i) ? e : Number(i), u = NY(o) ? t : Number(o);return s && s > 0 && (l ? u = l / s : u && (l = u * s), c && u != null && u > c && (u = c)), {calculatedWidth: l,calculatedHeight: u@@ -88304,12 +88313,12 @@ var wQ = function(e, t) {height: 0,overflowY: "visible"}, Uqe = {}, Wqe = (e) => {- var t = e.width, n = e.height, r = MY(t), i = MY(n);+ var t = e.width, n = e.height, r = NY(t), i = NY(n);return r && i ? Bqe : r ? Vqe : i ? Hqe : Uqe;};function Gqe(e) {var t = e.width, n = e.height, r = e.aspect, i = t, a = n;- return i === void 0 && a === void 0 ? (i = TQ.width, a = TQ.height) : i === void 0 ? i = r && r > 0 ? void 0 : TQ.width : a === void 0 && (a = r && r > 0 ? void 0 : TQ.height), {+ return i === void 0 && a === void 0 ? (i = EQ.width, a = EQ.height) : i === void 0 ? i = r && r > 0 ? void 0 : EQ.width : a === void 0 && (a = r && r > 0 ? void 0 : EQ.height), {width: i,height: a};@@ -88331,14 +88340,14 @@ var Kqe = ["onResize","style"];-function EQ() {- return EQ = Object.assign ? Object.assign.bind() : function(e) {+function DQ() {+ return DQ = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, EQ.apply(null, arguments);+ }, DQ.apply(null, arguments);}function qqe(e, t) {var n = Object.keys(e);@@ -88443,9 +88452,9 @@ function aJe(e, t) {}return n;}-var oJe = /*#__PURE__*/ (0, E.createContext)(TQ.initialDimension);+var oJe = /*#__PURE__*/ (0, E.createContext)(EQ.initialDimension);function sJe(e) {- return iQ(e.width) && iQ(e.height);+ return aQ(e.width) && aQ(e.height);}function cJe(e) {var t = e.children, n = e.width, r = e.height, i = (0, E.useMemo)(() => ({@@ -88454,8 +88463,8 @@ function cJe(e) {}), [n, r]);return sJe(i) ? /*#__PURE__*/ E.createElement(oJe.Provider, { value: i }, t) : null;}-var DQ = () => (0, E.useContext)(oJe), lJe = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = e.aspect, r = e.initialDimension, i = r === void 0 ? TQ.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? TQ.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? TQ.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = iJe(e, Kqe), b = (0, E.useRef)(null), x = (0, E.useRef)();+var OQ = () => (0, E.useContext)(oJe), lJe = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var n = e.aspect, r = e.initialDimension, i = r === void 0 ? EQ.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? EQ.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? EQ.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = iJe(e, Kqe), b = (0, E.useRef)(null), x = (0, E.useRef)();x.current = g, (0, E.useImperativeHandle)(t, () => b.current);var S = Qqe((0, E.useState)({containerWidth: i.width,@@ -88470,7 +88479,7 @@ var DQ = () => (0, E.useContext)(oJe), lJe = /*#__PURE__*/ (0, E.forwardRef)((e,});}, []);(0, E.useEffect)(() => {- if (b.current == null || typeof ResizeObserver > "u") return VY;+ if (b.current == null || typeof ResizeObserver > "u") return HY;var e = (e) => {var t, n = e[0];if (n != null) {@@ -88488,14 +88497,14 @@ var DQ = () => (0, E.useContext)(oJe), lJe = /*#__PURE__*/ (0, E.forwardRef)((e,};}, [T, p]);var D = C.containerWidth, O = C.containerHeight;- wQ(!n || n > 0, "The aspect(%s) must be greater than zero.", n);+ TQ(!n || n > 0, "The aspect(%s) must be greater than zero.", n);var k = zqe(D, O, {width: a,height: o,aspect: n,maxHeight: u}), A = k.calculatedWidth, j = k.calculatedHeight;- return wQ(D < 0 || O < 0 || A != null && A > 0 || j != null && j > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", A, j, a, o, c, l, n), /*#__PURE__*/ E.createElement("div", EQ({+ return TQ(D < 0 || O < 0 || A != null && A > 0 || j != null && j > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", A, j, a, o, c, l, n), /*#__PURE__*/ E.createElement("div", DQ({id: m ? `${m}` : void 0,className: Vv("recharts-responsive-container", h),style: Jqe(Jqe({}, v), {}, {@@ -88513,9 +88522,9 @@ var DQ = () => (0, E.useContext)(oJe), lJe = /*#__PURE__*/ (0, E.forwardRef)((e,width: A,height: j}, d)));-}), OQ = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = DQ();- if (iQ(n.width) && iQ(n.height)) return e.children;+}), kQ = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var n = OQ();+ if (aQ(n.width) && aQ(n.height)) return e.children;var r = Gqe({width: e.width,height: e.height,@@ -88526,16 +88535,16 @@ var DQ = () => (0, E.useContext)(oJe), lJe = /*#__PURE__*/ (0, E.forwardRef)((e,aspect: e.aspect,maxHeight: e.maxHeight}), s = o.calculatedWidth, c = o.calculatedHeight;- return NY(s) && NY(c) ? /*#__PURE__*/ E.createElement(cJe, {+ return PY(s) && PY(c) ? /*#__PURE__*/ E.createElement(cJe, {width: s,height: c- }, e.children) : /*#__PURE__*/ E.createElement(lJe, EQ({}, e, {+ }, e.children) : /*#__PURE__*/ E.createElement(lJe, DQ({}, e, {width: i,height: a,ref: t}));-}), kQ = () => {- var e = xQ(), t = RX(Pqe), n = RX(CQ), r = RX(SQ)?.padding;+}), AQ = () => {+ var e = SQ(), t = zX(Pqe), n = zX(wQ), r = zX(CQ)?.padding;return !e || !n || !r ? t : {width: n.width - r.left - r.right,height: n.height - r.top - r.bottom,@@ -88550,16 +88559,16 @@ var DQ = () => (0, E.useContext)(oJe), lJe = /*#__PURE__*/ (0, E.forwardRef)((e,width: 0,height: 0,brushBottom: 0-}, dJe = () => RX(yQ) ?? uJe, AQ = () => RX(pQ), jQ = () => RX(mQ), fJe = () => RX((e) => e.layout.margin), MQ = (e) => e.layout.layoutType, NQ = () => RX(MQ), PQ = () => {- var e = NQ();+}, dJe = () => zX(bQ) ?? uJe, jQ = () => zX(mQ), MQ = () => zX(hQ), fJe = () => zX((e) => e.layout.margin), NQ = (e) => e.layout.layoutType, PQ = () => zX(NQ), FQ = () => {+ var e = PQ();if (e === "horizontal" || e === "vertical") return e;-}, FQ = (e) => {+}, IQ = (e) => {var t = e.layout.layoutType;if (t === "centric" || t === "radial") return t;-}, IQ = () => RX(FQ), pJe = () => NQ() !== void 0, LQ = (e) => {- var t = IX(), n = xQ(), r = e.width, i = e.height, a = DQ(), o = r, s = i;+}, LQ = () => zX(IQ), pJe = () => PQ() !== void 0, RQ = (e) => {+ var t = LX(), n = SQ(), r = e.width, i = e.height, a = OQ(), o = r, s = i;return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, E.useEffect)(() => {- !n && iQ(o) && iQ(s) && t(eqe({+ !n && aQ(o) && aQ(s) && t(eqe({width: o,height: s}));@@ -88569,7 +88578,7 @@ var DQ = () => (0, E.useContext)(oJe), lJe = /*#__PURE__*/ (0, E.forwardRef)((e,o,s]), null;-}, mJe = HZ({+}, mJe = UZ({name: "legend",initialState: {settings: {@@ -88595,26 +88604,26 @@ var DQ = () => (0, E.useContext)(oJe), lJe = /*#__PURE__*/ (0, E.forwardRef)((e,},addLegendPayload: {reducer(e, t) {- e.payload.push(RZ(t.payload));+ e.payload.push(zZ(t.payload));},- prepare: VZ()+ prepare: HZ()},replaceLegendPayload: {reducer(e, t) {- var n = t.payload, r = n.prev, i = n.next, a = LZ(e).payload.indexOf(RZ(r));- a > -1 && (e.payload[a] = RZ(i));+ var n = t.payload, r = n.prev, i = n.next, a = RZ(e).payload.indexOf(zZ(r));+ a > -1 && (e.payload[a] = zZ(i));},- prepare: VZ()+ prepare: HZ()},removeLegendPayload: {reducer(e, t) {- var n = LZ(e).payload.indexOf(RZ(t.payload));+ var n = RZ(e).payload.indexOf(zZ(t.payload));n > -1 && e.payload.splice(n, 1);},- prepare: VZ()+ prepare: HZ()}}-}), RQ = mJe.actions, hJe = RQ.setLegendSize, gJe = RQ.setLegendSettings, _Je = RQ.addLegendPayload, vJe = RQ.replaceLegendPayload, yJe = RQ.removeLegendPayload, bJe = mJe.reducer, xJe = /* @__PURE__ */ o(((e) => {+}), zQ = mJe.actions, hJe = zQ.setLegendSize, gJe = zQ.setLegendSettings, _Je = zQ.addLegendPayload, vJe = zQ.replaceLegendPayload, yJe = zQ.removeLegendPayload, bJe = mJe.reducer, xJe = /* @__PURE__ */ o(((e) => {var t = _();t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;}));@@ -88761,7 +88770,7 @@ var IJe = FJe, LJe = /* @__PURE__ */ new Set([function RJe(e, t) {return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;}-function zQ(e, t) {+function BQ(e, t) {for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (LJe.has(n)) {if (e[n] == null && t[n] == null) continue;if (!AJe(e[n], t[n])) return !1;@@ -88771,9 +88780,9 @@ function zQ(e, t) {//#endregion//#region node_modules/recharts/es6/state/selectors/selectLegendArea.jsvar zJe = X([- pQ,mQ,- hQ+ hQ,+ gQ], (e, t, n) => ({x: n.left || 0,y: n.top || 0,@@ -88796,14 +88805,14 @@ function BJe(e, t) {//#endregion//#region node_modules/recharts/es6/component/Legend.jsvar VJe = ["contextPayload"];-function BQ() {- return BQ = Object.assign ? Object.assign.bind() : function(e) {+function VQ() {+ return VQ = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, BQ.apply(null, arguments);+ }, VQ.apply(null, arguments);}function HJe(e, t) {return qJe(e) || KJe(e, t) || WJe(e, t) || UJe();@@ -88857,7 +88866,7 @@ function JJe(e, t) {}return n;}-function VQ(e) {+function HQ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? JJe(Object(n), !0).forEach(function(t) {@@ -88912,24 +88921,24 @@ function eYe(e) {return e.value;}function tYe(e) {- var t = e.contextPayload, n = QJe(e, VJe), r = PWe(t, e.payloadUniqBy, eYe), i = VQ(VQ({}, n), {}, { payload: r });+ var t = e.contextPayload, n = QJe(e, VJe), r = PWe(t, e.payloadUniqBy, eYe), i = HQ(HQ({}, n), {}, { payload: r });return /*#__PURE__*/ E.isValidElement(e.content) ? /*#__PURE__*/ E.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ E.createElement(e.content, i) : /*#__PURE__*/ E.createElement(RUe, i);}function nYe(e) {return e === "left" || e === "right" || e === "insideLeft" || e === "insideRight" ? "vertical" : "horizontal";}function rYe(e, t) {- return t == null ? null : WY(t) ? zJe(e) : Pqe(e);+ return t == null ? null : GY(t) ? zJe(e) : Pqe(e);}function iYe(e, t, n) {return e === "top" ? { top: n.height + t } : e === "bottom" ? { top: -n.height - t } : e === "left" ? { left: n.width + t } : e === "right" ? { left: -n.width - t } : {};}function aYe(e, t, n, r, i, a) {var o = t.layout, s = t.align, c = t.verticalAlign, l, u;- return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), VQ(VQ({}, l), u);+ return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), HQ(HQ({}, l), u);}function oYe(e) {- var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = IX();+ var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = LX();return (0, E.useLayoutEffect)(() => {s(gJe({align: t,@@ -88950,7 +88959,7 @@ function oYe(e) {]), null;}function sYe(e) {- var t = e.width, n = e.height, r = IX();+ var t = e.width, n = e.height, r = LX();return (0, E.useLayoutEffect)(() => {r(hJe({width: t,@@ -88981,7 +88990,7 @@ var lYe = {offset: 0};function uYe(e) {- var t = vX(e, lYe), n = e.layout && e.layout !== "auto" ? e.layout : nYe(t.position), r = oGe(), i = cHe(), a = fJe(), o = RX((e) => rYe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || WY(t.position)), f = HJe(hGe([r]), 2), p = f[0], m = f[1], h = AQ(), g = jQ();+ var t = yX(e, lYe), n = e.layout && e.layout !== "auto" ? e.layout : nYe(t.position), r = oGe(), i = cHe(), a = fJe(), o = zX((e) => rYe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || GY(t.position)), f = HJe(hGe([r]), 2), p = f[0], m = f[1], h = jQ(), g = MQ();if (h == null || g == null || t.position != null && o == null) return null;var _ = cYe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : aHe({viewBox: o ?? {@@ -89001,7 +89010,7 @@ function uYe(e) {top: v.y + (y.top ?? 0),left: v.x + (y.left ?? 0),transform: BJe(v.horizontalAnchor, v.verticalAnchor)- } : aYe(l, t, a, h, g, p), C = u ? l : VQ(VQ({+ } : aYe(l, t, a, h, g, p), C = u ? l : HQ(HQ({position: "absolute",width: _?.width || s || "auto",height: _?.height || c || "auto"@@ -89018,7 +89027,7 @@ function uYe(e) {itemSorter: t.itemSorter,position: t.position,offset: t.offset- }), d && /*#__PURE__*/ E.createElement(sYe, p), /*#__PURE__*/ E.createElement(tYe, BQ({}, t, { layout: n }, _, {+ }), d && /*#__PURE__*/ E.createElement(sYe, p), /*#__PURE__*/ E.createElement(tYe, VQ({}, t, { layout: n }, _, {margin: a,chartWidth: h,chartHeight: g,@@ -89026,18 +89035,18 @@ function uYe(e) {})));return /*#__PURE__*/ (0, bt.createPortal)(T, w);}-var dYe = /*#__PURE__*/ E.memo(uYe, zQ);+var dYe = /*#__PURE__*/ E.memo(uYe, BQ);dYe.displayName = "Legend";//#endregion//#region node_modules/recharts/es6/component/DefaultTooltipContent.js-function HQ() {- return HQ = Object.assign ? Object.assign.bind() : function(e) {+function UQ() {+ return UQ = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, HQ.apply(null, arguments);+ }, UQ.apply(null, arguments);}function fYe(e, t) {var n = Object.keys(e);@@ -89049,7 +89058,7 @@ function fYe(e, t) {}return n;}-function UQ(e) {+function WQ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? fYe(Object(n), !0).forEach(function(t) {@@ -89125,9 +89134,9 @@ function xYe(e) {if (Array.isArray(e)) return e;}function SYe(e) {- return Array.isArray(e) && PY(e[0]) && PY(e[1]) ? e.join(" ~ ") : e;+ return Array.isArray(e) && FY(e[0]) && FY(e[1]) ? e.join(" ~ ") : e;}-var WQ = {+var GQ = {separator: " : ",contentStyle: {margin: 0,@@ -89146,10 +89155,10 @@ var WQ = {accessibilityLayer: !1};function CYe(e, t) {- return t == null ? e : VX(e, t);+ return t == null ? e : HX(e, t);}var wYe = (e) => {- var t = e.separator, n = t === void 0 ? WQ.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? WQ.labelStyle : a, s = e.payload, c = e.formatter, l = e.itemSorter, u = e.wrapperClassName, d = e.labelClassName, f = e.label, p = e.labelFormatter, m = e.accessibilityLayer, h = m === void 0 ? WQ.accessibilityLayer : m, g = () => {+ var t = e.separator, n = t === void 0 ? GQ.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? GQ.labelStyle : a, s = e.payload, c = e.formatter, l = e.itemSorter, u = e.wrapperClassName, d = e.labelClassName, f = e.label, p = e.labelFormatter, m = e.accessibilityLayer, h = m === void 0 ? GQ.accessibilityLayer : m, g = () => {if (s && s.length) {var e = {padding: 0,@@ -89165,12 +89174,12 @@ var wYe = (e) => {} else if (d != null) l = d;else return null;}- var p = UQ(UQ({}, WQ.itemStyle), {}, { color: e.color || WQ.itemStyle.color }, i);+ var p = WQ(WQ({}, GQ.itemStyle), {}, { color: e.color || GQ.itemStyle.color }, i);return /*#__PURE__*/ E.createElement("li", {className: "recharts-tooltip-item",key: `tooltip-item-${t}`,style: p- }, PY(u) ? /*#__PURE__*/ E.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, PY(u) ? /*#__PURE__*/ E.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ E.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ E.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));+ }, FY(u) ? /*#__PURE__*/ E.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, FY(u) ? /*#__PURE__*/ E.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ E.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ E.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));});return /*#__PURE__*/ E.createElement("ul", {className: "recharts-tooltip-item-list",@@ -89178,32 +89187,32 @@ var wYe = (e) => {}, t);}return null;- }, _ = UQ(UQ({}, WQ.contentStyle), r), v = UQ({ margin: 0 }, o), y = !RY(f), b = y ? f : "", x = Vv("recharts-default-tooltip", u), S = Vv("recharts-tooltip-label", d);+ }, _ = WQ(WQ({}, GQ.contentStyle), r), v = WQ({ margin: 0 }, o), y = !zY(f), b = y ? f : "", x = Vv("recharts-default-tooltip", u), S = Vv("recharts-tooltip-label", d);y && p && s != null && (b = p(f, s));var C = h ? {role: "status","aria-live": "assertive"} : {};- return /*#__PURE__*/ E.createElement("div", HQ({+ return /*#__PURE__*/ E.createElement("div", UQ({className: x,style: _}, C), /*#__PURE__*/ E.createElement("p", {className: S,style: v}, /*#__PURE__*/ E.isValidElement(b) ? b : `${b}`), g());-}, GQ = "recharts-tooltip-wrapper", TYe = { visibility: "hidden" };+}, KQ = "recharts-tooltip-wrapper", TYe = { visibility: "hidden" };function EYe(e) {var t = e.coordinate, n = e.translateX, r = e.translateY;- return Vv(GQ, {- [`${GQ}-right`]: NY(n) && t && NY(t.x) && n >= t.x,- [`${GQ}-left`]: NY(n) && t && NY(t.x) && n < t.x,- [`${GQ}-bottom`]: NY(r) && t && NY(t.y) && r >= t.y,- [`${GQ}-top`]: NY(r) && t && NY(t.y) && r < t.y+ return Vv(KQ, {+ [`${KQ}-right`]: PY(n) && t && PY(t.x) && n >= t.x,+ [`${KQ}-left`]: PY(n) && t && PY(t.x) && n < t.x,+ [`${KQ}-bottom`]: PY(r) && t && PY(t.y) && r >= t.y,+ [`${KQ}-top`]: PY(r) && t && PY(t.y) && r < t.y});}function DYe(e) {var t = e.allowEscapeViewBox, n = e.coordinate, r = e.key, i = e.offset, a = e.position, o = e.reverseDirection, s = e.tooltipDimension, c = e.viewBox, l = e.viewBoxDimension;- if (a && NY(a[r])) return a[r];+ if (a && PY(a[r])) return a[r];var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;if (t[r]) return o[r] ? u : d;var f = c[r];@@ -89248,7 +89257,7 @@ function kYe(e) {})};}-var KQ = {+var qQ = {devToolsEnabled: !0,isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)};@@ -89297,7 +89306,7 @@ function FYe(e) {if (Array.isArray(e)) return e;}function IYe() {- var e = AYe((0, E.useState)(() => KQ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];+ var e = AYe((0, E.useState)(() => qQ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];return (0, E.useEffect)(() => {if (window.matchMedia) {var e = window.matchMedia("(prefers-reduced-motion: reduce)"), t = () => {@@ -89321,7 +89330,7 @@ function LYe(e, t) {}return n;}-function qQ(e) {+function JQ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? LYe(Object(n), !0).forEach(function(t) {@@ -89423,7 +89432,7 @@ function JYe(e) {return document.addEventListener("keydown", t), () => {document.removeEventListener("keydown", t);};- }, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(qQ(qQ({}, r), {}, { dismissed: !1 }));+ }, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(JQ(JQ({}, r), {}, { dismissed: !1 }));var a = kYe({allowEscapeViewBox: e.allowEscapeViewBox,coordinate: e.coordinate,@@ -89434,7 +89443,7 @@ function JYe(e) {tooltipBox: e.lastBoundingBox,useTranslate3d: e.useTranslate3d,viewBox: e.viewBox- }), o = a.cssClasses, s = a.cssProperties, c = qQ(qQ({}, e.hasPortalFromProps ? {} : qQ(qQ({ transition: qYe({+ }), o = a.cssClasses, s = a.cssProperties, c = JQ(JQ({}, e.hasPortalFromProps ? {} : JQ(JQ({ transition: qYe({prefersReducedMotion: t,isAnimationActive: e.isAnimationActive,active: e.active,@@ -89454,17 +89463,17 @@ function JYe(e) {ref: e.innerRef}, e.children);}-var YYe = /*#__PURE__*/ E.memo(JYe), XYe = () => RX((e) => e.rootProps.accessibilityLayer) ?? !0;+var YYe = /*#__PURE__*/ E.memo(JYe), XYe = () => zX((e) => e.rootProps.accessibilityLayer) ?? !0;//#endregion//#region node_modules/recharts/es6/shape/Curve.js-function JQ() {- return JQ = Object.assign ? Object.assign.bind() : function(e) {+function YQ() {+ return YQ = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, JQ.apply(null, arguments);+ }, YQ.apply(null, arguments);}function ZYe(e, t) {var n = Object.keys(e);@@ -89516,33 +89525,33 @@ var nXe = {curveBumpX: yHe,curveBumpY: bHe,curveLinearClosed: HHe,- curveLinear: tX,+ curveLinear: nX,curveMonotoneX: JHe,curveMonotoneY: YHe,curveNatural: QHe,curveStep: $He,curveStepAfter: tUe,curveStepBefore: eUe-}, YQ = (e) => rQ(e.x) && rQ(e.y), rXe = (e) => e.base != null && YQ(e.base) && YQ(e), XQ = (e) => e.x, ZQ = (e) => e.y, iXe = (e, t) => {+}, XQ = (e) => iQ(e.x) && iQ(e.y), rXe = (e) => e.base != null && XQ(e.base) && XQ(e), ZQ = (e) => e.x, QQ = (e) => e.y, iXe = (e, t) => {if (typeof e == "function") return e;- var n = `curve${zY(e)}`;+ var n = `curve${BY(e)}`;if ((n === "curveMonotone" || n === "curveBump") && t) {var r = nXe[`${n}${t === "vertical" ? "Y" : "X"}`];if (r) return r;}- return nXe[n] || tX;+ return nXe[n] || nX;}, aXe = {connectNulls: !1,type: "linear"}, oXe = (e) => {- var t = e.type, n = t === void 0 ? aXe.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? aXe.connectNulls : s, l = iXe(n, o), u = c ? i.filter(YQ) : i;+ var t = e.type, n = t === void 0 ? aXe.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? aXe.connectNulls : s, l = iXe(n, o), u = c ? i.filter(XQ) : i;if (Array.isArray(a)) {var d, f = i.map((e, t) => QYe(QYe({}, e), {}, { base: a[t] }));- return d = o === "vertical" ? nX().y(ZQ).x1(XQ).x0((e) => e.base.x) : nX().x(XQ).y1(ZQ).y0((e) => e.base.y), d.defined(rXe).curve(l)(c ? f.filter(rXe) : f);+ return d = o === "vertical" ? rX().y(QQ).x1(ZQ).x0((e) => e.base.x) : rX().x(ZQ).y1(QQ).y0((e) => e.base.y), d.defined(rXe).curve(l)(c ? f.filter(rXe) : f);}- return (o === "vertical" && NY(a) ? nX().y(ZQ).x1(XQ).x0(a) : NY(a) ? nX().x(XQ).y1(ZQ).y0(a) : _He().x(XQ).y(ZQ)).defined(YQ).curve(l)(u);-}, QQ = (e) => {- var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = NQ();+ return (o === "vertical" && PY(a) ? rX().y(QQ).x1(ZQ).x0(a) : PY(a) ? rX().x(ZQ).y1(QQ).y0(a) : _He().x(ZQ).y(QQ)).defined(XQ).curve(l)(u);+}, $Q = (e) => {+ var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = PQ();if ((!n || !n.length) && !r) return null;var o = {type: e.type,@@ -89551,7 +89560,7 @@ var nXe = {layout: e.layout || a,connectNulls: e.connectNulls}, s = n && n.length ? oXe(o) : r;- return /*#__PURE__*/ E.createElement("path", JQ({}, gY(e), gX(e), {+ return /*#__PURE__*/ E.createElement("path", YQ({}, _Y(e), _X(e), {className: Vv("recharts-curve", t),d: s === null ? void 0 : s,ref: i@@ -89565,14 +89574,14 @@ var nXe = {"height","className"];-function $Q() {- return $Q = Object.assign ? Object.assign.bind() : function(e) {+function e$() {+ return e$ = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, $Q.apply(null, arguments);+ }, e$.apply(null, arguments);}function cXe(e, t) {var n = Object.keys(e);@@ -89644,7 +89653,7 @@ var hXe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, gXe = (e) => {width: u,height: f}, m);- return !NY(n) || !NY(i) || !NY(u) || !NY(f) || !NY(o) || !NY(c) ? null : /*#__PURE__*/ E.createElement("path", $Q({}, vY(h), {+ return !PY(n) || !PY(i) || !PY(u) || !PY(f) || !PY(o) || !PY(c) ? null : /*#__PURE__*/ E.createElement("path", e$({}, yY(h), {className: Vv("recharts-cross", p),d: hXe(n, i, u, f, o, c)}));@@ -89802,7 +89811,7 @@ function MXe(e, t) {return (t === "string" ? String : Number)(e);}var NXe = "init", PXe = "pending", FXe = "active", IXe = "completed";-function e$(e) {+function t$(e) {return Math.max(0, e);}var LXe = class {@@ -89814,7 +89823,7 @@ var LXe = class {}constructor(e) {var t;- AXe(this, "state", NXe), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = e$(e.animationDuration), this.animationBegin = e$(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);+ AXe(this, "state", NXe), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = t$(e.animationDuration), this.animationBegin = t$(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);}getState() {return this.state;@@ -89830,7 +89839,7 @@ var LXe = class {if (this.getState() === PXe) {if (this.beginStartedTime == null) throw Error();var t = e - this.beginStartedTime;- return t >= this.animationBegin ? (this.state = FXe, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : e$(this.animationBegin - t);+ return t >= this.animationBegin ? (this.state = FXe, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : t$(this.animationBegin - t);}if (this.getState() === FXe) {if (this.animationStartedTime == null) throw Error();@@ -89869,7 +89878,7 @@ var LXe = class {return 0;}getInterpolated() {- return this.easing(LY(this.getFrom(), this.getTo(), this.getProgress()));+ return this.easing(RY(this.getFrom(), this.getTo(), this.getProgress()));}}, zXe = class {setTimeout(e) {@@ -89933,14 +89942,14 @@ var KXe = {canBegin: !0,onAnimationEnd: () => {},onAnimationStart: () => {}-}, qXe = 0, t$ = 1;+}, qXe = 0, n$ = 1;function JXe(e) {- var t = vX(e, KXe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = IYe(), f = r === "auto" ? !KQ.isSsr && !d : r, p = kXe(t.animationController), m = BXe((0, E.useState)(f ? qXe : t$), 2), h = m[0], g = m[1];+ var t = yX(e, KXe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = IYe(), f = r === "auto" ? !qQ.isSsr && !d : r, p = kXe(t.animationController), m = BXe((0, E.useState)(f ? qXe : n$), 2), h = m[0], g = m[1];return (0, E.useEffect)(() => {- f || g(t$);+ f || g(n$);}, [f]), (0, E.useEffect)(() => {var e = DXe(o);- return !f || !i || e == null ? VY : p(new zXe(), new RXe({+ return !f || !i || e == null ? HY : p(new zXe(), new RXe({animationId: n,easing: e,animationDuration: a,@@ -89948,7 +89957,7 @@ function JXe(e) {onAnimationStart: l,onAnimationEnd: c,from: qXe,- to: t$+ to: n$}), g);}, [p,@@ -89965,8 +89974,8 @@ function JXe(e) {//#endregion//#region node_modules/recharts/es6/util/useAnimationId.jsfunction YXe(e) {- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, E.useRef)(FY(t)), r = (0, E.useRef)(e);- return r.current !== e && (n.current = FY(t), r.current = e), n.current;+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, E.useRef)(IY(t)), r = (0, E.useRef)(e);+ return r.current !== e && (n.current = IY(t), r.current = e), n.current;}//#endregion//#region node_modules/recharts/es6/animation/util.js@@ -90014,14 +90023,14 @@ function mZe(e, t) {}return (t === "string" ? String : Number)(e);}-function n$() {- return n$ = Object.assign ? Object.assign.bind() : function(e) {+function r$() {+ return r$ = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, n$.apply(null, arguments);+ }, r$.apply(null, arguments);}function hZe(e, t) {if (e == null) return {};@@ -90083,11 +90092,11 @@ function xZe(e, t) {function SZe(e) {if (Array.isArray(e)) return e;}-function r$(e, t) {+function i$(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}var CZe = (e, t, n, r, i) => {- var a = OY(n), o = OY(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;+ var a = kY(n), o = kY(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;if (s > 0 && Array.isArray(i)) {for (var f = [0,@@ -90098,44 +90107,44 @@ var CZe = (e, t, n, r, i) => {var h = i[p] ?? 0;f[p] = h > s ? s : h;}- d = kY(eZe ||= r$([+ d = AY(eZe ||= i$(["M",",",""- ]), e, t + c * f[0]), f[0] > 0 && (d += kY(tZe ||= r$([+ ]), e, t + c * f[0]), f[0] > 0 && (d += AY(tZe ||= i$(["A ",",",",0,0,",",",",",""- ]), f[0], f[0], u, e + l * f[0], t)), d += kY(nZe ||= r$([+ ]), f[0], f[0], u, e + l * f[0], t)), d += AY(nZe ||= i$(["L ",",",""- ]), e + n - l * f[1], t), f[1] > 0 && (d += kY(rZe ||= r$([+ ]), e + n - l * f[1], t), f[1] > 0 && (d += AY(rZe ||= i$(["A ",",",",0,0,",",\n ",",",""- ]), f[1], f[1], u, e + n, t + c * f[1])), d += kY(iZe ||= r$([+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += AY(iZe ||= i$(["L ",",",""- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += kY(aZe ||= r$([+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += AY(aZe ||= i$(["A ",",",",0,0,",",\n ",",",""- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += kY(oZe ||= r$([+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += AY(oZe ||= i$(["L ",",",""- ]), e + l * f[3], t + r), f[3] > 0 && (d += kY(sZe ||= r$([+ ]), e + l * f[3], t + r), f[3] > 0 && (d += AY(sZe ||= i$(["A ",",",",0,0,",@@ -90145,8 +90154,8 @@ var CZe = (e, t, n, r, i) => {]), f[3], f[3], u, e, t + r - c * f[3])), d += "Z";} else if (s > 0 && i === +i && i > 0) {var g = Math.min(s, i);- d = kY(cZe ||= r$(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);- } else d = kY(lZe ||= r$([+ d = AY(cZe ||= i$(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);+ } else d = AY(lZe ||= i$(["M ",","," h ",@@ -90166,8 +90175,8 @@ var CZe = (e, t, n, r, i) => {animationBegin: 0,animationDuration: 1500,animationEasing: "ease"-}, i$ = (e) => {- var t = vX(e, wZe), n = (0, E.useRef)(null), r = _Ze((0, E.useState)(-1), 2), i = r[0], a = r[1];+}, a$ = (e) => {+ var t = yX(e, wZe), n = (0, E.useRef)(null), r = _Ze((0, E.useState)(-1), 2), i = r[0], a = r[1];(0, E.useEffect)(() => {if (n.current && n.current.getTotalLength) try {var e = n.current.getTotalLength();@@ -90190,14 +90199,14 @@ var CZe = (e, t, n, r, i) => {if (o !== +o || s !== +s || c !== +c || l !== +l || c === 0 || l === 0) return null;var S = Vv("recharts-rectangle", d);if (!g) {- var C = vY(t);+ var C = yY(t);C.radius;var w = hZe(C, QXe);- return /*#__PURE__*/ E.createElement("path", n$({}, w, {- x: OY(o),- y: OY(s),- width: OY(c),- height: OY(l),+ return /*#__PURE__*/ E.createElement("path", r$({}, w, {+ x: kY(o),+ y: kY(s),+ width: kY(c),+ height: kY(l),radius: typeof u == "number" ? u : void 0,className: S,d: CZe(o, s, c, l, u)@@ -90213,15 +90222,15 @@ var CZe = (e, t, n, r, i) => {isActive: g,begin: m}, (e) => {- var r = LY(T, c, e), i = LY(D, l, e), a = LY(O, o, e), d = LY(k, s, e);+ var r = RY(T, c, e), i = RY(D, l, e), a = RY(O, o, e), d = RY(k, s, e);n.current && (_.current = r, v.current = i, y.current = a, b.current = d);var f = h ? e > 0 ? {transition: M,strokeDasharray: j- } : { strokeDasharray: A } : { strokeDasharray: j }, p = vY(t);+ } : { strokeDasharray: A } : { strokeDasharray: j }, p = yY(t);p.radius;var m = hZe(p, $Xe);- return /*#__PURE__*/ E.createElement("path", n$({}, m, {+ return /*#__PURE__*/ E.createElement("path", r$({}, m, {radius: typeof u == "number" ? u : void 0,className: S,d: CZe(a, d, r, i, u),@@ -90275,9 +90284,9 @@ function kZe(e, t) {}return (t === "string" ? String : Number)(e);}-var a$ = Math.PI / 180, o$ = (e) => e * Math.PI / 180, AZe = (e) => e * 180 / Math.PI, s$ = (e, t, n, r) => ({- x: e + Math.cos(-a$ * r) * n,- y: t + Math.sin(-a$ * r) * n+var o$ = Math.PI / 180, s$ = (e) => e * Math.PI / 180, AZe = (e) => e * 180 / Math.PI, c$ = (e, t, n, r) => ({+ x: e + Math.cos(-o$ * r) * n,+ y: t + Math.sin(-o$ * r) * n}), jZe = function(e, t) {var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {top: 0,@@ -90345,7 +90354,7 @@ var a$ = Math.PI / 180, o$ = (e) => e * Math.PI / 180, AZe = (e) => e * 180 / Mafunction LZe(e) {var t = e.cx, n = e.cy, r = e.radius, i = e.startAngle, a = e.endAngle;return {- points: [s$(t, n, r, i), s$(t, n, r, a)],+ points: [c$(t, n, r, i), c$(t, n, r, a)],cx: t,cy: n,radius: r,@@ -90356,28 +90365,28 @@ function LZe(e) {//#endregion//#region node_modules/recharts/es6/shape/Sector.jsvar RZe, zZe, BZe, VZe, HZe, UZe, WZe;-function c$() {- return c$ = Object.assign ? Object.assign.bind() : function(e) {+function l$() {+ return l$ = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, c$.apply(null, arguments);+ }, l$.apply(null, arguments);}-function l$(e, t) {+function u$(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var GZe = (e, t) => AY(t - e) * Math.min(Math.abs(t - e), 359.999), u$ = (e) => {- var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / a$, d = c ? i : i + a * u, f = s$(t, n, l, d), p = s$(t, n, r, d), m = c ? i - a * u : i;+var GZe = (e, t) => jY(t - e) * Math.min(Math.abs(t - e), 359.999), d$ = (e) => {+ var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / o$, d = c ? i : i + a * u, f = c$(t, n, l, d), p = c$(t, n, r, d), m = c ? i - a * u : i;return {center: f,circleTangency: p,- lineTangency: s$(t, n, l * Math.cos(u * a$), m),+ lineTangency: c$(t, n, l * Math.cos(u * o$), m),theta: u};}, KZe = (e) => {- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = GZe(a, o), c = a + s, l = s$(t, n, i, a), u = s$(t, n, i, c), d = kY(RZe ||= l$([+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = GZe(a, o), c = a + s, l = c$(t, n, i, a), u = c$(t, n, i, c), d = AY(RZe ||= u$(["M ",",","\n A ",@@ -90389,8 +90398,8 @@ var GZe = (e, t) => AY(t - e) * Math.min(Math.abs(t - e), 359.999), u$ = (e) =>"\n "]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);if (r > 0) {- var f = s$(t, n, r, a), p = s$(t, n, r, c);- d += kY(zZe ||= l$([+ var f = c$(t, n, r, a), p = c$(t, n, r, c);+ d += AY(zZe ||= u$(["L ",",","\n A ",@@ -90401,14 +90410,14 @@ var GZe = (e, t) => AY(t - e) * Math.min(Math.abs(t - e), 359.999), u$ = (e) =>","," Z"]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);- } else d += kY(BZe ||= l$([+ } else d += AY(BZe ||= u$(["L ",","," Z"]), t, n);return d;}, qZe = (e) => {- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = AY(l - c), d = u$({+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = jY(l - c), d = d$({cx: t,cy: n,radius: i,@@ -90416,7 +90425,7 @@ var GZe = (e, t) => AY(t - e) * Math.min(Math.abs(t - e), 359.999), u$ = (e) =>sign: u,cornerRadius: a,cornerIsExternal: s- }), f = d.circleTangency, p = d.lineTangency, m = d.theta, h = u$({+ }), f = d.circleTangency, p = d.lineTangency, m = d.theta, h = d$({cx: t,cy: n,radius: i,@@ -90425,7 +90434,7 @@ var GZe = (e, t) => AY(t - e) * Math.min(Math.abs(t - e), 359.999), u$ = (e) =>cornerRadius: a,cornerIsExternal: s}), g = h.circleTangency, _ = h.lineTangency, v = h.theta, y = s ? Math.abs(c - l) : Math.abs(c - l) - m - v;- if (y < 0) return o ? kY(VZe ||= l$([+ if (y < 0) return o ? AY(VZe ||= u$(["M ",",","\n a",@@ -90443,7 +90452,7 @@ var GZe = (e, t) => AY(t - e) * Math.min(Math.abs(t - e), 359.999), u$ = (e) =>startAngle: c,endAngle: l});- var b = kY(HZe ||= l$([+ var b = AY(HZe ||= u$(["M ",",","\n A",@@ -90465,7 +90474,7 @@ var GZe = (e, t) => AY(t - e) * Math.min(Math.abs(t - e), 359.999), u$ = (e) =>"\n "]), p.x, p.y, a, a, +(u < 0), f.x, f.y, i, i, +(y > 180), +(u < 0), g.x, g.y, a, a, +(u < 0), _.x, _.y);if (r > 0) {- var x = u$({+ var x = d$({cx: t,cy: n,radius: r,@@ -90474,7 +90483,7 @@ var GZe = (e, t) => AY(t - e) * Math.min(Math.abs(t - e), 359.999), u$ = (e) =>isExternal: !0,cornerRadius: a,cornerIsExternal: s- }), S = x.circleTangency, C = x.lineTangency, w = x.theta, T = u$({+ }), S = x.circleTangency, C = x.lineTangency, w = x.theta, T = d$({cx: t,cy: n,radius: r,@@ -90485,7 +90494,7 @@ var GZe = (e, t) => AY(t - e) * Math.min(Math.abs(t - e), 359.999), u$ = (e) =>cornerIsExternal: s}), E = T.circleTangency, D = T.lineTangency, O = T.theta, k = s ? Math.abs(c - l) : Math.abs(c - l) - w - O;if (k < 0 && a === 0) return `${b}L${t},${n}Z`;- b += kY(UZe ||= l$([+ b += AY(UZe ||= u$(["L",",","\n A",@@ -90506,7 +90515,7 @@ var GZe = (e, t) => AY(t - e) * Math.min(Math.abs(t - e), 359.999), u$ = (e) =>",","Z"]), D.x, D.y, a, a, +(u < 0), E.x, E.y, r, r, +(k > 180), +(u > 0), S.x, S.y, a, a, +(u < 0), C.x, C.y);- } else b += kY(WZe ||= l$([+ } else b += AY(WZe ||= u$(["L",",","Z"@@ -90522,10 +90531,10 @@ var GZe = (e, t) => AY(t - e) * Math.min(Math.abs(t - e), 359.999), u$ = (e) =>cornerRadius: 0,forceCornerRadius: !1,cornerIsExternal: !1-}, d$ = (e) => {- var t = vX(e, JZe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;+}, f$ = (e) => {+ var t = yX(e, JZe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;if (a < i || l === u) return null;- var f = Vv("recharts-sector", d), p = a - i, m = IY(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? qZe({+ var f = Vv("recharts-sector", d), p = a - i, m = LY(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? qZe({cx: n,cy: r,innerRadius: i,@@ -90543,7 +90552,7 @@ var GZe = (e, t) => AY(t - e) * Math.min(Math.abs(t - e), 359.999), u$ = (e) =>startAngle: l,endAngle: u});- return /*#__PURE__*/ E.createElement("path", c$({}, vY(t), {+ return /*#__PURE__*/ E.createElement("path", l$({}, yY(t), {className: f,d: h}));@@ -90567,7 +90576,7 @@ function YZe(e, t, n) {}];if (SUe(t)) {if (e === "centric") {- var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = s$(r, i, a, s), l = s$(r, i, o, s);+ var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = c$(r, i, a, s), l = c$(r, i, o, s);return [{x: c.x,y: c.y@@ -90582,24 +90591,24 @@ function YZe(e, t, n) {//#endregion//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjsfunction XZe(e) {- return TY(e) ? NaN : Number(e);+ return EY(e) ? NaN : Number(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs-function f$(e) {+function p$(e) {return e ? (e = XZe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;}//#endregion//#region node_modules/es-toolkit/dist/compat/math/range.mjsfunction ZZe(e, t, n) {- n && typeof n != "number" && BX(e, t, n) && (t = n = void 0), e = f$(e), t === void 0 ? (t = e, e = 0) : t = f$(t), n = n === void 0 ? e < t ? 1 : -1 : f$(n);+ n && typeof n != "number" && VX(e, t, n) && (t = n = void 0), e = p$(e), t === void 0 ? (t = e, e = 0) : t = p$(t), n = n === void 0 ? e < t ? 1 : -1 : p$(n);let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);for (let t = 0; t < r; t++) i[t] = e, e += n;return i;}//#endregion//#region node_modules/recharts/es6/state/selectors/dataSelectors.js-var p$ = (e) => e.chartData, m$ = X([p$], (e) => {+var m$ = (e) => e.chartData, h$ = X([m$], (e) => {var t = e.chartData == null ? 0 : e.chartData.length - 1;return {chartData: e.chartData,@@ -90607,19 +90616,19 @@ var p$ = (e) => e.chartData, m$ = X([p$], (e) => {dataEndIndex: t,dataStartIndex: 0};-}), h$ = (e, t, n, r) => r ? m$(e) : p$(e), QZe = (e, t, n) => n ? m$(e) : p$(e), $Ze = X([h$], (e) => {+}), g$ = (e, t, n, r) => r ? h$(e) : m$(e), QZe = (e, t, n) => n ? h$(e) : m$(e), $Ze = X([g$], (e) => {var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;return t == null ? [] : t.slice(n, r + 1);-}), eQe = X([m$], (e) => {+}), eQe = X([h$], (e) => {var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;return t == null ? [] : t.slice(n, r + 1);-}), tQe = X([p$], (e) => {+}), tQe = X([m$], (e) => {var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;return t == null ? [] : t.slice(n, r + 1);});//#endregion//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js-function g$(e, t) {+function _$(e, t) {return oQe(e) || aQe(e, t) || rQe(e, t) || nQe();}function nQe() {@@ -90661,10 +90670,10 @@ function aQe(e, t) {function oQe(e) {if (Array.isArray(e)) return e;}-function _$(e) {+function v$(e) {if (Array.isArray(e) && e.length === 2) {- var t = g$(e, 2), n = t[0], r = t[1];- if (rQ(n) && rQ(r)) return !0;+ var t = _$(e, 2), n = t[0], r = t[1];+ if (iQ(n) && iQ(r)) return !0;}return !1;}@@ -90673,25 +90682,25 @@ function sQe(e, t, n) {}function cQe(e, t) {if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {- var n = g$(e, 2), r = n[0], i = n[1], a, o;- if (rQ(r)) a = r;+ var n = _$(e, 2), r = n[0], i = n[1], a, o;+ if (iQ(r)) a = r;else if (typeof r == "function") return;- if (rQ(i)) o = i;+ if (iQ(i)) o = i;else if (typeof i == "function") return;var s = [a, o];- if (_$(s)) return s;+ if (v$(s)) return s;}}function lQe(e, t, n) {if (n || t != null) {if (typeof e == "function" && t != null) try {var r = e(t, n);- if (_$(r)) return sQe(r, t, n);+ if (v$(r)) return sQe(r, t, n);} catch {}if (Array.isArray(e) && e.length === 2) {- var i = g$(e, 2), a = i[0], o = i[1], s, c;+ var i = _$(e, 2), a = i[0], o = i[1], s, c;if (a === "auto") t != null && (s = Math.min(...t));- else if (NY(a)) s = a;+ else if (PY(a)) s = a;else if (typeof a == "function") try {t != null && (s = a(t?.[0]));} catch {}@@ -90704,7 +90713,7 @@ function lQe(e, t, n) {}} else s = t?.[0];if (o === "auto") t != null && (c = Math.max(...t));- else if (NY(o)) c = o;+ else if (PY(o)) c = o;else if (typeof o == "function") try {t != null && (c = o(t?.[1]));} catch {}@@ -90717,13 +90726,13 @@ function lQe(e, t, n) {}} else c = t?.[1];var p = [s, c];- if (_$(p)) return t == null ? p : sQe(p, t, n);+ if (v$(p)) return t == null ? p : sQe(p, t, n);}}}//#endregion//#region node_modules/recharts/es6/util/scale/util/arithmetic.js-var v$ = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {+var y$ = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {(function(e) {var n = 1e9, r = {precision: 20,@@ -91099,15 +91108,15 @@ var v$ = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {})(e);})))());function uQe(e) {- return e === 0 ? 1 : Math.floor(new v$.default(e).abs().log(10).toNumber()) + 1;+ return e === 0 ? 1 : Math.floor(new y$.default(e).abs().log(10).toNumber()) + 1;}function dQe(e, t, n) {- for (var r = new v$.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;+ for (var r = new y$.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;return a;}//#endregion//#region node_modules/recharts/es6/util/scale/getNiceTickValues.js-function y$(e, t) {+function b$(e, t) {return gQe(e) || hQe(e, t) || pQe(e, t) || fQe();}function fQe() {@@ -91150,70 +91159,70 @@ function gQe(e) {if (Array.isArray(e)) return e;}var _Qe = (e) => {- var t = y$(e, 2), n = t[0], r = t[1], i = n, a = r;+ var t = b$(e, 2), n = t[0], r = t[1], i = n, a = r;return n > r && (i = r, a = n), [i, a];-}, b$ = (e, t, n) => {- if (e.lte(0)) return new v$.default(0);- var r = uQe(e.toNumber()), i = new v$.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new v$.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);- return t ? new v$.default(s.toNumber()) : new v$.default(Math.ceil(s.toNumber()));+}, x$ = (e, t, n) => {+ if (e.lte(0)) return new y$.default(0);+ var r = uQe(e.toNumber()), i = new y$.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new y$.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);+ return t ? new y$.default(s.toNumber()) : new y$.default(Math.ceil(s.toNumber()));}, vQe = (e, t, n) => {- if (e.lte(0)) return new v$.default(0);+ if (e.lte(0)) return new y$.default(0);var r = [1,2,2.5,5- ], i = e.toNumber(), a = Math.floor(new v$.default(i).abs().log(10).toNumber()), o = new v$.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);+ ], i = e.toNumber(), a = Math.floor(new y$.default(i).abs().log(10).toNumber()), o = new y$.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);if (c === -1 && (o = o.mul(10), c = 0), c += n, c >= r.length) {var l = Math.floor(c / r.length);- c %= r.length, o = o.mul(new v$.default(10).pow(l));+ c %= r.length, o = o.mul(new y$.default(10).pow(l));}- var u = r[c] ?? 1, d = new v$.default(u).mul(o);- return t ? d : new v$.default(Math.ceil(d.toNumber()));+ var u = r[c] ?? 1, d = new y$.default(u).mul(o);+ return t ? d : new y$.default(Math.ceil(d.toNumber()));}, yQe = (e, t, n) => {- var r = new v$.default(1), i = new v$.default(e);+ var r = new y$.default(1), i = new y$.default(e);if (!i.isint() && n) {var a = Math.abs(e);- a < 1 ? (r = new v$.default(10).pow(uQe(e) - 1), i = new v$.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new v$.default(Math.floor(e)));- } else e === 0 ? i = new v$.default(Math.floor((t - 1) / 2)) : n || (i = new v$.default(Math.floor(e)));- for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new v$.default(c - o).mul(r)).toNumber());+ a < 1 ? (r = new y$.default(10).pow(uQe(e) - 1), i = new y$.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new y$.default(Math.floor(e)));+ } else e === 0 ? i = new y$.default(Math.floor((t - 1) / 2)) : n || (i = new y$.default(Math.floor(e)));+ for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new y$.default(c - o).mul(r)).toNumber());return s;}, bQe = function(e, t, n, r) {- var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : b$;+ var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : x$;if (!Number.isFinite((t - e) / (n - 1))) return {- step: new v$.default(0),- tickMin: new v$.default(0),- tickMax: new v$.default(0)+ step: new y$.default(0),+ tickMin: new y$.default(0),+ tickMax: new y$.default(0)};- var o = a(new v$.default(t).sub(e).div(n - 1), r, i), s;- e <= 0 && t >= 0 ? s = new v$.default(0) : (s = new v$.default(e).add(t).div(2), s = s.sub(new v$.default(s).mod(o)));- var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new v$.default(t).sub(s).div(o).toNumber()), u = c + l + 1;+ var o = a(new y$.default(t).sub(e).div(n - 1), r, i), s;+ e <= 0 && t >= 0 ? s = new y$.default(0) : (s = new y$.default(e).add(t).div(2), s = s.sub(new y$.default(s).mod(o)));+ var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new y$.default(t).sub(s).div(o).toNumber()), u = c + l + 1;return u > n ? bQe(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {step: o,- tickMin: s.sub(new v$.default(c).mul(o)),- tickMax: s.add(new v$.default(l).mul(o))+ tickMin: s.sub(new y$.default(c).mul(o)),+ tickMax: s.add(new y$.default(l).mul(o))});}, xQe = function(e) {- var t = y$(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = y$(_Qe([n, r]), 2), l = c[0], u = c[1];+ var t = b$(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = b$(_Qe([n, r]), 2), l = c[0], u = c[1];if (l === -Infinity || u === Infinity) {var d = u === Infinity ? [l, ...Array(i - 1).fill(Infinity)] : [...Array(i - 1).fill(-Infinity), u];return n > r ? d.reverse() : d;}if (l === u) return yQe(l, i, a);- var f = bQe(l, u, s, a, 0, o === "snap125" ? vQe : b$), p = f.step, m = f.tickMin, h = f.tickMax, g = dQe(m, h.add(new v$.default(.1).mul(p)), p);+ var f = bQe(l, u, s, a, 0, o === "snap125" ? vQe : x$), p = f.step, m = f.tickMin, h = f.tickMax, g = dQe(m, h.add(new y$.default(.1).mul(p)), p);return n > r ? g.reverse() : g;}, SQe = function(e, t) {- var n = y$(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = y$(_Qe([r, i]), 2), c = s[0], l = s[1];+ var n = b$(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = b$(_Qe([r, i]), 2), c = s[0], l = s[1];if (c === -Infinity || l === Infinity) return [r, i];if (c === l) return [c];- var u = o === "snap125" ? vQe : b$, d = Math.max(t, 2), f = u(new v$.default(l).sub(c).div(d - 1), a, 0), p = [...dQe(new v$.default(c), new v$.default(l), f), l];+ var u = o === "snap125" ? vQe : x$, d = Math.max(t, 2), f = u(new y$.default(l).sub(c).div(d - 1), a, 0), p = [...dQe(new y$.default(c), new y$.default(l), f), l];if (a === !1) {p = p.map((e) => Math.round(e));var m = p.length - 1;m > 0 && p[m] === p[m - 1] && (p = p.slice(0, m));}return r > i ? p.reverse() : p;-}, x$ = (e) => e.rootProps.maxBarSize, CQe = (e) => e.rootProps.barGap, S$ = (e) => e.rootProps.barCategoryGap, wQe = (e) => e.rootProps.barSize, C$ = (e) => e.rootProps.stackOffset, w$ = (e) => e.rootProps.reverseStackOrder, T$ = (e) => e.options.chartName, E$ = (e) => e.rootProps.syncId, TQe = (e) => e.rootProps.syncMethod, D$ = (e) => e.options.eventEmitter, EQe = (e) => e.rootProps.baseValue, O$ = {+}, S$ = (e) => e.rootProps.maxBarSize, CQe = (e) => e.rootProps.barGap, C$ = (e) => e.rootProps.barCategoryGap, wQe = (e) => e.rootProps.barSize, w$ = (e) => e.rootProps.stackOffset, T$ = (e) => e.rootProps.reverseStackOrder, E$ = (e) => e.options.chartName, D$ = (e) => e.rootProps.syncId, TQe = (e) => e.rootProps.syncMethod, O$ = (e) => e.options.eventEmitter, EQe = (e) => e.rootProps.baseValue, k$ = {grid: -100,barBackground: -50,area: 100,@@ -91226,7 +91235,7 @@ var _Qe = (e) => {cursorLine: 1100,activeDot: 1200,label: 2e3-}, k$ = {+}, A$ = {allowDecimals: !1,allowDuplicatedCategory: !0,allowDataOverflow: !1,@@ -91247,8 +91256,8 @@ var _Qe = (e) => {tickLine: !0,tickSize: 8,type: "auto",- zIndex: O$.axis-}, A$ = {+ zIndex: k$.axis+}, j$ = {allowDataOverflow: !1,allowDecimals: !1,allowDuplicatedCategory: !0,@@ -91267,15 +91276,15 @@ var _Qe = (e) => {tickCount: 5,tickLine: !0,type: "auto",- zIndex: O$.axis-}, j$ = (e, t) => {+ zIndex: k$.axis+}, M$ = (e, t) => {if (e && t) return e != null && e.reversed ? [t[1], t[0]] : t;};//#endregion//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js-function M$(e, t, n) {+function N$(e, t, n) {if (n !== "auto") return n;- if (e != null) return sQ(e, t) ? "category" : "number";+ if (e != null) return cQ(e, t) ? "category" : "number";}//#endregion//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js@@ -91289,7 +91298,7 @@ function DQe(e, t) {}return n;}-function N$(e) {+function P$(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? DQe(Object(n), !0).forEach(function(t) {@@ -91323,76 +91332,76 @@ function AQe(e, t) {return (t === "string" ? String : Number)(e);}var jQe = {- allowDataOverflow: k$.allowDataOverflow,- allowDecimals: k$.allowDecimals,+ allowDataOverflow: A$.allowDataOverflow,+ allowDecimals: A$.allowDecimals,allowDuplicatedCategory: !1,dataKey: void 0,domain: void 0,- id: k$.angleAxisId,+ id: A$.angleAxisId,includeHidden: !1,name: void 0,- reversed: k$.reversed,- scale: k$.scale,- tick: k$.tick,+ reversed: A$.reversed,+ scale: A$.scale,+ tick: A$.tick,tickCount: void 0,ticks: void 0,- type: k$.type,+ type: A$.type,unit: void 0,niceTicks: "auto"}, MQe = {- allowDataOverflow: A$.allowDataOverflow,- allowDecimals: A$.allowDecimals,- allowDuplicatedCategory: A$.allowDuplicatedCategory,+ allowDataOverflow: j$.allowDataOverflow,+ allowDecimals: j$.allowDecimals,+ allowDuplicatedCategory: j$.allowDuplicatedCategory,dataKey: void 0,domain: void 0,- id: A$.radiusAxisId,- includeHidden: A$.includeHidden,+ id: j$.radiusAxisId,+ includeHidden: j$.includeHidden,name: void 0,- reversed: A$.reversed,- scale: A$.scale,- tick: A$.tick,- tickCount: A$.tickCount,+ reversed: j$.reversed,+ scale: j$.scale,+ tick: j$.tick,+ tickCount: j$.tickCount,ticks: void 0,- type: A$.type,+ type: j$.type,unit: void 0,niceTicks: "auto"-}, P$ = X([(e, t) => {+}, F$ = X([(e, t) => {if (t != null) return e.polarAxis.angleAxis[t];-}, FQ], (e, t) => {+}, IQ], (e, t) => {if (e != null) return e;- var n = M$(t, "angleAxis", jQe.type) ?? "category";- return N$(N$({}, jQe), {}, { type: n });-}), F$ = X([(e, t) => e.polarAxis.radiusAxis[t], FQ], (e, t) => {+ var n = N$(t, "angleAxis", jQe.type) ?? "category";+ return P$(P$({}, jQe), {}, { type: n });+}), I$ = X([(e, t) => e.polarAxis.radiusAxis[t], IQ], (e, t) => {if (e != null) return e;- var n = M$(t, "radiusAxis", MQe.type) ?? "category";- return N$(N$({}, MQe), {}, { type: n });-}), I$ = (e) => e.polarOptions, L$ = X([- pQ,+ var n = N$(t, "radiusAxis", MQe.type) ?? "category";+ return P$(P$({}, MQe), {}, { type: n });+}), L$ = (e) => e.polarOptions, R$ = X([mQ,- yQ-], jZe), NQe = X([I$, L$], (e, t) => {- if (e != null) return IY(e.innerRadius, t, 0);-}), PQe = X([I$, L$], (e, t) => {- if (e != null) return IY(e.outerRadius, t, t * .8);-}), FQe = X([I$], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), IQe = X([P$, FQe], j$), LQe = X([- L$,+ hQ,+ bQ+], jZe), NQe = X([L$, R$], (e, t) => {+ if (e != null) return LY(e.innerRadius, t, 0);+}), PQe = X([L$, R$], (e, t) => {+ if (e != null) return LY(e.outerRadius, t, t * .8);+}), FQe = X([L$], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), IQe = X([F$, FQe], M$), LQe = X([+ R$,NQe,PQe], (e, t, n) => {if (e != null && t != null && n != null) return [t, n];-}), RQe = X([F$, LQe], j$), R$ = X([- MQ,- I$,+}), RQe = X([I$, LQe], M$), z$ = X([+ NQ,+ L$,NQe,PQe,- pQ,- mQ+ mQ,+ hQ], (e, t, n, r, i, a) => {if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {var o = t.cx, s = t.cy, c = t.startAngle, l = t.endAngle;return {- cx: IY(o, i, i / 2),- cy: IY(s, a, a / 2),+ cx: LY(o, i, i / 2),+ cy: LY(s, a, a / 2),innerRadius: n,outerRadius: r,startAngle: c,@@ -91400,22 +91409,22 @@ var jQe = {clockWise: !1};}-}), z$ = (e, t) => t, B$ = (e, t, n) => n;+}), B$ = (e, t) => t, V$ = (e, t, n) => n;//#endregion//#region node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js-function V$(e) {+function H$(e) {return e?.id;}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js-function H$(e, t, n) {+function U$(e, t, n) {var r = t.chartData, i = r === void 0 ? [] : r, a = n.allowDuplicatedCategory, o = n.dataKey, s = /* @__PURE__ */ new Map();return e.forEach((e) => {var t = e.data ?? i;if (t != null && t.length !== 0) {- var n = V$(e);+ var n = H$(e);t.forEach((t, r) => {- var i = o == null || a ? r : String(oQ(t, o, null)), c = oQ(t, e.dataKey, 0), l = s.has(i) ? s.get(i) : {};+ var i = o == null || a ? r : String(sQ(t, o, null)), c = sQ(t, e.dataKey, 0), l = s.has(i) ? s.get(i) : {};Object.assign(l, { [n]: c }), s.set(i, l);});}@@ -91423,15 +91432,15 @@ function H$(e, t, n) {}//#endregion//#region node_modules/recharts/es6/state/types/StackedGraphicalItem.js-function U$(e) {+function W$(e) {return "stackId" in e && e.stackId != null && e.dataKey != null;}//#endregion//#region node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js-var W$ = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];+var G$ = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];//#endregion//#region node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js-function G$(e, t) {+function K$(e, t) {return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;}function zQe(e, t) {@@ -91443,13 +91452,13 @@ function zQe(e, t) {}//#endregion//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js-var K$ = (e) => {- var t = MQ(e);+var q$ = (e) => {+ var t = NQ(e);return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";-}, q$ = (e) => e.tooltip.settings.axisId;+}, J$ = (e) => e.tooltip.settings.axisId;//#endregion//#region node_modules/recharts/es6/util/scale/RechartsScale.js-function J$(e) {+function Y$(e) {if (e != null) {var t = e.ticks, n = e.bandwidth, r = e.range(), i = [Math.min(...r), Math.max(...r)];return {@@ -91493,10 +91502,10 @@ function J$(e) {var BQe = (e, t) => {if (t != null) switch (e) {case "linear":- if (!_$(t)) {+ if (!v$(t)) {for (var n, r, i = 0; i < t.length; i++) {var a = t[i];- rQ(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));+ iQ(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));}return n !== void 0 && r !== void 0 ? [n, r] : void 0;}@@ -91506,12 +91515,12 @@ var BQe = (e, t) => {};//#endregion//#region node_modules/d3-array/src/ascending.js-function Y$(e, t) {+function X$(e, t) {return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;}//#endregion//#region node_modules/d3-array/src/bisector.js-function X$(e) {+function Z$(e) {let t = e, n = e;e.length === 1 && (t = (t, n) => e(t) - n, n = VQe(e));function r(e, t, r, i) {@@ -91540,7 +91549,7 @@ function X$(e) {};}function VQe(e) {- return (t, n) => Y$(e(t), n);+ return (t, n) => X$(e(t), n);}//#endregion//#region node_modules/d3-array/src/number.js@@ -91556,8 +91565,8 @@ function* UQe(e, t) {}//#endregion//#region node_modules/d3-array/src/bisect.js-var WQe = X$(Y$), Z$ = WQe.right;-WQe.left, X$(HQe).center;+var WQe = Z$(X$), Q$ = WQe.right;+WQe.left, Z$(HQe).center;//#endregion//#region node_modules/internmap/src/index.jsvar GQe = class extends Map {@@ -91597,8 +91606,8 @@ function YQe(e) {}//#endregion//#region node_modules/d3-array/src/ticks.js-var Q$ = Math.sqrt(50), $$ = Math.sqrt(10), e1 = Math.sqrt(2);-function t1(e, t, n) {+var $$ = Math.sqrt(50), e1 = Math.sqrt(10), t1 = Math.sqrt(2);+function n1(e, t, n) {var r, i = -1, a, o, s;if (t = +t, e = +e, n = +n, e === t && n > 0) return [e];if ((r = t < e) && (a = e, e = t, t = a), (s = XQe(e, t, n)) === 0 || !isFinite(s)) return [];@@ -91614,15 +91623,15 @@ function t1(e, t, n) {}function XQe(e, t, n) {var r = (t - e) / Math.max(0, n), i = Math.floor(Math.log(r) / Math.LN10), a = r / 10 ** i;- return i >= 0 ? (a >= Q$ ? 10 : a >= $$ ? 5 : a >= e1 ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= Q$ ? 10 : a >= $$ ? 5 : a >= e1 ? 2 : 1);+ return i >= 0 ? (a >= $$ ? 10 : a >= e1 ? 5 : a >= t1 ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= $$ ? 10 : a >= e1 ? 5 : a >= t1 ? 2 : 1);}-function n1(e, t, n) {+function r1(e, t, n) {var r = Math.abs(t - e) / Math.max(0, n), i = 10 ** Math.floor(Math.log(r) / Math.LN10), a = r / i;- return a >= Q$ ? i *= 10 : a >= $$ ? i *= 5 : a >= e1 && (i *= 2), t < e ? -i : i;+ return a >= $$ ? i *= 10 : a >= e1 ? i *= 5 : a >= t1 && (i *= 2), t < e ? -i : i;}//#endregion//#region node_modules/d3-array/src/max.js-function r1(e, t) {+function i1(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 {@@ -91633,7 +91642,7 @@ function r1(e, t) {}//#endregion//#region node_modules/d3-array/src/min.js-function i1(e, t) {+function a1(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 {@@ -91644,22 +91653,22 @@ function i1(e, t) {}//#endregion//#region node_modules/d3-array/src/quickselect.js-function ZQe(e, t, n = 0, r = e.length - 1, i = Y$) {+function ZQe(e, t, n = 0, r = e.length - 1, i = X$) {for (; r > n;) {if (r - n > 600) {let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);ZQe(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);}let a = e[t], o = n, s = r;- for (a1(e, n, t), i(e[r], a) > 0 && a1(e, n, r); o < s;) {- for (a1(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;+ for (o1(e, n, t), i(e[r], a) > 0 && o1(e, n, r); o < s;) {+ for (o1(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;for (; i(e[s], a) > 0;) --s;}- i(e[n], a) === 0 ? a1(e, n, s) : (++s, a1(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);+ i(e[n], a) === 0 ? o1(e, n, s) : (++s, o1(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);}return e;}-function a1(e, t, n) {+function o1(e, t, n) {let r = e[t];e[t] = e[n], e[n] = r;}@@ -91667,10 +91676,10 @@ function a1(e, t, n) {//#region node_modules/d3-array/src/quantile.jsfunction QQe(e, t, n) {if (e = Float64Array.from(UQe(e, n)), r = e.length) {- if ((t = +t) <= 0 || r < 2) return i1(e);- if (t >= 1) return r1(e);- var r, i = (r - 1) * t, a = Math.floor(i), o = r1(ZQe(e, a).subarray(0, a + 1));- return o + (i1(e.subarray(a + 1)) - o) * (i - a);+ if ((t = +t) <= 0 || r < 2) return a1(e);+ if (t >= 1) return i1(e);+ var r, i = (r - 1) * t, a = Math.floor(i), o = i1(ZQe(e, a).subarray(0, a + 1));+ return o + (a1(e.subarray(a + 1)) - o) * (i - a);}}function $Qe(e, t, n = HQe) {@@ -91690,7 +91699,7 @@ function e$e(e, t, n) {}//#endregion//#region node_modules/d3-array/src/sum.js-function o1(e, t) {+function s1(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -91701,7 +91710,7 @@ function o1(e, t) {}//#endregion//#region node_modules/d3-scale/src/init.js-function s1(e, t) {+function c1(e, t) {switch (arguments.length) {case 0: break;case 1:@@ -91711,7 +91720,7 @@ function s1(e, t) {}return this;}-function c1(e, t) {+function l1(e, t) {switch (arguments.length) {case 0: break;case 1:@@ -91723,13 +91732,13 @@ function c1(e, t) {}//#endregion//#region node_modules/d3-scale/src/ordinal.js-var l1 = Symbol("implicit");-function u1() {- var e = new GQe(), t = [], n = [], r = l1;+var u1 = Symbol("implicit");+function d1() {+ var e = new GQe(), t = [], n = [], r = u1;function i(i) {let a = e.get(i);if (a === void 0) {- if (r !== l1) return r;+ if (r !== u1) return r;e.set(i, a = t.push(i) - 1);}return n[a % n.length];@@ -91744,13 +91753,13 @@ function u1() {}, i.unknown = function(e) {return arguments.length ? (r = e, i) : r;}, i.copy = function() {- return u1(t, n).unknown(r);- }, s1.apply(i, arguments), i;+ return d1(t, n).unknown(r);+ }, c1.apply(i, arguments), i;}//#endregion//#region node_modules/d3-scale/src/band.js-function d1() {- var e = u1().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;+function f1() {+ var e = d1().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;delete e.unknown;function d() {var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;@@ -91781,8 +91790,8 @@ function d1() {}, e.align = function(e) {return arguments.length ? (u = Math.max(0, Math.min(1, e)), d()) : u;}, e.copy = function() {- return d1(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);- }, s1.apply(d(), arguments);+ return f1(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);+ }, c1.apply(d(), arguments);}function t$e(e) {var t = e.copy;@@ -91791,11 +91800,11 @@ function t$e(e) {}, e;}function n$e() {- return t$e(d1.apply(null, arguments).paddingInner(1));+ return t$e(f1.apply(null, arguments).paddingInner(1));}//#endregion//#region node_modules/d3-color/src/define.js-function f1(e, t, n) {+function p1(e, t, n) {e.prototype = t.prototype = n, n.constructor = e;}function r$e(e, t) {@@ -91805,8 +91814,8 @@ function r$e(e, t) {}//#endregion//#region node_modules/d3-color/src/color.js-function p1() {}-var m1 = .7, h1 = 1 / m1, g1 = "\\s*([+-]?\\d+)\\s*", _1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", v1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", i$e = /^#([0-9a-f]{3,8})$/, a$e = RegExp(`^rgb\\(${g1},${g1},${g1}\\)$`), o$e = RegExp(`^rgb\\(${v1},${v1},${v1}\\)$`), s$e = RegExp(`^rgba\\(${g1},${g1},${g1},${_1}\\)$`), c$e = RegExp(`^rgba\\(${v1},${v1},${v1},${_1}\\)$`), l$e = RegExp(`^hsl\\(${_1},${v1},${v1}\\)$`), u$e = RegExp(`^hsla\\(${_1},${v1},${v1},${_1}\\)$`), d$e = {+function m1() {}+var h1 = .7, g1 = 1 / h1, _1 = "\\s*([+-]?\\d+)\\s*", v1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", y1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", i$e = /^#([0-9a-f]{3,8})$/, a$e = RegExp(`^rgb\\(${_1},${_1},${_1}\\)$`), o$e = RegExp(`^rgb\\(${y1},${y1},${y1}\\)$`), s$e = RegExp(`^rgba\\(${_1},${_1},${_1},${v1}\\)$`), c$e = RegExp(`^rgba\\(${y1},${y1},${y1},${v1}\\)$`), l$e = RegExp(`^hsl\\(${v1},${y1},${y1}\\)$`), u$e = RegExp(`^hsla\\(${v1},${y1},${y1},${v1}\\)$`), d$e = {aliceblue: 15792383,antiquewhite: 16444375,aqua: 65535,@@ -91956,7 +91965,7 @@ var m1 = .7, h1 = 1 / m1, g1 = "\\s*([+-]?\\d+)\\s*", _1 = "\\s*([+-]?(?:\\d*\\.yellow: 16776960,yellowgreen: 10145074};-f1(p1, y1, {+p1(m1, b1, {copy(e) {return Object.assign(new this.constructor(), this, e);},@@ -91982,37 +91991,37 @@ function m$e() {function h$e() {return this.rgb().formatRgb();}-function y1(e) {+function b1(e) {var t, n;- return e = (e + "").trim().toLowerCase(), (t = i$e.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? g$e(t) : n === 3 ? new S1(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? b1(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? b1(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = a$e.exec(e)) ? new S1(t[1], t[2], t[3], 1) : (t = o$e.exec(e)) ? new S1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = s$e.exec(e)) ? b1(t[1], t[2], t[3], t[4]) : (t = c$e.exec(e)) ? b1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = l$e.exec(e)) ? x$e(t[1], t[2] / 100, t[3] / 100, 1) : (t = u$e.exec(e)) ? x$e(t[1], t[2] / 100, t[3] / 100, t[4]) : d$e.hasOwnProperty(e) ? g$e(d$e[e]) : e === "transparent" ? new S1(NaN, NaN, NaN, 0) : null;+ return e = (e + "").trim().toLowerCase(), (t = i$e.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? g$e(t) : n === 3 ? new C1(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? x1(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? x1(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = a$e.exec(e)) ? new C1(t[1], t[2], t[3], 1) : (t = o$e.exec(e)) ? new C1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = s$e.exec(e)) ? x1(t[1], t[2], t[3], t[4]) : (t = c$e.exec(e)) ? x1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = l$e.exec(e)) ? x$e(t[1], t[2] / 100, t[3] / 100, 1) : (t = u$e.exec(e)) ? x$e(t[1], t[2] / 100, t[3] / 100, t[4]) : d$e.hasOwnProperty(e) ? g$e(d$e[e]) : e === "transparent" ? new C1(NaN, NaN, NaN, 0) : null;}function g$e(e) {- return new S1(e >> 16 & 255, e >> 8 & 255, e & 255, 1);+ return new C1(e >> 16 & 255, e >> 8 & 255, e & 255, 1);}-function b1(e, t, n, r) {- return r <= 0 && (e = t = n = NaN), new S1(e, t, n, r);+function x1(e, t, n, r) {+ return r <= 0 && (e = t = n = NaN), new C1(e, t, n, r);}function _$e(e) {- return e instanceof p1 || (e = y1(e)), e ? (e = e.rgb(), new S1(e.r, e.g, e.b, e.opacity)) : new S1();-}-function x1(e, t, n, r) {- return arguments.length === 1 ? _$e(e) : new S1(e, t, n, r ?? 1);+ return e instanceof m1 || (e = b1(e)), e ? (e = e.rgb(), new C1(e.r, e.g, e.b, e.opacity)) : new C1();}function S1(e, t, n, r) {+ return arguments.length === 1 ? _$e(e) : new C1(e, t, n, r ?? 1);+}+function C1(e, t, n, r) {this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;}-f1(S1, x1, r$e(p1, {+p1(C1, S1, r$e(m1, {brighter(e) {- return e = e == null ? h1 : h1 ** +e, new S1(this.r * e, this.g * e, this.b * e, this.opacity);+ return e = e == null ? g1 : g1 ** +e, new C1(this.r * e, this.g * e, this.b * e, this.opacity);},darker(e) {- return e = e == null ? m1 : m1 ** +e, new S1(this.r * e, this.g * e, this.b * e, this.opacity);+ return e = e == null ? h1 : h1 ** +e, new C1(this.r * e, this.g * e, this.b * e, this.opacity);},rgb() {return this;},clamp() {- return new S1(w1(this.r), w1(this.g), w1(this.b), C1(this.opacity));+ return new C1(T1(this.r), T1(this.g), T1(this.b), w1(this.opacity));},displayable() {return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;@@ -92024,75 +92033,75 @@ f1(S1, x1, r$e(p1, {toString: b$e}));function v$e() {- return `#${T1(this.r)}${T1(this.g)}${T1(this.b)}`;+ return `#${E1(this.r)}${E1(this.g)}${E1(this.b)}`;}function y$e() {- return `#${T1(this.r)}${T1(this.g)}${T1(this.b)}${T1((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;+ return `#${E1(this.r)}${E1(this.g)}${E1(this.b)}${E1((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;}function b$e() {- let e = C1(this.opacity);- return `${e === 1 ? "rgb(" : "rgba("}${w1(this.r)}, ${w1(this.g)}, ${w1(this.b)}${e === 1 ? ")" : `, ${e})`}`;+ let e = w1(this.opacity);+ return `${e === 1 ? "rgb(" : "rgba("}${T1(this.r)}, ${T1(this.g)}, ${T1(this.b)}${e === 1 ? ")" : `, ${e})`}`;}-function C1(e) {+function w1(e) {return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));}-function w1(e) {+function T1(e) {return Math.max(0, Math.min(255, Math.round(e) || 0));}-function T1(e) {- return e = w1(e), (e < 16 ? "0" : "") + e.toString(16);+function E1(e) {+ return e = T1(e), (e < 16 ? "0" : "") + e.toString(16);}function x$e(e, t, n, r) {- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new E1(e, t, n, r);+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new D1(e, t, n, r);}function S$e(e) {- if (e instanceof E1) return new E1(e.h, e.s, e.l, e.opacity);- if (e instanceof p1 || (e = y1(e)), !e) return new E1();- if (e instanceof E1) return e;+ if (e instanceof D1) return new D1(e.h, e.s, e.l, e.opacity);+ if (e instanceof m1 || (e = b1(e)), !e) return new D1();+ if (e instanceof D1) return e;e = e.rgb();var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;- return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new E1(o, s, c, e.opacity);+ return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new D1(o, s, c, e.opacity);}function C$e(e, t, n, r) {- return arguments.length === 1 ? S$e(e) : new E1(e, t, n, r ?? 1);+ return arguments.length === 1 ? S$e(e) : new D1(e, t, n, r ?? 1);}-function E1(e, t, n, r) {+function D1(e, t, n, r) {this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;}-f1(E1, C$e, r$e(p1, {+p1(D1, C$e, r$e(m1, {brighter(e) {- return e = e == null ? h1 : h1 ** +e, new E1(this.h, this.s, this.l * e, this.opacity);+ return e = e == null ? g1 : g1 ** +e, new D1(this.h, this.s, this.l * e, this.opacity);},darker(e) {- return e = e == null ? m1 : m1 ** +e, new E1(this.h, this.s, this.l * e, this.opacity);+ return e = e == null ? h1 : h1 ** +e, new D1(this.h, this.s, this.l * e, this.opacity);},rgb() {var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;- return new S1(O1(e >= 240 ? e - 240 : e + 120, i, r), O1(e, i, r), O1(e < 120 ? e + 240 : e - 120, i, r), this.opacity);+ return new C1(k1(e >= 240 ? e - 240 : e + 120, i, r), k1(e, i, r), k1(e < 120 ? e + 240 : e - 120, i, r), this.opacity);},clamp() {- return new E1(w$e(this.h), D1(this.s), D1(this.l), C1(this.opacity));+ return new D1(w$e(this.h), O1(this.s), O1(this.l), w1(this.opacity));},displayable() {return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;},formatHsl() {- let e = C1(this.opacity);- return `${e === 1 ? "hsl(" : "hsla("}${w$e(this.h)}, ${D1(this.s) * 100}%, ${D1(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;+ let e = w1(this.opacity);+ return `${e === 1 ? "hsl(" : "hsla("}${w$e(this.h)}, ${O1(this.s) * 100}%, ${O1(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;}}));function w$e(e) {return e = (e || 0) % 360, e < 0 ? e + 360 : e;}-function D1(e) {+function O1(e) {return Math.max(0, Math.min(1, e || 0));}-function O1(e, t, n) {+function k1(e, t, n) {return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;}//#endregion//#region node_modules/d3-interpolate/src/constant.js-var k1 = (e) => () => e;+var A1 = (e) => () => e;//#endregion//#region node_modules/d3-interpolate/src/color.jsfunction T$e(e, t) {@@ -92107,19 +92116,19 @@ function E$e(e, t, n) {}function D$e(e) {return (e = +e) == 1 ? O$e : function(t, n) {- return n - t ? E$e(t, n, e) : k1(isNaN(t) ? n : t);+ return n - t ? E$e(t, n, e) : A1(isNaN(t) ? n : t);};}function O$e(e, t) {var n = t - e;- return n ? T$e(e, n) : k1(isNaN(e) ? t : e);+ return n ? T$e(e, n) : A1(isNaN(e) ? t : e);}//#endregion//#region node_modules/d3-interpolate/src/rgb.jsvar k$e = (function e(t) {var n = D$e(t);function r(e, t) {- var r = n((e = x1(e)).r, (t = x1(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = O$e(e.opacity, t.opacity);+ var r = n((e = S1(e)).r, (t = S1(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = O$e(e.opacity, t.opacity);return function(t) {return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";};@@ -92142,7 +92151,7 @@ function j$e(e) {//#endregion//#region node_modules/d3-interpolate/src/array.jsfunction M$e(e, t) {- for (var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o = 0; o < r; ++o) i[o] = N1(e[o], t[o]);+ for (var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o = 0; o < r; ++o) i[o] = P1(e[o], t[o]);for (; o < n; ++o) a[o] = t[o];return function(e) {for (o = 0; o < r; ++o) a[o] = i[o](e);@@ -92159,7 +92168,7 @@ function N$e(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/number.js-function A1(e, t) {+function j1(e, t) {return e = +e, t = +t, function(n) {return e * (1 - n) + t * n;};@@ -92168,7 +92177,7 @@ function A1(e, t) {//#region node_modules/d3-interpolate/src/object.jsfunction P$e(e, t) {var n = {}, r = {}, i;- for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = N1(e[i], t[i]) : r[i] = t[i];+ for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = P1(e[i], t[i]) : r[i] = t[i];return function(e) {for (i in n) r[i] = n[i](e);return r;@@ -92176,7 +92185,7 @@ function P$e(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/string.js-var j1 = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, M1 = new RegExp(j1.source, "g");+var M1 = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, N1 = new RegExp(M1.source, "g");function F$e(e) {return function() {return e;@@ -92188,11 +92197,11 @@ function I$e(e) {};}function L$e(e, t) {- var n = j1.lastIndex = M1.lastIndex = 0, r, i, a, o = -1, s = [], c = [];- for (e += "", t += ""; (r = j1.exec(e)) && (i = M1.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({+ var n = M1.lastIndex = N1.lastIndex = 0, r, i, a, o = -1, s = [], c = [];+ for (e += "", t += ""; (r = M1.exec(e)) && (i = N1.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({i: o,- x: A1(r, i)- })), n = M1.lastIndex;+ x: j1(r, i)+ })), n = N1.lastIndex;return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? I$e(c[0].x) : F$e(t) : (t = c.length, function(e) {for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);return s.join("");@@ -92200,13 +92209,13 @@ function L$e(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/value.js-function N1(e, t) {+function P1(e, t) {var n = typeof t, r;- return t == null || n === "boolean" ? k1(t) : (n === "number" ? A1 : n === "string" ? (r = y1(t)) ? (t = r, k$e) : L$e : t instanceof y1 ? k$e : t instanceof Date ? N$e : j$e(t) ? A$e : Array.isArray(t) ? M$e : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? P$e : A1)(e, t);+ return t == null || n === "boolean" ? A1(t) : (n === "number" ? j1 : n === "string" ? (r = b1(t)) ? (t = r, k$e) : L$e : t instanceof b1 ? k$e : t instanceof Date ? N$e : j$e(t) ? A$e : Array.isArray(t) ? M$e : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? P$e : j1)(e, t);}//#endregion//#region node_modules/d3-interpolate/src/round.js-function P1(e, t) {+function F1(e, t) {return e = +e, t = +t, function(n) {return Math.round(e * (1 - n) + t * n);};@@ -92214,7 +92223,7 @@ function P1(e, t) {//#endregion//#region node_modules/d3-interpolate/src/piecewise.jsfunction R$e(e, t) {- t === void 0 && (t = e, e = N1);+ t === void 0 && (t = e, e = P1);for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);return function(e) {var t = Math.max(0, Math.min(r - 1, Math.floor(e *= r)));@@ -92230,16 +92239,16 @@ function z$e(e) {}//#endregion//#region node_modules/d3-scale/src/number.js-function F1(e) {+function I1(e) {return +e;}//#endregion//#region node_modules/d3-scale/src/continuous.jsvar B$e = [0, 1];-function I1(e) {+function L1(e) {return e;}-function L1(e, t) {+function R1(e, t) {return (t -= e = +e) ? function(n) {return (n - e) / t;} : z$e(isNaN(t) ? NaN : .5);@@ -92252,40 +92261,40 @@ function V$e(e, t) {}function H$e(e, t, n) {var r = e[0], i = e[1], a = t[0], o = t[1];- return i < r ? (r = L1(i, r), a = n(o, a)) : (r = L1(r, i), a = n(a, o)), function(e) {+ return i < r ? (r = R1(i, r), a = n(o, a)) : (r = R1(r, i), a = n(a, o)), function(e) {return a(r(e));};}function U$e(e, t, n) {var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;- for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = L1(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);+ for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = R1(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);return function(t) {- var n = Z$(e, t, 1, r) - 1;+ var n = Q$(e, t, 1, r) - 1;return a[n](i[n](t));};}-function R1(e, t) {+function z1(e, t) {return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());}-function z1() {- var e = B$e, t = B$e, n = N1, r, i, a, o = I1, s, c, l;+function B1() {+ var e = B$e, t = B$e, n = P1, r, i, a, o = L1, s, c, l;function u() {var n = Math.min(e.length, t.length);- return o !== I1 && (o = V$e(e[0], e[n - 1])), s = n > 2 ? U$e : H$e, c = l = null, d;+ return o !== L1 && (o = V$e(e[0], e[n - 1])), s = n > 2 ? U$e : H$e, c = l = null, d;}function d(i) {return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));}return d.invert = function(n) {- return o(i((l ||= s(t, e.map(r), A1))(n)));+ return o(i((l ||= s(t, e.map(r), j1))(n)));}, d.domain = function(t) {- return arguments.length ? (e = Array.from(t, F1), u()) : e.slice();+ return arguments.length ? (e = Array.from(t, I1), u()) : e.slice();}, d.range = function(e) {return arguments.length ? (t = Array.from(e), u()) : t.slice();}, d.rangeRound = function(e) {- return t = Array.from(e), n = P1, u();+ return t = Array.from(e), n = F1, u();}, d.clamp = function(e) {- return arguments.length ? (o = e ? !0 : I1, u()) : o !== I1;+ return arguments.length ? (o = e ? !0 : L1, u()) : o !== L1;}, d.interpolate = function(e) {return arguments.length ? (n = e, u()) : n;}, d.unknown = function(e) {@@ -92294,23 +92303,23 @@ function z1() {return r = e, i = t, u();};}-function B1() {- return z1()(I1, I1);+function V1() {+ return B1()(L1, L1);}//#endregion//#region node_modules/d3-format/src/formatDecimal.jsfunction W$e(e) {return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);}-function V1(e, t) {+function H1(e, t) {if (!isFinite(e) || e === 0) return null;var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];}//#endregion//#region node_modules/d3-format/src/exponent.js-function H1(e) {- return e = V1(Math.abs(e)), e ? e[1] : NaN;+function U1(e) {+ return e = H1(Math.abs(e)), e ? e[1] : NaN;}//#endregion//#region node_modules/d3-format/src/formatGroup.js@@ -92332,10 +92341,10 @@ function K$e(e) {//#endregion//#region node_modules/d3-format/src/formatSpecifier.jsvar q$e = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;-function U1(e) {+function W1(e) {if (!(t = q$e.exec(e))) throw Error("invalid format: " + e);var t;- return new W1({+ return new G1({fill: t[1],align: t[2],sign: t[3],@@ -92348,11 +92357,11 @@ function U1(e) {type: t[10]});}-U1.prototype = W1.prototype;-function W1(e) {+W1.prototype = G1.prototype;+function G1(e) {this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";}-W1.prototype.toString = function() {+G1.prototype.toString = function() {return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;};//#endregion@@ -92373,17 +92382,17 @@ function J$e(e) {}//#endregion//#region node_modules/d3-format/src/formatPrefixAuto.js-var G1;+var K1;function Y$e(e, t) {- var n = V1(e, t);- if (!n) return G1 = void 0, e.toPrecision(t);- var r = n[0], i = n[1], a = i - (G1 = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;- return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + V1(e, Math.max(0, t + a - 1))[0];+ var n = H1(e, t);+ if (!n) return K1 = void 0, e.toPrecision(t);+ var r = n[0], i = n[1], a = i - (K1 = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;+ return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + H1(e, Math.max(0, t + a - 1))[0];}//#endregion//#region node_modules/d3-format/src/formatRounded.jsfunction X$e(e, t) {- var n = V1(e, t);+ var n = H1(e, t);if (!n) return e + "";var r = n[0], i = n[1];return i < 0 ? "0." + Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + Array(i - r.length + 2).join("0");@@ -92434,7 +92443,7 @@ var $$e = Array.prototype.map, e1e = [function t1e(e) {var t = e.grouping === void 0 || e.thousands === void 0 ? Q$e : G$e($$e.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? Q$e : K$e($$e.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";function l(e, l) {- e = U1(e);+ e = W1(e);var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;y === "n" ? (g = !0, y = "g") : Z$e[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = Z$e[y], C = /[defgprs%]/.test(y);@@ -92445,7 +92454,7 @@ function t1e(e) {else {e = +e;var w = e < 0 || 1 / e < 0;- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = J$e(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && G1 !== void 0 ? e1e[8 + G1 / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = J$e(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && K1 !== void 0 ? e1e[8 + K1 / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);break;@@ -92473,7 +92482,7 @@ function t1e(e) {}, w;}function u(e, t) {- var n = Math.max(-8, Math.min(8, Math.floor(H1(t) / 3))) * 3, r = 10 ** -n, i = l((e = U1(e), e.type = "f", e), { suffix: e1e[8 + n / 3] });+ var n = Math.max(-8, Math.min(8, Math.floor(U1(t) / 3))) * 3, r = 10 ** -n, i = l((e = W1(e), e.type = "f", e), { suffix: e1e[8 + n / 3] });return function(e) {return i(r * e);};@@ -92485,35 +92494,35 @@ function t1e(e) {}//#endregion//#region node_modules/d3-format/src/defaultLocale.js-var K1, q1, n1e;+var q1, J1, n1e;r1e({thousands: ",",grouping: [3],currency: ["$", ""]});function r1e(e) {- return K1 = t1e(e), q1 = K1.format, n1e = K1.formatPrefix, K1;+ return q1 = t1e(e), J1 = q1.format, n1e = q1.formatPrefix, q1;}//#endregion//#region node_modules/d3-format/src/precisionFixed.jsfunction i1e(e) {- return Math.max(0, -H1(Math.abs(e)));+ return Math.max(0, -U1(Math.abs(e)));}//#endregion//#region node_modules/d3-format/src/precisionPrefix.jsfunction a1e(e, t) {- return Math.max(0, Math.max(-8, Math.min(8, Math.floor(H1(t) / 3))) * 3 - H1(Math.abs(e)));+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(U1(t) / 3))) * 3 - U1(Math.abs(e)));}//#endregion//#region node_modules/d3-format/src/precisionRound.jsfunction o1e(e, t) {- return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, H1(t) - H1(e)) + 1;+ return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, U1(t) - U1(e)) + 1;}//#endregion//#region node_modules/d3-scale/src/tickFormat.jsfunction s1e(e, t, n, r) {- var i = n1(e, t, n), a;- switch (r = U1(r ?? ",f"), r.type) {+ var i = r1(e, t, n), a;+ switch (r = W1(r ?? ",f"), r.type) {case "s":var o = Math.max(Math.abs(e), Math.abs(t));return r.precision == null && !isNaN(a = a1e(i, o)) && (r.precision = a), n1e(r, o);@@ -92527,15 +92536,15 @@ function s1e(e, t, n, r) {case "f":case "%": r.precision == null && !isNaN(a = i1e(i)) && (r.precision = a - (r.type === "%") * 2);}- return q1(r);+ return J1(r);}//#endregion//#region node_modules/d3-scale/src/linear.js-function J1(e) {+function Y1(e) {var t = e.domain;return e.ticks = function(e) {var n = t();- return t1(n[0], n[n.length - 1], e ?? 10);+ return n1(n[0], n[n.length - 1], e ?? 10);}, e.tickFormat = function(e, n) {var r = t();return s1e(r[0], r[r.length - 1], e ?? 10, n);@@ -92553,10 +92562,10 @@ function J1(e) {}, e;}function c1e() {- var e = B1();+ var e = V1();return e.copy = function() {- return R1(e, c1e());- }, s1.apply(e, arguments), J1(e);+ return z1(e, c1e());+ }, c1.apply(e, arguments), Y1(e);}//#endregion//#region node_modules/d3-scale/src/identity.js@@ -92566,12 +92575,12 @@ function l1e(e) {return e == null || isNaN(e = +e) ? t : e;}return n.invert = n, n.domain = n.range = function(t) {- return arguments.length ? (e = Array.from(t, F1), n) : e.slice();+ return arguments.length ? (e = Array.from(t, I1), n) : e.slice();}, n.unknown = function(e) {return arguments.length ? (t = e, n) : t;}, n.copy = function() {return l1e(e).unknown(t);- }, e = arguments.length ? Array.from(e, F1) : [0, 1], J1(n);+ }, e = arguments.length ? Array.from(e, I1) : [0, 1], Y1(n);}//#endregion//#region node_modules/d3-scale/src/nice.js@@ -92606,7 +92615,7 @@ function _1e(e) {function v1e(e) {return (t, n) => -e(-t, n);}-function Y1(e) {+function X1(e) {let t = e(d1e, f1e), n = t.domain, r = 10, i, a;function o() {return i = _1e(r), a = g1e(r), n()[0] < 0 ? (i = v1e(i), a = v1e(a), e(p1e, m1e)) : e(d1e, f1e), t;@@ -92629,11 +92638,11 @@ function Y1(e) {if (f > s) break;m.push(f);}- m.length * 2 < p && (m = t1(o, s, p));- } else m = t1(l, u, Math.min(u - l, p)).map(a);+ m.length * 2 < p && (m = n1(o, s, p));+ } else m = n1(l, u, Math.min(u - l, p)).map(a);return c ? m.reverse() : m;}, t.tickFormat = (e, n) => {- if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = U1(n)).precision == null && (n.trim = !0), n = q1(n)), e === Infinity) return n;+ if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = W1(n)).precision == null && (n.trim = !0), n = J1(n)), e === Infinity) return n;let o = Math.max(1, r * e / t.ticks().length);return (e) => {let t = e / a(Math.round(i(e)));@@ -92645,8 +92654,8 @@ function Y1(e) {})), t;}function y1e() {- let e = Y1(z1()).domain([1, 10]);- return e.copy = () => R1(e, y1e()).base(e.base()), s1.apply(e, arguments), e;+ let e = X1(B1()).domain([1, 10]);+ return e.copy = () => z1(e, y1e()).base(e.base()), c1.apply(e, arguments), e;}//#endregion//#region node_modules/d3-scale/src/symlog.js@@ -92660,17 +92669,17 @@ function x1e(e) {return Math.sign(t) * Math.expm1(Math.abs(t)) * e;};}-function X1(e) {+function Z1(e) {var t = 1, n = e(b1e(t), x1e(t));return n.constant = function(n) {return arguments.length ? e(b1e(t = +n), x1e(t)) : t;- }, J1(n);+ }, Y1(n);}function S1e() {- var e = X1(z1());+ var e = Z1(B1());return e.copy = function() {- return R1(e, S1e()).constant(e.constant());- }, s1.apply(e, arguments);+ return z1(e, S1e()).constant(e.constant());+ }, c1.apply(e, arguments);}//#endregion//#region node_modules/d3-scale/src/pow.js@@ -92685,23 +92694,23 @@ function w1e(e) {function T1e(e) {return e < 0 ? -e * e : e * e;}-function Z1(e) {- var t = e(I1, I1), n = 1;+function Q1(e) {+ var t = e(L1, L1), n = 1;function r() {- return n === 1 ? e(I1, I1) : n === .5 ? e(w1e, T1e) : e(C1e(n), C1e(1 / n));+ return n === 1 ? e(L1, L1) : n === .5 ? e(w1e, T1e) : e(C1e(n), C1e(1 / n));}return t.exponent = function(e) {return arguments.length ? (n = +e, r()) : n;- }, J1(t);+ }, Y1(t);}-function Q1() {- var e = Z1(z1());+function $1() {+ var e = Q1(B1());return e.copy = function() {- return R1(e, Q1()).exponent(e.exponent());- }, s1.apply(e, arguments), e;+ return z1(e, $1()).exponent(e.exponent());+ }, c1.apply(e, arguments), e;}function E1e() {- return Q1.apply(null, arguments).exponent(.5);+ return $1.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/d3-scale/src/radial.js@@ -92712,7 +92721,7 @@ function O1e(e) {return Math.sign(e) * Math.sqrt(Math.abs(e));}function k1e() {- var e = B1(), t = [0, 1], n = !1, r;+ var e = V1(), t = [0, 1], n = !1, r;function i(t) {var i = O1e(e(t));return isNaN(i) ? r : n ? Math.round(i) : i;@@ -92722,7 +92731,7 @@ function k1e() {}, i.domain = function(t) {return arguments.length ? (e.domain(t), i) : e.domain();}, i.range = function(n) {- return arguments.length ? (e.range((t = Array.from(n, F1)).map(D1e)), i) : t.slice();+ return arguments.length ? (e.range((t = Array.from(n, I1)).map(D1e)), i) : t.slice();}, i.rangeRound = function(e) {return i.range(e).round(!0);}, i.round = function(e) {@@ -92733,7 +92742,7 @@ function k1e() {return arguments.length ? (r = e, i) : r;}, i.copy = function() {return k1e(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);- }, s1.apply(i, arguments), J1(i);+ }, c1.apply(i, arguments), Y1(i);}//#endregion//#region node_modules/d3-scale/src/quantile.js@@ -92745,7 +92754,7 @@ function A1e() {return a;}function a(e) {- return e == null || isNaN(e = +e) ? r : t[Z$(n, e)];+ return e == null || isNaN(e = +e) ? r : t[Q$(n, e)];}return a.invertExtent = function(r) {var i = t.indexOf(r);@@ -92754,7 +92763,7 @@ function A1e() {if (!arguments.length) return e.slice();e = [];for (let n of t) n != null && !isNaN(n = +n) && e.push(n);- return e.sort(Y$), i();+ return e.sort(X$), i();}, a.range = function(e) {return arguments.length ? (t = Array.from(e), i()) : t.slice();}, a.unknown = function(e) {@@ -92763,14 +92772,14 @@ function A1e() {return n.slice();}, a.copy = function() {return A1e().domain(e).range(t).unknown(r);- }, s1.apply(a, arguments);+ }, c1.apply(a, arguments);}//#endregion//#region node_modules/d3-scale/src/quantize.jsfunction j1e() {var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;function o(e) {- return e != null && e <= e ? i[Z$(r, e, 0, n)] : a;+ return e != null && e <= e ? i[Q$(r, e, 0, n)] : a;}function s() {var i = -1;@@ -92790,14 +92799,14 @@ function j1e() {return r.slice();}, o.copy = function() {return j1e().domain([e, t]).range(i).unknown(a);- }, s1.apply(J1(o), arguments);+ }, c1.apply(Y1(o), arguments);}//#endregion//#region node_modules/d3-scale/src/threshold.jsfunction M1e() {var e = [.5], t = [0, 1], n, r = 1;function i(i) {- return i != null && i <= i ? t[Z$(e, i, 0, r)] : n;+ return i != null && i <= i ? t[Q$(e, i, 0, r)] : n;}return i.domain = function(n) {return arguments.length ? (e = Array.from(n), r = Math.min(e.length, t.length - 1), i) : e.slice();@@ -92810,12 +92819,12 @@ function M1e() {return arguments.length ? (n = e, i) : n;}, i.copy = function() {return M1e().domain(e).range(t).unknown(n);- }, s1.apply(i, arguments);+ }, c1.apply(i, arguments);}//#endregion//#region node_modules/d3-time/src/interval.js-var $1 = /* @__PURE__ */ new Date(), e0 = /* @__PURE__ */ new Date();-function t0(e, t, n, r) {+var e0 = /* @__PURE__ */ new Date(), t0 = /* @__PURE__ */ new Date();+function n0(e, t, n, r) {function i(t) {return e(t = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+t)), t;}@@ -92830,211 +92839,211 @@ function t0(e, t, n, r) {o.push(s = /* @__PURE__ */ new Date(+n)), t(n, a), e(n);while (s < n && n < r);return o;- }, i.filter = (n) => t0((t) => {+ }, i.filter = (n) => n0((t) => {if (t >= t) for (; e(t), !n(t);) t.setTime(t - 1);}, (e, r) => {if (e >= e) {if (r < 0) for (; ++r <= 0;) for (; t(e, -1), !n(e););else for (; --r >= 0;) for (; t(e, 1), !n(e););}- }), n && (i.count = (t, r) => ($1.setTime(+t), e0.setTime(+r), e($1), e(e0), Math.floor(n($1, e0))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;+ }), n && (i.count = (t, r) => (e0.setTime(+t), t0.setTime(+r), e(e0), e(t0), Math.floor(n(e0, t0))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;}//#endregion//#region node_modules/d3-time/src/millisecond.js-var n0 = t0(() => {}, (e, t) => {+var r0 = n0(() => {}, (e, t) => {e.setTime(+e + t);}, (e, t) => t - e);-n0.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? t0((t) => {+r0.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? n0((t) => {t.setTime(Math.floor(t / e) * e);}, (t, n) => {t.setTime(+t + n * e);-}, (t, n) => (n - t) / e) : n0), n0.range;+}, (t, n) => (n - t) / e) : r0), r0.range;//#endregion//#region node_modules/d3-time/src/duration.js-var r0 = 1e3, i0 = r0 * 60, a0 = i0 * 60, o0 = a0 * 24, s0 = o0 * 7, N1e = o0 * 30, c0 = o0 * 365, l0 = t0((e) => {+var i0 = 1e3, a0 = i0 * 60, o0 = a0 * 60, s0 = o0 * 24, c0 = s0 * 7, N1e = s0 * 30, l0 = s0 * 365, u0 = n0((e) => {e.setTime(e - e.getMilliseconds());}, (e, t) => {- e.setTime(+e + t * r0);-}, (e, t) => (t - e) / r0, (e) => e.getUTCSeconds());-l0.range;+ e.setTime(+e + t * i0);+}, (e, t) => (t - e) / i0, (e) => e.getUTCSeconds());+u0.range;//#endregion//#region node_modules/d3-time/src/minute.js-var u0 = t0((e) => {- e.setTime(e - e.getMilliseconds() - e.getSeconds() * r0);+var d0 = n0((e) => {+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * i0);}, (e, t) => {- e.setTime(+e + t * i0);-}, (e, t) => (t - e) / i0, (e) => e.getMinutes());-u0.range;-var d0 = t0((e) => {+ e.setTime(+e + t * a0);+}, (e, t) => (t - e) / a0, (e) => e.getMinutes());+d0.range;+var f0 = n0((e) => {e.setUTCSeconds(0, 0);}, (e, t) => {- e.setTime(+e + t * i0);-}, (e, t) => (t - e) / i0, (e) => e.getUTCMinutes());-d0.range;+ e.setTime(+e + t * a0);+}, (e, t) => (t - e) / a0, (e) => e.getUTCMinutes());+f0.range;//#endregion//#region node_modules/d3-time/src/hour.js-var f0 = t0((e) => {- e.setTime(e - e.getMilliseconds() - e.getSeconds() * r0 - e.getMinutes() * i0);+var p0 = n0((e) => {+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * i0 - e.getMinutes() * a0);}, (e, t) => {- e.setTime(+e + t * a0);-}, (e, t) => (t - e) / a0, (e) => e.getHours());-f0.range;-var p0 = t0((e) => {+ e.setTime(+e + t * o0);+}, (e, t) => (t - e) / o0, (e) => e.getHours());+p0.range;+var m0 = n0((e) => {e.setUTCMinutes(0, 0, 0);}, (e, t) => {- e.setTime(+e + t * a0);-}, (e, t) => (t - e) / a0, (e) => e.getUTCHours());-p0.range;+ e.setTime(+e + t * o0);+}, (e, t) => (t - e) / o0, (e) => e.getUTCHours());+m0.range;//#endregion//#region node_modules/d3-time/src/day.js-var m0 = t0((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * i0) / o0, (e) => e.getDate() - 1);-m0.range;-var h0 = t0((e) => {+var h0 = n0((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * a0) / s0, (e) => e.getDate() - 1);+h0.range;+var g0 = n0((e) => {e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCDate(e.getUTCDate() + t);-}, (e, t) => (t - e) / o0, (e) => e.getUTCDate() - 1);-h0.range;-var P1e = t0((e) => {+}, (e, t) => (t - e) / s0, (e) => e.getUTCDate() - 1);+g0.range;+var P1e = n0((e) => {e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCDate(e.getUTCDate() + t);-}, (e, t) => (t - e) / o0, (e) => Math.floor(e / o0));+}, (e, t) => (t - e) / s0, (e) => Math.floor(e / s0));P1e.range;//#endregion//#region node_modules/d3-time/src/week.js-function g0(e) {- return t0((t) => {+function _0(e) {+ return n0((t) => {t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);}, (e, t) => {e.setDate(e.getDate() + t * 7);- }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * i0) / s0);+ }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * a0) / c0);}-var _0 = g0(0), v0 = g0(1), F1e = g0(2), I1e = g0(3), y0 = g0(4), L1e = g0(5), R1e = g0(6);-_0.range, v0.range, F1e.range, I1e.range, y0.range, L1e.range, R1e.range;-function b0(e) {- return t0((t) => {+var v0 = _0(0), y0 = _0(1), F1e = _0(2), I1e = _0(3), b0 = _0(4), L1e = _0(5), R1e = _0(6);+v0.range, y0.range, F1e.range, I1e.range, b0.range, L1e.range, R1e.range;+function x0(e) {+ return n0((t) => {t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCDate(e.getUTCDate() + t * 7);- }, (e, t) => (t - e) / s0);+ }, (e, t) => (t - e) / c0);}-var x0 = b0(0), S0 = b0(1), z1e = b0(2), B1e = b0(3), C0 = b0(4), V1e = b0(5), H1e = b0(6);-x0.range, S0.range, z1e.range, B1e.range, C0.range, V1e.range, H1e.range;+var S0 = x0(0), C0 = x0(1), z1e = x0(2), B1e = x0(3), w0 = x0(4), V1e = x0(5), H1e = x0(6);+S0.range, C0.range, z1e.range, B1e.range, w0.range, V1e.range, H1e.range;//#endregion//#region node_modules/d3-time/src/month.js-var w0 = t0((e) => {+var T0 = n0((e) => {e.setDate(1), e.setHours(0, 0, 0, 0);}, (e, t) => {e.setMonth(e.getMonth() + t);}, (e, t) => t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());-w0.range;-var T0 = t0((e) => {+T0.range;+var E0 = n0((e) => {e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCMonth(e.getUTCMonth() + t);}, (e, t) => t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth());-T0.range;+E0.range;//#endregion//#region node_modules/d3-time/src/year.js-var E0 = t0((e) => {+var D0 = n0((e) => {e.setMonth(0, 1), e.setHours(0, 0, 0, 0);}, (e, t) => {e.setFullYear(e.getFullYear() + t);}, (e, t) => t.getFullYear() - e.getFullYear(), (e) => e.getFullYear());-E0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : t0((t) => {+D0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : n0((t) => {t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);}, (t, n) => {t.setFullYear(t.getFullYear() + n * e);-}), E0.range;-var D0 = t0((e) => {+}), D0.range;+var O0 = n0((e) => {e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCFullYear(e.getUTCFullYear() + t);}, (e, t) => t.getUTCFullYear() - e.getUTCFullYear(), (e) => e.getUTCFullYear());-D0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : t0((t) => {+O0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : n0((t) => {t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);}, (t, n) => {t.setUTCFullYear(t.getUTCFullYear() + n * e);-}), D0.range;+}), O0.range;//#endregion//#region node_modules/d3-time/src/ticks.jsfunction U1e(e, t, n, r, i, a) {let o = [[- l0,+ u0,1,- r0+ i0],[- l0,+ u0,5,- 5 * r0+ 5 * i0],[- l0,+ u0,15,- 15 * r0+ 15 * i0],[- l0,+ u0,30,- 30 * r0+ 30 * i0],[a,1,- i0+ a0],[a,5,- 5 * i0+ 5 * a0],[a,15,- 15 * i0+ 15 * a0],[a,30,- 30 * i0+ 30 * a0],[i,1,- a0+ o0],[i,3,- 3 * a0+ 3 * o0],[i,6,- 6 * a0+ 6 * o0],[i,12,- 12 * a0+ 12 * o0],[r,1,- o0+ s0],[r,2,- 2 * o0+ 2 * s0],[n,1,- s0+ c0],[t,@@ -93049,7 +93058,7 @@ function U1e(e, t, n, r, i, a) {[e,1,- c0+ l0]];function s(e, t, n) {@@ -93059,32 +93068,32 @@ function U1e(e, t, n, r, i, a) {return r ? a.reverse() : a;}function c(t, n, r) {- let i = Math.abs(n - t) / r, a = X$(([, , e]) => e).right(o, i);- if (a === o.length) return e.every(n1(t / c0, n / c0, r));- if (a === 0) return n0.every(Math.max(n1(t, n, r), 1));+ let i = Math.abs(n - t) / r, a = Z$(([, , e]) => e).right(o, i);+ if (a === o.length) return e.every(r1(t / l0, n / l0, r));+ if (a === 0) return r0.every(Math.max(r1(t, n, r), 1));let [s, c] = o[i / o[a - 1][2] < o[a][2] / i ? a - 1 : a];return s.every(c);}return [s, c];}-var [W1e, G1e] = U1e(D0, T0, x0, P1e, p0, d0), [K1e, q1e] = U1e(E0, w0, _0, m0, f0, u0);+var [W1e, G1e] = U1e(O0, E0, S0, P1e, m0, f0), [K1e, q1e] = U1e(D0, T0, v0, h0, p0, d0);//#endregion//#region node_modules/d3-time-format/src/locale.js-function O0(e) {+function k0(e) {if (0 <= e.y && e.y < 100) {var t = new Date(-1, e.m, e.d, e.H, e.M, e.S, e.L);return t.setFullYear(e.y), t;}return new Date(e.y, e.m, e.d, e.H, e.M, e.S, e.L);}-function k0(e) {+function A0(e) {if (0 <= e.y && e.y < 100) {var t = new Date(Date.UTC(-1, e.m, e.d, e.H, e.M, e.S, e.L));return t.setUTCFullYear(e.y), t;}return new Date(Date.UTC(e.y, e.m, e.d, e.H, e.M, e.S, e.L));}-function A0(e, t, n) {+function j0(e, t, n) {return {y: e,m: t,@@ -93096,7 +93105,7 @@ function A0(e, t, n) {};}function J1e(e) {- var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = N0(i), u = P0(i), d = N0(a), f = P0(a), p = N0(o), m = P0(o), h = N0(s), g = P0(s), _ = N0(c), v = P0(c), y = {+ var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = P0(i), u = F0(i), d = P0(a), f = F0(a), p = P0(o), m = F0(o), h = P0(s), g = F0(s), _ = P0(c), v = F0(c), y = {a: N,A: P,b: F,@@ -93206,15 +93215,15 @@ function J1e(e) {}function C(e, t) {return function(n) {- var r = A0(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;+ var r = j0(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;if (i != n.length) return null;if ("Q" in r) return new Date(r.Q);if ("s" in r) return new Date(r.s * 1e3 + ("L" in r ? r.L : 0));if (t && !("Z" in r) && (r.Z = 0), "p" in r && (r.H = r.H % 12 + r.p * 12), r.m === void 0 && (r.m = "q" in r ? r.q : 0), "V" in r) {if (r.V < 1 || r.V > 53) return null;- "w" in r || (r.w = 1), "Z" in r ? (a = k0(A0(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? S0.ceil(a) : S0(a), a = h0.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = O0(A0(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? v0.ceil(a) : v0(a), a = m0.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);- } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? k0(A0(r.y, 0, 1)).getUTCDay() : O0(A0(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);- return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, k0(r)) : O0(r);+ "w" in r || (r.w = 1), "Z" in r ? (a = A0(j0(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? C0.ceil(a) : C0(a), a = g0.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = k0(j0(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? y0.ceil(a) : y0(a), a = h0.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);+ } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? A0(j0(r.y, 0, 1)).getUTCDay() : k0(j0(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);+ return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, A0(r)) : k0(r);};}function w(e, t, n, r) {@@ -93322,46 +93331,46 @@ var Y1e = {"-": "",_: " ",0: "0"-}, j0 = /^\s*\d+/, X1e = /^%/, Z1e = /[\\^$*+?|[\]().{}]/g;-function M0(e, t, n) {+}, M0 = /^\s*\d+/, X1e = /^%/, Z1e = /[\\^$*+?|[\]().{}]/g;+function N0(e, t, n) {var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", a = i.length;return r + (a < n ? Array(n - a + 1).join(t) + i : i);}function Q1e(e) {return e.replace(Z1e, "\\$&");}-function N0(e) {+function P0(e) {return RegExp("^(?:" + e.map(Q1e).join("|") + ")", "i");}-function P0(e) {+function F0(e) {return new Map(e.map((e, t) => [e.toLowerCase(), t]));}function $1e(e, t, n) {- var r = j0.exec(t.slice(n, n + 1));+ var r = M0.exec(t.slice(n, n + 1));return r ? (e.w = +r[0], n + r[0].length) : -1;}function e0e(e, t, n) {- var r = j0.exec(t.slice(n, n + 1));+ var r = M0.exec(t.slice(n, n + 1));return r ? (e.u = +r[0], n + r[0].length) : -1;}function t0e(e, t, n) {- var r = j0.exec(t.slice(n, n + 2));+ var r = M0.exec(t.slice(n, n + 2));return r ? (e.U = +r[0], n + r[0].length) : -1;}function n0e(e, t, n) {- var r = j0.exec(t.slice(n, n + 2));+ var r = M0.exec(t.slice(n, n + 2));return r ? (e.V = +r[0], n + r[0].length) : -1;}function r0e(e, t, n) {- var r = j0.exec(t.slice(n, n + 2));+ var r = M0.exec(t.slice(n, n + 2));return r ? (e.W = +r[0], n + r[0].length) : -1;}function i0e(e, t, n) {- var r = j0.exec(t.slice(n, n + 4));+ var r = M0.exec(t.slice(n, n + 4));return r ? (e.y = +r[0], n + r[0].length) : -1;}function a0e(e, t, n) {- var r = j0.exec(t.slice(n, n + 2));+ var r = M0.exec(t.slice(n, n + 2));return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;}function o0e(e, t, n) {@@ -93369,39 +93378,39 @@ function o0e(e, t, n) {return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;}function s0e(e, t, n) {- var r = j0.exec(t.slice(n, n + 1));+ var r = M0.exec(t.slice(n, n + 1));return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;}function c0e(e, t, n) {- var r = j0.exec(t.slice(n, n + 2));+ var r = M0.exec(t.slice(n, n + 2));return r ? (e.m = r[0] - 1, n + r[0].length) : -1;}function l0e(e, t, n) {- var r = j0.exec(t.slice(n, n + 2));+ var r = M0.exec(t.slice(n, n + 2));return r ? (e.d = +r[0], n + r[0].length) : -1;}function u0e(e, t, n) {- var r = j0.exec(t.slice(n, n + 3));+ var r = M0.exec(t.slice(n, n + 3));return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;}function d0e(e, t, n) {- var r = j0.exec(t.slice(n, n + 2));+ var r = M0.exec(t.slice(n, n + 2));return r ? (e.H = +r[0], n + r[0].length) : -1;}function f0e(e, t, n) {- var r = j0.exec(t.slice(n, n + 2));+ var r = M0.exec(t.slice(n, n + 2));return r ? (e.M = +r[0], n + r[0].length) : -1;}function p0e(e, t, n) {- var r = j0.exec(t.slice(n, n + 2));+ var r = M0.exec(t.slice(n, n + 2));return r ? (e.S = +r[0], n + r[0].length) : -1;}function m0e(e, t, n) {- var r = j0.exec(t.slice(n, n + 3));+ var r = M0.exec(t.slice(n, n + 3));return r ? (e.L = +r[0], n + r[0].length) : -1;}function h0e(e, t, n) {- var r = j0.exec(t.slice(n, n + 6));+ var r = M0.exec(t.slice(n, n + 6));return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;}function g0e(e, t, n) {@@ -93409,136 +93418,136 @@ function g0e(e, t, n) {return r ? n + r[0].length : -1;}function _0e(e, t, n) {- var r = j0.exec(t.slice(n));+ var r = M0.exec(t.slice(n));return r ? (e.Q = +r[0], n + r[0].length) : -1;}function v0e(e, t, n) {- var r = j0.exec(t.slice(n));+ var r = M0.exec(t.slice(n));return r ? (e.s = +r[0], n + r[0].length) : -1;}function y0e(e, t) {- return M0(e.getDate(), t, 2);+ return N0(e.getDate(), t, 2);}function b0e(e, t) {- return M0(e.getHours(), t, 2);+ return N0(e.getHours(), t, 2);}function x0e(e, t) {- return M0(e.getHours() % 12 || 12, t, 2);+ return N0(e.getHours() % 12 || 12, t, 2);}function S0e(e, t) {- return M0(1 + m0.count(E0(e), e), t, 3);+ return N0(1 + h0.count(D0(e), e), t, 3);}function C0e(e, t) {- return M0(e.getMilliseconds(), t, 3);+ return N0(e.getMilliseconds(), t, 3);}function w0e(e, t) {return C0e(e, t) + "000";}function T0e(e, t) {- return M0(e.getMonth() + 1, t, 2);+ return N0(e.getMonth() + 1, t, 2);}function E0e(e, t) {- return M0(e.getMinutes(), t, 2);+ return N0(e.getMinutes(), t, 2);}function D0e(e, t) {- return M0(e.getSeconds(), t, 2);+ return N0(e.getSeconds(), t, 2);}function O0e(e) {var t = e.getDay();return t === 0 ? 7 : t;}function k0e(e, t) {- return M0(_0.count(E0(e) - 1, e), t, 2);+ return N0(v0.count(D0(e) - 1, e), t, 2);}function A0e(e) {var t = e.getDay();- return t >= 4 || t === 0 ? y0(e) : y0.ceil(e);+ return t >= 4 || t === 0 ? b0(e) : b0.ceil(e);}function j0e(e, t) {- return e = A0e(e), M0(y0.count(E0(e), e) + (E0(e).getDay() === 4), t, 2);+ return e = A0e(e), N0(b0.count(D0(e), e) + (D0(e).getDay() === 4), t, 2);}function M0e(e) {return e.getDay();}function N0e(e, t) {- return M0(v0.count(E0(e) - 1, e), t, 2);+ return N0(y0.count(D0(e) - 1, e), t, 2);}function P0e(e, t) {- return M0(e.getFullYear() % 100, t, 2);+ return N0(e.getFullYear() % 100, t, 2);}function F0e(e, t) {- return e = A0e(e), M0(e.getFullYear() % 100, t, 2);+ return e = A0e(e), N0(e.getFullYear() % 100, t, 2);}function I0e(e, t) {- return M0(e.getFullYear() % 1e4, t, 4);+ return N0(e.getFullYear() % 1e4, t, 4);}function L0e(e, t) {var n = e.getDay();- return e = n >= 4 || n === 0 ? y0(e) : y0.ceil(e), M0(e.getFullYear() % 1e4, t, 4);+ return e = n >= 4 || n === 0 ? b0(e) : b0.ceil(e), N0(e.getFullYear() % 1e4, t, 4);}function R0e(e) {var t = e.getTimezoneOffset();- return (t > 0 ? "-" : (t *= -1, "+")) + M0(t / 60 | 0, "0", 2) + M0(t % 60, "0", 2);+ return (t > 0 ? "-" : (t *= -1, "+")) + N0(t / 60 | 0, "0", 2) + N0(t % 60, "0", 2);}function z0e(e, t) {- return M0(e.getUTCDate(), t, 2);+ return N0(e.getUTCDate(), t, 2);}function B0e(e, t) {- return M0(e.getUTCHours(), t, 2);+ return N0(e.getUTCHours(), t, 2);}function V0e(e, t) {- return M0(e.getUTCHours() % 12 || 12, t, 2);+ return N0(e.getUTCHours() % 12 || 12, t, 2);}function H0e(e, t) {- return M0(1 + h0.count(D0(e), e), t, 3);+ return N0(1 + g0.count(O0(e), e), t, 3);}function U0e(e, t) {- return M0(e.getUTCMilliseconds(), t, 3);+ return N0(e.getUTCMilliseconds(), t, 3);}function W0e(e, t) {return U0e(e, t) + "000";}function G0e(e, t) {- return M0(e.getUTCMonth() + 1, t, 2);+ return N0(e.getUTCMonth() + 1, t, 2);}function K0e(e, t) {- return M0(e.getUTCMinutes(), t, 2);+ return N0(e.getUTCMinutes(), t, 2);}function q0e(e, t) {- return M0(e.getUTCSeconds(), t, 2);+ return N0(e.getUTCSeconds(), t, 2);}function J0e(e) {var t = e.getUTCDay();return t === 0 ? 7 : t;}function Y0e(e, t) {- return M0(x0.count(D0(e) - 1, e), t, 2);+ return N0(S0.count(O0(e) - 1, e), t, 2);}function X0e(e) {var t = e.getUTCDay();- return t >= 4 || t === 0 ? C0(e) : C0.ceil(e);+ return t >= 4 || t === 0 ? w0(e) : w0.ceil(e);}function Z0e(e, t) {- return e = X0e(e), M0(C0.count(D0(e), e) + (D0(e).getUTCDay() === 4), t, 2);+ return e = X0e(e), N0(w0.count(O0(e), e) + (O0(e).getUTCDay() === 4), t, 2);}function Q0e(e) {return e.getUTCDay();}function $0e(e, t) {- return M0(S0.count(D0(e) - 1, e), t, 2);+ return N0(C0.count(O0(e) - 1, e), t, 2);}function e2e(e, t) {- return M0(e.getUTCFullYear() % 100, t, 2);+ return N0(e.getUTCFullYear() % 100, t, 2);}function t2e(e, t) {- return e = X0e(e), M0(e.getUTCFullYear() % 100, t, 2);+ return e = X0e(e), N0(e.getUTCFullYear() % 100, t, 2);}function n2e(e, t) {- return M0(e.getUTCFullYear() % 1e4, t, 4);+ return N0(e.getUTCFullYear() % 1e4, t, 4);}function r2e(e, t) {var n = e.getUTCDay();- return e = n >= 4 || n === 0 ? C0(e) : C0.ceil(e), M0(e.getUTCFullYear() % 1e4, t, 4);+ return e = n >= 4 || n === 0 ? w0(e) : w0.ceil(e), N0(e.getUTCFullYear() % 1e4, t, 4);}function i2e() {return "+0000";@@ -93554,7 +93563,7 @@ function s2e(e) {}//#endregion//#region node_modules/d3-time-format/src/defaultLocale.js-var F0, c2e, l2e;+var I0, c2e, l2e;u2e({dateTime: "%x, %X",date: "%-m/%-d/%Y",@@ -93608,7 +93617,7 @@ u2e({]});function u2e(e) {- return F0 = J1e(e), c2e = F0.format, F0.parse, l2e = F0.utcFormat, F0.utcParse, F0;+ return I0 = J1e(e), c2e = I0.format, I0.parse, l2e = I0.utcFormat, I0.utcParse, I0;}//#endregion//#region node_modules/d3-scale/src/time.js@@ -93618,8 +93627,8 @@ function d2e(e) {function f2e(e) {return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);}-function I0(e, t, n, r, i, a, o, s, c, l) {- var u = B1(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");+function L0(e, t, n, r, i, a, o, s, c, l) {+ var u = V1(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");function x(e) {return (c(e) < e ? p : s(e) < e ? m : o(e) < e ? h : a(e) < e ? g : r(e) < e ? i(e) < e ? _ : v : n(e) < e ? y : b)(e);}@@ -93636,21 +93645,21 @@ function I0(e, t, n, r, i, a, o, s, c, l) {var n = f();return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(u1e(n, e)) : u;}, u.copy = function() {- return R1(u, I0(e, t, n, r, i, a, o, s, c, l));+ return z1(u, L0(e, t, n, r, i, a, o, s, c, l));}, u;}function p2e() {- return s1.apply(I0(K1e, q1e, E0, w0, _0, m0, f0, u0, l0, c2e).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);+ return c1.apply(L0(K1e, q1e, D0, T0, v0, h0, p0, d0, u0, c2e).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);}//#endregion//#region node_modules/d3-scale/src/utcTime.jsfunction m2e() {- return s1.apply(I0(W1e, G1e, D0, T0, x0, h0, p0, d0, l0, l2e).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);+ return c1.apply(L0(W1e, G1e, O0, E0, S0, g0, m0, f0, u0, l2e).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);}//#endregion//#region node_modules/d3-scale/src/sequential.js-function L0() {- var e = 0, t = 1, n, r, i, a, o = I1, s = !1, c;+function R0() {+ var e = 0, t = 1, n, r, i, a, o = L1, s = !1, c;function l(e) {return e == null || isNaN(e = +e) ? c : o(i === 0 ? .5 : (e = (a(e) - n) * i, s ? Math.max(0, Math.min(1, e)) : e));}@@ -93667,54 +93676,54 @@ function L0() {return arguments.length ? ([n, r] = t, o = e(n, r), l) : [o(0), o(1)];};}- return l.range = u(N1), l.rangeRound = u(P1), l.unknown = function(e) {+ return l.range = u(P1), l.rangeRound = u(F1), l.unknown = function(e) {return arguments.length ? (c = e, l) : c;}, function(o) {return a = o, n = o(e), r = o(t), i = n === r ? 0 : 1 / (r - n), l;};}-function R0(e, t) {+function z0(e, t) {return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());}function h2e() {- var e = J1(L0()(I1));+ var e = Y1(R0()(L1));return e.copy = function() {- return R0(e, h2e());- }, c1.apply(e, arguments);+ return z0(e, h2e());+ }, l1.apply(e, arguments);}function g2e() {- var e = Y1(L0()).domain([1, 10]);+ var e = X1(R0()).domain([1, 10]);return e.copy = function() {- return R0(e, g2e()).base(e.base());- }, c1.apply(e, arguments);+ return z0(e, g2e()).base(e.base());+ }, l1.apply(e, arguments);}function _2e() {- var e = X1(L0());+ var e = Z1(R0());return e.copy = function() {- return R0(e, _2e()).constant(e.constant());- }, c1.apply(e, arguments);+ return z0(e, _2e()).constant(e.constant());+ }, l1.apply(e, arguments);}-function z0() {- var e = Z1(L0());+function B0() {+ var e = Q1(R0());return e.copy = function() {- return R0(e, z0()).exponent(e.exponent());- }, c1.apply(e, arguments);+ return z0(e, B0()).exponent(e.exponent());+ }, l1.apply(e, arguments);}function v2e() {- return z0.apply(null, arguments).exponent(.5);+ return B0.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/d3-scale/src/sequentialQuantile.jsfunction y2e() {- var e = [], t = I1;+ var e = [], t = L1;function n(n) {- if (n != null && !isNaN(n = +n)) return t((Z$(e, n, 1) - 1) / (e.length - 1));+ if (n != null && !isNaN(n = +n)) return t((Q$(e, n, 1) - 1) / (e.length - 1));}return n.domain = function(t) {if (!arguments.length) return e.slice();e = [];for (let n of t) n != null && !isNaN(n = +n) && e.push(n);- return e.sort(Y$), n;+ return e.sort(X$), n;}, n.interpolator = function(e) {return arguments.length ? (t = e, n) : t;}, n.range = function() {@@ -93723,12 +93732,12 @@ function y2e() {return Array.from({ length: t + 1 }, (n, r) => QQe(e, r / t));}, n.copy = function() {return y2e(t).domain(e);- }, c1.apply(n, arguments);+ }, l1.apply(n, arguments);}//#endregion//#region node_modules/d3-scale/src/diverging.js-function B0() {- var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = I1, u, d = !1, f;+function V0() {+ var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = L1, u, d = !1, f;function p(e) {return isNaN(e = +e) ? f : (e = .5 + ((e = +u(e)) - a) * (r * e < r * a ? s : c), l(d ? Math.max(0, Math.min(1, e)) : e));}@@ -93757,65 +93766,65 @@ function B0() {];};}- return p.range = m(N1), p.rangeRound = m(P1), p.unknown = function(e) {+ return p.range = m(P1), p.rangeRound = m(F1), p.unknown = function(e) {return arguments.length ? (f = e, p) : f;}, function(l) {return u = l, i = l(e), a = l(t), o = l(n), s = i === a ? 0 : .5 / (a - i), c = a === o ? 0 : .5 / (o - a), r = a < i ? -1 : 1, p;};}function b2e() {- var e = J1(B0()(I1));+ var e = Y1(V0()(L1));return e.copy = function() {- return R0(e, b2e());- }, c1.apply(e, arguments);+ return z0(e, b2e());+ }, l1.apply(e, arguments);}function x2e() {- var e = Y1(B0()).domain([+ var e = X1(V0()).domain([.1,1,10]);return e.copy = function() {- return R0(e, x2e()).base(e.base());- }, c1.apply(e, arguments);+ return z0(e, x2e()).base(e.base());+ }, l1.apply(e, arguments);}function S2e() {- var e = X1(B0());+ var e = Z1(V0());return e.copy = function() {- return R0(e, S2e()).constant(e.constant());- }, c1.apply(e, arguments);+ return z0(e, S2e()).constant(e.constant());+ }, l1.apply(e, arguments);}-function V0() {- var e = Z1(B0());+function H0() {+ var e = Q1(V0());return e.copy = function() {- return R0(e, V0()).exponent(e.exponent());- }, c1.apply(e, arguments);+ return z0(e, H0()).exponent(e.exponent());+ }, l1.apply(e, arguments);}function C2e() {- return V0.apply(null, arguments).exponent(.5);+ return H0.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/victory-vendor/es/d3-scale.jsvar w2e = /* @__PURE__ */ s({- scaleBand: () => d1,+ scaleBand: () => f1,scaleDiverging: () => b2e,scaleDivergingLog: () => x2e,- scaleDivergingPow: () => V0,+ scaleDivergingPow: () => H0,scaleDivergingSqrt: () => C2e,scaleDivergingSymlog: () => S2e,scaleIdentity: () => l1e,- scaleImplicit: () => l1,+ scaleImplicit: () => u1,scaleLinear: () => c1e,scaleLog: () => y1e,- scaleOrdinal: () => u1,+ scaleOrdinal: () => d1,scalePoint: () => n$e,- scalePow: () => Q1,+ scalePow: () => $1,scaleQuantile: () => A1e,scaleQuantize: () => j1e,scaleRadial: () => k1e,scaleSequential: () => h2e,scaleSequentialLog: () => g2e,- scaleSequentialPow: () => z0,+ scaleSequentialPow: () => B0,scaleSequentialQuantile: () => y2e,scaleSequentialSqrt: () => v2e,scaleSequentialSymlog: () => _2e,@@ -93831,7 +93840,7 @@ var w2e = /* @__PURE__ */ s({function T2e(e) {var t = w2e;if (e in t && typeof t[e] == "function") return t[e]();- var n = `scale${zY(e)}`;+ var n = `scale${BY(e)}`;if (n in t && typeof t[n] == "function") return t[n]();}function E2e(e, t, n) {@@ -93841,13 +93850,13 @@ function E2e(e, t, n) {if (r != null) return r.domain(t).range(n), r;}}-function H0(e, t, n, r) {+function U0(e, t, n, r) {if (n != null && r != null) return typeof e.scale == "function" ? E2e(e.scale, n, r) : E2e(t, n, r);}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.jsfunction D2e(e) {- return `scale${zY(e)}`;+ return `scale${BY(e)}`;}function O2e(e) {return D2e(e) in w2e;@@ -93897,7 +93906,7 @@ function N2e(e, t) {}return n;}-function U0(e) {+function W0(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? N2e(Object(n), !0).forEach(function(t) {@@ -93972,7 +93981,7 @@ function V2e(e, t) {function H2e(e) {if (Array.isArray(e)) return e;}-var W0 = [0, "auto"], G0 = {+var G0 = [0, "auto"], K0 = {allowDataOverflow: !1,allowDecimals: !0,allowDuplicatedCategory: !0,@@ -94001,13 +94010,13 @@ var W0 = [0, "auto"], G0 = {type: "category",unit: void 0,niceTicks: "auto"-}, U2e = (e, t) => e.cartesianAxis.xAxis[t], K0 = (e, t) => U2e(e, t) ?? G0, q0 = {+}, U2e = (e, t) => e.cartesianAxis.xAxis[t], q0 = (e, t) => U2e(e, t) ?? K0, J0 = {allowDataOverflow: !1,allowDecimals: !0,allowDuplicatedCategory: !0,angle: 0,dataKey: void 0,- domain: W0,+ domain: G0,hide: !0,id: 0,includeHidden: !1,@@ -94030,7 +94039,7 @@ var W0 = [0, "auto"], G0 = {unit: void 0,niceTicks: "auto",width: 60-}, W2e = (e, t) => e.cartesianAxis.yAxis[t], J0 = (e, t) => W2e(e, t) ?? q0, G2e = {+}, W2e = (e, t) => e.cartesianAxis.yAxis[t], Y0 = (e, t) => W2e(e, t) ?? J0, G2e = {domain: [0, "auto"],includeHidden: !1,reversed: !1,@@ -94043,31 +94052,31 @@ var W0 = [0, "auto"], G0 = {scale: "auto",type: "number",unit: ""-}, Y0 = (e, t) => e.cartesianAxis.zAxis[t] ?? G2e, X0 = (e, t, n) => {+}, X0 = (e, t) => e.cartesianAxis.zAxis[t] ?? G2e, Z0 = (e, t, n) => {switch (t) {- case "xAxis": return K0(e, n);- case "yAxis": return J0(e, n);- case "zAxis": return Y0(e, n);- case "angleAxis": return P$(e, n);- case "radiusAxis": return F$(e, n);+ case "xAxis": return q0(e, n);+ case "yAxis": return Y0(e, n);+ case "zAxis": return X0(e, n);+ case "angleAxis": return F$(e, n);+ case "radiusAxis": return I$(e, n);default: throw Error(`Unexpected axis type: ${t}`);}}, K2e = (e, t, n) => {switch (t) {- case "xAxis": return K0(e, n);- case "yAxis": return J0(e, n);+ case "xAxis": return q0(e, n);+ case "yAxis": return Y0(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, Z0 = (e, t, n) => {+}, Q0 = (e, t, n) => {switch (t) {- case "xAxis": return K0(e, n);- case "yAxis": return J0(e, n);- case "angleAxis": return P$(e, n);- case "radiusAxis": return F$(e, n);+ case "xAxis": return q0(e, n);+ case "yAxis": return Y0(e, n);+ case "angleAxis": return F$(e, n);+ case "radiusAxis": return I$(e, n);default: throw Error(`Unexpected axis type: ${t}`);}}, q2e = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");-function Q0(e, t) {+function $0(e, t) {return (n) => {switch (e) {case "xAxis": return "xAxisId" in n && n.xAxisId === t;@@ -94079,46 +94088,46 @@ function Q0(e, t) {}};}-var $0 = (e) => e.graphicalItems.cartesianItems, J2e = X([z$, B$], Q0), e2 = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), t2 = X([- $0,- X0,+var e2 = (e) => e.graphicalItems.cartesianItems, J2e = X([B$, V$], $0), t2 = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), n2 = X([+ e2,+ Z0,J2e-], e2, { memoizeOptions: { resultEqualityCheck: G$ } }), Y2e = X([t2], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(U$)), X2e = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Z2e = X([t2], X2e), n2 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Q2e = X([t2], (e) => e.some((e) => !e.data)), $2e = X([t2], n2, { memoizeOptions: { resultEqualityCheck: G$ } }), r2 = (e, t) => {+], t2, { memoizeOptions: { resultEqualityCheck: K$ } }), Y2e = X([n2], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(W$)), X2e = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Z2e = X([n2], X2e), r2 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Q2e = X([n2], (e) => e.some((e) => !e.data)), $2e = X([n2], r2, { memoizeOptions: { resultEqualityCheck: K$ } }), i2 = (e, t) => {var n = t.chartData, r = n === void 0 ? [] : n, i = t.dataStartIndex, a = t.dataEndIndex;return e.length > 0 ? e : r.slice(i, a + 1);-}, i2 = X([$2e, h$], r2), e4e = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: oQ(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: oQ(e, t.dataKey) })), t4e = (e, t, n, r, i, a) => {+}, a2 = X([$2e, g$], i2), e4e = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: sQ(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: sQ(e, t.dataKey) })), t4e = (e, t, n, r, i, a) => {var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = e4e(e, t, n);- return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: oQ(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;-}, a2 = X([- i2,- X0,- t2,- h$,+ return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: sQ(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;+}, o2 = X([+ a2,+ Z0,+ n2,+ g$,Q2e,$2e], t4e);-function o2(e) {- if (PY(e) || e instanceof Date) {+function s2(e) {+ if (FY(e) || e instanceof Date) {var t = Number(e);- if (rQ(t)) return t;+ if (iQ(t)) return t;}}function n4e(e) {if (Array.isArray(e)) {- var t = [o2(e[0]), o2(e[1])];- return _$(t) ? t : void 0;+ var t = [s2(e[0]), s2(e[1])];+ return v$(t) ? t : void 0;}- var n = o2(e);+ var n = s2(e);if (n != null) return [n, n];}-function s2(e) {- return e.map(o2).filter(BY);+function c2(e) {+ return e.map(s2).filter(VY);}function r4e(e, t) {- var n = o2(e), r = o2(t);+ var n = s2(e), r = s2(t);return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;}-var i4e = X([a2], (e) => e?.map((e) => e.value).sort(r4e));+var i4e = X([o2], (e) => e?.map((e) => e.value).sort(r4e));function a4e(e, t) {switch (e) {case "xAxis": return t.direction === "x";@@ -94129,25 +94138,25 @@ function a4e(e, t) {function o4e(e, t, n) {if (!n || !n.length) return [];var r;- if (typeof t == "number" && !jY(t)) r = t;+ if (typeof t == "number" && !MY(t)) r = t;else if (Array.isArray(t)) {- var i = s2(t);+ var i = c2(t);i.length > 0 && (r = Math.max(...i));}- return r == null ? [] : s2(n.flatMap((t) => {- var n = oQ(e, t.dataKey), i, a;+ return r == null ? [] : c2(n.flatMap((t) => {+ var n = sQ(e, t.dataKey), i, a;if (Array.isArray(n)) {var o = L2e(n, 2);i = o[0], a = o[1];} else i = a = n;- if (rQ(i) && rQ(a)) return [r - i, r + a];+ if (iQ(i) && iQ(a)) return [r - i, r + a];}));}-var c2 = (e) => Z0(e, K$(e), q$(e)), l2 = X([c2], (e) => e?.dataKey), s4e = X([+var l2 = (e) => Q0(e, q$(e), J$(e)), u2 = X([l2], (e) => e?.dataKey), s4e = X([Y2e,- h$,- c2-], H$), u2 = (e, t, n, r) => {+ g$,+ l2+], U$), d2 = (e, t, n, r) => {var i = t.reduce((e, t) => {if (t.stackId == null) return e;var n = e[t.stackId];@@ -94156,46 +94165,46 @@ var c2 = (e) => Z0(e, K$(e), q$(e)), l2 = X([c2], (e) => e?.dataKey), s4e = X([return Object.fromEntries(Object.entries(i).map((t) => {var i = L2e(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;return [a, {- stackedData: pqe(e, s.map(V$), n),+ stackedData: pqe(e, s.map(H$), n),graphicalItems: s}];}));-}, d2 = X([+}, f2 = X([s4e,Y2e,- C$,- w$-], u2), c4e = (e, t, n, r) => {+ w$,+ T$+], d2), c4e = (e, t, n, r) => {var i = t.dataStartIndex, a = t.dataEndIndex;if (r == null && n !== "zAxis") return _qe(e, i, a);-}, l4e = X([X0], (e) => e.allowDataOverflow), f2 = (e) => {- if (e == null || !("domain" in e)) return W0;+}, l4e = X([Z0], (e) => e.allowDataOverflow), p2 = (e) => {+ if (e == null || !("domain" in e)) return G0;if (e.domain != null) return e.domain;if ("ticks" in e && e.ticks != null) {if (e.type === "number") {- var t = s2(e.ticks);+ var t = c2(e.ticks);return [Math.min(...t), Math.max(...t)];}if (e.type === "category") return e.ticks.map(String);}- return e?.domain ?? W0;-}, p2 = X([X0], f2), m2 = X([p2, l4e], cQe), u4e = X([- d2,- p$,- z$,- m2-], c4e, { memoizeOptions: { resultEqualityCheck: W$ } }), h2 = (e) => e.errorBars, d4e = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => a4e(n, e)), g2 = function() {+ return e?.domain ?? G0;+}, m2 = X([Z0], p2), h2 = X([m2, l4e], cQe), u4e = X([+ f2,+ m$,+ B$,+ h2+], c4e, { memoizeOptions: { resultEqualityCheck: G$ } }), g2 = (e) => e.errorBars, d4e = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => a4e(n, e)), _2 = function() {var e = [...arguments].filter(Boolean);if (e.length !== 0) {var t = e.flat();return [Math.min(...t), Math.max(...t)];}-}, _2 = function(e, t, n, r, i) {+}, v2 = function(e, t, n, r, i) {var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : [], o, s;if (n.length > 0 && n.forEach((e) => {var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => a4e(i, e));n.forEach((n) => {- var r = oQ(n, t.dataKey ?? e.dataKey), i = o4e(n, r, c);+ var r = sQ(n, t.dataKey ?? e.dataKey), i = o4e(n, r, c);if (i.length >= 2) {var a = Math.min(...i), l = Math.max(...i);(o == null || a < o) && (o = a), (s == null || l > s) && (s = l);@@ -94204,129 +94213,129 @@ var c2 = (e) => Z0(e, K$(e), q$(e)), l2 = X([c2], (e) => e?.dataKey), s4e = X([u != null && (o = o == null ? u[0] : Math.min(o, u[0]), s = s == null ? u[1] : Math.max(s, u[1]));});}), t?.dataKey != null && n.length === 0 && e.forEach((e) => {- var n = n4e(oQ(e, t.dataKey));+ var n = n4e(sQ(e, t.dataKey));n != null && (o = o == null ? n[0] : Math.min(o, n[0]), s = s == null ? n[1] : Math.max(s, n[1]));- }), rQ(o) && rQ(s)) return [o, s];+ }), iQ(o) && iQ(s)) return [o, s];}, f4e = X([- i2,- X0,+ a2,+ Z0,Z2e,- h2,- z$,+ g2,+ B$,$Ze-], _2, { memoizeOptions: { resultEqualityCheck: W$ } });+], v2, { memoizeOptions: { resultEqualityCheck: G$ } });function p4e(e) {var t = e.value;- if (PY(t) || t instanceof Date) return t;+ if (FY(t) || t instanceof Date) return t;}var m4e = (e, t, n) => {var r = e.map(p4e).filter((e) => e != null);return n && (t.dataKey == null || t.allowDuplicatedCategory && $Ve(r)) ? ZZe(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));-}, h4e = (e) => e.referenceElements.dots, v2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), g4e = X([+}, h4e = (e) => e.referenceElements.dots, y2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), g4e = X([h4e,- z$,- B$-], v2), _4e = (e) => e.referenceElements.areas, v4e = X([+ B$,+ V$+], y2), _4e = (e) => e.referenceElements.areas, v4e = X([_4e,- z$,- B$-], v2), y4e = (e) => e.referenceElements.lines, b4e = X([+ B$,+ V$+], y2), y4e = (e) => e.referenceElements.lines, b4e = X([y4e,- z$,- B$-], v2), x4e = (e, t) => {+ B$,+ V$+], y2), x4e = (e, t) => {if (e != null) {- var n = s2(e.map((e) => t === "xAxis" ? e.x : e.y));+ var n = c2(e.map((e) => t === "xAxis" ? e.x : e.y));if (n.length !== 0) return [Math.min(...n), Math.max(...n)];}-}, S4e = X(g4e, z$, x4e), C4e = (e, t) => {+}, S4e = X(g4e, B$, x4e), C4e = (e, t) => {if (e != null) {- var n = s2(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));+ var n = c2(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));if (n.length !== 0) return [Math.min(...n), Math.max(...n)];}-}, w4e = X([v4e, z$], C4e);+}, w4e = X([v4e, B$], C4e);function T4e(e) {- if (e.x != null) return s2([e.x]);+ if (e.x != null) return c2([e.x]);var t = e.segment?.map((e) => e.x);- return t == null || t.length === 0 ? [] : s2(t);+ return t == null || t.length === 0 ? [] : c2(t);}function E4e(e) {- if (e.y != null) return s2([e.y]);+ if (e.y != null) return c2([e.y]);var t = e.segment?.map((e) => e.y);- return t == null || t.length === 0 ? [] : s2(t);+ return t == null || t.length === 0 ? [] : c2(t);}var D4e = (e, t) => {if (e != null) {var n = e.flatMap((e) => t === "xAxis" ? T4e(e) : E4e(e));if (n.length !== 0) return [Math.min(...n), Math.max(...n)];}-}, O4e = X(S4e, X([b4e, z$], D4e), w4e, (e, t, n) => g2(e, n, t)), y2 = (e, t, n, r, i, a, o, s, c) => {+}, O4e = X(S4e, X([b4e, B$], D4e), w4e, (e, t, n) => _2(e, n, t)), b2 = (e, t, n, r, i, a, o, s, c) => {if (n != null) return n;- var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? g2(r, a, i) : g2(a, i), u = lQe(t, l, e.allowDataOverflow);+ var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? _2(r, a, i) : _2(a, i), u = lQe(t, l, e.allowDataOverflow);return u == null && e.allowDataOverflow && l == null && c != null ? c : u;}, k4e = X([- X0,- p2,+ Z0,m2,+ h2,u4e,f4e,O4e,- MQ,- z$,- X([X0], (e) => {+ NQ,+ B$,+ X([Z0], (e) => {if (e != null && e.type === "number" && "ticks" in e && e.ticks != null) {- var t = s2(e.ticks);+ var t = c2(e.ticks);if (t.length !== 0) return [Math.min(...t), Math.max(...t)];}- }, { memoizeOptions: { resultEqualityCheck: W$ } })-], y2, { memoizeOptions: { resultEqualityCheck: W$ } }), A4e = [0, 1], b2 = (e, t, n, r, i, a, o) => {+ }, { memoizeOptions: { resultEqualityCheck: G$ } })+], b2, { memoizeOptions: { resultEqualityCheck: G$ } }), A4e = [0, 1], x2 = (e, t, n, r, i, a, o) => {if (e != null && n != null && n.length !== 0 || o !== void 0) {- var s = e.dataKey, c = e.type, l = sQ(t, a);+ var s = e.dataKey, c = e.type, l = cQ(t, a);return l && s == null ? ZZe(0, n?.length ?? 0) : c === "category" ? m4e(r, e, l) : i === "expand" && !l ? A4e : o;}-}, x2 = X([- X0,- MQ,- i2,+}, S2 = X([+ Z0,+ NQ,a2,- C$,- z$,+ o2,+ w$,+ B$,k4e-], b2), S2 = X([- X0,+], x2), C2 = X([+ Z0,q2e,- T$-], k2e), C2 = (e, t, n) => {+ E$+], k2e), w2 = (e, t, n) => {var r = t.niceTicks;if (r !== "none") {- var i = f2(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");- if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && _$(e)) {+ var i = p2(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");+ if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && v$(e)) {if (a) return xQe(e, t.tickCount, t.allowDecimals, r);if (t.type === "number") return SQe(e, t.tickCount, t.allowDecimals, r);}if (r === "auto" && n === "linear" && t != null && t.tickCount) {- if (a && _$(e)) return xQe(e, t.tickCount, t.allowDecimals, "adaptive");- if (t.type === "number" && _$(e)) return SQe(e, t.tickCount, t.allowDecimals, "adaptive");+ if (a && v$(e)) return xQe(e, t.tickCount, t.allowDecimals, "adaptive");+ if (t.type === "number" && v$(e)) return SQe(e, t.tickCount, t.allowDecimals, "adaptive");}}-}, w2 = X([- x2,- Z0,- S2-], C2), T2 = (e, t, n, r) => {- if (r !== "angleAxis" && e?.type === "number" && _$(t) && Array.isArray(n) && n.length > 0) {+}, T2 = X([+ S2,+ Q0,+ C2+], w2), E2 = (e, t, n, r) => {+ if (r !== "angleAxis" && e?.type === "number" && v$(t) && Array.isArray(n) && n.length > 0) {var i = t[0], a = n[0] ?? 0, o = t[1], s = n[n.length - 1] ?? 0;return [Math.min(i, a), Math.max(o, s)];}return t;}, j4e = X([- X0,- x2,- w2,- z$-], T2), M4e = X(X(a2, X0, (e, t) => {+ Z0,+ S2,+ T2,+ B$+], E2), M4e = X(X(o2, Z0, (e, t) => {if (t && t.type === "number") {- var n = Infinity, r = Array.from(s2(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];+ var n = Infinity, r = Array.from(c2(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];if (i == null || a == null) return Infinity;var o = a - i;if (o === 0) return Infinity;@@ -94339,22 +94348,22 @@ var D4e = (e, t) => {}return n / o;}-}), MQ, S$, yQ, (e, t, n, r, i) => i, (e, t, n, r, i) => {- if (!rQ(e)) return 0;+}), NQ, C$, bQ, (e, t, n, r, i) => i, (e, t, n, r, i) => {+ if (!iQ(e)) return 0;var a = t === "vertical" ? r.height : r.width;if (i === "gap") return e * a / 2;if (i === "no-gap") {- var o = IY(n, e * a), s = e * a / 2;+ var o = LY(n, e * a), s = e * a / 2;return s - o - (s - o) / a * o;}return 0;}), N4e = (e, t, n) => {- var r = K0(e, t);+ var r = q0(e, t);return r == null || typeof r.padding != "string" ? 0 : M4e(e, "xAxis", t, n, r.padding);}, P4e = (e, t, n) => {- var r = J0(e, t);+ var r = Y0(e, t);return r == null || typeof r.padding != "string" ? 0 : M4e(e, "yAxis", t, n, r.padding);-}, F4e = X(K0, N4e, (e, t) => {+}, F4e = X(q0, N4e, (e, t) => {if (e == null) return {left: 0,right: 0@@ -94367,7 +94376,7 @@ var D4e = (e, t) => {left: (n.left ?? 0) + t,right: (n.right ?? 0) + t};-}), I4e = X(J0, P4e, (e, t) => {+}), I4e = X(Y0, P4e, (e, t) => {if (e == null) return {top: 0,bottom: 0@@ -94381,58 +94390,58 @@ var D4e = (e, t) => {bottom: (n.bottom ?? 0) + t};}), L4e = X([- yQ,+ bQ,F4e,+ wQ,CQ,- SQ,(e, t, n) => n], (e, t, n, r, i) => {var a = r.padding;return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];}), R4e = X([- yQ,- MQ,+ bQ,+ NQ,I4e,+ wQ,CQ,- SQ,(e, t, n) => n], (e, t, n, r, i, a) => {var o = i.padding;return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];-}), E2 = (e, t, n, r) => {+}), D2 = (e, t, n, r) => {switch (t) {case "xAxis": return L4e(e, n, r);case "yAxis": return R4e(e, n, r);- case "zAxis": return Y0(e, n)?.range;+ case "zAxis": return X0(e, n)?.range;case "angleAxis": return FQe(e);case "radiusAxis": return LQe(e, n);default: return;}-}, z4e = X([X0, E2], j$), D2 = X([- X0,- S2,- X([S2, j4e], BQe),+}, z4e = X([Z0, D2], M$), O2 = X([+ Z0,+ C2,+ X([C2, j4e], BQe),z4e-], H0), O2 = (e, t, n, r) => {+], U0), k2 = (e, t, n, r) => {if (n != null && n.dataKey != null) {var i = n.type, a = n.scale;- if (sQ(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);+ if (cQ(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);}-}, k2 = X([- MQ,- a2,- Z0,- z$-], O2), A2 = X([D2], J$);-X([D2], M2e), X([D2, i4e], j2e), X([- t2,- h2,- z$+}, A2 = X([+ NQ,+ o2,+ Q0,+ B$+], k2), j2 = X([O2], Y$);+X([O2], M2e), X([O2, i4e], j2e), X([+ n2,+ g2,+ B$], d4e);function B4e(e, t) {return e.id < t.id ? -1 : +(e.id > t.id);}-var j2 = (e, t) => t, M2 = (e, t, n) => n, V4e = X(gQ, j2, M2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(B4e)), H4e = X(_Q, j2, M2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(B4e)), U4e = (e, t) => {+var M2 = (e, t) => t, N2 = (e, t, n) => n, V4e = X(_Q, M2, N2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(B4e)), H4e = X(vQ, M2, N2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(B4e)), U4e = (e, t) => {var n = typeof t.height == "number" ? t.height : 30;return {width: e.width,@@ -94441,7 +94450,7 @@ var j2 = (e, t) => t, M2 = (e, t, n) => n, V4e = X(gQ, j2, M2, (e, t, n) => e.fi}, W4e = (e, t) => ({width: typeof t.width == "number" ? t.width : 60,height: e.height-}), G4e = X(yQ, K0, U4e), K4e = (e, t, n) => {+}), G4e = X(bQ, q0, U4e), K4e = (e, t, n) => {switch (t) {case "top": return e.top;case "bottom": return n - e.bottom;@@ -94453,7 +94462,7 @@ var j2 = (e, t) => t, M2 = (e, t, n) => n, V4e = X(gQ, j2, M2, (e, t, n) => e.ficase "right": return n - e.right;default: return 0;}-}, J4e = X(mQ, yQ, V4e, j2, M2, (e, t, n, r, i) => {+}, J4e = X(hQ, bQ, V4e, M2, N2, (e, t, n, r, i) => {var a = {}, o;return n.forEach((n) => {var s = U4e(t, n);@@ -94461,7 +94470,7 @@ var j2 = (e, t) => t, M2 = (e, t, n) => n, V4e = X(gQ, j2, M2, (e, t, n) => e.fivar c = r === "top" && !i || r === "bottom" && i;a[n.id] = o - Number(c) * s.height, o += (c ? -1 : 1) * s.height;}), a;-}), Y4e = X(pQ, yQ, H4e, j2, M2, (e, t, n, r, i) => {+}), Y4e = X(mQ, bQ, H4e, M2, N2, (e, t, n, r, i) => {var a = {}, o;return n.forEach((n) => {var s = W4e(t, n);@@ -94470,10 +94479,10 @@ var j2 = (e, t) => t, M2 = (e, t, n) => n, V4e = X(gQ, j2, M2, (e, t, n) => e.fia[n.id] = o - Number(c) * s.width, o += (c ? -1 : 1) * s.width;}), a;}), X4e = X([- yQ,- K0,+ bQ,+ q0,(e, t) => {- var n = K0(e, t);+ var n = q0(e, t);if (n != null) return J4e(e, n.orientation, n.mirror);},(e, t) => t@@ -94489,10 +94498,10 @@ var j2 = (e, t) => t, M2 = (e, t, n) => n, V4e = X(gQ, j2, M2, (e, t, n) => e.fi};}}), Z4e = X([- yQ,- J0,+ bQ,+ Y0,(e, t) => {- var n = J0(e, t);+ var n = Y0(e, t);if (n != null) return Y4e(e, n.orientation, n.mirror);},(e, t) => t@@ -94507,7 +94516,7 @@ var j2 = (e, t) => t, M2 = (e, t, n) => n, V4e = X(gQ, j2, M2, (e, t, n) => e.fiy: e.top};}-}), Q4e = X(yQ, J0, (e, t) => ({+}), Q4e = X(bQ, Y0, (e, t) => ({width: typeof t.width == "number" ? t.width : 60,height: e.height})), $4e = (e, t, n) => {@@ -94518,27 +94527,27 @@ var j2 = (e, t) => t, M2 = (e, t, n) => n, V4e = X(gQ, j2, M2, (e, t, n) => e.fi}}, e3e = (e, t, n, r) => {if (n != null) {- var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = sQ(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);+ var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = cQ(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);if (o && s && a === "category" && i && $Ve(l)) return c;}-}, N2 = X([- MQ,- a2,- X0,- z$+}, P2 = X([+ NQ,+ o2,+ Z0,+ B$], e3e), t3e = X([- MQ,+ NQ,K2e,- S2,+ C2,+ j2,+ P2,A2,- N2,- k2,- E2,- w2,- z$+ D2,+ T2,+ B$], (e, t, n, r, i, a, o, s, c) => {if (t != null) {- var l = sQ(e, c);+ var l = cQ(e, c);return {angle: t.angle,interval: t.interval,@@ -94562,105 +94571,105 @@ var j2 = (e, t) => t, M2 = (e, t, n) => n, V4e = X(gQ, j2, M2, (e, t, n) => e.fi}}), n3e = (e, t, n, r, i, a, o, s, c) => {if (t != null && r != null) {- var l = sQ(e, c), u = t.type, d = t.ticks, f = t.tickCount, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;- m = c === "angleAxis" && a != null && a.length >= 2 ? AY(a[0] - a[1]) * 2 * m : m;+ var l = cQ(e, c), u = t.type, d = t.ticks, f = t.tickCount, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;+ m = c === "angleAxis" && a != null && a.length >= 2 ? jY(a[0] - a[1]) * 2 * m : m;var h = d || i;return h ? h.map((e, t) => {var n = o ? o.indexOf(e) : e, i = r.map(n);- return rQ(i) ? {+ return iQ(i) ? {index: t,coordinate: i + m,value: e,offset: m} : null;- }).filter(BY) : l && s ? s.map((e, t) => {+ }).filter(VY) : l && s ? s.map((e, t) => {var n = r.map(e);- return rQ(n) ? {+ return iQ(n) ? {coordinate: n + m,value: e,index: t,offset: m} : null;- }).filter(BY) : r.ticks ? r.ticks(f).map((e, t) => {+ }).filter(VY) : r.ticks ? r.ticks(f).map((e, t) => {var n = r.map(e);- return rQ(n) ? {+ return iQ(n) ? {coordinate: n + m,value: e,index: t,offset: m} : null;- }).filter(BY) : r.domain().map((e, t) => {+ }).filter(VY) : r.domain().map((e, t) => {var n = r.map(e);- return rQ(n) ? {+ return iQ(n) ? {coordinate: n + m,value: o ? o[e] : e,index: t,offset: m} : null;- }).filter(BY);+ }).filter(VY);}}, r3e = X([- MQ,- Z0,- S2,+ NQ,+ Q0,+ C2,+ j2,+ T2,+ D2,+ P2,A2,- w2,- E2,- N2,- k2,- z$+ B$], n3e), i3e = (e, t, n, r, i, a, o) => {if (t != null && n != null && r != null && r[0] !== r[1]) {- var s = sQ(e, o), c = t.tickCount, l = 0;- return l = o === "angleAxis" && r?.length >= 2 ? AY(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {+ var s = cQ(e, o), c = t.tickCount, l = 0;+ return l = o === "angleAxis" && r?.length >= 2 ? jY(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {var r = n.map(e);- return rQ(r) ? {+ return iQ(r) ? {coordinate: r + l,value: e,index: t,offset: l} : null;- }).filter(BY) : n.ticks ? n.ticks(c).map((e, t) => {+ }).filter(VY) : n.ticks ? n.ticks(c).map((e, t) => {var r = n.map(e);- return rQ(r) ? {+ return iQ(r) ? {coordinate: r + l,value: e,index: t,offset: l} : null;- }).filter(BY) : n.domain().map((e, t) => {+ }).filter(VY) : n.domain().map((e, t) => {var r = n.map(e);- return rQ(r) ? {+ return iQ(r) ? {coordinate: r + l,value: i ? i[e] : e,index: t,offset: l} : null;- }).filter(BY);- }-}, P2 = X([- MQ,- Z0,+ }).filter(VY);+ }+}, F2 = X([+ NQ,+ Q0,+ j2,+ D2,+ P2,A2,- E2,- N2,- k2,- z$-], i3e), F2 = X(X0, A2, (e, t) => {- if (e != null && t != null) return U0(U0({}, e), {}, { scale: t });+ B$+], i3e), I2 = X(Z0, j2, (e, t) => {+ if (e != null && t != null) return W0(W0({}, e), {}, { scale: t });});-X((e, t, n) => Y0(e, n), X([X([- X0,+X((e, t, n) => X0(e, n), X([X([+ Z0,+ C2,S2,- x2,z4e-], H0)], J$), (e, t) => {- if (e != null && t != null) return U0(U0({}, e), {}, { scale: t });+], U0)], Y$), (e, t) => {+ if (e != null && t != null) return W0(W0({}, e), {}, { scale: t });});var a3e = X([- MQ,- gQ,- _Q+ NQ,+ _Q,+ vQ], (e, t, n) => {switch (e) {case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";@@ -94688,35 +94697,35 @@ function c3e(e, t, n) {var r = e ? "axis" : "item";return n == null ? t : n.includes(r) ? r : t;}-function I2(e, t) {+function L2(e, t) {return c3e(t, o3e(e), s3e(e));}function l3e(e) {- return RX((t) => I2(t, e));+ return zX((t) => L2(t, e));}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.jsvar u3e = (e, t) => {var n, r = Number(t);- if (!(jY(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;-}, d3e = (e) => e.tooltip.settings, L2 = {+ if (!(MY(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;+}, d3e = (e) => e.tooltip.settings, R2 = {active: !1,index: null,dataKey: void 0,graphicalItemId: void 0,coordinate: void 0-}, f3e = HZ({+}, f3e = UZ({name: "tooltip",initialState: {itemInteraction: {- click: L2,- hover: L2+ click: R2,+ hover: R2},axisInteraction: {- click: L2,- hover: L2+ click: R2,+ hover: R2},- keyboardInteraction: L2,+ keyboardInteraction: R2,syncInteraction: {active: !1,index: null,@@ -94738,23 +94747,23 @@ var u3e = (e, t) => {reducers: {addTooltipEntrySettings: {reducer(e, t) {- e.tooltipItemPayloads.push(RZ(t.payload));+ e.tooltipItemPayloads.push(zZ(t.payload));},- prepare: VZ()+ prepare: HZ()},replaceTooltipEntrySettings: {reducer(e, t) {- var n = t.payload, r = n.prev, i = n.next, a = LZ(e).tooltipItemPayloads.indexOf(RZ(r));- a > -1 && (e.tooltipItemPayloads[a] = RZ(i));+ var n = t.payload, r = n.prev, i = n.next, a = RZ(e).tooltipItemPayloads.indexOf(zZ(r));+ a > -1 && (e.tooltipItemPayloads[a] = zZ(i));},- prepare: VZ()+ prepare: HZ()},removeTooltipEntrySettings: {reducer(e, t) {- var n = LZ(e).tooltipItemPayloads.indexOf(RZ(t.payload));+ var n = RZ(e).tooltipItemPayloads.indexOf(zZ(t.payload));n > -1 && e.tooltipItemPayloads.splice(n, 1);},- prepare: VZ()+ prepare: HZ()},setTooltipSettingsState(e, t) {e.settings = t.payload;@@ -94784,7 +94793,7 @@ var u3e = (e, t) => {e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;}}-}), R2 = f3e.actions, p3e = R2.addTooltipEntrySettings, m3e = R2.replaceTooltipEntrySettings, h3e = R2.removeTooltipEntrySettings, g3e = R2.setTooltipSettingsState, _3e = R2.setActiveMouseOverItemIndex, v3e = R2.mouseLeaveItem, y3e = R2.mouseLeaveChart, b3e = R2.setActiveClickItemIndex, x3e = R2.setMouseOverAxisIndex, S3e = R2.setMouseClickAxisIndex, z2 = R2.setSyncInteraction, B2 = R2.setKeyboardInteraction, C3e = f3e.reducer;+}), z2 = f3e.actions, p3e = z2.addTooltipEntrySettings, m3e = z2.replaceTooltipEntrySettings, h3e = z2.removeTooltipEntrySettings, g3e = z2.setTooltipSettingsState, _3e = z2.setActiveMouseOverItemIndex, v3e = z2.mouseLeaveItem, y3e = z2.mouseLeaveChart, b3e = z2.setActiveClickItemIndex, x3e = z2.setMouseOverAxisIndex, S3e = z2.setMouseClickAxisIndex, B2 = z2.setSyncInteraction, V2 = z2.setKeyboardInteraction, C3e = f3e.reducer;//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.jsfunction w3e(e, t) {@@ -94797,7 +94806,7 @@ function w3e(e, t) {}return n;}-function V2(e) {+function H2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? w3e(Object(n), !0).forEach(function(t) {@@ -94837,15 +94846,15 @@ function k3e(e) {return e.index != null;}var A3e = (e, t, n, r) => {- if (t == null) return L2;+ if (t == null) return R2;var i = O3e(e, t, n);- if (i == null) return L2;+ if (i == null) return R2;if (i.active) return i;if (e.keyboardInteraction.active) return e.keyboardInteraction;if (e.syncInteraction.active && e.syncInteraction.index != null) return e.syncInteraction;var a = e.settings.active === !0;if (k3e(i)) {- if (a) return V2(V2({}, i), {}, { active: !0 });+ if (a) return H2(H2({}, i), {}, { active: !0 });} else if (r != null) return {active: !0,coordinate: void 0,@@ -94853,7 +94862,7 @@ var A3e = (e, t, n, r) => {index: r,graphicalItemId: void 0};- return V2(V2({}, L2), {}, { coordinate: i.coordinate });+ return H2(H2({}, R2), {}, { coordinate: i.coordinate });};//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js@@ -94872,14 +94881,14 @@ function M3e(e, t) {}function N3e(e, t, n) {if (n == null || t == null) return !0;- var r = oQ(e, t);- return r == null || !_$(n) || M3e(r, n);+ var r = sQ(e, t);+ return r == null || !v$(n) || M3e(r, n);}-var H2 = (e, t, n, r) => {+var U2 = (e, t, n, r) => {var i = e?.index;if (i == null) return null;var a = Number(i);- if (!rQ(a)) return i;+ if (!iQ(a)) return i;var o = 0, s = Infinity;t.length > 0 && (s = t.length - 1);var c = Math.max(o, Math.min(a, s)), l = t[c];@@ -94910,7 +94919,7 @@ var H2 = (e, t, n, r) => {return a == null ? [] : [a];}return e.tooltipItemPayloads.filter((e) => e.settings?.graphicalItemId === i);-}, I3e = (e) => e.options.tooltipPayloadSearcher, U2 = (e) => e.tooltip;+}, I3e = (e) => e.options.tooltipPayloadSearcher, W2 = (e) => e.tooltip;//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.jsfunction L3e(e, t) {@@ -94998,71 +95007,71 @@ var J3e = (e, t, n, r, i, a, o) => {tooltipEntrySettings: o,dataKey: i,payload: a,- value: oQ(a, i),+ value: sQ(a, i),name: r == null ? void 0 : String(r)}));}) : e.push(bqe({tooltipEntrySettings: f,dataKey: h,payload: _,- value: oQ(_, h),- name: oQ(_, g) ?? f?.name+ value: sQ(_, h),+ name: sQ(_, g) ?? f?.name})), e;}, []);}-}, W2 = X([- c2,+}, G2 = X([+ l2,q2e,- T$-], k2e), G2 = X([+ E$+], k2e), K2 = X([X([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),- c2,- X([K$, q$], Q0)-], e2, { memoizeOptions: { resultEqualityCheck: G$ } }), Y3e = X([G2], (e) => e.filter(U$)), X3e = X([G2], n2, { memoizeOptions: { resultEqualityCheck: G$ } }), Z3e = X([G2], (e) => e.some((e) => !e.data)), K2 = X([X3e, p$], r2), Q3e = X([+ l2,+ X([q$, J$], $0)+], t2, { memoizeOptions: { resultEqualityCheck: K$ } }), Y3e = X([K2], (e) => e.filter(W$)), X3e = X([K2], r2, { memoizeOptions: { resultEqualityCheck: K$ } }), Z3e = X([K2], (e) => e.some((e) => !e.data)), q2 = X([X3e, m$], i2), Q3e = X([Y3e,- p$,- c2-], H$), q2 = X([+ m$,+ l2+], U$), J2 = X([+ q2,+ l2,K2,- c2,- G2,- p$,+ m$,Z3e,X3e-], t4e), $3e = X([c2], f2), e6e = X([$3e, X([c2], (e) => e.allowDataOverflow)], cQe), t6e = X([+], t4e), $3e = X([l2], p2), e6e = X([$3e, X([l2], (e) => e.allowDataOverflow)], cQe), t6e = X([X([Q3e,- X([G2], (e) => e.filter(U$)),- C$,- w$- ], u2),- p$,- K$,+ X([K2], (e) => e.filter(W$)),+ w$,+ T$+ ], d2),+ m$,+ q$,e6e], c4e), n6e = X([- K2,- c2,- X([G2], X2e),- h2,- K$,+ q2,+ l2,+ X([K2], X2e),+ g2,+ q$,tQe-], _2, { memoizeOptions: { resultEqualityCheck: W$ } }), r6e = X([X([+], v2, { memoizeOptions: { resultEqualityCheck: G$ } }), r6e = X([X([h4e,- K$,- q$-], v2), K$], x4e), i6e = X([X([+ q$,+ J$+], y2), q$], x4e), i6e = X([X([_4e,- K$,- q$-], v2), K$], C4e), J2 = X([- c2,- MQ,- K2,+ q$,+ J$+], y2), q$], C4e), Y2 = X([+ l2,+ NQ,q2,- C$,- K$,+ J2,+ w$,+ q$,X([- c2,+ l2,$3e,e6e,t6e,@@ -95071,110 +95080,110 @@ var J3e = (e, t, n, r, i, a, o) => {r6e,X([X([y4e,- K$,- q$- ], v2), K$], D4e),+ q$,+ J$+ ], y2), q$], D4e),i6e- ], g2),- MQ,- K$- ], y2)-], b2), a6e = X([- c2,- J2,+ ], _2),+ NQ,+ q$+ ], b2)+], x2), a6e = X([+ l2,+ Y2,X([- J2,- c2,- W2- ], C2),- K$-], T2), o6e = (e) => E2(e, K$(e), q$(e), !1), s6e = X([c2, o6e], j$), c6e = X([X([- c2,- W2,+ Y2,+ l2,+ G2+ ], w2),+ q$+], E2), o6e = (e) => D2(e, q$(e), J$(e), !1), s6e = X([l2, o6e], M$), c6e = X([X([+ l2,+ G2,a6e,s6e-], H0)], J$), Y2 = X([- MQ,- c2,- W2,+], U0)], Y$), X2 = X([+ NQ,+ l2,+ G2,c6e,o6e,X([- MQ,- q2,- c2,- K$+ NQ,+ J2,+ l2,+ q$], e3e),X([- MQ,- q2,- c2,- K$- ], O2),- K$+ NQ,+ J2,+ l2,+ q$+ ], k2),+ q$], (e, t, n, r, i, a, o, s) => {if (t) {- var c = t.type, l = sQ(e, s);+ var c = t.type, l = cQ(e, s);if (r) {var u = n === "scaleBand" && r.bandwidth ? r.bandwidth() / 2 : 2, d = c === "category" && r.bandwidth ? r.bandwidth() / u : 0;- return d = s === "angleAxis" && i != null && i?.length >= 2 ? AY(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? jY(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {var n = r.map(e);- return rQ(n) ? {+ return iQ(n) ? {coordinate: n + d,value: e,index: t,offset: d} : null;- }).filter(BY) : r.domain().map((e, t) => {+ }).filter(VY) : r.domain().map((e, t) => {var n = r.map(e);- return rQ(n) ? {+ return iQ(n) ? {coordinate: n + d,value: a ? a[e] : e,index: t,offset: d} : null;- }).filter(BY);+ }).filter(VY);}}-}), X2 = X([+}), Z2 = X([o3e,s3e,d3e-], (e, t, n) => c3e(n.shared, e, t)), l6e = (e) => e.tooltip.settings.trigger, Z2 = (e) => e.tooltip.settings.defaultIndex, Q2 = X([- U2,- X2,+], (e, t, n) => c3e(n.shared, e, t)), l6e = (e) => e.tooltip.settings.trigger, Q2 = (e) => e.tooltip.settings.defaultIndex, $2 = X([+ W2,+ Z2,l6e,- Z2-], A3e), $2 = X([- Q2,- K2,- l2,- J2-], H2), u6e = X([Y2, $2], u3e), d6e = X([Q2], (e) => {+ Q2+], A3e), e4 = X([+ $2,+ q2,+ u2,+ Y2+], U2), u6e = X([X2, e4], u3e), d6e = X([$2], (e) => {if (e) return e.dataKey;-}), f6e = X([Q2], (e) => {+}), f6e = X([$2], (e) => {if (e) return e.graphicalItemId;}), p6e = X([- U2,- X2,+ W2,+ Z2,l6e,- Z2-], F3e), m6e = X([Q2, X([- pQ,+ Q2+], F3e), m6e = X([$2, X([mQ,- MQ,- yQ,- Y2,- Z2,+ hQ,+ NQ,+ bQ,+ X2,+ Q2,p6e-], P3e)], (e, t) => e != null && e.coordinate ? e.coordinate : t), h6e = X([Q2], (e) => e?.active ?? !1), g6e = X([X([+], P3e)], (e, t) => e != null && e.coordinate ? e.coordinate : t), h6e = X([$2], (e) => e?.active ?? !1), g6e = X([X([p6e,- $2,- p$,- l2,+ e4,+ m$,+ u2,u6e,I3e,- X2+ Z2], J3e)], (e) => {if (e != null) {var t = e.map((e) => e.payload).filter((e) => e != null);@@ -95226,9 +95235,9 @@ function x6e(e, t) {}return (t === "string" ? String : Number)(e);}-var S6e = () => RX(c2), C6e = () => {- var e = S6e(), t = RX(Y2), n = RX(c6e);- return dQ(!e || !n ? void 0 : v6e(v6e({}, e), {}, { scale: n }), t);+var S6e = () => zX(l2), C6e = () => {+ var e = S6e(), t = zX(X2), n = zX(c6e);+ return fQ(!e || !n ? void 0 : v6e(v6e({}, e), {}, { scale: n }), t);};//#endregion//#region node_modules/recharts/es6/util/getActiveCoordinate.js@@ -95242,7 +95251,7 @@ function w6e(e, t) {}return n;}-function e4(e) {+function t4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? w6e(Object(n), !0).forEach(function(t) {@@ -95296,13 +95305,13 @@ var O6e = (e, t, n, r) => {if (i) {if (e === "centric") {var a = i.coordinate, o = r.radius;- return e4(e4(e4({}, r), s$(r.cx, r.cy, o, a)), {}, {+ return t4(t4(t4({}, r), c$(r.cx, r.cy, o, a)), {}, {angle: a,radius: o});}var s = i.coordinate, c = r.angle;- return e4(e4(e4({}, r), s$(r.cx, r.cy, s, c)), {}, {+ return t4(t4(t4({}, r), c$(r.cx, r.cy, s, c)), {}, {angle: c,radius: s});@@ -95335,9 +95344,9 @@ var j6e = (e, t, n, r, i) => {].some((e) => (r ? e >= t : e > t) && e <= n), c = 0; c < a; c++) {var l = c > 0 ? n[c - 1]?.coordinate : n[a - 1]?.coordinate, u = n[c]?.coordinate, d = c >= a - 1 ? n[0]?.coordinate : n[c + 1]?.coordinate, f = void 0;if (l != null && u != null && d != null) {- if (AY(u - l) !== AY(d - u)) {+ if (jY(u - l) !== jY(d - u)) {var p = [];- if (AY(d - u) === AY(i[1] - i[0])) {+ if (jY(d - u) === jY(i[1] - i[0])) {f = d;var m = u + i[1] - i[0];p[0] = Math.min(m, (m + l) / 2), p[1] = Math.max(m, (m + l) / 2);@@ -95362,43 +95371,43 @@ var j6e = (e, t, n, r, i) => {}}return -1;-}, M6e = () => RX(T$), t4 = (e, t) => t, N6e = (e, t, n) => n, n4 = (e, t, n, r) => r, P6e = X(Y2, (e) => VX(e, (e) => e.coordinate)), r4 = X([- U2,- t4,+}, M6e = () => zX(E$), n4 = (e, t) => t, N6e = (e, t, n) => n, r4 = (e, t, n, r) => r, P6e = X(X2, (e) => HX(e, (e) => e.coordinate)), i4 = X([+ W2,+ n4,N6e,- n4-], A3e), i4 = X([- r4,- K2,- l2,- J2-], H2), F6e = (e, t, n) => {+ r4+], A3e), a4 = X([+ i4,+ q2,+ u2,+ Y2+], U2), F6e = (e, t, n) => {if (t != null) {- var r = U2(e);+ var r = W2(e);return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;}}, I6e = X([- U2,- t4,+ W2,+ n4,N6e,- n4-], F3e), a4 = X([- pQ,+ r4+], F3e), o4 = X([mQ,- MQ,- yQ,- Y2,- n4,+ hQ,+ NQ,+ bQ,+ X2,+ r4,I6e-], P3e), L6e = X([r4, a4], (e, t) => e.coordinate ?? t), R6e = X([Y2, i4], u3e), z6e = X([+], P3e), L6e = X([i4, o4], (e, t) => e.coordinate ?? t), R6e = X([X2, a4], u3e), z6e = X([I6e,- i4,- p$,- l2,+ a4,+ m$,+ u2,R6e,I3e,- t4-], J3e), B6e = X([r4, i4], (e, t) => ({+ n4+], J3e), B6e = X([i4, a4], (e, t) => ({isActive: e.active && t != null,activeIndex: t})), V6e = (e, t, n, r, i, a, o) => {@@ -95428,7 +95437,7 @@ var j6e = (e, t, n, r, i) => {if (r != null) return n ? r.panoramaElement : r.element;}}), G6e = X((e) => e.zIndex.zIndexMap, (e) => {- var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(O$));+ var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(k$));return Array.from(new Set(t)).sort((e, t) => e - t);}, { memoizeOptions: { resultEqualityCheck: zQe } });//#endregion@@ -95476,15 +95485,15 @@ function X6e(e, t) {}return (t === "string" ? String : Number)(e);}-var Z6e = { zIndexMap: Object.values(O$).reduce((e, t) => q6e(q6e({}, e), {}, { [t]: {+var Z6e = { zIndexMap: Object.values(k$).reduce((e, t) => q6e(q6e({}, e), {}, { [t]: {element: void 0,panoramaElement: void 0,consumers: 0-} }), {}) }, Q6e = new Set(Object.values(O$));+} }), {}) }, Q6e = new Set(Object.values(k$));function $6e(e) {return Q6e.has(e);}-var e8e = HZ({+var e8e = UZ({name: "zIndex",initialState: Z6e,reducers: {@@ -95497,50 +95506,50 @@ var e8e = HZ({panoramaElement: void 0};},- prepare: VZ()+ prepare: HZ()},unregisterZIndexPortal: {reducer: (e, t) => {var n = t.payload.zIndex;e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !$6e(n) && delete e.zIndexMap[n]);},- prepare: VZ()+ prepare: HZ()},registerZIndexPortalElement: {reducer: (e, t) => {var n = t.payload, r = n.zIndex, i = n.element, a = n.isPanorama;- e.zIndexMap[r] ? a ? e.zIndexMap[r].panoramaElement = RZ(i) : e.zIndexMap[r].element = RZ(i) : e.zIndexMap[r] = {+ e.zIndexMap[r] ? a ? e.zIndexMap[r].panoramaElement = zZ(i) : e.zIndexMap[r].element = zZ(i) : e.zIndexMap[r] = {consumers: 0,- element: a ? void 0 : RZ(i),- panoramaElement: a ? RZ(i) : void 0+ element: a ? void 0 : zZ(i),+ panoramaElement: a ? zZ(i) : void 0};},- prepare: VZ()+ prepare: HZ()},unregisterZIndexPortalElement: {reducer: (e, t) => {var n = t.payload.zIndex;e.zIndexMap[n] && (t.payload.isPanorama ? e.zIndexMap[n].panoramaElement = void 0 : e.zIndexMap[n].element = void 0);},- prepare: VZ()+ prepare: HZ()}}-}), o4 = e8e.actions, t8e = o4.registerZIndexPortal, s4 = o4.unregisterZIndexPortal, n8e = o4.registerZIndexPortalElement, r8e = o4.unregisterZIndexPortalElement, i8e = e8e.reducer;+}), s4 = e8e.actions, t8e = s4.registerZIndexPortal, c4 = s4.unregisterZIndexPortal, n8e = s4.registerZIndexPortalElement, r8e = s4.unregisterZIndexPortalElement, i8e = e8e.reducer;//#endregion//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js-function c4(e) {- var t = e.zIndex, n = e.children, r = pJe() && t !== void 0 && t !== 0, i = xQ(), a = (0, E.useRef)(void 0), o = (0, E.useRef)(/* @__PURE__ */ new Set()), s = IX(), c = RX((e) => W6e(e, t, i));+function l4(e) {+ var t = e.zIndex, n = e.children, r = pJe() && t !== void 0 && t !== 0, i = SQ(), a = (0, E.useRef)(void 0), o = (0, E.useRef)(/* @__PURE__ */ new Set()), s = LX(), c = zX((e) => W6e(e, t, i));if ((0, E.useLayoutEffect)(() => {if (!r) {var e = o.current;e.forEach((e) => {- s(s4({ zIndex: e }));+ s(c4({ zIndex: e }));}), e.clear(), a.current = void 0;} else if (o.current.has(t) || (s(t8e({ zIndex: t })), o.current.add(t)), c) {a.current = c;var n = o.current;n.forEach((e) => {- e !== t && (s(s4({ zIndex: e })), n.delete(e));+ e !== t && (s(c4({ zIndex: e })), n.delete(e));});}}, [@@ -95552,7 +95561,7 @@ function c4(e) {var e = o.current;return () => {e.forEach((e) => {- s(s4({ zIndex: e }));+ s(c4({ zIndex: e }));}), e.clear();};}, [s]), !r) return n;@@ -95561,14 +95570,14 @@ function c4(e) {}//#endregion//#region node_modules/recharts/es6/component/Cursor.js-function l4() {- return l4 = Object.assign ? Object.assign.bind() : function(e) {+function u4() {+ return u4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, l4.apply(null, arguments);+ }, u4.apply(null, arguments);}function a8e(e, t) {var n = Object.keys(e);@@ -95580,7 +95589,7 @@ function a8e(e, t) {}return n;}-function u4(e) {+function d4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? a8e(Object(n), !0).forEach(function(t) {@@ -95621,8 +95630,8 @@ function u8e(e) {var t = e.coordinate, n = e.payload, r = e.index, i = e.offset, a = e.tooltipAxisBandSize, o = e.layout, s = e.cursor, c = e.tooltipEventType, l = e.chartName, u = t, d = n, f = r;if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;var p, m, h;- if (l === "ScatterChart") p = u, m = gXe, h = O$.cursorLine;- else if (l === "BarChart") p = _Xe(o, u, i, a), m = i$, h = O$.cursorRectangle;+ if (l === "ScatterChart") p = u, m = gXe, h = k$.cursorLine;+ else if (l === "BarChart") p = _Xe(o, u, i, a), m = a$, h = k$.cursorRectangle;else if (o === "radial" && SUe(u)) {var g = LZe(u), _ = g.cx, v = g.cy, y = g.radius;p = {@@ -95632,25 +95641,25 @@ function u8e(e) {endAngle: g.endAngle,innerRadius: y,outerRadius: y- }, m = d$, h = O$.cursorLine;- } else p = { points: YZe(o, u, i) }, m = QQ, h = O$.cursorLine;- var b = typeof s == "object" && "className" in s ? s.className : void 0, x = u4(u4(u4(u4({+ }, m = f$, h = k$.cursorLine;+ } else p = { points: YZe(o, u, i) }, m = $Q, h = k$.cursorLine;+ var b = typeof s == "object" && "className" in s ? s.className : void 0, x = d4(d4(d4(d4({stroke: "#ccc",pointerEvents: "none"- }, i), p), _Y(s)), {}, {+ }, i), p), vY(s)), {}, {payload: d,payloadIndex: f,className: Vv("recharts-tooltip-cursor", b)});- return /*#__PURE__*/ E.createElement(c4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ E.createElement(l8e, {+ return /*#__PURE__*/ E.createElement(l4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ E.createElement(l8e, {cursor: s,cursorComp: m,cursorProps: x}));}function d8e(e) {- var t = C6e(), n = dJe(), r = NQ(), i = M6e();- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ E.createElement(u8e, l4({}, e, {+ var t = C6e(), n = dJe(), r = PQ(), i = M6e();+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ E.createElement(u8e, u4({}, e, {offset: n,layout: r,tooltipAxisBandSize: t,@@ -95746,12 +95755,12 @@ var f8e = /*#__PURE__*/ (0, E.createContext)(null), p8e = () => (0, E.useContextvar t;return e ? (t = r ? r + e : e, this._events[t] && s(this, t)) : (this._events = new i(), this._eventsCount = 0), this;}, c.prototype.off = c.prototype.removeListener, c.prototype.addListener = c.prototype.on, c.prefixed = r, c.EventEmitter = c, t !== void 0 && (t.exports = c);-})))(), 1)).default, d4 = new m8e(), f4 = "recharts.syncEvent.tooltip", h8e = "recharts.syncEvent.brush", p4 = (e, t) => {+})))(), 1)).default, f4 = new m8e(), p4 = "recharts.syncEvent.tooltip", h8e = "recharts.syncEvent.brush", m4 = (e, t) => {if (t && Array.isArray(e)) {var n = Number.parseInt(t, 10);- if (!jY(n)) return e[n];+ if (!MY(n)) return e[n];}-}, g8e = HZ({+}, g8e = UZ({name: "options",initialState: {chartName: "",@@ -95768,7 +95777,7 @@ var f8e = /*#__PURE__*/ (0, E.createContext)(null), p8e = () => (0, E.useContextfunction y8e(e) {return e.tooltip.syncInteraction;}-var b8e = HZ({+var b8e = UZ({name: "chartData",initialState: {chartData: void 0,@@ -95778,7 +95787,7 @@ var b8e = HZ({},reducers: {setChartData(e, t) {- e.chartData = RZ(t.payload), t.payload == null ? (e.dataStartIndex = 0, e.dataEndIndex = 0) : t.payload.length > 0 && e.dataEndIndex !== t.payload.length - 1 && (e.dataEndIndex = t.payload.length - 1);+ e.chartData = zZ(t.payload), t.payload == null ? (e.dataStartIndex = 0, e.dataEndIndex = 0) : t.payload.length > 0 && e.dataEndIndex !== t.payload.length - 1 && (e.dataEndIndex = t.payload.length - 1);},setComputedData(e, t) {e.computedData = t.payload;@@ -95788,8 +95797,8 @@ var b8e = HZ({r != null && (e.dataStartIndex = r), i != null && (e.dataEndIndex = i);}}-}), m4 = b8e.actions, x8e = m4.setChartData, S8e = m4.setDataStartEndIndexes;-m4.setComputedData;+}), h4 = b8e.actions, x8e = h4.setChartData, S8e = h4.setDataStartEndIndexes;+h4.setComputedData;var C8e = b8e.reducer, w8e = ["x", "y"];function T8e(e, t) {var n = Object.keys(e);@@ -95801,7 +95810,7 @@ function T8e(e, t) {}return n;}-function h4(e) {+function g4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? T8e(Object(n), !0).forEach(function(t) {@@ -95853,12 +95862,12 @@ function A8e(e, t) {return n;}function j8e() {- var e = RX(E$), t = RX(D$), n = IX(), r = RX(TQe), i = RX(Y2), a = NQ(), o = kQ(), s = RX((e) => e.rootProps.className);+ var e = zX(D$), t = zX(O$), n = LX(), r = zX(TQe), i = zX(X2), a = PQ(), o = AQ(), s = zX((e) => e.rootProps.className);(0, E.useEffect)(() => {- if (e == null) return VY;+ if (e == null) return HY;var s = (s, c, l) => {if (t !== l && e === s) {- if (c.payload.active === !1) n(z2({+ if (c.payload.active === !1) n(B2({active: !1,coordinate: void 0,dataKey: void 0,@@ -95870,11 +95879,11 @@ function j8e() {else if (r === "index") {var u;if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {- var d = c.payload.coordinate, f = d.x, p = d.y, m = k8e(d, w8e), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = h4(h4({}, m), {}, {+ var d = c.payload.coordinate, f = d.x, p = d.y, m = k8e(d, w8e), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = g4(g4({}, m), {}, {x: o.x + (v ? (f - g) / v : 0) * o.width,y: o.y + (y ? (p - _) / y : 0) * o.height});- n(h4(h4({}, c), {}, { payload: h4(h4({}, c.payload), {}, { coordinate: b }) }));+ n(g4(g4({}, c), {}, { payload: g4(g4({}, c.payload), {}, { coordinate: b }) }));} else n(c);} else if (i != null) {var x;@@ -95887,7 +95896,7 @@ function j8e() {activeCoordinate: c.payload.coordinate})] : r === "value" && (x = i.find((e) => String(e.value) === c.payload.label));var S = c.payload.coordinate;- if (S == null || o == null) n(z2({+ if (S == null || o == null) n(B2({active: !1,coordinate: void 0,dataKey: void 0,@@ -95896,7 +95905,7 @@ function j8e() {sourceViewBox: void 0,graphicalItemId: void 0}));- else if (x == null) n(z2({+ else if (x == null) n(B2({active: !1,coordinate: void 0,dataKey: void 0,@@ -95910,7 +95919,7 @@ function j8e() {x: a === "horizontal" ? x.coordinate : T,y: a === "horizontal" ? E : x.coordinate};- n(z2({+ n(B2({active: c.payload.active,coordinate: D,dataKey: c.payload.dataKey,@@ -95923,8 +95932,8 @@ function j8e() {}}};- return d4.on(f4, s), () => {- d4.off(f4, s);+ return f4.on(p4, s), () => {+ f4.off(p4, s);};}, [s,@@ -95938,14 +95947,14 @@ function j8e() {]);}function M8e() {- var e = RX(E$), t = RX(D$), n = IX();+ var e = zX(D$), t = zX(O$), n = LX();(0, E.useEffect)(() => {- if (e == null) return VY;+ if (e == null) return HY;var r = (r, i, a) => {t !== a && e === r && n(S8e(i));};- return d4.on(h8e, r), () => {- d4.off(h8e, r);+ return f4.on(h8e, r), () => {+ f4.off(h8e, r);};}, [n,@@ -95954,16 +95963,16 @@ function M8e() {]);}function N8e() {- var e = IX();+ var e = LX();(0, E.useEffect)(() => {e(v8e());}, [e]), j8e(), M8e();}function P8e(e, t, n, r, i, a) {- var o = RX((n) => F6e(n, e, t)), s = RX(f6e), c = RX(D$), l = RX(E$), u = RX(TQe), d = RX(y8e)?.sourceViewBox != null, f = kQ();+ var o = zX((n) => F6e(n, e, t)), s = zX(f6e), c = zX(O$), l = zX(D$), u = zX(TQe), d = zX(y8e)?.sourceViewBox != null, f = AQ();(0, E.useEffect)(() => {if (!d && l != null && c != null) {- var e = z2({+ var e = B2({active: a,coordinate: n,dataKey: o,@@ -95972,7 +95981,7 @@ function P8e(e, t, n, r, i, a) {sourceViewBox: f,graphicalItemId: s});- d4.emit(f4, l, e, c);+ f4.emit(p4, l, e, c);}}, [d,@@ -96108,7 +96117,7 @@ var J8e = [], Y8e = {wrapperStyle: {}};function X8e(e) {- var t = vX(e, Y8e), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, b = t.axisId, x = IX(), S = typeof v == "number" ? String(v) : v;+ var t = yX(e, Y8e), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, b = t.axisId, x = LX(), S = typeof v == "number" ? String(v) : v;(0, E.useEffect)(() => {x(g3e({shared: g,@@ -96125,7 +96134,7 @@ function X8e(e) {n,S]);- var C = kQ(), w = XYe(), T = l3e(g), D = RX((e) => B6e(e, T, _, S)) ?? {}, O = D.activeIndex, k = D.isActive, A = RX((e) => z6e(e, T, _, S)), j = RX((e) => R6e(e, T, _, S)), M = RX((e) => L6e(e, T, _, S)), N = A, P = p8e(), F = n ?? k ?? !1, I = B8e(hGe([N, F]), 2), ee = I[0], L = I[1], te = T === "axis" ? j : void 0;+ var C = AQ(), w = XYe(), T = l3e(g), D = zX((e) => B6e(e, T, _, S)) ?? {}, O = D.activeIndex, k = D.isActive, A = zX((e) => z6e(e, T, _, S)), j = zX((e) => R6e(e, T, _, S)), M = zX((e) => L6e(e, T, _, S)), N = A, P = p8e(), F = n ?? k ?? !1, I = B8e(hGe([N, F]), 2), ee = I[0], L = I[1], te = T === "axis" ? j : void 0;P8e(T, _, M, te, O, F);var ne = y ?? P;if (ne == null || C == null || T == null) return null;@@ -96166,8 +96175,8 @@ function X8e(e) {}//#endregion//#region node_modules/recharts/es6/component/Cell.js-var g4 = (e) => null;-g4.displayName = "Cell";+var _4 = (e) => null;+_4.displayName = "Cell";//#endregion//#region node_modules/recharts/es6/util/LRUCache.jsfunction Z8e(e, t, n) {@@ -96290,9 +96299,9 @@ var d5e = (e, t) => {height: 0};}-}, _4 = function(e) {+}, v4 = function(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};- if (e == null || KQ.isSsr) return {+ if (e == null || qQ.isSsr) return {width: 0,height: 0};@@ -96302,7 +96311,7 @@ var d5e = (e, t) => {var i = d5e(e, t);return s5e.set(n, i), i;}, f5e;-function v4(e, t) {+function y4(e, t) {return _5e(e) || g5e(e, t) || m5e(e, t) || p5e();}function p5e() {@@ -96386,17 +96395,17 @@ var x5e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, S5e =function D5e(e) {return E5e.includes(e);}-var y4 = "NaN";+var b4 = "NaN";function O5e(e, t) {return e * T5e[t];}-var b4 = class e {+var x4 = class e {static parse(t) {- var n = v4(w5e.exec(t) ?? [], 3), r = n[1], i = n[2];+ var n = y4(w5e.exec(t) ?? [], 3), r = n[1], i = n[2];return r == null ? e.NaN : new e(parseFloat(r), i ?? "");}constructor(e, t) {- this.num = e, this.unit = t, this.num = e, this.unit = t, jY(e) && (this.unit = ""), t !== "" && !C5e.test(t) && (this.num = NaN, this.unit = ""), D5e(t) && (this.num = O5e(e, t), this.unit = "px");+ this.num = e, this.unit = t, this.num = e, this.unit = t, MY(e) && (this.unit = ""), t !== "" && !C5e.test(t) && (this.num = NaN, this.unit = ""), D5e(t) && (this.num = O5e(e, t), this.unit = "px");}add(t) {return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");@@ -96414,20 +96423,20 @@ var b4 = class e {return `${this.num}${this.unit}`;}isNaN() {- return jY(this.num);+ return MY(this.num);}};-f5e = b4, v5e(b4, "NaN", new f5e(NaN, ""));+f5e = x4, v5e(x4, "NaN", new f5e(NaN, ""));function k5e(e) {- if (e == null || e.includes(y4)) return y4;+ if (e == null || e.includes(b4)) return b4;for (var t = e; t.includes("*") || t.includes("/");) {- var n = v4(x5e.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = b4.parse(r ?? ""), s = b4.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);- if (c.isNaN()) return y4;+ var n = y4(x5e.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = x4.parse(r ?? ""), s = x4.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);+ if (c.isNaN()) return b4;t = t.replace(x5e, c.toString());}for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {- var l = v4(S5e.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = b4.parse(u ?? ""), m = b4.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);- if (h.isNaN()) return y4;+ var l = y4(S5e.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = x4.parse(u ?? ""), m = x4.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);+ if (h.isNaN()) return b4;t = t.replace(S5e, h.toString());}return t;@@ -96435,7 +96444,7 @@ function k5e(e) {var A5e = /\(([^()]*)\)/;function j5e(e) {for (var t = e, n; (n = A5e.exec(t)) != null;) {- var r = v4(n, 2)[1];+ var r = y4(n, 2)[1];t = t.replace(A5e, k5e(r));}return t;@@ -96448,12 +96457,12 @@ function N5e(e) {try {return M5e(e);} catch {- return y4;+ return b4;}}-function x4(e) {+function S4(e) {var t = N5e(e.slice(5, -1));- return t === y4 ? "" : t;+ return t === b4 ? "" : t;}//#endregion//#region node_modules/recharts/es6/component/Text.js@@ -96473,14 +96482,14 @@ var P5e = ["className","breakAll"];-function S4() {- return S4 = Object.assign ? Object.assign.bind() : function(e) {+function C4() {+ return C4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, S4.apply(null, arguments);+ }, C4.apply(null, arguments);}function I5e(e, t) {if (e == null) return {};@@ -96546,12 +96555,12 @@ var W5e = /[ \f\n\r\t\v\u2028\u2029]+/, G5e = (e) => {var t = e.children, n = e.breakAll, r = e.style;try {var i = [];- return RY(t) || (i = n ? t.toString().split("") : t.toString().split(W5e)), {+ return zY(t) || (i = n ? t.toString().split("") : t.toString().split(W5e)), {wordsWithComputedWidth: i.map((e) => ({word: e,- width: _4(e, r).width+ width: v4(e, r).width})),- spaceWidth: n ? 0 : _4("\xA0", r).width+ spaceWidth: n ? 0 : v4("\xA0", r).width};} catch {return null;@@ -96561,7 +96570,7 @@ function K5e(e) {return e === "start" || e === "middle" || e === "end" || e === "inherit";}function q5e(e) {- return RY(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";+ return zY(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";}var J5e = (e, t, n, r) => e.reduce((e, i) => {var a = i.word, o = i.width, s = e[e.length - 1];@@ -96584,7 +96593,7 @@ var J5e = (e, t, n, r) => e.reduce((e, i) => {var l = J5e(c.wordsWithComputedWidth, a, o, s);return [l.length > i || Y5e(l).width > Number(a), l];}, Q5e = (e, t, n, r, i) => {- var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = NY(a), u = String(o), d = J5e(t, r, n, i);+ var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = PY(a), u = String(o), d = J5e(t, r, n, i);if (!l || i || !(d.length > a || Y5e(d).width > Number(r))) return d;for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {var g = Math.floor((f + p) / 2), _ = R5e(Z5e(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = R5e(Z5e(u, g, c, s, a, r, n, i), 1)[0];@@ -96596,11 +96605,11 @@ var J5e = (e, t, n, r) => e.reduce((e, i) => {}return h || d;}, $5e = (e) => [{- words: RY(e) ? [] : e.toString().split(W5e),+ words: zY(e) ? [] : e.toString().split(W5e),width: void 0}], e7e = (e) => {var t = e.width, n = e.scaleToFit, r = e.children, i = e.style, a = e.breakAll, o = e.maxLines;- if ((t || n) && !KQ.isSsr) {+ if ((t || n) && !qQ.isSsr) {var s, c, l = G5e({breakAll: a,children: r,@@ -96629,8 +96638,8 @@ var J5e = (e, t, n, r) => e.reduce((e, i) => {verticalAnchor: "end",x: 0,y: 0-}, C4 = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = vX(e, n7e), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = I5e(n, P5e), f = (0, E.useMemo)(() => e7e({+}, w4 = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var n = yX(e, n7e), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = I5e(n, P5e), f = (0, E.useMemo)(() => e7e({breakAll: d.breakAll,children: d.children,maxLines: d.maxLines,@@ -96645,25 +96654,25 @@ var J5e = (e, t, n, r) => e.reduce((e, i) => {d.style,d.width]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = I5e(d, F5e);- if (!PY(r) || !PY(i) || f.length === 0) return null;- var y = Number(r) + (NY(p) ? p : 0), b = Number(i) + (NY(m) ? m : 0);- if (!rQ(y) || !rQ(b)) return null;+ if (!FY(r) || !FY(i) || f.length === 0) return null;+ var y = Number(r) + (PY(p) ? p : 0), b = Number(i) + (PY(m) ? m : 0);+ if (!iQ(y) || !iQ(b)) return null;var x;switch (u) {case "start":- x = x4(`calc(${o})`);+ x = S4(`calc(${o})`);break;case "middle":- x = x4(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);+ x = S4(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);break;- default: x = x4(`calc(${f.length - 1} * -${a})`);+ default: x = S4(`calc(${f.length - 1} * -${a})`);}var S = [], C = f[0];if (c && C != null) {var w = C.width, T = d.width;- S.push(`scale(${NY(T) && NY(w) ? T / w : 1})`);+ S.push(`scale(${PY(T) && PY(w) ? T / w : 1})`);}- return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ E.createElement("text", S4({}, vY(v), {+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ E.createElement("text", C4({}, yY(v), {ref: t,x: y,y: b,@@ -96679,7 +96688,7 @@ var J5e = (e, t, n, r) => e.reduce((e, i) => {}, n);}));});-C4.displayName = "Text";+w4.displayName = "Text";//#endregion//#region node_modules/recharts/es6/component/Label.jsvar r7e = ["labelRef"], i7e = ["content"];@@ -96711,7 +96720,7 @@ function s7e(e, t) {}return n;}-function w4(e) {+function T4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? s7e(Object(n), !0).forEach(function(t) {@@ -96744,14 +96753,14 @@ function u7e(e, t) {}return (t === "string" ? String : Number)(e);}-function T4() {- return T4 = Object.assign ? Object.assign.bind() : function(e) {+function E4() {+ return E4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, T4.apply(null, arguments);+ }, E4.apply(null, arguments);}var d7e = /*#__PURE__*/ (0, E.createContext)(null), f7e = (e) => {var t = e.x, n = e.y, r = e.upperWidth, i = e.lowerWidth, a = e.width, o = e.height, s = e.children, c = (0, E.useMemo)(() => ({@@ -96771,8 +96780,8 @@ var d7e = /*#__PURE__*/ (0, E.createContext)(null), f7e = (e) => {]);return /*#__PURE__*/ E.createElement(d7e.Provider, { value: c }, s);}, p7e = () => {- var e = (0, E.useContext)(d7e), t = kQ();- return e || (t ? HY(t) : void 0);+ var e = (0, E.useContext)(d7e), t = AQ();+ return e || (t ? UY(t) : void 0);}, m7e = /*#__PURE__*/ (0, E.createContext)(null), h7e = (e) => {var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = e.clockWise, c = e.children, l = (0, E.useMemo)(() => ({cx: t,@@ -96793,12 +96802,12 @@ var d7e = /*#__PURE__*/ (0, E.createContext)(null), f7e = (e) => {]);return /*#__PURE__*/ E.createElement(m7e.Provider, { value: l }, c);}, g7e = () => {- var e = (0, E.useContext)(m7e), t = RX(R$);+ var e = (0, E.useContext)(m7e), t = zX(z$);return e || t;}, _7e = (e) => {- var t = e.value, n = e.formatter, r = RY(e.children) ? t : e.children;+ var t = e.value, n = e.formatter, r = zY(e.children) ? t : e.children;return typeof n == "function" ? n(r) : r;-}, E4 = (e) => e != null && typeof e == "function", v7e = (e, t) => AY(t - e) * Math.min(Math.abs(t - e), 360), y7e = (e, t, n, r, i) => {+}, D4 = (e) => e != null && typeof e == "function", v7e = (e, t) => jY(t - e) * Math.min(Math.abs(t - e), 360), y7e = (e, t, n, r, i) => {var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = v7e(d, f), g = h >= 0 ? 1 : -1, _, v;switch (t) {case "insideStart":@@ -96813,10 +96822,10 @@ var d7e = /*#__PURE__*/ (0, E.createContext)(null), f7e = (e) => {default: throw Error(`Unsupported position ${t}`);}v = h <= 0 ? v : !v;- var y = s$(s, c, m, _), b = s$(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}+ var y = c$(s, c, m, _), b = c$(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}A${m},${m},0,1,${+!v},- ${b.x},${b.y}`, S = RY(e.id) ? FY("recharts-radial-line-") : e.id;- return /*#__PURE__*/ E.createElement("text", T4({}, r, {+ ${b.x},${b.y}`, S = zY(e.id) ? IY("recharts-radial-line-") : e.id;+ return /*#__PURE__*/ E.createElement("text", E4({}, r, {dominantBaseline: "central",className: Vv("recharts-radial-bar-label", o)}), /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement("path", {@@ -96826,7 +96835,7 @@ var d7e = /*#__PURE__*/ (0, E.createContext)(null), f7e = (e) => {}, b7e = (e, t, n) => {var r = e.cx, i = e.cy, a = e.innerRadius, o = e.outerRadius, s = (e.startAngle + e.endAngle) / 2;if (n === "outside") {- var c = s$(r, i, o + t, s), l = c.x;+ var c = c$(r, i, o + t, s), l = c.x;return {x: l,y: c.y,@@ -96852,22 +96861,22 @@ var d7e = /*#__PURE__*/ (0, E.createContext)(null), f7e = (e) => {textAnchor: "middle",verticalAnchor: "end"};- var u = s$(r, i, (a + o) / 2, s);+ var u = c$(r, i, (a + o) / 2, s);return {x: u.x,y: u.y,textAnchor: "middle",verticalAnchor: "middle"};-}, D4 = (e) => e != null && "cx" in e && NY(e.cx), x7e = {+}, O4 = (e) => e != null && "cx" in e && PY(e.cx), x7e = {angle: 0,offset: 5,- zIndex: O$.label,+ zIndex: k$.label,position: "middle",textBreakAll: !1};function S7e(e) {- if (!D4(e)) return e;+ if (!O4(e)) return e;var t = e.cx, n = e.cy, r = e.outerRadius, i = r * 2;return {x: t - r,@@ -96878,27 +96887,27 @@ function S7e(e) {height: i};}-function O4(e) {- var t = vX(e, x7e), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = g7e(), p = p7e(), m = n == null ? i === "center" ? p : f ?? p : D4(n) ? n : HY(n), h, g, _ = S7e(m);- if (!m || RY(a) && RY(o) && !/*#__PURE__*/ (0, E.isValidElement)(s) && typeof s != "function") return null;- var v = D4(m) && (i === "insideStart" || i === "insideEnd" || i === "end");- if (D4(m)) v || (g = b7e(m, t.offset, t.position));+function k4(e) {+ var t = yX(e, x7e), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = g7e(), p = p7e(), m = n == null ? i === "center" ? p : f ?? p : O4(n) ? n : UY(n), h, g, _ = S7e(m);+ if (!m || zY(a) && zY(o) && !/*#__PURE__*/ (0, E.isValidElement)(s) && typeof s != "function") return null;+ var v = O4(m) && (i === "insideStart" || i === "insideEnd" || i === "end");+ if (O4(m)) v || (g = b7e(m, t.offset, t.position));else if (_) {var y = aHe({viewBox: _,position: i,offset: t.offset,- parentViewBox: D4(r) ? void 0 : r,+ parentViewBox: O4(r) ? void 0 : r,clamp: !0});- g = w4(w4({+ g = T4(T4({x: y.x,y: y.y,textAnchor: y.horizontalAnchor,verticalAnchor: y.verticalAnchor}, y.width === void 0 ? {} : { width: y.width }), y.height === void 0 ? {} : { height: y.height });}- var b = w4(w4(w4(w4({}, g?.x === void 0 ? {} : { x: g.x }), g?.y === void 0 ? {} : { y: g.y }), t), {}, { viewBox: m });+ var b = T4(T4(T4(T4({}, g?.x === void 0 ? {} : { x: g.x }), g?.y === void 0 ? {} : { y: g.y }), t), {}, { viewBox: m });if (/*#__PURE__*/ (0, E.isValidElement)(s)) {b.labelRef;var x = a7e(b, r7e);@@ -96909,8 +96918,8 @@ function O4(e) {var S = a7e(b, i7e);if (h = /*#__PURE__*/ (0, E.createElement)(s, S), /*#__PURE__*/ (0, E.isValidElement)(h)) return h;} else h = _7e(t);- var C = vY(t);- return v && D4(m) ? y7e(t, i, h, C, m) : g == null ? null : /*#__PURE__*/ E.createElement(c4, { zIndex: t.zIndex }, /*#__PURE__*/ E.createElement(C4, T4({+ var C = yY(t);+ return v && O4(m) ? y7e(t, i, h, C, m) : g == null ? null : /*#__PURE__*/ E.createElement(l4, { zIndex: t.zIndex }, /*#__PURE__*/ E.createElement(w4, E4({ref: d,className: Vv("recharts-label", l)}, C, g, {@@ -96918,23 +96927,23 @@ function O4(e) {breakAll: u}), h));}-O4.displayName = "Label";+k4.displayName = "Label";var C7e = (e, t, n) => {if (!e) return null;var r = {viewBox: t,labelRef: n};- return e === !0 ? /*#__PURE__*/ E.createElement(O4, T4({ key: "label-implicit" }, r)) : PY(e) ? /*#__PURE__*/ E.createElement(O4, T4({+ return e === !0 ? /*#__PURE__*/ E.createElement(k4, E4({ key: "label-implicit" }, r)) : FY(e) ? /*#__PURE__*/ E.createElement(k4, E4({key: "label-implicit",value: e- }, r)) : /*#__PURE__*/ (0, E.isValidElement)(e) ? e.type === O4 ? /*#__PURE__*/ (0, E.cloneElement)(e, w4({ key: "label-implicit" }, r)) : /*#__PURE__*/ E.createElement(O4, T4({+ }, r)) : /*#__PURE__*/ (0, E.isValidElement)(e) ? e.type === k4 ? /*#__PURE__*/ (0, E.cloneElement)(e, T4({ key: "label-implicit" }, r)) : /*#__PURE__*/ E.createElement(k4, E4({key: "label-implicit",content: e- }, r)) : E4(e) ? /*#__PURE__*/ E.createElement(O4, T4({+ }, r)) : D4(e) ? /*#__PURE__*/ E.createElement(k4, E4({key: "label-implicit",content: e- }, r)) : e && typeof e == "object" ? /*#__PURE__*/ E.createElement(O4, T4({}, e, { key: "label-implicit" }, r)) : null;+ }, r)) : e && typeof e == "object" ? /*#__PURE__*/ E.createElement(k4, E4({}, e, { key: "label-implicit" }, r)) : null;};function w7e(e) {var t = e.label, n = e.labelRef;@@ -96953,14 +96962,14 @@ var E7e = ["valueAccessor"], D7e = ["textBreakAll","zIndex"];-function k4() {- return k4 = Object.assign ? Object.assign.bind() : function(e) {+function A4() {+ return A4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, k4.apply(null, arguments);+ }, A4.apply(null, arguments);}function O7e(e, t) {if (e == null) return {};@@ -96983,20 +96992,20 @@ function k7e(e, t) {var A7e = (e) => {var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;if (q5e(t)) return t;-}, j7e = /*#__PURE__*/ (0, E.createContext)(void 0), A4 = j7e.Provider, M7e = /*#__PURE__*/ (0, E.createContext)(void 0), N7e = M7e.Provider;+}, j7e = /*#__PURE__*/ (0, E.createContext)(void 0), j4 = j7e.Provider, M7e = /*#__PURE__*/ (0, E.createContext)(void 0), N7e = M7e.Provider;function P7e() {return (0, E.useContext)(j7e);}function F7e() {return (0, E.useContext)(M7e);}-function j4(e) {+function M4(e) {var t = e.valueAccessor, n = t === void 0 ? A7e : t, r = O7e(e, E7e), i = r.dataKey;r.clockWise;var a = r.id, o = r.textBreakAll, s = r.zIndex, c = O7e(r, D7e), l = P7e(), u = F7e(), d = l || u;- return !d || !d.length ? null : /*#__PURE__*/ E.createElement(c4, { zIndex: s ?? O$.label }, /*#__PURE__*/ E.createElement(SY, { className: "recharts-label-list" }, d.map((e, t) => {- var s = RY(i) ? n(e, t) : oQ(e.payload, i), l = RY(a) ? {} : { id: `${a}-${t}` };- return /*#__PURE__*/ E.createElement(O4, k4({ key: `label-${t}` }, vY(e), c, l, {+ return !d || !d.length ? null : /*#__PURE__*/ E.createElement(l4, { zIndex: s ?? k$.label }, /*#__PURE__*/ E.createElement(CY, { className: "recharts-label-list" }, d.map((e, t) => {+ var s = zY(i) ? n(e, t) : sQ(e.payload, i), l = zY(a) ? {} : { id: `${a}-${t}` };+ return /*#__PURE__*/ E.createElement(k4, A4({ key: `label-${t}` }, yY(e), c, l, {fill: r.fill ?? e.fill,parentViewBox: e.parentViewBox,value: s,@@ -97007,13 +97016,13 @@ function j4(e) {}));})));}-j4.displayName = "LabelList";-function M4(e) {+M4.displayName = "LabelList";+function N4(e) {var t = e.label;- return t ? t === !0 ? /*#__PURE__*/ E.createElement(j4, { key: "labelList-implicit" }) : /*#__PURE__*/ E.isValidElement(t) || E4(t) ? /*#__PURE__*/ E.createElement(j4, {+ return t ? t === !0 ? /*#__PURE__*/ E.createElement(M4, { key: "labelList-implicit" }) : /*#__PURE__*/ E.isValidElement(t) || D4(t) ? /*#__PURE__*/ E.createElement(M4, {key: "labelList-implicit",content: t- }) : typeof t == "object" ? /*#__PURE__*/ E.createElement(j4, k4({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;+ }) : typeof t == "object" ? /*#__PURE__*/ E.createElement(M4, A4({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;}//#endregion//#region node_modules/recharts/es6/shape/Polygon.js@@ -97023,14 +97032,14 @@ var I7e = ["baseLinePoints","connectNulls"], L7e;-function N4() {- return N4 = Object.assign ? Object.assign.bind() : function(e) {+function P4() {+ return P4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, N4.apply(null, arguments);+ }, P4.apply(null, arguments);}function R7e(e, t) {if (e == null) return {};@@ -97063,10 +97072,10 @@ var V7e = (e) => e != null && e.x === +e.x && e.y === +e.y, H7e = function() {V7e(n) && r && r.push(n);var i = t[t.length - 1];return i && i.length <= 0 && (t = t.slice(0, -1)), t;-}, P4 = (e, t) => {+}, F4 = (e, t) => {var n = H7e(e);t && (n = [n.reduce((e, t) => [...e, ...t], [])]);- var r = n.map((e) => e.reduce((e, t, n) => kY(L7e ||= B7e([+ var r = n.map((e) => e.reduce((e, t, n) => AY(L7e ||= B7e(["","","",@@ -97075,28 +97084,28 @@ var V7e = (e) => e != null && e.x === +e.x && e.y === +e.y, H7e = function() {]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");return n.length === 1 ? `${r}Z` : r;}, U7e = (e, t, n) => {- var r = P4(e, n);- return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${P4(Array.from(t).reverse(), n).slice(1)}`;+ var r = F4(e, n);+ return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${F4(Array.from(t).reverse(), n).slice(1)}`;}, W7e = (e) => {var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = R7e(e, I7e);if (!t || !t.length) return null;var o = Vv("recharts-polygon", n);if (r && r.length) {var s = a.stroke && a.stroke !== "none", c = U7e(t, r, i);- return /*#__PURE__*/ E.createElement("g", { className: o }, /*#__PURE__*/ E.createElement("path", N4({}, vY(a), {+ return /*#__PURE__*/ E.createElement("g", { className: o }, /*#__PURE__*/ E.createElement("path", P4({}, yY(a), {fill: c.slice(-1) === "Z" ? a.fill : "none",stroke: "none",d: c- })), s ? /*#__PURE__*/ E.createElement("path", N4({}, vY(a), {+ })), s ? /*#__PURE__*/ E.createElement("path", P4({}, yY(a), {fill: "none",- d: P4(t, i)- })) : null, s ? /*#__PURE__*/ E.createElement("path", N4({}, vY(a), {+ d: F4(t, i)+ })) : null, s ? /*#__PURE__*/ E.createElement("path", P4({}, yY(a), {fill: "none",- d: P4(r, i)+ d: F4(r, i)})) : null);}- var l = P4(t, i);- return /*#__PURE__*/ E.createElement("path", N4({}, vY(a), {+ var l = F4(t, i);+ return /*#__PURE__*/ E.createElement("path", P4({}, yY(a), {fill: l.slice(-1) === "Z" ? a.fill : "none",className: o,d: l@@ -97104,112 +97113,112 @@ var V7e = (e) => e != null && e.x === +e.x && e.y === +e.y, H7e = function() {};//#endregion//#region node_modules/recharts/es6/shape/Dot.js-function F4() {- return F4 = Object.assign ? Object.assign.bind() : function(e) {+function I4() {+ return I4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, F4.apply(null, arguments);+ }, I4.apply(null, arguments);}-var I4 = (e) => {+var L4 = (e) => {var t = e.cx, n = e.cy, r = e.r, i = e.className, a = Vv("recharts-dot", i);- return NY(t) && NY(n) && NY(r) ? /*#__PURE__*/ E.createElement("circle", F4({}, gY(e), gX(e), {+ return PY(t) && PY(n) && PY(r) ? /*#__PURE__*/ E.createElement("circle", I4({}, _Y(e), _X(e), {className: a,cx: t,cy: n,r})) : null;-}, L4 = (e) => e.graphicalItems.polarItems, R4 = X([- L4,- X0,- X([z$, B$], Q0)-], e2), z4 = X([X([R4], n2), m$], r2), G7e = X([- z4,- X0,- R4+}, R4 = (e) => e.graphicalItems.polarItems, z4 = X([+ R4,+ Z0,+ X([B$, V$], $0)+], t2), B4 = X([X([z4], r2), h$], i2), G7e = X([+ B4,+ Z0,+ z4], e4e);X([- z4,- X0,- R4+ B4,+ Z0,+ z4], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({- value: oQ(e, t.dataKey ?? n.dataKey),+ value: sQ(e, t.dataKey ?? n.dataKey),errorDomain: []}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({value: e,errorDomain: []})) : e.map((e) => ({- value: oQ(e, t.dataKey),+ value: sQ(e, t.dataKey),errorDomain: []})));var K7e = () => void 0, q7e = X([- X0,- MQ,- z4,+ Z0,+ NQ,+ B4,G7e,- C$,- z$,+ w$,+ B$,X([- X0,- p2,+ Z0,m2,+ h2,K7e,X([+ B4,+ Z0,z4,- X0,- R4,- h2,- z$,+ g2,+ B$,eQe- ], _2),+ ], v2),K7e,- MQ,- z$- ], y2)-], b2), J7e = X([+ NQ,+ B$+ ], b2)+], x2), J7e = X([q7e,+ Q0,+ C2+], w2), Y7e = X([C2, X([Z0,- S2-], C2), Y7e = X([S2, X([- X0,q7e,J7e,- z$-], T2)], BQe), B4 = (e, t, n) => {+ B$+], E2)], BQe), V4 = (e, t, n) => {switch (t) {- case "angleAxis": return P$(e, n);- case "radiusAxis": return F$(e, n);+ case "angleAxis": return F$(e, n);+ case "radiusAxis": return I$(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, V4 = (e, t, n) => {+}, H4 = (e, t, n) => {switch (t) {case "angleAxis": return IQe(e, n);case "radiusAxis": return RQe(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, H4 = X([X([- B4,- S2,+}, U4 = X([X([+ V4,+ C2,Y7e,- V4-], H0)], J$), X7e = X([- MQ,+ H4+], U0)], Y$), X7e = X([+ NQ,G7e,- Z0,- z$-], O2), U4 = X([- MQ,- B4,- S2,- H4,- J7e,+ Q0,+ B$+], k2), W4 = X([+ NQ,V4,- N2,+ C2,+ U4,+ J7e,+ H4,+ P2,X7e,- z$-], n3e), Z7e = X([U4], (e) => {+ B$+], n3e), Z7e = X([W4], (e) => {if (e) {var t = /* @__PURE__ */ new Map();return e.forEach((e) => {@@ -97218,16 +97227,16 @@ var K7e = () => void 0, q7e = X([}), Array.from(t.values());}}), Q7e = X([- MQ,- B4,- H4,+ NQ,V4,- N2,+ U4,+ H4,+ P2,X7e,- z$-], i3e), $7e = X([(e, t) => U4(e, "angleAxis", t, !1)], (e) => {+ B$+], i3e), $7e = X([(e, t) => W4(e, "angleAxis", t, !1)], (e) => {if (e) return e.map((e) => e.coordinate);-}), e9e = X([(e, t) => U4(e, "radiusAxis", t, !1)], (e) => {+}), e9e = X([(e, t) => W4(e, "radiusAxis", t, !1)], (e) => {if (e) return e.map((e) => e.coordinate);}), t9e = ["gridType",@@ -97260,14 +97269,14 @@ function r9e(e, t) {}return n;}-function W4() {- return W4 = Object.assign ? Object.assign.bind() : function(e) {+function G4() {+ return G4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, W4.apply(null, arguments);+ }, G4.apply(null, arguments);}function i9e(e, t) {var n = Object.keys(e);@@ -97279,7 +97288,7 @@ function i9e(e, t) {}return n;}-function G4(e) {+function K4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? i9e(Object(n), !0).forEach(function(t) {@@ -97315,16 +97324,16 @@ function s9e(e, t) {var c9e = (e, t, n, r) => {var i = "";return r.forEach((r, a) => {- var o = s$(t, n, e, r);+ var o = c$(t, n, e, r);i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;}), i += "Z", i;}, l9e = (e) => {var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.polarAngles, o = e.radialLines;if (!a || !a.length || !o) return null;- var s = G4({}, gY(e));+ var s = K4({}, _Y(e));return /*#__PURE__*/ E.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {- var a = s$(t, n, r, e), o = s$(t, n, i, e);- return /*#__PURE__*/ E.createElement("line", W4({ key: `line-${e}` }, s, {+ var a = c$(t, n, r, e), o = c$(t, n, i, e);+ return /*#__PURE__*/ E.createElement("line", G4({ key: `line-${e}` }, s, {x1: a.x,y1: a.y,x2: o.x,@@ -97332,16 +97341,16 @@ var c9e = (e, t, n, r) => {}));}));}, u9e = (e) => {- var t = e.cx, n = e.cy, r = e.radius, i = G4({}, gY(e));- return /*#__PURE__*/ E.createElement("circle", W4({}, i, {+ var t = e.cx, n = e.cy, r = e.radius, i = K4({}, _Y(e));+ return /*#__PURE__*/ E.createElement("circle", G4({}, i, {className: Vv("recharts-polar-grid-concentric-circle", e.className),cx: t,cy: n,r}));}, d9e = (e) => {- var t = e.radius, n = G4({}, gY(e));- return /*#__PURE__*/ E.createElement("path", W4({}, n, {+ var t = e.radius, n = K4({}, _Y(e));+ return /*#__PURE__*/ E.createElement("path", G4({}, n, {className: Vv("recharts-polar-grid-concentric-polygon", e.className),d: c9e(t, e.cx, e.cy, e.polarAngles)}));@@ -97349,12 +97358,12 @@ var c9e = (e, t, n, r) => {var t = e.polarRadius, n = e.gridType;if (!t || !t.length) return null;var r = Math.max(...t), i = e.fill && e.fill !== "none";- return /*#__PURE__*/ E.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ E.createElement(u9e, W4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ E.createElement(d9e, W4({}, e, { radius: r })), t.map((t, r) => {+ return /*#__PURE__*/ E.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ E.createElement(u9e, G4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ E.createElement(d9e, G4({}, e, { radius: r })), t.map((t, r) => {var i = r;- return n === "circle" ? /*#__PURE__*/ E.createElement(u9e, W4({ key: i }, e, {+ return n === "circle" ? /*#__PURE__*/ E.createElement(u9e, G4({ key: i }, e, {fill: "none",radius: t- })) : /*#__PURE__*/ E.createElement(d9e, W4({ key: i }, e, {+ })) : /*#__PURE__*/ E.createElement(d9e, G4({ key: i }, e, {fill: "none",radius: t}));@@ -97364,14 +97373,14 @@ var c9e = (e, t, n, r) => {radiusAxisId: 0,gridType: "polygon",radialLines: !0,- zIndex: O$.grid,+ zIndex: k$.grid,stroke: "#ccc",strokeWidth: 1,fill: "none"}, m9e = (e) => {- var t = vX(e, p9e), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = n9e(t, t9e), m = RX(R$), h = RX((e) => $7e(e, i)), g = RX((e) => e9e(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;+ var t = yX(e, p9e), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = n9e(t, t9e), m = zX(z$), h = zX((e) => $7e(e, i)), g = zX((e) => e9e(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;if (_ == null || v == null) return null;- var y = G4({+ var y = K4({cx: m?.cx ?? o ?? 0,cy: m?.cy ?? s ?? 0,innerRadius: m?.innerRadius ?? c ?? 0,@@ -97380,13 +97389,13 @@ var c9e = (e, t, n, r) => {polarRadius: v,zIndex: f}, p);- return y.outerRadius <= 0 ? null : /*#__PURE__*/ E.createElement(c4, { zIndex: y.zIndex }, /*#__PURE__*/ E.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ E.createElement(f9e, W4({+ return y.outerRadius <= 0 ? null : /*#__PURE__*/ E.createElement(l4, { zIndex: y.zIndex }, /*#__PURE__*/ E.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ E.createElement(f9e, G4({gridType: n,radialLines: r}, y, {polarAngles: _,polarRadius: v- })), /*#__PURE__*/ E.createElement(l9e, W4({+ })), /*#__PURE__*/ E.createElement(l9e, G4({gridType: n,radialLines: r}, y, {@@ -97397,16 +97406,16 @@ var c9e = (e, t, n, r) => {m9e.displayName = "PolarGrid";//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjs-function K4(e) {+function q4(e) {return Array.isArray(e) ? e : Array.from(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs-function h9e(e, t = xX) {+function h9e(e, t = SX) {if (e == null) return;- let n = K4(e);+ let n = q4(e);if (n.length === 0) return;- let r = PX(t), i, a;+ let r = FX(t), i, a;for (let e = 0; e < n.length; e++) {let t = n[e], o = r(t, e, n);o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o > a) && (a = o, i = t);@@ -97415,11 +97424,11 @@ function h9e(e, t = xX) {}//#endregion//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs-function g9e(e, t = xX) {+function g9e(e, t = SX) {if (e == null) return;- let n = K4(e);+ let n = q4(e);if (n.length === 0) return;- let r = PX(t), i, a;+ let r = FX(t), i, a;for (let e = 0; e < n.length; e++) {let t = n[e], o = r(t, e, n);o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o < a) && (a = o, i = t);@@ -97428,7 +97437,7 @@ function g9e(e, t = xX) {}//#endregion//#region node_modules/recharts/es6/state/polarAxisSlice.js-var _9e = HZ({+var _9e = UZ({name: "polarAxis",initialState: {radiusAxis: {},@@ -97436,22 +97445,22 @@ var _9e = HZ({},reducers: {addRadiusAxis(e, t) {- e.radiusAxis[t.payload.id] = RZ(t.payload);+ e.radiusAxis[t.payload.id] = zZ(t.payload);},removeRadiusAxis(e, t) {delete e.radiusAxis[t.payload.id];},addAngleAxis(e, t) {- e.angleAxis[t.payload.id] = RZ(t.payload);+ e.angleAxis[t.payload.id] = zZ(t.payload);},removeAngleAxis(e, t) {delete e.angleAxis[t.payload.id];}}-}), q4 = _9e.actions, v9e = q4.addRadiusAxis, y9e = q4.removeRadiusAxis, b9e = q4.addAngleAxis, x9e = q4.removeAngleAxis, S9e = _9e.reducer;+}), J4 = _9e.actions, v9e = J4.addRadiusAxis, y9e = J4.removeRadiusAxis, b9e = J4.addAngleAxis, x9e = J4.removeAngleAxis, S9e = _9e.reducer;//#endregion//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js-function J4(e) {+function Y4(e) {return e && typeof e == "object" && "className" in e && typeof e.className == "string" ? e.className : "";}//#endregion@@ -97467,14 +97476,14 @@ var C9e = ["type"], w9e = ["stroke","tick"];-function Y4() {- return Y4 = Object.assign ? Object.assign.bind() : function(e) {+function X4() {+ return X4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, Y4.apply(null, arguments);+ }, X4.apply(null, arguments);}function E9e(e, t) {var n = Object.keys(e);@@ -97486,7 +97495,7 @@ function E9e(e, t) {}return n;}-function X4(e) {+function Z4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? E9e(Object(n), !0).forEach(function(t) {@@ -97519,7 +97528,7 @@ function k9e(e, t) {}return (t === "string" ? String : Number)(e);}-function Z4(e, t) {+function Q4(e, t) {if (e == null) return {};var n, r, i = A9e(e, t);if (Object.getOwnPropertySymbols) {@@ -97539,17 +97548,17 @@ function A9e(e, t) {}var j9e = "radiusAxis";function M9e(e) {- var t = IX(), n = IQ(), r = (0, E.useMemo)(() => {- var t = e.type, r = Z4(e, C9e), i = M$(n, "radiusAxis", t);- if (i != null) return X4(X4({}, r), {}, { type: i });+ var t = LX(), n = LQ(), r = (0, E.useMemo)(() => {+ var t = e.type, r = Q4(e, C9e), i = N$(n, "radiusAxis", t);+ if (i != null) return Z4(Z4({}, r), {}, { type: i });}, [e, n]);- return (0, E.useEffect)(() => r == null ? VY : (t(v9e(r)), () => {+ return (0, E.useEffect)(() => r == null ? HY : (t(v9e(r)), () => {t(y9e(r));}), [t, r]), null;}var N9e = (e, t, n, r) => {var i = e.coordinate;- return s$(n, r, i, t);+ return c$(n, r, i, t);}, P9e = (e) => {var t;switch (e) {@@ -97574,36 +97583,36 @@ var N9e = (e, t, n, r) => {clockWise: !1};}, I9e = (e, t) => {- var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = Z4(e, w9e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = s$(n, r, s[0], i), l = s$(n, r, s[1], i), u = X4(X4(X4({}, gY(o)), {}, { fill: "none" }, gY(a)), {}, {+ var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = Q4(e, w9e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = c$(n, r, s[0], i), l = c$(n, r, s[1], i), u = Z4(Z4(Z4({}, _Y(o)), {}, { fill: "none" }, _Y(a)), {}, {x1: c.x,y1: c.y,x2: l.x,y2: l.y});- return /*#__PURE__*/ E.createElement("line", Y4({ className: "recharts-polar-radius-axis-line" }, u));-}, L9e = (e, t, n) => /*#__PURE__*/ E.isValidElement(e) ? /*#__PURE__*/ E.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ E.createElement(C4, Y4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), R9e = (e, t) => {- var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = Z4(e, T9e), s = P9e(e.orientation), c = gY(o), l = _Y(a), u = t.map((t, o) => {- var u = N9e(t, e.angle, e.cx, e.cy), d = X4(X4(X4(X4({+ return /*#__PURE__*/ E.createElement("line", X4({ className: "recharts-polar-radius-axis-line" }, u));+}, L9e = (e, t, n) => /*#__PURE__*/ E.isValidElement(e) ? /*#__PURE__*/ E.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ E.createElement(w4, X4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), R9e = (e, t) => {+ var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = Q4(e, T9e), s = P9e(e.orientation), c = _Y(o), l = vY(a), u = t.map((t, o) => {+ var u = N9e(t, e.angle, e.cx, e.cy), d = Z4(Z4(Z4(Z4({textAnchor: s,transform: `rotate(${90 - n}, ${u.x}, ${u.y})`}, c), {}, {stroke: "none",fill: i}, l), {}, { index: o }, u), {}, { payload: t });- return /*#__PURE__*/ E.createElement(SY, Y4({- className: Vv("recharts-polar-radius-axis-tick", J4(a)),+ return /*#__PURE__*/ E.createElement(CY, X4({+ className: Vv("recharts-polar-radius-axis-tick", Y4(a)),key: `tick-${t.coordinate}`- }, _X(e, t, o)), L9e(a, d, r ? r(t.value, o) : t.value));+ }, vX(e, t, o)), L9e(a, d, r ? r(t.value, o) : t.value));});- return /*#__PURE__*/ E.createElement(SY, { className: "recharts-polar-radius-axis-ticks" }, u);+ return /*#__PURE__*/ E.createElement(CY, { className: "recharts-polar-radius-axis-ticks" }, u);}, z9e = (e) => {- var t = e.radiusAxisId, n = RX(R$), r = RX((e) => H4(e, "radiusAxis", t)), i = RX((e) => U4(e, "radiusAxis", t, !1));+ var t = e.radiusAxisId, n = zX(z$), r = zX((e) => U4(e, "radiusAxis", t)), i = zX((e) => W4(e, "radiusAxis", t, !1));if (n == null || !i || !i.length || r == null) return null;- var a = X4(X4({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;- return /*#__PURE__*/ E.createElement(c4, { zIndex: a.zIndex }, /*#__PURE__*/ E.createElement(SY, { className: Vv("recharts-polar-radius-axis", j9e, a.className) }, s && I9e(a, i), o && R9e(a, i), /*#__PURE__*/ E.createElement(h7e, F9e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ E.createElement(T7e, { label: a.label }), a.children)));+ var a = Z4(Z4({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;+ return /*#__PURE__*/ E.createElement(l4, { zIndex: a.zIndex }, /*#__PURE__*/ E.createElement(CY, { className: Vv("recharts-polar-radius-axis", j9e, a.className) }, s && I9e(a, i), o && R9e(a, i), /*#__PURE__*/ E.createElement(h7e, F9e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ E.createElement(T7e, { label: a.label }), a.children)));};function B9e(e) {- var t = vX(e, A$);+ var t = yX(e, j$);return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(M9e, {domain: t.domain,id: t.radiusAxisId,@@ -97627,14 +97636,14 @@ B9e.displayName = "PolarRadiusAxis";//#endregion//#region node_modules/recharts/es6/polar/PolarAngleAxis.jsvar V9e = ["children", "type"], H9e = ["ref"];-function Q4() {- return Q4 = Object.assign ? Object.assign.bind() : function(e) {+function $4() {+ return $4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, Q4.apply(null, arguments);+ }, $4.apply(null, arguments);}function U9e(e, t) {var n = Object.keys(e);@@ -97646,7 +97655,7 @@ function U9e(e, t) {}return n;}-function $4(e) {+function e3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? U9e(Object(n), !0).forEach(function(t) {@@ -97697,19 +97706,19 @@ function J9e(e, t) {}return n;}-var Y9e = 1e-5, X9e = Math.cos(o$(45)), Z9e = "angleAxis";+var Y9e = 1e-5, X9e = Math.cos(s$(45)), Z9e = "angleAxis";function Q9e(e) {- var t = IX(), n = IQ(), r = (0, E.useMemo)(() => {+ var t = LX(), n = LQ(), r = (0, E.useMemo)(() => {e.children;- var t = e.type, r = q9e(e, V9e), i = M$(n, "angleAxis", t);- if (i != null) return $4($4({}, r), {}, { type: i });- }, [e, n]), i = r === RX((e) => P$(e, r?.id));- return (0, E.useEffect)(() => r == null ? VY : (t(b9e(r)), () => {+ var t = e.type, r = q9e(e, V9e), i = N$(n, "angleAxis", t);+ if (i != null) return e3(e3({}, r), {}, { type: i });+ }, [e, n]), i = r === zX((e) => F$(e, r?.id));+ return (0, E.useEffect)(() => r == null ? HY : (t(b9e(r)), () => {t(x9e(r));}), [t, r]), i ? e.children : null;}var $9e = (e, t) => {- var n = t.cx, r = t.cy, i = t.radius, a = t.orientation, o = t.tickSize || 8, s = s$(n, r, i, e.coordinate), c = s$(n, r, i + (a === "inner" ? -1 : 1) * o, e.coordinate);+ var n = t.cx, r = t.cy, i = t.radius, a = t.orientation, o = t.tickSize || 8, s = c$(n, r, i, e.coordinate), c = c$(n, r, i + (a === "inner" ? -1 : 1) * o, e.coordinate);return {x1: s.x,y1: s.y,@@ -97717,30 +97726,30 @@ var $9e = (e, t) => {y2: c.y};}, eet = (e, t) => {- var n = Math.cos(o$(-e.coordinate));+ var n = Math.cos(s$(-e.coordinate));return n > Y9e ? t === "outer" ? "start" : "end" : n < -Y9e ? t === "outer" ? "end" : "start" : "middle";}, tet = (e) => {- var t = Math.cos(o$(-e.coordinate)), n = Math.sin(o$(-e.coordinate));+ var t = Math.cos(s$(-e.coordinate)), n = Math.sin(s$(-e.coordinate));return Math.abs(t) <= X9e ? n > 0 ? "start" : "end" : "middle";}, net = (e) => {var t = e.cx, n = e.cy, r = e.radius, i = e.axisLineType, a = e.axisLine, o = e.ticks;if (!a) return null;- var s = $4($4({}, gY(e)), {}, { fill: "none" }, gY(a));- if (i === "circle") return /*#__PURE__*/ E.createElement(I4, Q4({ className: "recharts-polar-angle-axis-line" }, s, {+ var s = e3(e3({}, _Y(e)), {}, { fill: "none" }, _Y(a));+ if (i === "circle") return /*#__PURE__*/ E.createElement(L4, $4({ className: "recharts-polar-angle-axis-line" }, s, {cx: t,cy: n,r}));- var c = o.map((e) => s$(t, n, r, e.coordinate));- return /*#__PURE__*/ E.createElement(W7e, Q4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));+ var c = o.map((e) => c$(t, n, r, e.coordinate));+ return /*#__PURE__*/ E.createElement(W7e, $4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));}, ret = (e) => {var t = e.tick, n = e.tickProps, r = e.value;- return t ? /*#__PURE__*/ E.isValidElement(t) ? /*#__PURE__*/ E.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ E.createElement(C4, Q4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;+ return t ? /*#__PURE__*/ E.isValidElement(t) ? /*#__PURE__*/ E.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ E.createElement(w4, $4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;}, iet = (e) => {- var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = gY(e);+ var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = _Y(e);o.ref;- var s = q9e(o, H9e), c = _Y(t), l = $4($4({}, s), {}, { fill: "none" }, gY(n)), u = a.map((a, o) => {- var u = $9e(a, e), d = eet(a, e.orientation), f = tet(a), p = $4($4($4({}, s), {}, {+ var s = q9e(o, H9e), c = vY(t), l = e3(e3({}, s), {}, { fill: "none" }, _Y(n)), u = a.map((a, o) => {+ var u = $9e(a, e), d = eet(a, e.orientation), f = tet(a), p = e3(e3(e3({}, s), {}, {textAnchor: d,verticalAnchor: f,stroke: "none",@@ -97751,27 +97760,27 @@ var $9e = (e, t) => {x: u.x2,y: u.y2});- return /*#__PURE__*/ E.createElement(SY, Q4({- className: Vv("recharts-polar-angle-axis-tick", J4(t)),+ return /*#__PURE__*/ E.createElement(CY, $4({+ className: Vv("recharts-polar-angle-axis-tick", Y4(t)),key: `tick-${a.coordinate}`- }, _X(e, a, o)), n && /*#__PURE__*/ E.createElement("line", Q4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ E.createElement(ret, {+ }, vX(e, a, o)), n && /*#__PURE__*/ E.createElement("line", $4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ E.createElement(ret, {tick: t,tickProps: p,value: r ? r(a.value, o) : a.value}));});- return /*#__PURE__*/ E.createElement(SY, { className: "recharts-polar-angle-axis-ticks" }, u);+ return /*#__PURE__*/ E.createElement(CY, { className: "recharts-polar-angle-axis-ticks" }, u);}, aet = (e) => {- var t = e.angleAxisId, n = RX(R$), r = RX((e) => H4(e, "angleAxis", t)), i = xQ(), a = RX((e) => Z7e(e, "angleAxis", t, i));+ var t = e.angleAxisId, n = zX(z$), r = zX((e) => U4(e, "angleAxis", t)), i = SQ(), a = zX((e) => Z7e(e, "angleAxis", t, i));if (n == null || !a || !a.length || r == null) return null;- var o = $4($4($4({}, e), {}, { scale: r }, n), {}, {+ var o = e3(e3(e3({}, e), {}, { scale: r }, n), {}, {radius: n.outerRadius,ticks: a});- return /*#__PURE__*/ E.createElement(c4, { zIndex: o.zIndex }, /*#__PURE__*/ E.createElement(SY, { className: Vv("recharts-polar-angle-axis", Z9e, o.className) }, /*#__PURE__*/ E.createElement(net, o), /*#__PURE__*/ E.createElement(iet, o)));+ return /*#__PURE__*/ E.createElement(l4, { zIndex: o.zIndex }, /*#__PURE__*/ E.createElement(CY, { className: Vv("recharts-polar-angle-axis", Z9e, o.className) }, /*#__PURE__*/ E.createElement(net, o), /*#__PURE__*/ E.createElement(iet, o)));};-function e3(e) {- var t = vX(e, k$);+function t3(e) {+ var t = yX(e, A$);return /*#__PURE__*/ E.createElement(Q9e, {id: t.angleAxisId,scale: t.scale,@@ -97791,7 +97800,7 @@ function e3(e) {domain: t.domain}, /*#__PURE__*/ E.createElement(aet, t));}-e3.displayName = "PolarAngleAxis";+t3.displayName = "PolarAngleAxis";//#endregion//#region node_modules/react-is/cjs/react-is.production.jsvar oet = /* @__PURE__ */ o(((e) => {@@ -97825,21 +97834,21 @@ var oet = /* @__PURE__ */ o(((e) => {};})), set = (/* @__PURE__ */ o(((e, t) => {t.exports = oet();-})))(), cet = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", uet = null, t3 = null, det = (e) => {- if (e === uet && Array.isArray(t3)) return t3;+})))(), cet = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", uet = null, n3 = null, det = (e) => {+ if (e === uet && Array.isArray(n3)) return n3;var t = [];return E.Children.forEach(e, (e) => {- RY(e) || ((0, set.isFragment)(e) ? t = t.concat(det(e.props.children)) : t.push(e));- }), t3 = t, uet = e, t;+ zY(e) || ((0, set.isFragment)(e) ? t = t.concat(det(e.props.children)) : t.push(e));+ }), n3 = t, uet = e, t;};function fet(e, t) {var n = [], r = [];return r = Array.isArray(t) ? t.map((e) => cet(e)) : [cet(t)], det(e).forEach((e) => {- var t = DY(e, "type.displayName") || DY(e, "type.name");+ var t = OY(e, "type.displayName") || OY(e, "type.name");t && r.indexOf(t) !== -1 && n.push(e);}), n;}-var n3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;+var r3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;//#endregion//#region node_modules/recharts/es6/util/ActiveShapeUtils.jsfunction pet(e, t) {@@ -97903,14 +97912,14 @@ function xet(e) {function Cet(e) {return "isActive" in e && e.isActive === !0;}-function r3(e) {+function i3(e) {var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = xet(r), l = /*#__PURE__*/ (0, E.isValidElement)(t) ? bet(t, r) : t === n ? /*#__PURE__*/ E.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ E.createElement(n, vet(t, r)) : /*#__PURE__*/ E.createElement(n, r);- return Cet(r) ? /*#__PURE__*/ E.createElement(SY, { className: a }, l) : /*#__PURE__*/ E.createElement(SY, { className: s }, l);+ return Cet(r) ? /*#__PURE__*/ E.createElement(CY, { className: a }, l) : /*#__PURE__*/ E.createElement(CY, { className: s }, l);}//#endregion//#region node_modules/recharts/es6/context/tooltipContext.js-var i3 = (e, t, n) => {- var r = IX();+var a3 = (e, t, n) => {+ var r = LX();return (i, a) => (o) => {e?.(i, a, o), r(_3e({activeIndex: String(a),@@ -97919,13 +97928,13 @@ var i3 = (e, t, n) => {activeGraphicalItemId: n}));};-}, a3 = (e) => {- var t = IX();+}, o3 = (e) => {+ var t = LX();return (n, r) => (i) => {e?.(n, r, i), t(v3e());};-}, o3 = (e, t, n) => {- var r = IX();+}, s3 = (e, t, n) => {+ var r = LX();return (i, a) => (o) => {e?.(i, a, o), r(b3e({activeIndex: String(a),@@ -97937,8 +97946,8 @@ var i3 = (e, t, n) => {};//#endregion//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js-function s3(e) {- var t = e.tooltipEntrySettings, n = IX(), r = xQ(), i = (0, E.useRef)(null);+function c3(e) {+ var t = e.tooltipEntrySettings, n = LX(), r = SQ(), i = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {r || (i.current === null ? n(p3e(t)) : i.current !== t && n(m3e({prev: i.current,@@ -97954,8 +97963,8 @@ function s3(e) {}//#endregion//#region node_modules/recharts/es6/state/SetLegendPayload.js-function c3(e) {- var t = e.legendPayload, n = IX(), r = xQ(), i = (0, E.useRef)(null);+function l3(e) {+ var t = e.legendPayload, n = LX(), r = SQ(), i = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {r || (i.current === null ? n(_Je(t)) : i.current !== t && n(vJe({prev: i.current,@@ -97970,7 +97979,7 @@ function c3(e) {}, [n]), null;}function wet(e) {- var t = e.legendPayload, n = IX(), r = RX(MQ), i = (0, E.useRef)(null);+ var t = e.legendPayload, n = LX(), r = zX(NQ), i = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {(r === "centric" || r === "radial") && (i.current === null ? n(_Je(t)) : i.current !== t && n(vJe({prev: i.current,@@ -98028,8 +98037,8 @@ function ket(e, t) {function Aet(e) {if (Array.isArray(e)) return e;}-var l3 = "index", jet = "append";-function u3(e, t) {+var u3 = "index", jet = "append";+function d3(e, t) {var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], r = [];for (var i of n) r.push({status: "removed",@@ -98050,10 +98059,10 @@ function u3(e, t) {}function Met(e, t) {var n = e.length / t.length;- return u3(t.map((t, r) => e[Math.floor(r * n)]), t);+ return d3(t.map((t, r) => e[Math.floor(r * n)]), t);}function Net(e, t) {- return u3(t.map((t, n) => e[n]), t);+ return d3(t.map((t, n) => e[n]), t);}function Pet(e, t) {for (var n = /* @__PURE__ */ new Map(), r = 0; r < e.length; r++) {@@ -98077,9 +98086,9 @@ function Fet(e, t, n) {var c = Tet(s, 2), l = c[0], u = c[1];i.has(l) || o.push(u);}- return u3(a, t, o);+ return d3(a, t, o);}-function d3(e, t, n) {+function f3(e, t, n) {return t == null ? null : e == null ? t.map((e) => ({status: "added",next: e@@ -98087,7 +98096,7 @@ function d3(e, t, n) {}//#endregion//#region node_modules/recharts/es6/animation/useAnimationStartSnapshot.js-function f3(e, t) {+function p3(e, t) {var n = (0, E.useRef)(e), r = (0, E.useRef)(t.current), i = (0, E.useRef)(!0);n.current !== e && (n.current = e, r.current = t.current, i.current = !1);var a = (0, E.useCallback)(function(e, n) {@@ -98143,7 +98152,7 @@ function Bet(e, t) {function Vet(e) {if (Array.isArray(e)) return e;}-function p3(e, t) {+function m3(e, t) {var n = Iet((0, E.useState)(!1), 2), r = n[0], i = n[1];return {isAnimating: r,@@ -98155,8 +98164,8 @@ function p3(e, t) {}, [t])};}-function m3(e) {- var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = YXe(t, n), _ = f3(g, i), v = _.startValue ?? null, y = d3(v, r, f ?? l3);+function h3(e) {+ var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = YXe(t, n), _ = p3(g, i), v = _.startValue ?? null, y = f3(v, r, f ?? u3);return /*#__PURE__*/ E.createElement(JXe, {animationId: g,begin: o,@@ -98213,7 +98222,7 @@ function Ket(e, t) {function qet(e) {if (Array.isArray(e)) return e;}-var Jet = E.useId ?? (() => Het(E.useState(() => FY("uid-")), 1)[0]);+var Jet = E.useId ?? (() => Het(E.useState(() => IY("uid-")), 1)[0]);//#endregion//#region node_modules/recharts/es6/util/useUniqueId.jsfunction Yet(e, t) {@@ -98222,10 +98231,10 @@ function Yet(e, t) {}//#endregion//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js-var Xet = /*#__PURE__*/ (0, E.createContext)(void 0), h3 = (e) => {+var Xet = /*#__PURE__*/ (0, E.createContext)(void 0), g3 = (e) => {var t = e.id, n = e.type, r = e.children, i = Yet(`recharts-${n}`, t);return /*#__PURE__*/ E.createElement(Xet.Provider, { value: i }, r(i));-}, Zet = HZ({+}, Zet = UZ({name: "graphicalItems",initialState: {cartesianItems: [],@@ -98234,47 +98243,47 @@ var Xet = /*#__PURE__*/ (0, E.createContext)(void 0), h3 = (e) => {reducers: {addCartesianGraphicalItem: {reducer(e, t) {- e.cartesianItems.push(RZ(t.payload));+ e.cartesianItems.push(zZ(t.payload));},- prepare: VZ()+ prepare: HZ()},replaceCartesianGraphicalItem: {reducer(e, t) {- var n = t.payload, r = n.prev, i = n.next, a = LZ(e).cartesianItems.indexOf(RZ(r));- a > -1 && (e.cartesianItems[a] = RZ(i));+ var n = t.payload, r = n.prev, i = n.next, a = RZ(e).cartesianItems.indexOf(zZ(r));+ a > -1 && (e.cartesianItems[a] = zZ(i));},- prepare: VZ()+ prepare: HZ()},removeCartesianGraphicalItem: {reducer(e, t) {- var n = LZ(e).cartesianItems.indexOf(RZ(t.payload));+ var n = RZ(e).cartesianItems.indexOf(zZ(t.payload));n > -1 && e.cartesianItems.splice(n, 1);},- prepare: VZ()+ prepare: HZ()},addPolarGraphicalItem: {reducer(e, t) {- e.polarItems.push(RZ(t.payload));+ e.polarItems.push(zZ(t.payload));},- prepare: VZ()+ prepare: HZ()},removePolarGraphicalItem: {reducer(e, t) {- var n = LZ(e).polarItems.indexOf(RZ(t.payload));+ var n = RZ(e).polarItems.indexOf(zZ(t.payload));n > -1 && e.polarItems.splice(n, 1);},- prepare: VZ()+ prepare: HZ()},replacePolarGraphicalItem: {reducer(e, t) {- var n = t.payload, r = n.prev, i = n.next, a = LZ(e).polarItems.indexOf(RZ(r));- a > -1 && (e.polarItems[a] = RZ(i));+ var n = t.payload, r = n.prev, i = n.next, a = RZ(e).polarItems.indexOf(zZ(r));+ a > -1 && (e.polarItems[a] = zZ(i));},- prepare: VZ()+ prepare: HZ()}}-}), g3 = Zet.actions, Qet = g3.addCartesianGraphicalItem, $et = g3.replaceCartesianGraphicalItem, ett = g3.removeCartesianGraphicalItem, ttt = g3.addPolarGraphicalItem, ntt = g3.removePolarGraphicalItem, rtt = g3.replacePolarGraphicalItem, itt = Zet.reducer, _3 = /*#__PURE__*/ (0, E.memo)((e) => {- var t = IX(), n = (0, E.useRef)(null);+}), _3 = Zet.actions, Qet = _3.addCartesianGraphicalItem, $et = _3.replaceCartesianGraphicalItem, ett = _3.removeCartesianGraphicalItem, ttt = _3.addPolarGraphicalItem, ntt = _3.removePolarGraphicalItem, rtt = _3.replacePolarGraphicalItem, itt = Zet.reducer, v3 = /*#__PURE__*/ (0, E.memo)((e) => {+ var t = LX(), n = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {n.current === null ? t(Qet(e)) : n.current !== e && t($et({prev: n.current,@@ -98284,7 +98293,7 @@ var Xet = /*#__PURE__*/ (0, E.createContext)(void 0), h3 = (e) => {n.current &&= (t(ett(n.current)), null);}, [t]), null;}), att = /*#__PURE__*/ (0, E.memo)((e) => {- var t = IX(), n = (0, E.useRef)(null);+ var t = LX(), n = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {n.current === null ? t(ttt(e)) : n.current !== e && t(rtt({prev: n.current,@@ -98302,7 +98311,7 @@ function ott(e) {//#endregion//#region node_modules/es-toolkit/dist/compat/array/last.mjsfunction stt(e) {- if (SX(e) && e.length !== 0) return ott(K4(e));+ if (CX(e) && e.length !== 0) return ott(q4(e));}//#endregion//#region node_modules/recharts/es6/component/Dots.js@@ -98317,7 +98326,7 @@ function ltt(e, t) {}return n;}-function v3(e) {+function y3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? ltt(Object(n), !0).forEach(function(t) {@@ -98350,14 +98359,14 @@ function ftt(e, t) {}return (t === "string" ? String : Number)(e);}-function y3() {- return y3 = Object.assign ? Object.assign.bind() : function(e) {+function b3() {+ return b3 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, y3.apply(null, arguments);+ }, b3.apply(null, arguments);}function ptt(e, t) {if (e == null) return {};@@ -98384,16 +98393,16 @@ function htt(e) {var i = Vv(r, typeof t == "boolean" ? "" : t.className), a = n ?? {};a.points;var o = ptt(a, ctt);- return /*#__PURE__*/ E.createElement(I4, y3({}, o, { className: i }));+ return /*#__PURE__*/ E.createElement(L4, b3({}, o, { className: i }));}function gtt(e, t) {return e == null ? !1 : t ? !0 : e.length === 1;}-function b3(e) {- var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? O$.scatter : l;+function x3(e) {+ var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? k$.scatter : l;if (!gtt(t, n)) return null;- var d = n3(n), f = zVe(n), p = t.map((e, r) => {- var s = v3(v3(v3({ r: 3 }, o), f), {}, {+ var d = r3(n), f = zVe(n), p = t.map((e, r) => {+ var s = y3(y3(y3({ r: 3 }, o), f), {}, {index: r,cx: e.x ?? void 0,cy: e.y ?? void 0,@@ -98409,7 +98418,7 @@ function b3(e) {className: i});}), m = {};- return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ E.createElement(c4, { zIndex: u }, /*#__PURE__*/ E.createElement(SY, y3({ className: r }, m), p));+ return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ E.createElement(l4, { zIndex: u }, /*#__PURE__*/ E.createElement(CY, b3({ className: r }, m), p));}//#endregion//#region node_modules/recharts/es6/state/cartesianAxisSlice.js@@ -98423,7 +98432,7 @@ function _tt(e, t) {}return n;}-function x3(e) {+function S3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? _tt(Object(n), !0).forEach(function(t) {@@ -98456,7 +98465,7 @@ function btt(e, t) {}return (t === "string" ? String : Number)(e);}-var xtt = HZ({+var xtt = UZ({name: "cartesianAxis",initialState: {xAxis: {},@@ -98466,60 +98475,60 @@ var xtt = HZ({reducers: {addXAxis: {reducer(e, t) {- e.xAxis[t.payload.id] = RZ(t.payload);+ e.xAxis[t.payload.id] = zZ(t.payload);},- prepare: VZ()+ prepare: HZ()},replaceXAxis: {reducer(e, t) {var n = t.payload, r = n.prev, i = n.next;- e.xAxis[r.id] !== void 0 && (r.id !== i.id && delete e.xAxis[r.id], e.xAxis[i.id] = RZ(i));+ e.xAxis[r.id] !== void 0 && (r.id !== i.id && delete e.xAxis[r.id], e.xAxis[i.id] = zZ(i));},- prepare: VZ()+ prepare: HZ()},removeXAxis: {reducer(e, t) {delete e.xAxis[t.payload.id];},- prepare: VZ()+ prepare: HZ()},addYAxis: {reducer(e, t) {- e.yAxis[t.payload.id] = RZ(t.payload);+ e.yAxis[t.payload.id] = zZ(t.payload);},- prepare: VZ()+ prepare: HZ()},replaceYAxis: {reducer(e, t) {var n = t.payload, r = n.prev, i = n.next;- e.yAxis[r.id] !== void 0 && (r.id !== i.id && delete e.yAxis[r.id], e.yAxis[i.id] = RZ(i));+ e.yAxis[r.id] !== void 0 && (r.id !== i.id && delete e.yAxis[r.id], e.yAxis[i.id] = zZ(i));},- prepare: VZ()+ prepare: HZ()},removeYAxis: {reducer(e, t) {delete e.yAxis[t.payload.id];},- prepare: VZ()+ prepare: HZ()},addZAxis: {reducer(e, t) {- e.zAxis[t.payload.id] = RZ(t.payload);+ e.zAxis[t.payload.id] = zZ(t.payload);},- prepare: VZ()+ prepare: HZ()},replaceZAxis: {reducer(e, t) {var n = t.payload, r = n.prev, i = n.next;- e.zAxis[r.id] !== void 0 && (r.id !== i.id && delete e.zAxis[r.id], e.zAxis[i.id] = RZ(i));+ e.zAxis[r.id] !== void 0 && (r.id !== i.id && delete e.zAxis[r.id], e.zAxis[i.id] = zZ(i));},- prepare: VZ()+ prepare: HZ()},removeZAxis: {reducer(e, t) {delete e.zAxis[t.payload.id];},- prepare: VZ()+ prepare: HZ()},updateYAxisWidth(e, t) {var n = t.payload, r = n.id, i = n.width, a = e.yAxis[r];@@ -98527,7 +98536,7 @@ var xtt = HZ({var o = a.widthHistory || [];if (o.length === 3 && o[0] === o[2] && i === o[1] && i !== a.width && Math.abs(i - (o[0] ?? 0)) <= 1) return;var s = [...o, i].slice(-3);- e.yAxis[r] = x3(x3({}, a), {}, {+ e.yAxis[r] = S3(S3({}, a), {}, {width: i,widthHistory: s});@@ -98539,24 +98548,24 @@ var xtt = HZ({var o = a.heightHistory || [];if (o.length === 3 && o[0] === o[2] && i === o[1] && i !== a.height && Math.abs(i - (o[0] ?? 0)) <= 1) return;var s = [...o, i].slice(-3);- e.xAxis[r] = x3(x3({}, a), {}, {+ e.xAxis[r] = S3(S3({}, a), {}, {height: i,heightHistory: s});}}}-}), S3 = xtt.actions, Stt = S3.addXAxis, Ctt = S3.replaceXAxis, wtt = S3.removeXAxis, Ttt = S3.addYAxis, Ett = S3.replaceYAxis, Dtt = S3.removeYAxis;-S3.addZAxis, S3.replaceZAxis, S3.removeZAxis;-var Ott = S3.updateYAxisWidth, ktt = S3.updateXAxisHeight, Att = xtt.reducer, jtt = X([- X([yQ], (e) => ({+}), C3 = xtt.actions, Stt = C3.addXAxis, Ctt = C3.replaceXAxis, wtt = C3.removeXAxis, Ttt = C3.addYAxis, Ett = C3.replaceYAxis, Dtt = C3.removeYAxis;+C3.addZAxis, C3.replaceZAxis, C3.removeZAxis;+var Ott = C3.updateYAxisWidth, ktt = C3.updateXAxisHeight, Att = xtt.reducer, jtt = X([+ X([bQ], (e) => ({top: e.top,bottom: e.bottom,left: e.left,right: e.right})),- pQ,- mQ+ mQ,+ hQ], (e, t, n) => {if (e && t != null && n != null) return {x: e.left,@@ -98564,7 +98573,7 @@ var Ott = S3.updateYAxisWidth, ktt = S3.updateXAxisHeight, Att = xtt.reducer, jtwidth: Math.max(0, t - e.left - e.right),height: Math.max(0, n - e.top - e.bottom)};-}), C3 = () => RX(jtt), Mtt = () => RX(g6e);+}), w3 = () => zX(jtt), Mtt = () => zX(g6e);//#endregion//#region node_modules/recharts/es6/component/ActivePoints.jsfunction Ntt(e, t) {@@ -98577,7 +98586,7 @@ function Ntt(e, t) {}return n;}-function w3(e) {+function T3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? Ntt(Object(n), !0).forEach(function(t) {@@ -98613,7 +98622,7 @@ function Itt(e, t) {var Ltt = (e) => {var t = e.point, n = e.childIndex, r = e.mainColor, i = e.activeDot, a = e.dataKey, o = e.clipPath;if (i === !1 || t.x == null || t.y == null) return null;- var s = w3(w3(w3({}, {+ var s = T3(T3(T3({}, {index: n,dataKey: a,cx: t.x,@@ -98624,17 +98633,17 @@ var Ltt = (e) => {stroke: "#fff",payload: t.payload,value: t.value- }), _Y(i)), gX(i)), c = /*#__PURE__*/ (0, E.isValidElement)(i) ? /*#__PURE__*/ (0, E.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ E.createElement(I4, s);- return /*#__PURE__*/ E.createElement(SY, {+ }), vY(i)), _X(i)), c = /*#__PURE__*/ (0, E.isValidElement)(i) ? /*#__PURE__*/ (0, E.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ E.createElement(L4, s);+ return /*#__PURE__*/ E.createElement(CY, {className: "recharts-active-dot",clipPath: o}, c);};-function T3(e) {- var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? O$.activeDot : o, c = RX($2), l = Mtt();+function E3(e) {+ var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? k$.activeDot : o, c = zX(e4), l = Mtt();if (t == null || l == null) return null;var u = t.find((e) => l.includes(e.payload));- return RY(u) ? null : /*#__PURE__*/ E.createElement(c4, { zIndex: s }, /*#__PURE__*/ E.createElement(Ltt, {+ return zY(u) ? null : /*#__PURE__*/ E.createElement(l4, { zIndex: s }, /*#__PURE__*/ E.createElement(Ltt, {point: u,childIndex: Number(c),mainColor: n,@@ -98655,7 +98664,7 @@ function Rtt(e, t) {}return n;}-function E3(e) {+function D3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? Rtt(Object(n), !0).forEach(function(t) {@@ -98688,16 +98697,16 @@ function Vtt(e, t) {}return (t === "string" ? String : Number)(e);}-var Htt = (e, t) => H4(e, "radiusAxis", t), Utt = X([Htt], (e) => {+var Htt = (e, t) => U4(e, "radiusAxis", t), Utt = X([Htt], (e) => {if (e != null) return { scale: e };-}), Wtt = X([F$, Htt], (e, t) => {- if (e != null && t != null) return E3(E3({}, e), {}, { scale: t });-}), Gtt = (e, t, n, r) => U4(e, "radiusAxis", t, r), Ktt = (e, t, n) => P$(e, n), qtt = (e, t, n) => H4(e, "angleAxis", n), Jtt = X([Ktt, qtt], (e, t) => {- if (e != null && t != null) return E3(E3({}, e), {}, { scale: t });-}), Ytt = (e, t, n, r) => U4(e, "angleAxis", n, r), Xtt = X([+}), Wtt = X([I$, Htt], (e, t) => {+ if (e != null && t != null) return D3(D3({}, e), {}, { scale: t });+}), Gtt = (e, t, n, r) => W4(e, "radiusAxis", t, r), Ktt = (e, t, n) => F$(e, n), qtt = (e, t, n) => U4(e, "angleAxis", n), Jtt = X([Ktt, qtt], (e, t) => {+ if (e != null && t != null) return D3(D3({}, e), {}, { scale: t });+}), Ytt = (e, t, n, r) => W4(e, "angleAxis", n, r), Xtt = X([Ktt,qtt,- R$+ z$], (e, t, n) => {if (n != null && t != null) return {scale: t,@@ -98707,16 +98716,16 @@ var Htt = (e, t) => H4(e, "radiusAxis", t), Utt = X([Htt], (e) => {cy: n.cy};}), Ztt = (e, t, n, r, i) => i, Qtt = X([- MQ,+ NQ,Wtt,Gtt,Jtt,Ytt-], (e, t, n, r, i) => sQ(e, "radiusAxis") ? dQ(t, n, !1) : dQ(r, i, !1)), $tt = X([+], (e, t, n, r, i) => cQ(e, "radiusAxis") ? fQ(t, n, !1) : fQ(r, i, !1)), $tt = X([Utt,Xtt,- m$,- X([L4, Ztt], (e, t) => {+ h$,+ X([R4, Ztt], (e, t) => {if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;}),Qtt@@ -98730,14 +98739,14 @@ var Htt = (e, t) => H4(e, "radiusAxis", t), Utt = X([Htt], (e) => {bandSize: i});}), ent = ["id"];-function D3() {- return D3 = Object.assign ? Object.assign.bind() : function(e) {+function O3() {+ return O3 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, D3.apply(null, arguments);+ }, O3.apply(null, arguments);}function tnt(e, t) {var n = Object.keys(e);@@ -98749,7 +98758,7 @@ function tnt(e, t) {}return n;}-function O3(e) {+function k3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? tnt(Object(n), !0).forEach(function(t) {@@ -98800,7 +98809,7 @@ function ont(e, t) {}return n;}-function k3(e, t) {+function A3(e, t) {return e && e !== "none" ? e : t;}var snt = (e) => {@@ -98809,35 +98818,35 @@ var snt = (e) => {inactive: e.hide,dataKey: t,type: a,- color: k3(r, i),- value: fQ(n, t),+ color: A3(r, i),+ value: pQ(n, t),payload: e}];}, cnt = /*#__PURE__*/ E.memo((e) => {var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.tooltipType, c = e.id, l = {dataDefinedOnItem: void 0,- getPosition: VY,+ getPosition: HY,settings: {stroke: n,strokeWidth: r,fill: i,nameKey: void 0,dataKey: t,- name: fQ(a, t),+ name: pQ(a, t),hide: o,type: s,- color: k3(n, i),+ color: A3(n, i),unit: "",graphicalItemId: c}};- return /*#__PURE__*/ E.createElement(s3, { tooltipEntrySettings: l });+ return /*#__PURE__*/ E.createElement(c3, { tooltipEntrySettings: l });});function lnt(e) {var t = e.points, n = e.props, r = n.dot, i = n.dataKey;n.id;- var a = gY(ant(n, ent));- return /*#__PURE__*/ E.createElement(b3, {+ var a = _Y(ant(n, ent));+ return /*#__PURE__*/ E.createElement(x3, {points: t,dot: r,className: "recharts-radar-dots",@@ -98849,8 +98858,8 @@ function lnt(e) {function unt(e) {var t = e.radiusAxis, n = e.angleAxis, r = e.displayedData, i = e.dataKey, a = e.bandSize, o = n.cx, s = n.cy, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;r.forEach((e, r) => {- var a = oQ(e, n.dataKey, r), d = oQ(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? stt(d) : d, m = RY(p) ? 0 : t.scale.map(p) ?? 0;- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(O3(O3({}, s$(o, s, m, f)), {}, {+ var a = sQ(e, n.dataKey, r), d = sQ(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? stt(d) : d, m = zY(p) ? 0 : t.scale.map(p) ?? 0;+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(k3(k3({}, c$(o, s, m, f)), {}, {name: a,value: d,cx: o,@@ -98863,8 +98872,8 @@ function unt(e) {var d = [];return c && l.forEach((e) => {if (Array.isArray(e.value)) {- var n = e.value[0], r = RY(n) ? 0 : t.scale.map(n) ?? 0;- d.push(O3(O3({}, e), {}, { radius: r }, s$(o, s, r, e.angle)));+ var n = e.value[0], r = zY(n) ? 0 : t.scale.map(n) ?? 0;+ d.push(k3(k3({}, e), {}, { radius: r }, c$(o, s, r, e.angle)));} else d.push(e);}), {points: l,@@ -98882,7 +98891,7 @@ function dnt(e) {upperWidth: 0,height: 0};- return O3(O3({}, t), {}, {+ return k3(k3({}, t), {}, {value: e.value ?? "",payload: e.payload,parentViewBox: void 0,@@ -98890,12 +98899,12 @@ function dnt(e) {fill: void 0});});- return /*#__PURE__*/ E.createElement(A4, { value: t ? i : void 0 }, r);+ return /*#__PURE__*/ E.createElement(j4, { value: t ? i : void 0 }, r);}function fnt(e) {var t = e.points, n = e.baseLinePoints, r = e.props;if (t == null) return null;- var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ E.isValidElement(i) ? /*#__PURE__*/ E.cloneElement(i, O3(O3({}, r), {}, { points: t })) : typeof i == "function" ? i(O3(O3({}, r), {}, { points: t })) : /*#__PURE__*/ E.createElement(W7e, D3({}, vY(r), {+ var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ E.isValidElement(i) ? /*#__PURE__*/ E.cloneElement(i, k3(k3({}, r), {}, { points: t })) : typeof i == "function" ? i(k3(k3({}, r), {}, { points: t })) : /*#__PURE__*/ E.createElement(W7e, O3({}, yY(r), {onMouseEnter: (e) => {var t = r.onMouseEnter;t && t(r, e);@@ -98908,24 +98917,24 @@ function fnt(e) {baseLinePoints: a ? n : void 0,connectNulls: o}));- return /*#__PURE__*/ E.createElement(SY, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ E.createElement(lnt, {+ return /*#__PURE__*/ E.createElement(CY, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ E.createElement(lnt, {props: r,points: t}));}-var pnt = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [O3(O3({}, e.next), {}, {- x: LY(e.prev.x, e.next.x, t),- y: LY(e.prev.y, e.next.y, t)-})] : [O3(O3({}, e.next), {}, {- x: LY(e.next.cx, e.next.x, t),- y: LY(e.next.cy, e.next.y, t)+var pnt = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [k3(k3({}, e.next), {}, {+ x: RY(e.prev.x, e.next.x, t),+ y: RY(e.prev.y, e.next.y, t)+})] : [k3(k3({}, e.next), {}, {+ x: RY(e.next.cx, e.next.x, t),+ y: RY(e.next.cy, e.next.y, t)})]);function mnt(e) {- var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = f3(t, r), h = m.startValue, g = d3(h ?? null, a, u), _ = p3(f, p), v = _.isAnimating, y = _.handleAnimationStart, b = _.handleAnimationEnd, x = IQ();+ var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = p3(t, r), h = m.startValue, g = f3(h ?? null, a, u), _ = m3(f, p), v = _.isAnimating, y = _.handleAnimationStart, b = _.handleAnimationEnd, x = LQ();return x == null ? null : /*#__PURE__*/ E.createElement(dnt, {showLabels: !v,points: i- }, /*#__PURE__*/ E.createElement(m3, {+ }, /*#__PURE__*/ E.createElement(h3, {animationInput: t,animationIdPrefix: "recharts-radar-",items: i,@@ -98946,7 +98955,7 @@ function mnt(e) {baseLinePoints: r,props: t});- }), /*#__PURE__*/ E.createElement(M4, { label: t.label }), t.children);+ }), /*#__PURE__*/ E.createElement(N4, { label: t.label }), t.children);}function hnt(e) {var t = (0, E.useRef)(void 0), n = (0, E.useRef)(void 0);@@ -98962,7 +98971,7 @@ var gnt = {animationBegin: 0,animationDuration: 1500,animationEasing: "ease",- animationMatchBy: l3,+ animationMatchBy: u3,animationInterpolateFn: pnt,dot: !1,hide: !1,@@ -98970,30 +98979,30 @@ var gnt = {label: !1,legendType: "rect",radiusAxisId: 0,- zIndex: O$.area+ zIndex: k$.area};function _nt(e) {var t = e.hide, n = e.className, r = e.points;if (t) return null;var i = Vv("recharts-radar", n);- return /*#__PURE__*/ E.createElement(c4, { zIndex: e.zIndex }, /*#__PURE__*/ E.createElement(SY, { className: i }, /*#__PURE__*/ E.createElement(hnt, e)), /*#__PURE__*/ E.createElement(T3, {+ return /*#__PURE__*/ E.createElement(l4, { zIndex: e.zIndex }, /*#__PURE__*/ E.createElement(CY, { className: i }, /*#__PURE__*/ E.createElement(hnt, e)), /*#__PURE__*/ E.createElement(E3, {points: r,- mainColor: k3(e.stroke, e.fill),+ mainColor: A3(e.stroke, e.fill),itemDataKey: e.dataKey,activeDot: e.activeDot}));}function vnt(e) {- var t = xQ(), n = RX((n) => $tt(n, e.radiusAxisId, e.angleAxisId, t, e.id));- return n?.points == null ? null : /*#__PURE__*/ E.createElement(_nt, D3({}, e, {+ var t = SQ(), n = zX((n) => $tt(n, e.radiusAxisId, e.angleAxisId, t, e.id));+ return n?.points == null ? null : /*#__PURE__*/ E.createElement(_nt, O3({}, e, {points: n?.points,baseLinePoints: n?.baseLinePoints,isRange: n?.isRange}));}-function A3(e) {- var t = vX(e, gnt);- return /*#__PURE__*/ E.createElement(h3, {+function j3(e) {+ var t = yX(e, gnt);+ return /*#__PURE__*/ E.createElement(g3, {id: t.id,type: "radar"}, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(att, {@@ -99013,9 +99022,9 @@ function A3(e) {hide: t.hide,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ E.createElement(vnt, D3({}, t, { id: e }))));+ }), /*#__PURE__*/ E.createElement(vnt, O3({}, t, { id: e }))));}-A3.displayName = "Radar";+j3.displayName = "Radar";//#endregion//#region node_modules/recharts/es6/util/RadialBarUtils.jsvar ynt = ["option"];@@ -99037,13 +99046,13 @@ function xnt(e, t) {}return n;}-var Snt = d$;+var Snt = f$;function Cnt(e) {return typeof e == "string" ? parseInt(e, 10) : e;}-function j3(e) {+function M3(e) {var t = e.option, n = bnt(e, ynt);- return /*#__PURE__*/ E.createElement(r3, {+ return /*#__PURE__*/ E.createElement(i3, {option: t,DefaultShape: Snt,shapeProps: n@@ -99095,9 +99104,9 @@ function knt(e) {}var Ant = (e, t, n) => {var r = n ?? e;- if (!RY(r)) return IY(r, t, 0);+ if (!zY(r)) return LY(r, t, 0);}, jnt = (e, t, n) => {- var r = {}, i = e.filter(U$), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {+ var r = {}, i = e.filter(W$), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {var n = e[t.stackId];return n ??= [], n.push(t), e[t.stackId] = n, e;}, r), s = Object.entries(o).map((e) => {@@ -99126,7 +99135,7 @@ function Mnt(e, t) {}return n;}-function M3(e) {+function N3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? Mnt(Object(n), !0).forEach(function(t) {@@ -99162,8 +99171,8 @@ function Fnt(e, t) {function Int(e, t, n, r, i) {var a = r.length;if (!(a < 1)) {- var o = IY(e, n, 0, !0), s, c = [];- if (rQ(r[0]?.barSize)) {+ var o = LY(e, n, 0, !0), s, c = [];+ if (iQ(r[0]?.barSize)) {var l = !1, u = n / a, d = r.reduce((e, t) => e + (t.barSize || 0), 0);d += (a - 1) * o, d >= n && (d -= (a - 1) * o, o = 0), d >= n && u > 0 && (l = !0, u *= .9, d = a * u);var f = {@@ -99182,11 +99191,11 @@ function Int(e, t, n, r, i) {return f = n.position, r;}, c);} else {- var p = IY(t, n, 0, !0);+ var p = LY(t, n, 0, !0);n - 2 * p - (a - 1) * o <= 0 && (o = 0);var m = (n - 2 * p - (a - 1) * o) / a;m > 1 && (m = Math.round(m));- var h = rQ(i) ? Math.min(m, i) : m;+ var h = iQ(i) ? Math.min(m, i) : m;s = r.reduce((e, t, n) => [...e, {stackId: t.stackId,dataKeys: t.dataKeys,@@ -99200,10 +99209,10 @@ function Int(e, t, n, r, i) {}}var Lnt = (e, t, n, r, i, a, o) => {- var s = RY(o) ? t : o, c = Int(n, r, i === a ? a : i, e, s);- return i !== a && c != null && (c = c.map((e) => M3(M3({}, e), {}, { position: M3(M3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;+ var s = zY(o) ? t : o, c = Int(n, r, i === a ? a : i, e, s);+ return i !== a && c != null && (c = c.map((e) => N3(N3({}, e), {}, { position: N3(N3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;}, Rnt = (e, t) => {- var n = V$(t);+ var n = H$(t);if (e && n != null && t != null) {var r = t.stackId;if (r != null) {@@ -99232,7 +99241,7 @@ function Bnt(e, t) {}return n;}-function N3(e) {+function P3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? Bnt(Object(n), !0).forEach(function(t) {@@ -99265,76 +99274,76 @@ function Unt(e, t) {}return (t === "string" ? String : Number)(e);}-var P3 = X([(e, t) => F$(e, t), (e, t) => H4(e, "radiusAxis", t)], (e, t) => {- if (e != null && t != null) return N3(N3({}, e), {}, { scale: t });-}), F3 = (e, t) => Q7e(e, "radiusAxis", t, !1), I3 = X([(e, t, n) => P$(e, n), (e, t, n) => H4(e, "angleAxis", n)], (e, t) => {- if (e != null && t != null) return N3(N3({}, e), {}, { scale: t });-}), L3 = (e, t, n) => U4(e, "angleAxis", n, !1), R3 = X([L4, (e, t, n, r) => r], (e, t) => {+var F3 = X([(e, t) => I$(e, t), (e, t) => U4(e, "radiusAxis", t)], (e, t) => {+ if (e != null && t != null) return P3(P3({}, e), {}, { scale: t });+}), I3 = (e, t) => Q7e(e, "radiusAxis", t, !1), L3 = X([(e, t, n) => F$(e, n), (e, t, n) => U4(e, "angleAxis", n)], (e, t) => {+ if (e != null && t != null) return P3(P3({}, e), {}, { scale: t });+}), R3 = (e, t, n) => W4(e, "angleAxis", n, !1), z3 = X([R4, (e, t, n, r) => r], (e, t) => {if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;}), Wnt = X([- MQ,- P3,+ NQ,F3,I3,- L3-], (e, t, n, r, i) => sQ(e, "radiusAxis") ? dQ(t, n, !1) : dQ(r, i, !1)), Gnt = X([- I3,- P3,- MQ+ L3,+ R3+], (e, t, n, r, i) => cQ(e, "radiusAxis") ? fQ(t, n, !1) : fQ(r, i, !1)), Gnt = X([+ L3,+ F3,+ NQ], (e, t, n) => {var r = n === "radial" ? e : t;if (r != null && r.scale != null) return mqe({ numericAxis: r });}), Knt = (e, t, n, r, i) => i, qnt = (e, t, n, r, i) => n, Jnt = (e, t, n, r, i) => t, Ynt = (e, t, n, r, i) => r.maxBarSize, Xnt = (e) => e.type === "radialBar", Znt = X([X([X([X([- MQ,- L4,+ NQ,+ R4,qnt,Jnt], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(Xnt)),wQe,() => void 0], jnt),- x$,- CQe,S$,+ CQe,+ C$,X([- MQ,- x$,- I3,+ NQ,+ S$,L3,- P3,+ R3,F3,+ I3,Ynt], (e, t, n, r, i, a, o) => {- var s = RY(o) ? t : o;- return e === "centric" ? dQ(n, r, !0) ?? s ?? 0 : dQ(i, a, !0) ?? s ?? 0;+ var s = zY(o) ? t : o;+ return e === "centric" ? fQ(n, r, !0) ?? s ?? 0 : fQ(i, a, !0) ?? s ?? 0;}),Wnt,Ynt-], Lnt), R3], znt), Qnt = X([R4], (e) => e.filter(Xnt).filter(U$)), $nt = X([+], Lnt), z3], znt), Qnt = X([z4], (e) => e.filter(Xnt).filter(W$)), $nt = X([X([Qnt,- m$,- c2- ], H$),+ h$,+ l2+ ], U$),Qnt,- C$,- w$-], u2), ert = X([- I3,+ w$,+ T$+], d2), ert = X([L3,- P3,- F3,- p$,R3,+ F3,+ I3,+ m$,+ z3,Wnt,- MQ,+ NQ,Gnt,- R$,+ z$,Knt,Znt,- X([(e, t, n) => MQ(e) === "centric" ? $nt(e, "radiusAxis", t) : $nt(e, "angleAxis", n), R3], Rnt)+ X([(e, t, n) => NQ(e) === "centric" ? $nt(e, "radiusAxis", t) : $nt(e, "angleAxis", n), z3], Rnt)], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {var p = i.chartData, m = i.dataStartIndex, h = i.dataEndIndex;if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];@@ -99360,7 +99369,7 @@ var P3 = X([(e, t) => F$(e, t), (e, t) => H4(e, "radiusAxis", t)], (e, t) => {stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,startAngle: b});-}), trt = X([m$, (e, t) => t], (e, t) => {+}), trt = X([h$, (e, t) => t], (e, t) => {var n = e.chartData, r = e.dataStartIndex, i = e.dataEndIndex;if (n == null) return [];var a = n.slice(r, i + 1);@@ -99374,7 +99383,7 @@ var P3 = X([(e, t) => F$(e, t), (e, t) => H4(e, "radiusAxis", t)], (e, t) => {//#endregion//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.jsfunction nrt(e, t) {- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && rQ(e.zIndex) ? e.zIndex : t;+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && iQ(e.zIndex) ? e.zIndex : t;}//#endregion//#region node_modules/recharts/es6/polar/RadialBar.js@@ -99388,14 +99397,14 @@ var rrt = ["onClick","onMouseLeave"], art = ["value", "background"];-function z3() {- return z3 = Object.assign ? Object.assign.bind() : function(e) {+function B3() {+ return B3 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, z3.apply(null, arguments);+ }, B3.apply(null, arguments);}function ort(e, t) {var n = Object.keys(e);@@ -99407,7 +99416,7 @@ function ort(e, t) {}return n;}-function B3(e) {+function V3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? ort(Object(n), !0).forEach(function(t) {@@ -99440,7 +99449,7 @@ function lrt(e, t) {}return (t === "string" ? String : Number)(e);}-function V3(e, t) {+function H3(e, t) {if (e == null) return {};var n, r, i = urt(e, t);if (Object.getOwnPropertySymbols) {@@ -99479,12 +99488,12 @@ function frt(e) {return /*#__PURE__*/ E.createElement(N7e, { value: t ? i : void 0 }, r);}function prt(e) {- var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = V3(n, rrt), f = gY(d), p = RX($2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = V3(n, irt), v = i3(m, n.dataKey, u), y = a3(g), b = o3(h, n.dataKey, u);+ var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = H3(n, rrt), f = _Y(d), p = zX(e4), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = H3(n, irt), v = a3(m, n.dataKey, u), y = o3(g), b = s3(h, n.dataKey, u);return t == null ? null : /*#__PURE__*/ E.createElement(frt, {showLabels: r,sectors: t}, t.map((e, t) => {- var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = b(e, t), h = B3(B3(B3(B3({}, f), {}, { cornerRadius: Cnt(l) }, e), _X(_, e, t)), {}, {+ var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = b(e, t), h = V3(V3(V3(V3({}, f), {}, { cornerRadius: Cnt(l) }, e), vX(_, e, t)), {}, {onMouseEnter: r,onMouseLeave: u,onClick: m,@@ -99498,19 +99507,19 @@ function prt(e) {option: n && c != null ? c : s,index: t});- return n ? /*#__PURE__*/ E.createElement(c4, {- zIndex: O$.activeBar,+ return n ? /*#__PURE__*/ E.createElement(l4, {+ zIndex: k$.activeBar,key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`- }, /*#__PURE__*/ E.createElement(j3, h)) : /*#__PURE__*/ E.createElement(j3, z3({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, h));- }), /*#__PURE__*/ E.createElement(M4, { label: n.label }), n.children);+ }, /*#__PURE__*/ E.createElement(M3, h)) : /*#__PURE__*/ E.createElement(M3, B3({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, h));+ }), /*#__PURE__*/ E.createElement(N4, { label: n.label }), n.children);}-var mrt = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [B3(B3({}, e.next), {}, {- startAngle: LY(e.prev.startAngle, e.next.startAngle, t),- endAngle: LY(e.prev.endAngle, e.next.endAngle, t)-})] : [B3(B3({}, e.next), {}, { endAngle: LY(e.next.startAngle, e.next.endAngle, t) })]);+var mrt = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [V3(V3({}, e.next), {}, {+ startAngle: RY(e.prev.startAngle, e.next.startAngle, t),+ endAngle: RY(e.prev.endAngle, e.next.endAngle, t)+})] : [V3(V3({}, e.next), {}, { endAngle: RY(e.next.startAngle, e.next.endAngle, t) })]);function hrt(e) {- var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = p3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = IQ();- return m == null ? null : /*#__PURE__*/ E.createElement(m3, {+ var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = m3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = LQ();+ return m == null ? null : /*#__PURE__*/ E.createElement(h3, {animationInput: t,animationIdPrefix: "recharts-radialbar-",items: r,@@ -99541,13 +99550,13 @@ function grt(e) {});}function _rt(e) {- var t = RX((t) => trt(t, e.legendType));+ var t = zX((t) => trt(t, e.legendType));return /*#__PURE__*/ E.createElement(wet, { legendPayload: t ?? [] });}var vrt = /*#__PURE__*/ E.memo((e) => {var t = e.dataKey, n = e.sectors, r = e.stroke, i = e.strokeWidth, a = e.name, o = e.hide, s = e.fill, c = e.tooltipType, l = e.formatter, u = {dataDefinedOnItem: n,- getPosition: VY,+ getPosition: HY,settings: {graphicalItemId: e.id,stroke: r,@@ -99555,7 +99564,7 @@ var vrt = /*#__PURE__*/ E.memo((e) => {fill: s,nameKey: void 0,dataKey: t,- name: fQ(a, t),+ name: pQ(a, t),hide: o,type: c,color: s,@@ -99563,39 +99572,39 @@ var vrt = /*#__PURE__*/ E.memo((e) => {formatter: l}};- return /*#__PURE__*/ E.createElement(s3, { tooltipEntrySettings: u });+ return /*#__PURE__*/ E.createElement(c3, { tooltipEntrySettings: u });}), yrt = class extends E.PureComponent {renderBackground(e) {if (e == null) return null;- var t = this.props.cornerRadius, n = _Y(this.props.background);- return /*#__PURE__*/ E.createElement(c4, { zIndex: nrt(this.props.background, O$.barBackground) }, e.map((e, r) => {+ var t = this.props.cornerRadius, n = vY(this.props.background);+ return /*#__PURE__*/ E.createElement(l4, { zIndex: nrt(this.props.background, k$.barBackground) }, e.map((e, r) => {e.value;- var i = e.background, a = V3(e, art);+ var i = e.background, a = H3(e, art);if (!i) return null;- var o = B3(B3(B3(B3(B3({ cornerRadius: Cnt(t) }, a), {}, { fill: "#eee" }, i), n), _X(this.props, e, r)), {}, {+ var o = V3(V3(V3(V3(V3({ cornerRadius: Cnt(t) }, a), {}, { fill: "#eee" }, i), n), vX(this.props, e, r)), {}, {index: r,className: Vv("recharts-radial-bar-background-sector", String(n?.className)),option: i,isActive: !1});- return /*#__PURE__*/ E.createElement(j3, z3({ key: `background-${a.cx}-${a.cy}-${a.innerRadius}-${a.outerRadius}-${a.startAngle}-${a.endAngle}-${r}` }, o));+ return /*#__PURE__*/ E.createElement(M3, B3({ key: `background-${a.cx}-${a.cy}-${a.innerRadius}-${a.outerRadius}-${a.startAngle}-${a.endAngle}-${r}` }, o));}));}render() {var e = this.props, t = e.hide, n = e.sectors, r = e.className, i = e.background;if (t) return null;var a = Vv("recharts-area", r);- return /*#__PURE__*/ E.createElement(c4, { zIndex: this.props.zIndex }, /*#__PURE__*/ E.createElement(SY, { className: a }, i && /*#__PURE__*/ E.createElement(SY, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ E.createElement(SY, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ E.createElement(grt, this.props))));+ return /*#__PURE__*/ E.createElement(l4, { zIndex: this.props.zIndex }, /*#__PURE__*/ E.createElement(CY, { className: a }, i && /*#__PURE__*/ E.createElement(CY, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ E.createElement(CY, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ E.createElement(grt, this.props))));}};function brt(e) {- var t = E.useMemo(() => fet(e.children, g4), [e.children]), n = E.useMemo(() => ({+ var t = E.useMemo(() => fet(e.children, _4), [e.children]), n = E.useMemo(() => ({data: void 0,hide: !1,id: e.id,dataKey: e.dataKey,minPointSize: e.minPointSize,- stackId: cQ(e.stackId),+ stackId: lQ(e.stackId),maxBarSize: e.maxBarSize,barSize: e.barSize,type: "radialBar",@@ -99610,7 +99619,7 @@ function brt(e) {e.barSize,e.angleAxisId,e.radiusAxisId- ]), r = RX((r) => ert(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? drt;+ ]), r = zX((r) => ert(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? drt;return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(vrt, {dataKey: e.dataKey,sectors: r,@@ -99622,9 +99631,9 @@ function brt(e) {tooltipType: e.tooltipType,formatter: e.formatter,id: e.id- }), /*#__PURE__*/ E.createElement(yrt, z3({}, e, { sectors: r })));+ }), /*#__PURE__*/ E.createElement(yrt, B3({}, e, { sectors: r })));}-var H3 = {+var U3 = {angleAxisId: 0,animationBegin: 0,animationDuration: 1500,@@ -99642,14 +99651,14 @@ var H3 = {minPointSize: 0,radiusAxisId: 0,shape: Snt,- zIndex: O$.bar+ zIndex: k$.bar};function xrt(e) {var t = e.displayedData, n = e.stackedData, r = e.dataStartIndex, i = e.stackedDomain, a = e.dataKey, o = e.baseValue, s = e.layout, c = e.radiusAxis, l = e.radiusAxisTicks, u = e.bandSize, d = e.pos, f = e.angleAxis, p = e.minPointSize, m = e.cx, h = e.cy, g = e.angleAxisTicks, _ = e.cells, v = e.startAngle, y = e.endAngle;return g == null || l == null ? drt : (t ?? []).map((e, t) => {var b, x, S, C, w, T;- if (n ? b = dqe(n[r + t], i) : (b = oQ(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {- if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = uQ({+ if (n ? b = dqe(n[r + t], i) : (b = sQ(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {+ if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = dQ({axis: c,ticks: l,bandSize: u,@@ -99660,7 +99669,7 @@ function xrt(e) {S = x + d.size;var E = w - C;if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {- var D = AY(E || p) * (Math.abs(p) - Math.abs(E));+ var D = jY(E || p) * (Math.abs(p) - Math.abs(E));w += D;}T = { background: {@@ -99672,7 +99681,7 @@ function xrt(e) {endAngle: y} };}- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = uQ({+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = dQ({axis: f,ticks: g,bandSize: u,@@ -99683,11 +99692,11 @@ function xrt(e) {w = C + d.size;var O = S - x;if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {- var k = AY(O || p) * (Math.abs(p) - Math.abs(O));+ var k = jY(O || p) * (Math.abs(p) - Math.abs(O));S += k;}}- return B3(B3(B3({}, e), T), {}, {+ return V3(V3(V3({}, e), T), {}, {payload: e,value: n ? b : b[1],cx: m,@@ -99699,9 +99708,9 @@ function xrt(e) {}, _ && _[t] && _[t].props);});}-function U3(e) {- var t = vX(e, H3);- return /*#__PURE__*/ E.createElement(h3, {+function W3(e) {+ var t = yX(e, U3);+ return /*#__PURE__*/ E.createElement(g3, {id: t.id,type: "radialBar"}, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(att, {@@ -99709,20 +99718,20 @@ function U3(e) {id: e,data: void 0,dataKey: t.dataKey,- hide: t.hide ?? H3.hide,- angleAxisId: t.angleAxisId ?? H3.angleAxisId,- radiusAxisId: t.radiusAxisId ?? H3.radiusAxisId,- stackId: cQ(t.stackId),+ hide: t.hide ?? U3.hide,+ angleAxisId: t.angleAxisId ?? U3.angleAxisId,+ radiusAxisId: t.radiusAxisId ?? U3.radiusAxisId,+ stackId: lQ(t.stackId),barSize: t.barSize,minPointSize: t.minPointSize,maxBarSize: t.maxBarSize- }), /*#__PURE__*/ E.createElement(_rt, t), /*#__PURE__*/ E.createElement(brt, z3({}, t, { id: e }))));+ }), /*#__PURE__*/ E.createElement(_rt, t), /*#__PURE__*/ E.createElement(brt, B3({}, t, { id: e }))));}-U3.displayName = "RadialBar";+W3.displayName = "RadialBar";//#endregion//#region node_modules/recharts/es6/context/chartDataContext.jsvar Srt = (e) => {- var t = e.chartData, n = IX(), r = xQ();+ var t = e.chartData, n = LX(), r = SQ();return (0, E.useEffect)(() => r ? () => {} : (n(x8e(t)), () => {n(x8e(void 0));}), [@@ -99741,7 +99750,7 @@ var Srt = (e) => {bottom: 0,left: 0}-}, wrt = HZ({+}, wrt = UZ({name: "brush",initialState: Crt,reducers: { setBrushSettings(e, t) {@@ -99773,7 +99782,7 @@ function Ort(e) {var krt = function(e) {var t = e.width, n = e.height, r = Ort(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);return Math.abs(a);-}, Art = HZ({+}, Art = UZ({name: "referenceElements",initialState: {dots: [],@@ -99785,27 +99794,27 @@ var krt = function(e) {e.dots.push(t.payload);},removeDot: (e, t) => {- var n = LZ(e).dots.findIndex((e) => e === t.payload);+ var n = RZ(e).dots.findIndex((e) => e === t.payload);n !== -1 && e.dots.splice(n, 1);},addArea: (e, t) => {e.areas.push(t.payload);},removeArea: (e, t) => {- var n = LZ(e).areas.findIndex((e) => e === t.payload);+ var n = RZ(e).areas.findIndex((e) => e === t.payload);n !== -1 && e.areas.splice(n, 1);},addLine: (e, t) => {- e.lines.push(RZ(t.payload));+ e.lines.push(zZ(t.payload));},removeLine: (e, t) => {- var n = LZ(e).lines.findIndex((e) => e === t.payload);+ var n = RZ(e).lines.findIndex((e) => e === t.payload);n !== -1 && e.lines.splice(n, 1);}}-}), W3 = Art.actions;-W3.addDot, W3.removeDot, W3.addArea, W3.removeArea;-var jrt = W3.addLine, Mrt = W3.removeLine, Nrt = Art.reducer;+}), G3 = Art.actions;+G3.addDot, G3.removeDot, G3.addArea, G3.removeArea;+var jrt = G3.addLine, Mrt = G3.removeLine, Nrt = Art.reducer;//#endregion//#region node_modules/recharts/es6/container/ClipPathProvider.jsfunction Prt(e, t) {@@ -99851,7 +99860,7 @@ function zrt(e) {if (Array.isArray(e)) return e;}var Brt = /*#__PURE__*/ (0, E.createContext)(void 0), Vrt = (e) => {- var t = e.children, n = Prt((0, E.useState)(`${FY("recharts")}-clip`), 1)[0], r = C3();+ var t = e.children, n = Prt((0, E.useState)(`${IY("recharts")}-clip`), 1)[0], r = w3();if (r == null) return null;var i = r.x, a = r.y, o = r.width, s = r.height;return /*#__PURE__*/ E.createElement(Brt.Provider, { value: n }, /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement("clipPath", { id: n }, /*#__PURE__*/ E.createElement("rect", {@@ -99929,27 +99938,27 @@ function Jrt(e, t) {}return (t === "string" ? String : Number)(e);}-function G3() {- return G3 = Object.assign ? Object.assign.bind() : function(e) {+function K3() {+ return K3 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, G3.apply(null, arguments);+ }, K3.apply(null, arguments);}var Yrt = (e, t) => {var n;if (/*#__PURE__*/ E.isValidElement(e)) n = /*#__PURE__*/ E.cloneElement(e, t);else if (typeof e == "function") n = e(t);else {- if (!rQ(t.x1) || !rQ(t.y1) || !rQ(t.x2) || !rQ(t.y2)) return null;- n = /*#__PURE__*/ E.createElement("line", G3({}, t, { className: "recharts-reference-line-line" }));+ if (!iQ(t.x1) || !iQ(t.y1) || !iQ(t.x2) || !iQ(t.y2)) return null;+ n = /*#__PURE__*/ E.createElement("line", K3({}, t, { className: "recharts-reference-line-line" }));}return n;}, Xrt = (e, t, n, r, i, a) => {var o = a.x, s = a.width, c = i.map(e, { position: n });- if (!rQ(c) || t === "discard" && !i.isInRange(c)) return null;+ if (!iQ(c) || t === "discard" && !i.isInRange(c)) return null;var l = [{x: o + s,y: c@@ -99960,7 +99969,7 @@ var Yrt = (e, t) => {return r === "left" ? l.reverse() : l;}, Zrt = (e, t, n, r, i, a) => {var o = a.y, s = a.height, c = i.map(e, { position: n });- if (!rQ(c) || t === "discard" && !i.isInRange(c)) return null;+ if (!iQ(c) || t === "discard" && !i.isInRange(c)) return null;var l = [{x: c,y: o + s@@ -99979,26 +99988,26 @@ var Yrt = (e, t) => {})];return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;}, $rt = (e, t, n, r, i, a, o) => {- var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = PY(s);- return PY(c) ? Xrt(c, u, r, a, t, n) : d ? Zrt(s, u, r, i, e, n) : l != null && l.length === 2 ? Qrt(l, u, r, new Urt({+ var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = FY(s);+ return FY(c) ? Xrt(c, u, r, a, t, n) : d ? Zrt(s, u, r, i, e, n) : l != null && l.length === 2 ? Qrt(l, u, r, new Urt({x: e,y: t})) : null;};function eit(e) {- var t = IX();+ var t = LX();return (0, E.useEffect)(() => (t(jrt(e)), () => {t(Mrt(e));})), null;}function tit(e) {- var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = xQ(), s = Hrt(), c = RX((e) => K0(e, t)), l = RX((e) => J0(e, n)), u = RX((e) => A2(e, "xAxis", t, o)), d = RX((e) => A2(e, "yAxis", n, o)), f = kQ();+ var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = SQ(), s = Hrt(), c = zX((e) => q0(e, t)), l = zX((e) => Y0(e, n)), u = zX((e) => j2(e, "xAxis", t, o)), d = zX((e) => j2(e, "yAxis", n, o)), f = AQ();if (!s || !f || c == null || l == null || u == null || d == null) return null;var p = $rt(u, d, f, e.position, c.orientation, l.orientation, e);if (!p) return null;var m = p[0], h = p[1];if (m == null || h == null) return null;- var g = m.x, _ = m.y, v = h.x, y = h.y, b = Grt(Grt({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, vY(e)), {}, {+ var g = m.x, _ = m.y, v = h.x, y = h.y, b = Grt(Grt({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, yY(e)), {}, {x1: g,y1: _,x2: v,@@ -100009,7 +100018,7 @@ function tit(e) {x2: v,y2: y});- return /*#__PURE__*/ E.createElement(c4, { zIndex: e.zIndex }, /*#__PURE__*/ E.createElement(SY, { className: Vv("recharts-reference-line", i) }, Yrt(r, b), /*#__PURE__*/ E.createElement(f7e, G3({}, x, {+ return /*#__PURE__*/ E.createElement(l4, { zIndex: e.zIndex }, /*#__PURE__*/ E.createElement(CY, { className: Vv("recharts-reference-line", i) }, Yrt(r, b), /*#__PURE__*/ E.createElement(f7e, K3({}, x, {lowerWidth: x.width,upperWidth: x.width}), /*#__PURE__*/ E.createElement(w7e, { label: e.label }), e.children)));@@ -100024,10 +100033,10 @@ var nit = {fillOpacity: 1,strokeWidth: 1,position: "middle",- zIndex: O$.line+ zIndex: k$.line};function rit(e) {- var t = vX(e, nit);+ var t = yX(e, nit);return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(eit, {yAxisId: t.yAxisId,xAxisId: t.xAxisId,@@ -100051,9 +100060,9 @@ function ait(e) {//#endregion//#region node_modules/es-toolkit/dist/predicate/isEqualWith.mjsfunction oit(e, t, n) {- return K3(e, t, void 0, void 0, void 0, void 0, n);+ return q3(e, t, void 0, void 0, void 0, void 0, n);}-function K3(e, t, n, r, i, a, o) {+function q3(e, t, n, r, i, a, o) {let s = o(e, t, n, r, i, a);if (s !== void 0) return s;if (typeof e == typeof t) switch (typeof e) {@@ -100064,18 +100073,18 @@ function K3(e, t, n, r, i, a, o) {case "undefined": return e === t;case "number": return e === t || Object.is(e, t);case "function": return e === t;- case "object": return q3(e, t, a, o);+ case "object": return J3(e, t, a, o);}- return q3(e, t, a, o);+ return J3(e, t, a, o);}-function q3(e, t, n, r) {+function J3(e, t, n, r) {if (Object.is(e, t)) return !0;- let i = wX(e), a = wX(t);- if (i === "[object Arguments]" && (i = OX), a === "[object Arguments]" && (a = OX), i !== a) return !1;+ let i = TX(e), a = TX(t);+ if (i === "[object Arguments]" && (i = kX), a === "[object Arguments]" && (a = kX), i !== a) return !1;switch (i) {- case TX: return e.toString() === t.toString();- case EX: return MX(e.valueOf(), t.valueOf());- case DX:+ case EX: return e.toString() === t.toString();+ case DX: return NX(e.valueOf(), t.valueOf());+ case OX:case JUe:case qUe: return Object.is(e.valueOf(), t.valueOf());case GUe: return e.source === t.source && e.flags === t.flags;@@ -100089,13 +100098,13 @@ function q3(e, t, n, r) {switch (i) {case YUe:if (e.size !== t.size) return !1;- for (let [i, a] of e.entries()) if (!t.has(i) || !K3(a, t.get(i), i, e, t, n, r)) return !1;+ for (let [i, a] of e.entries()) if (!t.has(i) || !q3(a, t.get(i), i, e, t, n, r)) return !1;return !0;case XUe: {if (e.size !== t.size) return !1;let i = Array.from(e.values()), a = Array.from(t.values());for (let o = 0; o < i.length; o++) {- let s = i[o], c = a.findIndex((i) => K3(s, i, void 0, e, t, n, r));+ let s = i[o], c = a.findIndex((i) => q3(s, i, void 0, e, t, n, r));if (c === -1) return !1;a.splice(c, 1);}@@ -100113,21 +100122,21 @@ function q3(e, t, n, r) {case uWe:case dWe:case fWe:- if (kX(e) !== kX(t) || e.length !== t.length) return !1;- for (let i = 0; i < e.length; i++) if (!K3(e[i], t[i], i, e, t, n, r)) return !1;+ if (AX(e) !== AX(t) || e.length !== t.length) return !1;+ for (let i = 0; i < e.length; i++) if (!q3(e[i], t[i], i, e, t, n, r)) return !1;return !0;- case $Ue: return e.byteLength === t.byteLength && q3(new Uint8Array(e), new Uint8Array(t), n, r);- case tWe: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : q3(new Uint8Array(e), new Uint8Array(t), n, r);+ case $Ue: return e.byteLength === t.byteLength && J3(new Uint8Array(e), new Uint8Array(t), n, r);+ case tWe: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : J3(new Uint8Array(e), new Uint8Array(t), n, r);case eWe: return e.name === t.name && e.message === t.message;- case OX: {- if (!(q3(e.constructor, t.constructor, n, r) || ait(e) && ait(t))) return !1;- let i = [...Object.keys(e), ...CX(e)], a = [...Object.keys(t), ...CX(t)];+ case kX: {+ if (!(J3(e.constructor, t.constructor, n, r) || ait(e) && ait(t))) return !1;+ let i = [...Object.keys(e), ...wX(e)], a = [...Object.keys(t), ...wX(t)];if (i.length !== a.length) return !1;for (let a = 0; a < i.length; a++) {let o = i[a], s = e[o];if (!Object.hasOwn(t, o)) return !1;let c = t[o];- if (!K3(s, c, o, e, t, n, r)) return !1;+ if (!q3(s, c, o, e, t, n, r)) return !1;}return !0;}@@ -100171,7 +100180,7 @@ function uit(e, t, n) {end: r ? i : a};}-function J3(e, t, n, r, i) {+function Y3(e, t, n, r, i) {if (e * t < e * r || e * t > e * i) return !1;var a = n();return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;@@ -100185,7 +100194,7 @@ function fit(e, t, n, r, i) {for (var a = (r || []).slice(), o = t.start, s = t.end, c = 0, l = 1, u = o, d = function() {var t = r?.[c];if (t === void 0) return { v: cit(r, l) };- var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || J3(e, p, f, u, s);+ var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || Y3(e, p, f, u, s);m || (c = 0, u = o, l += 1), m && (u = p + e * (f() / 2 + i), c += l);}, f; l <= a.length;) if (f = d(), f) return f.v;return [];@@ -100197,7 +100206,7 @@ function pit(e, t, n, r, i) {for (var l = (a - 1) % c, u = o, d = !0, f = function() {var t = r[m];if (t == null) return 0;- var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || J3(e, f, c, u, s);+ var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || Y3(e, f, c, u, s);if (!p) return d = !1, 1;p && (u = f + e * (c() / 2 + i));}, p, m = l; m < a && (p = f(), p === 0 || p !== 1); m += c);@@ -100223,7 +100232,7 @@ function mit(e, t) {}return n;}-function Y3(e) {+function X3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? mit(Object(n), !0).forEach(function(t) {@@ -100263,9 +100272,9 @@ function vit(e, t, n, r, i) {var l = r, u, d = () => (u === void 0 && (u = n(r, t)), u);if (t === o - 1) {var f = e * (l.coordinate + e * d() / 2 - c);- a[t] = l = Y3(Y3({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });- } else a[t] = l = Y3(Y3({}, l), {}, { tickCoord: l.coordinate });- l.tickCoord != null && J3(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = Y3(Y3({}, l), {}, { isShow: !0 }));+ a[t] = l = X3(X3({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });+ } else a[t] = l = X3(X3({}, l), {}, { tickCoord: l.coordinate });+ l.tickCoord != null && Y3(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = X3(X3({}, l), {}, { isShow: !0 }));}, u = o - 1; u >= 0; u--) if (l(u)) continue;return a;}@@ -100275,7 +100284,7 @@ function yit(e, t, n, r, i, a) {var u = r[s - 1];if (u != null) {var d = n(u, s - 1), f = e * (u.coordinate + e * d / 2 - l);- o[s - 1] = u = Y3(Y3({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && J3(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = Y3(Y3({}, u), {}, { isShow: !0 }));+ o[s - 1] = u = X3(X3({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && Y3(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = X3(X3({}, u), {}, { isShow: !0 }));}}for (var p = a ? s - 1 : s, m = function(t) {@@ -100284,17 +100293,17 @@ function yit(e, t, n, r, i, a) {var a = r, s, u = () => (s === void 0 && (s = n(r, t)), s);if (t === 0) {var d = e * (a.coordinate - e * u() / 2 - c);- o[t] = a = Y3(Y3({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });- } else o[t] = a = Y3(Y3({}, a), {}, { tickCoord: a.coordinate });- a.tickCoord != null && J3(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = Y3(Y3({}, a), {}, { isShow: !0 }));+ o[t] = a = X3(X3({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });+ } else o[t] = a = X3(X3({}, a), {}, { tickCoord: a.coordinate });+ a.tickCoord != null && Y3(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = X3(X3({}, a), {}, { isShow: !0 }));}, h = 0; h < p; h++) if (m(h)) continue;return o;}-function X3(e, t, n) {+function Z3(e, t, n) {var r = e.tick, i = e.ticks, a = e.viewBox, o = e.minTickGap, s = e.orientation, c = e.interval, l = e.tickFormatter, u = e.unit, d = e.angle;if (!i || !i.length || !r) return [];- if (NY(c) || KQ.isSsr) return dit(i, NY(c) ? c : 0) ?? [];- var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? _4(u, {+ if (PY(c) || qQ.isSsr) return dit(i, PY(c) ? c : 0) ?? [];+ var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? v4(u, {fontSize: t,letterSpacing: n}) : {@@ -100302,14 +100311,14 @@ function X3(e, t, n) {height: 0}, h = (e, r) => {var i = typeof l == "function" ? l(e.value, r) : e.value;- return p === "width" ? lit(_4(i, {+ return p === "width" ? lit(v4(i, {fontSize: t,letterSpacing: n- }), m, d) : _4(i, {+ }), m, d) : v4(i, {fontSize: t,letterSpacing: n})[p];- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? AY(_.coordinate - g.coordinate) : 1, y = uit(a, v, p);+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? jY(_.coordinate - g.coordinate) : 1, y = uit(a, v, p);return c === "equidistantPreserveStart" ? fit(v, y, h, i, o) : c === "equidistantPreserveEnd" ? pit(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? yit(v, y, h, i, o, c === "preserveStartEnd") : vit(v, y, h, i, o), f.filter((e) => e.isShow));}//#endregion@@ -100340,7 +100349,7 @@ var bit = (e) => {return Math.round(f);}return 0;-}, Sit = HZ({+}, Sit = UZ({name: "renderedTicks",initialState: {xAxis: {},@@ -100349,7 +100358,7 @@ var bit = (e) => {reducers: {setRenderedTicks: (e, t) => {var n = t.payload, r = n.axisType, i = n.axisId, a = n.ticks;- e[r][i] = RZ(a);+ e[r][i] = zZ(a);},removeRenderedTicks: (e, t) => {var n = t.payload, r = n.axisType, i = n.axisId;@@ -100426,14 +100435,14 @@ function Fit(e, t) {}return n;}-function Z3() {- return Z3 = Object.assign ? Object.assign.bind() : function(e) {+function Q3() {+ return Q3 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, Z3.apply(null, arguments);+ }, Q3.apply(null, arguments);}function Iit(e, t) {var n = Object.keys(e);@@ -100445,7 +100454,7 @@ function Iit(e, t) {}return n;}-function Q3(e) {+function $3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? Iit(Object(n), !0).forEach(function(t) {@@ -100478,7 +100487,7 @@ function zit(e, t) {}return (t === "string" ? String : Number)(e);}-var $3 = {+var e6 = {x: 0,y: 0,width: 0,@@ -100500,15 +100509,15 @@ var $3 = {tickSize: 6,tickMargin: 2,interval: "preserveEnd",- zIndex: O$.axis+ zIndex: k$.axis};function Bit(e) {var t = e.x, n = e.y, r = e.width, i = e.height, a = e.orientation, o = e.mirror, s = e.axisLine, c = e.otherSvgProps;if (!s) return null;- var l = Q3(Q3(Q3({}, c), gY(s)), {}, { fill: "none" });+ var l = $3($3($3({}, c), _Y(s)), {}, { fill: "none" });if (a === "top" || a === "bottom") {var u = +(a === "top" && !o || a === "bottom" && o);- l = Q3(Q3({}, l), {}, {+ l = $3($3({}, l), {}, {x1: t,y1: n + u * i,x2: t + r,@@ -100516,17 +100525,17 @@ function Bit(e) {});} else {var d = +(a === "left" && !o || a === "right" && o);- l = Q3(Q3({}, l), {}, {+ l = $3($3({}, l), {}, {x1: t + d * r,y1: n,x2: t + d * r,y2: n + i});}- return /*#__PURE__*/ E.createElement("line", Z3({}, l, { className: Vv("recharts-cartesian-axis-line", DY(s, "className")) }));+ return /*#__PURE__*/ E.createElement("line", Q3({}, l, { className: Vv("recharts-cartesian-axis-line", OY(s, "className")) }));}function Vit(e, t, n, r, i, a, o, s, c) {- var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = NY(e.tickCoord) ? e.tickCoord : e.coordinate;+ var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = PY(e.tickCoord) ? e.tickCoord : e.coordinate;switch (a) {case "top":l = u = e.coordinate, f = n + +!s * i, d = f - h * g, m = d - h * c, p = _;@@ -100569,16 +100578,16 @@ function Uit(e, t) {}function Wit(e) {var t = e.option, n = e.tickProps, r = e.value, i, a = Vv(n.className, "recharts-cartesian-axis-tick-value");- if (/*#__PURE__*/ E.isValidElement(t)) i = /*#__PURE__*/ E.cloneElement(t, Q3(Q3({}, n), {}, { className: a }));- else if (typeof t == "function") i = t(Q3(Q3({}, n), {}, { className: a }));+ if (/*#__PURE__*/ E.isValidElement(t)) i = /*#__PURE__*/ E.cloneElement(t, $3($3({}, n), {}, { className: a }));+ else if (typeof t == "function") i = t($3($3({}, n), {}, { className: a }));else {var o = "recharts-cartesian-axis-tick-value";- typeof t != "boolean" && (o = Vv(o, J4(t))), i = /*#__PURE__*/ E.createElement(C4, Z3({}, n, { className: o }), r);+ typeof t != "boolean" && (o = Vv(o, Y4(t))), i = /*#__PURE__*/ E.createElement(w4, Q3({}, n, { className: o }), r);}return i;}function Git(e) {- var t = e.ticks, n = e.axisType, r = e.axisId, i = IX(), a = (0, E.useRef)(null);+ var t = e.ticks, n = e.axisType, r = e.axisId, i = LX(), a = (0, E.useRef)(null);return (0, E.useEffect)(() => {if (r != null && n != null) {var e = t.map((e) => ({@@ -100602,7 +100611,7 @@ function Git(e) {t,r,n- ]), (0, E.useEffect)(() => r == null || n == null ? VY : () => {+ ]), (0, E.useEffect)(() => r == null || n == null ? HY : () => {i(Tit({axisId: r,axisType: n@@ -100614,16 +100623,16 @@ function Git(e) {]), null;}var Kit = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, b = e.letterSpacing, x = e.getTicksConfig, S = e.events, C = e.axisType, w = e.axisId, T = X3(Q3(Q3({}, x), {}, { ticks: r }), y, b), D = gY(x), O = _Y(i), k = K5e(D.textAnchor) ? D.textAnchor : Hit(d, f), A = Uit(d, f), j = {};+ var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, b = e.letterSpacing, x = e.getTicksConfig, S = e.events, C = e.axisType, w = e.axisId, T = Z3($3($3({}, x), {}, { ticks: r }), y, b), D = _Y(x), O = vY(i), k = K5e(D.textAnchor) ? D.textAnchor : Hit(d, f), A = Uit(d, f), j = {};typeof a == "object" && (j = a);- var M = Q3(Q3({}, D), {}, { fill: "none" }, j), N = T.map((e) => Q3({ entry: e }, Vit(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {+ var M = $3($3({}, D), {}, { fill: "none" }, j), N = T.map((e) => $3({ entry: e }, Vit(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {var t = e.entry, n = e.line;- return /*#__PURE__*/ E.createElement(SY, {+ return /*#__PURE__*/ E.createElement(CY, {className: "recharts-cartesian-axis-tick",key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`- }, a && /*#__PURE__*/ E.createElement("line", Z3({}, M, n, { className: Vv("recharts-cartesian-axis-tick-line", DY(a, "className")) })));+ }, a && /*#__PURE__*/ E.createElement("line", Q3({}, M, n, { className: Vv("recharts-cartesian-axis-tick-line", OY(a, "className")) })));}), F = N.map((e, t) => {- var n = e.entry, r = e.tick, a = Q3(Q3({}, Q3(Q3(Q3(Q3({ verticalAnchor: A }, D), {}, {+ var n = e.entry, r = e.tick, a = $3($3({}, $3($3($3($3({ verticalAnchor: A }, D), {}, {textAnchor: k,stroke: "none",fill: o@@ -100634,10 +100643,10 @@ var Kit = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {tickFormatter: s,padding: l}, u), {}, { angle: u?.angle ?? D.angle ?? 0 })), O);- return /*#__PURE__*/ E.createElement(SY, Z3({+ return /*#__PURE__*/ E.createElement(CY, Q3({className: "recharts-cartesian-axis-tick-label",key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`- }, _X(S, n, t)), i && /*#__PURE__*/ E.createElement(Wit, {+ }, vX(S, n, t)), i && /*#__PURE__*/ E.createElement(Wit, {option: i,tickProps: a,value: `${typeof s == "function" ? s(n.value, t) : n.value}${c || ""}`@@ -100647,7 +100656,7 @@ var Kit = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {ticks: T,axisId: w,axisType: C- }), F.length > 0 && /*#__PURE__*/ E.createElement(c4, { zIndex: O$.label }, /*#__PURE__*/ E.createElement("g", {+ }), F.length > 0 && /*#__PURE__*/ E.createElement(l4, { zIndex: k$.label }, /*#__PURE__*/ E.createElement("g", {className: `recharts-cartesian-axis-tick-labels recharts-${C}-tick-labels`,ref: t}, F)), P.length > 0 && /*#__PURE__*/ E.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${C}-tick-lines` }, P));@@ -100680,7 +100689,7 @@ var Kit = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {}}}, [f, h]);- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ E.createElement(c4, { zIndex: e.zIndex }, /*#__PURE__*/ E.createElement(SY, { className: Vv("recharts-cartesian-axis", a) }, /*#__PURE__*/ E.createElement(Bit, {+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ E.createElement(l4, { zIndex: e.zIndex }, /*#__PURE__*/ E.createElement(CY, { className: Vv("recharts-cartesian-axis", a) }, /*#__PURE__*/ E.createElement(Bit, {x: e.x,y: e.y,width: r,@@ -100688,7 +100697,7 @@ var Kit = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {orientation: e.orientation,mirror: e.mirror,axisLine: n,- otherSvgProps: gY(e)+ otherSvgProps: _Y(e)}), /*#__PURE__*/ E.createElement(Kit, {ref: v,axisType: c,@@ -100724,11 +100733,11 @@ var Kit = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {label: e.label,labelRef: e.labelRef}), e.children)));-}), e6 = /*#__PURE__*/ E.forwardRef((e, t) => {- var n = vX(e, $3);- return /*#__PURE__*/ E.createElement(qit, Z3({}, n, { ref: t }));+}), t6 = /*#__PURE__*/ E.forwardRef((e, t) => {+ var n = yX(e, e6);+ return /*#__PURE__*/ E.createElement(qit, Q3({}, n, { ref: t }));});-e6.displayName = "CartesianAxis";+t6.displayName = "CartesianAxis";//#endregion//#region node_modules/recharts/es6/theme/RechartsThemeContext.jsvar Jit = /*#__PURE__*/ (0, E.createContext)({ grid: {@@ -100753,7 +100762,7 @@ function eat(e, t) {}return n;}-function t6(e) {+function n6(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? eat(Object(n), !0).forEach(function(t) {@@ -100786,16 +100795,16 @@ function rat(e, t) {}return (t === "string" ? String : Number)(e);}-function n6() {- return n6 = Object.assign ? Object.assign.bind() : function(e) {+function r6() {+ return r6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, n6.apply(null, arguments);+ }, r6.apply(null, arguments);}-function r6(e, t) {+function i6(e, t) {if (e == null) return {};var n, r, i = iat(e, t);if (Object.getOwnPropertySymbols) {@@ -100834,10 +100843,10 @@ function oat(e) {if (/*#__PURE__*/ E.isValidElement(t)) r = /*#__PURE__*/ E.cloneElement(t, n);else if (typeof t == "function") r = t(n);else {- var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = gY(r6(n, Xit)) ?? {};+ var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = _Y(i6(n, Xit)) ?? {};l.offset;- var u = r6(l, Zit), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;- r = /*#__PURE__*/ E.createElement("line", n6({}, u, {+ var u = i6(l, Zit), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;+ r = /*#__PURE__*/ E.createElement("line", r6({}, u, {strokeDasharray: d,x1: i,y1: a,@@ -100853,8 +100862,8 @@ function sat(e) {var t = e.x, n = e.width, r = e.horizontal, i = r === void 0 || r, a = e.horizontalPoints;if (!i || !a || !a.length) return null;e.xAxisId, e.yAxisId;- var o = r6(e, Qit), s = a.map((e, r) => {- var a = t6(t6({}, o), {}, {+ var o = i6(e, Qit), s = a.map((e, r) => {+ var a = n6(n6({}, o), {}, {x1: t,y1: e,x2: t + n,@@ -100874,8 +100883,8 @@ function cat(e) {var t = e.y, n = e.height, r = e.vertical, i = r === void 0 || r, a = e.verticalPoints;if (!i || !a || !a.length) return null;e.xAxisId, e.yAxisId;- var o = r6(e, $it), s = a.map((e, r) => {- var a = t6(t6({}, o), {}, {+ var o = i6(e, $it), s = a.map((e, r) => {+ var a = n6(n6({}, o), {}, {x1: e,y1: t,x2: e,@@ -100939,7 +100948,7 @@ function uat(e) {}var dat = (e, t) => {var n = e.xAxis, r = e.width, i = e.height, a = e.offset;- return lqe(X3(t6(t6(t6({}, $3), n), {}, {+ return lqe(Z3(n6(n6(n6({}, e6), n), {}, {ticks: uqe(n, !0),viewBox: {x: 0,@@ -100950,7 +100959,7 @@ var dat = (e, t) => {})), a.left, a.left + a.width, t);}, fat = (e, t) => {var n = e.yAxis, r = e.width, i = e.height, a = e.offset;- return lqe(X3(t6(t6(t6({}, $3), n), {}, {+ return lqe(Z3(n6(n6(n6({}, e6), n), {}, {ticks: uqe(n, !0),viewBox: {x: 0,@@ -100969,41 +100978,41 @@ var dat = (e, t) => {xAxisId: 0,yAxisId: 0,syncWithTicks: !1,- zIndex: O$.grid+ zIndex: k$.grid};function mat(e) {- var t = AQ(), n = jQ(), r = dJe(), i = t6(t6({}, vX(e, pat)), {}, {- x: NY(e.x) ? e.x : r.left,- y: NY(e.y) ? e.y : r.top,- width: NY(e.width) ? e.width : r.width,- height: NY(e.height) ? e.height : r.height- }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = xQ(), h = RX((e) => t3e(e, "xAxis", a, m)), g = RX((e) => t3e(e, "yAxis", o, m)), _ = Yit(), v = {+ var t = jQ(), n = MQ(), r = dJe(), i = n6(n6({}, yX(e, pat)), {}, {+ x: PY(e.x) ? e.x : r.left,+ y: PY(e.y) ? e.y : r.top,+ width: PY(e.width) ? e.width : r.width,+ height: PY(e.height) ? e.height : r.height+ }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = SQ(), h = zX((e) => t3e(e, "xAxis", a, m)), g = zX((e) => t3e(e, "yAxis", o, m)), _ = Yit(), v = {stroke: i.stroke ?? _.grid.stroke,strokeWidth: i.strokeWidth ?? _.grid.strokeWidth,strokeOpacity: i.strokeOpacity ?? _.grid.strokeOpacity,strokeDasharray: i.strokeDasharray ?? _.grid.strokeDasharray};- if (!iQ(l) || !iQ(u) || !NY(s) || !NY(c)) return null;+ if (!aQ(l) || !aQ(u) || !PY(s) || !PY(c)) return null;var y = i.verticalCoordinatesGenerator || dat, b = i.horizontalCoordinatesGenerator || fat, x = i.horizontalPoints, S = i.verticalPoints;if ((!x || !x.length) && typeof b == "function") {var C = f && f.length, w = b({- yAxis: g ? t6(t6({}, g), {}, { ticks: C ? f : g.ticks }) : void 0,+ yAxis: g ? n6(n6({}, g), {}, { ticks: C ? f : g.ticks }) : void 0,width: t ?? l,height: n ?? u,offset: r}, C ? !0 : d);- wQ(Array.isArray(w), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (x = w);+ TQ(Array.isArray(w), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (x = w);}if ((!S || !S.length) && typeof y == "function") {var T = p && p.length, D = y({- xAxis: h ? t6(t6({}, h), {}, { ticks: T ? p : h.ticks }) : void 0,+ xAxis: h ? n6(n6({}, h), {}, { ticks: T ? p : h.ticks }) : void 0,width: t ?? l,height: n ?? u,offset: r}, T ? !0 : d);- wQ(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (S = D);+ TQ(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (S = D);}- return /*#__PURE__*/ E.createElement(c4, { zIndex: i.zIndex }, /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ E.createElement(aat, {+ return /*#__PURE__*/ E.createElement(l4, { zIndex: i.zIndex }, /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ E.createElement(aat, {fill: i.fill ?? _.grid.fill,fillOpacity: i.fillOpacity ?? _.grid.fillOpacity,x: i.x,@@ -101011,12 +101020,12 @@ function mat(e) {width: i.width,height: i.height,ry: i.ry- }), /*#__PURE__*/ E.createElement(lat, n6({}, i, { horizontalPoints: x })), /*#__PURE__*/ E.createElement(uat, n6({}, i, { verticalPoints: S })), /*#__PURE__*/ E.createElement(sat, n6({}, i, v, {+ }), /*#__PURE__*/ E.createElement(lat, r6({}, i, { horizontalPoints: x })), /*#__PURE__*/ E.createElement(uat, r6({}, i, { verticalPoints: S })), /*#__PURE__*/ E.createElement(sat, r6({}, i, v, {offset: r,horizontalPoints: x,xAxis: h,yAxis: g- })), /*#__PURE__*/ E.createElement(cat, n6({}, i, v, {+ })), /*#__PURE__*/ E.createElement(cat, r6({}, i, v, {offset: r,verticalPoints: S,xAxis: h,@@ -101034,14 +101043,14 @@ var hat = ["strokeDasharray","connectNulls"];-function i6() {- return i6 = Object.assign ? Object.assign.bind() : function(e) {+function a6() {+ return a6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, i6.apply(null, arguments);+ }, a6.apply(null, arguments);}function gat(e, t) {if (e == null) return {};@@ -101105,7 +101114,7 @@ function wat(e) {var s = i.pathRef;o = Cat(n, vat(s?.current ?? null), t);} else n != null && (o = String(n));- return /*#__PURE__*/ E.createElement(QQ, i6({}, i, {+ return /*#__PURE__*/ E.createElement($Q, a6({}, i, {connectNulls: a,strokeDasharray: o}));@@ -101116,13 +101125,13 @@ function Tat(e) {var t = (0, E.useRef)(0), n = (0, E.useRef)(0), r = (0, E.useRef)(!1), i = (0, E.useRef)(e);return i.current !== e && (t.current = n.current, i.current = e), (0, E.useCallback)((e, i) => {if (r.current) return null;- var a = Math.min(OY(t.current + e * i), i);+ var a = Math.min(kY(t.current + e * i), i);return e > 0 && i > 0 && (n.current = Math.max(n.current, a), a >= i) ? (r.current = !0, null) : a;}, []);}//#endregion//#region node_modules/recharts/es6/state/errorBarSlice.js-var Eat = HZ({+var Eat = UZ({name: "errorBars",initialState: {},reducers: {@@ -101139,8 +101148,8 @@ var Eat = HZ({e[r] && (e[r] = e[r].filter((e) => e.dataKey !== i.dataKey || e.direction !== i.direction));}}-}), a6 = Eat.actions;-a6.addErrorBar, a6.replaceErrorBar, a6.removeErrorBar;+}), o6 = Eat.actions;+o6.addErrorBar, o6.replaceErrorBar, o6.removeErrorBar;var Dat = Eat.reducer, Oat = ["children"];function kat(e, t) {if (e == null) return {};@@ -101177,16 +101186,16 @@ function Mat(e) {}//#endregion//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js-function o6(e, t) {- var n = RX((t) => K0(t, e)), r = RX((e) => J0(e, t)), i = n?.allowDataOverflow ?? G0.allowDataOverflow, a = r?.allowDataOverflow ?? q0.allowDataOverflow;+function s6(e, t) {+ var n = zX((t) => q0(t, e)), r = zX((e) => Y0(e, t)), i = n?.allowDataOverflow ?? K0.allowDataOverflow, a = r?.allowDataOverflow ?? J0.allowDataOverflow;return {needClip: i || a,needClipX: i,needClipY: a};}-function s6(e) {- var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = C3(), a = o6(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = RX((e) => L4e(e, t, !1)), u = RX((e) => R4e(e, n, !1));+function c6(e) {+ var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = w3(), a = s6(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = zX((e) => L4e(e, t, !1)), u = zX((e) => R4e(e, n, !1));if (!c || !i) return null;var d = i.x, f = i.y, p = i.width, m = i.height, h = o && l ? Math.min(l[0], l[1]) : d - p / 2, g = s && u ? Math.min(u[0], u[1]) : f - m / 2, _ = o && l ? Math.abs(l[1] - l[0]) : p * 2, v = s && u ? Math.abs(u[1] - u[0]) : m * 2;return /*#__PURE__*/ E.createElement("clipPath", { id: `clipPath-${r}` }, /*#__PURE__*/ E.createElement("rect", {@@ -101198,25 +101207,25 @@ function s6(e) {}//#endregion//#region node_modules/recharts/es6/state/selectors/lineSelectors.js-var Nat = (e, t, n, r) => F2(e, "xAxis", t, r), Pat = (e, t, n, r) => P2(e, "xAxis", t, r), Fat = (e, t, n, r) => F2(e, "yAxis", n, r), Iat = (e, t, n, r) => P2(e, "yAxis", n, r), Lat = X([- MQ,+var Nat = (e, t, n, r) => I2(e, "xAxis", t, r), Pat = (e, t, n, r) => F2(e, "xAxis", t, r), Fat = (e, t, n, r) => I2(e, "yAxis", n, r), Iat = (e, t, n, r) => F2(e, "yAxis", n, r), Lat = X([+ NQ,Nat,Fat,Pat,Iat-], (e, t, n, r, i) => sQ(e, "xAxis") ? dQ(t, r, !1) : dQ(n, i, !1)), Rat = (e, t, n, r, i) => i;+], (e, t, n, r, i) => cQ(e, "xAxis") ? fQ(t, r, !1) : fQ(n, i, !1)), Rat = (e, t, n, r, i) => i;function zat(e) {return e.type === "line";}var Bat = X([- MQ,+ NQ,Nat,Fat,Pat,Iat,- X([$0, Rat], (e, t) => e.filter(zat).find((e) => e.id === t)),+ X([e2, Rat], (e, t) => e.filter(zat).find((e) => e.id === t)),Lat,- h$+ g$], (e, t, n, r, i, a, o, s) => {var c = s.chartData, l = s.dataStartIndex, u = s.dataEndIndex;if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {@@ -101236,7 +101245,7 @@ var Bat = X([//#endregion//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.jsfunction Vat(e) {- var t = _Y(e), n = 3, r = 2;+ var t = vY(e), n = 3, r = 2;if (t != null) {var i = t.r, a = t.strokeWidth, o = Number(i), s = Number(a);return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {@@ -101274,16 +101283,16 @@ var Hat = ["id"], Uat = ["yAxisId","id"];-function c6() {- return c6 = Object.assign ? Object.assign.bind() : function(e) {+function l6() {+ return l6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, c6.apply(null, arguments);+ }, l6.apply(null, arguments);}-function l6(e, t) {+function u6(e, t) {if (e == null) return {};var n, r, i = Gat(e, t);if (Object.getOwnPropertySymbols) {@@ -101311,7 +101320,7 @@ function Kat(e, t) {}return n;}-function u6(e) {+function d6(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? Kat(Object(n), !0).forEach(function(t) {@@ -101356,7 +101365,7 @@ function Zat(e) {for (var r of e) r.status === "matched" && r.prev.x != null && r.next.x != null && (t += r.next.x - r.prev.x, n++);return n > 0 ? t / n : 0;}-var d6 = {+var f6 = {activeDot: !0,animateNewValues: !0,animationBegin: 0,@@ -101366,28 +101375,28 @@ var d6 = {if (e == null) return [];if (t === 1) return e.flatMap((e) => e.status === "removed" ? [] : [e.next]);var n = Zat(e), r = [];- for (var i of e) if (i.status === "matched") r.push(u6(u6({}, i.next), {}, {- x: LY(i.prev.x, i.next.x, t),- y: LY(i.prev.y, i.next.y, t)+ for (var i of e) if (i.status === "matched") r.push(d6(d6({}, i.next), {}, {+ x: RY(i.prev.x, i.next.x, t),+ y: RY(i.prev.y, i.next.y, t)}));else if (i.status === "added") {if (i.next.x != null) {var a = i.next.x - n;- r.push(u6(u6({}, i.next), {}, {- x: LY(a, i.next.x, t),+ r.push(d6(d6({}, i.next), {}, {+ x: RY(a, i.next.x, t),y: i.next.y}));} else r.push(i.next);} else if (i.status === "removed" && i.prev.x != null) {var o = i.prev.x + n;- r.push(u6(u6({}, i.prev), {}, {- x: LY(i.prev.x, o, t),+ r.push(d6(d6({}, i.prev), {}, {+ x: RY(i.prev.x, o, t),y: i.prev.y}));}return r;},- animationMatchBy: l3,+ animationMatchBy: u3,connectNulls: !1,dot: !0,fill: "#fff",@@ -101400,7 +101409,7 @@ var d6 = {strokeWidth: 1,xAxisId: 0,yAxisId: 0,- zIndex: O$.line,+ zIndex: k$.line,type: "linear"}, Qat = (e) => {var t = e.dataKey, n = e.name, r = e.stroke, i = e.legendType;@@ -101409,20 +101418,20 @@ var d6 = {dataKey: t,type: i,color: r,- value: fQ(n, t),+ value: pQ(n, t),payload: e}];}, $at = /*#__PURE__*/ E.memo((e) => {var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {dataDefinedOnItem: n,- getPosition: VY,+ getPosition: HY,settings: {stroke: r,strokeWidth: i,fill: a,dataKey: t,nameKey: void 0,- name: fQ(o, t),+ name: pQ(o, t),hide: s,type: u,color: r,@@ -101431,13 +101440,13 @@ var d6 = {graphicalItemId: d}};- return /*#__PURE__*/ E.createElement(s3, { tooltipEntrySettings: f });+ return /*#__PURE__*/ E.createElement(c3, { tooltipEntrySettings: f });});function eot(e) {var t = e.clipPathId, n = e.points, r = e.props, i = r.dot, a = r.dataKey, o = r.needClip;r.id;- var s = gY(l6(r, Hat));- return /*#__PURE__*/ E.createElement(b3, {+ var s = _Y(u6(r, Hat));+ return /*#__PURE__*/ E.createElement(x3, {points: n,dot: i,className: "recharts-line-dots",@@ -101458,7 +101467,7 @@ function tot(e) {upperWidth: 0,height: 0};- return u6(u6({}, t), {}, {+ return d6(d6({}, t), {}, {value: e.value,payload: e.payload,viewBox: t,@@ -101466,10 +101475,10 @@ function tot(e) {fill: void 0});}), [r]);- return /*#__PURE__*/ E.createElement(A4, { value: t ? i : void 0 }, n);+ return /*#__PURE__*/ E.createElement(j4, { value: t ? i : void 0 }, n);}function not(e) {- var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = u6(u6({}, vY(l6(i, Uat))), {}, {+ var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = d6(d6({}, yY(u6(i, Uat))), {}, {fill: "none",className: "recharts-line-curve",clipPath: f ? `url(#clipPath-${t})` : void 0,@@ -101484,9 +101493,9 @@ function not(e) {isEntrance: i.animateNewValues ? s : !1,visibleLength: c});- return /*#__PURE__*/ E.createElement(E.Fragment, null, r?.length > 1 && /*#__PURE__*/ E.createElement(r3, {+ return /*#__PURE__*/ E.createElement(E.Fragment, null, r?.length > 1 && /*#__PURE__*/ E.createElement(i3, {option: p,- DefaultShape: d6.shape,+ DefaultShape: f6.shape,shapeProps: h}), /*#__PURE__*/ E.createElement(eot, {points: r,@@ -101495,11 +101504,11 @@ function not(e) {}));}function rot(e) {- var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = Xat(r.current), m = p3(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = Tat(a), b = (0, E.useCallback)((e) => e > 0 && p > 0, [p]);+ var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = Xat(r.current), m = m3(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = Tat(a), b = (0, E.useCallback)((e) => e > 0 && p > 0, [p]);return /*#__PURE__*/ E.createElement(tot, {points: a,showLabels: v- }, n.children, /*#__PURE__*/ E.createElement(m3, {+ }, n.children, /*#__PURE__*/ E.createElement(h3, {animationInput: a,animationIdPrefix: "recharts-line-",items: a,@@ -101526,7 +101535,7 @@ function rot(e) {isEntrance: a,visibleLength: s});- }), /*#__PURE__*/ E.createElement(M4, { label: n.label }));+ }), /*#__PURE__*/ E.createElement(N4, { label: n.label }));}function iot(e) {var t = e.clipPathId, n = e.props, r = (0, E.useRef)(null), i = (0, E.useRef)(null);@@ -101541,13 +101550,13 @@ var aot = (e, t) => ({x: e.x ?? void 0,y: e.y ?? void 0,value: e.value,- errorVal: oQ(e.payload, t)+ errorVal: sQ(e.payload, t)}), oot = class extends E.Component {render() {var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.top, c = e.left, l = e.width, u = e.height, d = e.id, f = e.needClip, p = e.zIndex;if (t) return null;- var m = Vv("recharts-line", i), h = d, g = Vat(n), _ = g.r, v = g.strokeWidth, y = n3(n), b = _ * 2 + v, x = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;- return /*#__PURE__*/ E.createElement(c4, { zIndex: p }, /*#__PURE__*/ E.createElement(SY, { className: m }, f && /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement(s6, {+ var m = Vv("recharts-line", i), h = d, g = Vat(n), _ = g.r, v = g.strokeWidth, y = r3(n), b = _ * 2 + v, x = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;+ return /*#__PURE__*/ E.createElement(l4, { zIndex: p }, /*#__PURE__*/ E.createElement(CY, { className: m }, f && /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement(c6, {clipPathId: h,xAxisId: a,yAxisId: o@@ -101565,7 +101574,7 @@ var aot = (e, t) => ({}, /*#__PURE__*/ E.createElement(iot, {props: this.props,clipPathId: h- }))), /*#__PURE__*/ E.createElement(T3, {+ }))), /*#__PURE__*/ E.createElement(E3, {activeDot: this.props.activeDot,points: r,mainColor: this.props.stroke,@@ -101575,10 +101584,10 @@ var aot = (e, t) => ({}};function sot(e) {- var t = vX(e, d6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = l6(t, Wat), _ = o6(p, m).needClip, v = C3(), y = NQ(), b = xQ(), x = RX((e) => Bat(e, p, m, b, h));+ var t = yX(e, f6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = u6(t, Wat), _ = s6(p, m).needClip, v = w3(), y = PQ(), b = SQ(), x = zX((e) => Bat(e, p, m, b, h));if (y !== "horizontal" && y !== "vertical" || x == null || v == null) return null;var S = v.height, C = v.width, w = v.x, T = v.y;- return /*#__PURE__*/ E.createElement(oot, c6({}, g, {+ return /*#__PURE__*/ E.createElement(oot, l6({}, g, {id: h,connectNulls: s,dot: c,@@ -101605,20 +101614,20 @@ function sot(e) {function cot(e) {var t = e.layout, n = e.xAxis, r = e.yAxis, i = e.xAxisTicks, a = e.yAxisTicks, o = e.dataKey, s = e.bandSize;return e.displayedData.map((e, c) => {- var l = oQ(e, o);+ var l = sQ(e, o);if (t === "horizontal") return {- x: lQ({+ x: uQ({axis: n,ticks: i,bandSize: s,entry: e,index: c}),- y: (RY(l) ? null : r.scale.map(l)) ?? null,+ y: (zY(l) ? null : r.scale.map(l)) ?? null,value: l,payload: e};- var u = RY(l) ? null : n.scale.map(l), d = lQ({+ var u = zY(l) ? null : n.scale.map(l), d = uQ({axis: r,ticks: a,bandSize: s,@@ -101634,11 +101643,11 @@ function cot(e) {}).filter(Boolean);}function lot(e) {- var t = vX(e, d6), n = xQ();- return /*#__PURE__*/ E.createElement(h3, {+ var t = yX(e, f6), n = SQ();+ return /*#__PURE__*/ E.createElement(g3, {id: t.id,type: "line"- }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(c3, { legendPayload: Qat(t) }), /*#__PURE__*/ E.createElement($at, {+ }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(l3, { legendPayload: Qat(t) }), /*#__PURE__*/ E.createElement($at, {dataKey: t.dataKey,data: t.data,stroke: t.stroke,@@ -101650,7 +101659,7 @@ function lot(e) {formatter: t.formatter,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ E.createElement(_3, {+ }), /*#__PURE__*/ E.createElement(v3, {type: "line",id: e,data: t.data,@@ -101660,35 +101669,35 @@ function lot(e) {dataKey: t.dataKey,hide: t.hide,isPanorama: n- }), /*#__PURE__*/ E.createElement(sot, c6({}, t, { id: e }))));+ }), /*#__PURE__*/ E.createElement(sot, l6({}, t, { id: e }))));}-var uot = /*#__PURE__*/ E.memo(lot, zQ);+var uot = /*#__PURE__*/ E.memo(lot, BQ);uot.displayName = "Line";//#endregion//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js-function f6(e, t) {+function p6(e, t) {return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.xAxisId ?? 0;}-function p6(e, t) {+function m6(e, t) {return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.yAxisId ?? 0;}//#endregion//#region node_modules/recharts/es6/state/selectors/areaSelectors.js-var dot = (e, t, n) => F2(e, "xAxis", f6(e, t), n), fot = (e, t, n) => P2(e, "xAxis", f6(e, t), n), pot = (e, t, n) => F2(e, "yAxis", p6(e, t), n), mot = (e, t, n) => P2(e, "yAxis", p6(e, t), n), hot = X([- MQ,+var dot = (e, t, n) => I2(e, "xAxis", p6(e, t), n), fot = (e, t, n) => F2(e, "xAxis", p6(e, t), n), pot = (e, t, n) => I2(e, "yAxis", m6(e, t), n), mot = (e, t, n) => F2(e, "yAxis", m6(e, t), n), hot = X([+ NQ,dot,pot,fot,mot-], (e, t, n, r, i) => sQ(e, "xAxis") ? dQ(t, r, !1) : dQ(n, i, !1)), m6 = X([$0, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), got = (e) => sQ(MQ(e), "xAxis") ? "yAxis" : "xAxis", _ot = (e, t) => got(e) === "yAxis" ? p6(e, t) : f6(e, t), vot = (e, t, n) => d2(e, got(e), _ot(e, t), n), yot = X([- MQ,+], (e, t, n, r, i) => cQ(e, "xAxis") ? fQ(t, r, !1) : fQ(n, i, !1)), h6 = X([e2, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), got = (e) => cQ(NQ(e), "xAxis") ? "yAxis" : "xAxis", _ot = (e, t) => got(e) === "yAxis" ? m6(e, t) : p6(e, t), vot = (e, t, n) => f2(e, got(e), _ot(e, t), n), yot = X([+ NQ,dot,pot,fot,mot,- X([m6, vot], (e, t) => {+ X([h6, vot], (e, t) => {if (e != null && t != null) {- var n = e.stackId, r = V$(e);+ var n = e.stackId, r = H$(e);if (n != null && r != null) {var i = (t[n]?.stackedData)?.find((e) => e.key === r);if (i != null) return i.map((e) => [e[0], e[1]]);@@ -101697,12 +101706,12 @@ var dot = (e, t, n) => F2(e, "xAxis", f6(e, t), n), fot = (e, t, n) => P2(e, "xA}),QZe,hot,- m6,+ h6,EQe,- X([m6, vot], (e, t) => {+ X([h6, vot], (e, t) => {if (e != null && e.stackId != null && t != null) {var n = t[e.stackId];- if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(BY);+ if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(VY);}})], (e, t, n, r, i, a, o, s, c, l, u) => {@@ -101733,14 +101742,14 @@ var dot = (e, t, n) => F2(e, "xAxis", f6(e, t), n), fot = (e, t, n) => P2(e, "xA"stroke","connectNulls"], xot = ["id", "baseLine"];-function h6() {- return h6 = Object.assign ? Object.assign.bind() : function(e) {+function g6() {+ return g6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, h6.apply(null, arguments);+ }, g6.apply(null, arguments);}function Sot(e, t) {if (e == null) return {};@@ -101762,9 +101771,9 @@ function Cot(e, t) {}function wot(e) {var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.x, o = r[r.length - 1]?.x;- if (!rQ(a) || !rQ(o)) return null;+ if (!iQ(a) || !iQ(o)) return null;var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));- return NY(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), NY(c) ? /*#__PURE__*/ E.createElement("rect", {+ return PY(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), PY(c) ? /*#__PURE__*/ E.createElement("rect", {x: a < o ? a : a - s,y: 0,width: s,@@ -101773,9 +101782,9 @@ function wot(e) {}function Tot(e) {var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.y, o = r[r.length - 1]?.y;- if (!rQ(a) || !rQ(o)) return null;+ if (!iQ(a) || !iQ(o)) return null;var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));- return NY(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), NY(c) ? /*#__PURE__*/ E.createElement("rect", {+ return PY(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), PY(c) ? /*#__PURE__*/ E.createElement("rect", {x: 0,y: a < o ? a : a - s,width: c + (i ? parseInt(`${i}`, 10) : 1),@@ -101797,14 +101806,14 @@ function Eot(e) {});}function Dot(e) {- var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = Sot(e, bot), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = Jet(), h = d.id, g = d.baseLine, _ = gY(Sot(d, xot)), v = /*#__PURE__*/ E.createElement(QQ, h6({}, d, {+ var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = Sot(e, bot), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = Jet(), h = d.id, g = d.baseLine, _ = _Y(Sot(d, xot)), v = /*#__PURE__*/ E.createElement($Q, g6({}, d, {id: h,baseLine: g,connectNulls: p,stroke: "none",className: "recharts-area-area",layout: f- })), y = l !== "none" && /*#__PURE__*/ E.createElement(QQ, h6({}, _, {+ })), y = l !== "none" && /*#__PURE__*/ E.createElement($Q, g6({}, _, {className: "recharts-area-curve",layout: f,type: d.type,@@ -101812,7 +101821,7 @@ function Dot(e) {fill: "none",stroke: l,points: d.points- })), b = l !== "none" && c && Array.isArray(g) && /*#__PURE__*/ E.createElement(QQ, h6({}, _, {+ })), b = l !== "none" && c && Array.isArray(g) && /*#__PURE__*/ E.createElement($Q, g6({}, _, {className: "recharts-area-curve",layout: f,type: d.type,@@ -101821,13 +101830,13 @@ function Dot(e) {stroke: l,points: g}));- return o && (i || n < 1) ? /*#__PURE__*/ E.createElement(SY, null, /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement("clipPath", { id: m }, /*#__PURE__*/ E.createElement(Eot, {+ return o && (i || n < 1) ? /*#__PURE__*/ E.createElement(CY, null, /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement("clipPath", { id: m }, /*#__PURE__*/ E.createElement(Eot, {alpha: n,points: d.points ?? [],baseLine: g,layout: f,strokeWidth: d.strokeWidth- }))), /*#__PURE__*/ E.createElement(SY, { clipPath: `url(#${m})` }, v, y, b)) : /*#__PURE__*/ E.createElement(E.Fragment, null, v, y, b);+ }))), /*#__PURE__*/ E.createElement(CY, { clipPath: `url(#${m})` }, v, y, b)) : /*#__PURE__*/ E.createElement(E.Fragment, null, v, y, b);}//#endregion//#region node_modules/recharts/es6/cartesian/Area.js@@ -101847,14 +101856,14 @@ var Oot = ["id"], kot = ["xAxisId","yAxisId"];-function g6() {- return g6 = Object.assign ? Object.assign.bind() : function(e) {+function _6() {+ return _6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, g6.apply(null, arguments);+ }, _6.apply(null, arguments);}function Aot(e, t) {if (e == null) return {};@@ -101884,7 +101893,7 @@ function Mot(e, t) {}return n;}-function _6(e) {+function v6(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? Mot(Object(n), !0).forEach(function(t) {@@ -101922,10 +101931,10 @@ var Iot = {animationBegin: 0,animationDuration: 1500,animationEasing: "ease",- animationMatchBy: l3,- animationInterpolateFn: (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "matched" ? [_6(_6({}, e.next), {}, {- x: LY(e.prev.x, e.next.x, t),- y: LY(e.prev.y, e.next.y, t)+ animationMatchBy: u3,+ animationInterpolateFn: (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "matched" ? [v6(v6({}, e.next), {}, {+ x: RY(e.prev.x, e.next.x, t),+ y: RY(e.prev.y, e.next.y, t)})] : e.status === "added" ? [e.next] : []),connectNulls: !1,dot: !1,@@ -101941,9 +101950,9 @@ var Iot = {shape: Dot,xAxisId: 0,yAxisId: 0,- zIndex: O$.area+ zIndex: k$.area};-function v6(e, t) {+function y6(e, t) {return e && e !== "none" ? e : t;}var Lot = (e) => {@@ -101952,34 +101961,34 @@ var Lot = (e) => {inactive: e.hide,dataKey: t,type: a,- color: v6(r, i),- value: fQ(n, t),+ color: y6(r, i),+ value: pQ(n, t),payload: e}];}, Rot = /*#__PURE__*/ E.memo((e) => {var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {dataDefinedOnItem: n,- getPosition: VY,+ getPosition: HY,settings: {stroke: r,strokeWidth: i,fill: a,dataKey: t,nameKey: void 0,- name: fQ(o, t),+ name: pQ(o, t),hide: s,type: u,- color: v6(r, a),+ color: y6(r, a),unit: c,formatter: l,graphicalItemId: d}};- return /*#__PURE__*/ E.createElement(s3, { tooltipEntrySettings: f });+ return /*#__PURE__*/ E.createElement(c3, { tooltipEntrySettings: f });});function zot(e) {- var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = gY(r);- return /*#__PURE__*/ E.createElement(b3, {+ var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = _Y(r);+ return /*#__PURE__*/ E.createElement(x3, {points: n,dot: a,className: "recharts-area-dots",@@ -102000,7 +102009,7 @@ function Bot(e) {upperWidth: 0,height: 0};- return _6(_6({}, t), {}, {+ return v6(v6({}, t), {}, {value: e.value,payload: e.payload,parentViewBox: void 0,@@ -102008,10 +102017,10 @@ function Bot(e) {fill: void 0});});- return /*#__PURE__*/ E.createElement(A4, { value: t ? r : void 0 }, n);+ return /*#__PURE__*/ E.createElement(j4, { value: t ? r : void 0 }, n);}function Vot(e) {- var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = Aot(a, Oot), _ = _6(_6({}, vY(g)), {}, {+ var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = Aot(a, Oot), _ = v6(v6({}, yY(g)), {}, {id: h,points: t,connectNulls: f,@@ -102024,7 +102033,7 @@ function Vot(e) {isAnimating: s,isEntrance: c});- return /*#__PURE__*/ E.createElement(E.Fragment, null, t?.length > 1 && /*#__PURE__*/ E.createElement(SY, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ E.createElement(r3, {+ return /*#__PURE__*/ E.createElement(E.Fragment, null, t?.length > 1 && /*#__PURE__*/ E.createElement(CY, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ E.createElement(i3, {option: m,DefaultShape: Iot.shape,shapeProps: _@@ -102035,16 +102044,16 @@ function Vot(e) {}));}function Hot(e, t, n) {- return NY(e) ? LY(NY(t) ? t : void 0, e, n) : RY(e) || jY(e) ? LY(NY(t) ? t : void 0, 0, n) : e;+ return PY(e) ? RY(PY(t) ? t : void 0, e, n) : zY(e) || MY(e) ? RY(PY(t) ? t : void 0, 0, n) : e;}function Uot(e) {var t = e.needClip, n = e.clipPathId, r = e.props, i = e.previousPointsRef, a = e.previousBaselineRef, o = r.points, s = r.baseLine, c = r.isAnimationActive, l = r.animationBegin, u = r.animationDuration, d = r.animationEasing, f = r.animationMatchBy, p = r.animationInterpolateFn, m = (0, E.useMemo)(() => ({points: o,baseLine: s- }), [o, s]), h = f3(m, a), g = PQ(), _ = p3(r.onAnimationStart, r.onAnimationEnd), v = _.isAnimating, y = _.handleAnimationStart, b = _.handleAnimationEnd, x = h.startValue;+ }), [o, s]), h = p3(m, a), g = FQ(), _ = m3(r.onAnimationStart, r.onAnimationEnd), v = _.isAnimating, y = _.handleAnimationStart, b = _.handleAnimationEnd, x = h.startValue;if (g == null) return null;- var S = Array.isArray(s) && Array.isArray(x) ? d3(x, s, f) : Array.isArray(s) ? d3(null, s, f) : null;- return /*#__PURE__*/ E.createElement(m3, {+ var S = Array.isArray(s) && Array.isArray(x) ? f3(x, s, f) : Array.isArray(s) ? f3(null, s, f) : null;+ return /*#__PURE__*/ E.createElement(h3, {animationInput: m,animationIdPrefix: "recharts-area-",items: o,@@ -102072,7 +102081,7 @@ function Uot(e) {animationElapsedTime: i,isAnimating: v || i < 1,isEntrance: a- }), /*#__PURE__*/ E.createElement(M4, { label: r.label }));+ }), /*#__PURE__*/ E.createElement(N4, { label: r.label }));});}function Wot(e) {@@ -102089,8 +102098,8 @@ var Got = class extends E.PureComponent {render() {var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.top, o = e.left, s = e.needClip, c = e.xAxisId, l = e.yAxisId, u = e.width, d = e.height, f = e.id, p = e.baseLine, m = e.zIndex;if (t) return null;- var h = Vv("recharts-area", i), g = f, _ = Vat(n), v = _.r, y = _.strokeWidth, b = n3(n), x = v * 2 + y, S = s ? `url(#clipPath-${b ? "" : "dots-"}${g})` : void 0;- return /*#__PURE__*/ E.createElement(c4, { zIndex: m }, /*#__PURE__*/ E.createElement(SY, { className: h }, s && /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement(s6, {+ var h = Vv("recharts-area", i), g = f, _ = Vat(n), v = _.r, y = _.strokeWidth, b = r3(n), x = v * 2 + y, S = s ? `url(#clipPath-${b ? "" : "dots-"}${g})` : void 0;+ return /*#__PURE__*/ E.createElement(l4, { zIndex: m }, /*#__PURE__*/ E.createElement(CY, { className: h }, s && /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement(c6, {clipPathId: g,xAxisId: c,yAxisId: l@@ -102103,15 +102112,15 @@ var Got = class extends E.PureComponent {needClip: s,clipPathId: g,props: this.props- })), /*#__PURE__*/ E.createElement(T3, {+ })), /*#__PURE__*/ E.createElement(E3, {points: r,- mainColor: v6(this.props.stroke, this.props.fill),+ mainColor: y6(this.props.stroke, this.props.fill),itemDataKey: this.props.dataKey,activeDot: this.props.activeDot,clipPath: S- }), this.props.isRange && Array.isArray(p) && /*#__PURE__*/ E.createElement(T3, {+ }), this.props.isRange && Array.isArray(p) && /*#__PURE__*/ E.createElement(E3, {points: p,- mainColor: v6(this.props.stroke, this.props.fill),+ mainColor: y6(this.props.stroke, this.props.fill),itemDataKey: this.props.dataKey,activeDot: this.props.activeDot,clipPath: S@@ -102119,10 +102128,10 @@ var Got = class extends E.PureComponent {}};function Kot(e) {- var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = Aot(e, kot), g = NQ(), _ = M6e(), v = o6(p, m).needClip, y = xQ(), b = RX((t) => yot(t, e.id, y)) ?? {}, x = b.points, S = b.isRange, C = b.baseLine, w = C3();+ var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = Aot(e, kot), g = PQ(), _ = M6e(), v = s6(p, m).needClip, y = SQ(), b = zX((t) => yot(t, e.id, y)) ?? {}, x = b.points, S = b.isRange, C = b.baseLine, w = w3();if (g !== "horizontal" && g !== "vertical" || w == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;var T = w.height, D = w.width, O = w.x, k = w.y;- return !x || !x.length ? null : /*#__PURE__*/ E.createElement(Got, g6({}, h, {+ return !x || !x.length ? null : /*#__PURE__*/ E.createElement(Got, _6({}, h, {activeDot: t,animationBegin: n,animationDuration: r,@@ -102150,7 +102159,7 @@ function Kot(e) {}var qot = (e, t, n, r, i) => {var a = n ?? t;- if (NY(a)) return a;+ if (PY(a)) return a;var o = e === "horizontal" ? i : r, s = o.scale.domain();if (o.type === "number") {var c = Math.max(s[0], s[1]), l = Math.min(s[0], s[1]);@@ -102163,12 +102172,12 @@ function Jot(e) {var r;if (g) r = a[d + t];else {- var o = oQ(e, i);+ var o = sQ(e, i);Array.isArray(o) ? (r = o, y = !0) : r = [_, o];}- var s = r?.[1] ?? null, u = oQ(e, i), b = g && u == null && h != null && h.length > 0 && h.every((t) => oQ(e, t) == null), x = s == null || g && !n && u == null || b;+ var s = r?.[1] ?? null, u = sQ(e, i), b = g && u == null && h != null && h.length > 0 && h.every((t) => sQ(e, t) == null), x = s == null || g && !n && u == null || b;return v ? {- x: lQ({+ x: uQ({axis: c,ticks: f,bandSize: m,@@ -102180,7 +102189,7 @@ function Jot(e) {payload: e} : {x: x ? null : c.scale.map(s) ?? null,- y: lQ({+ y: uQ({axis: l,ticks: p,bandSize: m,@@ -102209,11 +102218,11 @@ function Jot(e) {};}function Yot(e) {- var t = vX(e, Iot), n = xQ();- return /*#__PURE__*/ E.createElement(h3, {+ var t = yX(e, Iot), n = SQ();+ return /*#__PURE__*/ E.createElement(g3, {id: t.id,type: "area"- }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(c3, { legendPayload: Lot(t) }), /*#__PURE__*/ E.createElement(Rot, {+ }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(l3, { legendPayload: Lot(t) }), /*#__PURE__*/ E.createElement(Rot, {dataKey: t.dataKey,data: t.data,stroke: t.stroke,@@ -102225,7 +102234,7 @@ function Yot(e) {formatter: t.formatter,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ E.createElement(_3, {+ }), /*#__PURE__*/ E.createElement(v3, {type: "area",id: e,data: t.data,@@ -102233,15 +102242,15 @@ function Yot(e) {xAxisId: t.xAxisId,yAxisId: t.yAxisId,zAxisId: 0,- stackId: cQ(t.stackId),+ stackId: lQ(t.stackId),hide: t.hide,barSize: void 0,baseValue: t.baseValue,isPanorama: n,connectNulls: t.connectNulls- }), /*#__PURE__*/ E.createElement(Kot, g6({}, t, { id: e }))));+ }), /*#__PURE__*/ E.createElement(Kot, _6({}, t, { id: e }))));}-var Xot = /*#__PURE__*/ E.memo(Yot, zQ);+var Xot = /*#__PURE__*/ E.memo(Yot, BQ);Xot.displayName = "Area";//#endregion//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js@@ -102270,12 +102279,12 @@ function tst(e, t) {}return n;}-var y6 = i$;-function b6(e) {+var b6 = a$;+function x6(e) {var t = e.option, n = est(e, $ot);- return /*#__PURE__*/ E.createElement(r3, {+ return /*#__PURE__*/ E.createElement(i3, {option: t,- DefaultShape: y6,+ DefaultShape: b6,shapeProps: n,activeClassName: "recharts-active-bar",inActiveClassName: "recharts-inactive-bar"@@ -102284,72 +102293,72 @@ function b6(e) {var nst = function(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;return (n, r) => {- if (NY(e)) return e;- var i = NY(n) || RY(n);+ if (PY(e)) return e;+ var i = PY(n) || zY(n);return i ? e(n, r) : (!i && Qot(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);};-}, rst = (e, t, n) => n, x6 = X([$0, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), ist = X([x6], (e) => e?.maxBarSize), ast = (e, t, n, r) => r, ost = X([- MQ,- $0,- f6,+}, rst = (e, t, n) => n, S6 = X([e2, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), ist = X([S6], (e) => e?.maxBarSize), ast = (e, t, n, r) => r, ost = X([+ NQ,+ e2,p6,+ m6,rst], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), sst = (e, t, n) => {- var r = MQ(e), i = f6(e, t), a = p6(e, t);- if (i != null && a != null) return r === "horizontal" ? d2(e, "yAxis", a, n) : d2(e, "xAxis", i, n);+ var r = NQ(e), i = p6(e, t), a = m6(e, t);+ if (i != null && a != null) return r === "horizontal" ? f2(e, "yAxis", a, n) : f2(e, "xAxis", i, n);}, cst = X([ost,wQe,(e, t) => {- var n = MQ(e), r = f6(e, t), i = p6(e, t);+ var n = NQ(e), r = p6(e, t), i = m6(e, t);if (r != null && i != null) return n === "horizontal" ? $4e(e, "xAxis", r) : $4e(e, "yAxis", i);}], jnt), lst = (e, t, n) => {- var r = x6(e, t);+ var r = S6(e, t);if (r == null) return 0;- var i = f6(e, t), a = p6(e, t);+ var i = p6(e, t), a = m6(e, t);if (i == null || a == null) return 0;- var o = MQ(e), s = x$(e), c = r.maxBarSize, l = RY(c) ? s : c, u, d;- return o === "horizontal" ? (u = F2(e, "xAxis", i, n), d = P2(e, "xAxis", i, n)) : (u = F2(e, "yAxis", a, n), d = P2(e, "yAxis", a, n)), dQ(u, d, !0) ?? l ?? 0;+ var o = NQ(e), s = S$(e), c = r.maxBarSize, l = zY(c) ? s : c, u, d;+ return o === "horizontal" ? (u = I2(e, "xAxis", i, n), d = F2(e, "xAxis", i, n)) : (u = I2(e, "yAxis", a, n), d = F2(e, "yAxis", a, n)), fQ(u, d, !0) ?? l ?? 0;}, ust = (e, t, n) => {- var r = MQ(e), i = f6(e, t), a = p6(e, t);+ var r = NQ(e), i = p6(e, t), a = m6(e, t);if (i != null && a != null) {var o, s;- return r === "horizontal" ? (o = F2(e, "xAxis", i, n), s = P2(e, "xAxis", i, n)) : (o = F2(e, "yAxis", a, n), s = P2(e, "yAxis", a, n)), dQ(o, s);+ return r === "horizontal" ? (o = I2(e, "xAxis", i, n), s = F2(e, "xAxis", i, n)) : (o = I2(e, "yAxis", a, n), s = F2(e, "yAxis", a, n)), fQ(o, s);}}, dst = X([- yQ,bQ,- (e, t, n) => {- var r = f6(e, t);- if (r != null) return F2(e, "xAxis", r, n);- },+ xQ,(e, t, n) => {var r = p6(e, t);- if (r != null) return F2(e, "yAxis", r, n);+ if (r != null) return I2(e, "xAxis", r, n);},(e, t, n) => {- var r = f6(e, t);- if (r != null) return P2(e, "xAxis", r, n);+ var r = m6(e, t);+ if (r != null) return I2(e, "yAxis", r, n);},(e, t, n) => {var r = p6(e, t);- if (r != null) return P2(e, "yAxis", r, n);+ if (r != null) return F2(e, "xAxis", r, n);+ },+ (e, t, n) => {+ var r = m6(e, t);+ if (r != null) return F2(e, "yAxis", r, n);},X([X([cst,- x$,- CQe,S$,+ CQe,+ C$,lst,ust,ist- ], Lnt), x6], znt),- MQ,+ ], Lnt), S6], znt),+ NQ,QZe,ust,- X([sst, x6], Rnt),- x6,+ X([sst, S6], Rnt),+ S6,ast], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {var p = c.chartData, m = c.dataStartIndex, h = c.dataEndIndex;@@ -102373,14 +102382,14 @@ var nst = function(e) {});}}), fst = ["index"];-function S6() {- return S6 = Object.assign ? Object.assign.bind() : function(e) {+function C6() {+ return C6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, S6.apply(null, arguments);+ }, C6.apply(null, arguments);}function pst(e, t) {if (e == null) return {};@@ -102403,7 +102412,7 @@ function mst(e, t) {var hst = /*#__PURE__*/ (0, E.createContext)(void 0), gst = (e) => {var t = (0, E.useContext)(hst);if (t != null) return t.stackId;- if (e != null) return cQ(e);+ if (e != null) return lQ(e);}, _st = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, vst = (e) => {var t = (0, E.useContext)(hst);if (t != null) {@@ -102412,7 +102421,7 @@ var hst = /*#__PURE__*/ (0, E.createContext)(void 0), gst = (e) => {}}, yst = (e) => {var t = e.index, n = pst(e, fst), r = vst(t);- return /*#__PURE__*/ E.createElement(SY, S6({+ return /*#__PURE__*/ E.createElement(CY, C6({className: "recharts-bar-stack-layer",clipPath: r}, n));@@ -102471,14 +102480,14 @@ function Ost(e, t) {function kst(e) {if (Array.isArray(e)) return e;}-function C6() {- return C6 = Object.assign ? Object.assign.bind() : function(e) {+function w6() {+ return w6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, C6.apply(null, arguments);+ }, w6.apply(null, arguments);}function Ast(e, t) {var n = Object.keys(e);@@ -102490,7 +102499,7 @@ function Ast(e, t) {}return n;}-function w6(e) {+function T6(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];t % 2 ? Ast(Object(n), !0).forEach(function(t) {@@ -102523,7 +102532,7 @@ function Nst(e, t) {}return (t === "string" ? String : Number)(e);}-function T6(e, t) {+function E6(e, t) {if (e == null) return {};var n, r, i = Pst(e, t);if (Object.getOwnPropertySymbols) {@@ -102548,20 +102557,20 @@ var Fst = (e) => {dataKey: t,type: i,color: r,- value: fQ(n, t),+ value: pQ(n, t),payload: e}];}, Ist = /*#__PURE__*/ E.memo((e) => {var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.unit, c = e.formatter, l = e.tooltipType, u = e.id, d = {dataDefinedOnItem: void 0,- getPosition: VY,+ getPosition: HY,settings: {stroke: n,strokeWidth: r,fill: i,dataKey: t,nameKey: void 0,- name: fQ(a, t),+ name: pQ(a, t),hide: o,type: l,color: i,@@ -102570,22 +102579,22 @@ var Fst = (e) => {graphicalItemId: u}};- return /*#__PURE__*/ E.createElement(s3, { tooltipEntrySettings: d });+ return /*#__PURE__*/ E.createElement(c3, { tooltipEntrySettings: d });});function Lst(e) {- var t = RX($2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = T6(a, bst), u = i3(o, r, a.id), d = a3(s), f = o3(c, r, a.id);+ var t = zX(e4), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = E6(a, bst), u = a3(o, r, a.id), d = o3(s), f = s3(c, r, a.id);if (!i || n == null) return null;- var p = _Y(i);- return /*#__PURE__*/ E.createElement(c4, { zIndex: nrt(i, O$.barBackground) }, n.map((e, n) => {+ var p = vY(i);+ return /*#__PURE__*/ E.createElement(l4, { zIndex: nrt(i, k$.barBackground) }, n.map((e, n) => {e.value;var a = e.background;e.tooltipPosition;- var o = T6(e, xst);+ var o = E6(e, xst);if (!a) return null;- var s = u(e, e.originalDataIndex), c = d(e, e.originalDataIndex), m = f(e, e.originalDataIndex), h = w6(w6(w6(w6(w6({+ var s = u(e, e.originalDataIndex), c = d(e, e.originalDataIndex), m = f(e, e.originalDataIndex), h = T6(T6(T6(T6(T6({option: i,isActive: String(e.originalDataIndex) === t- }, o), {}, { fill: "#eee" }, a), p), _X(l, e, n)), {}, {+ }, o), {}, { fill: "#eee" }, a), p), vX(l, e, n)), {}, {onMouseEnter: s,onMouseLeave: c,onClick: m,@@ -102593,7 +102602,7 @@ function Lst(e) {index: n,className: "recharts-bar-background-rectangle"});- return /*#__PURE__*/ E.createElement(b6, C6({ key: `background-bar-${n}` }, h));+ return /*#__PURE__*/ E.createElement(x6, w6({ key: `background-bar-${n}` }, h));}));}function Rst(e) {@@ -102606,7 +102615,7 @@ function Rst(e) {upperWidth: e.width,height: e.height};- return w6(w6({}, t), {}, {+ return T6(T6({}, t), {}, {value: e.value,payload: e.payload,parentViewBox: e.parentViewBox,@@ -102614,10 +102623,10 @@ function Rst(e) {fill: e.fill});});- return /*#__PURE__*/ E.createElement(A4, { value: t ? r : void 0 }, n);+ return /*#__PURE__*/ E.createElement(j4, { value: t ? r : void 0 }, n);}function zst(e) {- var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = RX($2), c = RX(d6e), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = wst((0, E.useState)(!1), 2), f = d[0], p = d[1], m = wst((0, E.useState)(!1), 2), h = m[0], g = m[1];+ var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = zX(e4), c = zX(d6e), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = wst((0, E.useState)(!1), 2), f = d[0], p = d[1], m = wst((0, E.useState)(!1), 2), h = m[0], g = m[1];(0, E.useEffect)(() => {var e;return l ? (p(!0), e = requestAnimationFrame(() => {@@ -102628,7 +102637,7 @@ function zst(e) {}, [l, u]);var _ = (0, E.useCallback)(() => {l || p(!1);- }, [l]), v = l && h, y = l || f, b = l ? n === !0 ? t : n : t, x = /*#__PURE__*/ E.createElement(b6, C6({}, r, { name: String(r.name) }, i, {+ }, [l]), v = l && h, y = l || f, b = l ? n === !0 ? t : n : t, x = /*#__PURE__*/ E.createElement(x6, w6({}, r, { name: String(r.name) }, i, {isActive: v,option: b,index: a,@@ -102638,11 +102647,11 @@ function zst(e) {isEntrance: e.isEntrance,onTransitionEnd: _}));- return y ? /*#__PURE__*/ E.createElement(c4, { zIndex: O$.activeBar }, /*#__PURE__*/ E.createElement(yst, { index: i.originalDataIndex }, x)) : x;+ return y ? /*#__PURE__*/ E.createElement(l4, { zIndex: k$.activeBar }, /*#__PURE__*/ E.createElement(yst, { index: i.originalDataIndex }, x)) : x;}function Bst(e) {var t = e.shape, n = e.baseProps, r = e.entry, i = e.index, a = e.dataKey;- return /*#__PURE__*/ E.createElement(b6, C6({}, n, { name: String(n.name) }, r, {+ return /*#__PURE__*/ E.createElement(x6, w6({}, n, { name: String(n.name) }, r, {isActive: !1,option: t,index: i,@@ -102653,12 +102662,12 @@ function Bst(e) {}));}function Vst(e) {- var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = gY(n) ?? {}, s = o.id, c = T6(o, Sst), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = T6(n, Cst), g = i3(f, u, s), _ = a3(m), v = o3(p, u, s);- return t ? /*#__PURE__*/ E.createElement(E.Fragment, null, t.map((e, t) => /*#__PURE__*/ E.createElement(yst, C6({+ var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = _Y(n) ?? {}, s = o.id, c = E6(o, Sst), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = E6(n, Cst), g = a3(f, u, s), _ = o3(m), v = s3(p, u, s);+ return t ? /*#__PURE__*/ E.createElement(E.Fragment, null, t.map((e, t) => /*#__PURE__*/ E.createElement(yst, w6({index: e.originalDataIndex,key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,className: "recharts-bar-rectangle"- }, _X(h, e, t), {+ }, vX(h, e, t), {onMouseEnter: g(e, e.originalDataIndex),onMouseLeave: _(e, e.originalDataIndex),onClick: v(e, e.originalDataIndex)@@ -102684,31 +102693,31 @@ function Vst(e) {})))) : null;}var Hst = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {- if (e.status === "removed") return n === "horizontal" ? [w6(w6({}, e.prev), {}, {- height: LY(e.prev.height, 0, t),- y: LY(e.prev.y, e.prev.y + e.prev.height, t)- })] : [w6(w6({}, e.prev), {}, { width: LY(e.prev.width, 0, t) })];- if (e.status === "matched") return [w6(w6({}, e.next), {}, {- x: LY(e.prev.x, e.next.x, t),- y: LY(e.prev.y, e.next.y, t),- width: LY(e.prev.width, e.next.width, t),- height: LY(e.prev.height, e.next.height, t)+ if (e.status === "removed") return n === "horizontal" ? [T6(T6({}, e.prev), {}, {+ height: RY(e.prev.height, 0, t),+ y: RY(e.prev.y, e.prev.y + e.prev.height, t)+ })] : [T6(T6({}, e.prev), {}, { width: RY(e.prev.width, 0, t) })];+ if (e.status === "matched") return [T6(T6({}, e.next), {}, {+ x: RY(e.prev.x, e.next.x, t),+ y: RY(e.prev.y, e.next.y, t),+ width: RY(e.prev.width, e.next.width, t),+ height: RY(e.prev.height, e.next.height, t)})];var r = e.next;- return n === "horizontal" ? [w6(w6({}, r), {}, {- height: LY(0, r.height, t),- y: LY(r.stackedBarStart, r.y, t)- })] : [w6(w6({}, r), {}, {- width: LY(0, r.width, t),- x: LY(r.stackedBarStart, r.x, t)+ return n === "horizontal" ? [T6(T6({}, r), {}, {+ height: RY(0, r.height, t),+ y: RY(r.stackedBarStart, r.y, t)+ })] : [T6(T6({}, r), {}, {+ width: RY(0, r.width, t),+ x: RY(r.stackedBarStart, r.x, t)})];});function Ust(e) {- var t = e.props, n = e.previousRectanglesRef, r = t.data, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.animationInterpolateFn, l = t.layout, u = p3(t.onAnimationStart, t.onAnimationEnd), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd;+ var t = e.props, n = e.previousRectanglesRef, r = t.data, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.animationInterpolateFn, l = t.layout, u = m3(t.onAnimationStart, t.onAnimationEnd), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd;return /*#__PURE__*/ E.createElement(Rst, {showLabels: !d,rects: r- }, /*#__PURE__*/ E.createElement(m3, {+ }, /*#__PURE__*/ E.createElement(h3, {animationInput: r,animationIdPrefix: "recharts-bar-",items: r,@@ -102722,13 +102731,13 @@ function Ust(e) {animationInterpolateFn: c,animationMatchBy: t.animationMatchBy,layout: l- }, (e, n, r) => /*#__PURE__*/ E.createElement(SY, null, /*#__PURE__*/ E.createElement(Vst, {+ }, (e, n, r) => /*#__PURE__*/ E.createElement(CY, null, /*#__PURE__*/ E.createElement(Vst, {props: t,data: e,animationElapsedTime: n,isAnimating: d || n < 1,isEntrance: r- }))), /*#__PURE__*/ E.createElement(M4, { label: t.label }), t.children);+ }))), /*#__PURE__*/ E.createElement(N4, { label: t.label }), t.children);}function Wst(e) {var t = (0, E.useRef)(null);@@ -102743,21 +102752,21 @@ var Gst = 0, Kst = (e, t) => {x: e.x,y: e.y,value: n,- errorVal: oQ(e, t)+ errorVal: sQ(e, t)};}, qst = class extends E.PureComponent {render() {var e = this.props, t = e.hide, n = e.data, r = e.dataKey, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.needClip, c = e.background, l = e.id;if (t || n == null) return null;var u = Vv("recharts-bar", i), d = l;- return /*#__PURE__*/ E.createElement(SY, {+ return /*#__PURE__*/ E.createElement(CY, {className: u,id: l- }, s && /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement(s6, {+ }, s && /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement(c6, {clipPathId: d,xAxisId: a,yAxisId: o- })), /*#__PURE__*/ E.createElement(SY, {+ })), /*#__PURE__*/ E.createElement(CY, {className: "recharts-bar-rectangles",clipPath: s ? `url(#clipPath-${d})` : void 0}, /*#__PURE__*/ E.createElement(Lst, {@@ -102780,13 +102789,13 @@ var Gst = 0, Kst = (e, t) => {label: !1,legendType: "rect",minPointSize: Gst,- shape: y6,+ shape: b6,xAxisId: 0,yAxisId: 0,- zIndex: O$.bar+ zIndex: k$.bar};function Yst(e) {- var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = o6(t, n).needClip, f = NQ(), p = xQ(), m = fet(e.children, g4), h = RX((t) => dst(t, e.id, p, m));+ var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = s6(t, n).needClip, f = PQ(), p = SQ(), m = fet(e.children, _4), h = zX((t) => dst(t, e.id, p, m));if (f !== "vertical" && f !== "horizontal") return null;var g, _ = h?.[0];return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ E.createElement(Mat, {@@ -102795,7 +102804,7 @@ function Yst(e) {data: h,dataPointFormatter: Kst,errorBarOffset: g- }, /*#__PURE__*/ E.createElement(qst, C6({}, e, {+ }, /*#__PURE__*/ E.createElement(qst, w6({}, e, {layout: f,needClip: d,data: h,@@ -102819,12 +102828,12 @@ function Xst(e) {var E = f[n + _];if (E == null) return null;p = dqe(E, y);- } else p = oQ(e, r), Array.isArray(p) || (p = [b, p]);+ } else p = sQ(e, r), Array.isArray(p) || (p = [b, p]);var D = nst(i, Gst)(p[1], n);if (t === "horizontal") {var O = l.scale.map(p[0]), k = l.scale.map(p[1]);if (O == null || k == null) return null;- v = uQ({+ v = dQ({axis: c,ticks: u,bandSize: s,@@ -102833,19 +102842,19 @@ function Xst(e) {index: n}), S = k ?? O ?? void 0, C = o.size;var A = O - k;- if (w = jY(A) ? 0 : A, T = {+ if (w = MY(A) ? 0 : A, T = {x: v,y: m.top,width: C,height: m.height}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {- var j = AY(w || D) * (Math.abs(D) - Math.abs(w));+ var j = jY(w || D) * (Math.abs(D) - Math.abs(w));S -= j, w += j;}} else {var M = c.scale.map(p[0]), N = c.scale.map(p[1]);if (M == null || N == null) return null;- if (v = M, S = uQ({+ if (v = M, S = dQ({axis: l,ticks: d,bandSize: s,@@ -102858,11 +102867,11 @@ function Xst(e) {width: m.width,height: w}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {- var P = AY(C || D) * (Math.abs(D) - Math.abs(C));+ var P = jY(C || D) * (Math.abs(D) - Math.abs(C));C += P;}}- return v == null || S == null || C == null || w == null || !a && (C === 0 || w === 0) ? null : w6(w6({}, e), {}, {+ return v == null || S == null || C == null || w == null || !a && (C === 0 || w === 0) ? null : T6(T6({}, e), {}, {stackedBarStart: x,x: v,y: S,@@ -102881,11 +102890,11 @@ function Xst(e) {}).filter(Boolean);}function Zst(e) {- var t = vX(e, Jst), n = gst(t.stackId), r = xQ();- return /*#__PURE__*/ E.createElement(h3, {+ var t = yX(e, Jst), n = gst(t.stackId), r = SQ();+ return /*#__PURE__*/ E.createElement(g3, {id: t.id,type: "bar"- }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(c3, { legendPayload: Fst(t) }), /*#__PURE__*/ E.createElement(Ist, {+ }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(l3, { legendPayload: Fst(t) }), /*#__PURE__*/ E.createElement(Ist, {dataKey: t.dataKey,stroke: t.stroke,strokeWidth: t.strokeWidth,@@ -102896,7 +102905,7 @@ function Zst(e) {formatter: t.formatter,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ E.createElement(_3, {+ }), /*#__PURE__*/ E.createElement(v3, {type: "bar",id: e,data: void 0,@@ -102910,11 +102919,11 @@ function Zst(e) {minPointSize: t.minPointSize,maxBarSize: t.maxBarSize,isPanorama: r,- hasCustomShape: t.shape != null && t.shape !== y6- }), /*#__PURE__*/ E.createElement(c4, { zIndex: t.zIndex }, /*#__PURE__*/ E.createElement(Yst, C6({}, t, { id: e })))));+ hasCustomShape: t.shape != null && t.shape !== b6+ }), /*#__PURE__*/ E.createElement(l4, { zIndex: t.zIndex }, /*#__PURE__*/ E.createElement(Yst, w6({}, t, { id: e })))));}-var E6 = /*#__PURE__*/ E.memo(Zst, zQ);-E6.displayName = "Bar";+var D6 = /*#__PURE__*/ E.memo(Zst, BQ);+D6.displayName = "Bar";//#endregion//#region node_modules/recharts/es6/util/axisPropsAreEqual.jsvar Qst = ["domain", "range"], $st = ["domain", "range"];@@ -102942,7 +102951,7 @@ function nct(e, t) {function rct(e, t) {if (e === t) return !0;var n = e.domain, r = e.range, i = ect(e, Qst), a = t.domain, o = t.range, s = ect(t, $st);- return !nct(n, a) || !nct(r, o) ? !1 : zQ(i, s);+ return !nct(n, a) || !nct(r, o) ? !1 : BQ(i, s);}//#endregion//#region node_modules/recharts/es6/cartesian/XAxis.js@@ -102951,14 +102960,14 @@ var ict = ["type"], act = ["ticks","scale"], oct = ["id", "scale"];-function D6() {- return D6 = Object.assign ? Object.assign.bind() : function(e) {+function O6() {+ return O6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, D6.apply(null, arguments);+ }, O6.apply(null, arguments);}function sct(e, t) {var n = Object.keys(e);@@ -103003,7 +103012,7 @@ function dct(e, t) {}return (t === "string" ? String : Number)(e);}-function O6(e, t) {+function k6(e, t) {if (e == null) return {};var n, r, i = fct(e, t);if (Object.getOwnPropertySymbols) {@@ -103022,7 +103031,7 @@ function fct(e, t) {return n;}function pct(e) {- var t = IX(), n = (0, E.useRef)(null), r = PQ(), i = e.type, a = O6(e, ict), o = M$(r, "xAxis", i), s = (0, E.useMemo)(() => {+ var t = LX(), n = (0, E.useRef)(null), r = FQ(), i = e.type, a = k6(e, ict), o = N$(r, "xAxis", i), s = (0, E.useMemo)(() => {if (o != null) return cct(cct({}, a), {}, { type: o });}, [a, o]);return (0, E.useLayoutEffect)(() => {@@ -103035,9 +103044,9 @@ function pct(e) {}, [t]), null;}var mct = (e) => {- var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = RX(bQ), c = xQ(), l = IX(), u = "xAxis", d = RX((e) => r3e(e, u, t, c)), f = RX((e) => G4e(e, t)), p = RX((e) => X4e(e, t)), m = RX((e) => U2e(e, t));+ var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = zX(xQ), c = SQ(), l = LX(), u = "xAxis", d = zX((e) => r3e(e, u, t, c)), f = zX((e) => G4e(e, t)), p = zX((e) => X4e(e, t)), m = zX((e) => U2e(e, t));if ((0, E.useLayoutEffect)(() => {- if (!(r !== "auto" || !f || E4(i) || /*#__PURE__*/ (0, E.isValidElement)(i) || m == null)) {+ if (!(r !== "auto" || !f || D4(i) || /*#__PURE__*/ (0, E.isValidElement)(i) || m == null)) {var e = a.current;if (e) {var n = e.getCalculatedHeight();@@ -103057,10 +103066,10 @@ var mct = (e) => {m]), f == null || p == null || m == null) return null;e.dangerouslySetInnerHTML, e.ticks, e.scale;- var h = O6(e, act);+ var h = k6(e, act);m.id, m.scale;- var g = O6(m, oct);- return /*#__PURE__*/ E.createElement(e6, D6({}, h, g, {+ var g = k6(m, oct);+ return /*#__PURE__*/ E.createElement(t6, O6({}, h, g, {ref: a,labelRef: o,x: p.x,@@ -103074,31 +103083,31 @@ var mct = (e) => {axisId: t}));}, hct = {- allowDataOverflow: G0.allowDataOverflow,- allowDecimals: G0.allowDecimals,- allowDuplicatedCategory: G0.allowDuplicatedCategory,- angle: G0.angle,- axisLine: $3.axisLine,- height: G0.height,+ allowDataOverflow: K0.allowDataOverflow,+ allowDecimals: K0.allowDecimals,+ allowDuplicatedCategory: K0.allowDuplicatedCategory,+ angle: K0.angle,+ axisLine: e6.axisLine,+ height: K0.height,hide: !1,- includeHidden: G0.includeHidden,- interval: G0.interval,+ includeHidden: K0.includeHidden,+ interval: K0.interval,label: !1,- minTickGap: G0.minTickGap,- mirror: G0.mirror,- orientation: G0.orientation,- padding: G0.padding,- reversed: G0.reversed,- scale: G0.scale,- tick: G0.tick,- tickCount: G0.tickCount,- tickLine: $3.tickLine,- tickSize: $3.tickSize,- type: G0.type,- niceTicks: G0.niceTicks,+ minTickGap: K0.minTickGap,+ mirror: K0.mirror,+ orientation: K0.orientation,+ padding: K0.padding,+ reversed: K0.reversed,+ scale: K0.scale,+ tick: K0.tick,+ tickCount: K0.tickCount,+ tickLine: e6.tickLine,+ tickSize: e6.tickSize,+ type: K0.type,+ niceTicks: K0.niceTicks,xAxisId: 0}, gct = /*#__PURE__*/ E.memo((e) => {- var t = vX(e, hct);+ var t = yX(e, hct);return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(pct, {allowDataOverflow: t.allowDataOverflow,allowDecimals: t.allowDecimals,@@ -103135,14 +103144,14 @@ var _ct = ["type"], vct = ["ticks","scale"], yct = ["id", "scale"];-function k6() {- return k6 = Object.assign ? Object.assign.bind() : function(e) {+function A6() {+ return A6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, k6.apply(null, arguments);+ }, A6.apply(null, arguments);}function bct(e, t) {var n = Object.keys(e);@@ -103187,7 +103196,7 @@ function wct(e, t) {}return (t === "string" ? String : Number)(e);}-function A6(e, t) {+function j6(e, t) {if (e == null) return {};var n, r, i = Tct(e, t);if (Object.getOwnPropertySymbols) {@@ -103206,7 +103215,7 @@ function Tct(e, t) {return n;}function Ect(e) {- var t = IX(), n = (0, E.useRef)(null), r = PQ(), i = e.type, a = A6(e, _ct), o = M$(r, "yAxis", i), s = (0, E.useMemo)(() => {+ var t = LX(), n = (0, E.useRef)(null), r = FQ(), i = e.type, a = j6(e, _ct), o = N$(r, "yAxis", i), s = (0, E.useMemo)(() => {if (o != null) return xct(xct({}, a), {}, { type: o });}, [o, a]);return (0, E.useLayoutEffect)(() => {@@ -103219,9 +103228,9 @@ function Ect(e) {}, [t]), null;}function Dct(e) {- var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = RX(bQ), c = xQ(), l = IX(), u = "yAxis", d = RX((e) => Q4e(e, t)), f = RX((e) => Z4e(e, t)), p = RX((e) => r3e(e, u, t, c)), m = RX((e) => W2e(e, t));+ var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = zX(xQ), c = SQ(), l = LX(), u = "yAxis", d = zX((e) => Q4e(e, t)), f = zX((e) => Z4e(e, t)), p = zX((e) => r3e(e, u, t, c)), m = zX((e) => W2e(e, t));if ((0, E.useLayoutEffect)(() => {- if (!(r !== "auto" || !d || E4(i) || /*#__PURE__*/ (0, E.isValidElement)(i) || m == null)) {+ if (!(r !== "auto" || !d || D4(i) || /*#__PURE__*/ (0, E.isValidElement)(i) || m == null)) {var e = a.current;if (e) {var n = e.getCalculatedWidth();@@ -103241,10 +103250,10 @@ function Dct(e) {m]), d == null || f == null || m == null) return null;e.dangerouslySetInnerHTML, e.ticks, e.scale;- var h = A6(e, vct);+ var h = j6(e, vct);m.id, m.scale;- var g = A6(m, yct);- return /*#__PURE__*/ E.createElement(e6, k6({}, h, g, {+ var g = j6(m, yct);+ return /*#__PURE__*/ E.createElement(t6, A6({}, h, g, {ref: a,labelRef: o,x: f.x,@@ -103260,31 +103269,31 @@ function Dct(e) {}));}var Oct = {- allowDataOverflow: q0.allowDataOverflow,- allowDecimals: q0.allowDecimals,- allowDuplicatedCategory: q0.allowDuplicatedCategory,- angle: q0.angle,- axisLine: $3.axisLine,+ allowDataOverflow: J0.allowDataOverflow,+ allowDecimals: J0.allowDecimals,+ allowDuplicatedCategory: J0.allowDuplicatedCategory,+ angle: J0.angle,+ axisLine: e6.axisLine,hide: !1,- includeHidden: q0.includeHidden,- interval: q0.interval,+ includeHidden: J0.includeHidden,+ interval: J0.interval,label: !1,- minTickGap: q0.minTickGap,- mirror: q0.mirror,- orientation: q0.orientation,- padding: q0.padding,- reversed: q0.reversed,- scale: q0.scale,- tick: q0.tick,- tickCount: q0.tickCount,- tickLine: $3.tickLine,- tickSize: $3.tickSize,- type: q0.type,- niceTicks: q0.niceTicks,- width: q0.width,+ minTickGap: J0.minTickGap,+ mirror: J0.mirror,+ orientation: J0.orientation,+ padding: J0.padding,+ reversed: J0.reversed,+ scale: J0.scale,+ tick: J0.tick,+ tickCount: J0.tickCount,+ tickLine: e6.tickLine,+ tickSize: e6.tickSize,+ type: J0.type,+ niceTicks: J0.niceTicks,+ width: J0.width,yAxisId: 0}, kct = /*#__PURE__*/ E.memo((e) => {- var t = vX(e, Oct);+ var t = yX(e, Oct);return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Ect, {interval: t.interval,id: t.yAxisId,@@ -103314,22 +103323,22 @@ var Oct = {}), /*#__PURE__*/ E.createElement(Dct, t));}, rct);kct.displayName = "YAxis";-var j6 = X([+var M6 = X([(e, t) => t,- MQ,- R$,- K$,+ NQ,+ z$,+ q$,s6e,- Y2,+ X2,P6e,- yQ+ bQ], U6e);//#endregion//#region node_modules/recharts/es6/util/getRelativeCoordinate.jsfunction Act(e) {return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";}-function M6(e) {+function N6(e) {var t = e.currentTarget.getBoundingClientRect(), n, r;if (Act(e)) {var i = e.currentTarget.getBBox();@@ -103346,11 +103355,11 @@ function M6(e) {}//#endregion//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js-var jct = zZ("mouseClick"), Mct = eQ();+var jct = BZ("mouseClick"), Mct = tQ();Mct.startListening({actionCreator: jct,effect: (e, t) => {- var n = e.payload, r = j6(t.getState(), M6(n));+ var n = e.payload, r = M6(t.getState(), N6(n));r?.activeIndex != null && t.dispatch(S3e({activeIndex: r.activeIndex,activeDataKey: void 0,@@ -103358,28 +103367,28 @@ Mct.startListening({}));}});-var N6 = zZ("mouseMove"), Nct = eQ(), P6 = null, F6 = null, I6 = null;+var P6 = BZ("mouseMove"), Nct = tQ(), F6 = null, I6 = null, L6 = null;Nct.startListening({- actionCreator: N6,+ actionCreator: P6,effect: (e, t) => {var n = e.payload, r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a?.includes("mousemove");- P6 !== null && (cancelAnimationFrame(P6), P6 = null), F6 !== null && (typeof i != "number" || !o) && (clearTimeout(F6), F6 = null), I6 = M6(n);+ F6 !== null && (cancelAnimationFrame(F6), F6 = null), I6 !== null && (typeof i != "number" || !o) && (clearTimeout(I6), I6 = null), L6 = N6(n);var s = () => {- var e = t.getState(), n = I2(e, e.tooltip.settings.shared);- if (!I6) P6 = null, F6 = null;+ var e = t.getState(), n = L2(e, e.tooltip.settings.shared);+ if (!L6) F6 = null, I6 = null;else {if (n === "axis") {- var r = j6(e, I6);+ var r = M6(e, L6);r?.activeIndex == null ? t.dispatch(y3e()) : t.dispatch(x3e({activeIndex: r.activeIndex,activeDataKey: void 0,activeCoordinate: r.activeCoordinate}));}- P6 = null, F6 = null;+ F6 = null, I6 = null;}};- o ? i === "raf" ? P6 = requestAnimationFrame(s) : typeof i == "number" && F6 === null && (F6 = setTimeout(s, i)) : s();+ o ? i === "raf" ? F6 = requestAnimationFrame(s) : typeof i == "number" && I6 === null && (I6 = setTimeout(s, i)) : s();}});//#endregion@@ -103401,34 +103410,34 @@ var Fct = {syncMethod: "index",baseValue: void 0,reverseStackOrder: !1-}, Ict = HZ({+}, Ict = UZ({name: "rootProps",initialState: Fct,reducers: { updateOptions: (e, t) => {e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? Fct.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;} }-}), Lct = Ict.reducer, Rct = Ict.actions.updateOptions, zct = HZ({+}), Lct = Ict.reducer, Rct = Ict.actions.updateOptions, zct = UZ({name: "polarOptions",initialState: null,reducers: { updatePolarOptions: (e, t) => e === null ? t.payload : (e.startAngle = t.payload.startAngle, e.endAngle = t.payload.endAngle, e.cx = t.payload.cx, e.cy = t.payload.cy, e.innerRadius = t.payload.innerRadius, e.outerRadius = t.payload.outerRadius, e) }-}), Bct = zct.actions.updatePolarOptions, Vct = zct.reducer, Hct = zZ("keyDown"), Uct = zZ("focus"), Wct = zZ("blur"), L6 = eQ(), R6 = null, z6 = null, B6 = null;-L6.startListening({+}), Bct = zct.actions.updatePolarOptions, Vct = zct.reducer, Hct = BZ("keyDown"), Uct = BZ("focus"), Wct = BZ("blur"), R6 = tQ(), z6 = null, B6 = null, V6 = null;+R6.startListening({actionCreator: Hct,effect: (e, t) => {- B6 = e.payload, R6 !== null && (cancelAnimationFrame(R6), R6 = null);+ V6 = e.payload, z6 !== null && (cancelAnimationFrame(z6), z6 = null);var n = t.getState().eventSettings, r = n.throttleDelay, i = n.throttledEvents, a = i === "all" || i.includes("keydown");- z6 !== null && (typeof r != "number" || !a) && (clearTimeout(z6), z6 = null);+ B6 !== null && (typeof r != "number" || !a) && (clearTimeout(B6), B6 = null);var o = () => {try {var e = t.getState();if (e.rootProps.accessibilityLayer === !1) return;- var n = e.tooltip.keyboardInteraction, r = B6;+ var n = e.tooltip.keyboardInteraction, r = V6;if (r !== "ArrowRight" && r !== "ArrowLeft" && r !== "Enter") return;- var i = H2(n, K2(e), l2(e), J2(e)), a = i == null ? -1 : Number(i), o = !Number.isFinite(a) || a < 0, s = Y2(e), c = K2(e), l = I2(e, e.tooltip.settings.shared);+ var i = U2(n, q2(e), u2(e), Y2(e)), a = i == null ? -1 : Number(i), o = !Number.isFinite(a) || a < 0, s = X2(e), c = q2(e), l = L2(e, e.tooltip.settings.shared);if (r === "Enter") {if (o) return;- var u = a4(e, l, "hover", String(n.index));- t.dispatch(B2({+ var u = o4(e, l, "hover", String(n.index));+ t.dispatch(V2({active: !n.active,activeIndex: n.index,activeCoordinate: u@@ -103437,7 +103446,7 @@ L6.startListening({}var d = a3e(e) === "left-to-right" ? 1 : -1, f = r === "ArrowRight" ? 1 : -1, p;if (o) {- var m = l2(e), h = J2(e), g = f * d, _ = (e) => ({+ var m = u2(e), h = Y2(e), g = f * d, _ = (e) => ({active: !1,index: String(e),dataKey: void 0,@@ -103445,11 +103454,11 @@ L6.startListening({coordinate: void 0});if (p = -1, g > 0) {- for (var v = 0; v < c.length; v++) if (H2(_(v), c, m, h) != null) {+ for (var v = 0; v < c.length; v++) if (U2(_(v), c, m, h) != null) {p = v;break;}- } else for (var y = c.length - 1; y >= 0; y--) if (H2(_(y), c, m, h) != null) {+ } else for (var y = c.length - 1; y >= 0; y--) if (U2(_(y), c, m, h) != null) {p = y;break;}@@ -103459,29 +103468,29 @@ L6.startListening({var b = s?.length || c.length;if (b === 0 || p >= b || p < 0) return;}- var x = a4(e, l, "hover", String(p));- t.dispatch(B2({+ var x = o4(e, l, "hover", String(p));+ t.dispatch(V2({active: !0,activeIndex: p.toString(),activeCoordinate: x}));} finally {- R6 = null, z6 = null;+ z6 = null, B6 = null;}};- a ? r === "raf" ? R6 = requestAnimationFrame(o) : typeof r == "number" && z6 === null && (o(), B6 = null, z6 = setTimeout(() => {- B6 ? o() : (z6 = null, R6 = null);+ a ? r === "raf" ? z6 = requestAnimationFrame(o) : typeof r == "number" && B6 === null && (o(), V6 = null, B6 = setTimeout(() => {+ V6 ? o() : (B6 = null, z6 = null);}, r)) : o();}-}), L6.startListening({+}), R6.startListening({actionCreator: Uct,effect: (e, t) => {var n = t.getState();if (n.rootProps.accessibilityLayer !== !1) {var r = n.tooltip.keyboardInteraction;if (!r.active && r.index == null) {- var i = "0", a = a4(n, I2(n, n.tooltip.settings.shared), "hover", String(i));- t.dispatch(B2({+ var i = "0", a = o4(n, L2(n, n.tooltip.settings.shared), "hover", String(i));+ t.dispatch(V2({active: !0,activeIndex: i,activeCoordinate: a@@ -103489,13 +103498,13 @@ L6.startListening({}}}-}), L6.startListening({+}), R6.startListening({actionCreator: Wct,effect: (e, t) => {var n = t.getState();if (n.rootProps.accessibilityLayer !== !1) {var r = n.tooltip.keyboardInteraction;- r.active && t.dispatch(B2({+ r.active && t.dispatch(V2({active: !1,activeIndex: r.index,activeCoordinate: r.coordinate@@ -103516,54 +103525,54 @@ function Gct(e) {}//#endregion//#region node_modules/recharts/es6/state/externalEventsMiddleware.js-var V6 = zZ("externalEvent"), Kct = eQ(), H6 = /* @__PURE__ */ new Map(), U6 = /* @__PURE__ */ new Map(), W6 = /* @__PURE__ */ new Map();+var H6 = BZ("externalEvent"), Kct = tQ(), U6 = /* @__PURE__ */ new Map(), W6 = /* @__PURE__ */ new Map(), G6 = /* @__PURE__ */ new Map();Kct.startListening({- actionCreator: V6,+ actionCreator: H6,effect: (e, t) => {var n = e.payload, r = n.handler, i = n.reactEvent;if (r != null) {var a = i.type, o = Gct(i);- W6.set(a, {+ G6.set(a, {handler: r,reactEvent: o});- var s = H6.get(a);- s !== void 0 && (cancelAnimationFrame(s), H6.delete(a));- var c = t.getState().eventSettings, l = c.throttleDelay, u = c.throttledEvents, d = u === "all" || u?.includes(a), f = U6.get(a);- f !== void 0 && (typeof l != "number" || !d) && (clearTimeout(f), U6.delete(a));+ var s = U6.get(a);+ s !== void 0 && (cancelAnimationFrame(s), U6.delete(a));+ var c = t.getState().eventSettings, l = c.throttleDelay, u = c.throttledEvents, d = u === "all" || u?.includes(a), f = W6.get(a);+ f !== void 0 && (typeof l != "number" || !d) && (clearTimeout(f), W6.delete(a));var p = () => {- var e = W6.get(a);+ var e = G6.get(a);try {if (!e) return;var n = e.handler, r = e.reactEvent, i = t.getState(), o = {activeCoordinate: m6e(i),activeDataKey: d6e(i),- activeIndex: $2(i),+ activeIndex: e4(i),activeLabel: u6e(i),- activeTooltipIndex: $2(i),+ activeTooltipIndex: e4(i),isTooltipActive: h6e(i)};n && n(o, r);} finally {- H6.delete(a), U6.delete(a), W6.delete(a);+ U6.delete(a), W6.delete(a), G6.delete(a);}};if (!d) p();else if (l === "raf") {var m = requestAnimationFrame(p);- H6.set(a, m);+ U6.set(a, m);} else if (typeof l == "number") {- if (!U6.has(a)) {+ if (!W6.has(a)) {p();var h = setTimeout(p, l);- U6.set(a, h);+ W6.set(a, h);}} else p();}}});var qct = X([- X([U2], (e) => e.tooltipItemPayloads),+ X([W2], (e) => e.tooltipItemPayloads),(e, t) => t,(e, t, n) => n], (e, t, n) => {@@ -103574,40 +103583,40 @@ var qct = X([if (i != null) return i(t);}}-}), Jct = zZ("touchMove"), Yct = eQ(), G6 = null, K6 = null, Xct = null, q6 = null;+}), Jct = BZ("touchMove"), Yct = tQ(), K6 = null, q6 = null, Xct = null, J6 = null;Yct.startListening({actionCreator: Jct,effect: (e, t) => {var n = e.payload;if (n.touches != null && n.touches.length !== 0) {- q6 = Gct(n);+ J6 = Gct(n);var r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a.includes("touchmove");- G6 !== null && (cancelAnimationFrame(G6), G6 = null), K6 !== null && (typeof i != "number" || !o) && (clearTimeout(K6), K6 = null), Xct = Array.from(n.touches).map((e) => M6({+ K6 !== null && (cancelAnimationFrame(K6), K6 = null), q6 !== null && (typeof i != "number" || !o) && (clearTimeout(q6), q6 = null), Xct = Array.from(n.touches).map((e) => N6({clientX: e.clientX,clientY: e.clientY,currentTarget: n.currentTarget}));var s = () => {- if (q6 != null) {- var e = t.getState(), n = I2(e, e.tooltip.settings.shared);+ if (J6 != null) {+ var e = t.getState(), n = L2(e, e.tooltip.settings.shared);if (n === "axis") {var r = Xct?.[0];if (r == null) {- G6 = null, K6 = null;+ K6 = null, q6 = null;return;}- var i = j6(e, r);+ var i = M6(e, r);i?.activeIndex != null && t.dispatch(x3e({activeIndex: i.activeIndex,activeDataKey: void 0,activeCoordinate: i.activeCoordinate}));} else if (n === "item") {- var a = q6.touches[0];+ var a = J6.touches[0];if (document.elementFromPoint == null || a == null) return;var o = document.elementFromPoint(a.clientX, a.clientY);if (!o || !o.getAttribute) return;- var s = o.getAttribute(wqe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = G2(e).find((e) => e.id === c);+ var s = o.getAttribute(wqe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = K2(e).find((e) => e.id === c);if (s == null || l == null || c == null) return;var u = l.dataKey, d = qct(e, s, c);t.dispatch(_3e({@@ -103617,18 +103626,18 @@ Yct.startListening({activeGraphicalItemId: c}));}- G6 = null, K6 = null;+ K6 = null, q6 = null;}};- o ? i === "raf" ? G6 = requestAnimationFrame(s) : typeof i == "number" && K6 === null && (s(), q6 = null, K6 = setTimeout(() => {- q6 ? s() : (K6 = null, G6 = null);+ o ? i === "raf" ? K6 = requestAnimationFrame(s) : typeof i == "number" && q6 === null && (s(), J6 = null, q6 = setTimeout(() => {+ J6 ? s() : (q6 = null, K6 = null);}, i)) : s();}}});//#endregion//#region node_modules/recharts/es6/state/eventSettingsSlice.js-var J6 = {+var Y6 = {throttleDelay: "raf",throttledEvents: ["mousemove",@@ -103637,11 +103646,11 @@ var J6 = {"scroll","wheel"]-}, Zct = HZ({+}, Zct = UZ({name: "eventSettings",- initialState: J6,+ initialState: Y6,reducers: { setEventSettings: (e, t) => {- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = RZ(t.payload.throttledEvents));+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = zZ(t.payload.throttledEvents));} }}), Qct = Zct.actions.setEventSettings, $ct = Zct.reducer, elt = yGe({brush: Trt,@@ -103675,7 +103684,7 @@ var J6 = {}).concat([Mct.middleware,Nct.middleware,- L6.middleware,+ R6.middleware,Kct.middleware,Yct.middleware]),@@ -103683,7 +103692,7 @@ var J6 = {var t = e;return typeof e == "function" && (t = e()), t.concat(dKe({ type: "raf" }));},- devTools: KQ.devToolsEnabled && {+ devTools: qQ.devToolsEnabled && {serialize: { replacer: Pct },name: `recharts-${t}`}@@ -103692,10 +103701,10 @@ var J6 = {//#endregion//#region node_modules/recharts/es6/state/RechartsStoreProvider.jsfunction nlt(e) {- var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = xQ(), a = (0, E.useRef)(null);+ var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = SQ(), a = (0, E.useRef)(null);if (i) return n;a.current ??= tlt(t, r);- var o = FX;+ var o = IX;return /*#__PURE__*/ E.createElement(IJe, {context: o,store: a.current@@ -103704,7 +103713,7 @@ function nlt(e) {//#endregion//#region node_modules/recharts/es6/state/ReportMainChartProps.jsfunction rlt(e) {- var t = e.layout, n = e.margin, r = IX(), i = xQ();+ var t = e.layout, n = e.margin, r = LX(), i = SQ();return (0, E.useEffect)(() => {i || (r($Ke(t)), r(QKe(n)));}, [@@ -103714,25 +103723,25 @@ function rlt(e) {n]), null;}-var ilt = /*#__PURE__*/ (0, E.memo)(rlt, zQ);+var ilt = /*#__PURE__*/ (0, E.memo)(rlt, BQ);//#endregion//#region node_modules/recharts/es6/state/ReportChartProps.jsfunction alt(e) {- var t = IX();+ var t = LX();return (0, E.useEffect)(() => {t(Rct(e));}, [t, e]), null;}var olt = /*#__PURE__*/ (0, E.memo)((e) => {- var t = IX();+ var t = LX();return (0, E.useEffect)(() => {t(Qct(e));}, [t, e]), null;-}, zQ);+}, BQ);//#endregion//#region node_modules/recharts/es6/zIndex/ZIndexPortal.jsfunction slt(e) {- var t = e.zIndex, n = e.isPanorama, r = (0, E.useRef)(null), i = IX();+ var t = e.zIndex, n = e.isPanorama, r = (0, E.useRef)(null), i = LX();return (0, E.useLayoutEffect)(() => (r.current && i(n8e({zIndex: t,element: r.current,@@ -103753,7 +103762,7 @@ function slt(e) {});}function clt(e) {- var t = e.children, n = e.isPanorama, r = RX(G6e);+ var t = e.children, n = e.isPanorama, r = zX(G6e);if (!r || r.length === 0) return t;var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);return /*#__PURE__*/ E.createElement(E.Fragment, null, i.map((e) => /*#__PURE__*/ E.createElement(slt, {@@ -103787,24 +103796,24 @@ function dlt(e, t) {}return n;}-function Y6() {- return Y6 = Object.assign ? Object.assign.bind() : function(e) {+function X6() {+ return X6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, Y6.apply(null, arguments);+ }, X6.apply(null, arguments);}var flt = {width: "100%",height: "100%",display: "block"}, plt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = AQ(), r = jQ(), i = XYe();- if (!iQ(n) || !iQ(r)) return null;+ var n = jQ(), r = MQ(), i = XYe();+ if (!aQ(n) || !aQ(r)) return null;var a = e.children, o = e.otherAttributes, s = e.title, c = e.desc, l, u;- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ E.createElement(bY, Y6({}, o, {+ return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ E.createElement(xY, X6({}, o, {title: s,desc: c,role: u,@@ -103815,10 +103824,10 @@ var flt = {ref: t}), a);}), mlt = (e) => {- var t = e.children, n = RX(CQ);+ var t = e.children, n = zX(wQ);if (!n) return null;var r = n.width, i = n.height, a = n.y, o = n.x;- return /*#__PURE__*/ E.createElement(bY, {+ return /*#__PURE__*/ E.createElement(xY, {width: r,height: i,x: o,@@ -103826,7 +103835,7 @@ var flt = {}, t);}, hlt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {var n = e.children, r = ult(e, llt);- return xQ() ? /*#__PURE__*/ E.createElement(mlt, null, /*#__PURE__*/ E.createElement(clt, { isPanorama: !0 }, n)) : /*#__PURE__*/ E.createElement(plt, Y6({ ref: t }, r), /*#__PURE__*/ E.createElement(clt, { isPanorama: !1 }, n));+ return SQ() ? /*#__PURE__*/ E.createElement(mlt, null, /*#__PURE__*/ E.createElement(clt, { isPanorama: !0 }, n)) : /*#__PURE__*/ E.createElement(plt, X6({ ref: t }, r), /*#__PURE__*/ E.createElement(clt, { isPanorama: !1 }, n));});//#endregion//#region node_modules/recharts/es6/util/useReportScale.js@@ -103873,11 +103882,11 @@ function xlt(e) {if (Array.isArray(e)) return e;}function Slt() {- var e = IX(), t = glt((0, E.useState)(null), 2), n = t[0], r = t[1], i = RX(Cqe);+ var e = LX(), t = glt((0, E.useState)(null), 2), n = t[0], r = t[1], i = zX(Cqe);return (0, E.useEffect)(() => {if (n != null) {var t = n.getBoundingClientRect().width / n.offsetWidth;- rQ(t) && t !== i && e(tqe(t));+ iQ(t) && t !== i && e(tqe(t));}}, [n,@@ -103930,16 +103939,16 @@ function Dlt(e, t) {}return (t === "string" ? String : Number)(e);}-function X6() {- return X6 = Object.assign ? Object.assign.bind() : function(e) {+function Z6() {+ return Z6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, X6.apply(null, arguments);+ }, Z6.apply(null, arguments);}-function Z6(e, t) {+function Q6(e, t) {return Mlt(e) || jlt(e, t) || klt(e, t) || Olt();}function Olt() {@@ -103982,7 +103991,7 @@ function Mlt(e) {if (Array.isArray(e)) return e;}var Nlt = () => (N8e(), null);-function Q6(e) {+function $6(e) {if (typeof e == "number") return e;if (typeof e == "string") {var t = parseFloat(e);@@ -103991,9 +104000,9 @@ function Q6(e) {return 0;}var Plt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = (0, E.useRef)(null), r = Z6((0, E.useState)({- containerWidth: Q6(e.style?.width),- containerHeight: Q6(e.style?.height)+ var n = (0, E.useRef)(null), r = Q6((0, E.useState)({+ containerWidth: $6(e.style?.width),+ containerHeight: $6(e.style?.height)}), 2), i = r[0], a = r[1], o = (0, E.useCallback)((e, t) => {a((n) => {var r = Math.round(e), i = Math.round(t);@@ -104018,14 +104027,14 @@ var Plt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {}, [t, o]);return (0, E.useEffect)(() => () => {n.current?.disconnect();- }, [o]), /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(LQ, {+ }, [o]), /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(RQ, {width: i.containerWidth,height: i.containerHeight- }), /*#__PURE__*/ E.createElement("div", X6({ ref: s }, e)));+ }), /*#__PURE__*/ E.createElement("div", Z6({ ref: s }, e)));}), Flt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = e.width, r = e.height, i = Z6((0, E.useState)({- containerWidth: Q6(n),- containerHeight: Q6(r)+ var n = e.width, r = e.height, i = Q6((0, E.useState)({+ containerWidth: $6(n),+ containerHeight: $6(r)}), 2), a = i[0], o = i[1], s = (0, E.useCallback)((e, t) => {o((n) => {var r = Math.round(e), i = Math.round(t);@@ -104040,32 +104049,32 @@ var Plt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {s(r, i);}}, [t, s]);- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(LQ, {+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(RQ, {width: a.containerWidth,height: a.containerHeight- }), /*#__PURE__*/ E.createElement("div", X6({ ref: c }, e)));+ }), /*#__PURE__*/ E.createElement("div", Z6({ ref: c }, e)));}), Ilt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {var n = e.width, r = e.height;- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(LQ, {+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(RQ, {width: n,height: r- }), /*#__PURE__*/ E.createElement("div", X6({ ref: t }, e)));+ }), /*#__PURE__*/ E.createElement("div", Z6({ ref: t }, e)));}), Llt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {var n = e.width, r = e.height;- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ E.createElement(Flt, X6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ E.createElement(Ilt, X6({}, e, {+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ E.createElement(Flt, Z6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ E.createElement(Ilt, Z6({}, e, {width: n,height: r,ref: t- })) : /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(LQ, {+ })) : /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(RQ, {width: n,height: r- }), /*#__PURE__*/ E.createElement("div", X6({ ref: t }, e)));+ }), /*#__PURE__*/ E.createElement("div", Z6({ ref: t }, e)));});function Rlt(e) {return e ? Plt : Llt;}var zlt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, b = y === void 0 || y, x = (0, E.useRef)(null), S = IX(), C = Z6((0, E.useState)(null), 2), w = C[0], T = C[1], D = Z6((0, E.useState)(null), 2), O = D[0], k = D[1], A = Slt(), j = DQ(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, E.useCallback)((e) => {+ var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, b = y === void 0 || y, x = (0, E.useRef)(null), S = LX(), C = Q6((0, E.useState)(null), 2), w = C[0], T = C[1], D = Q6((0, E.useState)(null), 2), O = D[0], k = D[1], A = Slt(), j = OQ(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, E.useCallback)((e) => {A(e), typeof t == "function" && t(e), T(e), k(e), e != null && (x.current = e);}, [A,@@ -104073,22 +104082,22 @@ var zlt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {T,k]), F = (0, E.useCallback)((e) => {- S(jct(e)), S(V6({+ S(jct(e)), S(H6({handler: a,reactEvent: e}));}, [S, a]), I = (0, E.useCallback)((e) => {- S(N6(e)), S(V6({+ S(P6(e)), S(H6({handler: l,reactEvent: e}));}, [S, l]), ee = (0, E.useCallback)((e) => {- S(y3e()), S(V6({+ S(y3e()), S(H6({handler: u,reactEvent: e}));}, [S, u]), L = (0, E.useCallback)((e) => {- S(N6(e)), S(V6({+ S(P6(e)), S(H6({handler: d,reactEvent: e}));@@ -104099,32 +104108,32 @@ var zlt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {}, [S]), re = (0, E.useCallback)((e) => {S(Hct(e.key));}, [S]), ie = (0, E.useCallback)((e) => {- S(V6({+ S(H6({handler: o,reactEvent: e}));}, [S, o]), ae = (0, E.useCallback)((e) => {- S(V6({+ S(H6({handler: s,reactEvent: e}));}, [S, s]), oe = (0, E.useCallback)((e) => {- S(V6({+ S(H6({handler: c,reactEvent: e}));}, [S, c]), se = (0, E.useCallback)((e) => {- S(V6({+ S(H6({handler: f,reactEvent: e}));}, [S, f]), ce = (0, E.useCallback)((e) => {- S(V6({+ S(H6({handler: h,reactEvent: e}));}, [S, h]), le = (0, E.useCallback)((e) => {- b && S(Jct(e)), S(V6({+ b && S(Jct(e)), S(H6({handler: m,reactEvent: e}));@@ -104133,7 +104142,7 @@ var zlt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {b,m]), ue = (0, E.useCallback)((e) => {- S(V6({+ S(H6({handler: p,reactEvent: e}));@@ -104194,8 +104203,8 @@ function Hlt(e, t) {return n;}var Ult = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = gY(Vlt(e, Blt));- return c ? /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(LQ, {+ var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = _Y(Vlt(e, Blt));+ return c ? /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(RQ, {width: n,height: r}), /*#__PURE__*/ E.createElement(hlt, {@@ -104228,14 +104237,14 @@ var Ult = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {});//#endregion//#region node_modules/recharts/es6/chart/CartesianChart.js-function $6() {- return $6 = Object.assign ? Object.assign.bind() : function(e) {+function e8() {+ return e8 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, $6.apply(null, arguments);+ }, e8.apply(null, arguments);}function Wlt(e, t) {var n = Object.keys(e);@@ -104295,8 +104304,8 @@ var Ylt = Glt({reverseStackOrder: !1,stackOffset: "none",syncMethod: "index"-}, J6), e8 = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- var n = vX(e.categoricalChartProps, Ylt), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {+}, Y6), t8 = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ var n = yX(e.categoricalChartProps, Ylt), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {chartName: r,defaultTooltipEventType: i,validateTooltipEventTypes: a,@@ -104324,26 +104333,26 @@ var Ylt = Glt({syncMethod: n.syncMethod,className: n.className,reverseStackOrder: n.reverseStackOrder- }), /*#__PURE__*/ E.createElement(Ult, $6({}, n, { ref: t })));-}), Xlt = ["axis"], Zlt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement(e8, {+ }), /*#__PURE__*/ E.createElement(Ult, e8({}, n, { ref: t })));+}), Xlt = ["axis"], Zlt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement(t8, {chartName: "LineChart",defaultTooltipEventType: "axis",validateTooltipEventTypes: Xlt,- tooltipPayloadSearcher: p4,+ tooltipPayloadSearcher: m4,categoricalChartProps: e,ref: t-})), Qlt = ["axis", "item"], $lt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement(e8, {+})), Qlt = ["axis", "item"], $lt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement(t8, {chartName: "BarChart",defaultTooltipEventType: "axis",validateTooltipEventTypes: Qlt,- tooltipPayloadSearcher: p4,+ tooltipPayloadSearcher: m4,categoricalChartProps: e,ref: t}));//#endregion//#region node_modules/recharts/es6/state/ReportPolarOptions.jsfunction eut(e) {- var t = IX();+ var t = LX();return (0, E.useEffect)(() => {t(Bct(e));}, [t, e]), null;@@ -104351,14 +104360,14 @@ function eut(e) {//#endregion//#region node_modules/recharts/es6/chart/PolarChart.jsvar tut = ["layout"];-function t8() {- return t8 = Object.assign ? Object.assign.bind() : function(e) {+function n8() {+ return n8 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, t8.apply(null, arguments);+ }, n8.apply(null, arguments);}function nut(e, t) {if (e == null) return {};@@ -104421,7 +104430,7 @@ function cut(e, t) {}return (t === "string" ? String : Number)(e);}-var n8 = aut({+var r8 = aut({accessibilityLayer: !0,stackOffset: "none",barCategoryGap: "10%",@@ -104440,8 +104449,8 @@ var n8 = aut({cy: "50%",innerRadius: 0,outerRadius: "80%"-}, J6), lut = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- var n = vX(e.categoricalChartProps, n8), r = n.layout, i = nut(n, tut), a = e.chartName, o = {+}, Y6), lut = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ var n = yX(e.categoricalChartProps, r8), r = n.layout, i = nut(n, tut), a = e.chartName, o = {chartName: a,defaultTooltipEventType: e.defaultTooltipEventType,validateTooltipEventTypes: e.validateTooltipEventTypes,@@ -104476,7 +104485,7 @@ var n8 = aut({endAngle: n.endAngle,innerRadius: n.innerRadius,outerRadius: n.outerRadius- }), /*#__PURE__*/ E.createElement(Ult, t8({}, i, { ref: t })));+ }), /*#__PURE__*/ E.createElement(Ult, n8({}, i, { ref: t })));});//#endregion//#region node_modules/recharts/es6/chart/RadarChart.js@@ -104523,25 +104532,25 @@ function mut(e, t) {}return (t === "string" ? String : Number)(e);}-var hut = ["axis"], gut = dut(dut({}, n8), {}, {+var hut = ["axis"], gut = dut(dut({}, r8), {}, {layout: "centric",startAngle: 90,endAngle: -270}), _ut = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = vX(e, gut);+ var n = yX(e, gut);return /*#__PURE__*/ E.createElement(lut, {chartName: "RadarChart",defaultTooltipEventType: "axis",validateTooltipEventTypes: hut,- tooltipPayloadSearcher: p4,+ tooltipPayloadSearcher: m4,categoricalChartProps: n,ref: t});-}), vut = ["axis"], yut = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement(e8, {+}), vut = ["axis"], yut = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement(t8, {chartName: "AreaChart",defaultTooltipEventType: "axis",validateTooltipEventTypes: vut,- tooltipPayloadSearcher: p4,+ tooltipPayloadSearcher: m4,categoricalChartProps: e,ref: t}));@@ -104590,42 +104599,42 @@ function wut(e, t) {}return (t === "string" ? String : Number)(e);}-var Tut = ["axis", "item"], Eut = xut(xut({}, n8), {}, {+var Tut = ["axis", "item"], Eut = xut(xut({}, r8), {}, {layout: "radial",startAngle: 0,endAngle: 360}), Dut = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = vX(e, Eut);+ var n = yX(e, Eut);return /*#__PURE__*/ E.createElement(lut, {chartName: "RadialBarChart",defaultTooltipEventType: "axis",validateTooltipEventTypes: Tut,- tooltipPayloadSearcher: p4,+ tooltipPayloadSearcher: m4,categoricalChartProps: n,ref: t});});//#endregion//#region src/react/charts/cn.ts-function r8(...e) {- return oO(Vv(e));+function i8(...e) {+ return lO(Vv(e));}//#endregion//#region src/react/evilcharts/registry/ui/recharts-chart.tsxvar Out = {light: "",dark: ".dark"-}, i8 = Object.keys(Out);+}, a8 = Object.keys(Out);function kut(e) {- for (let [t, n] of Object.entries(e)) if (n.colors && !i8.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${i8.join(", ")}). Received empty object or invalid keys.`);+ for (let [t, n] of Object.entries(e)) if (n.colors && !a8.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${a8.join(", ")}). Received empty object or invalid keys.`);}var Aut = E.createContext(null);-function a8() {+function o8() {let e = E.useContext(Aut);if (!e) throw Error("useChart must be used within a <ChartContainer />");return e;}-function o8({ id: e, config: t, initialDimension: n = {+function s8({ id: e, config: t, initialDimension: n = {width: 320,height: 200}, className: r, children: i, footer: a, ...o }) {@@ -104635,14 +104644,14 @@ function o8({ id: e, config: t, initialDimension: n = {children: /* @__PURE__ */ (0, D.jsxs)("div", {"data-slot": "chart","data-chart": c,- className: r8("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),+ className: i8("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),...o,children: [/* @__PURE__ */ (0, D.jsx)(Mut, {id: c,config: t}),- /* @__PURE__ */ (0, D.jsx)(OQ, {+ /* @__PURE__ */ (0, D.jsx)(kQ, {className: "min-h-0 w-full flex-1",initialDimension: n,children: i@@ -104652,7 +104661,7 @@ function o8({ id: e, config: t, initialDimension: n = {})});}-function s8({ isLoading: e }) {+function c8({ isLoading: e }) {return e ? /* @__PURE__ */ (0, D.jsx)("div", {className: "pointer-events-none absolute inset-0 z-20 flex items-center justify-center",children: /* @__PURE__ */ (0, D.jsxs)("div", {@@ -104676,18 +104685,18 @@ var Mut = ({ id: e, config: t }) => {if (!n.length) return null;let r = (e) => n.flatMap(([t, n]) => {let r = n.colors?.[e];- return !r || !Array.isArray(r) || r.length === 0 ? [] : jut(r, l8(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);+ return !r || !Array.isArray(r) || r.length === 0 ? [] : jut(r, u8(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);}).filter(Boolean).join("\n"), i = Object.entries(Out).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");return /* @__PURE__ */ (0, D.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });};-function c8(e, t, n) {+function l8(e, t, n) {if (typeof t != "object" || !t) return;let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;return n in t && typeof t[n] == "string" ? i = t[n] : r && n in r && typeof r[n] == "string" && (i = r[n]), i in e ? e[i] : e[n];}-function l8(e) {+function u8(e) {if (!e.colors) return 1;- let t = i8.map((t) => e.colors?.[t]?.length ?? 0);+ let t = a8.map((t) => e.colors?.[t]?.length ?? 0);return Math.max(...t, 1);}var Nut = (e = 10, t = 0, n = 70) => {@@ -104702,15 +104711,15 @@ var Nut = (e = 10, t = 0, n = 70) => {default: "bg-background","frosted-glass": "bg-background/70 backdrop-blur-sm"};-function u8({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {- let { config: h } = a8(), g = E.useMemo(() => {+function d8({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {+ let { config: h } = o8(), g = E.useMemo(() => {if (i || !t?.length) return null;- let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = c8(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;+ let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = l8(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;return s ? /* @__PURE__ */ (0, D.jsx)("div", {- className: r8("font-medium", c),+ className: i8("font-medium", c),children: s(a, t)}) : a ? /* @__PURE__ */ (0, D.jsx)("div", {- className: r8("font-medium", c),+ className: i8("font-medium", c),children: a}) : null;}, [@@ -104725,15 +104734,15 @@ function u8({ active: e, payload: t, className: n, indicator: r = "dot", hideLabif (!e || !t?.length) return /* @__PURE__ */ (0, D.jsx)("span", { className: "p-4" });let _ = t.length === 1 && r !== "dot";return /* @__PURE__ */ (0, D.jsxs)("div", {- className: r8("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", Put[p], Fut[m], n),+ className: i8("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", Put[p], Fut[m], n),children: [_ ? null : g, /* @__PURE__ */ (0, D.jsx)("div", {className: "grid gap-1.5",children: t.filter((e) => e.type !== "none").map((e, t) => {- let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = c8(h, e, n), o = i ? l8(i) : 1;+ let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = l8(h, e, n), o = i ? u8(i) : 1;return /* @__PURE__ */ (0, D.jsx)("div", {- className: r8("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),+ className: i8("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),children: l && e?.value !== void 0 && e.name ? l(e.value, e.name, e, t, e.payload) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [i?.icon ? /* @__PURE__ */ (0, D.jsx)(i.icon, {}) : !a && /* @__PURE__ */ (0, D.jsx)("div", {- className: r8("shrink-0 rounded-[2px]", {+ className: i8("shrink-0 rounded-[2px]", {"h-2.5 w-2.5": r === "dot","w-1": r === "line","w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",@@ -104741,7 +104750,7 @@ function u8({ active: e, payload: t, className: n, indicator: r = "dot", hideLab}),style: Iut(n, o)}), /* @__PURE__ */ (0, D.jsxs)("div", {- className: r8("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),+ className: i8("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "grid gap-1.5",children: [_ ? g : null, /* @__PURE__ */ (0, D.jsx)("span", {@@ -104761,20 +104770,20 @@ function u8({ active: e, payload: t, className: n, indicator: r = "dot", hideLabfunction Iut(e, t) {return t <= 1 ? { background: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };}-var d8 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, D.jsx)(X8e, {+var f8 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, D.jsx)(X8e, {animationDuration: e,...t});//#endregion//#region src/react/evilcharts/registry/ui/recharts-legend.tsx-function f8({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {- let { config: u } = a8();+function p8({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {+ let { config: u } = o8();return r?.length ? /* @__PURE__ */ (0, D.jsx)("div", {- className: r8("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),+ className: i8("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),children: r.filter((e) => e.type !== "none").map((e) => {- let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = c8(u, e, r), a = o === null || o === r, d = i ? l8(i) : 1;+ let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = l8(u, e, r), a = o === null || o === r, d = i ? u8(i) : 1;return /* @__PURE__ */ (0, D.jsxs)("div", {- className: r8("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),+ className: i8("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),onClick: () => {c && s?.(o === r ? null : r);},@@ -104838,7 +104847,7 @@ function zut(e, t) {...n};}-var p8 = dYe, m8 = () => null, But = {+var m8 = dYe, h8 = () => null, But = {stiffness: 300,damping: 35,mass: .8@@ -104970,7 +104979,7 @@ function Hut({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "return C === 0 ? null : /* @__PURE__ */ (0, D.jsxs)("div", {ref: x,"data-chart": b ? void 0 : w,- className: r8("group relative select-none", o),+ className: i8("group relative select-none", o),style: { height: a },children: [!b && /* @__PURE__ */ (0, D.jsx)(Mut, {@@ -105029,10 +105038,10 @@ function Uut({ side: e, position: t, label: n, bind: r }) {className: "absolute inset-y-0 z-10",style: { left: t },children: [/* @__PURE__ */ (0, D.jsx)("div", {- className: r8("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),+ className: i8("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),...r,children: /* @__PURE__ */ (0, D.jsx)("div", {- className: r8("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),+ className: i8("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),children: /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-[2px]",children: [@@ -105043,7 +105052,7 @@ function Uut({ side: e, position: t, label: n, bind: r }) {})})}), n && /* @__PURE__ */ (0, D.jsx)("div", {- className: r8("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),+ className: i8("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),children: n})]});@@ -105051,7 +105060,7 @@ function Uut({ side: e, position: t, label: n, bind: r }) {function Wut({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {let u = E.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({dataKey: e,- colorsCount: l8(t)+ colorsCount: u8(t)})), [n, t]), d = s === "dashed" || s === "animated-dashed" ? "4 4" : void 0, f = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [r === "area" && /* @__PURE__ */ (0, D.jsxs)("linearGradient", {id: `${a}-zm-vertical-fade`,x1: "0",@@ -105105,7 +105114,7 @@ function Wut({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart})})] })] }, e);})] });- if (r === "line") return /* @__PURE__ */ (0, D.jsx)(OQ, {+ if (r === "line") return /* @__PURE__ */ (0, D.jsx)(kQ, {width: "100%",height: "100%",children: /* @__PURE__ */ (0, D.jsxs)(Zlt, {@@ -105132,7 +105141,7 @@ function Wut({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart});if (r === "bar") {let n = l ?? 3;- return /* @__PURE__ */ (0, D.jsx)(OQ, {+ return /* @__PURE__ */ (0, D.jsx)(kQ, {width: "100%",height: "100%",children: /* @__PURE__ */ (0, D.jsxs)($lt, {@@ -105145,7 +105154,7 @@ function Wut({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart},barGap: 2,barSize: 14,- children: [/* @__PURE__ */ (0, D.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(E6, {+ children: [/* @__PURE__ */ (0, D.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(D6, {dataKey: e,fill: `url(#${a}-zm-${e})`,fillOpacity: .35,@@ -105161,7 +105170,7 @@ function Wut({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart})});}- return /* @__PURE__ */ (0, D.jsx)(OQ, {+ return /* @__PURE__ */ (0, D.jsx)(kQ, {width: "100%",height: "100%",children: /* @__PURE__ */ (0, D.jsxs)(yut, {@@ -105386,9 +105395,9 @@ var Kut = {})})};-function h8({ variant: e }) {+function g8({ variant: e }) {let t = (0, E.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = Kut[e];- return /* @__PURE__ */ (0, D.jsxs)(c4, {+ return /* @__PURE__ */ (0, D.jsxs)(l4, {zIndex: -1,children: [/* @__PURE__ */ (0, D.jsxs)("defs", { children: [/* @__PURE__ */ (0, D.jsx)(a, { id: n }),@@ -105424,14 +105433,14 @@ var qut = 2, Jut = "loading", Yut = 2e3, Xut = "evil-stacked", Zut = .5, Qut = ..5,1], edt = (0, E.createContext)(null);-function g8() {+function _8() {let e = (0, E.use)(edt);if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");return e;}-function _8({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = qut, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {+function v8({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = qut, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {let _ = (0, E.useId)().replace(/:/g, ""), [v] = (0, E.useState)(() => Date.now()), [y, b] = (0, E.useState)(f), [x, S] = (0, E.useState)(!1), { loadingData: C, onShimmerExit: w } = bdt(m, h), { visibleData: T, brushProps: O } = Gut({ data: t }), k = (0, E.useMemo)(() => {- let e = E.Children.toArray(n), t = e.find((e) => (0, E.isValidElement)(e) && e.type === m8), r = (0, E.isValidElement)(t) ? t.props : {};+ let e = E.Children.toArray(n), t = e.find((e) => (0, E.isValidElement)(e) && e.type === h8), r = (0, E.isValidElement)(t) ? t.props : {};return {slot: {present: (0, E.isValidElement)(t),@@ -105439,7 +105448,7 @@ function _8({ config: e, data: t, children: n, className: r, chartProps: i, stacformatLabel: r.formatLabel,onChange: r.onChange},- chartChildren: e.filter((e) => !((0, E.isValidElement)(e) && e.type === m8))+ chartChildren: e.filter((e) => !((0, E.isValidElement)(e) && e.type === h8))};}, [n]), A = k.slot.present, j = a === "stacked" || a === "percent", M = o === "horizontal", N = A && !m ? T : t, P = (0, E.useCallback)((e) => {b(e), p?.(e);@@ -105470,7 +105479,7 @@ function _8({ config: e, data: t, children: n, className: r, chartProps: i, stac]);return /* @__PURE__ */ (0, D.jsx)(edt, {value: F,- children: /* @__PURE__ */ (0, D.jsxs)(o8, {+ children: /* @__PURE__ */ (0, D.jsxs)(s8, {className: r,config: e,footer: A && !m && /* @__PURE__ */ (0, D.jsx)(Hut, {@@ -105489,7 +105498,7 @@ function _8({ config: e, data: t, children: n, className: r, chartProps: i, stacO.onChange(e), k.slot.onChange?.(e);}}),- children: [/* @__PURE__ */ (0, D.jsx)(s8, { isLoading: m }), /* @__PURE__ */ (0, D.jsxs)($lt, {+ children: [/* @__PURE__ */ (0, D.jsx)(c8, { isLoading: m }), /* @__PURE__ */ (0, D.jsxs)($lt, {id: _,accessibilityLayer: !0,layout: M ? "vertical" : "horizontal",@@ -105501,7 +105510,7 @@ function _8({ config: e, data: t, children: n, className: r, chartProps: i, staconMouseLeave: () => S(!1),...i,children: [- d && /* @__PURE__ */ (0, D.jsx)(h8, { variant: d }),+ d && /* @__PURE__ */ (0, D.jsx)(g8, { variant: d }),/* @__PURE__ */ (0, D.jsx)(rit, { color: "white" }),k.chartChildren,m && /* @__PURE__ */ (0, D.jsx)(xdt, {@@ -105514,7 +105523,7 @@ function _8({ config: e, data: t, children: n, className: r, chartProps: i, stac});}function tdt({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {- let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = g8(), b = (0, E.useId)().replace(/:/g, ""), x = j_();+ let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = _8(), b = (0, E.useId)().replace(/:/g, ""), x = j_();if (f) return null;let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {id: b,@@ -105534,7 +105543,7 @@ function tdt({ dataKey: e, variant: t = "default", radius: n, animationType: r,i && v(C ? null : e);}};- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(E6, {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(D6, {dataKey: e,stackId: u ? Xut : void 0,fill: `url(#${b}-colors-${e})`,@@ -105591,7 +105600,7 @@ function tdt({ dataKey: e, variant: t = "default", radius: n, animationType: r,] })] });}function ndt({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {- let { isLoading: o, isHorizontal: s } = g8();+ let { isLoading: o, isHorizontal: s } = _8();return o ? null : /* @__PURE__ */ (0, D.jsx)(gct, {tickLine: e,axisLine: t,@@ -105602,7 +105611,7 @@ function ndt({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap});}function rdt({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {- let { isLoading: s, isHorizontal: c } = g8();+ let { isLoading: s, isHorizontal: c } = _8();return s ? null : /* @__PURE__ */ (0, D.jsx)(kct, {tickLine: e,axisLine: t,@@ -105614,7 +105623,7 @@ function rdt({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap});}function idt({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {- let { isHorizontal: i } = g8();+ let { isHorizontal: i } = _8();return /* @__PURE__ */ (0, D.jsx)(mat, {strokeDasharray: e,vertical: t ?? i,@@ -105623,11 +105632,11 @@ function idt({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {});}function adt({ variant: e, roundness: t, defaultIndex: n }) {- let { isLoading: r, selectedDataKey: i } = g8();- return r ? null : /* @__PURE__ */ (0, D.jsx)(d8, {+ let { isLoading: r, selectedDataKey: i } = _8();+ return r ? null : /* @__PURE__ */ (0, D.jsx)(f8, {cursor: !1,defaultIndex: n,- content: /* @__PURE__ */ (0, D.jsx)(u8, {+ content: /* @__PURE__ */ (0, D.jsx)(d8, {selected: i,roundness: t,variant: e@@ -105635,11 +105644,11 @@ function adt({ variant: e, roundness: t, defaultIndex: n }) {});}function odt({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {- let { selectedDataKey: i, selectDataKey: a } = g8();- return /* @__PURE__ */ (0, D.jsx)(p8, {+ let { selectedDataKey: i, selectDataKey: a } = _8();+ return /* @__PURE__ */ (0, D.jsx)(m8, {verticalAlign: n,align: t,- content: /* @__PURE__ */ (0, D.jsx)(f8, {+ content: /* @__PURE__ */ (0, D.jsx)(p8, {selected: i,onSelectChange: a,isClickable: r,@@ -105660,7 +105669,7 @@ var sdt = (e) => {c,0,0- ] : c, j = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(i$, {+ ] : c, j = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(a$, {x: t,y: n,width: r,@@ -105671,7 +105680,7 @@ var sdt = (e) => {filter: E,stroke: S ? `url(#${a}-colors-${o})` : void 0,strokeWidth: S ? 1 : void 0- }), C && /* @__PURE__ */ (0, D.jsx)(i$, {+ }), C && /* @__PURE__ */ (0, D.jsx)(a$, {x: t,y: n - 4,width: r,@@ -105682,7 +105691,7 @@ var sdt = (e) => {return /* @__PURE__ */ (0, D.jsxs)("g", {style: k,onClick: b,- children: [/* @__PURE__ */ (0, D.jsx)(i$, {+ children: [/* @__PURE__ */ (0, D.jsx)(a$, {...e,fill: "transparent"}), w ? /* @__PURE__ */ (0, D.jsx)(N_.g, {@@ -105739,7 +105748,7 @@ var sdt = (e) => {let o = e && t !== null ? t === null || t === n ? 1 : .15 : 1;return r && i ? a ? o : o * .3 : o;}, ddt = ({ id: e, dataKey: t, config: n }) => {- let r = l8(n[t] ?? {});+ let r = u8(n[t] ?? {});return /* @__PURE__ */ (0, D.jsx)("linearGradient", {id: `${e}-colors-${t}`,x1: "0",@@ -105843,7 +105852,7 @@ var sdt = (e) => {})})] }), mdt = ({ id: e, dataKey: t, config: n }) => {- let r = l8(n[t] ?? {});+ let r = u8(n[t] ?? {});return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("linearGradient", {id: `${e}-duotone-mask-gradient-${t}`,@@ -105911,7 +105920,7 @@ var sdt = (e) => {})] });}, hdt = ({ id: e, dataKey: t, config: n }) => {- let r = l8(n[t] ?? {});+ let r = u8(n[t] ?? {});return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("linearGradient", {id: `${e}-duotone-reverse-mask-gradient-${t}`,@@ -106088,7 +106097,7 @@ function bdt(e, t = 12) {onShimmerExit: i};}-var xdt = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(E6, {+var xdt = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(D6, {dataKey: Jut,fill: "currentColor",fillOpacity: .15,@@ -106153,13 +106162,13 @@ var xdt = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fr})] });};-_8.Bar = tdt, _8.XAxis = ndt, _8.YAxis = rdt, _8.Grid = idt, _8.Tooltip = adt, _8.Legend = odt, _8.Brush = m8;+v8.Bar = tdt, v8.XAxis = ndt, v8.YAxis = rdt, v8.Grid = idt, v8.Tooltip = adt, v8.Legend = odt, v8.Brush = h8;//#endregion//#region src/react/charts/chart-card.tsx-var v8 = `${qk({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;-function y8({ title: e, children: t }) {+var y8 = `${Xk({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;+function b8({ title: e, children: t }) {return /* @__PURE__ */ (0, D.jsxs)("section", {- className: v8,+ className: y8,"aria-label": e,children: [/* @__PURE__ */ (0, D.jsx)("h3", {className: "text-title-2-medium text-text-primary",@@ -106170,31 +106179,31 @@ function y8({ title: e, children: t }) {})]});}-var Cdt = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, wdt = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), b8;+var Cdt = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, wdt = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), x8;function Tdt(e) {- if (b8 === void 0) try {- b8 = document.createElement("canvas").getContext("2d"), b8 && (b8.font = `12px ${getComputedStyle(document.body).fontFamily || "sans-serif"}`);+ if (x8 === void 0) try {+ x8 = document.createElement("canvas").getContext("2d"), x8 && (x8.font = `12px ${getComputedStyle(document.body).fontFamily || "sans-serif"}`);} catch {- b8 = null;+ x8 = null;}- return b8 ? b8.measureText(e).width : null;+ return x8 ? x8.measureText(e).width : null;}-var x8 = (e) => Tdt(e) ?? wdt(e).reduce((e, t) => e + Cdt(t), 0);+var S8 = (e) => Tdt(e) ?? wdt(e).reduce((e, t) => e + Cdt(t), 0);function Edt(e, t) {- if (x8(e) <= t) return e;+ if (S8(e) <= t) return e;let n = wdt(e), r = 0;- for (; r < n.length && x8(`${n.slice(0, r + 1).join("")}…`) <= t;) r += 1;+ for (; r < n.length && S8(`${n.slice(0, r + 1).join("")}…`) <= t;) r += 1;return `${n.slice(0, r).join("")}…`;}-var Ddt = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(x8)) + 12);-function S8(e) {+var Ddt = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(S8)) + 12);+function C8(e) {let { along: t, payload: n, width: r = 0, visibleTicksCount: i = 1, ...a } = e, o = String(n?.value ?? ""), s = t === "x" ? r / Math.max(1, i) - 2 : r - 8;- return /* @__PURE__ */ (0, D.jsxs)("g", { children: [/* @__PURE__ */ (0, D.jsx)("title", { children: o }), /* @__PURE__ */ (0, D.jsx)(C4, {+ return /* @__PURE__ */ (0, D.jsxs)("g", { children: [/* @__PURE__ */ (0, D.jsx)("title", { children: o }), /* @__PURE__ */ (0, D.jsx)(w4, {...a,children: Edt(o, s)})] });}-function C8({ title: e, figure: t, note: n }) {+function w8({ title: e, figure: t, note: n }) {return /* @__PURE__ */ (0, D.jsxs)("header", {className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",children: [/* @__PURE__ */ (0, D.jsxs)("span", {@@ -106212,18 +106221,18 @@ function C8({ title: e, figure: t, note: n }) {})]});}-var w8 = [+var T8 = ["var(--color-chart-1)","var(--color-chart-2)","var(--color-chart-3)","var(--color-chart-4)","var(--color-chart-5)","var(--color-chart-6)"-], T8 = (e) => ({ light: [e] }), E8 = (e) => `s${e}`;+], E8 = (e) => ({ light: [e] }), D8 = (e) => `s${e}`;function Odt(e) {- return Object.fromEntries(e.map((e, t) => [E8(t), {+ return Object.fromEntries(e.map((e, t) => [D8(t), {label: e,- colors: T8(w8[t % w8.length])+ colors: E8(T8[t % T8.length])}]));}//#endregion@@ -106246,7 +106255,7 @@ function Adt({ swatch: e, name: t, value: n }) {}var jdt = "size-2.5 shrink-0 rounded-xs";function Mdt({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {- let { config: o } = a8(), s = (t ?? []).filter((e) => e.type !== "none");+ let { config: o } = o8(), s = (t ?? []).filter((e) => e.type !== "none");if (!e || !s.length) return /* @__PURE__ */ (0, D.jsx)("span", { className: "p-4" });let c = a || typeof n != "string" ? null : o[n]?.label ?? n;return /* @__PURE__ */ (0, D.jsxs)("div", {@@ -106255,7 +106264,7 @@ function Mdt({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabclassName: "font-medium text-foreground",children: c}) : null, s.map((e, t) => {- let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = c8(o, e, a), c = i ? n[i] : e.value;+ let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = l8(o, e, a), c = i ? n[i] : e.value;return /* @__PURE__ */ (0, D.jsx)(Adt, {name: s?.label ?? e.name,value: Number(c ?? 0),@@ -106267,8 +106276,8 @@ function Mdt({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLab})]});}-function D8({ nameKey: e, valueKey: t, hideLabel: n }) {- return /* @__PURE__ */ (0, D.jsx)(d8, {+function O8({ nameKey: e, valueKey: t, hideLabel: n }) {+ return /* @__PURE__ */ (0, D.jsx)(f8, {cursor: !1,content: /* @__PURE__ */ (0, D.jsx)(Mdt, {nameKey: e,@@ -106279,7 +106288,7 @@ function D8({ nameKey: e, valueKey: t, hideLabel: n }) {}//#endregion//#region src/react/charts/bar-card.tsx-var O8 = [0, (e) => e * 1.2];+var k8 = [0, (e) => e * 1.2];function Ndt(e) {let t = Math.abs(e), n = (t, n) => {let r = e / t;@@ -106292,28 +106301,28 @@ var Pdt = (e) => ({className: "fill-text-secondary",formatter: (e) => Ndt(Number(e))});-function k8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout: o = "vertical" }) {+function A8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout: o = "vertical" }) {let s = r.filter((e) => Number.isFinite(e.value) && e.value >= 0).map((e) => ({name: e.name,value: e.value})), c = s.reduce((e, t) => e + t.value, 0);- if (!c) return /* @__PURE__ */ (0, D.jsx)(y8, {+ if (!c) return /* @__PURE__ */ (0, D.jsx)(b8, {title: e,children: a});let l = o === "horizontal";return /* @__PURE__ */ (0, D.jsxs)("section", {- className: v8,+ className: y8,"aria-label": e,- children: [/* @__PURE__ */ (0, D.jsx)(C8, {+ children: [/* @__PURE__ */ (0, D.jsx)(w8, {title: e,figure: c.toLocaleString(),note: t- }), /* @__PURE__ */ (0, D.jsxs)(_8, {+ }), /* @__PURE__ */ (0, D.jsxs)(v8, {data: s,config: { value: {label: n,- colors: T8(i)+ colors: E8(i)} },layout: o,barRadius: 4,@@ -106325,25 +106334,25 @@ function k8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:} } : void 0,className: l ? "aspect-auto h-64 flex-none text-text-secondary" : "aspect-auto h-56 flex-none text-text-secondary",children: [- /* @__PURE__ */ (0, D.jsx)(_8.Grid, {}),- l ? /* @__PURE__ */ (0, D.jsx)(_8.YAxis, {+ /* @__PURE__ */ (0, D.jsx)(v8.Grid, {}),+ l ? /* @__PURE__ */ (0, D.jsx)(v8.YAxis, {dataKey: "name",interval: 0,- tick: /* @__PURE__ */ (0, D.jsx)(S8, { along: "y" }),+ tick: /* @__PURE__ */ (0, D.jsx)(C8, { along: "y" }),width: Ddt(s.map((e) => e.name))- }) : /* @__PURE__ */ (0, D.jsx)(_8.XAxis, {+ }) : /* @__PURE__ */ (0, D.jsx)(v8.XAxis, {dataKey: "name",interval: 0,- tick: /* @__PURE__ */ (0, D.jsx)(S8, { along: "x" })+ tick: /* @__PURE__ */ (0, D.jsx)(C8, { along: "x" })}),- l ? /* @__PURE__ */ (0, D.jsx)(_8.XAxis, {+ l ? /* @__PURE__ */ (0, D.jsx)(v8.XAxis, {hide: !0,- domain: O8- }) : /* @__PURE__ */ (0, D.jsx)(_8.YAxis, {+ domain: k8+ }) : /* @__PURE__ */ (0, D.jsx)(v8.YAxis, {hide: !0,- domain: O8+ domain: k8}),- /* @__PURE__ */ (0, D.jsx)(_8.Bar, {+ /* @__PURE__ */ (0, D.jsx)(v8.Bar, {dataKey: "value",enableHoverHighlight: !0,barProps: {@@ -106351,7 +106360,7 @@ function k8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:label: Pdt(l ? "right" : "top")}}),- /* @__PURE__ */ (0, D.jsx)(D8, {})+ /* @__PURE__ */ (0, D.jsx)(O8, {})]})]});@@ -106414,7 +106423,7 @@ function Rdt(e) {}//#endregion//#region src/react/charts/heat-card.tsx-var A8 = 14, j8 = 17, zdt = {+var j8 = 14, M8 = 17, zdt = {4: {fill: "fill-chart-4",dot: "bg-chart-4"@@ -106447,18 +106456,18 @@ function Vdt({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {});}function Hdt({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {- let [l, u] = (0, E.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * j8, m = f + a * j8, h = (e) => ({- x: d + e % i * j8,- y: f + Math.floor(e / i) * j8- }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + A8 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {+ let [l, u] = (0, E.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * M8, m = f + a * M8, h = (e) => ({+ x: d + e % i * M8,+ y: f + Math.floor(e / i) * M8+ }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + j8 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {start: _.x,- center: _.x + A8 / 2,- end: _.x + A8+ center: _.x + j8 / 2,+ end: _.x + j8}[y] : 0;return /* @__PURE__ */ (0, D.jsxs)("section", {- className: v8,+ className: y8,children: [- /* @__PURE__ */ (0, D.jsx)(C8, {+ /* @__PURE__ */ (0, D.jsx)(w8, {title: e,figure: (g ? g.count : r).toLocaleString(),note: g ? g.label : t.unit@@ -106481,8 +106490,8 @@ function Hdt({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis"aria-label": `${e.label},${e.count} ${t.cellUnit}`,x: r,y: i,- width: A8,- height: A8,+ width: j8,+ height: j8,rx: 3,fillOpacity: e.share || 1,opacity: l >= 0 && l !== n ? .4 : 1,@@ -106511,12 +106520,12 @@ function Hdt({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis}var Udt = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [Fdt.map((e, t) => /* @__PURE__ */ (0, D.jsx)("text", {x: 0,- y: 18 + t * j8 + 7,+ y: 18 + t * M8 + 7,dominantBaseline: "middle",className: "fill-text-secondary text-caption-1-regular",children: e}, e)), Array.from({ length: 24 }, (e, t) => t % 2 ? null : /* @__PURE__ */ (0, D.jsx)("text", {- x: 30 + t * j8,+ x: 30 + t * M8,y: 8,dominantBaseline: "middle",className: "fill-text-secondary text-caption-1-regular",@@ -106546,7 +106555,7 @@ function Wdt({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: arows: 7,footer: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", { children: s.start }), /* @__PURE__ */ (0, D.jsx)("span", { children: s.end })] })})]- }) : /* @__PURE__ */ (0, D.jsx)(y8, {+ }) : /* @__PURE__ */ (0, D.jsx)(b8, {title: t,children: a});@@ -106594,19 +106603,19 @@ function Gdt({ children: e, className: t = "", previewCount: n = 10 }) {onClick: () => {c(!0), o((e) => !e);},- children: /* @__PURE__ */ (0, D.jsx)(Tk, { "aria-hidden": !0 })+ children: /* @__PURE__ */ (0, D.jsx)(Ok, { "aria-hidden": !0 })}) : null]});}//#endregion//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsxvar Kdt = "30%", qdt = "100%", Jdt = 5, Ydt = 14, Xdt = 5, Zdt = 1500, Qdt = (0, E.createContext)(null);-function M8() {+function N8() {let e = (0, E.use)(Qdt);if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");return e;}-function N8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = Kdt, outerRadius: l = qdt, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {+function P8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = Kdt, outerRadius: l = qdt, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {let m = (0, E.useId)().replace(/:/g, ""), [h, g] = (0, E.useState)(u), _ = aft(f), v = nft(o), y = (0, E.useCallback)((e, t) => {g(e), d?.(e === null ? null : {dataKey: e,@@ -106636,10 +106645,10 @@ function N8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr]);return /* @__PURE__ */ (0, D.jsx)(Qdt, {value: x,- children: /* @__PURE__ */ (0, D.jsxs)(o8, {+ children: /* @__PURE__ */ (0, D.jsxs)(s8, {className: i,config: e,- children: [/* @__PURE__ */ (0, D.jsx)(s8, { isLoading: f }), /* @__PURE__ */ (0, D.jsxs)(Dut, {+ children: [/* @__PURE__ */ (0, D.jsx)(c8, { isLoading: f }), /* @__PURE__ */ (0, D.jsxs)(Dut, {id: m,data: f ? _ : b,innerRadius: c,@@ -106650,13 +106659,13 @@ function N8({ config: e, data: t, nameKey: n, children: r, className: i, chartPrcy: v.cy,...a,children: [- s != null && s > 0 && /* @__PURE__ */ (0, D.jsx)(e3, {+ s != null && s > 0 && /* @__PURE__ */ (0, D.jsx)(t3, {type: "number",domain: [0, s],tick: !1,axisLine: !1}),- p && /* @__PURE__ */ (0, D.jsx)(h8, { variant: p }),+ p && /* @__PURE__ */ (0, D.jsx)(g8, { variant: p }),r,f && /* @__PURE__ */ (0, D.jsx)(oft, {}),/* @__PURE__ */ (0, D.jsx)("defs", { children: /* @__PURE__ */ (0, D.jsx)(rft, {@@ -106669,8 +106678,8 @@ function N8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr});}function $dt({ dataKey: e, cornerRadius: t = Jdt, barSize: n = Ydt, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {- let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = M8();- return s ? null : /* @__PURE__ */ (0, D.jsx)(U3, {+ let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = N8();+ return s ? null : /* @__PURE__ */ (0, D.jsx)(W3, {dataKey: e,cornerRadius: t,barSize: n,@@ -106684,7 +106693,7 @@ function $dt({ dataKey: e, cornerRadius: t = Jdt, barSize: n = Ydt, showBackgrou},shape: (e) => {let t = e[o], n = c === null || c === t;- return /* @__PURE__ */ (0, D.jsx)(d$, {+ return /* @__PURE__ */ (0, D.jsx)(f$, {...e,opacity: i && !n ? .15 : 1,className: "transition-opacity duration-200"@@ -106694,11 +106703,11 @@ function $dt({ dataKey: e, cornerRadius: t = Jdt, barSize: n = Ydt, showBackgrou});}function eft({ variant: e, roundness: t, defaultIndex: n }) {- let { nameKey: r, isLoading: i } = M8();- return i ? null : /* @__PURE__ */ (0, D.jsx)(d8, {+ let { nameKey: r, isLoading: i } = N8();+ return i ? null : /* @__PURE__ */ (0, D.jsx)(f8, {defaultIndex: n,cursor: !1,- content: /* @__PURE__ */ (0, D.jsx)(u8, {+ content: /* @__PURE__ */ (0, D.jsx)(d8, {nameKey: r,hideLabel: !0,roundness: t,@@ -106707,11 +106716,11 @@ function eft({ variant: e, roundness: t, defaultIndex: n }) {});}function tft({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {- let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = M8();- return a ? null : /* @__PURE__ */ (0, D.jsx)(p8, {+ let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = N8();+ return a ? null : /* @__PURE__ */ (0, D.jsx)(m8, {verticalAlign: n,align: t,- content: /* @__PURE__ */ (0, D.jsx)(f8, {+ content: /* @__PURE__ */ (0, D.jsx)(p8, {selected: o,onSelectChange: s,isClickable: r,@@ -106737,7 +106746,7 @@ function nft(e) {}}var rft = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, D.jsx)(D.Fragment, { children: Object.entries(e).map(([e, n]) => {- let r = l8(n);+ let r = u8(n);return /* @__PURE__ */ (0, D.jsx)("linearGradient", {id: `${t}-radial-colors-${e}`,x1: "0",@@ -106775,7 +106784,7 @@ function aft(e) {return () => clearInterval(t);}, [e]), (0, E.useMemo)(() => ift(), [t]);}-var oft = () => /* @__PURE__ */ (0, D.jsx)(U3, {+var oft = () => /* @__PURE__ */ (0, D.jsx)(W3, {dataKey: "value",cornerRadius: Jdt,barSize: Ydt,@@ -106783,13 +106792,13 @@ var oft = () => /* @__PURE__ */ (0, D.jsx)(U3, {isAnimationActive: !0,animationDuration: Zdt,animationEasing: "ease-in-out",- shape: (e) => /* @__PURE__ */ (0, D.jsx)(d$, {+ shape: (e) => /* @__PURE__ */ (0, D.jsx)(f$, {...e,fill: "currentColor",fillOpacity: .25})});-N8.RadialBar = $dt, N8.Tooltip = eft, N8.Legend = tft;+P8.RadialBar = $dt, P8.Tooltip = eft, P8.Legend = tft;//#endregion//#region src/react/stats/radial-card.tsxvar sft = [@@ -106809,17 +106818,17 @@ var sft = [];function lft({ title: e, rows: t, empty: n, unit: r = "个视频" }) {let [i, a] = (0, E.useState)(-1), [o, s] = (0, E.useState)(-1), c = wVe(t);- if (!c.length) return /* @__PURE__ */ (0, D.jsx)(y8, {+ if (!c.length) return /* @__PURE__ */ (0, D.jsx)(b8, {title: e,children: n});let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = TVe(c.map((e) => e.value)), m = c.map((e, t) => ({- slice: E8(t),+ slice: D8(t),value: e.value,arc: EVe(e.value, p)}));return /* @__PURE__ */ (0, D.jsxs)("section", {- className: v8,+ className: y8,children: [/* @__PURE__ */ (0, D.jsxs)("header", {className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",@@ -106827,7 +106836,7 @@ function lft({ title: e, rows: t, empty: n, unit: r = "个视频" }) {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, D.jsxs)("h3", {className: "flex items-center gap-1.5 text-title-2-medium wrap-anywhere text-text-primary",- children: [d?.mark ? /* @__PURE__ */ (0, D.jsx)(_A, { mark: d.mark }) : null, d ? d.name : e]+ children: [d?.mark ? /* @__PURE__ */ (0, D.jsx)(bA, { mark: d.mark }) : null, d ? d.name : e]}), /* @__PURE__ */ (0, D.jsx)("b", {className: "text-display-4-medium tabular-nums text-text-primary",children: (d ? d.value : u).toLocaleString()@@ -106841,18 +106850,18 @@ function lft({ title: e, rows: t, empty: n, unit: r = "个视频" }) {role: "img","aria-label": e,onPointerLeave: () => s(-1),- children: /* @__PURE__ */ (0, D.jsxs)(N8, {+ children: /* @__PURE__ */ (0, D.jsxs)(P8, {data: m,nameKey: "slice",config: Odt(c.map((e) => e.name)),max: p,innerRadius: "22%",className: "aspect-auto h-75 max-sm:h-65",- children: [/* @__PURE__ */ (0, D.jsx)(N8.RadialBar, {+ children: [/* @__PURE__ */ (0, D.jsx)(P8.RadialBar, {dataKey: "arc",barSize: DVe(c.length),radialBarProps: {- shape: (e) => /* @__PURE__ */ (0, D.jsx)(d$, {+ shape: (e) => /* @__PURE__ */ (0, D.jsx)(f$, {...e,opacity: l >= 0 && l !== e.index ? .3 : 1,className: "cursor-pointer transition-opacity duration-200"@@ -106860,7 +106869,7 @@ function lft({ title: e, rows: t, empty: n, unit: r = "个视频" }) {onClick: (e, t) => f(t),onMouseEnter: (e, t) => s(t)}- }), /* @__PURE__ */ (0, D.jsx)(D8, {+ }), /* @__PURE__ */ (0, D.jsx)(O8, {nameKey: "slice",valueKey: "value",hideLabel: !0@@ -106886,7 +106895,7 @@ function lft({ title: e, rows: t, empty: n, unit: r = "个视频" }) {className: `mt-0.5 size-3 shrink-0 rounded-sm ${sft[t % 6]}`}), /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex min-w-0 items-start gap-1.5 wrap-anywhere",- children: [e.mark ? /* @__PURE__ */ (0, D.jsx)(_A, { mark: e.mark }) : null, e.name]+ children: [e.mark ? /* @__PURE__ */ (0, D.jsx)(bA, { mark: e.mark }) : null, e.name]})]}),/* @__PURE__ */ (0, D.jsx)("b", {@@ -106898,15 +106907,15 @@ function lft({ title: e, rows: t, empty: n, unit: r = "个视频" }) {children: dn(e.bytes)})]- }, E8(t)))+ }, D8(t)))})]});}//#endregion//#region src/react/stats/stats-page.tsx-var uft = 10, P8 = w8[5], dft = w8[4], fft = `${qk()} flex flex-col gap-4`, F8 = "添加媒体目录或关注来源后,这里会显示馆藏统计。", pft = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", mft = "开始播放后,这里会显示最近的真实观看证据。", hft = "补充作品资料或手动添加标签后,这里会显示各个标签来源对应的视频数量。", gft = "添加媒体目录后,这里会显示存储空间。", _ft = "把媒体目录归进媒体库后,这里会按库显示视频数。", vft = "探测时长后,这里会显示时长分布。", yft = "探测画质后,这里会显示画质分布。", bft = "开始播放后,这里会显示播放落在一周的哪些时段。", xft = "开始播放后,这里会显示每个作品播了几次。", I8 = (e, t) => Math.min(Math.max(e, 0), t);-function L8({ term: e, value: t }) {+var uft = 10, F8 = T8[5], dft = T8[4], fft = `${Xk()} flex flex-col gap-4`, I8 = "添加媒体目录或关注来源后,这里会显示馆藏统计。", pft = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", mft = "开始播放后,这里会显示最近的真实观看证据。", hft = "补充作品资料或手动添加标签后,这里会显示各个标签来源对应的视频数量。", gft = "添加媒体目录后,这里会显示存储空间。", _ft = "把媒体目录归进媒体库后,这里会按库显示视频数。", vft = "探测时长后,这里会显示时长分布。", yft = "探测画质后,这里会显示画质分布。", bft = "开始播放后,这里会显示播放落在一周的哪些时段。", xft = "开始播放后,这里会显示每个作品播了几次。", L8 = (e, t) => Math.min(Math.max(e, 0), t);+function R8({ term: e, value: t }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",children: [/* @__PURE__ */ (0, D.jsx)("span", {@@ -106914,11 +106923,11 @@ function L8({ term: e, value: t }) {children: e}), /* @__PURE__ */ (0, D.jsx)("b", {className: "text-title-3-medium tabular-nums text-text-primary",- children: pY(t)+ children: mY(t)})]});}-function R8({ term: e, value: t, total: n }) {+function z8({ term: e, value: t, total: n }) {let r = Math.max(n, 1);return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",@@ -106926,19 +106935,19 @@ function R8({ term: e, value: t, total: n }) {className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",children: [/* @__PURE__ */ (0, D.jsx)("span", { children: e }), /* @__PURE__ */ (0, D.jsxs)("b", {className: "tabular-nums",- children: [pY(t), fY(t) ? /* @__PURE__ */ (0, D.jsx)("span", {+ children: [mY(t), pY(t) ? /* @__PURE__ */ (0, D.jsx)("span", {className: "ml-1.5 text-caption-1-regular text-text-secondary",- children: mY(t, n)+ children: hY(t, n)}) : null]})]- }), /* @__PURE__ */ (0, D.jsx)(tA, {- label: `${e}:${pY(t)} / ${n.toLocaleString()}`,- value: fY(t) ? I8(t, r) : 0,+ }), /* @__PURE__ */ (0, D.jsx)(iA, {+ label: `${e}:${mY(t)} / ${n.toLocaleString()}`,+ value: pY(t) ? L8(t, r) : 0,max: r})]});}-function z8({ term: e, figure: t, unit: n }) {+function B8({ term: e, figure: t, unit: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-64 md:pr-6 md:pb-0",children: [@@ -106957,7 +106966,7 @@ function z8({ term: e, figure: t, unit: n }) {]});}-function B8({ headline: e, children: t }) {+function V8({ headline: e, children: t }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: `${fft} md:flex-row md:gap-6`,children: [e, /* @__PURE__ */ (0, D.jsx)("div", {@@ -106973,7 +106982,7 @@ function Sft({ data: e, openMediaSettings: t }) {className: "inline-grid w-full gap-5 md:grid-cols-2",children: [/* @__PURE__ */ (0, D.jsx)(lft, {title: "网盘与本地",- empty: F8,+ empty: I8,rows: e.by_loc.map((e) => ({name: _n[e.k] ?? e.k,value: e.videos,@@ -106993,47 +107002,47 @@ function Sft({ data: e, openMediaSettings: t }) {}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3",children: [- /* @__PURE__ */ (0, D.jsx)(k8, {+ /* @__PURE__ */ (0, D.jsx)(A8, {title: "时长",unit: "个视频",series: "视频",- color: P8,+ color: F8,rows: MVe(e.by_length),empty: vft}),- /* @__PURE__ */ (0, D.jsx)(k8, {+ /* @__PURE__ */ (0, D.jsx)(A8, {title: "画质",unit: "个视频",series: "视频",- color: P8,+ color: F8,rows: jVe(e.by_quality),empty: yft}),- /* @__PURE__ */ (0, D.jsx)(k8, {+ /* @__PURE__ */ (0, D.jsx)(A8, {title: "文件类型",unit: "个条目",series: "条目",- color: P8,+ color: F8,layout: "horizontal",rows: kVe(e.by_medium),- empty: F8+ empty: I8})]})]- }) : /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: tye,+ }) : /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: $ve,title: "还没有视频",actions: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(q, {size: "small",onClick: t,children: "添加媒体"- }), /* @__PURE__ */ (0, D.jsx)(Wk, {+ }), /* @__PURE__ */ (0, D.jsx)(qk, {variant: "secondary",href: "/subscriptions?tab=add",size: "small",children: "添加关注"})] }),- children: F8+ children: I8});}function Cft({ data: e }) {@@ -107048,7 +107057,7 @@ function Cft({ data: e }) {},tone: 5,empty: bft- }), /* @__PURE__ */ (0, D.jsx)(k8, {+ }), /* @__PURE__ */ (0, D.jsx)(A8, {title: "播放次数",unit: "个作品",series: "作品",@@ -107062,27 +107071,27 @@ function wft({ attribution: e }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col",children: [- /* @__PURE__ */ (0, D.jsx)(R8, {+ /* @__PURE__ */ (0, D.jsx)(z8, {term: "有创作者",value: e.creator,total: t}),- /* @__PURE__ */ (0, D.jsx)(R8, {+ /* @__PURE__ */ (0, D.jsx)(z8, {term: "有番号",value: e.code,total: t}),- /* @__PURE__ */ (0, D.jsx)(R8, {+ /* @__PURE__ */ (0, D.jsx)(z8, {term: "有厂牌",value: e.studio,total: t}),- /* @__PURE__ */ (0, D.jsx)(R8, {+ /* @__PURE__ */ (0, D.jsx)(z8, {term: "已抽帧",value: e.thumb,total: t}),- /* @__PURE__ */ (0, D.jsx)(R8, {+ /* @__PURE__ */ (0, D.jsx)(z8, {term: "已探测时长",value: e.duration,total: t@@ -107100,17 +107109,17 @@ function Tft({ volume: e }) {children: [/* @__PURE__ */ (0, D.jsx)("h3", {className: "min-w-0 break-words",children: e.label- }), t == null ? e.online ? /* @__PURE__ */ (0, D.jsx)(TV, { children: "容量未取得" }) : /* @__PURE__ */ (0, D.jsx)(qV, { online: !1 }) : /* @__PURE__ */ (0, D.jsxs)("b", {+ }), t == null ? e.online ? /* @__PURE__ */ (0, D.jsx)(OV, { children: "容量未取得" }) : /* @__PURE__ */ (0, D.jsx)(XV, { online: !1 }) : /* @__PURE__ */ (0, D.jsxs)("b", {className: "whitespace-nowrap tabular-nums",children: [dn(n), /* @__PURE__ */ (0, D.jsx)("span", {className: "ml-1.5 text-caption-1-regular text-text-secondary",- children: mY(n, t)+ children: hY(n, t)})]})]}),- t == null ? null : /* @__PURE__ */ (0, D.jsx)(tA, {+ t == null ? null : /* @__PURE__ */ (0, D.jsx)(iA, {label: `${e.label}空间使用率`,- value: I8(n, Math.max(t, 1)),+ value: L8(n, Math.max(t, 1)),max: Math.max(t, 1)}),/* @__PURE__ */ (0, D.jsxs)("p", {@@ -107130,8 +107139,8 @@ function Eft({ volumes: e, openMediaSettings: t }) {return e.length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "flex flex-col",children: e.map((e) => /* @__PURE__ */ (0, D.jsx)(Tft, { volume: e }, `${e.kind}:${e.label}`))- }) : /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: Fk,+ }) : /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: Rk,title: "还没有存储来源",actions: /* @__PURE__ */ (0, D.jsx)(q, {size: "small",@@ -107167,10 +107176,10 @@ function Dft({ tags: e, tagLabel: t, onTag: n, hasMedia: r }) {]})}, `${e.k}:${r}`))- }) : /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: Rk,+ }) : /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: Vk,title: "还没有内容标签",- actions: /* @__PURE__ */ (0, D.jsx)(Wk, {+ actions: /* @__PURE__ */ (0, D.jsx)(qk, {variant: "secondary",href: r ? "/data-cleanup" : "/settings/library",size: "small",@@ -107205,7 +107214,7 @@ function Oft({ rows: e, hasMedia: t }) {})]}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "min-w-0 basis-40",- children: [/* @__PURE__ */ (0, D.jsx)(tA, {+ children: [/* @__PURE__ */ (0, D.jsx)(iA, {label: `真实观看 ${t.toFixed(0)}%`,value: t}), /* @__PURE__ */ (0, D.jsx)("small", {@@ -107215,10 +107224,10 @@ function Oft({ rows: e, hasMedia: t }) {})]}, `${e.kind}:${e.id}`);})- }) : /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: Ik,+ }) : /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: zk,title: "还没有观看记录",- actions: /* @__PURE__ */ (0, D.jsx)(Wk, {+ actions: /* @__PURE__ */ (0, D.jsx)(qk, {variant: "secondary",href: t ? "/" : "/settings/library",size: "small",@@ -107246,9 +107255,9 @@ function kft({ sources: e, videos: t }) {})]})]}),- /* @__PURE__ */ (0, D.jsx)(tA, {+ /* @__PURE__ */ (0, D.jsx)(iA, {label: `${e.k} 覆盖视频`,- value: I8(e.assets, Math.max(t, 1)),+ value: L8(e.assets, Math.max(t, 1)),max: Math.max(t, 1)}),/* @__PURE__ */ (0, D.jsxs)("small", {@@ -107257,10 +107266,10 @@ function kft({ sources: e, videos: t }) {})]}, e.k))- }) : /* @__PURE__ */ (0, D.jsx)(Zk, {- icon: Rk,+ }) : /* @__PURE__ */ (0, D.jsx)(eA, {+ icon: Vk,title: "还没有标签来源",- actions: /* @__PURE__ */ (0, D.jsx)(Wk, {+ actions: /* @__PURE__ */ (0, D.jsx)(qk, {variant: "secondary",href: t ? "/data-cleanup" : "/settings/library",size: "small",@@ -107269,14 +107278,14 @@ function kft({ sources: e, videos: t }) {children: hft});}-function V8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {- return /* @__PURE__ */ (0, D.jsx)(tP, {+function H8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {+ return /* @__PURE__ */ (0, D.jsx)(iP, {id: e,- className: oV({+ className: lV({interactive: !0,selectable: !0}),- children: /* @__PURE__ */ (0, D.jsx)(uV, {+ children: /* @__PURE__ */ (0, D.jsx)(pV, {label: t,icon: i,accent: a,@@ -107290,107 +107299,107 @@ function Aft(e) {queryKey: hVe,queryFn: ({ signal: e }) => gVe(e)}), n = t.data;- if (!n) return /* @__PURE__ */ (0, D.jsx)($k, { children: /* @__PURE__ */ (0, D.jsx)(J, {+ if (!n) return /* @__PURE__ */ (0, D.jsx)(nA, { children: /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: "馆藏统计读取失败",children: t.error ? V(t.error) : "未取得统计数据,请刷新页面重试。"}) });- let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = fY(n.tag_cov) ? mY(n.tag_cov, n.attribution.videos) : "未取得", c = `${pY(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;- return /* @__PURE__ */ (0, D.jsxs)($k, { children: [+ let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = pY(n.tag_cov) ? hY(n.tag_cov, n.attribution.videos) : "未取得", c = `${mY(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;+ return /* @__PURE__ */ (0, D.jsxs)(nA, { children: [/* @__PURE__ */ (0, D.jsx)("p", {className: "text-caption-1-regular text-text-secondary",children: `数据库中的当前统计 · ${a.toLocaleString()} 个视频 · ${dn(o)}`}),- /* @__PURE__ */ (0, D.jsxs)($N, {+ /* @__PURE__ */ (0, D.jsxs)(nP, {defaultSelectedKey: "inventory",className: "flex flex-col gap-4",children: [- /* @__PURE__ */ (0, D.jsxs)(eP, {+ /* @__PURE__ */ (0, D.jsxs)(rP, {"aria-label": "统计视图",- className: sV,+ className: uV,children: [- /* @__PURE__ */ (0, D.jsx)(V8, {+ /* @__PURE__ */ (0, D.jsx)(H8, {id: "inventory",label: "馆藏视频",- icon: Ak,+ icon: Nk,accent: 0,figure: a.toLocaleString(),detail: dn(o)}),- /* @__PURE__ */ (0, D.jsx)(V8, {+ /* @__PURE__ */ (0, D.jsx)(H8, {id: "viewing",label: "看过",- icon: jve,+ icon: kve,accent: 1,- figure: pY(r.played),+ figure: mY(r.played),detail: yVe(r.play_seconds)}),- /* @__PURE__ */ (0, D.jsx)(V8, {+ /* @__PURE__ */ (0, D.jsx)(H8, {id: "coverage",label: "内容标签",- icon: Rk,+ icon: Vk,accent: 2,figure: s,detail: c}),- /* @__PURE__ */ (0, D.jsx)(V8, {+ /* @__PURE__ */ (0, D.jsx)(H8, {id: "storage",label: "使用空间",- icon: Fk,+ icon: Rk,accent: 3,figure: `${i.online.toLocaleString()} 个卷`,detail: i.measured ? `已用 ${dn(i.used)}` : "容量未取得"})]}),- /* @__PURE__ */ (0, D.jsx)(nP, {+ /* @__PURE__ */ (0, D.jsx)(aP, {id: "inventory",children: /* @__PURE__ */ (0, D.jsx)(Sft, {data: n,...e})}),- /* @__PURE__ */ (0, D.jsxs)(nP, {+ /* @__PURE__ */ (0, D.jsxs)(aP, {id: "viewing",className: "flex flex-col gap-5",- children: [/* @__PURE__ */ (0, D.jsx)(B8, {- headline: /* @__PURE__ */ (0, D.jsx)(z8, {+ children: [/* @__PURE__ */ (0, D.jsx)(V8, {+ headline: /* @__PURE__ */ (0, D.jsx)(B8, {term: "观看",- figure: pY(r.played),+ figure: mY(r.played),unit: "个作品有播放记录"}),children: /* @__PURE__ */ (0, D.jsxs)("div", {className: "inline-grid w-full gap-3 sm:grid-cols-2",children: [- /* @__PURE__ */ (0, D.jsx)(L8, {+ /* @__PURE__ */ (0, D.jsx)(R8, {term: "馆藏观看",value: r.library_played}),- /* @__PURE__ */ (0, D.jsx)(L8, {+ /* @__PURE__ */ (0, D.jsx)(R8, {term: "在线直接观看",value: r.online_played}),- /* @__PURE__ */ (0, D.jsx)(L8, {+ /* @__PURE__ */ (0, D.jsx)(R8, {term: "高潮计数",value: r.o_total}),- /* @__PURE__ */ (0, D.jsx)(L8, {+ /* @__PURE__ */ (0, D.jsx)(R8, {term: "快进扫过",value: r.skimmed}),- /* @__PURE__ */ (0, D.jsx)(L8, {+ /* @__PURE__ */ (0, D.jsx)(R8, {term: "喜欢",value: r.liked}),- /* @__PURE__ */ (0, D.jsx)(L8, {+ /* @__PURE__ */ (0, D.jsx)(R8, {term: "明确不喜欢",value: r.dislike}),- /* @__PURE__ */ (0, D.jsx)(L8, {+ /* @__PURE__ */ (0, D.jsx)(R8, {term: "看过了",value: r.seen}),- /* @__PURE__ */ (0, D.jsx)(L8, {+ /* @__PURE__ */ (0, D.jsx)(R8, {term: "回收站",value: r.trash})@@ -107398,10 +107407,10 @@ function Aft(e) {})}), /* @__PURE__ */ (0, D.jsx)(Cft, { data: n })]}),- /* @__PURE__ */ (0, D.jsx)(nP, {+ /* @__PURE__ */ (0, D.jsx)(aP, {id: "coverage",- children: /* @__PURE__ */ (0, D.jsx)(B8, {- headline: /* @__PURE__ */ (0, D.jsx)(z8, {+ children: /* @__PURE__ */ (0, D.jsx)(V8, {+ headline: /* @__PURE__ */ (0, D.jsx)(B8, {term: "内容标签覆盖",figure: s,unit: c@@ -107409,10 +107418,10 @@ function Aft(e) {children: /* @__PURE__ */ (0, D.jsx)(wft, { attribution: n.attribution })})}),- /* @__PURE__ */ (0, D.jsx)(nP, {+ /* @__PURE__ */ (0, D.jsx)(aP, {id: "storage",- children: /* @__PURE__ */ (0, D.jsx)(B8, {- headline: /* @__PURE__ */ (0, D.jsx)(z8, {+ children: /* @__PURE__ */ (0, D.jsx)(V8, {+ headline: /* @__PURE__ */ (0, D.jsx)(B8, {term: "使用空间",figure: i.measured.toLocaleString(),unit: "个卷已取得容量"@@ -107425,35 +107434,35 @@ function Aft(e) {})]}),- /* @__PURE__ */ (0, D.jsxs)($N, {+ /* @__PURE__ */ (0, D.jsxs)(nP, {defaultSelectedKey: "tags",- className: `${qk({ padding: "none" })} flex flex-col`,+ className: `${Xk({ padding: "none" })} flex flex-col`,children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "px-4 pt-3",- children: /* @__PURE__ */ (0, D.jsxs)(HF, {+ children: /* @__PURE__ */ (0, D.jsxs)(GF, {"aria-label": "统计维度",- className: WF,+ className: qF,children: [- /* @__PURE__ */ (0, D.jsx)(tP, {+ /* @__PURE__ */ (0, D.jsx)(iP, {id: "tags",- className: GF,+ className: JF,children: "内容标签"}),- /* @__PURE__ */ (0, D.jsx)(tP, {+ /* @__PURE__ */ (0, D.jsx)(iP, {id: "recent",- className: GF,+ className: JF,children: "最近看过"}),- /* @__PURE__ */ (0, D.jsx)(tP, {+ /* @__PURE__ */ (0, D.jsx)(iP, {id: "sources",- className: GF,+ className: JF,children: "标签来源"})]})}),- /* @__PURE__ */ (0, D.jsx)(nP, {+ /* @__PURE__ */ (0, D.jsx)(aP, {id: "tags",className: "px-4 pt-3.5 pb-4",children: /* @__PURE__ */ (0, D.jsx)(Dft, {@@ -107462,7 +107471,7 @@ function Aft(e) {...e})}),- /* @__PURE__ */ (0, D.jsx)(nP, {+ /* @__PURE__ */ (0, D.jsx)(aP, {id: "recent",className: "px-4 pt-3.5 pb-4",children: /* @__PURE__ */ (0, D.jsx)(Oft, {@@ -107470,7 +107479,7 @@ function Aft(e) {hasMedia: a > 0})}),- /* @__PURE__ */ (0, D.jsx)(nP, {+ /* @__PURE__ */ (0, D.jsx)(aP, {id: "sources",className: "px-4 pt-3.5 pb-4",children: /* @__PURE__ */ (0, D.jsx)(kft, {@@ -107489,7 +107498,7 @@ function jft(e, t) {}//#endregion//#region node_modules/d3-sankey/src/constant.js-function H8(e) {+function U8(e) {return function() {return e;};@@ -107497,15 +107506,15 @@ function H8(e) {//#endregion//#region node_modules/d3-sankey/src/sankey.jsfunction Mft(e, t) {- return U8(e.source, t.source) || e.index - t.index;+ return W8(e.source, t.source) || e.index - t.index;}function Nft(e, t) {- return U8(e.target, t.target) || e.index - t.index;+ return W8(e.target, t.target) || e.index - t.index;}-function U8(e, t) {+function W8(e, t) {return e.y0 - t.y0;}-function W8(e) {+function G8(e) {return e.value;}function Pft(e) {@@ -107541,9 +107550,9 @@ function zft() {m.update = function(e) {return Rft(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : H8(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : U8(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : H8(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : U8(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -107551,9 +107560,9 @@ function zft() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : H8(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : U8(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : H8(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : U8(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -107574,7 +107583,7 @@ function zft() {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(o1(t.sourceLinks, W8), o1(t.targetLinks, W8)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(s1(t.sourceLinks, G8), s1(t.targetLinks, G8)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -107599,7 +107608,7 @@ function zft() {}}function y({ nodes: t }) {- let r = r1(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = i1(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];@@ -107608,7 +107617,7 @@ function zft() {return o;}function b(e) {- let n = i1(e, (e) => (r - t - (e.length - 1) * o) / o1(e, W8));+ let n = a1(e, (e) => (r - t - (e.length - 1) * o) / s1(e, G8));for (let i of e) {let e = t;for (let t of i) {@@ -107625,7 +107634,7 @@ function zft() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (r1(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (i1(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);@@ -107644,7 +107653,7 @@ function zft() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(U8), w(i, n);+ l === void 0 && i.sort(W8), w(i, n);}}function C(e, t, n) {@@ -107660,7 +107669,7 @@ function zft() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(U8), w(i, n);+ l === void 0 && i.sort(W8), w(i, n);}}function w(e, n) {@@ -107716,15 +107725,15 @@ function zft() {}//#endregion//#region node_modules/d3-path/src/path.js-var G8 = Math.PI, K8 = 2 * G8, q8 = 1e-6, Bft = K8 - q8;-function J8() {+var K8 = Math.PI, q8 = 2 * K8, J8 = 1e-6, Bft = q8 - J8;+function Y8() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}function Vft() {- return new J8();+ return new Y8();}-J8.prototype = Vft.prototype = {- constructor: J8,+Y8.prototype = Vft.prototype = {+ constructor: Y8,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -107745,11 +107754,11 @@ J8.prototype = Vft.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 > q8) {- if (!(Math.abs(u * s - c * l) > q8) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);+ else if (d > J8) {+ if (!(Math.abs(u * s - c * l) > J8) || !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((G8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > q8 && (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((K8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > J8 && (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);}}},@@ -107757,7 +107766,7 @@ J8.prototype = Vft.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) > q8 || Math.abs(this._y1 - l) > q8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % K8 + K8), d > Bft ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > q8 && (this._ += "A" + n + "," + n + ",0," + +(d >= G8) + "," + 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) > J8 || Math.abs(this._y1 - l) > J8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % q8 + q8), d > Bft ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > J8 && (this._ += "A" + n + "," + n + ",0," + +(d >= K8) + "," + 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";@@ -107829,7 +107838,7 @@ function $ft() {}//#endregion//#region src/react/taste/taste.ts-var ept = "/api/taste", tpt = "/api/taste/refresh", npt = "/api/taste/import", rpt = "/api/taste/source", Y8 = (e) => ["taste", e], ipt = ["taste", "refresh"], apt = [+var ept = "/api/taste", tpt = "/api/taste/refresh", npt = "/api/taste/import", rpt = "/api/taste/source", X8 = (e) => ["taste", e], ipt = ["taste", "refresh"], apt = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],@@ -107841,7 +107850,7 @@ var ept = "/api/taste", tpt = "/api/taste/refresh", npt = "/api/taste/import", r}), spt = (e, t) => H(`${ept}?window=${e}`, t), cpt = (e) => H(tpt, e);async function lpt(e, t) {await W.fetchQuery({- queryKey: Y8(e),+ queryKey: X8(e),queryFn: () => spt(e, t)});}@@ -107872,14 +107881,14 @@ async function fpt(e) {}return n;}-var ppt = 1e4, X8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+var ppt = 1e4, Z8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";function mpt(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"- }) : X8(e);+ }) : Z8(e);return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;}var hpt = yVe, gpt = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), _pt = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);@@ -108026,7 +108035,7 @@ var Opt = (e) => gn(e, 17), kpt = E.memo(function({ cx: e, cy: t, dataKey: n, ch}));Apt.displayName = "DefaultDot";var jpt = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, D.jsxs)("g", {- className: r8(a, "text-background"),+ className: i8(a, "text-background"),mask: o ? `url(#${o})` : void 0,children: [/* @__PURE__ */ (0, D.jsx)("defs", { children: /* @__PURE__ */ (0, D.jsx)("clipPath", {@@ -108064,7 +108073,7 @@ var jpt = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, clas}));jpt.displayName = "PrimaryBorderDot";var Mpt = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, D.jsxs)("g", {- className: r8(a, "text-background"),+ className: i8(a, "text-background"),mask: o ? `url(#${o})` : void 0,children: [/* @__PURE__ */ (0, D.jsx)("defs", { children: /* @__PURE__ */ (0, D.jsx)("clipPath", {@@ -108096,12 +108105,12 @@ Mpt.displayName = "ColoredBorderDot";//#endregion//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsxvar Npt = 1, Ppt = .3, Fpt = 6, Ipt = 1500, Lpt = "value", Rpt = (0, E.createContext)(null);-function Z8() {+function Q8() {let e = (0, E.use)(Rpt);if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");return e;}-function Q8({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {+function $8({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {let u = (0, E.useId)().replace(/:/g, ""), [d, f] = (0, E.useState)(o), p = $pt(c, l), m = (0, E.useCallback)((e) => {f(e), s?.(e);}, [s]), h = (0, E.useMemo)(() => ({@@ -108117,15 +108126,15 @@ function Q8({ config: e, data: t, children: n, className: r, chartProps: i, back]);return /* @__PURE__ */ (0, D.jsx)(Rpt, {value: h,- children: /* @__PURE__ */ (0, D.jsxs)(o8, {+ children: /* @__PURE__ */ (0, D.jsxs)(s8, {className: r,config: e,- children: [/* @__PURE__ */ (0, D.jsx)(s8, { isLoading: c }), /* @__PURE__ */ (0, D.jsxs)(_ut, {+ children: [/* @__PURE__ */ (0, D.jsx)(c8, { isLoading: c }), /* @__PURE__ */ (0, D.jsxs)(_ut, {id: u,data: c ? p : t,...i,children: [- a && /* @__PURE__ */ (0, D.jsx)(h8, { variant: a }),+ a && /* @__PURE__ */ (0, D.jsx)(g8, { variant: a }),n,c && /* @__PURE__ */ (0, D.jsx)(emt, {})]@@ -108134,14 +108143,14 @@ function Q8({ config: e, data: t, children: n, className: r, chartProps: i, back});}function zpt({ dataKey: e, variant: t = "filled", fillOpacity: n = Ppt, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {- let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = Z8(), d = (0, E.useId)().replace(/:/g, "");+ let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = Q8(), d = (0, E.useId)().replace(/:/g, "");if (c) return null;let f = i && l !== null && l !== e, p = {stroke: f ? .2 : 1,fill: f ? .1 : 1,dot: f ? .2 : 1}, m = t === "filled", { dot: h, activeDot: g } = qpt(a, d, e, p.dot);- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(A3, {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(j3, {dataKey: e,stroke: `url(#${d}-radar-stroke-${e})`,strokeOpacity: p.stroke,@@ -108193,8 +108202,8 @@ function Upt({ tick: e = {fill: "currentColor",fontSize: 12}, tickLine: t = !1, ...n }) {- let { isLoading: r } = Z8();- return r ? null : /* @__PURE__ */ (0, D.jsx)(e3, {+ let { isLoading: r } = Q8();+ return r ? null : /* @__PURE__ */ (0, D.jsx)(t3, {tick: e,tickLine: t,...n@@ -108204,7 +108213,7 @@ function Wpt({ tick: e = {fill: "currentColor",fontSize: 10}, tickLine: t = !1, axisLine: n = !1, ...r }) {- let { isLoading: i } = Z8();+ let { isLoading: i } = Q8();return i ? null : /* @__PURE__ */ (0, D.jsx)(B9e, {tick: e,tickLine: t,@@ -108213,11 +108222,11 @@ function Wpt({ tick: e = {});}function Gpt({ variant: e, roundness: t, defaultIndex: n }) {- let { isLoading: r, selectedDataKey: i } = Z8();- return r ? null : /* @__PURE__ */ (0, D.jsx)(d8, {+ let { isLoading: r, selectedDataKey: i } = Q8();+ return r ? null : /* @__PURE__ */ (0, D.jsx)(f8, {defaultIndex: n,cursor: !1,- content: /* @__PURE__ */ (0, D.jsx)(u8, {+ content: /* @__PURE__ */ (0, D.jsx)(d8, {selected: i,roundness: t,variant: e@@ -108225,11 +108234,11 @@ function Gpt({ variant: e, roundness: t, defaultIndex: n }) {});}function Kpt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {- let { isLoading: i, selectedDataKey: a, selectDataKey: o } = Z8();- return i ? null : /* @__PURE__ */ (0, D.jsx)(p8, {+ let { isLoading: i, selectedDataKey: a, selectDataKey: o } = Q8();+ return i ? null : /* @__PURE__ */ (0, D.jsx)(m8, {verticalAlign: n,align: t,- content: /* @__PURE__ */ (0, D.jsx)(f8, {+ content: /* @__PURE__ */ (0, D.jsx)(p8, {selected: a,onSelectChange: o,isClickable: r,@@ -108264,7 +108273,7 @@ var qpt = (e, t, n, r) => {dot: i,activeDot: a};-}, $8 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("stop", {+}, e5 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("stop", {offset: "0%",stopColor: `var(--color-${e}-0)`,stopOpacity: n?.[0]@@ -108280,39 +108289,39 @@ var qpt = (e, t, n, r) => {stopOpacity: n?.[i]}, a);}) }), Jpt = ({ id: e, dataKey: t, config: n }) => {- let r = l8(n[t] ?? {});+ let r = u8(n[t] ?? {});return /* @__PURE__ */ (0, D.jsx)("linearGradient", {id: `${e}-colors-${t}`,x1: "0",y1: "0",x2: "1",y2: "0",- children: /* @__PURE__ */ (0, D.jsx)($8, {+ children: /* @__PURE__ */ (0, D.jsx)(e5, {dataKey: t,colorsCount: r})});}, Ypt = ({ id: e, dataKey: t, config: n }) => {- let r = l8(n[t] ?? {});+ let r = u8(n[t] ?? {});return /* @__PURE__ */ (0, D.jsx)("linearGradient", {id: `${e}-radar-stroke-${t}`,x1: "0",y1: "0",x2: "1",y2: "1",- children: /* @__PURE__ */ (0, D.jsx)($8, {+ children: /* @__PURE__ */ (0, D.jsx)(e5, {dataKey: t,colorsCount: r})});}, Xpt = ({ id: e, dataKey: t, config: n }) => {- let r = l8(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);+ let r = u8(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);return /* @__PURE__ */ (0, D.jsx)("radialGradient", {id: `${e}-radar-fill-${t}`,cx: "50%",cy: "50%",r: "50%",- children: /* @__PURE__ */ (0, D.jsx)($8, {+ children: /* @__PURE__ */ (0, D.jsx)(e5, {dataKey: t,colorsCount: r,opacities: i@@ -108359,7 +108368,7 @@ function $pt(e, t = Fpt) {return () => clearInterval(t);}, [e]), (0, E.useMemo)(() => Qpt(t), [t, n]);}-var emt = () => /* @__PURE__ */ (0, D.jsx)(A3, {+var emt = () => /* @__PURE__ */ (0, D.jsx)(j3, {dataKey: Lpt,stroke: "currentColor",strokeOpacity: .3,@@ -108371,12 +108380,12 @@ var emt = () => /* @__PURE__ */ (0, D.jsx)(A3, {animationDuration: Ipt,animationEasing: "ease-in-out"});-Q8.Radar = zpt, Q8.Dot = Bpt, Q8.ActiveDot = Vpt, Q8.PolarGrid = Hpt, Q8.PolarAngleAxis = Upt, Q8.PolarRadiusAxis = Wpt, Q8.Tooltip = Gpt, Q8.Legend = Kpt;+$8.Radar = zpt, $8.Dot = Bpt, $8.ActiveDot = Vpt, $8.PolarGrid = Hpt, $8.PolarAngleAxis = Upt, $8.PolarRadiusAxis = Wpt, $8.Tooltip = Gpt, $8.Legend = Kpt;//#endregion//#region src/react/taste/charts.tsxfunction tmt(e) {let { x: t = 0, cx: n, textAnchor: r, payload: i, ...a } = e, o = String(i?.value ?? ""), s = typeof n == "number" ? n * 2 : 0, c = s ? r === "start" ? s - t : r === "end" ? t : 2 * Math.min(t, s - t) : 56;- return /* @__PURE__ */ (0, D.jsxs)("g", { children: [/* @__PURE__ */ (0, D.jsx)("title", { children: o }), /* @__PURE__ */ (0, D.jsx)(C4, {+ return /* @__PURE__ */ (0, D.jsxs)("g", { children: [/* @__PURE__ */ (0, D.jsx)("title", { children: o }), /* @__PURE__ */ (0, D.jsx)(w4, {...a,x: t,textAnchor: r,@@ -108401,7 +108410,7 @@ var nmt = ["fill-chart-6"], imt = { value: {label: "标签出现次数",- colors: T8(w8[3])+ colors: E8(T8[3])} }, amt = ["min-h-24","min-h-24",@@ -108423,24 +108432,24 @@ function lmt({ rows: e, label: t }) {return /* @__PURE__ */ (0, D.jsx)("div", {role: "img","aria-label": `${t}:${i.map((e) => e.name).join(",")}`,- children: /* @__PURE__ */ (0, D.jsxs)(Q8, {+ children: /* @__PURE__ */ (0, D.jsxs)($8, {data: i,config: smt,chartProps: { outerRadius: "58%" },className: "aspect-auto h-70 text-text-secondary",children: [- /* @__PURE__ */ (0, D.jsx)(Q8.PolarGrid, {}),- /* @__PURE__ */ (0, D.jsx)(Q8.PolarAngleAxis, {+ /* @__PURE__ */ (0, D.jsx)($8.PolarGrid, {}),+ /* @__PURE__ */ (0, D.jsx)($8.PolarAngleAxis, {dataKey: "name",tick: /* @__PURE__ */ (0, D.jsx)(tmt, {})}),- /* @__PURE__ */ (0, D.jsx)(Q8.PolarRadiusAxis, {+ /* @__PURE__ */ (0, D.jsx)($8.PolarRadiusAxis, {domain: [0, 1],allowDecimals: !0,tick: !1}),- /* @__PURE__ */ (0, D.jsx)(Q8.Radar, { dataKey: "radius" }),- /* @__PURE__ */ (0, D.jsx)(D8, { valueKey: "value" })+ /* @__PURE__ */ (0, D.jsx)($8.Radar, { dataKey: "radius" }),+ /* @__PURE__ */ (0, D.jsx)(O8, { valueKey: "value" })]})});@@ -108450,7 +108459,7 @@ function umt({ rows: e, label: t }) {return n.length ? /* @__PURE__ */ (0, D.jsx)("section", {"aria-label": t,className: `flex grow flex-col ${amt[n.length]}`,- children: /* @__PURE__ */ (0, D.jsxs)(_8, {+ children: /* @__PURE__ */ (0, D.jsxs)(v8, {data: n,config: imt,layout: "horizontal",@@ -108466,17 +108475,17 @@ function umt({ rows: e, label: t }) {},className: "aspect-auto text-text-secondary",children: [- /* @__PURE__ */ (0, D.jsx)(_8.YAxis, {+ /* @__PURE__ */ (0, D.jsx)(v8.YAxis, {dataKey: "name",interval: 0,- tick: /* @__PURE__ */ (0, D.jsx)(S8, { along: "y" }),+ tick: /* @__PURE__ */ (0, D.jsx)(C8, { along: "y" }),width: Ddt(n.map((e) => e.name))}),- /* @__PURE__ */ (0, D.jsx)(_8.XAxis, {+ /* @__PURE__ */ (0, D.jsx)(v8.XAxis, {hide: !0,- domain: O8+ domain: k8}),- /* @__PURE__ */ (0, D.jsx)(_8.Bar, {+ /* @__PURE__ */ (0, D.jsx)(v8.Bar, {dataKey: "value",enableHoverHighlight: !0,barProps: {@@ -108484,7 +108493,7 @@ function umt({ rows: e, label: t }) {label: Pdt("right")}}),- /* @__PURE__ */ (0, D.jsx)(D8, {})+ /* @__PURE__ */ (0, D.jsx)(O8, {})]})}) : null;@@ -108494,9 +108503,9 @@ function dmt({ flows: e }) {if (!r) return null;let i = t?.node ?? null, a = (e, n) => t ? i === null ? t.label === n : e.source === i || e.target === i : !0;return /* @__PURE__ */ (0, D.jsxs)("section", {- className: v8,+ className: y8,children: [- /* @__PURE__ */ (0, D.jsx)(C8, {+ /* @__PURE__ */ (0, D.jsx)(w8, {title: "创作者线索来源",figure: (t ? t.value : r.total).toLocaleString(),note: t ? t.label : "条线索"@@ -108596,11 +108605,11 @@ function pmt({ browsers: e, sources: t, range: n, children: r }) {let [i, a] = (0, E.useState)(!1), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(""), u = vt({mutationFn: (e) => opt(e, n),onSuccess: (e) => {- W.setQueryData(Y8(n), e.dashboard), a(!1), s(""), l("");+ W.setQueryData(X8(n), e.dashboard), a(!1), s(""), l("");}});return /* @__PURE__ */ (0, D.jsxs)("section", {- className: `${qk()} flex flex-col gap-4`,+ className: `${Xk()} flex flex-col gap-4`,"aria-label": "数据源",children: [/* @__PURE__ */ (0, D.jsxs)("div", {@@ -108630,7 +108639,7 @@ function pmt({ browsers: e, sources: t, range: n, children: r }) {});},children: [- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "浏览器名称",value: o,onChange: s,@@ -108638,7 +108647,7 @@ function pmt({ browsers: e, sources: t, range: n, children: r }) {isRequired: !0,isDisabled: u.isPending}),- /* @__PURE__ */ (0, D.jsx)(dP, {+ /* @__PURE__ */ (0, D.jsx)(mP, {label: "资料目录或历史文件",value: c,onChange: l,@@ -108676,7 +108685,7 @@ function pmt({ browsers: e, sources: t, range: n, children: r }) {children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",- children: /* @__PURE__ */ (0, D.jsx)(kk, {+ children: /* @__PURE__ */ (0, D.jsx)(Mk, {"aria-hidden": !0,className: "size-4"})@@ -108714,7 +108723,7 @@ function pmt({ browsers: e, sources: t, range: n, children: r }) {size: "small",...Y(u.isPending),iconOnly: !0,- leadingIcon: e.enabled ? Kve : Lk,+ leadingIcon: e.enabled ? Wve : Bk,"aria-label": `${e.enabled ? "停止读取" : "启用"} ${e.name}`,onClick: () => {e.enabled ? Hs({@@ -108734,7 +108743,7 @@ function pmt({ browsers: e, sources: t, range: n, children: r }) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: jk,+ leadingIcon: Pk,...Y(u.isPending),"aria-label": `删除 ${e.name}`,onClick: () => {@@ -108759,18 +108768,18 @@ function pmt({ browsers: e, sources: t, range: n, children: r }) {}//#endregion//#region src/react/taste/taste-page.tsx-var mmt = 10, e5 = oO(PP, FP, "text-body-2-medium"), t5 = `${qk()} flex flex-col gap-4`, hmt = "rounded-xl bg-background-primary-default p-3", gmt = "读取运行 Peach 的这台电脑上的浏览历史与书签", _mt = "导入或读取浏览记录后,这里会列出记录来自哪些设备。", vmt = "馆藏中暂时没有与你浏览过的内容相符的标签。", ymt = "读取浏览记录后,这里会按类别汇总你浏览过的内容。", bmt = "这些标签出现在浏览记录中,Peach 的观看或评价记录中尚未出现这些标签", xmt = "采集浏览记录后,这里会列出浏览过的标签。", Smt = "采集浏览记录后,这里会列出浏览过的创作者。", Cmt = "采集浏览记录后,这里会列出常访问的网站。", wmt = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", Tmt = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", Emt = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", Dmt = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器记录」。", Omt = "记录在其他设备上:导出文件后,选择「导入历史文件」或「导入书签文件」。书签支持浏览器导出的 HTML 文件和 Chromium Bookmarks JSON 文件。", kmt = "需要刷新时再次读取或导入;数据源可在页面底部移除。", Amt = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", n5 = "peach-taste-guide-dismissed", jmt = (0, E.createContext)(/* @__PURE__ */ (0, D.jsx)(Wk, {+var mmt = 10, t5 = lO(LP, RP, "text-body-2-medium"), n5 = `${Xk()} flex flex-col gap-4`, hmt = "rounded-xl bg-background-primary-default p-3", gmt = "读取运行 Peach 的这台电脑上的浏览历史与书签", _mt = "导入或读取浏览记录后,这里会列出记录来自哪些设备。", vmt = "馆藏中暂时没有与你浏览过的内容相符的标签。", ymt = "读取浏览记录后,这里会按类别汇总你浏览过的内容。", bmt = "这些标签出现在浏览记录中,Peach 的观看或评价记录中尚未出现这些标签", xmt = "采集浏览记录后,这里会列出浏览过的标签。", Smt = "采集浏览记录后,这里会列出浏览过的创作者。", Cmt = "采集浏览记录后,这里会列出常访问的网站。", wmt = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", Tmt = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", Emt = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", Dmt = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器记录」。", Omt = "记录在其他设备上:导出文件后,选择「导入历史文件」或「导入书签文件」。书签支持浏览器导出的 HTML 文件和 Chromium Bookmarks JSON 文件。", kmt = "需要刷新时再次读取或导入;数据源可在页面底部移除。", Amt = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", jmt = "peach-taste-guide-dismissed", Mmt = (0, E.createContext)(/* @__PURE__ */ (0, D.jsx)(qk, {size: "small",href: "/",children: "浏览馆藏"}));-function Mmt() {- return (0, E.useContext)(jmt);+function Nmt() {+ return (0, E.useContext)(Mmt);}function r5({ icon: e, term: t, figure: n, detail: r, detailTitle: i, accent: a }) {return /* @__PURE__ */ (0, D.jsx)("div", {- className: oV(),- children: /* @__PURE__ */ (0, D.jsx)(uV, {+ className: lV(),+ children: /* @__PURE__ */ (0, D.jsx)(pV, {label: t,icon: e,accent: a,@@ -108783,7 +108792,7 @@ function r5({ icon: e, term: t, figure: n, detail: r, detailTitle: i, accent: a})});}-function Nmt({ name: e, domain: t }) {+function Pmt({ name: e, domain: t }) {return /* @__PURE__ */ (0, D.jsxs)("span", {className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-medium text-text-secondary",children: [hn(e).toUpperCase(), /* @__PURE__ */ (0, D.jsx)("img", {@@ -108797,18 +108806,18 @@ function Nmt({ name: e, domain: t }) {})]});}-function Pmt({ html: e }) {+function Fmt({ html: e }) {return /* @__PURE__ */ (0, D.jsx)("span", {- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${NV}`,+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${IV}`,dangerouslySetInnerHTML: { __html: e }});}-function Fmt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {- if (!e.length) return /* @__PURE__ */ (0, D.jsx)(Zk, {+function Imt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {+ if (!e.length) return /* @__PURE__ */ (0, D.jsx)(eA, {size: "compact",- icon: Bk,+ icon: Uk,title: "记录还不够",- actions: /* @__PURE__ */ (0, D.jsx)(Mmt, {}),+ actions: /* @__PURE__ */ (0, D.jsx)(Nmt, {}),children: r});let a = ypt(e);@@ -108832,15 +108841,15 @@ function Fmt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",children: r + 1}),- n === "domain" ? /* @__PURE__ */ (0, D.jsx)(Nmt, {+ n === "domain" ? /* @__PURE__ */ (0, D.jsx)(Pmt, {name: e.name,domain: e.name}) : null,- n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, D.jsx)(Nmt, {+ n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, D.jsx)(Pmt, {name: e.name,domain: s}) : null,- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, D.jsx)(Pmt, { html: Sa(e.name, e.entity_id ? {+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, D.jsx)(Fmt, { html: Sa(e.name, e.entity_id ? {id: e.entity_id,has_image: !!e.has_image,image_version: e.image_version,@@ -108857,7 +108866,7 @@ function Fmt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {children: vpt(e)})]}),- o ? /* @__PURE__ */ (0, D.jsx)(Dk, {+ o ? /* @__PURE__ */ (0, D.jsx)(Ak, {"aria-hidden": !0,className: "size-4 shrink-0 text-text-tertiary"}) : null@@ -108877,31 +108886,31 @@ function Fmt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {})});}-function Imt({ label: e, panels: t, onSignal: n }) {- return /* @__PURE__ */ (0, D.jsxs)($N, {- className: `${qk({ padding: "none" })} flex flex-col`,+function Lmt({ label: e, panels: t, onSignal: n }) {+ return /* @__PURE__ */ (0, D.jsxs)(nP, {+ className: `${Xk({ padding: "none" })} flex flex-col`,children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "px-4 pt-3",- children: /* @__PURE__ */ (0, D.jsx)(HF, {+ children: /* @__PURE__ */ (0, D.jsx)(GF, {"aria-label": e,- className: WF,- children: t.map((e) => /* @__PURE__ */ (0, D.jsx)(tP, {+ className: qF,+ children: t.map((e) => /* @__PURE__ */ (0, D.jsx)(iP, {id: e.id,- className: GF,+ className: JF,children: e.name}, e.id))})- }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(nP, {+ }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(aP, {id: e.id,className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, D.jsx)(Fmt, {+ children: /* @__PURE__ */ (0, D.jsx)(Imt, {...e.props,onSignal: n})}, e.id))]});}-function Lmt({ data: e, onSignal: t, navigate: n }) {+function Rmt({ data: e, onSignal: t, navigate: n }) {let r = e.analysis;if (!r?.headline) return null;let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({@@ -108916,7 +108925,7 @@ function Lmt({ data: e, onSignal: t, navigate: n }) {act: () => n(e.route)}))];return /* @__PURE__ */ (0, D.jsxs)("section", {- className: t5,+ className: n5,"aria-label": "口味总结",children: [/* @__PURE__ */ (0, D.jsxs)("header", {@@ -108970,16 +108979,16 @@ function Lmt({ data: e, onSignal: t, navigate: n }) {className: "text-caption-1-regular wrap-anywhere text-text-secondary",children: e.detail})]- }), /* @__PURE__ */ (0, D.jsx)(Dk, {+ }), /* @__PURE__ */ (0, D.jsx)(Ak, {"aria-hidden": !0,className: "size-4 shrink-0 text-text-tertiary"})]}, e.key))- }) : /* @__PURE__ */ (0, D.jsx)(Zk, {+ }) : /* @__PURE__ */ (0, D.jsx)(eA, {size: "compact",- icon: Bk,+ icon: Uk,title: "还没有可探索的入口",- actions: /* @__PURE__ */ (0, D.jsx)(Wk, {+ actions: /* @__PURE__ */ (0, D.jsx)(qk, {size: "small",href: "/",children: "浏览馆藏"@@ -108989,20 +108998,20 @@ function Lmt({ data: e, onSignal: t, navigate: n }) {]});}-function Rmt({ onboarding: e, done: t }) {+function zmt({ onboarding: e, done: t }) {let [n, r] = (0, E.useState)(() => {try {- return localStorage.getItem(n5) === "1";+ return localStorage.getItem(jmt) === "1";} catch {return !1;}});return t || n ? null : /* @__PURE__ */ (0, D.jsx)("div", {- className: qk({+ className: Xk({padding: "none",className: "p-4"}),- children: /* @__PURE__ */ (0, D.jsxs)(gA, {+ children: /* @__PURE__ */ (0, D.jsxs)(yA, {summary: "浏览器历史记录导入指南",defaultOpen: e,children: [@@ -109051,7 +109060,7 @@ function Rmt({ onboarding: e, done: t }) {size: "small",onClick: () => {try {- localStorage.setItem(n5, "1");+ localStorage.setItem(jmt, "1");} catch {}r(!0);},@@ -109062,7 +109071,7 @@ function Rmt({ onboarding: e, done: t }) {})});}-function zmt({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {+function Bmt({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {let i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), s = (e) => {o(!1), e();};@@ -109071,7 +109080,7 @@ function zmt({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {"data-split-button": !0,"data-variant": "primary",children: [/* @__PURE__ */ (0, D.jsx)(q, {- leadingIcon: kk,+ leadingIcon: Mk,title: gmt,onClick: t,...Y(e),@@ -109079,7 +109088,7 @@ function zmt({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {}), /* @__PURE__ */ (0, D.jsx)(q, {ref: i,iconOnly: !0,- leadingIcon: Tk,+ leadingIcon: Ok,"aria-label": "更多取得浏览记录的方式","aria-haspopup": "dialog","aria-expanded": a,@@ -109088,40 +109097,40 @@ function zmt({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {e || o(!0);}})]- }), /* @__PURE__ */ (0, D.jsx)(QM, {+ }), /* @__PURE__ */ (0, D.jsx)(tN, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "bottom end",offset: 4,- className: NP,- children: /* @__PURE__ */ (0, D.jsxs)(lF, {+ className: IP,+ children: /* @__PURE__ */ (0, D.jsxs)(fF, {"aria-label": "更多取得浏览记录的方式",className: "flex w-52 flex-col gap-1 outline-none",children: [/* @__PURE__ */ (0, D.jsxs)("button", {type: "button",- className: e5,+ className: t5,onClick: () => s(t),- children: [/* @__PURE__ */ (0, D.jsx)(kk, {+ children: [/* @__PURE__ */ (0, D.jsx)(Mk, {"aria-hidden": !0,className: "size-4 shrink-0"}), "读取浏览器记录"]}),/* @__PURE__ */ (0, D.jsxs)("button", {type: "button",- className: e5,+ className: t5,onClick: () => s(n),- children: [/* @__PURE__ */ (0, D.jsx)($ve, {+ children: [/* @__PURE__ */ (0, D.jsx)(Zve, {"aria-hidden": !0,className: "size-4 shrink-0"}), "导入历史文件"]}),/* @__PURE__ */ (0, D.jsxs)("button", {type: "button",- className: e5,+ className: t5,onClick: () => s(r),- children: [/* @__PURE__ */ (0, D.jsx)(xve, {+ children: [/* @__PURE__ */ (0, D.jsx)(yve, {"aria-hidden": !0,className: "size-4 shrink-0"}), "导入书签文件"]@@ -109130,11 +109139,11 @@ function zmt({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {})})] });}-function Bmt({ sources: e, browsers: t, window: n, toast: r, emptyActions: i }) {+function Vmt({ sources: e, browsers: t, window: n, toast: r, emptyActions: i }) {let a = vt({mutationFn: (e) => dpt(e, n),onSuccess: (e) => {- W.setQueryData(Y8(n), e.dashboard), r("已移除口味数据源");+ W.setQueryData(X8(n), e.dashboard), r("已移除口味数据源");}});return /* @__PURE__ */ (0, D.jsxs)(pmt, {@@ -109153,10 +109162,10 @@ function Bmt({ sources: e, browsers: t, window: n, toast: r, emptyActions: i })children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, D.jsx)($ve, {+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, D.jsx)(Zve, {"aria-hidden": !0,className: "size-4"- }) : /* @__PURE__ */ (0, D.jsx)(Ak, {+ }) : /* @__PURE__ */ (0, D.jsx)(Nk, {"aria-hidden": !0,className: "size-4"})@@ -109177,7 +109186,7 @@ function Bmt({ sources: e, browsers: t, window: n, toast: r, emptyActions: i })"aria-label": `移除 ${e.profile}`,className: "shrink-0",iconOnly: !0,- leadingIcon: jk,+ leadingIcon: Pk,...Y(a.isPending),onClick: () => {a.isPending || Hs({@@ -109189,21 +109198,21 @@ function Bmt({ sources: e, browsers: t, window: n, toast: r, emptyActions: i })}})]- }, e.source_key)) }) : t.length ? null : /* @__PURE__ */ (0, D.jsx)(Zk, {+ }, e.source_key)) }) : t.length ? null : /* @__PURE__ */ (0, D.jsx)(eA, {size: "compact",- icon: Ak,+ icon: Nk,title: "还没有数据源",actions: i,children: _mt})]});}-function Vmt(e) {+function Hmt(e) {let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, E.useState)("all"), [s, c] = (0, E.useState)("browser"), l = (0, E.useRef)(null), u = (0, E.useRef)(null), d = _t({- queryKey: Y8(a),+ queryKey: X8(a),queryFn: ({ signal: e }) => spt(a, e),placeholderData: he- }), { job: f, running: p, outcome: m, start: h } = OV({+ }), { job: f, running: p, outcome: m, start: h } = jV({queryKey: ipt,queryFn: ({ signal: e }) => cpt(e),start: () => upt(a),@@ -109214,7 +109223,7 @@ function Vmt(e) {}), g = vt({mutationFn: (e) => fpt(e),onSuccess: (e) => {- W.setQueryData(Y8("all"), e.dashboard), o("all"), r("已导入口味数据");+ W.setQueryData(X8("all"), e.dashboard), o("all"), r("已导入口味数据");}}), _ = (e) => {let t = e.currentTarget.files?.[0];@@ -109222,7 +109231,7 @@ function Vmt(e) {}, v = () => {p || h.isPending || (h.reset(), h.mutate());}, y = d.data;- if (!y) return /* @__PURE__ */ (0, D.jsx)($k, { children: /* @__PURE__ */ (0, D.jsx)(J, {+ if (!y) return /* @__PURE__ */ (0, D.jsx)(nA, { children: /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: "口味分析读取失败",children: d.error ? V(d.error) : "读取口味分析失败"@@ -109243,8 +109252,8 @@ function Vmt(e) {children: "导入历史文件"})]});- return /* @__PURE__ */ (0, D.jsx)($k, { children: /* @__PURE__ */ (0, D.jsxs)(jmt, {- value: a === "all" ? s === "peach" ? /* @__PURE__ */ (0, D.jsx)(Wk, {+ return /* @__PURE__ */ (0, D.jsx)(nA, { children: /* @__PURE__ */ (0, D.jsxs)(Mmt, {+ value: a === "all" ? s === "peach" ? /* @__PURE__ */ (0, D.jsx)(qk, {size: "small",variant: "secondary",href: "/",@@ -109256,40 +109265,40 @@ function Vmt(e) {children: "查看全部时间"}),children: [- /* @__PURE__ */ (0, D.jsxs)($N, {+ /* @__PURE__ */ (0, D.jsxs)(nP, {selectedKey: s,onSelectionChange: (e) => c(String(e)),className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-3",- children: [/* @__PURE__ */ (0, D.jsxs)(HF, {+ children: [/* @__PURE__ */ (0, D.jsxs)(GF, {"aria-label": "口味分析的数据来源",- className: WF,- children: [/* @__PURE__ */ (0, D.jsx)(tP, {+ className: qF,+ children: [/* @__PURE__ */ (0, D.jsx)(iP, {id: "browser",- className: GF,+ className: JF,children: "浏览器记录"- }), /* @__PURE__ */ (0, D.jsx)(tP, {+ }), /* @__PURE__ */ (0, D.jsx)(iP, {id: "peach",- className: GF,+ className: JF,children: "Peach 观看与评价"})]}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(FF, {+ /* @__PURE__ */ (0, D.jsx)(RF, {"aria-label": "分析范围",selectedKey: a,onSelectionChange: (e) => {e !== null && o(String(e));},- children: apt.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(IF, {+ children: apt.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(zF, {id: e,children: t}, e))}),- /* @__PURE__ */ (0, D.jsx)(zmt, {+ /* @__PURE__ */ (0, D.jsx)(Bmt, {busy: p || h.isPending || g.isPending,onRefresh: v,onImport: () => l.current?.click(),@@ -109315,7 +109324,7 @@ function Vmt(e) {]})]}),- /* @__PURE__ */ (0, D.jsx)(Rmt, {+ /* @__PURE__ */ (0, D.jsx)(zmt, {onboarding: i,done: !!(b.history_sources || y.updated_at)}),@@ -109323,12 +109332,12 @@ function Vmt(e) {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",children: [- p ? /* @__PURE__ */ (0, D.jsx)(_F, {+ p ? /* @__PURE__ */ (0, D.jsx)(bF, {label: f?.message || "正在读取浏览记录并更新口味分析",value: f?.checked,total: f?.total}) : null,- g.isPending ? /* @__PURE__ */ (0, D.jsx)(_F, { label: "正在导入口味数据" }) : null,+ g.isPending ? /* @__PURE__ */ (0, D.jsx)(bF, { label: "正在导入口味数据" }) : null,j ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",children: j@@ -109339,37 +109348,37 @@ function Vmt(e) {}) : null]}),- /* @__PURE__ */ (0, D.jsxs)(nP, {+ /* @__PURE__ */ (0, D.jsxs)(aP, {id: "browser",className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: sV,+ className: uV,children: [/* @__PURE__ */ (0, D.jsx)(r5, {accent: 0,- icon: Ik,+ icon: zk,term: "浏览记录",figure: Number(b.history_visits || 0).toLocaleString(),detail: mpt(b),- detailTitle: `${X8(b.range_start)}—${X8(b.range_end)}`+ detailTitle: `${Z8(b.range_start)}—${Z8(b.range_end)}`}),/* @__PURE__ */ (0, D.jsx)(r5, {accent: 1,- icon: Rk,+ icon: Vk,term: "口味维度",figure: w.length.toLocaleString(),detail: w[0]?.name || "尚无主维度"}),/* @__PURE__ */ (0, D.jsx)(r5, {accent: 2,- icon: Bk,+ icon: Uk,term: "浏览线索",figure: O.length.toLocaleString()}),/* @__PURE__ */ (0, D.jsx)(r5, {accent: 3,- icon: xve,+ icon: yve,term: "浏览器书签",figure: Number(b.bookmarks || 0).toLocaleString(),detail: `${Number(C.exports || 0).toLocaleString()} 份私有导出 · ${dn(C.bytes || 0)}`@@ -109377,7 +109386,7 @@ function Vmt(e) {]}),/* @__PURE__ */ (0, D.jsxs)("section", {- className: T ? `${t5} md:flex-row md:gap-6` : t5,+ className: T ? `${n5} md:flex-row md:gap-6` : n5,"aria-label": "浏览器画像",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: T ? "flex shrink-0 flex-col gap-2 pb-5 md:w-80 md:pr-6 md:pb-0" : "flex flex-wrap items-baseline justify-between gap-x-4 gap-y-1",@@ -109392,7 +109401,7 @@ function Vmt(e) {}) : null,/* @__PURE__ */ (0, D.jsx)("small", {className: "text-caption-1-regular text-text-secondary",- children: y.updated_at ? `更新于 ${X8(y.updated_at)}` : "尚未采集浏览记录"+ children: y.updated_at ? `更新于 ${Z8(y.updated_at)}` : "尚未采集浏览记录"})]}), /* @__PURE__ */ (0, D.jsx)("div", {@@ -109400,11 +109409,11 @@ function Vmt(e) {children: w.length ? /* @__PURE__ */ (0, D.jsx)(umt, {rows: w,label: "口味维度排名"- }) : /* @__PURE__ */ (0, D.jsx)(Zk, {+ }) : /* @__PURE__ */ (0, D.jsx)(eA, {size: "compact",- icon: Bk,+ icon: Uk,title: "暂无口味维度",- actions: /* @__PURE__ */ (0, D.jsx)(Mmt, {}),+ actions: /* @__PURE__ */ (0, D.jsx)(Nmt, {}),children: ymt})})]@@ -109422,7 +109431,7 @@ function Vmt(e) {empty: "还没有可用于分析的口味网站访问记录。"}),/* @__PURE__ */ (0, D.jsx)(dmt, { flows: y.creator_flows }),- /* @__PURE__ */ (0, D.jsx)(Imt, {+ /* @__PURE__ */ (0, D.jsx)(Lmt, {label: "浏览器口味维度",onSignal: t,panels: [@@ -109480,42 +109489,42 @@ function Vmt(e) {})]}),- /* @__PURE__ */ (0, D.jsxs)(nP, {+ /* @__PURE__ */ (0, D.jsxs)(aP, {id: "peach",className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: sV,+ className: uV,children: [/* @__PURE__ */ (0, D.jsx)(r5, {accent: 0,- icon: jve,+ icon: kve,term: "Peach 看过",figure: Number(b.peach_items || 0).toLocaleString(),detail: hpt(b.peach_seconds || 0)}),/* @__PURE__ */ (0, D.jsx)(r5, {accent: 1,- icon: Qve,+ icon: Xve,term: "喜欢",figure: Number(b.liked || 0).toLocaleString()}),/* @__PURE__ */ (0, D.jsx)(r5, {accent: 2,- icon: Zve,+ icon: Yve,term: "不合口味",figure: Number(b.disliked || 0).toLocaleString()}),/* @__PURE__ */ (0, D.jsx)(r5, {accent: 3,- icon: Rk,+ icon: Vk,term: "有标签",figure: k.toLocaleString()})]}),/* @__PURE__ */ (0, D.jsxs)("section", {- className: `${t5} md:flex-row md:gap-6`,+ className: `${n5} md:flex-row md:gap-6`,"aria-label": "Peach 观看",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-72 md:pr-6 md:pb-0",@@ -109535,18 +109544,18 @@ function Vmt(e) {]}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 grow flex-col",- children: [/* @__PURE__ */ (0, D.jsx)(Hmt, {+ children: [/* @__PURE__ */ (0, D.jsx)(Umt, {term: "有标签",value: k,rest: x.untagged || 0- }), /* @__PURE__ */ (0, D.jsx)(Hmt, {+ }), /* @__PURE__ */ (0, D.jsx)(Umt, {term: "有身份",value: A,rest: x.unidentified || 0})]})]}),- /* @__PURE__ */ (0, D.jsx)(Imt, {+ /* @__PURE__ */ (0, D.jsx)(Lmt, {label: "Peach 口味维度",onSignal: t,panels: [@@ -109586,12 +109595,12 @@ function Vmt(e) {})]}),- /* @__PURE__ */ (0, D.jsx)(Lmt, {+ /* @__PURE__ */ (0, D.jsx)(Rmt, {data: y,onSignal: t,navigate: n}),- /* @__PURE__ */ (0, D.jsx)(Bmt, {+ /* @__PURE__ */ (0, D.jsx)(Vmt, {sources: y.sources || [],browsers: y.browsers || [],window: a,@@ -109601,7 +109610,7 @@ function Vmt(e) {]}) });}-function Hmt({ term: e, value: t, rest: n }) {+function Umt({ term: e, value: t, rest: n }) {let r = Math.max(t + n, 1);return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",@@ -109614,7 +109623,7 @@ function Hmt({ term: e, value: t, rest: n }) {children: `${n.toLocaleString()} 项待补`})]})]- }), /* @__PURE__ */ (0, D.jsx)(tA, {+ }), /* @__PURE__ */ (0, D.jsx)(iA, {label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,value: t,max: r@@ -109629,7 +109638,7 @@ var i5 = {studios: "厂牌",agencies: "事务所",tags: "标签"-}, Umt = [[+}, Wmt = [["big","大图 · 竖幅头像","maximize"@@ -109637,7 +109646,7 @@ var i5 = {"compact","紧凑 · 圆形头像","layout-grid"-]], Wmt = [[+]], Gmt = [["big","大图 · 完整标识","maximize"@@ -109645,7 +109654,7 @@ var i5 = {"compact","紧凑 · 圆形标识","layout-grid"-]], Gmt = [[+]], Kmt = [["studios","厂牌","clapperboard"@@ -109653,7 +109662,7 @@ var i5 = {"agencies","事务所","briefcase"-]], Kmt = [[+]], qmt = [["local","本地","hard-drive"@@ -109661,7 +109670,7 @@ var i5 = {"online","在线","rss"-]], qmt = [+]], Jmt = [["performers","艺人",@@ -109677,7 +109686,7 @@ var i5 = {"在线","rss"]-], Jmt = [[+], Ymt = [["cloud","标签云","tags"@@ -109685,8 +109694,8 @@ var i5 = {"alphabet","字母表","text-aa"-]], Ymt = (e) => e === "compact" ? "compact" : "big";-function Xmt(e, t) {+]], Xmt = (e) => e === "compact" ? "compact" : "big";+function Zmt(e, t) {let n = new URLSearchParams(t);return {kind: e,@@ -109704,12 +109713,12 @@ var a5 = (e, t, n) => Bo(e.map(([e, t, n]) => ({active: t,label: n,className: "indextabs"-}), Zmt = (e) => `<div class="board-filter-frame" data-filter-frame>+}), Qmt = (e) => `<div class="board-filter-frame" data-filter-frame><div class="tagbar" data-filter-row="top" data-skeleton-tier="pill" aria-label="标签类型"></div><div class="count" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span>- ${Ns("tag-view", "标签视图", Jmt, e)}</div></div>`;-function Qmt({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = i5[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? Ns("people-layout", o + "索引版式", c ? Wmt : Umt, a) : "";+ ${Ns("tag-view", "标签视图", Ymt, e)}</div></div>`;+function $mt({ kind: e, q: t, scope: n, view: r, category: i }, a) {+ let o = i5[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? Ns("people-layout", o + "索引版式", c ? Gmt : Wmt, 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}@@ -109722,27 +109731,27 @@ function Qmt({ kind: e, q: t, scope: n, view: r, category: i }, a) {}) : ""}<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Eo("", t, "过滤" + o)}</div></div>- ${e === "tags" ? a5(Kmt, n, "词表") : e === "performers" || e === "creators" ? a5(qmt, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? a5(Gmt, e, "公司类型") : ""}- ${e === "tags" ? Zmt(r) : ""}- ${e === "performers" && n !== "online" ? FAe(i) : ""}+ ${e === "tags" ? a5(qmt, n, "词表") : e === "performers" || e === "creators" ? a5(Jmt, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? a5(Kmt, e, "公司类型") : ""}+ ${e === "tags" ? Qmt(r) : ""}+ ${e === "performers" && n !== "online" ? NAe(i) : ""}${Qo({kind: e,layout: a,mode: r})}`;}-var $mt = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";-function eht(e, t, n) {- let r = Qmt(t, n);- e.querySelector("[data-skeleton]")?.dataset.skeleton !== $mt(r) && (e.innerHTML = r, as(e));+var eht = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";+function tht(e, t, n) {+ let r = $mt(t, n);+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== eht(r) && (e.innerHTML = r, as(e));}//#endregion//#region src/react/router/pages/index-entity.tsx-var tht = () => al, nht = () => Wc, o5 = () => document.getElementById("index");+var nht = () => al, rht = () => Wc, o5 = () => document.getElementById("index");function s5(e, t, n = {}) {- let r = (0, E.useSyncExternalStore)(gl, tht);- jO();- let i = WO(vk.navigation.location.pathname), a = (0, E.useRef)({+ let r = (0, E.useSyncExternalStore)(gl, nht);+ PO();+ let i = qO(xk.navigation.location.pathname), a = (0, E.useRef)({mounted: !0,epoch: -1,opens: -1,@@ -109767,7 +109776,7 @@ function s5(e, t, n = {}) {let t = a.current;if (!t.mounted) return;let n = t.epoch !== e || t.opens !== al, r = t.opens !== al;- if (t.epoch = e, t.opens = al, WO(vk.navigation.location.pathname)) {+ if (t.epoch = e, t.opens = al, qO(xk.navigation.location.pathname)) {n && o.current.options.onCovered?.();return;}@@ -109788,13 +109797,13 @@ function s5(e, t, n = {}) {i]);}-async function rht(e, t, n, r) {+async function iht(e, t, n, r) {let i = o5();if (!i) return;let a = `/${t}`;e.surfaceChanged("index", a);- let o = Xmt(t, n), s = Ymt(BT().value.peopleLayout);- eht(i, o, s), await ck(a, {+ let o = Zmt(t, n), s = Xmt(HT().value.peopleLayout);+ tht(i, o, s), await dk(a, {...o,layout: s,selectMode: Wc,@@ -109804,23 +109813,23 @@ async function rht(e, t, n, r) {isCurrent: r}) && r() && e.surfaceShown?.("index", a);}-function iht(e) {- let t = o5(), n = t ? ik(t) : null;+function aht(e) {+ let t = o5(), n = t ? sk(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}-function aht({ epoch: e }) {- let t = (0, E.useContext)(NF), n = jO(), r = n.pathname.split("/").filter(Boolean)[0];+function oht({ epoch: e }) {+ let t = (0, E.useContext)(IF), n = PO(), r = n.pathname.split("/").filter(Boolean)[0];return s5(e, (e, i) => {- t && rht(t, r, n.search, i);- }, { shown: () => iht(`/${r}`) }), null;+ t && iht(t, r, n.search, i);+ }, { shown: () => aht(`/${r}`) }), null;}-function oht() {- let e = MF(), t = (0, E.useSyncExternalStore)(gl, nht), n = (0, E.useRef)(t);+function sht() {+ let e = FF(), t = (0, E.useSyncExternalStore)(gl, rht), n = (0, E.useRef)(t);return (0, E.useEffect)(() => {- n.current !== t && (n.current = t, window.location.pathname === "/tags" && lk(o5(), { selectMode: t }));- }, [t]), /* @__PURE__ */ (0, D.jsx)(aht, { epoch: e }, e);+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && fk(o5(), { selectMode: t }));+ }, [t]), /* @__PURE__ */ (0, D.jsx)(oht, { epoch: e }, e);}-function sht(e) {+function cht(e) {let t;try {t = decodeURIComponent(e);@@ -109834,9 +109843,9 @@ function sht(e) {name: a} : null;}-var cht = /* @__PURE__ */ new WeakMap();-function lht(e) {- let t = cht.get(e);+var lht = /* @__PURE__ */ new WeakMap();+function uht(e) {+ let t = lht.get(e);return t || (t = {helpers: {...e.grid.helpers,@@ -109846,13 +109855,13 @@ function lht(e) {...e.grid.actions,revealSource: e.revealSource}- }, cht.set(e, t)), t;+ }, lht.set(e, t)), t;}-function uht() {- let e = o5(), t = e ? ik(e) : null;+function dht() {+ let e = o5(), t = e ? sk(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}-async function dht(e, t, n, r, i, a, o) {+async function fht(e, t, n, r, i, a, o) {let s = o5();if (!s) return;let { segment: c, kind: l, name: u } = n;@@ -109867,7 +109876,7 @@ async function dht(e, t, n, r, i, a, o) {}, h = t.props(l, u, i), g = {...h,hosts: m,- card: lht(e),+ card: uht(e),resolvedEntity: o,actions: {...h.actions,@@ -109876,17 +109885,17 @@ async function dht(e, t, n, r, i, a, o) {}}};- await ck(`/${c}/*`, g, {+ await dk(`/${c}/*`, g, {container: s,isCurrent: a,place: (e) => (e.replaceChildren(...f), p.firstElementChild)- }) && a() && uht() && (e.surfaceShown?.("entity", r), window.scrollTo({+ }) && a() && dht() && (e.surfaceShown?.("entity", r), window.scrollTo({top: 0,behavior: "smooth"}));}-function fht({ target: e }) {- let t = (0, E.useContext)(NF), n = MF(), r = jO();+function pht({ target: e }) {+ let t = (0, E.useContext)(IF), n = FF(), r = PO();return s5(n, (n, i) => {let a = t?.entity;t && a && (async () => {@@ -109903,9 +109912,9 @@ function fht({ target: e }) {}).catch(() => null);if (!i()) return;if (s?.redirect) {- yk(Xt(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {+ Sk(Xt(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {replace: !0,- state: vk.navigation.location.state+ state: xk.navigation.location.state});return;}@@ -109914,37 +109923,37 @@ function fht({ target: e }) {return;}let c = String(s.canonical_name || e.name), l = Xt(e.kind, c, Number(s.id));- l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && dht(t, a, {+ l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && fht(t, a, {...e,name: c- }, r.pathname, r.search, i, s) : yk(l + r.search + r.hash, {+ }, r.pathname, r.search, i, s) : Sk(l + r.search + r.hash, {replace: !0,- state: vk.navigation.location.state+ state: xk.navigation.location.state});})();- }, { shown: () => uht() && !o5()?.hidden }), null;+ }, { shown: () => dht() && !o5()?.hidden }), null;}-function pht() {- let e = sht(jO().pathname);- return e ? /* @__PURE__ */ (0, D.jsx)(fht, { target: e }, JSON.stringify([e.kind, e.name])) : null;+function mht() {+ let e = cht(PO().pathname);+ return e ? /* @__PURE__ */ (0, D.jsx)(pht, { target: e }, JSON.stringify([e.kind, e.name])) : null;}//#endregion//#region src/react/router/pages/catalog.tsx-var mht = () => al, hht = vk.navigation.seq, ght = vk.navigation.openEpoch, c5 = vk.navigation.location.pathname, l5 = {- seq: hht,+var hht = () => al, ght = xk.navigation.seq, _ht = xk.navigation.openEpoch, c5 = xk.navigation.location.pathname, l5 = {+ seq: ght,claimed: !0,from: c5};-vk.listen((e) => {+xk.listen((e) => {l5 = {seq: e.seq,- claimed: e.openEpoch === ght,+ claimed: e.openEpoch === _ht,from: c5- }, ght = e.openEpoch, c5 = e.location.pathname;+ }, _ht = e.openEpoch, c5 = e.location.pathname;});var u5 = !1;-function _ht(e) {- let { seq: t, openEpoch: n, location: r } = vk.navigation, i = WO(r.pathname), a = xk() ?? r, o = G ?? {};+function vht(e) {+ let { seq: t, openEpoch: n, location: r } = xk.navigation, i = qO(r.pathname), a = wk() ?? r, o = G ?? {};return {seq: t,epoch: n,@@ -109955,7 +109964,7 @@ function _ht(e) {opened: e};}-function vht(e, t, n, r) {+function yht(e, t, n, r) {let i = { ...G };if (e === "/trash") return {...i,@@ -109966,7 +109975,7 @@ function vht(e, t, n, r) {state: "trash",q: ""};- let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = BT().value;+ let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = HT().value;return {...i,loc: a.get("loc") ?? r.defaultLoc(),@@ -109980,7 +109989,7 @@ function vht(e, t, n, r) {dur_max: a.get("dur_max") || "",orient: a.get("orient") || "",state: Gt[e] || a.get("state") || "",- ...jT(a.get("sort"), a.get("dir"), o, s),+ ...NT(a.get("sort"), a.get("dir"), o, s),seed: a.get("seed") || (n ? yn() : i.seed || yn()),q: a.get("q") || "",jav: a.get("jav") || "",@@ -109991,13 +110000,13 @@ function vht(e, t, n, r) {folder_recursive: a.get("folder_recursive") === "0" ? "0" : ""};}-function yht(e, t) {- let n = { ...e }, r = _ht(n.opened);+function bht(e, t) {+ let n = { ...e }, r = vht(n.opened);Object.assign(e, r);let i = t.catalog;if (!i || r.opens === 0) return;if (r.covered) {- xk() || i.fill();+ wk() || i.fill();return;}let a = !1;@@ -110007,41 +110016,41 @@ function yht(e, t) {i.load();return;}- r.epoch !== n.epoch && (a = vk.navigation.action === "POP" && l5.from !== "/");+ r.epoch !== n.epoch && (a = xk.navigation.action === "POP" && l5.from !== "/");}- let { pathname: o, search: s } = vk.navigation.location;+ let { pathname: o, search: s } = xk.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {- let { kind: e, view: t } = YW(s);- u5 = !0, yk(XW(e, t), { replace: !0 });+ let { kind: e, view: t } = QW(s);+ u5 = !0, Sk($W(e, t), { replace: !0 });return;}let c = u5;- u5 = !1, a &&= o === "/", e.opened = !0, ml({ state: vht(o, s, a, i) }), i.open(o, {+ u5 = !1, a &&= o === "/", e.opened = !0, ml({ state: yht(o, s, a, i) }), i.open(o, {entering: a,retitle: c});}-function bht(e) {- return qt(e) || e === "/trash" || WO(e) || e === "/immerse" || !!sht(e);+function xht(e) {+ return qt(e) || e === "/trash" || qO(e) || e === "/immerse" || !!cht(e);}-function xht() {- let e = (0, E.useContext)(NF), t = MF(), n = (0, E.useSyncExternalStore)(gl, mht), r = jO(), i = (0, E.useRef)(null), a = (0, E.useRef)({+function Sht() {+ let e = (0, E.useContext)(IF), t = FF(), n = (0, E.useSyncExternalStore)(gl, hht), r = PO(), i = (0, E.useRef)(null), a = (0, E.useRef)({mounted: !0,queued: !1});return (0, E.useEffect)(() => {let t = a.current;t.mounted = !0;- let n = _ht(!WO(vk.navigation.location.pathname));- return !n.covered && n.opens > 0 && (u5 || l5.seq === hht ? n.opens = -1 : l5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {+ let n = vht(!qO(xk.navigation.location.pathname));+ return !n.covered && n.opens > 0 && (u5 || l5.seq === ght ? n.opens = -1 : l5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {t.mounted = !1, queueMicrotask(() => {- e?.catalog && !bht(vk.navigation.location.pathname) && e.catalog.release();+ e?.catalog && !xht(xk.navigation.location.pathname) && e.catalog.release();});};}, []), (0, E.useEffect)(() => {let t = a.current;!t.queued && e && (t.queued = !0, queueMicrotask(() => {- t.queued = !1, t.mounted && i.current && yht(i.current, e);+ t.queued = !1, t.mounted && i.current && bht(i.current, e);}));}, [t,@@ -110050,8 +110059,8 @@ function xht() {e]), null;}-function Sht() {- let { pathname: e, search: t } = jO();+function Cht() {+ let { pathname: e, search: t } = PO();(0, E.useLayoutEffect)(() => {if (e !== "/wall") return;document.body.setAttribute("data-wall-open", ""), document.documentElement.removeAttribute("data-wall-entry");@@ -110064,15 +110073,15 @@ function Sht() {});};}, [e]);- let n = (0, E.useContext)(NF), r = document.getElementById("javLibraryHeader"), i = qt(e) && new URLSearchParams(t).get("jav") === "1";+ let n = (0, E.useContext)(IF), r = document.getElementById("javLibraryHeader"), i = qt(e) && new URLSearchParams(t).get("jav") === "1";return (0, E.useLayoutEffect)(() => {if (r) return r.hidden = !i, () => {r.hidden = !0;};- }, [r, i]), WO(e) && !UO(e) ? null : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(xht, {}, e === "/junk-files" ? "/junk-files" : "/"),- qt(e) ? /* @__PURE__ */ (0, D.jsx)(VF, {}) : null,- i && r && n ? (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(lFe, {+ }, [r, i]), qO(e) && !KO(e) ? null : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+ /* @__PURE__ */ (0, D.jsx)(Sht, {}, e === "/junk-files" ? "/junk-files" : "/"),+ qt(e) ? /* @__PURE__ */ (0, D.jsx)(WF, {}) : null,+ i && r && n ? (0, bt.createPortal)(/* @__PURE__ */ (0, D.jsx)(sFe, {navigate: n.navigate,receipt: (e) => n.receipt(e)}), r) : null@@ -110080,21 +110089,21 @@ function Sht() {}//#endregion//#region src/react/router/pages/follow.tsx-var d5 = () => document.getElementById("stats"), Cht = () => dl;-function wht(e) {+var d5 = () => document.getElementById("stats"), wht = () => dl;+function Tht(e) {let t = document.createElement("div");return t.className = "peach-react", Xo(e, () => {e.textContent = "", e.append(t);}), t;}-async function Tht(e, t) {+async function Eht(e, t) {let n = d5(), r = e.follow;if (!n || !r || r.refresh()) return;let i = ul;- e.surfaceChanged("follow", "/follow"), rJ(n, r.skeleton()), await ck("/follow", r.props(), {+ e.surfaceChanged("follow", "/follow"), oJ(n, r.skeleton()), await dk("/follow", r.props(), {container: n,isCurrent: t,- place: wht+ place: Tht}), t() && window.scrollTo(i ? {top: i,behavior: "instant"@@ -110103,32 +110112,32 @@ async function Tht(e, t) {behavior: "smooth"});}-function Eht() {- let e = d5(), t = e ? ik(e) : null;+function Dht() {+ let e = d5(), t = e ? sk(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}-function Dht() {- let e = (0, E.useContext)(NF);- return s5(MF(), (t, n) => {- e && Tht(e, n);+function Oht() {+ let e = (0, E.useContext)(IF);+ return s5(FF(), (t, n) => {+ e && Eht(e, n);}, {- shown: Eht,+ shown: Dht,onCovered: () => {- vk.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();+ xk.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();}}), null;}-function Oht(e) {- let t = e ? ik(e) : null;+function kht(e) {+ let t = e ? sk(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}-async function kht(e, t) {+async function Aht(e, t) {let n = d5();- n && (e.surfaceChanged("playlists", "/playlists"), rJ(n, tJ("/playlists", {+ n && (e.surfaceChanged("playlists", "/playlists"), oJ(n, iJ("/playlists", {followLayout: "",followSort: "",followDir: ""- })), await ck("/playlists", { revision: dl }, {+ })), await dk("/playlists", { revision: dl }, {container: n,isCurrent: t}), t() && window.scrollTo({@@ -110136,39 +110145,39 @@ async function kht(e, t) {behavior: "smooth"}));}-function Aht() {- let e = (0, E.useContext)(NF), t = (0, E.useSyncExternalStore)(gl, Cht), n = (0, E.useRef)(t);+function jht() {+ let e = (0, E.useContext)(IF), t = (0, E.useSyncExternalStore)(gl, wht), n = (0, E.useRef)(t);return (0, E.useEffect)(() => {if (n.current === t) return;n.current = t;let e = d5();- Oht(e) && lk(e, { revision: t });- }, [t]), s5(MF(), (t, n) => {- e && kht(e, n);+ kht(e) && fk(e, { revision: t });+ }, [t]), s5(FF(), (t, n) => {+ e && Aht(e, n);}, { shown: () => {let e = d5();- return Oht(e) && !e.hidden;+ return kht(e) && !e.hidden;} }), null;}//#endregion//#region src/react/router/pages/immerse.tsx-function jht() {- let e = new URLSearchParams(vk.navigation.location.search).get("id");+function Mht() {+ let e = new URLSearchParams(xk.navigation.location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function Mht() {- let e = (0, E.useContext)(NF);- return AF(() => {- e?.openImmerse(jht());+function Nht() {+ let e = (0, E.useContext)(IF);+ return NF(() => {+ e?.openImmerse(Mht());}, !0), null;}-function Nht() {- return /* @__PURE__ */ (0, D.jsx)(Mht, {}, MF());+function Pht() {+ return /* @__PURE__ */ (0, D.jsx)(Nht, {}, FF());}//#endregion//#region src/ui-kit/anchor-scroll.ts-var Pht = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";-async function Fht(e, t) {+var Fht = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";+async function Iht(e, t) {let n;try {n = decodeURIComponent(e.slice(1));@@ -110183,20 +110192,20 @@ async function Fht(e, t) {let r = document.getElementById(n);r?.getClientRects().length && r.scrollIntoView({block: "start",- behavior: Pht()+ behavior: Fht()});}//#endregion//#region src/react/router/pages/managed.tsx-var Iht = [+var Lht = ["list","add","feeds"-], Lht = () => al > 0, Rht = () => (0, E.useSyncExternalStore)(gl, Lht), zht = () => BT().value.followLayout === "table" ? "table" : "default", f5 = () => new URLSearchParams(window.location.search);-function Bht(e) {+], Rht = () => al > 0, zht = () => (0, E.useSyncExternalStore)(gl, Rht), Bht = () => HT().value.followLayout === "table" ? "table" : "default", f5 = () => new URLSearchParams(window.location.search);+function Vht(e) {let t = f5();- return tJ(e, {- followLayout: zht(),+ return iJ(e, {+ followLayout: Bht(),followSort: t.get("sort") || "",followDir: t.get("dir") || ""});@@ -110207,18 +110216,18 @@ function p5(e) {throw e;});}-function Vht(e, t) {+function Hht(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 Hht(e, t) {+async function Uht(e, t) {if (e === "/jav") {let e = await p5(t);return t.live ? {- tab: rG(f5().get("tab")),+ tab: oG(f5().get("tab")),readOnly: !!e?.ledger_read_only} : null;}@@ -110229,40 +110238,40 @@ async function Hht(e, t) {}if (e.startsWith("/settings/")) {window.location.hash === "#peachProxy" && ml({ configurationRequestedSection: "网络与访问" });- let t = f5().get("section") || nl || Q_e(e);+ let t = f5().get("section") || nl || X_e(e);return t ? { section: t } : {};}if (e === "/review") {let e = f5().get("category") || "", n = await p5(t);return t.live ? {- category: Zz(e) ? e : "",- ...Vht(n, "/review")+ category: eB(e) ? e : "",+ ...Hht(n, "/review")} : null;}if (e === "/subscriptions") {let e = f5(), n = e.get("tab") || "", r = {- tab: Iht.includes(n) ? n : "list",+ tab: Lht.includes(n) ? n : "list",page: Math.max(1, Math.floor(Number(e.get("page"))) || 1),sort: e.get("sort") || "",dir: e.get("dir") || ""}, i = await p5(t);if (!t.live) return null;- let a = BT().value;+ let a = HT().value;return {...r,pageSize: Number(a.followPageSize) || 20,- layout: zht(),- ...Vht(i, "/subscriptions")+ layout: Bht(),+ ...Hht(i, "/subscriptions")};}return {};}-var Uht = () => {+var Wht = () => {window.scrollTo({top: 0,- behavior: Pht()+ behavior: Fht()});-}, Wht = /* @__PURE__ */ new Set([+}, Ght = /* @__PURE__ */ new Set(["/stats","/taste","/review",@@ -110270,18 +110279,18 @@ var Uht = () => {"/tasks","/subscriptions"]);-async function Ght(e, t, n) {- let r = vk.navigation.seq, i = () => n.live && vk.navigation.seq === r;- if (e === "/jav" && rG(f5().get("tab")) === "library") {- vk.replace(NPe(window.location.search));+async function Kht(e, t, n) {+ let r = xk.navigation.seq, i = () => n.live && xk.navigation.seq === r;+ if (e === "/jav" && oG(f5().get("tab")) === "library") {+ xk.replace(jPe(window.location.search));return;}if (e === "/subscriptions" && f5().get("tab") === "wants") {- yk("/jav?tab=wants", { replace: !0 });+ Sk("/jav?tab=wants", { replace: !0 });return;}if (e === "/subscriptions" && f5().get("tab") === "source") {- yk("/settings/subscriptions", { replace: !0 });+ Sk("/settings/subscriptions", { replace: !0 });return;}let a = document.getElementById("stats");@@ -110303,38 +110312,38 @@ async function Ght(e, t, n) {state: "",q: "",jav: ""- } }), t.clearSearch()), rJ(a, Bht(e));- let o = await Hht(e, n);+ } }), t.clearSearch()), oJ(a, Vht(e));+ let o = await Uht(e, n);if (!o) return;- let s = await ck(e, o, {+ let s = await dk(e, o, {container: a,isCurrent: () => n.live});- if (s && (n.revision = ik(a)?.revision ?? 0), e.startsWith("/settings/") && s && ml({ configurationRequestedSection: "" }), s && i()) {+ if (s && (n.revision = sk(a)?.revision ?? 0), e.startsWith("/settings/") && s && ml({ configurationRequestedSection: "" }), s && i()) {let { hash: t } = window.location;e === "/settings/library" && t === "#libraryProcessing" ? queueMicrotask(() => {- i() && yk("/data-cleanup#libraryProcessing", {+ i() && Sk("/data-cleanup#libraryProcessing", {replace: !0,state: null});- }) : t ? Fht(t, i) : (Wht.has(e) || e === "/settings/library") && Uht();+ }) : t ? Iht(t, i) : (Ght.has(e) || e === "/settings/library") && Wht();}}function m5({ path: e }) {- let t = MF();- jO();- let n = WO(vk.navigation.location.pathname), r = (0, E.useRef)(n ? null : t), i = (0, E.useRef)(n);+ let t = FF();+ PO();+ let n = qO(xk.navigation.location.pathname), r = (0, E.useRef)(n ? null : t), i = (0, E.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, D.jsx)(Kht, {+ return /* @__PURE__ */ (0, D.jsx)(qht, {path: e,covered: r.current === null}, `${a} ${r.current ?? "covered"}`);}-function Kht({ path: e, covered: t }) {- let n = (0, E.useContext)(NF), r = Rht(), i = (0, E.useRef)(null);+function qht({ path: e, covered: t }) {+ let n = (0, E.useContext)(IF), r = zht(), i = (0, E.useRef)(null);return (0, E.useEffect)(() => {- e.startsWith("/settings/") && lk(document.getElementById("stats"), { section: Q_e(e) });+ e.startsWith("/settings/") && fk(document.getElementById("stats"), { section: X_e(e) });}, [e]), (0, E.useEffect)(() => {if (t || !n || !r || i.current) return;let a = {@@ -110343,7 +110352,7 @@ function Kht({ path: e, covered: t }) {controller: new AbortController()};i.current = a, queueMicrotask(() => {- a.live && Ght(e, n, a);+ a.live && Kht(e, n, a);});}, [r]), (0, E.useEffect)(() => () => {let e = i.current;@@ -110351,18 +110360,18 @@ function Kht({ path: e, covered: t }) {e.live = !1, e.controller.abort();let t = document.getElementById("stats");queueMicrotask(() => {- t && e.revision && !t.hidden && ik(t)?.revision === e.revision && uk(t);+ t && e.revision && !t.hidden && sk(t)?.revision === e.revision && pk(t);});}, []), null;}-function qht() {- let e = Rht(), t = (0, E.useRef)(!1);+function Jht() {+ let e = zht(), t = (0, E.useRef)(!1);return (0, E.useEffect)(() => {- if (!e || t.current || WO(vk.navigation.location.pathname)) return;+ if (!e || t.current || qO(xk.navigation.location.pathname)) return;t.current = !0;let n = !0;return queueMicrotask(() => {- n && yk("/data-cleanup#resource-sync", { replace: !0 });+ n && Sk("/data-cleanup#resource-sync", { replace: !0 });}), () => {n = !1;};@@ -110370,7 +110379,7 @@ function qht() {}//#endregion//#region src/react/router/managed-routes.tsx-function Jht(e, t, n) {+function Yht(e, t, n) {if (e === "duplicates") {n("/duplicates");return;@@ -110381,26 +110390,26 @@ function Jht(e, t, n) {var h5 = (e) => ({element: /* @__PURE__ */ (0, D.jsx)(m5, { path: e }),prefetch: async (t, n) => {- await Promise.all([CIe(n), ...e === "/settings/diagnostics" ? [rNe(n)] : []]);+ await Promise.all([xIe(n), ...e === "/settings/diagnostics" ? [tNe(n)] : []]);},- page: (t, n, r) => /* @__PURE__ */ (0, D.jsx)(WLe, {+ page: (t, n, r) => /* @__PURE__ */ (0, D.jsx)(HLe, {receipt: (e) => n.receipt(e),reopenTutorial: n.reopenTutorial,section: e === "/settings/diagnostics" ? "系统诊断" : t.section ?? "",- diagnostics: /* @__PURE__ */ (0, D.jsx)(lNe, {+ diagnostics: /* @__PURE__ */ (0, D.jsx)(sNe, {navigate: r,openItem: n.openItem,receipt: (e) => n.receipt(e),configure: (e) => {- n.requestConfigurationSection(e), r(BO(e));+ n.requestConfigurationSection(e), r(UO(e));}})})}), g5 = {"/jav": {element: /* @__PURE__ */ (0, D.jsx)(m5, { path: "/jav" }),- prefetch: (e, t) => cFe(e.tab, t),- page: (e, t) => /* @__PURE__ */ (0, D.jsx)(pFe, {+ prefetch: (e, t) => oFe(e.tab, t),+ page: (e, t) => /* @__PURE__ */ (0, D.jsx)(dFe, {...e,navigate: t.navigate,receipt: (e) => t.receipt(e)@@ -110420,7 +110429,7 @@ var h5 = (e) => ({"/taste": {element: /* @__PURE__ */ (0, D.jsx)(m5, { path: "/taste" }),prefetch: (e, t) => lpt("all", t),- page: (e, t, n) => /* @__PURE__ */ (0, D.jsx)(Vmt, {+ page: (e, t, n) => /* @__PURE__ */ (0, D.jsx)(Hmt, {onSignal: t.openTasteSignal,navigate: n,toast: (e) => t.receipt(e),@@ -110429,8 +110438,8 @@ var h5 = (e) => ({},"/review": {element: /* @__PURE__ */ (0, D.jsx)(m5, { path: "/review" }),- prefetch: (e, t) => MOe(t),- page: (e, t) => /* @__PURE__ */ (0, D.jsx)(qFe, {+ prefetch: (e, t) => AOe(t),+ page: (e, t) => /* @__PURE__ */ (0, D.jsx)(GFe, {...e,route: t.routeReview,openItem: t.openItem,@@ -110441,17 +110450,17 @@ var h5 = (e) => ({},"/data-cleanup": {element: /* @__PURE__ */ (0, D.jsx)(m5, { path: "/data-cleanup" }),- prefetch: (e, t) => wke(t),- page: (e, t, n) => /* @__PURE__ */ (0, D.jsx)(TAe, {+ prefetch: (e, t) => Ske(t),+ page: (e, t, n) => /* @__PURE__ */ (0, D.jsx)(CAe, {failure: t.failure,- open: (e) => Jht(e, t, n),+ open: (e) => Yht(e, t, n),toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)})},"/duplicates": {element: /* @__PURE__ */ (0, D.jsx)(m5, { path: "/duplicates" }),- prefetch: (e, t) => aOe(t),- page: (e, t) => /* @__PURE__ */ (0, D.jsx)(nNe, {+ prefetch: (e, t) => rOe(t),+ page: (e, t) => /* @__PURE__ */ (0, D.jsx)(eNe, {openItem: t.openItem,failure: t.failure,toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})@@ -110459,19 +110468,19 @@ var h5 = (e) => ({},"/quality-goals": {element: /* @__PURE__ */ (0, D.jsx)(m5, { path: "/quality-goals" }),- prefetch: (e, t) => mOe(t),- page: (e, t) => /* @__PURE__ */ (0, D.jsx)(AFe, {+ prefetch: (e, t) => fOe(t),+ page: (e, t) => /* @__PURE__ */ (0, D.jsx)(OFe, {openItem: t.openItem,- javTitleHtml: wk,- javDisplayName: Ck,+ javTitleHtml: Dk,+ javDisplayName: Ek,toast: (e) => t.receipt(e),srcBadge: t.srcBadge})},"/sources": {element: /* @__PURE__ */ (0, D.jsx)(m5, { path: "/sources" }),- prefetch: (e, t) => eIe(t),- page: (e, t) => /* @__PURE__ */ (0, D.jsx)(mIe, { toast: (e) => t.toast(e) })+ prefetch: (e, t) => QFe(t),+ page: (e, t) => /* @__PURE__ */ (0, D.jsx)(fIe, { toast: (e) => t.toast(e) })},"/settings/library": h5("/settings/library"),"/settings/subscriptions": h5("/settings/subscriptions"),@@ -110481,13 +110490,13 @@ var h5 = (e) => ({"/settings/diagnostics": h5("/settings/diagnostics"),"/tasks": {element: /* @__PURE__ */ (0, D.jsx)(m5, { path: "/tasks" }),- prefetch: (e, t) => _ye(t),- page: () => /* @__PURE__ */ (0, D.jsx)(Wye, {})+ prefetch: (e, t) => hye(t),+ page: () => /* @__PURE__ */ (0, D.jsx)(Hye, {})},"/subscriptions": {element: /* @__PURE__ */ (0, D.jsx)(m5, { path: "/subscriptions" }),prefetch: (e, t) => qr(t, e.tab),- page: (e, t) => /* @__PURE__ */ (0, D.jsx)(YNe, {+ page: (e, t) => /* @__PURE__ */ (0, D.jsx)(qNe, {...e,route: t.routeFollowManage,savePreference: t.saveFollowPreference,@@ -110496,11 +110505,11 @@ var h5 = (e) => ({openServiceConfiguration: () => t.navigate("/settings/subscriptions")})}-}, _5 = (e) => Object.hasOwn(g5, e), Yht = { "/resource-sync": { element: /* @__PURE__ */ (0, D.jsx)(qht, {}) } }, Xht = { "/immerse": { element: /* @__PURE__ */ (0, D.jsx)(Nht, {}) } }, v5 = {+}, _5 = (e) => Object.hasOwn(g5, e), Xht = { "/resource-sync": { element: /* @__PURE__ */ (0, D.jsx)(Jht, {}) } }, Zht = { "/immerse": { element: /* @__PURE__ */ (0, D.jsx)(Pht, {}) } }, v5 = {"/playlists": {- element: /* @__PURE__ */ (0, D.jsx)(Aht, {}),- prefetch: (e, t) => gFe(t),- page: (e, t) => /* @__PURE__ */ (0, D.jsx)(OFe, {+ element: /* @__PURE__ */ (0, D.jsx)(jht, {}),+ prefetch: (e, t) => mFe(t),+ page: (e, t) => /* @__PURE__ */ (0, D.jsx)(EFe, {revision: e.revision,openPlaylist: t.openPlaylist,openEntity: t.openEntity,@@ -110509,14 +110518,14 @@ var h5 = (e) => ({})},"/follow": {- element: /* @__PURE__ */ (0, D.jsx)(Dht, {}),+ element: /* @__PURE__ */ (0, D.jsx)(Oht, {}),prefetch: (e, t) => hi(e, t),- page: (e) => /* @__PURE__ */ (0, D.jsx)(Aje, { ...e })+ page: (e) => /* @__PURE__ */ (0, D.jsx)(Oje, { ...e })}-}, Zht = (e) => Object.hasOwn(v5, e), y5 = {- element: /* @__PURE__ */ (0, D.jsx)(oht, {}),- prefetch: (e, t) => KAe(e, t),- page: (e, t) => /* @__PURE__ */ (0, D.jsx)(fPe, {+}, Qht = (e) => Object.hasOwn(v5, e), y5 = {+ element: /* @__PURE__ */ (0, D.jsx)(sht, {}),+ prefetch: (e, t) => WAe(e, t),+ page: (e, t) => /* @__PURE__ */ (0, D.jsx)(uPe, {...e,route: t.routeIndex,savePreference: t.savePeopleLayout,@@ -110536,9 +110545,9 @@ var h5 = (e) => ({"/agencies": y5,"/tags": y5}, x5 = {- element: /* @__PURE__ */ (0, D.jsx)(pht, {}),- prefetch: (e) => PAe(e),- page: (e) => /* @__PURE__ */ (0, D.jsx)(KMe, { ...e })+ element: /* @__PURE__ */ (0, D.jsx)(mht, {}),+ prefetch: (e) => MAe(e),+ page: (e) => /* @__PURE__ */ (0, D.jsx)(WMe, { ...e })}, S5 = {"/performers/*": x5,"/studios/*": x5,@@ -110548,62 +110557,62 @@ var h5 = (e) => ({"/tags/*": x5}, C5 = {"/": {- element: /* @__PURE__ */ (0, D.jsx)(Sht, {}),- prefetch: (e, t) => epe(e, t),- page: (e) => /* @__PURE__ */ (0, D.jsx)(Ez, { ...e })+ element: /* @__PURE__ */ (0, D.jsx)(Cht, {}),+ prefetch: (e, t) => Qfe(e, t),+ page: (e) => /* @__PURE__ */ (0, D.jsx)(kz, { ...e })},"/junk-files": {- element: /* @__PURE__ */ (0, D.jsx)(Sht, {}),+ element: /* @__PURE__ */ (0, D.jsx)(Cht, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, D.jsx)(DPe, { ...e })+ page: (e) => /* @__PURE__ */ (0, D.jsx)(TPe, { ...e })}-}, Qht = (e) => Object.hasOwn(C5, e), $ht = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, D.jsx)(gCe, { ...e }) : /* @__PURE__ */ (0, D.jsx)(DV, { ...e }), egt = {+}, $ht = (e) => Object.hasOwn(C5, e), egt = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, D.jsx)(mCe, { ...e }) : /* @__PURE__ */ (0, D.jsx)(AV, { ...e }), tgt = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, D.jsx)(cwe, { ...e })+ page: (e) => /* @__PURE__ */ (0, D.jsx)(owe, { ...e })},"feed-new": {- prefetch: (e) => AAe(e),- page: (e) => /* @__PURE__ */ (0, D.jsx)(uNe, { ...e })+ prefetch: (e) => OAe(e),+ page: (e) => /* @__PURE__ */ (0, D.jsx)(cNe, { ...e })},"library-processing": {- prefetch: (e, t) => nF(t),- page: (e) => /* @__PURE__ */ (0, D.jsx)($ht, { ...e })+ prefetch: (e, t) => aF(t),+ page: (e) => /* @__PURE__ */ (0, D.jsx)(egt, { ...e })},search: {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, D.jsx)(yIe, { ...e })+ page: (e) => /* @__PURE__ */ (0, D.jsx)(_Ie, { ...e })}-}, tgt = (e) => Object.hasOwn(egt, e), ngt = {+}, ngt = (e) => Object.hasOwn(tgt, e), rgt = {"batch-dock": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, D.jsx)(pue, {})+ page: () => /* @__PURE__ */ (0, D.jsx)(due, {})},"glow-picker": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, D.jsx)(kde, {})+ page: () => /* @__PURE__ */ (0, D.jsx)(Dde, {})},"manage-header": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, D.jsx)(mge, {})+ page: () => /* @__PURE__ */ (0, D.jsx)(fge, {})},immerse: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, D.jsx)(Rme, {})+ page: () => /* @__PURE__ */ (0, D.jsx)(Ime, {})},"settings-panel": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, D.jsx)(uRe, {})+ page: () => /* @__PURE__ */ (0, D.jsx)(cRe, {})},sidebar: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, D.jsx)(wRe, {})+ page: () => /* @__PURE__ */ (0, D.jsx)(SRe, {})},stage: {prefetch: async () => {},page: () => /* @__PURE__ */ (0, D.jsx)(pVe, {})}-}, rgt = (e) => Object.hasOwn(ngt, e), igt = [+}, igt = (e) => Object.hasOwn(rgt, e), agt = ["/","/wall","/unseen",@@ -110617,42 +110626,42 @@ var h5 = (e) => ({...Object.keys(v5),...Object.keys(b5),...Object.keys(S5),- ...igt+ ...agt];-var agt = (e) => _5(e) || Zht(e) || Object.hasOwn(b5, e) || Object.hasOwn(S5, e) || Qht(e) || tgt(e) || rgt(e);-function ogt(e) {- return _5(e) ? g5[e] : Zht(e) ? v5[e] : Qht(e) ? C5[e] : tgt(e) ? egt[e] : rgt(e) ? ngt[e] : Object.hasOwn(b5, e) ? b5[e] : S5[e];+var ogt = (e) => _5(e) || Qht(e) || Object.hasOwn(b5, e) || Object.hasOwn(S5, e) || $ht(e) || ngt(e) || igt(e);+function sgt(e) {+ return _5(e) ? g5[e] : Qht(e) ? v5[e] : $ht(e) ? C5[e] : ngt(e) ? tgt[e] : igt(e) ? rgt[e] : Object.hasOwn(b5, e) ? b5[e] : S5[e];}-function sgt(e, t, n) {- return agt(e) ? ogt(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));+function cgt(e, t, n) {+ return ogt(e) ? sgt(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}-function cgt(e, t, n, r) {- return ogt(e).page(t, n, r);+function lgt(e, t, n, r) {+ return sgt(e).page(t, n, r);}//#endregion//#region src/react/application-residents.tsvar w5 = null, T5 = null, E5 = 0, D5 = /* @__PURE__ */ new Set();-function lgt(e) {+function ugt(e) {return w5 = e, T5 && e(T5), () => {w5 === e && (w5 = null);};}-function ugt(e) {- return w5 && (T5 = e, w5(e), sve(Promise.resolve(sgt))), Promise.resolve();+function dgt(e) {+ return w5 && (T5 = e, w5(e), ave(Promise.resolve(cgt))), Promise.resolve();}async function O5(e, t, n = (e) => e) {let r = E5;- if (t.isConnected || D5.add(t), !await ck(e, {}, {+ if (t.isConnected || D5.add(t), !await dk(e, {}, {container: t,resident: !0,isCurrent: () => !!w5 && r === E5,place: () => n(t)}) || r !== E5 || !w5) throw new DOMException("应用已卸载", "AbortError");}-function dgt() {+function fgt() {E5 += 1, w5 = null, T5 = null, k5 = null, A5 = null, N5 = null, P5 = null, I5 = null, L5 = null, R5 = null, z5 = null, V5 = null, H5 = null, U5 = null, W5 = null, G5 = null;for (let e of D5) e.remove();- D5.clear(), LW();+ D5.clear(), BW();}var k5 = null, A5 = null;function j5(e) {@@ -110662,52 +110671,52 @@ function j5(e) {})(), k5;}var M5 = () => A5, N5 = null, P5 = null;-function fgt(e) {+function pgt(e) {return N5 ??= (async () => {- let t = Lme(e), n = document.createElement("div");+ let t = Fme(e), n = document.createElement("div");return n.dataset.immerseHost = "", await O5("immerse", n, (e) => (document.body.append(e), e)), P5 = t, t;})(), N5;}var F5 = () => P5, I5 = null, L5 = null;-function pgt(e) {+function mgt(e) {return I5 ??= (async () => {- let t = lRe(e), n = document.createElement("div");+ let t = sRe(e), n = document.createElement("div");return n.dataset.settingsHost = "", await O5("settings-panel", n, (e) => (document.body.append(e), e)), L5 = t, t;})(), I5;}-var mgt = () => L5, R5 = null, z5 = null;-function hgt(e) {+var hgt = () => L5, R5 = null, z5 = null;+function ggt(e) {return R5 ??= (async () => {- let t = CRe(e);+ let t = xRe(e);return await O5("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), z5 = t, t;})(), R5;}var B5 = () => z5, V5 = null, H5 = null;-function ggt(e) {+function _gt(e) {return V5 ??= (async () => {- let t = pge(e);+ let t = dge(e);return await O5("manage-header", e.root, (e) => (e.replaceChildren(), e)), H5 = t, t;})(), V5;}-var _gt = () => H5, U5 = null, W5 = null;-function vgt(e) {+var vgt = () => H5, U5 = null, W5 = null;+function ygt(e) {return U5 ??= (async () => {- let t = fue(e);+ let t = uue(e);return await O5("batch-dock", e.root), W5 = t, t;})(), U5;}-var ygt = () => W5, G5 = null;-function bgt(e) {+var bgt = () => W5, G5 = null;+function xgt(e) {return G5 ??= (async () => {- Ode(e), await O5("glow-picker", e.root);+ Ede(e), await O5("glow-picker", e.root);})(), G5;}-function xgt(e, t, n, r) {- RW(e, t), zW(n, r);+function Sgt(e, t, n, r) {+ VW(e, t), HW(n, r);}//#endregion//#region src/application/effects.ts-var Sgt = class {+var Cgt = class {cleanups = /* @__PURE__ */ new Set();active = !0;disposed = !1;@@ -110788,9 +110797,9 @@ var Sgt = class {}if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}-}, K5 = new Sgt();-function Cgt() {- return K5.dispose(), K5 = new Sgt(), K5;+}, K5 = new Cgt();+function wgt() {+ return K5.dispose(), K5 = new Cgt(), K5;}//#endregion//#region src/application/receipts.js@@ -110804,13 +110813,13 @@ var q5 = {rollSeed: void 0,seededSample: void 0};-function wgt() {- RW(R("#toasts"), {+function Tgt() {+ VW(R("#toasts"), {success: z("check"),error: z("circle-alert")}), q5.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : B(e && typeof e == "object" ? e.text ?? "" : e ?? ""), q5.toastSeq = 0, q5.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {let a = `toast-${++q5.toastSeq}`, o = (e, t, n, r) => {- Za(i || (t ? "error" : "success")), xgt(R("#toasts"), {+ Za(i || (t ? "error" : "success")), Sgt(R("#toasts"), {success: z("check"),error: z("circle-alert")}, a, {@@ -110852,7 +110861,7 @@ function wgt() {}//#endregion//#region src/react/catalog-grid/catalog-state.ts-var Tgt = [+var Egt = ["loc","creator","studio",@@ -110872,10 +110881,10 @@ var Tgt = ["folder","folder_recursive"];-function Egt(e, t, n, r = n.defaultSort) {- return jT(e, t, n.defaultSort, n.defaultSortDirection, r);+function Dgt(e, t, n, r = n.defaultSort) {+ return NT(e, t, n.defaultSort, n.defaultSortDirection, r);}-function Dgt(e, t, n) {+function Ogt(e, t, n) {let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = qt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;return {loc: i.get("loc") ?? "local,115",@@ -110890,7 +110899,7 @@ function Dgt(e, t, n) {orient: o("orient") || "",region: o("region") || "",state: Gt[r] || o("state") || "",- ...Egt(o("sort"), o("dir"), t),+ ...Dgt(o("sort"), o("dir"), t),seed: o("seed") || n(),q: o("q") || "",jav: o("jav") || "",@@ -110900,18 +110909,18 @@ function Dgt(e, t, n) {folder_recursive: o("folder_recursive") === "0" ? "0" : ""};}-function Ogt(e, t) {+function kgt(e, t) {return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;}-function kgt(e) {+function Agt(e) {let t = Wt[e.state ?? ""] || "/", n = new URLSearchParams();- for (let t of Tgt) {+ for (let t of Egt) {let r = e[t];- r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== OT(e.sort ?? "")) && n.set(t, r);+ r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== AT(e.sort ?? "")) && n.set(t, r);}return !Wt[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}-function Agt(e, t, n) {+function jgt(e, t, n) {return {loc: e.loc ?? "",creator: "",@@ -110926,7 +110935,7 @@ function Agt(e, t, n) {region: "",state: "",sort: t.defaultSort,- dir: AT(t.defaultSort, t.defaultSort, t.defaultSortDirection),+ dir: MT(t.defaultSort, t.defaultSort, t.defaultSortDirection),seed: n(),q: "",jav: "",@@ -110936,7 +110945,7 @@ function Agt(e, t, n) {folder_recursive: ""};}-function jgt(e) {+function Mgt(e) {return {state: e,barsContext: {@@ -110948,7 +110957,7 @@ function jgt(e) {}//#endregion//#region src/react/catalog-grid/catalog-controller.ts-var Mgt = class {+var Ngt = class {currentRevision = 0;currentPage = "";painting = null;@@ -110993,39 +111002,39 @@ var Mgt = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, J5 = 3e4, Y5 = 0, Ngt = (e, t = Y5) => [+}, J5 = 3e4, Y5 = 0, Pgt = (e, t = Y5) => ["facets",e,t-], Pgt = (e, t, n = Y5) => [+], Fgt = (e, t, n = Y5) => ["tops",e,t,n-], Fgt = (e, t = Y5) => [+], Igt = (e, t = Y5) => ["tops",e,t];-async function Igt(e) {+async function Lgt(e) {let t = String(e), n = await Vt(`/api/tops?${t}`), r = new URLSearchParams(t);return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await Vt(`/api/tops?${r}`));}-function Lgt(e, t) {+function Rgt(e, t) {return Promise.all([W.fetchQuery({- queryKey: Ngt(e),+ queryKey: Pgt(e),queryFn: () => Vt(`/api/facets${e ? `?${e}` : ""}`),staleTime: J5}), W.fetchQuery({- queryKey: Pgt(t, e),- queryFn: () => Igt(t),+ queryKey: Fgt(t, e),+ queryFn: () => Lgt(t),staleTime: J5})]);}-function Rgt(e) {+function zgt(e) {return W.fetchQuery({- queryKey: Fgt(e),- queryFn: () => Igt(e),+ queryKey: Igt(e),+ queryFn: () => Lgt(e),staleTime: J5});}@@ -111042,7 +111051,7 @@ function X5() {}//#endregion//#region src/application/navigation-items.ts-var zgt = [+var Bgt = [["","首页",@@ -111139,18 +111148,18 @@ var zgt = ["Peach 配置","folder-cog"]-], Bgt = [+], Vgt = ["stats","taste","cleanup","follow","activity","configuration"-], Vgt = (e) => Z5.filter(([t]) => Bgt.includes(t) && (t !== "configuration" || e)), Hgt = Z5.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], Hgt = (e) => Z5.filter(([t]) => Vgt.includes(t) && (t !== "configuration" || e)), Ugt = Z5.flatMap(([e, t, n]) => e === "configuration" ? [] : [[e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,t,n-]]), Ugt = [...zgt, ...Hgt], Wgt = {+]]), Wgt = [...Bgt, ...Ugt], Ggt = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -111161,11 +111170,11 @@ var zgt = [};//#endregion//#region src/react/index/index-controller.ts-function Ggt({ kind: e, q: t, scope: n, view: r, category: i }) {+function Kgt({ 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 Kgt(e, t, n) {+function qgt(e, t, n) {let r = e.entity_id || e.id, i = t === "studio" || t === "agency";return {html: Sa(e.k, r ? {@@ -111178,20 +111187,20 @@ function Kgt(e, t, n) {face: wa(e.avatar_focus)};}-function qgt(e) {+function Jgt(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" ${Xi({ fallbacks: [e.avatar_fallback || ""] })}>` : "";return `<span class="ini">${B(n)}</span>${r}`;}-function Jgt(e) {+function Ygt(e) {let t = (t) => {e.adoptFollowView(t), e.hideIndex(), e.openPage(Ri(t));};return {route(t, { replace: n = !1 } = {}) {- e.route(Ggt(t), n);+ e.route(Kgt(t), n);},- personAvatar: Kgt,- authorAvatar: qgt,+ personAvatar: qgt,+ authorAvatar: Jgt,openFollowAuthor(n) {t(zi(e.followView(), n));},@@ -111202,27 +111211,27 @@ function Jgt(e) {}//#endregion//#region src/react/follow-manage/manage-route.ts-var Ygt = [+var Xgt = ["list","add","feeds"];-function Xgt(e) {+function Zgt(e) {let t = new URLSearchParams(e), n = t.get("tab");return {- tab: Ygt.find((e) => e === n) || "list",+ tab: Xgt.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 Zgt(e) {+function Qgt(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 Qgt(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" : Zgt({- tab: t || Xgt(e).tab,+function $gt(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" : Qgt({+ tab: t || Zgt(e).tab,page: 1,sort: "",dir: ""@@ -111230,7 +111239,7 @@ function Qgt(e, t) {}//#endregion//#region src/application/source-action.ts-function $gt(e) {+function e_t(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";@@ -111246,36 +111255,36 @@ function $gt(e) {}//#endregion//#region src/react/entity-page/entity-route.ts-var Q5 = () => Object.fromEntries(rH.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));-function e_t(e, t) {+var Q5 = () => Object.fromEntries(oH.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));+function t_t(e, t) {let n = new URLSearchParams(e), r = Q5();- for (let e of rH) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");+ for (let e of oH) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,- ...jT(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")+ ...NT(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}-function t_t(e) {+function n_t(e) {let t = new URLSearchParams();- for (let n of rH) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== OT(e.sort || "")) && t.set(n, e[n]);+ for (let n of oH) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== AT(e.sort || "")) && t.set(n, e[n]);return t.toString();}-function n_t(e) {+function r_t(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 r_t(e, t) {- let n = new URLSearchParams(t_t(e));+function i_t(e, t) {+ let n = new URLSearchParams(n_t(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 i_t(e, t, n, r) {- let i = r_t(n, r);+function a_t(e, t, n, r) {+ let i = i_t(n, r);return Xt(e, t) + (i ? `?${i}` : "");}-function a_t() {+function o_t() {let e = "";return {fresh(t, n) {@@ -111284,23 +111293,23 @@ function a_t() {read(t, n, r, i) {let a = e === Xt(t, n) && !r;e = "";- let o = a ? Q5() : { ...e_t(r, i) };+ let o = a ? Q5() : { ...t_t(r, i) };return t === "creator" && (o.creator = ""), {filters: o,media: a ? {media: "videos",set: 0- } : n_t(r)+ } : r_t(r)};}};}//#endregion//#region src/react/entity-page/photo-surface.ts-function o_t(e, t) {+function s_t(e, t) {return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();}-function s_t(e) {+function c_t(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);@@ -111323,12 +111332,12 @@ function s_t(e) {}//#endregion//#region src/react/entity-page/entity-controller.ts-function c_t(e, t, n) {+function l_t(e, t, n) {let r = (t, n, r, i = {media: "videos",set: 0}, { push: a = !0 } = {}) => {- if (a && e.route(i_t(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;+ if (a && e.route(a_t(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;e.releaseBodyPreviews();let o = e.state();return e.push({@@ -111355,7 +111364,7 @@ function c_t(e, t, n) {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let n = c(), i = kT(e, n.sort || "new", n.dir || "");+ let n = c(), i = jT(e, n.sort || "new", n.dir || "");i && r(t, a, {...n,...i@@ -111407,7 +111416,7 @@ function c_t(e, t, n) {}//#endregion//#region src/react/entity-page/entity-loading.ts-function l_t(e) {+function u_t(e) {return async (t, n, r) => {!e.shapesReady(t, n) && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {r() && e.syncParts(t, n);@@ -111416,7 +111425,7 @@ function l_t(e) {}//#endregion//#region src/react/entity-page/entity-portrait.ts-function u_t(e, t) {+function d_t(e, t) {let n = e === "studio" || e === "agency", r = t.id ? xa({kind: e,id: t.id,@@ -111438,11 +111447,11 @@ function u_t(e, t) {}//#endregion//#region src/react/entity-page/entity-application.ts-function d_t(e) {- let t = a_t(), n = {+function f_t(e) {+ let t = o_t(), n = {...e.helpers,- portraitImg: u_t- }, r = c_t(e.controller, n, e.actions);+ portraitImg: d_t+ }, r = l_t(e.controller, n, e.actions);return {...r,helpers: n,@@ -111451,13 +111460,13 @@ function d_t(e) {let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());return r.props(n, i, o, s);},- loading: l_t(e.loading),- photos: s_t(e.photos)+ loading: u_t(e.loading),+ photos: c_t(e.photos)};}//#endregion//#region src/card-art/feed-identity.ts-function f_t(e) {+function p_t(e) {let t = e.performer_refs || [], n = [...new Set((e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean))], r = t.length ? t : n.map((e) => ({ name: e })), i = r.slice(0, 3).map((t) => {let n = e.code && t.source_actor_id && t.source_avatar && !t.has_image && !t.has_avatar, r = n ? ` data-feed-source-avatar data-code="${B(e.code)}" data-actor="${B(t.source_actor_id)}" data-name="${B(t.name)}"` : "", i = n ? "" : Sa(t.name, t, null);return "id" in t && t.id ? `<a class="mav"${r} href="${B(Xt("performer", t.name, t.id))}" aria-label="打开女优页:${B(t.name)}">${i}</a>` : `<span class="mav"${r} title="${B(t.name)}">${i}</span>`;@@ -111482,26 +111491,26 @@ var $5 = {feedNewActions: void 0,HERO_WIDE_PX: void 0};-function p_t(e) {+function m_t(e) {return e.has_cover ? Da(e, "big") : e.cover_url ? Da(e, "big").replace(/ src="[^"]*"/, ` src="${B(e.cover_url)}" referrerpolicy="no-referrer" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"无封面\" data-drop-class=\"nopic\"") : e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${zo("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>";}-function m_t(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 = p_t(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? wk({+function h_t(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 = m_t(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? Dk({is_jav: !0,code: e.code,name: e.code,display_title: e.title || ""}) : B(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${B(r)} 的作品详情"></a>` : "";return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">- ${a}<div class="pic" style="--card-ratio:${WT}">${n}+ ${a}<div class="pic" style="--card-ratio:${KT}">${n}<div class="hovertools feednewtools"><button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${B(r)}">${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">${f_t(e)}<div class="mtext"><span class="t">${i}</span>+ <div class="meta">${p_t(e)}<div class="mtext"><span class="t">${i}</span><div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;}-function h_t() {+function g_t() {let e = document.getElementById("peach-entity-shape");if (e) try {let t = JSON.parse(e.textContent || "null");@@ -111511,12 +111520,12 @@ function h_t() {}async function e7() {let e = K5, t = await Vt("/api/entity/shapes", { signal: e.signal }).catch(() => null);- return e.isActive && t && !t.error && ($5.entityShapesComplete = !0, $5.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${an(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (Z.homeHasFeed = t.home.feed), t7(location.pathname) && g_t(R("#feedNew"))), $5.entityShapes;+ return e.isActive && t && !t.error && ($5.entityShapesComplete = !0, $5.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${an(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (Z.homeHasFeed = t.home.feed), t7(location.pathname) && __t(R("#feedNew"))), $5.entityShapes;}-function g_t(e) {- !e || ak(e) || e.querySelector("[data-feed-id]") || (e.hidden = Z.homeHasFeed !== !0, Z.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = $5.feedNewSkeletonHtml())));+function __t(e) {+ !e || ck(e) || e.querySelector("[data-feed-id]") || (e.hidden = Z.homeHasFeed !== !0, Z.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = $5.feedNewSkeletonHtml())));}-function __t(e, t) {+function v_t(e, t) {return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : Lo(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",@@ -111524,19 +111533,19 @@ function __t(e, t) {actionHref: "/sources"});}-function v_t(e) {+function y_t(e) {let t = e && !e.error && e.items || [];- return __t(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(m_t).join("")}</div>`;+ return v_t(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(h_t).join("")}</div>`;}-function y_t(e) {+function b_t(e) {e && (g9(e), Q.appSettings.feedAutoScroll && Ss(e));}function t7(e) {return qt(e) && e !== "/junk-files";}-function b_t() {+function x_t() {let e = R("#feedNew");- ak(e) ? lk(e, { revision: ++$5.feedRevision }) : (g_t(e), ck("feed-new", {+ ck(e) ? fk(e, { revision: ++$5.feedRevision }) : (__t(e), dk("feed-new", {host: e,revision: $5.feedRevision,helpers: $5.feedNewHelpers,@@ -111548,30 +111557,30 @@ function b_t() {}function n7() {let e = R("#feedNew");- e.querySelectorAll(".feednewrow").forEach(Cs), uk(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");-}-function x_t() {- $5.feedRevision += 1, lk(R("#feedNew"), { revision: $5.feedRevision }), s7({ feedRevision: $5.feedRevision });+ e.querySelectorAll(".feednewrow").forEach(Cs), pk(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");}function S_t() {+ $5.feedRevision += 1, fk(R("#feedNew"), { revision: $5.feedRevision }), s7({ feedRevision: $5.feedRevision });+}+function C_t() {document.querySelectorAll(".feednewrow").forEach((e) => Q.appSettings.feedAutoScroll ? Ss(e) : Cs(e));}-function C_t([e]) {+function w_t([e]) {R("#index").toggleAttribute("data-hero-wide", e.contentRect.width >= $5.HERO_WIDE_PX);}-function w_t() {- $5.FEED_SKELETON_CARDS = 8, $5.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${WT}"></div>+function T_t() {+ $5.FEED_SKELETON_CARDS = 8, $5.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${KT}"></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($5.FEED_SKELETON_CARDS)}</div>`, $5.entityShapes = null, $5.entityShapesComplete = !1, $5.hasEntityShape = (e, t) => $5.entityShapesComplete || !!$5.entityShapes?.has(`${e}/${an(t)}`), $5.hasEntityPart = (e, t, n) => !!t && !!$5.entityShapes?.get(`${e}/${an(t)}`)?.includes(n), $5.feedNewSkeletonSection = () => `<section class="feednew">${$5.feedNewSkeletonHtml()}</section>`, $5.COSTAR_SKELETON_PEOPLE = 12, $5.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($5.COSTAR_SKELETON_PEOPLE)}</div></div>`, $5.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, $5.feedRevision = 0, $5.feedNewHelpers = {- feedRowHtml: v_t,- wireFeedRow: (e) => y_t(e)+ feedRowHtml: y_t,+ wireFeedRow: (e) => b_t(e)}, $5.feedNewActions = { settled: (e) => {Z.homeHasFeed = e;- } }, $5.HERO_WIDE_PX = 900, K5.resize(C_t).observe(R("#index"));+ } }, $5.HERO_WIDE_PX = 900, K5.resize(w_t).observe(R("#index"));}//#endregion//#region src/entity-skeleton.ts-function T_t(e, t, n, r = "") {+function E_t(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">@@ -111586,10 +111595,10 @@ function T_t(e, t, n, r = "") {}//#endregion//#region src/filter-controls-skeleton.ts-var r7 = (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>` : wo(e, "size-4 shrink-0"), i7 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", E_t = (e, t, n) => `<span data-entity-layout="" class="${KF}" role="radiogroup" aria-label="${B(e)}">${n.map(([e, n, r]) => `<span class="${qF}" role="radio" aria-label="${B(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${i7}>${r7(r)}</span>`).join("")}</span>`;-function D_t(e, t) {- let n = VE(), r = new URLSearchParams(location.search), i = t && n === "cards" ? E_t(t.label, t.value, t.options) : "";- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${i7}>${r7("shuffle")}</button>${i}${E_t("馆藏显示方式", n, [[+var r7 = (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>` : wo(e, "size-4 shrink-0"), i7 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", D_t = (e, t, n) => `<span data-entity-layout="" class="${YF}" role="radiogroup" aria-label="${B(e)}">${n.map(([e, n, r]) => `<span class="${XF}" role="radio" aria-label="${B(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${i7}>${r7(r)}</span>`).join("")}</span>`;+function O_t(e, t) {+ let n = WE(), r = new URLSearchParams(location.search), i = t && n === "cards" ? D_t(t.label, t.value, t.options) : "";+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${i7}>${r7("shuffle")}</button>${i}${D_t("馆藏显示方式", n, [["cards","卡片","ri-layout-grid-line"@@ -111601,8 +111610,8 @@ function D_t(e, t) {}//#endregion//#region src/catalog-content-skeleton.ts-function O_t(e, t) {- return VE() === "list" ? `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${B(e)}"><div data-table-skeleton aria-hidden="true">${"<div><i class=\"skeleton-sheen\"></i><span class=\"skeleton-sheen\"></span></div>".repeat(6)}</div></div>` : Zo(e, {+function k_t(e, t) {+ return WE() === "list" ? `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${B(e)}"><div data-table-skeleton aria-hidden="true">${"<div><i class=\"skeleton-sheen\"></i><span class=\"skeleton-sheen\"></span></div>".repeat(6)}</div></div>` : Zo(e, {variant: "cards",className: "catalog-skeleton postercard-skeleton",cardRatio: t@@ -111636,11 +111645,11 @@ var a7 = {application: void 0};function o7() {- let e = ik(R("#index"));+ let e = sk(R("#index"));return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;}function s7(e) {- a7.entityPageCurrent() && lk(R("#index"), e);+ a7.entityPageCurrent() && fk(R("#index"), e);}function c7() {if (Bc.type === "item") return Bc;@@ -111657,14 +111666,14 @@ function c7() {return Bc;}function l7(e, t, n = B7()) {- return Rvt(n).map(([n, r]) => {- let i = e === n, a = kT(n, e, t);+ return zvt(n).map(([n, r]) => {+ let i = e === n, a = jT(n, e, t);return {key: n,label: r,pressed: i,- dir: i && yue(n, t) ? t === "asc" ? "asc" : "desc" : "",- ariaLabel: a ? `按${r}${a.dir ? yue(a.sort, a.dir) : ""}排序` : ""+ dir: i && _ue(n, t) ? t === "asc" ? "asc" : "desc" : "",+ ariaLabel: a ? `按${r}${a.dir ? _ue(a.sort, a.dir) : ""}排序` : ""};});}@@ -111672,7 +111681,7 @@ function u7(e, t, n, r = a7.EMPTY_ENTITY_MEDIA, i = {}) {return a7.application.route(e, t, n, r, i);}function d7() {- return o_t({+ return s_t({entityWall: a7.entityPageWall,entityCurrent: a7.entityPageCurrent(),indexVisible: !R("#index").hidden,@@ -111684,13 +111693,13 @@ function d7() {function f7() {a7.photos.sync();}-function k_t() {- d7() ? gde(qT()) : QT();+function A_t() {+ d7() ? mde(YT()) : eE();}-function A_t(e) {+function j_t(e) {a7.photos.setSize(e);}-var j_t = $gt({+var M_t = e_t({request: (e) => Vt("/api/reveal", {method: "POST",body: JSON.stringify({ id: e })@@ -111698,20 +111707,20 @@ var j_t = $gt({success: () => q5.toast({ text: "已在资源管理器中显示" }),failureText: (e) => a7.sourceHint(e instanceof Error ? e.message : String(e))});-async function M_t(e) {+async function N_t(e) {let t = { textContent: "" };- return await j_t(e, t), t.textContent;+ return await M_t(e, t), t.textContent;}-async function N_t(e) {+async function P_t(e) {let t = { textContent: "" }, n = [];- return await P_t(e, t, (e) => {+ return await F_t(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));}), {text: t.textContent,removed: n};}-async function P_t(e, t, n) {+async function F_t(e, t, n) {t.textContent = "正在核对目录…";try {let r = await Vt("/api/purge-missing", {@@ -111741,17 +111750,17 @@ async function P_t(e, t, n) {t.textContent = a7.sourceHint(e.message), q5.actionFailure("核对目录", e);}}-function F_t(e) {+function I_t(e) {return `<div class="srctools">${a7.sourceToolButtons(e)}<span class="srcstate" aria-live="polite"></span></div>`;}-function I_t(e, t) {+function L_t(e, t) {let n = e.querySelector(".srcstate");if (!n) return;let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");- r && K5.handler(r, "onclick", () => j_t(Number(r.dataset.reveal), n, { button: r })), i && K5.handler(i, "onclick", () => P_t(Number(i.dataset.sync), n, t));+ r && K5.handler(r, "onclick", () => M_t(Number(r.dataset.reveal), n, { button: r })), i && K5.handler(i, "onclick", () => F_t(Number(i.dataset.sync), n, t));}-async function L_t(e, t) {+async function R_t(e, t) {let n = Bs({title: "添加别名",description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",@@ -111789,16 +111798,16 @@ async function L_t(e, t) {});} }) : q5.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));}-function R_t(e, t) {- let n = ["performer", "studio"].includes(e) && $5.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>${To()}${e === "agency" ? "" : D_t(l7(G.sort, G.dir, n), n ? {+function z_t(e, t) {+ let n = ["performer", "studio"].includes(e) && $5.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>${To()}${e === "agency" ? "" : O_t(l7(G.sort, G.dir, n), n ? {name: "jav-layout",label: "JAV 卡片版式",- value: KT(),- options: UT- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${i7}>${z("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${i7}>${z("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${Z.catalogViews().map((e) => `<button type="button" data-entity-state="${B(e.k)}" aria-pressed="${G.state === e.k}" ${i7}>${B(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = T_t(e, r, e === "agency" ? Qo({+ value: JT(),+ options: GT+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${i7}>${z("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${i7}>${z("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${Z.catalogViews().map((e) => `<button type="button" data-entity-state="${B(e.k)}" aria-pressed="${G.state === e.k}" ${i7}>${B(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = E_t(e, r, e === "agency" ? Qo({kind: "performers",layout: S7.peopleIndexLayout()- }) : O_t("正在读取作品", ZT(XT({+ }) : k_t("正在读取作品", $T(QT({active: n,home: !1,portrait: !1@@ -111813,14 +111822,14 @@ function p7(e, t) {};r(n.querySelector(".entityfoot"), e !== "agency" && $5.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", $5.costarSkeletonFoot())), r(n.querySelector(".feednew"), $5.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", $5.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && $5.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", $5.factsSkeleton()));}-function z_t(e) {+function B_t(e) {let t = Jt[e] || e, n = i5[t] || "条目", r = i5[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";R("#index").innerHTML = Q.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });}function m7(e, t) {k9(a7.application.fresh(e, t));}-function B_t() {+function V_t() {a7.ENTITY_FILTER_KEYS = ["loc","creator",@@ -111831,10 +111840,10 @@ function B_t() {"orient","sort","dir"- ], a7.emptyEntityFilters = Q5, a7.parseEntityFilters = (e) => e_t(e, {+ ], a7.emptyEntityFilters = Q5, a7.parseEntityFilters = (e) => t_t(e, {sort: Q.appSettings.defaultSort,dir: Q.appSettings.defaultSortDirection- }), a7.entityFilterSearch = t_t, a7.cloneBarsContext = (e) => e && e.type === "entity" ? {+ }), a7.entityFilterSearch = n_t, a7.cloneBarsContext = (e) => e && e.type === "entity" ? {...e,filters: { ...e.filters }} : e, a7.activeFilterState = () => {@@ -111842,28 +111851,28 @@ function B_t() {return e.type === "home" ? G : e.filters;}, R("#q").value = G.q, Z.rememberSearchValue();}-function V_t() {+function H_t() {a7.entityPageView = "", a7.entityPageWall = !1, a7.entityPageRevision = 0, a7.entityPageCurrent = () => !!o7(), a7.entityPageLive = (e, t) => {let n = o7();return !!n && !R("#index").hidden && n.props.kind === e && n.props.name === t;}, a7.EMPTY_ENTITY_MEDIA = {media: "videos",set: 0- }, a7.parseMediaView = n_t, a7.entityViewSearch = r_t, a7.entityBodyCanLoadMore = () => !R("#index").hidden && R("#stats").hidden, a7.entityBodySkeleton = () => d9(), a7.entityPageHelpers = {+ }, a7.parseMediaView = r_t, a7.entityViewSearch = i_t, a7.entityBodyCanLoadMore = () => !R("#index").hidden && R("#stats").hidden, a7.entityBodySkeleton = () => d9(), a7.entityPageHelpers = {wireDrag: (e) => {e && g9(e);},wireScroller: (e) => {e && hs(e);},- wireFeedRow: (e) => y_t(e),- feedRowHtml: v_t,+ wireFeedRow: (e) => b_t(e),+ feedRowHtml: y_t,receipt: (e, t) => q5.actionReceipt(e, t),failure: (e, t) => q5.actionFailure(e, t),- aliasForm: (e, t) => L_t(e, t),- sourceToolsHtml: (e) => F_t(e),- wireSourceTools: (e, t) => I_t(e, t),- comboItems: (e) => vyt(e),+ aliasForm: (e, t) => R_t(e, t),+ sourceToolsHtml: (e) => I_t(e),+ wireSourceTools: (e, t) => L_t(e, t),+ comboItems: (e) => yyt(e),sortKeys: (e, t, n) => l7(e, t, n)}, a7.entityFollowActions = {...A9.followFeedActions,@@ -111887,8 +111896,8 @@ function V_t() {<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"aria-label="同步删除">${z("folder-sync")}</button>`;}-function H_t() {- a7.application = d_t({+function U_t() {+ a7.application = f_t({controller: {context: () => {let e = c7();@@ -111911,12 +111920,12 @@ function H_t() {preferences: () => ({revision: a7.entityPageRevision,feedRevision: $5.feedRevision,- photoSize: qT(),- photoLayout: JT(),- photoLayouts: ede,+ photoSize: YT(),+ photoLayout: XT(),+ photoLayouts: Que,followImagesOnly: !!Q.appSettings.followImagesOnly,- javLayout: KT(),- javLayouts: UT,+ javLayout: JT(),+ javLayouts: GT,states: Z.VIEW_PILLS,peopleLayout: S7.peopleIndexLayout(),layout: u9(),@@ -111937,25 +111946,25 @@ function H_t() {writeSeed: (e) => {G.seed = e, hl();},- setJavLayout: Bvt,- javLayout: KT,- setPhotoLayout: lde,+ setJavLayout: Vvt,+ javLayout: JT,+ setPhotoLayout: sde,syncPhotoWalls: f7,openEntity: m7,photoViewActive: d7,recordPainted: (e, t) => {a7.entityPageView = e, a7.entityPageWall = t;},- syncDensity: k_t,+ syncDensity: A_t,scheduleSticky: q7,- releasePage: () => uk(R("#index")),- showMissing: z_t,+ releasePage: () => pk(R("#index")),+ showMissing: B_t,dropBars: X5},loading: {shapesReady: (e, t) => $5.hasEntityShape(e, t),- waitShapes: Svt,- paintSkeleton: R_t,+ waitShapes: Cvt,+ paintSkeleton: z_t,resetView: () => {ml({ detailReturnBarsContext: null }), a7.entityPageView = "", a7.entityPageWall = !1;},@@ -111964,20 +111973,20 @@ function H_t() {},photos: {preferences: () => ({- size: qT(),- layout: JT(),+ size: YT(),+ layout: XT(),imagesOnly: !!Q.appSettings.followImagesOnly}),walls: () => document.querySelectorAll(".followphotowall"),pushEntity: s7,pushFollow: F9,- syncDensity: k_t,- storeSize: cde+ syncDensity: A_t,+ storeSize: ode},helpers: a7.entityPageHelpers,actions: {toggleTag: r9,- openFollowAuthor: vvt,+ openFollowAuthor: yvt,javContext: (e) => ml({ entityJavLayout: !!e })},sortPreference: () => ({@@ -111989,7 +111998,7 @@ function H_t() {//#endregion//#region src/application/playlists.jsvar h7 = { playlistWrite: void 0 };-function U_t(e, t) {+function W_t(e, t) {e === "tag" ? (ml({ state: {...G,tag: t,@@ -112001,15 +112010,15 @@ function U_t(e, t) {orient: ""} }), Z.clearSearchField(), $.route(Y7()), j7(), n9()) : m7(e, t);}-function W_t(e = "") {+function G_t(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"maxlength="80" placeholder="输入名称" value="${B(e)}"></label>`;}-async function G_t({ title: e, count: t, save: n }) {+async function K_t({ title: e, count: t, save: n }) {let r = Bs({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,- body: W_t(e),+ body: G_t(e),confirmLabel: "保存为播放列表",onConfirm: () => {let e = r.dialog.querySelector("[name=\"name\"]").value.trim();@@ -112019,19 +112028,19 @@ async function G_t({ title: e, count: t, save: n }) {});r.dialog.querySelector("[name=\"name\"]").select();let { confirmed: i, result: a } = await r.done;- i && (await qyt(a.id, a.current_asset_id, !0), q5.actionReceipt("已保存为播放列表", { undo: async () => {+ i && (await Jyt(a.id, a.current_asset_id, !0), q5.actionReceipt("已保存为播放列表", { undo: async () => {await h7.playlistWrite({action: "delete",id: a.id}), k9("/playlists");} }));}-async function K_t(e) {+async function q_t(e) {let t = ((await Vt("/api/playlists")).items || []).map((e) => `<label class="pickrow">${fee(`data-pick-playlist="${e.id}"`)}<span class="pickrowtext"><b>${B(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = Bs({title: "加入播放列表",description: "勾选要加入的列表,或者填个名称新建一份。",- body: W_t() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Lo("还没有播放列表,填个名称就能新建一份。", { size: "small" })),+ body: G_t() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Lo("还没有播放列表,填个名称就能新建一份。", { size: "small" })),confirmLabel: "保存",confirmDisabled: !0,onConfirm: async () => {@@ -112070,18 +112079,18 @@ async function K_t(e) {});} });}-function q_t() {+function J_t() {Ec(), v9(!1), A7();- let e = ik(R("#stats"));+ let e = sk(R("#stats"));e?.path !== "/playlists" || !e.host.isConnected ? ml({ pageOpens: al + 1 }) : (k7({ manage: !1 }), ml({ playlistsRevision: dl + 1 }));}-function J_t(e) {+function Y_t(e) {$.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));}-function Y_t(e) {- ml({ configurationRequestedSection: e }), $.navigatePath(BO(e));+function X_t(e) {+ ml({ configurationRequestedSection: e }), $.navigatePath(UO(e));}-function X_t() {+function Z_t() {h7.playlistWrite = (e) => Vt("/api/playlist", {method: "POST",body: JSON.stringify(e)@@ -112092,7 +112101,7 @@ function X_t() {function g7(e) {return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";}-function Z_t(e, t, n, r, i = !1) {+function Q_t(e, t, n, r, i = !1) {return i && (e.selected.clear(), e.followSelected.clear()), {selectMode: r,selectSurface: r ? t.selectMode ? t.selectSurface : n : "",@@ -112100,19 +112109,19 @@ function Z_t(e, t, n, r, i = !1) {followLastSelectedId: i ? null : t.followLastSelectedId};}-function Q_t(e, t, n, r, i, a = !1) {- let o = n === "follow", s = qz(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);+function $_t(e, t, n, r, i, a = !1) {+ let o = n === "follow", s = Xz(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);return {- ...Z_t(e, t, n, !0),+ ...Q_t(e, t, n, !0),...o ? { followLastSelectedId: s } : { lastSelectedId: s }};}-function $_t(e, t, n, r) {+function evt(e, t, n, r) {let i = g7(t);return {count: (i === "follow" ? e.followSelected : e.selected).size,context: i === "catalog" && r === "trash" ? "trash" : i,- junkDismissed: YW(n).view === "dismissed"+ junkDismissed: QW(n).view === "dismissed"};}//#endregion@@ -112135,33 +112144,33 @@ function v7() {}), F9({selected: new Set(Uc),selectMode: Wc- }), _7.batchDockProps = lvt(), ygt() && (ygt().render(_7.batchDockProps), Q.syncGlassOptics());+ }), _7.batchDockProps = uvt(), bgt() && (bgt().render(_7.batchDockProps), Q.syncGlassOptics());}function y7(e, t = !1) {- ml(Z_t({+ ml(Q_t({selected: Hc,followSelected: Uc}, x7(), g7(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Wc), Wc && Ec(), R("#selectMode").setAttribute("aria-pressed", String(Wc)), v7();}-function evt() {+function tvt() {return [...w7.gridCards()].map((e) => +e.dataset.id);}function b7(e, t = !1) {- ml(Q_t({+ ml($_t({selected: Hc,followSelected: Uc- }, x7(), g7(location.pathname), evt(), e, t)), y7(!0);+ }, x7(), g7(location.pathname), tvt(), e, t)), y7(!0);}-function tvt() {+function nvt() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function nvt(e, t = !1) {- ml(Q_t({+function rvt(e, t = !1) {+ ml($_t({selected: Hc,followSelected: Uc- }, x7(), "follow", tvt(), e, t)), y7(!0);+ }, x7(), "follow", nvt(), e, t)), y7(!0);}-async function rvt(e, t) {+async function ivt(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -112230,7 +112239,7 @@ async function rvt(e, t) {}});}-async function ivt() {+async function avt() {let e = [...Hc];if (!e.length) return;let t = Bs({@@ -112262,7 +112271,7 @@ async function ivt() {let { confirmed: n, result: r } = await t.done;n && (y7(!1, !0), await W7(), q5.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function avt(e, t) {+async function ovt(e, t) {let n = [...Uc];if (!n.length) return;let r = {@@ -112297,7 +112306,7 @@ async function avt(e, t) {}});}-async function ovt(e, t) {+async function svt(e, t) {let n = [...Hc];if (!n.length) return;let r = {@@ -112343,8 +112352,8 @@ async function ovt(e, t) {}});}-function svt() {- vgt({+function cvt() {+ ygt({root: R("[data-batch-dock]"),run: (e, t, n) => {_7.BATCH_RUNNERS[e]?.(t, n);@@ -112353,7 +112362,7 @@ function svt() {e.render(_7.batchDockProps), Q.syncGlassOptics();}).catch(() => {});}-function cvt() {+function lvt() {_7.batchDockProps = {count: 0,context: "catalog",@@ -112366,14 +112375,14 @@ function cvt() {["other", "其他"],["none", "撤回判定"]], _7.BATCH_RUNNERS = {- batch: rvt,- region: ivt,- follow: avt,- junk: ovt,+ batch: ivt,+ region: avt,+ follow: ovt,+ junk: svt,clear: () => y7(!1, !0)}, K5.handler(R("#density"), "onclick", () => {- d7() ? A_t(qT() === "big" ? "small" : "big") : hde();- }), QT(), wc({+ d7() ? j_t(YT() === "big" ? "small" : "big") : pde();+ }), eE(), wc({selecting: () => Wc,censored: () => h9(),delaySeconds: () => Q.appSettings.hoverDelaySeconds@@ -112393,8 +112402,8 @@ function x7() {followLastSelectedId: Kc};}-function lvt() {- return $_t({+function uvt() {+ return evt({selected: Hc,followSelected: Uc}, location.pathname, location.search, G.state);@@ -112405,31 +112414,31 @@ var S7 = {peopleIndexLayout: void 0,personAvatar: void 0};-function uvt() {- return Q.appSettings.followLayout === "table" ? "table" : "default";-}function dvt() {- return Xgt(location.search);+ return Q.appSettings.followLayout === "table" ? "table" : "default";}-function fvt(e) {- return Zgt(e);+function fvt() {+ return Zgt(location.search);}function pvt(e) {- $.route(fvt(e));+ return Qgt(e);}-function mvt(e = "") {- return Qgt(location.search, e);+function mvt(e) {+ $.route(pvt(e));}-function hvt(e) {- return qgt(e);+function hvt(e = "") {+ return $gt(location.search, e);}function gvt(e) {- return Ggt(e);+ return Jgt(e);+}+function _vt(e) {+ return Kgt(e);}function C7() {R("#stats").hidden = !0, R("#index").hidden = !1, o9(), Z.hideCatalogCombo(), R("#count").textContent = "", R("#loadSentinel").hidden = !0;}-function _vt(e, t) {+function vvt(e, t) {ml({ state: {...G,state: "",@@ -112437,23 +112446,23 @@ function _vt(e, t) {tag_match: t} }), y7(!1, !1), $.route(Y7()), j7(), T9(), n9();}-function vvt(e) {+function yvt(e) {S7.controller.openFollowAuthor(e);}-function yvt(e) {+function bvt(e) {S7.controller.openFollowTag(e);}-function bvt() {+function xvt() {A9.FOLLOW_MANAGE_TABS = ["list","add","feeds"], K5.listen(document, "click", (e) => {- e.target.closest?.("[data-empty-settings]") && Y_t("媒体库与入库");- }), S7.peopleIndexLayout = () => Ymt(Q.appSettings.peopleLayout), S7.personAvatar = Kgt;+ e.target.closest?.("[data-empty-settings]") && X_t("媒体库与入库");+ }), S7.peopleIndexLayout = () => Xmt(Q.appSettings.peopleLayout), S7.personAvatar = qgt;}-function xvt() {- S7.controller = Jgt({+function Svt() {+ S7.controller = Ygt({route: $.route,followView: M9,adoptFollowView: N9,@@ -112480,17 +112489,17 @@ function T7(e = "正在读取作品") {return;}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 = CPe(YW(location.search)), as(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", G && t9({+ 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 = xPe(QW(location.search)), as(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", G && t9({count: null,- ...dyt()+ ...fyt()})), R("#loadSentinel").hidden = !0, c9()) return;let r = R("#grid"), i = d9(e), a = r.querySelector(".catalog-skeleton");- (a?.dataset.skeleton !== nJ(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== Cyt()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : w7.setGridCards(i), as(R("#grid")));+ (a?.dataset.skeleton !== aJ(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== wyt()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : w7.setGridCards(i), as(R("#grid")));}function E7() {R("#catalogFilter").style.display = "none", e9();}-function Svt() {+function Cvt() {let e = new Promise((e) => {let t = w7.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {let i = performance.now();@@ -112500,32 +112509,32 @@ function Svt() {});return Promise.race([w7.entityShapesReady ||= e7(), e]);}-function Cvt() {+function wvt() {let e = decodeURIComponent(location.pathname);if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), E7();else if (/^\/assets\/\d+$/.test(e)) E7();else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) E7();else if (e === "/junk-files") T7("正在读取垃圾文件");- else if (e === "/jav" && rG(new URLSearchParams(location.search).get("tab")) === "library") T7("正在读取馆藏");+ else if (e === "/jav" && oG(new URLSearchParams(location.search).get("tab")) === "library") T7("正在读取馆藏");else if ($.managedPagePath(e)) {E7();let t = R("#stats");t.hidden = !1, o9(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? A9.followSkeletonHtml("正在读取关注内容") : w7.managementPlaceholder(e), as(t);- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) E7(), C7(), eht(R("#index"), Xmt(e.slice(1), location.search), S7.peopleIndexLayout());+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) E7(), C7(), tht(R("#index"), Zmt(e.slice(1), location.search), S7.peopleIndexLayout());else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {E7(), R("#index").hidden = !1, o9();let t = Yt[e.split("/")[1]], n = e.split("/").slice(2).join("/");- ($5.hasEntityShape(t, n) ? Promise.resolve() : Svt()).then(() => {- R("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (R_t(t, n), as(R("#index")));+ ($5.hasEntityShape(t, n) ? Promise.resolve() : Cvt()).then(() => {+ R("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (z_t(t, n), as(R("#index")));});} else $.routeMeta(e) ? T7() : (o9(), R("#count").textContent = "", R("#loadSentinel").hidden = !0);}-function wvt() {- A9.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => eJ(t, {+function Tvt() {+ A9.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => rJ(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",- gridSize: qT()+ gridSize: YT()}), A9.followSkeletonHtml = (e = "正在读取关注内容") => `<div class="peach-react"><div class="follow" data-follow-feed><div data-follow-head><h2 data-follow-title>关注</h2></div><div class="tier followauthors" data-skeleton-tier="av"></div>@@ -112535,16 +112544,16 @@ function wvt() {<div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>${A9.followContentSkeletonHtml(void 0, e)}</div></div>`, R("#loadSentinel").innerHTML = zo("继续载入中…"), w7.setGridCards = (e) => Xo(R("#grid"), () => {R("#grid").innerHTML = `<div class="grid">${e}</div>`;- }), w7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), w7.managementPlaceholder = (e) => tJ(e, {- followLayout: uvt(),+ }), w7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), w7.managementPlaceholder = (e) => iJ(e, {+ followLayout: dvt(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(dvt())+ }))(fvt())}), w7.wantsDiscoveryBars = () => R("#catalogFilter").style.display !== "none", w7.entityShapesReady = null, w7.ENTITY_SHAPES_WAIT = 400, w7.syncPageTitle = (e) => {- let t = new URL(e, location.origin), n = ek(decodeURIComponent(t.pathname))?.title;- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, tbt();+ let t = new URL(e, location.origin), n = rk(decodeURIComponent(t.pathname))?.title;+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, nbt();};}//#endregion@@ -112556,7 +112565,7 @@ var D7 = (e) => e.replace(/[&<>"']/g, (e) => ({"\"": ""","'": "'"})[e]);-function Tvt(e, t, n) {+function Evt(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.png\" alt=\"\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${D7(r)}"/></svg>`;@@ -112565,7 +112574,7 @@ function Tvt(e, t, n) {}//#endregion//#region src/application/filter-scroll.js-function Evt(e, t, n, r = !1) {+function Dvt(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -112607,18 +112616,18 @@ var O7 = {mobileFilterPath: void 0};function k7({ manage: e = !0, placeholder: t = "" } = {}) {- R("#stats").hidden = !1, R("#index").hidden = !0, o9(), R("#count").textContent = "", R("#loadSentinel").hidden = !0, e ? I7() : (L7(""), T9()), t && rJ(R("#stats"), t);+ R("#stats").hidden = !1, R("#index").hidden = !0, o9(), R("#count").textContent = "", R("#loadSentinel").hidden = !0, e ? I7() : (L7(""), T9()), t && oJ(R("#stats"), t);}function A7() {Z.hideCatalogCombo(), E7(), document.body.classList.remove("entity-open", "index-open");}function j7() {- document.body.classList.remove("entity-open", "index-open"), uk(R("#index")), R("#stats").hidden = !0, R("#index").hidden = !0, t7(location.pathname) || (R("#feedNew").hidden = !0), R("#catalogFilter").style.display = "", e9(), I7(), R7();+ document.body.classList.remove("entity-open", "index-open"), pk(R("#index")), R("#stats").hidden = !0, R("#index").hidden = !0, t7(location.pathname) || (R("#feedNew").hidden = !0), R("#catalogFilter").style.display = "", e9(), I7(), R7();}-function Dvt() {+function Ovt() {$.route("/"), j7();}-function Ovt({ tags: e = [], providers: t = [], duration: n = !1 }) {+function kvt({ tags: e = [], providers: t = [], duration: n = !1 }) {w9({content: e.length || t.length || n ? {kind: "follow",@@ -112642,8 +112651,8 @@ function Ovt({ tags: e = [], providers: t = [], duration: n = !1 }) {filters: A9.followSidebarFilters()});}-function kvt(e) {- dbt({+function Avt(e) {+ fbt({...M9(),...e}), w9({ filters: A9.followSidebarFilters() });@@ -112655,39 +112664,39 @@ function N7(e) {let t = R("#drawer"), n = !e && t.contains(document.activeElement);t.inert = !e && M7(), 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 Avt() {+function jvt() {M7() && N7(!1);}-function jvt() {+function Mvt() {rl === null && (ml({ runtimeConfigurable: !1 }), Vt("/healthz").then((e) => {ml({ runtimeConfigurable: !!e.configurable }), rl && F7() && I7();}).catch(() => {}));}function P7(e = "", t = !1) {- if (!t && !zO(location.pathname)) {- let t = vk.navigation;- vk.push(BO(e), { settingsBackground: {+ if (!t && !HO(location.pathname)) {+ let t = xk.navigation;+ xk.push(UO(e), { settingsBackground: {pathname: location.pathname,search: location.search,state: t.location.state,seq: t.seq} });- } else !t && e && yk(BO(e), {+ } else !t && e && Sk(UO(e), {replace: !0,- state: vk.navigation.location.state+ state: xk.navigation.location.state});- return e ||= $_e(location.pathname), pgt(O7.settingsHost()).then((t) => (t.open(e), t));-}-function Mvt() {- zO(location.pathname) && (VO(vk.navigation.location.state) ? vk.go(-1) : $.navigatePath("/", !0));+ return e ||= Z_e(location.pathname), mgt(O7.settingsHost()).then((t) => (t.open(e), t));}function Nvt() {+ HO(location.pathname) && (WO(xk.navigation.location.state) ? xk.go(-1) : $.navigatePath("/", !0));+}+function Pvt() {return {scroll: R("#drawerScroll"),store: Q.settingsStore,navCatalog: O7.NAV_CATALOG,navOn: G7,- navTo: Uvt,+ navTo: Wvt,toggleChip: (e, t, n) => $7((r) => {if (n) {let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);@@ -112703,8 +112712,8 @@ function Nvt() {selectFollowTag: (e) => {A9.followTags = /* @__PURE__ */ new Set([e]), N7(!1), k9(j9());},- selectFollowProvider: (e) => kvt({ provider: A9.followProviders.has(e) ? "" : e }),- setFollowDuration: (e, t) => kvt({+ selectFollowProvider: (e) => Avt({ provider: A9.followProviders.has(e) ? "" : e }),+ setFollowDuration: (e, t) => Avt({durMin: e ? e * 60 : 0,durMax: t < 180 ? t * 60 : 0}),@@ -112713,31 +112722,31 @@ function Nvt() {}};}-function Pvt() {+function Fvt() {let e = R("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];- e.innerHTML = Tvt(Q.appSettings.sidebarOrder, O7.NAV_CATALOG, G7), e.querySelector("[data-sidebar-head]").append(...t), K5.listen(e, "click", (e) => {+ e.innerHTML = Evt(Q.appSettings.sidebarOrder, O7.NAV_CATALOG, G7), e.querySelector("[data-sidebar-head]").append(...t), K5.listen(e, "click", (e) => {if (B5()) return;let t = e.target.closest?.("[data-nav]");- t && Uvt(t.dataset.nav);- }), hgt(Nvt()).then((e) => e.render(O7.sidebarProps)).catch(() => {});+ t && Wvt(t.dataset.nav);+ }), ggt(Pvt()).then((e) => e.render(O7.sidebarProps)).catch(() => {});}-async function Fvt() {+async function Ivt() {let e = K5, t = null;try {t = await Vt("/api/settings", { signal: e.signal });} catch {return;}- e.isActive && Gue(t, (e) => Q.settingsEffects[e]?.());+ e.isActive && Uue(t, (e) => Q.settingsEffects[e]?.());}function F7() {return $.routeMeta(decodeURIComponent(location.pathname))?.route.section || (G.state === "ads" ? "cleanup" : "");}function I7() {let e = F7();- jvt(), e && E7(), R("#count").classList.toggle("no-tagbar", !!e), T9(), e !== "trash" && (_7.trashCount = null), L7(e);+ Mvt(), e && E7(), R("#count").classList.toggle("no-tagbar", !!e), T9(), e !== "trash" && (_7.trashCount = null), L7(e);}-function Ivt(e) {+function Lvt(e) {return {section: e,path: decodeURIComponent(location.pathname),@@ -112748,30 +112757,30 @@ function Ivt(e) {}function L7(e = F7()) {R7();- let t = Ivt(e), n = _gt();+ let t = Lvt(e), n = vgt();if (n) n.render(t);else {- let e = Gme(t);+ let e = Ume(t);e !== O7.manageHeaderSkeleton && (O7.manageHeaderSkeleton = e, O7.manageHeaderRoot().innerHTML = e);}- let r = FD(t)?.title || "";+ let r = RD(t)?.title || "";r !== O7.lastManagePageLabel && (O7.lastManagePageLabel = r, r && Yo(O7.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function Lvt() {+function Rvt() {let e = O7.manageHeaderRoot();K5.listen(e, "click", (e) => {- if (_gt()) return;+ if (vgt()) return;let t = e.target.closest?.("[data-manage]");if (t) z7(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(), $.navigatePath("/data-cleanup");- } else e.target.closest?.("[data-empty-trash]") && _yt();- }), ggt({+ } else e.target.closest?.("[data-empty-trash]") && vyt();+ }), _gt({root: e,openManage: z7,openDataCleanup: () => $.navigatePath("/data-cleanup"),- emptyTrash: _yt+ emptyTrash: vyt}).then(() => L7()).catch(() => {});}function R7() {@@ -112782,46 +112791,46 @@ function R7() {}function z7(e = "stats") {let t = $.routePathOf("section", e);- t ? $.openRoutePath(t) : (G.orient = "", G.state = "ads", hl(), $.route(XW()), j7(), T9(), n9());+ t ? $.openRoutePath(t) : (G.orient = "", G.state = "ads", hl(), $.route($W()), j7(), T9(), n9());}function B7() {let e = decodeURIComponent(location.pathname);return e === "/" ? G.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? G.jav === "1" || sl : !1;}-function Rvt(e = B7()) {- let t = gue.filter(([e]) => e !== "seed");- return e ? [ET, ...t] : t;+function zvt(e = B7()) {+ let t = mue.filter(([e]) => e !== "seed");+ return e ? [OT, ...t] : t;}function V7() {return decodeURIComponent(location.pathname) === "/" && G.jav !== "1";}function H7() {- return nde(V7());-}-function zvt(e) {- ade(e), U7(), R("#grid").hidden || f9();+ return ede(V7());}function Bvt(e) {- ode(e), U7(), f9();+ rde(e), U7(), R("#grid").hidden || f9();+}+function Vvt(e) {+ ide(e), U7(), f9();}function U7() {document.querySelectorAll("[data-video-layout]").forEach((e) => {e.checked = e.value === H7();- }), Z.catalogFilterProps && t9({ layout: uyt() });+ }), Z.catalogFilterProps && t9({ layout: dyt() });}-function Vvt(e) {- sde(e), U7(), f9();+function Hvt(e) {+ ade(e), U7(), f9();}async function W7() {- X5(), Z.mixRelatedCache.clear(), await Promise.all([Hvt(), n9()]);+ X5(), Z.mixRelatedCache.clear(), await Promise.all([Uvt(), n9()]);}-async function Hvt() {+async function Uvt() {if (a7.entityPageCurrent() && !R("#index").hidden) {s7({ revision: ++a7.entityPageRevision });return;}let e = decodeURIComponent(location.pathname);- if (ek(e)?.reload === "reopen" || e === "/follow") {+ if (rk(e)?.reload === "reopen" || e === "/follow") {ml({ pageOpens: al + 1 });return;}@@ -112837,8 +112846,8 @@ function G7(e) {}return e === "jav" ? t === "/jav" || B7() : e === "shorts" ? G.orient === "竖屏" : e === "" ? t === "/" && !F7() && !G.state && !B7() && G.orient !== "竖屏" : Wt[e] ? n === e && G.orient !== "竖屏" : n ? n === e : t === "/" && G.state === e && G.orient !== "竖屏";}-function Uvt(e) {- if (Avt(), O7.DIRECT_MANAGE_NAV[e]) {+function Wvt(e) {+ if (jvt(), O7.DIRECT_MANAGE_NAV[e]) {z7(O7.DIRECT_MANAGE_NAV[e]);return;}@@ -112863,11 +112872,11 @@ function K7() {let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Yt, t[0]), r = qt(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";R("#selectMode").hidden = !i, R("#density").hidden = !a, f7(), !i && Wc && y7(!1, !0);}-function Wvt() {+function Gvt() {let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);(t !== O7.mobileFilterHost || location.pathname !== O7.mobileFilterPath) && (O7.mobileFilterScroll = null), O7.mobileFilterHost = t, O7.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\"]");- O7.mobileFilterScroll = Evt(O7.mobileFilterScroll, n, innerWidth <= 760, r);+ O7.mobileFilterScroll = Dvt(O7.mobileFilterScroll, n, innerWidth <= 760, r);for (let n of e) {let e = n === t && O7.mobileFilterScroll.free;if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;@@ -112881,44 +112890,44 @@ function Wvt() {});}}-function Gvt() {- Wvt(), [".board-filter-frame", "#count"].forEach((e) => {+function Kvt() {+ Gvt(), [".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 q7() {O7.stickyFrame ||= K5.frame(() => {- O7.stickyFrame = 0, Gvt();+ O7.stickyFrame = 0, Kvt();});}-function Kvt() {+function qvt() {A9.followSidebarFilters = () => ({provider: [...A9.followProviders][0] || "",dur_min: A9.followDurMin || "",dur_max: A9.followDurMax || ""- }), K5.handler(R("#filterBtn"), "onclick", () => N7(!R("#drawer").classList.contains("open"))), O7.SIDEBAR_ITEMS = zgt, O7.MANAGE_SECTIONS = Z5, O7.MANAGE_MENU_SECTIONS = Bgt, O7.manageMenuSections = () => Vgt(rl === !0), O7.OPTIONAL_SIDEBAR_ITEMS = Hgt, O7.NAV_CATALOG = Ugt, O7.DIRECT_MANAGE_NAV = Wgt, O7.settingsHost = () => ({- selectSection: (e) => yk(BO(e), {+ }), K5.handler(R("#filterBtn"), "onclick", () => N7(!R("#drawer").classList.contains("open"))), O7.SIDEBAR_ITEMS = Bgt, O7.MANAGE_SECTIONS = Z5, O7.MANAGE_MENU_SECTIONS = Vgt, O7.manageMenuSections = () => Hgt(rl === !0), O7.OPTIONAL_SIDEBAR_ITEMS = Ugt, O7.NAV_CATALOG = Wgt, O7.DIRECT_MANAGE_NAV = Ggt, O7.settingsHost = () => ({+ selectSection: (e) => Sk(UO(e), {replace: !0,- state: vk.navigation.location.state+ state: xk.navigation.location.state}),- closed: Mvt,+ closed: Nvt,store: Q.settingsStore,changed: (e) => Q.settingsEffects[e]?.(),sound: (e) => Za(e),navCatalog: O7.NAV_CATALOG,- themeOptions: que,- videoLayouts: UT,- followInitialRanges: VK,+ themeOptions: Gue,+ videoLayouts: GT,+ followInitialRanges: WK,videoLayout: () => H7(),- setVideoLayout: Vvt,+ setVideoLayout: Hvt,censored: h9,- setCensored: Fyt,+ setCensored: Iyt,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),- setHighContrast: Iyt,+ setHighContrast: Lyt,receipt: (e) => q5.actionReceipt(e),failure: q5.actionFailure,- syncRemote: (e) => Gue(e, (e) => Q.settingsEffects[e]?.()),+ syncRemote: (e) => Uue(e, (e) => Q.settingsEffects[e]?.()),openConfiguration: () => $.navigatePath("/settings/library"),attached: () => Q.syncGlassOptics(),configurable: () => Vt("/healthz").then((e) => (ml({ runtimeConfigurable: !!e.configurable }), rl)).catch(() => null)@@ -112930,15 +112939,15 @@ function Kvt() {}//#endregion//#region src/catalog-filter-skeleton.ts-var qvt = 64, J7 = (e) => e.replace(/[&<>"]/g, (e) => ({+var Jvt = 64, J7 = (e) => e.replace(/[&<>"]/g, (e) => ({"&": "&","<": "<",">": ">","\"": """-})[e]), Jvt = (e) => e.repeat(qvt);-function Yvt(e, t, n) {+})[e]), Yvt = (e) => e.repeat(Jvt);+function Xvt(e, t, n) {let r = e.map((e) => `<a href="${J7(e.href)}" data-catalog-view="${J7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${J7(e.label)}</a>`).join("");- return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + Jvt("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div><div data-catalog-tier=\"studios\">" + Jvt("<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(qvt) + `</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>${To()}</span>` + (n ? D_t(n.sorts, n.layout) : "") + "</div></div></div></div>";+ return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + Yvt("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div><div data-catalog-tier=\"studios\">" + Yvt("<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(Jvt) + `</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>${To()}</span>` + (n ? O_t(n.sorts, n.layout) : "") + "</div></div></div></div>";}//#endregion//#region src/application/catalog.js@@ -112977,40 +112986,40 @@ var Z = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function Xvt() {- Z.initialParams.has("loc") || (G.loc = Zvt(G.loc), hl());+function Zvt() {+ Z.initialParams.has("loc") || (G.loc = Qvt(G.loc), hl());}-function Zvt(e) {- return Ogt(e, Q.sourceOnline);+function Qvt(e) {+ return kgt(e, Q.sourceOnline);}function Y7(e = G) {- return kgt(e);+ return Agt(e);}-function Qvt() {- ml(jgt(Agt(G, Q.appSettings, q5.rollSeed))), X5();+function $vt() {+ ml(Mgt(jgt(G, Q.appSettings, q5.rollSeed))), X5();}function X7(e = null, t = !1) {- Qvt(), e && (Object.assign(G, e), hl()), $.route(e ? Y7() : "/"), Z.clearSearchField(), v9(!1), j7(), T9(), n9(), t && window.scrollTo({+ $vt(), e && (Object.assign(G, e), hl()), $.route(e ? Y7() : "/"), Z.clearSearchField(), v9(!1), j7(), T9(), n9(), t && window.scrollTo({top: 0,behavior: "smooth"});}-function $vt(e, t = null) {+function eyt(e, t = null) {let n = e.id;!e.medium || e.medium === "video" ? b9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : b7(n);}-function eyt(e) {+function tyt(e) {return Z.mixRelatedCache.has(e) || Z.mixRelatedCache.set(e, Vt("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {throw Z.mixRelatedCache.delete(e), t;})), Z.mixRelatedCache.get(e);}-function tyt(e, t) {- M5()?.miniplayerTakesCard(e) ? M5().miniplayerPlay(e.id) : nyt(e, t);-}function nyt(e, t) {- e.edition_group ? Gyt(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? Kyt(e.part_group.seed_id, e.id, !0, t) : b9(e.id, !0, null, t);+ M5()?.miniplayerTakesCard(e) ? M5().miniplayerPlay(e.id) : ryt(e, t);}-async function ryt(e, t) {+function ryt(e, t) {+ e.edition_group ? Kyt(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? qyt(e.part_group.seed_id, e.id, !0, t) : b9(e.id, !0, null, t);+}+async function iyt(e, t) {try {let n = await Vt("/api/watch-later", {method: "POST",@@ -113027,7 +113036,7 @@ async function ryt(e, t) {q5.actionFailure("更新稍后看", e);}}-async function iyt(e, t) {+async function ayt(e, t) {try {await Vt("/api/batch", {method: "POST",@@ -113051,8 +113060,8 @@ async function iyt(e, t) {throw q5.actionFailure("操作", e), e;}}-async function ayt(e, t, n, r) {- let i = Number(e.rating) || 0, a = dpe(i, t), o = async (t, r) => {+async function oyt(e, t, n, r) {+ let i = Number(e.rating) || 0, a = lpe(i, t), o = async (t, r) => {let i = (await Vt("/api/feedback", {method: "POST",body: JSON.stringify({@@ -113066,12 +113075,12 @@ async function ayt(e, t, n, r) {};try {let e = await o(a, r);- q5.actionReceipt(e ? `已评 ${KE(e)} 星` : "已取消评分", { undo: () => o(i) });+ q5.actionReceipt(e ? `已评 ${YE(e)} 星` : "已取消评分", { undo: () => o(i) });} catch (e) {throw r?.aborted || q5.actionFailure("评分", e), e;}}-async function oyt(e) {+async function syt(e) {let t = new URLSearchParams();if (B7() && 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" && G.state && t.set("state", G.state), e.type !== "item") {let e = a7.activeFilterState();@@ -113094,9 +113103,9 @@ async function oyt(e) {e[n] && t.set(n, e[n]);});}- return Lgt(t.toString(), Z.topsQueryParams(e).toString());+ return Rgt(t.toString(), Z.topsQueryParams(e).toString());}-function syt() {+function cyt() {if (scrollY <= 0) return;let e = document.documentElement;e.classList.add("refiltering");@@ -113109,14 +113118,14 @@ function syt() {});}function Z7(e) {- c7().type !== "entity" && t9({ tags: fyt(e) }), w9({ filters: { ...e } }), i9();+ c7().type !== "entity" && t9({ tags: pyt(e) }), w9({ filters: { ...e } }), i9();}async function Q7(e) {- let t = ++Z.facetCountsSeq, [n] = await oyt(e);- t === Z.facetCountsSeq && (e.type === "home" && (_9.facets = n), w9({ latest: Myt(n, e) }));+ let t = ++Z.facetCountsSeq, [n] = await syt(e);+ t === Z.facetCountsSeq && (e.type === "home" && (_9.facets = n), w9({ latest: Nyt(n, e) }));}function $7(e) {- syt();+ cyt();let t = c7();if (t.type === "entity") {let n = { ...t.filters };@@ -113133,7 +113142,7 @@ function $7(e) {} }), $.route(Y7()), j7(), n9();} else e(G), hl(), $.route(Y7()), Z7(G), Q7(Bc);}-function cyt() {+function lyt() {return {tiers: null,empty: !1,@@ -113150,7 +113159,7 @@ function cyt() {combo: [],comboHidden: !0,comboHost: R("#combo"),- actions: lyt(),+ actions: uyt(),helpers: {wireDrag: g9,wireScroller: (e) => {@@ -113168,16 +113177,16 @@ function t9(e) {...e,offscreen: n}, Z.catalogFilterProps = {- ...Z.catalogFilterProps || cyt(),+ ...Z.catalogFilterProps || lyt(),...e- }, !Z.catalogFilterMounting && (ak(t) ? lk(t, e) : (!t.firstChild && !n && (t.innerHTML = Yvt(Z.catalogViews(), Z.catalogFilterProps.state, dyt()), as(t)), Z.catalogFilterMounting = ck("catalog-filter", Z.catalogFilterProps, {+ }, !Z.catalogFilterMounting && (ck(t) ? fk(t, e) : (!t.firstChild && !n && (t.innerHTML = Xvt(Z.catalogViews(), Z.catalogFilterProps.state, fyt()), as(t)), Z.catalogFilterMounting = dk("catalog-filter", Z.catalogFilterProps, {container: t,isCurrent: () => !0- }).then(() => lk(t, Z.catalogFilterProps)).finally(() => {+ }).then(() => fk(t, Z.catalogFilterProps)).finally(() => {Z.catalogFilterMounting = null;})));}-function lyt() {+function uyt() {return {currentHref: () => {let e = new URL(Y7(), location.origin);@@ -113195,49 +113204,49 @@ function lyt() {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let t = kT(e, G.sort, G.dir);+ let t = jT(e, G.sort, G.dir);t && (G.sort = t.sort, G.dir = t.dir, hl(), m9());},- reshuffle: () => Nyt(),+ reshuffle: () => Pyt(),setLayout: (e) => {- B7() ? Bvt(e) : zvt(e);+ B7() ? Vvt(e) : Bvt(e);},moreTops: async (e) => {let t = Z.catalogTopsPages;if (!t) return [];- let n = (await Rgt(Z.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];- return e === "performers" ? n.map(pyt) : n.map(myt);+ let n = (await zgt(Z.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];+ return e === "performers" ? n.map(myt) : n.map(hyt);}};}-function uyt() {+function dyt() {return B7() ? {name: "jav-layout",label: "JAV 卡片版式",- value: KT(),- options: UT+ value: JT(),+ options: GT} : V7() ? {name: "home-layout",label: "首页卡片版式",value: H7(),- options: UT+ options: GT} : null;}-function dyt() {+function fyt() {return {sorts: l7(G.sort, G.dir),- layout: uyt(),+ layout: dyt(),state: G.state || "",trash: G.state === "trash"};}-function fyt(e) {+function pyt(e) {return Z.catalogTagRows.map((t) => ({...t,selected: Z.tagPressed(e.tag, t.k)}));}-function pyt(e) {+function myt(e) {return {name: e.k,ringHtml: `<span data-tier-initial>${B(hn(e.k))}</span>${xa({@@ -113251,14 +113260,14 @@ function pyt(e) {})}`};}-function myt(e) {+function hyt(e) {return {name: e.k,fallback: mn(e.k, 2),logo: e.has_logo ? va(e.k, "icon", e.logo_version) : ""};}-function hyt(e) {+function gyt(e) {Z.catalogFilterProps?.tiers || (Z.barsRendered = "", t9({tiers: null,state: e.state || ""@@ -113274,8 +113283,8 @@ async function n9() {G.seed || "",B7()]);- hyt(n);- let [i, a] = await oyt(t);+ gyt(n);+ let [i, a] = await syt(t);if (e !== Z.barsRequestSeq) return;let o = r + "\n" + JSON.stringify([i, a]);if (o === Z.barsRendered) {@@ -113302,25 +113311,25 @@ async function n9() {})), t9({tiers: {key: String(Z.barsRequestSeq),- performers: a.performers.map(pyt),- studios: a.studios.map(myt)+ performers: a.performers.map(myt),+ studios: a.studios.map(hyt)},empty: c,- tags: fyt(n),+ tags: pyt(n),tagFirst: d.length + p.length,views: Z.catalogViews(),state: n.state || ""}), i9(), O7.sidebarCatalog = {kind: "catalog",key: String(++O7.sidebarContentSeq),- facets: Myt(i, t)+ facets: Nyt(i, t)}, w9({content: O7.sidebarCatalog,filters: { ...n },latest: null});}-function gyt(e, t) {+function _yt(e, t) {_9.total = e, G.state === "trash" && (_7.trashCount = {total: _9.total,shown: t@@ -113329,7 +113338,7 @@ function gyt(e, t) {shown: t} });}-function _yt() {+function vyt() {return Hs({title: "清空回收站",body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",@@ -113351,7 +113360,7 @@ function r9(e) {t.tag = e ? Z.withTagToggled(t.tag, e) : "";});}-function vyt(e) {+function yyt(e) {let t = [];return e.creator && t.push({kind: "clear",@@ -113373,7 +113382,7 @@ function vyt(e) {}function i9() {t9({- combo: vyt(G),+ combo: yyt(G),comboHidden: !Z.catalogOnScreen()});}@@ -113385,43 +113394,43 @@ async function a9() {filters: G},detailReturnBarsContext: null- }), v9(!1), G.state === "ads") return Tyt(e);+ }), v9(!1), G.state === "ads") return Eyt(e);if (Z.controller.page === "/junk-files" && o9(), T7(), j7(), t7(location.pathname) && G.browse !== "folders") {if (await w7.entityShapesReady, !$.surfaceCurrent(e)) return;- b_t();+ x_t();} else n7();- return i9(), R("#count").classList.remove("manage-static", "junkcount"), byt(e);+ return i9(), R("#count").classList.remove("manage-static", "junkcount"), xyt(e);}-function yyt(e) {+function byt(e) {Z.controller.settle(e);}function o9() {let e = R("#grid");- Ec(e), uk(e), Z.controller.clear(), e.innerHTML = "";-}-function byt(e) {- return Syt("/", wyt, e, { place: pbt });+ Ec(e), pk(e), Z.controller.clear(), e.innerHTML = "";}function xyt(e) {- return Syt("/junk-files", Dyt, e);+ return Cyt("/", Tyt, e, { place: mbt });+}+function Syt(e) {+ return Cyt("/junk-files", Oyt, e);}function s9() {- return !!ik(R("#grid"));+ return !!sk(R("#grid"));}function c9() {return Z.controller.taken(s9());}function l9(e) {- lk(R("#grid"), e);+ fk(R("#grid"), e);}-function Syt(e, t, n, r = {}) {+function Cyt(e, t, n, r = {}) {let i = R("#grid");Z.controller.page && Z.controller.page !== e && o9();let a = Z.controller.begin(e, s9()), o = t();if (!a.mount) return l9(o), a.settled;Ec(i);- let s = () => uk(i);- return a.signal.addEventListener("abort", s, { once: !0 }), ck(e, o, {+ let s = () => pk(i);+ return a.signal.addEventListener("abort", s, { once: !0 }), dk(e, o, {...r,container: i,isCurrent: () => $.surfaceCurrent(n) && a.isCurrent()@@ -113431,17 +113440,17 @@ function Syt(e, t, n, r = {}) {}function u9() {let e = V7();- return XT({+ return QT({active: B7() || e,home: e,portrait: G.orient === "竖屏"});}function d9(e = "正在读取作品") {- return O_t(e, Cyt());+ return k_t(e, wyt());}-function Cyt() {- return G ? ZT(u9()) : 16 / 9;+function wyt() {+ return G ? $T(u9()) : 16 / 9;}function f9() {c9() && (Ec(R("#grid")), l9({@@ -113452,7 +113461,7 @@ function f9() {seekSeconds: Q.appSettings.seekSeconds}));}-function wyt() {+function Tyt() {let e = decodeURIComponent(location.pathname), t = qt(e), n = G.state === "trash";return {mode: "catalog",@@ -113465,7 +113474,7 @@ function wyt() {seekSeconds: Q.appSettings.seekSeconds,revision: Z.controller.revision,wireDrag: g9,- settled: yyt,+ settled: byt,skeletonHtml: () => d9(),filters: { ...G },batchSize: Q.appSettings.batchSize,@@ -113474,9 +113483,9 @@ function wyt() {mix: t && e !== "/wall" && !n && G.browse !== "folders",shorts: t && e !== "/wall" && !B7() && G.orient !== "竖屏" && !n && G.browse !== "folders",countRow: R("#count"),- onCount: gyt,+ onCount: _yt,onCountFailed: () => t9({ count: !1 }),- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Q.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : uL({+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Q.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : pL({jav: B7() && !t,configurable: rl,filtered: !t@@ -113484,11 +113493,11 @@ function wyt() {canLoadMore: () => R("#stats").hidden && R("#index").hidden};}-function Tyt(e) {+function Eyt(e) {let t = R("#count");- return Z.controller.page === "/junk-files" && s9() && !Z.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (o9(), T7("正在读取垃圾文件")), j7(), i9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), xyt(e);+ return Z.controller.page === "/junk-files" && s9() && !Z.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (o9(), T7("正在读取垃圾文件")), j7(), i9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Syt(e);}-async function Eyt(e, t) {+async function Dyt(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {await Vt("/api/batch", {@@ -113513,9 +113522,9 @@ async function Eyt(e, t) {throw q5.actionFailure("操作", e), e;}}-function Dyt() {+function Oyt() {return {- ...YW(location.search),+ ...QW(location.search),helpers: Z.junkQueueHelpers,actions: Z.junkQueueActions,batchSize: Q.appSettings.batchSize,@@ -113523,16 +113532,16 @@ function Dyt() {selectMode: Wc,selected: new Set(Hc),countRow: R("#count"),- settled: yyt,- skeletonHtml: () => eJ("正在读取垃圾文件", {+ settled: byt,+ skeletonHtml: () => rJ("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"}),canLoadMore: () => R("#stats").hidden && R("#index").hidden};}-function Oyt() {- Z.initialParams = new URLSearchParams(location.search), Z.resolveSort = (e, t, n = Q.appSettings.defaultSort) => Egt(e, t, Q.appSettings, n), ml(jgt(Dgt(location, Q.appSettings, q5.rollSeed))), Z.searchValueSnapshot = {+function kyt() {+ Z.initialParams = new URLSearchParams(location.search), Z.resolveSort = (e, t, n = Q.appSettings.defaultSort) => Dgt(e, t, Q.appSettings, n), ml(Mgt(Ogt(location, Q.appSettings, q5.rollSeed))), Z.searchValueSnapshot = {text: "",scrollLeft: 0}, Z.cancelSearchDissolve = () => {}, Z.rememberSearchValue = (e = R("#q")) => {@@ -113553,33 +113562,33 @@ function Oyt() {};};}-function kyt() {+function Ayt() {K5.handler(R("#wallBtn"), "onclick", () => {y7(!1, !0);let e = c7(), t = {...a7.activeFilterState(),jav: B7() ? "1" : ""};- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), $.navigatePath(eTe(void 0, t));+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), $.navigatePath(Qwe(void 0, t));}), Z.mixRelatedCache = /* @__PURE__ */ new Map(), Z.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, Z.tagList = (e = G.tag) => String(e || "").split(",").filter(Boolean), Z.tagPressed = (e, t) => Z.tagList(e).includes(String(t)), Z.withTagToggled = (e, t) => {let n = Z.tagList(e), r = n.indexOf(t);return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");}, Z.gridHelpers = {badgeHtml: (e, t) => Q.srcBadge(e, t),- titleHtml: (e, t) => wk(e, t),- displayName: (e, t) => Ck(e, t),+ titleHtml: (e, t) => Dk(e, t),+ displayName: (e, t) => Ek(e, t),tagLabel: (e) => Ac(e)}, Z.gridActions = {wallPlayer: async (e, t, n) => {let r = await j5(_9.stageHost);return n.throwIfAborted(), r.mountWallPlayer(e, t, n);},- wallDetails: nyt,- open: (e, t) => tyt(e, t),- openResource: (e, t) => M5()?.miniplayerTakesCard(e) ? M5().miniplayerPlay(e.id) : $vt(e, t),+ wallDetails: ryt,+ open: (e, t) => nyt(e, t),+ openResource: (e, t) => M5()?.miniplayerTakesCard(e) ? M5().miniplayerPlay(e.id) : eyt(e, t),openShort: (e) => M5()?.miniplayerTakesCard(e) ? M5().miniplayerPlay(e.id) : x9(e.id),openShorts: () => x9(),- openMix: (e, t) => Wyt(e, e, !0, t),+ openMix: (e, t) => Gyt(e, e, !0, t),openEntity: (e, t) => m7(e, t),openUnowned: () => X7({ owner: "none" }, !0),toggleTag: (e) => {@@ -113591,10 +113600,10 @@ function kyt() {});},toggleSelection: (e, t) => b7(e, t),- watchLater: (e, t) => ryt(e, t),- rate: (e, t, n, r) => ayt(e, t, n, r),- resourceOperation: (e, t) => iyt(e, t),- mixRelated: (e) => eyt(e),+ watchLater: (e, t) => iyt(e, t),+ rate: (e, t, n, r) => oyt(e, t, n, r),+ resourceOperation: (e, t) => ayt(e, t),+ mixRelated: (e) => tyt(e),canFlip: () => !Wc && !h9() && !window.__scrolling && !Z.reduceMotion()}, Z.topsQueryParams = (e, t = 0) => {let n = new URLSearchParams({@@ -113624,7 +113633,7 @@ function kyt() {href: e.k ? Wt[e.k] : "/"})), Z.TAGS_FIRST = 26, K5.listen(R("#catalogFilter"), "click", (e) => {let t = e.target.closest?.("[data-catalog-view]");- t && !e.defaultPrevented && (e.preventDefault(), lyt().setView(t.dataset.catalogView));+ t && !e.defaultPrevented && (e.preventDefault(), uyt().setView(t.dataset.catalogView));}), Z.catalogOnScreen = () => R("#index").hidden && R("#stats").hidden, Z.COMBO_LABELS = {creator: "创作者",studio: "厂牌",@@ -113633,7 +113642,7 @@ function kyt() {Z.catalogFilterProps && t9({ comboHidden: !0 });};}-function Ayt() {+function jyt() {Z.junkQueueHelpers = { badgeHtml: (e, t) => Q.srcBadge(e, t) }, Z.junkQueueActions = {navigate: (e) => {Wc && y7(!1, !0), $.route(e);@@ -113650,10 +113659,10 @@ function Ayt() {return a7.sourceHint(e.message);}},- operate: (e, t) => Eyt(e, t)+ operate: (e, t) => Dyt(e, t)};}-Z.controller = new Mgt();+Z.controller = new Ngt();//#endregion//#region src/application/preferences.jsvar Q = {@@ -113688,18 +113697,18 @@ async function p9() {if (!e.isActive) return Q.sourceOnline;Q.sourceOnline = {}, Q.sourceProblems = {};}- return document.body.classList.toggle("offline-source", Object.values(Q.sourceOnline).includes(!1)), Xvt(), Q.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Q.sourceOnline).includes(!1)), Zvt(), Q.sourceOnline;}function m9() {let e = $.surfacePath();if (!qt(e) || e === "/junk-files") return a9();let t = Q.nextCatalogLoad();- return yk(Y7(), {+ return Sk(Y7(), {replace: !0,- state: vk.navigation.location.state+ state: xk.navigation.location.state}), t;}-function jyt(e) {+function Myt(e) {if (e === "local") return {kind: "glyph",name: "hard-drive"@@ -113720,7 +113729,7 @@ function jyt(e) {cost: "free"};}-function Myt(e, t) {+function Nyt(e, t) {let n = (e, t = (e) => e.label || Ac(e.k)) => (e || []).map((e) => ({value: String(e.k),label: t(e),@@ -113731,7 +113740,7 @@ function Myt(e, t) {value: e.k,label: _n[e.k] || e.k,n: e.n ?? null,- dot: jyt(e.k),+ dot: Myt(e.k),...Q.sourceOffline(e.k) ? { offline: Q.OFFLINE_HINT } : {}})),regions: n(e.regions),@@ -113743,17 +113752,17 @@ function Myt(e, t) {duration: !!e.stats?.duration};}-async function Nyt(e = !1) {+async function Pyt(e = !1) {if (e && (document.hidden || !qt(decodeURIComponent(location.pathname)) || _9.stageOpen() || _9.immerseOpen() || Wc || Hc.size || document.activeElement === R("#q"))) return !1;if (!R("#stats").hidden) {let e = decodeURIComponent(location.pathname), t = $.routeMeta(e)?.route.refresh;if (t === "skip") return;if (e === "/playlists") {- q_t();+ J_t();return;}let n = t === "reopen" ? e : "/stats";- n === e ? $.navigatePath(location.pathname + location.search + location.hash, !0, vk.navigation.location.state) : $.navigatePath(n);+ n === e ? $.navigatePath(location.pathname + location.search + location.hash, !0, xk.navigation.location.state) : $.navigatePath(n);} else if (R("#index").hidden) {G.sort = "seed", G.dir = "", G.seed = q5.rollSeed(), hl(), X5(), t9({ refreshing: !0 });try {@@ -113771,47 +113780,47 @@ async function Nyt(e = !1) {function h9() {return document.body.classList.contains("censor");}-function Pyt(e) {- document.body.classList.toggle("censor", e), Q.settingsStore.notify();-}function Fyt(e) {- localStorage.setItem(Q.CENSOR_KEY, e ? "1" : "0"), Pyt(e), e && Ec();+ document.body.classList.toggle("censor", e), Q.settingsStore.notify();}function Iyt(e) {+ localStorage.setItem(Q.CENSOR_KEY, e ? "1" : "0"), Fyt(e), e && Ec();+}+function Lyt(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Q.settingsStore.notify();}function g9(e) {return hs(e, { drag: !0 });}-function Lyt() {+function Ryt() {["#nrow", "#count"].forEach((e) => g9(R(e))), document.querySelectorAll(".tier,.srow").forEach(g9);}-function Ryt() {+function zyt() {let e = new URLSearchParams(location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function zyt() {+function Byt() {Q.sourceOnline = {}, Q.sourceProblems = {}, Q.sourceOffline = (e) => Q.sourceOnline[e] === !1, Q.OFFLINE_HINT = "媒体目录无法访问,请检查目录、读取权限和网盘挂载状态", Q.OFFLINE_REASON = {local: "无法读取媒体目录,请检查目录是否存在及读取权限。",115: "无法读取 115 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。",pikpak: "无法读取 PikPak 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。"- }, Q.offlineReason = (e) => Q.sourceProblems[e] || Q.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Q.settingsStore = BT(), Q.appSettings = Q.settingsStore.value, Q.saveSettings = () => Q.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Q.appSettings.hoverDelaySeconds}s`), Xa(Q.appSettings.uiSounds), no(), HT(), Que(), _de(), eE(), tE(), Q.catalogLoadWaiters = [], Q.nextCatalogLoad = () => new Promise((e) => Q.catalogLoadWaiters.push(e)), Q.handOff = (e) => (Q.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Q.settingsEffects = {- theme: () => HT(),+ }, Q.offlineReason = (e) => Q.sourceProblems[e] || Q.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Q.settingsStore = HT(), Q.appSettings = Q.settingsStore.value, Q.saveSettings = () => Q.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Q.appSettings.hoverDelaySeconds}s`), Xa(Q.appSettings.uiSounds), no(), WT(), Xue(), hde(), nE(), rE(), Q.catalogLoadWaiters = [], Q.nextCatalogLoad = () => new Promise((e) => Q.catalogLoadWaiters.push(e)), Q.handOff = (e) => (Q.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Q.settingsEffects = {+ theme: () => WT(),uiSounds: () => {Xa(Q.appSettings.uiSounds), Q.appSettings.uiSounds && Za("toggle-on");},- glowFrame: () => $T(),+ glowFrame: () => tE(),glow: () => {- $T(), eE();+ tE(), nE();},batchSize: () => {location.pathname === "/" && a9();},defaultSort: () => {- G.sort = Q.appSettings.defaultSort, G.dir = AT(G.sort, Q.appSettings.defaultSort, Q.appSettings.defaultSortDirection), hl(), location.pathname === "/" && m9();+ G.sort = Q.appSettings.defaultSort, G.dir = MT(G.sort, Q.appSettings.defaultSort, Q.appSettings.defaultSortDirection), hl(), location.pathname === "/" && m9();},sortDirection: () => {- G.dir = AT(G.sort, Q.appSettings.defaultSort, Q.appSettings.defaultSortDirection), hl(), location.pathname === "/" && m9();+ G.dir = MT(G.sort, Q.appSettings.defaultSort, Q.appSettings.defaultSortDirection), hl(), location.pathname === "/" && m9();},hoverDelay: () => {Q.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {@@ -113819,16 +113828,16 @@ function zyt() {}), document.documentElement.style.setProperty("--hover-delay", `${Q.appSettings.hoverDelaySeconds}s`);},seekSeconds: () => f9(),- groupCollapse: () => Hvt(),- feedAutoScroll: () => S_t(),- feedCompilations: () => x_t(),+ groupCollapse: () => Uvt(),+ feedAutoScroll: () => C_t(),+ feedCompilations: () => S_t(),miniplayer: () => {Q.appSettings.miniplayer || M5()?.closeMiniplayer();},javImage: () => {- uee(document, Q.appSettings.javImage), f9(), document.querySelectorAll("img[data-jav-image].cover").forEach(oc), Uyt();+ uee(document, Q.appSettings.javImage), f9(), document.querySelectorAll("img[data-jav-image].cover").forEach(oc), Wyt();},- searchHistoryLimit: () => lk(R("#searchMenu"), { historyLimit: Q.appSettings.searchHistoryLimit })+ searchHistoryLimit: () => fk(R("#searchMenu"), { historyLimit: Q.appSettings.searchHistoryLimit })}, Q.syncGlassOptics = () => {}, Q.placeSidebarHead = () => {}, Q.SRCICON = {...Object.fromEntries(Object.entries(_o).map(([e, t]) => [e, t.startsWith("data:") ? `<img class="source-icon" src="${t}" alt="">` : z(t)])),online: z("rss")@@ -113837,8 +113846,8 @@ function zyt() {return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${B(r)}" aria-label="${B(r)}">` + (Q.SRCICON[e] || "") + "</span>";}, Q.emptyState = Vo;}-function Byt() {- Q.CENSOR_KEY = "peach-censor", Pyt(localStorage.getItem(Q.CENSOR_KEY) === "1");+function Vyt() {+ Q.CENSOR_KEY = "peach-censor", Fyt(localStorage.getItem(Q.CENSOR_KEY) === "1");}//#endregion//#region src/application/media.js@@ -113853,14 +113862,14 @@ var _9 = {immerseOpen: void 0,requestedImmerseId: void 0};-function Vyt() {+function Hyt() {let e = Number(new URLSearchParams(location.search).get("t"));return Number.isFinite(e) && e > 0 ? {time: e,autoplay: !1} : null;}-function Hyt() {+function Uyt() {return M5()?.exit() || Promise.resolve();}function v9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {@@ -113874,13 +113883,13 @@ function v9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = nulldetailReturnNeedsRestore: !1}), q7(), e && $.route(Jc || "/");}-function Uyt() {+function Wyt() {M5()?.repaintPoster();}function y9(e, t, n, r, i = null, a = {}) {t = +t;let o = Qc?.kind === e && (e === "playlist" ? Qc.playlistId : Qc.seedId) === t;- r && !o && ml({ detailReturnPath: location.pathname + location.search }), r && JO();+ r && !o && ml({ detailReturnPath: location.pathname + location.search }), r && ZO();let s = e === "playlist" ? {kind: e,playlistId: t,@@ -113893,25 +113902,25 @@ function y9(e, t, n, r, i = null, a = {}) {if (a.autoplay && (s.autoplay = !0), r) {E9();let e = $.queueOpenRequest = {- seq: vk.navigation.seq,+ seq: xk.navigation.seq,cancelled: !1};$.requestedQueue = () => b9(n == null ? null : +n, !1, s, i, !0, e), ml({ queueOpens: ol + 1 });} else return b9(n == null ? null : +n, !1, s, i, r);}-function Wyt(e, t = e, n = !0, r = null) {+function Gyt(e, t = e, n = !0, r = null) {return y9("mix", e, t, n, r);}-function Gyt(e, t = e, n = !0, r = null) {+function Kyt(e, t = e, n = !0, r = null) {return y9("editions", e, t, n, r);}-function Kyt(e, t = e, n = !0, r = null) {+function qyt(e, t = e, n = !0, r = null) {return y9("parts", e, t, n, r);}-function qyt(e, t = null, n = !0) {+function Jyt(e, t = null, n = !0) {return y9("playlist", e, t, n);}-function Jyt() {+function Yyt() {return !!R("#grid").querySelector("[data-id],[data-mix-seed]") || !R("#index").hidden || !R("#stats").hidden;}async function b9(e, t = !0, n = null, r = null, i = !1, a = null) {@@ -113921,8 +113930,8 @@ async function b9(e, t = !0, n = null, r = null, i = !1, a = null) {return;}Ec(), e = e == null ? null : +e;- let o = r?.isConnected ? r : Yc?.isConnected ? Yc : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Xc, c = Jyt(), l = Zc || !t && !c, u = Bc.type === "item" ? Vc : a7.cloneBarsContext(c7());- t ? ml({ detailReturnPath: location.pathname + location.search }) : i || ml({ detailReturnPath: XO() || Jc }), t && JO(), M5()?.showing() !== "item" && v9(!1, !0, {+ let o = r?.isConnected ? r : Yc?.isConnected ? Yc : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Xc, c = Yyt(), l = Zc || !t && !c, u = Bc.type === "item" ? Vc : a7.cloneBarsContext(c7());+ t ? ml({ detailReturnPath: location.pathname + location.search }) : i || ml({ detailReturnPath: $O() || Jc }), t && ZO(), M5()?.showing() !== "item" && v9(!1, !0, {miniplayer: !1,preserveQueueRequest: a}), ml({@@ -113933,7 +113942,7 @@ async function b9(e, t = !0, n = null, r = null, i = !1, a = null) {kind: n.kind,seedId: n.seedId,playlistId: n.playlistId- } }), ml({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && $.route("/assets/" + e, !1, ZO("item"));+ } }), ml({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && $.route("/assets/" + e, !1, ek("item"));let d = await j5(_9.stageHost);if (a?.cancelled) return;let f = a ? {@@ -113960,39 +113969,39 @@ async function b9(e, t = !0, n = null, r = null, i = !1, a = null) {selectMode: Wc,selected: new Set(Hc),seekSeconds: Q.appSettings.seekSeconds,- resume: t || e == null ? null : Vyt()+ resume: t || e == null ? null : Hyt()}), q7();}-async function Yyt() {+async function Xyt() {let e = a7.cloneBarsContext(Vc), t = Jc || "/", n = Zc;- await Hyt(), v9(!1, !1, { miniplayer: !1 }), ml({ detailReturnBarsContext: null }), YO(), ml({ barsContext: e || {+ await Uyt(), v9(!1, !1, { miniplayer: !1 }), ml({ detailReturnBarsContext: null }), QO(), ml({ barsContext: e || {type: "home",filters: G} }), n && $.managedPagePath(new URL(t, location.href).pathname) ? $.navigatePath(t) : ($.route(t), n ? ml({ pageOpens: al + 1 }) : (n9(), location.pathname === "/playlists" && ml({ pageOpens: al + 1 })));}-async function Xyt(e, t = !0) {+async function Zyt(e, t = !0) {if (t) {- ml({ detailReturnPath: location.pathname + location.search }), D9("/works/" + encodeURIComponent(e), "jav", () => Xyt(e, !1));+ ml({ detailReturnPath: location.pathname + location.search }), D9("/works/" + encodeURIComponent(e), "jav", () => Zyt(e, !1));return;}- let n = vk.navigation.seq, r = a7.cloneBarsContext(c7()), i = !Jyt(), a = XO() || (i ? "/jav?tab=discover" : Jc) || "/jav?tab=discover";+ let n = xk.navigation.seq, r = a7.cloneBarsContext(c7()), i = !Yyt(), a = $O() || (i ? "/jav?tab=discover" : Jc) || "/jav?tab=discover";M5()?.showing() !== "jav" && v9(!1, !0, { miniplayer: !1 }), ml({detailReturnPath: a,detailReturnBarsContext: r,detailReturnNeedsRestore: i}), Ec();let [o, s] = await Promise.all([j5(_9.stageHost), H("/healthz")]);- vk.navigation.seq === n && (await o.open({+ xk.navigation.seq === n && (await o.open({kind: "jav",code: e,readOnly: !!s.ledger_read_only,actions: {- close: () => void Yyt(),+ close: () => void Xyt(),navigate: (e) => $.navigatePath(e),canonicalCode: (t) => {- vk.navigation.seq === n && t && t !== e && yk("/works/" + encodeURIComponent(t) + location.search + location.hash, {+ xk.navigation.seq === n && t && t !== e && Sk("/works/" + encodeURIComponent(t) + location.search + location.hash, {replace: !0,- state: vk.navigation.location.state+ state: xk.navigation.location.state});},openTag: (e) => {@@ -114008,9 +114017,9 @@ async function Xyt(e, t = !0) {}), q7());}async function x9(e = null, t = !0) {- t ? (_9.requestedImmerseId = e, $.route("/immerse")) : (M5()?.closeMiniplayer(), await (await fgt(_9.immerseHost)).open(e));+ t ? (_9.requestedImmerseId = e, $.route("/immerse")) : (M5()?.closeMiniplayer(), await (await pgt(_9.immerseHost)).open(e));}-function Zyt() {+function Qyt() {_9.total = 0, _9.facets = null, _9.stageHost = {player: {settings: () => Q.appSettings,@@ -114026,26 +114035,26 @@ function Zyt() {openItem: (e) => void b9(e)}, _9.stageOpen = () => !!M5()?.isOpen();}-function Qyt() {+function $yt() {_9.itemDetailHelpers = {badgeHtml: (e, t, n) => Q.srcBadge(e, t, n),- titleHtml: (e) => wk(e),- displayName: (e) => Ck(e),+ titleHtml: (e) => Dk(e),+ displayName: (e) => Ek(e),javImage: () => Q.appSettings.javImage,tagLabel: (e) => Ac(e),isDurationTag: (e) => bn.has(e),tagCandidates: () => _9.facets && _9.facets.tags || [],sourceOffline: (e) => Q.sourceOffline(e),offlineReason: (e) => Q.offlineReason(e),- relatedSkeletonHtml: () => eJ("正在读取推荐", {+ relatedSkeletonHtml: () => rJ("正在读取推荐", {cards: !0,className: "related-skeleton"}),- mixRelated: (e) => eyt(e),+ mixRelated: (e) => tyt(e),wireDrag: (e) => g9(e),wireDragReorder: (e, t) => Rs(e, t)}, _9.itemDetailActions = {- close: () => Yyt(),+ close: () => Xyt(),present: (e) => {ml({ presentedItem: e });let t = Vc;@@ -114053,14 +114062,14 @@ function Qyt() {type: "item",id: e.id,filters: t?.type === "entity" ? { ...t.filters } : a7.emptyEntityFilters()- } }), $c && ($.queueOpenRequest = null, $.route(`/assets/${e.id}?${$c}`, !1, ZO("item")), ml({ pendingQueueRoute: null })), n9();+ } }), $c && ($.queueOpenRequest = null, $.route(`/assets/${e.id}?${$c}`, !1, ek("item")), ml({ pendingQueueRoute: null })), n9();},redirect: (e) => {let t = !!$c;e.kind === "follow" ? ($.queueOpenRequest = null, ml({pendingQueueRoute: null,followDetailReturnPath: Jc || "/"- }), $.route(`/posts/${e.id}`, !t, ZO("follow")), L9(e.id, !1, null, !0)) : e.kind === "item" ? b9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? k9("/playlists") : q_t() : v9(!1);+ }), $.route(`/posts/${e.id}`, !t, ek("follow")), L9(e.id, !1, null, !0)) : e.kind === "item" ? b9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? k9("/playlists") : J_t() : v9(!1);},openQueueItem: (e, t, n = !0) => void y9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),reopen: () => {@@ -114084,14 +114093,14 @@ function Qyt() {behavior: "smooth"});},- addToPlaylist: (e) => K_t(e),- saveMix: (e) => G_t(e),+ addToPlaylist: (e) => q_t(e),+ saveMix: (e) => K_t(e),editPlaylist: () => k9("/playlists"),openPlaylists: () => k9("/playlists"),- reveal: (e) => M_t(e),- sync: (e) => N_t(e),+ reveal: (e) => N_t(e),+ sync: (e) => P_t(e),trashChanged: async (e, t) => {- G.state === "ads" && (t || e === "trash") && (t || (YO(), v9(!0, !1, { miniplayer: !1 })), await a9());+ G.state === "ads" && (t || e === "trash") && (t || (QO(), v9(!0, !1, { miniplayer: !1 })), await a9());},toast: (e, { undo: t } = {}) => q5.actionReceipt(e, { undo: t }),failure: (e, t) => q5.actionFailure(e, t)@@ -114099,7 +114108,7 @@ function Qyt() {filters: () => G,seekSeconds: () => Q.appSettings.seekSeconds,sourceOffline: (e) => Q.sourceOffline(e),- displayName: (e) => Ck(e),+ displayName: (e) => Ek(e),route: (e) => $.route("/immerse?id=" + e, !0),closed: () => X7(),openItem: (e) => void b9(e),@@ -114121,7 +114130,7 @@ var S9 = {readPostSetupTutorialDone: void 0,openTutorialTarget: void 0};-async function $yt() {+async function ebt() {rc(), await S9.writePostSetupTutorialDone(!1), await C9();}async function C9() {@@ -114178,20 +114187,20 @@ async function C9() {}), K5.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);}}-function ebt() {+function tbt() {if (ml({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), S9.postSetupTutorialDone = null, S9.postSetupTutorialNeedsReopen = !1, il) {Js("pending"), S9.postSetupTutorialDone = !1, S9.postSetupTutorialNeedsReopen = !0;let e = new URL(location.href);- e.searchParams.delete("onboarding"), yk(e, {+ e.searchParams.delete("onboarding"), Sk(e, {replace: !0,- state: vk.navigation.location.state+ state: xk.navigation.location.state});}{let e = new URL(location.href), t = e.searchParams.get("agentation");- localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), yk(e, {+ localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), Sk(e, {replace: !0,- state: vk.navigation.location.state+ state: xk.navigation.location.state})), t === "on" && import("/dev/agentation.js").catch(() => {});}S9.postSetupTutorialTasks = async () => {@@ -114305,7 +114314,7 @@ var $ = {queueOpenRequest: void 0,initialOverlayOpened: void 0};-function tbt() {+function nbt() {let e = B5();e ? e.navChanged() : R("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(G7(e.dataset.nav))));}@@ -114321,32 +114330,32 @@ function w9(e = {}) {}, B5()?.render(O7.sidebarProps);}function T9() {- w9(), tbt(), K7();+ w9(), nbt(), K7();}function E9() {$.queueOpenRequest && ($.queueOpenRequest.cancelled = !0), $.queueOpenRequest = null, $.requestedQueue = null, ml({ pendingQueueRoute: null });}function D9(e, t, n) {- E9(), JO(), $.requestedOverlay = {+ E9(), ZO(), $.requestedOverlay = {path: e,open: n- }, $.route(e, !1, ZO(t));+ }, $.route(e, !1, ek(t));}function O9() {- $.surfaceEpoch++, Z.barsRequestSeq++, w7.syncPageTitle(location.href), w9(), YO(), C9();+ $.surfaceEpoch++, Z.barsRequestSeq++, w7.syncPageTitle(location.href), w9(), QO(), C9();}function k9(e) {$.route(e), ml({ pageOpens: al + 1 });}-function nbt() {+function rbt() {$.routeMeta = (e) => {- let t = ek(e);+ let t = rk(e);return t ? { route: t } : null;- }, $.routePathOf = (e, t) => Object.keys($O).find((n) => $O[n][e] === t), $.catalogPage = (e) => qt(e) || e === "/trash", $.managedPagePath = (e) => {- let t = ek(e);- return !!t && t.reload !== "reopen" && !$.catalogPage(e) && !WO(e) && e !== "/immerse";+ }, $.routePathOf = (e, t) => Object.keys(nk).find((n) => nk[n][e] === t), $.catalogPage = (e) => qt(e) || e === "/trash", $.managedPagePath = (e) => {+ let t = rk(e);+ return !!t && t.reload !== "reopen" && !$.catalogPage(e) && !qO(e) && e !== "/immerse";}, $.openRoutePath = (e) => {- e === "/immerse" ? x9(Ryt()) : e === "/follow" ? I9() : e === "/playlists" || $.catalogPage(e) ? k9(e) : $.managedPagePath(e) ? $.navigatePath(e === "/subscriptions" ? mvt() : e) : (y7(!1, !0), k9(gvt({+ e === "/immerse" ? x9(zyt()) : e === "/follow" ? I9() : e === "/playlists" || $.catalogPage(e) ? k9(e) : $.managedPagePath(e) ? $.navigatePath(e === "/subscriptions" ? hvt() : e) : (y7(!1, !0), k9(_vt({kind: e.slice(1),q: "",scope: "local",@@ -114355,35 +114364,35 @@ function nbt() {})));};}-function rbt() {+function ibt() {$.surfaceEpoch = 0, $.surfacePath = () => decodeURIComponent(location.pathname), $.surfaceRequests = null, $.surfaceToken = (e) => ({epoch: $.surfaceEpoch,path: e,signal: $.surfaceRequests?.signal- }), $.surfaceCurrent = (e) => e.epoch === $.surfaceEpoch && $.surfacePath() === e.path, $.claimSurface = (e) => (t7(e) || n7(), uk(R("#stats"), R("#index")), !qt(e) && e !== "/trash" && o9(), $.surfaceRequests?.abort(), $.surfaceRequests = new AbortController(), $.surfaceEpoch++, $.surfaceToken(e)), $.route = (e, t = !1, n) => {- $.surfaceEpoch++, Z.barsRequestSeq++, yk(e, {+ }), $.surfaceCurrent = (e) => e.epoch === $.surfaceEpoch && $.surfacePath() === e.path, $.claimSurface = (e) => (t7(e) || n7(), pk(R("#stats"), R("#index")), !qt(e) && e !== "/trash" && o9(), $.surfaceRequests?.abort(), $.surfaceRequests = new AbortController(), $.surfaceEpoch++, $.surfaceToken(e)), $.route = (e, t = !1, n) => {+ $.surfaceEpoch++, Z.barsRequestSeq++, Sk(e, {replace: t,state: n}), w7.syncPageTitle(e), queueMicrotask(() => {K7(), R7(), w9(), C9();});}, $.navigatePath = (e, t = !1, n) => {- t ? vk.replace(e, n) : vk.push(e, n), queueMicrotask(() => {+ t ? xk.replace(e, n) : xk.push(e, n), queueMicrotask(() => {K7(), R7();});}, $.requestedOverlay = null, $.requestedQueue = null, $.queueOpenRequest = null, $.initialOverlayOpened = !1;}//#endregion//#region src/jobs.ts-function ibt(e, t, n) {+function abt(e, t, n) {if (!Number.isFinite(n) || n <= 0) return "";let r = Math.max(0, Math.min(n, Number.isFinite(t) ? t : 0)), i = r / n * 100;return `<div class="ui-board-job-progress" role="progressbar" aria-label="${B(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${B(e)}<small>${Math.round(i)}%</small></span></div>`;}-function abt(e, t = 0, n = 0) {- return n > 0 ? ibt(e, t, n) : zo(e);+function obt(e, t = 0, n = 0) {+ return n > 0 ? abt(e, t, n) : zo(e);}-async function obt(e) {+async function sbt(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -114398,14 +114407,14 @@ async function obt(e) {await t(2e3);}}-function sbt(e) {+function cbt(e) {let t = e.note || ((e) => Lo(e, {label: "任务状态",variant: "error"- })), n = e.loading || zo, r = e.progress || ((e, t, n) => abt(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 || zo, r = e.progress || ((e, t, n) => obt(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;- obt({+ sbt({read: e.read,active: () => !c && e.active() && a.isConnected,keepWatching: e.watchIdle !== !1,@@ -114455,7 +114464,7 @@ var A9 = {FOLLOW_MANAGE_TABS: void 0,followSidebarFilters: void 0};-function cbt(e) {+function lbt(e) {let t = (e.results || []).filter((e) => !e.ok).length;q5.toast({ text: Zr(e) }, {warn: !!t,@@ -114470,7 +114479,7 @@ function cbt(e) {function j9() {return Ri(M9());}-function lbt() {+function ubt() {return A9.controller.read();}function M9() {@@ -114491,17 +114500,17 @@ function M9() {function N9(e) {A9.followFilter = e.status, A9.followMediaView = e.media, A9.followAuthors = new Set(e.author ? [e.author] : []), A9.followProviders = new Set(e.provider ? [e.provider] : []), A9.followWorks = new Set(e.work ? [e.work] : []), A9.followTags = new Set(e.tags), A9.followDurMin = e.durMin || 0, A9.followDurMax = e.durMax || 0, A9.followSort = e.sort, A9.followDir = e.dir, A9.followSeed = e.seed;}-function ubt() {- let e = ik(R("#stats"));+function dbt() {+ let e = sk(R("#stats"));return e && e.path === "/follow" && e.host.isConnected ? e : null;}function P9() {- return !!ubt();+ return !!dbt();}function F9(e) {- P9() && lk(R("#stats"), e);+ P9() && fk(R("#stats"), e);}-function dbt(e, t = {}) {+function fbt(e, t = {}) {return A9.controller.route(e, t);}function I9(e = !1) {@@ -114514,7 +114523,7 @@ async function L9(e, t = !0, n = null, r = !1) {}Ec(), e = +e;let i = !location.pathname.startsWith("/posts/");- t && i && !r && ml({ followDetailReturnPath: location.pathname + location.search }), !t && !r && ml({ followDetailReturnPath: XO() || "/follow" }), t && JO(), M5()?.showing() !== "follow" && v9(!1, !1, { miniplayer: !1 }), t && $.route(`/posts/${e}`, !1, ZO("follow")), await (await j5(_9.stageHost)).open({+ t && i && !r && ml({ followDetailReturnPath: location.pathname + location.search }), !t && !r && ml({ followDetailReturnPath: $O() || "/follow" }), t && ZO(), M5()?.showing() !== "follow" && v9(!1, !1, { miniplayer: !1 }), t && $.route(`/posts/${e}`, !1, ek("follow")), await (await j5(_9.stageHost)).open({kind: "follow",id: e,mediaIndex: n,@@ -114522,19 +114531,19 @@ async function L9(e, t = !0, n = null, r = !1) {relatedLimit: Q.appSettings.relatedLimit > 0 ? +Q.appSettings.relatedLimit : 0,helpers: A9.followFeedHelpers,actions: A9.followDetailActions,- resume: t ? null : Vyt()+ resume: t ? null : Hyt()}), q7();}-async function fbt() {- await Hyt(), v9(!1, !1, { miniplayer: !1 }), YO(), $.route(tl || "/follow"), !(a7.entityPageView && a7.entityPageCurrent() && !R("#index").hidden) && (location.pathname === "/follow" && P9() ? (lbt(), F9({ view: M9() })) : ml({ pageOpens: al + 1 }));+async function pbt() {+ await Uyt(), v9(!1, !1, { miniplayer: !1 }), QO(), $.route(tl || "/follow"), !(a7.entityPageView && a7.entityPageCurrent() && !R("#index").hidden) && (location.pathname === "/follow" && P9() ? (ubt(), F9({ view: M9() })) : ml({ pageOpens: al + 1 }));}-function pbt(e) {+function mbt(e) {let t = document.createElement("div");return t.className = "peach-react", Xo(e, () => {e.textContent = "", e.append(t);}), t;}-function mbt() {+function hbt() {A9.followFeedHelpers = Mc({wireDrag: (e) => {e && g9(e);@@ -114543,42 +114552,42 @@ function mbt() {e && hs(e);},listSkeletonHtml: (e) => A9.followContentSkeletonHtml(e),- jobProgress: sbt+ jobProgress: cbt}), A9.followFeedActions = {- loaded: (e) => Ovt(e),+ loaded: (e) => kvt(e),openDetail: (e) => L9(e),openAuthor: (e) => $.navigatePath(Xt("creator", e)),- openManage: () => $.navigatePath(mvt()),- toggleSelection: (e, t) => nvt(e, t),+ openManage: () => $.navigatePath(hvt()),+ toggleSelection: (e, t) => rvt(e, t),setImagesOnly: (e) => {Q.appSettings.followImagesOnly = !!e, Q.saveSettings(), f7();},setPhotoLayout: (e) => {- lde(e), f7();+ sde(e), f7();},canFlip: () => !Wc && !h9() && !window.__scrolling && !Z.reduceMotion(),toast: (e, { undo: t } = {}) => q5.actionReceipt(e, { undo: t }),failure: (e, t) => q5.actionFailure(e, t),- checkReport: (e) => cbt(e)+ checkReport: (e) => lbt(e)}, A9.followFeedShell = {skeleton: () => A9.followSkeletonHtml("正在读取关注内容"),ground: () => {- M5()?.showing() !== "follow" && (Ec(), v9(!1), A7(), !P9() && ($.claimSurface($.surfacePath()), k7({ manage: !1 }), R("#stats").querySelector(".peach-react") && uk(R("#stats")), R("#stats").replaceChildren()));+ M5()?.showing() !== "follow" && (Ec(), v9(!1), A7(), !P9() && ($.claimSurface($.surfacePath()), k7({ manage: !1 }), R("#stats").querySelector(".peach-react") && pk(R("#stats")), R("#stats").replaceChildren()));}}, A9.followDetailActions = zc({view: M9,adoptView: N9,rememberReturn: (e) => ml({ followDetailReturnPath: e }),- close: () => void fbt(),+ close: () => void pbt(),open: (e, t, n) => void L9(e, !0, t, n),- drawer: Ovt,+ drawer: kvt,openAuthor: (e) => $.navigatePath(Xt("creator", e))}, {toast: (e, { undo: t } = {}) => q5.actionReceipt(e, { undo: t }),failure: q5.actionFailure});}-function hbt() {+function gbt() {A9.controller = Vi({location: () => location,view: M9,@@ -114596,8 +114605,8 @@ function hbt() {preferences: () => ({selectMode: Wc,selected: Uc,- photoSize: qT(),- photoLayout: JT(),+ photoSize: YT(),+ photoLayout: XT(),imagesOnly: !!Q.appSettings.followImagesOnly}),live: P9,@@ -114619,8 +114628,8 @@ function hbt() {//#endregion//#region src/application/lifecycle.jsvar R9 = { overlayScan: void 0 };-function gbt() {- tje(), Ms(document), La(document.documentElement, { variant: "page" }), La(R("#drawerScroll")), R9.overlayScan = 0, K5.mutation(() => {+function _bt() {+ $Ae(), Ms(document), La(document.documentElement, { variant: "page" }), La(R("#drawerScroll")), R9.overlayScan = 0, K5.mutation(() => {R9.overlayScan ||= K5.delay(() => {R9.overlayScan = 0, ks();});@@ -114639,7 +114648,7 @@ function gbt() {}//#endregion//#region src/react/search/recommendations.ts-async function _bt(e) {+async function vbt(e) {let t = (await Promise.allSettled([e("/api/items?sort=rand&limit=5"),e("/api/jav/discoveries?scope=library&limit=5"),@@ -114663,9 +114672,9 @@ async function _bt(e) {let t = wi(e);for (let n of ["videos", "images"]) {if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;- let r = Ti(e, n), i = l.sources.find((e) => e.id === r.source_id), a = aI(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;+ let r = Ti(e, n), i = l.sources.find((e) => e.id === r.source_id), a = cI(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;(n === "images" ? c : s).push({- value: tI(r),+ value: iI(r),id: r.id,who: a.author,href: `/posts/${r.id}`,@@ -114681,7 +114690,7 @@ async function _bt(e) {let u = (t[4]?.items || []).map((e) => ({value: e.k,href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,- avatarHtml: iI(l.sources.filter((t) => t.author_key === e.key), e.k),+ avatarHtml: sI(l.sources.filter((t) => t.author_key === e.key), e.k),subtitle: "关注中的作者"})), d = /* @__PURE__ */ new Map();for (let e of r) for (let t of e.performer_refs || []) t.id && !d.has(t.name) && d.set(t.name, {@@ -114752,7 +114761,7 @@ async function _bt(e) {}//#endregion//#region src/application/search-morph.js-function vbt(e, t, n, r, i, a, o) {+function ybt(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);@@ -114778,7 +114787,7 @@ var z9 = {function B9() {z9.searchControl?.close();}-function ybt(e) {+function bbt(e) {let t = e ? ua({...e,is_jav: !!e.code@@ -114797,7 +114806,7 @@ function H9(e) {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 = Ts();t.classList.add("search-morphing");- let h = t.animate(vbt(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {+ let h = t.animate(ybt(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {duration: m.duration,easing: "linear",fill: "both"@@ -114806,13 +114815,13 @@ function H9(e) {z9.searchMorph === h && V9();});}-function bbt() {+function xbt() {return _9.immerseOpen() ? F5().activeVideo() : M5()?.activeVideo() || null;}-function xbt(e) {+function Sbt(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);}-function Sbt() {+function Cbt() {z9.searchControl = null, z9.searchActions = {search: (e) => {Z.rememberSearchValue(), v9(!1), G.q = e, hl(), $.route(G.jav === "1" ? Y7() : G.q ? "/?q=" + encodeURIComponent(G.q) : "/", !0);@@ -114824,9 +114833,9 @@ function Sbt() {A9.followMediaView = t, L9(e, !0, n);}}, z9.searchHelpers = {- pool: () => rTe(G, Vt),- recommendations: () => _bt(Vt),- 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 ? p_t(e) : ybt(e)}</span>`,+ pool: () => tTe(G, Vt),+ recommendations: () => vbt(Vt),+ 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 ? m_t(e) : bbt(e)}</span>`,present: (e) => so(e),dismiss: (e) => co(e),wireScroller: (e) => hs(e),@@ -114841,7 +114850,7 @@ function Sbt() {text: e.value,scrollLeft: e.scrollLeft || Z.searchValueSnapshot.scrollLeft})- }, ck("search", {+ }, dk("search", {input: R("#q"),historyLimit: Q.appSettings.searchHistoryLimit,actions: z9.searchActions,@@ -114860,7 +114869,7 @@ function Sbt() {e.currentTarget.value && Z.rememberSearchValue(e.currentTarget);});}-function Cbt() {+function wbt() {z9.searchMorph = null, z9.searchMorphViewport = innerWidth, K5.listen.bind(K5, window)("resize", () => {innerWidth !== z9.searchMorphViewport && (z9.searchMorphViewport = innerWidth, V9());}, { passive: !0 }), K5.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", V9), K5.handler(R("#searchBtn"), "onclick", () => {@@ -114875,7 +114884,7 @@ function Cbt() {e.preventDefault(), X7(null, !0);}), K5.listen(document, "keydown", (e) => {if (e.key === "Escape") {- let t = mgt();+ let t = hgt();if (t?.isOpen()) {t.close();return;@@ -114902,7 +114911,7 @@ function Cbt() {}return;}- if (xbt(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;+ if (Sbt(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) {@@ -114910,26 +114919,26 @@ function Cbt() {return;}}- let t = bbt();+ let t = xbt();if (t) {if (e.key === "t" || e.key === "T") {e.preventDefault(), M5()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {- e.preventDefault(), Ufe(t, Q.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));+ e.preventDefault(), Vfe(t, Q.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));return;}if (e.key === " " || e.key === "k" || e.key === "K") {- e.preventDefault(), LE(t);+ e.preventDefault(), BE(t);return;}if (e.key === "m" || e.key === "M") {- e.preventDefault(), afe(t, ".vjs-mute-control");+ e.preventDefault(), rfe(t, ".vjs-mute-control");return;}if (e.key === "f" || e.key === "F") {- e.preventDefault(), afe(t, ".vjs-fullscreen-control");+ e.preventDefault(), rfe(t, ".vjs-fullscreen-control");return;}if (e.key === "i" || e.key === "I") {@@ -114941,7 +114950,7 @@ function Cbt() {}//#endregion//#region src/history/links.ts-function wbt(e) {+function Tbt(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;@@ -114955,9 +114964,9 @@ function wbt(e) {} catch {return null;}- if (i.origin !== window.location.origin || n.startsWith("#") && WO(i.pathname)) return null;- let a = ek(i.pathname);- return n.startsWith("#") && !a?.section || !UO(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;+ if (i.origin !== window.location.origin || n.startsWith("#") && qO(i.pathname)) return null;+ let a = rk(i.pathname);+ return n.startsWith("#") && !a?.section || !KO(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;}//#endregion//#region src/application/composition.js@@ -114965,28 +114974,28 @@ var U9 = {shellActions: void 0,routing: void 0};-function Tbt() {+function Ebt() {let e = K5, t = (e) => {- e.kind === "item" ? b9(e.id, !1) : e.kind === "jav" ? Xyt(e.code, !1) : e.kind === "follow" ? L9(e.id, !1) : y9(e.queue, e.key, e.item, !1);+ e.kind === "item" ? b9(e.id, !1) : e.kind === "jav" ? Zyt(e.code, !1) : e.kind === "follow" ? L9(e.id, !1) : y9(e.queue, e.key, e.item, !1);};- h_t(), w7.entityShapesReady = e7(), Cvt(), Pvt(), U9.shellActions = {+ g_t(), w7.entityShapesReady = e7(), wvt(), Fvt(), U9.shellActions = {openSettings: (e) => P7(e, !0),- closeSettings: () => mgt()?.close(!1),+ closeSettings: () => hgt()?.close(!1),openItem: (e) => void b9(e),openEntity: (e, t) => void m7(e, t),openTag: (e) => {- Dvt(), r9(e);+ Ovt(), r9(e);},- openTasteSignal: U_t,+ openTasteSignal: W_t,navigate: (e) => {- let n = new URL(e, location.href), r = UO(n.pathname, n.search);+ let n = new URL(e, location.href), r = KO(n.pathname, n.search);if (r) {let e = r.kind === "queue" ? "item" : r.kind;D9(n.pathname + n.search + n.hash, e, () => t(r));- } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !WO(location.pathname)) {+ } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !qO(location.pathname)) {$.route(e);- let t = vk.navigation.seq;- Fht(n.hash, () => vk.navigation.seq === t);+ let t = xk.navigation.seq;+ Iht(n.hash, () => xk.navigation.seq === t);} else $.navigatePath(e);},openManage: z7,@@ -114995,28 +115004,28 @@ function Tbt() {receipt: (e, t) => q5.actionReceipt(e, t),toast: (e, t) => q5.toast(e, t),failure: q5.actionFailure,- revealSource: M_t,- reopenTutorial: $yt,+ revealSource: N_t,+ reopenTutorial: ebt,requestConfigurationSection: (e) => {ml({ configurationRequestedSection: e });},- routeReview: J_t,- routeFollowManage: pvt,+ routeReview: Y_t,+ routeFollowManage: mvt,saveFollowPreference: (e) => {e.pageSize !== void 0 && (Q.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Q.appSettings.followLayout = e.layout), Q.saveSettings();},srcBadge: (e, t) => Q.srcBadge(e, t),- routeIndex: (e, { replace: t = !1 } = {}) => $.route(gvt(e), t),+ routeIndex: (e, { replace: t = !1 } = {}) => $.route(_vt(e), t),savePeopleLayout: ({ layout: e }) => {Q.appSettings.peopleLayout = e, Q.saveSettings();},exitSelectMode: () => y7(!1, !1),personAvatar: (e, t, n) => S7.personAvatar(e, t, n),- authorAvatar: (e) => hvt(e),- showIndexTags: _vt,- openFollowAuthor: vvt,- openFollowTag: yvt,- openPlaylist: (e, t) => void qyt(e, t, !0),+ authorAvatar: (e) => gvt(e),+ showIndexTags: vvt,+ openFollowAuthor: yvt,+ openFollowTag: bvt,+ openPlaylist: (e, t) => void Jyt(e, t, !0),canFlip: () => !Wc && !h9() && !window.__scrolling && !Z.reduceMotion(),surfaceChanged: (e, t) => {e === "entity" ? (Ec(), ml({ barsContext: {@@ -115035,7 +115044,7 @@ function Tbt() {},openOverlay: (e) => {let n = $.requestedOverlay;- $.requestedOverlay = null, vk.navigation.claimed && (!bk() || $.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (bk() && ($.initialOverlayOpened = !0), t(e));+ $.requestedOverlay = null, xk.navigation.claimed && (!Ck() || $.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (Ck() && ($.initialOverlayOpened = !0), t(e));},closeStage: () => {_9.stageOpen() && v9(!1);@@ -115050,7 +115059,7 @@ function Tbt() {},entity: {missing: (e) => {- U9.shellActions.surfaceChanged("entity", location.pathname), z_t(e);+ U9.shellActions.surfaceChanged("entity", location.pathname), B_t(e);},loading: (e, t, n) => a7.application.loading(e, t, n),props: (e, t, n) => a7.application.addressProps(e, t, n),@@ -115063,7 +115072,7 @@ function Tbt() {},follow: A9.followFeedShell,catalog: {- defaultLoc: () => Zvt("local,115"),+ defaultLoc: () => Qvt("local,115"),open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {n && (O9(), K7(), R7()), t && X5(), e === "/trash" ? (Z.clearSearchField(), j7()) : (R("#q").value = G.q, Z.rememberSearchValue()), T9(), n9(), Q.handOff(a9());},@@ -115071,25 +115080,25 @@ function Tbt() {Q.handOff(a9());},fill: () => {- if (c9() || !bk() && !R("#grid").querySelector(".catalog-skeleton")) return;+ if (c9() || !Ck() && !R("#grid").querySelector(".catalog-skeleton")) return;let e = R("#count");- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), byt($.surfaceToken($.surfacePath()));+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), xyt($.surfaceToken($.surfacePath()));},release: () => {o9(), n7();}}}, U9.routing = !1, e.listen(document, "click", (e) => {- let t = wbt(e);+ let t = Tbt(e);t && (e.preventDefault(), U9.shellActions.navigate(t));- }), K5.own(vk.listen((e) => {- $.queueOpenRequest && e.seq !== $.queueOpenRequest.seq && !WO(e.location.pathname) && v9(!1), U9.routing && !e.claimed && O9();- })), ugt(U9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), Lvt(), svt(), I7(), Promise.all([+ }), K5.own(xk.listen((e) => {+ $.queueOpenRequest && e.seq !== $.queueOpenRequest.seq && !qO(e.location.pathname) && v9(!1), U9.routing && !e.claimed && O9();+ })), dgt(U9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), Rvt(), cvt(), I7(), Promise.all([p9(),- Fvt(),+ Ivt(),w7.entityShapesReady]).then(() => e.isActive && w7.wantsDiscoveryBars() ? n9() : null).then(() => {- e.isActive && (T9(), Lyt(), U9.routing = !0, ml({ pageOpens: 1 }), O9(), q7());+ e.isActive && (T9(), Ryt(), U9.routing = !0, ml({ pageOpens: 1 }), O9(), q7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});@@ -115097,7 +115106,7 @@ function Tbt() {//#endregion//#region src/theme-transition.tsvar W9 = !1;-async function Ebt(e, t) {+async function Dbt(e, t) {if (W9) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();@@ -115120,7 +115129,7 @@ async function Ebt(e, t) {}//#endregion//#region src/application/chrome.js-function Dbt() {+function Obt() {(() => {let e = K5, t = ["#brandHome",@@ -115202,7 +115211,7 @@ function Dbt() {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), N7(!1), Y_t("媒体库与入库");+ u.setOpen(!1), N7(!1), X_t("媒体库与入库");});let d = l.querySelector(".board-library-rows");e.listen(d, "pointerover", (e) => {@@ -115219,14 +115228,14 @@ function Dbt() {(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="浅色主题">${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" && Ebt(t, () => {- Q.appSettings.theme = t.dataset.boardTheme, Q.saveSettings(), HT();+ t.getAttribute("aria-pressed") !== "true" && Dbt(t, () => {+ Q.appSettings.theme = t.dataset.boardTheme, Q.saveSettings(), WT();});- })), HT();+ })), WT();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 = fo(g, v, _);- e.own(y.dispose), e.own(Ede(v)), bgt({+ e.own(y.dispose), e.own(wde(v)), xgt({root: _,store: Q.settingsStore,openDetails: () => {@@ -115335,31 +115344,31 @@ function Dbt() {}//#endregion//#region src/application/initialize.js-function Obt() {- gbt(), nbt(), wvt(), rbt(), zyt(), wgt(), Oyt(), ebt(), B_t(), Zyt(), cvt(), kyt(), w_t(), X_t(), mbt(), bvt(), V_t(), hbt(), xvt(), H_t(), Kvt(), Ayt(), Sbt(), Qyt(), Cbt(), Byt(), Tbt(), Dbt(), K5.own(o9), K5.own(E9);+function kbt() {+ _bt(), rbt(), Tvt(), ibt(), Byt(), Tgt(), kyt(), tbt(), V_t(), Qyt(), lvt(), Ayt(), T_t(), Z_t(), hbt(), xvt(), H_t(), gbt(), Svt(), U_t(), qvt(), jyt(), Cbt(), $yt(), wbt(), Vyt(), Ebt(), Obt(), K5.own(o9), K5.own(E9);}//#endregion//#region src/ui-kit/middle-truncate.ts-var kbt = "…", Abt = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, G9 = /* @__PURE__ */ new WeakMap(), K9 = /* @__PURE__ */ new WeakSet(), q9 = null, J9 = null, Y9 = /* @__PURE__ */ new Set(), jbt = (e) => Abt ? [...Abt.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));-function Mbt(e, t) {- let n = jbt(e);+var Abt = "…", jbt = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, G9 = /* @__PURE__ */ new WeakMap(), K9 = /* @__PURE__ */ new WeakSet(), q9 = null, J9 = null, Y9 = /* @__PURE__ */ new Set(), Mbt = (e) => jbt ? [...jbt.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));+function Nbt(e, t) {+ let n = Mbt(e);if (!n.length || t(e)) return String(e ?? "");- let r = 0, i = Math.max(0, n.length - 1), a = kbt;+ let r = 0, i = Math.max(0, n.length - 1), a = Abt;for (; r <= i;) {- let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + kbt + (s ? n.slice(-s).join("") : "");+ let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + Abt + (s ? n.slice(-s).join("") : "");t(c) ? (a = c, r = e + 1) : i = e - 1;}return a;}-var Nbt = Object.assign((e, t) => {- let n = getComputedStyle(e), r = (Nbt.canvas ||= document.createElement("canvas")).getContext("2d");+var Pbt = Object.assign((e, t) => {+ let n = getComputedStyle(e), r = (Pbt.canvas ||= document.createElement("canvas")).getContext("2d");if (!r) return Infinity;r.font = n.font || `${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`;let i = r.measureText(t).width, a = parseFloat(n.letterSpacing);- Number.isFinite(a) && (i += Math.max(0, jbt(t).length - 1) * a);+ Number.isFinite(a) && (i += Math.max(0, Mbt(t).length - 1) * a);let o = parseFloat(n.wordSpacing);return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;-}, { canvas: null }), Pbt = (e) => {+}, { canvas: null }), Fbt = (e) => {if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;let t = e.parentElement;if (!t) return e.clientWidth;@@ -115369,40 +115378,40 @@ var Nbt = Object.assign((e, t) => {n === e ? a++ : t > 0 && (i += t, a++);}return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);-}, Fbt = (e) => {+}, Ibt = (e) => {let t = G9.get(e);if (!t || !e.isConnected) return;- let n = Pbt(e), r = n > 0 ? Mbt(t.full, (t) => Nbt(e, t) <= n) : t.full;+ let n = Fbt(e), r = n > 0 ? Nbt(t.full, (t) => Pbt(e, t) <= n) : t.full;t.rendered = r, e.textContent !== r && (e.textContent = r);let i = r !== t.full;e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), (!e.hasAttribute("title") || e.dataset.middleTitle === "true") && (e.title = t.full, e.dataset.middleTitle = "true");}, X9 = (e) => {let t = G9.get(e);t && !t.raf && (t.raf = requestAnimationFrame(() => {- t.raf = 0, Fbt(e);+ t.raf = 0, Ibt(e);}));-}, Ibt = (e) => {+}, Lbt = (e) => {e instanceof HTMLElement && (G9.has(e) || G9.set(e, {full: e.textContent || "",rendered: e.textContent || "",raf: 0}), K9.has(e) || (K9.add(e), Y9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? q9?.observe(e.parentElement) : q9?.observe(e)), X9(e));-}, Lbt = (e) => {+}, Rbt = (e) => {if (e.nodeType !== Node.ELEMENT_NODE) return;let t = e;- t.matches("[data-middle-truncate]") && Ibt(t), t.querySelectorAll("[data-middle-truncate]").forEach(Ibt);+ t.matches("[data-middle-truncate]") && Lbt(t), t.querySelectorAll("[data-middle-truncate]").forEach(Lbt);};-function Rbt(e = document) {+function zbt(e = document) {J9?.(), K9 = /* @__PURE__ */ new WeakSet(), Y9 = /* @__PURE__ */ new Set();let t = Y9, n = !0;q9 = new ResizeObserver((e) => e.forEach((e) => {n && (X9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(X9));}));let r = q9;- Lbt(e.documentElement || e);+ Rbt(e.documentElement || e);let i = new MutationObserver((e) => e.forEach((e) => {if (!n) return;- e.addedNodes.forEach(Lbt);+ e.addedNodes.forEach(Rbt);let t = (e.target.nodeType === Node.TEXT_NODE ? e.target.parentElement : e.target)?.closest?.("[data-middle-truncate]");if (!t) return;let r = G9.get(t);@@ -115436,7 +115445,7 @@ function Rbt(e = document) {}//#endregion//#region src/react/result-updates.tsx-var zbt = [+var Bbt = ["catalog-grid","catalog-folders","item",@@ -115461,33 +115470,33 @@ var zbt = ["follow","entity","index"-], Bbt = [+], Vbt = ["feed-new","jav-discoveries","jav-detail","wants","index"-], Vbt = {+], Hbt = {catalog: [- ...zbt,+ ...Bbt,...Z9,"review","taste"],follow: Z9,- discoveries: Bbt,+ discoveries: Vbt,review: ["review"],artwork: [- ...zbt,- ...Z9,...Bbt,+ ...Z9,+ ...Vbt,"avatar-choices"]};-function Hbt() {+function Ubt() {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 Vbt[t] || []) e.add(n);+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of Hbt[t] || []) e.add(n);return !t && e.size && (t = (async () => {for (; e.size;) {let t = new Set(e);@@ -115500,12 +115509,12 @@ function Hbt() {})), t || Promise.resolve();};}-function Ubt() {+function Wbt() {let e = _t({- queryKey: yA,- queryFn: ({ signal: e }) => SA(e),- refetchInterval: (e) => xA(e.state.data)- }), t = (0, E.useRef)(void 0), [n] = (0, E.useState)(Hbt), r = e.data?.result_versions;+ queryKey: SA,+ queryFn: ({ signal: e }) => TA(e),+ refetchInterval: (e) => wA(e.state.data)+ }), t = (0, E.useRef)(void 0), [n] = (0, E.useState)(Ubt), r = e.data?.result_versions;return (0, E.useEffect)(() => {r && (t.current && n(t.current, r), t.current = r);}, [r, n]), null;@@ -115513,57 +115522,57 @@ function Ubt() {//#endregion//#region src/react/application.tsxvar Q9 = null;-function Wbt(e) {+function Gbt(e) {Q9 !== e || e.owners || (Q9 = null, e.effects.dispose());}-function Gbt() {+function Kbt() {if (!Q9) {- let e = Cgt();+ let e = wgt();Q9 = {effects: e,owners: 0- }, e.own(Rbt(document)), e.own(() => {+ }, e.own(zbt(document)), e.own(() => {Ec(), W.cancelQueries();- }), e.own(dgt), e.own(uve), e.own(ao);+ }), e.own(fgt), e.own(cve), e.own(ao);}return Q9.owners += 1, Q9.effects.resume(), Q9;}-function Kbt() {+function qbt() {let [e, t] = (0, E.useState)(null);return (0, E.useLayoutEffect)(() => {- let e = Q9 === null, n = Gbt(), r = lgt(t);+ let e = Q9 === null, n = Kbt(), r = ugt(t);if (e) try {- Obt();+ kbt();} catch (e) {throw r(), n.effects.dispose(), Q9 = null, e;}return () => {- r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Wbt(n)));+ r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Gbt(n)));};- }, []), /* @__PURE__ */ (0, D.jsx)(MCe, {+ }, []), /* @__PURE__ */ (0, D.jsx)(ACe, {actions: e,processing: !0,- background: e ? /* @__PURE__ */ (0, D.jsx)(Ubt, {}) : null+ background: e ? /* @__PURE__ */ (0, D.jsx)(Wbt, {}) : null});}var $9 = /* @__PURE__ */ new WeakMap();-function qbt(e) {+function Jbt(e) {let t = $9.get(e);if (t) return t;- let n = (0, xt.createRoot)(e, NCe);+ let n = (0, xt.createRoot)(e, jCe);$9.set(e, n);let r = n.unmount.bind(n);return n.unmount = () => {- $9.get(e) === n && ($9.delete(e), r(), Q9 && Wbt(Q9));- }, (0, bt.flushSync)(() => n.render(/* @__PURE__ */ (0, D.jsx)(Kbt, {}))), n;+ $9.get(e) === n && ($9.delete(e), r(), Q9 && Gbt(Q9));+ }, (0, bt.flushSync)(() => n.render(/* @__PURE__ */ (0, D.jsx)(qbt, {}))), n;}//#endregion//#region src/react/bootstrap.tsxh();-var Jbt = document.getElementById("appRoot");-if (!Jbt) throw Error("主界面宿主缺失");-qbt(Jbt);+var Ybt = document.getElementById("appRoot");+if (!Ybt) throw Error("主界面宿主缺失");+Jbt(Ybt);//#endregion-export { HT as applyTheme, vk as peachHistory, Go as popCount, xgt as showToast };+export { WT as applyTheme, xk as peachHistory, Go as popCount, Sgt as showToast };-//# debugId=84d07cd8-f552-494a-9320-9f56e27bb4c2\ No newline at end of file+//# debugId=f74bb7d9-f063-4e7f-9fae-f544a76e2970\ No newline at end of filediff --git a/web/dist/peach-pages.js b/web/dist/peach-pages.jsindex 0897084b2..f0389acf6 100644--- a/web/dist/peach-pages.js+++ b/web/dist/peach-pages.js@@ -2,7 +2,7 @@(function() {try {var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "26dc8d72-dff9-47a1-92f8-5b85ecdfe338", e._sentryDebugIdIdentifier = "sentry-dbid-26dc8d72-dff9-47a1-92f8-5b85ecdfe338");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "39f747ac-f39b-4523-a31c-93f5a2536310", e._sentryDebugIdIdentifier = "sentry-dbid-39f747ac-f39b-4523-a31c-93f5a2536310");} catch {}})();var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, i, o, s) => {@@ -19867,57 +19867,66 @@ function Um({ className: e, children: t, ...n }) {});}//#endregion+//#region src/core/random-id.ts+function Wm() {+ if (typeof crypto.randomUUID == "function") return crypto.randomUUID();+ let e = crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16));+ e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128;+ let t = Array.from(e, (e) => e.toString(16).padStart(2, "0")).join("");+ return `${t.slice(0, 8)}-${t.slice(8, 12)}-${t.slice(12, 16)}-${t.slice(16, 20)}-${t.slice(20)}`;+}+//#endregion//#region node_modules/motion-utils/dist/es/clamp.mjs-var Wm = (e, t, n) => n > t ? t : n < e ? e : n, Gm = {};+var Gm = (e, t, n) => n > t ? t : n < e ? e : n, Km = {};//#endregion//#region node_modules/motion-utils/dist/es/memo.mjs/*#__NO_SIDE_EFFECTS__*/-function Km(e) {+function qm(e) {let t;return () => (t === void 0 && (t = e()), t);}//#endregion//#region node_modules/motion-utils/dist/es/noop.mjs-var qm = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Jm = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, Ym = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, Xm = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", Zm = {+var Jm = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Ym = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, Xm = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, Zm = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", Qm = {delta: 0,timestamp: 0,isProcessing: !1-}, Qm;-function $m() {- Qm = void 0;+}, $m;+function eh() {+ $m = void 0;}-var eh = {- now: () => (Qm === void 0 && eh.set(Zm.isProcessing || Gm.useManualTiming ? Zm.timestamp : performance.now()), Qm),+var th = {+ now: () => ($m === void 0 && th.set(Qm.isProcessing || Km.useManualTiming ? Qm.timestamp : performance.now()), $m),set: (e) => {- Qm = e, queueMicrotask($m);+ $m = e, queueMicrotask(eh);}-}, th = (e, t, n = 10) => {+}, nh = (e, t, n = 10) => {let r = "", i = Math.max(Math.round(t / n), 2);for (let t = 0; t < i; t++) r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + ", ";return `linear(${r.substring(0, r.length - 2)})`;-}, nh = 2e4;-function rh(e, t = 50, n = nh, r) {+}, rh = 2e4;+function ih(e, t = 50, n = rh, r) {let i = 0, a = e.next(i);for (r?.push(a.value); !a.done && i < n;) i += t, a = e.next(i), r?.push(a.value);return i >= n ? Infinity : i;}//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs-function ih(e, t = 100, n) {+function ah(e, t = 100, n) {let { keyframes: r, velocity: i } = e, a = r && r[r.length - 1] - r[0], o = n({...e,velocity: i && a ? i * t / a : i,keyframes: [0, t]- }), s = Math.min(rh(o), nh);+ }), s = Math.min(ih(o), rh);return {type: "keyframes",ease: (e) => o.next(s * e).value / t,- duration: /* @__PURE__ */ Ym(s)+ duration: /* @__PURE__ */ Xm(s)};}//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/spring.mjs-var ah = {+var oh = {stiffness: 100,damping: 10,mass: 1,@@ -19935,63 +19944,63 @@ var ah = {minDuration: .01,maxDuration: 10,minDamping: .05-}, oh = (e) => e < 0 ? 1 / Math.max(1 + e, ah.minDamping) : Math.max(1 - e, ah.minDamping);-function sh(e, t) {+}, sh = (e) => e < 0 ? 1 / Math.max(1 + e, oh.minDamping) : Math.max(1 - e, oh.minDamping);+function ch(e, t) {if (!(e > 1)) return 1;let n = Math.sqrt(e * e - 1), r = e - n, i = e + n, a = 2 * n * Math.exp(-t) * (1 + t);- return uh((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;+ return dh((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;}-function ch(e, t) {+function lh(e, t) {return e * Math.sqrt(1 - t * t);}-var lh = 12;-function uh(e, t, n) {+var uh = 12;+function dh(e, t, n) {let r = n;- for (let n = 1; n < lh; n++) r -= e(r) / t(r);+ for (let n = 1; n < uh; n++) r -= e(r) / t(r);return r;}-var dh = .001;-function fh({ duration: e = ah.duration, bounce: t = ah.bounce }) {+var fh = .001;+function ph({ duration: e = oh.duration, bounce: t = oh.bounce }) {let n, r;- ah.maxDuration;- let i = oh(t);- e = Wm(ah.minDuration, ah.maxDuration, /* @__PURE__ */ Ym(e)), i < 1 ? (n = (t) => {- let n = t * i, r = n * e, a = ch(t, i), o = Math.exp(-r);- return dh - n / a * o;+ oh.maxDuration;+ let i = sh(t);+ e = Gm(oh.minDuration, oh.maxDuration, /* @__PURE__ */ Xm(e)), i < 1 ? (n = (t) => {+ let n = t * i, r = n * e, a = lh(t, i), o = Math.exp(-r);+ return fh - n / a * o;}, r = (t) => {- let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = ch(t * t, i);- return (-n(t) + dh > 0 ? -1 : 1) * -a * o / s;+ let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = lh(t * t, i);+ return (-n(t) + fh > 0 ? -1 : 1) * -a * o / s;}) : (n = (t) => -.001 + Math.exp(-t * e) * (t * e + 1), r = (t) => Math.exp(-t * e) * (-t * (e * e)));- let a = 5 / e, o = uh(n, r, a), s = o * sh(i, o * e), c = s * s;+ let a = 5 / e, o = dh(n, r, a), s = o * ch(i, o * e), c = s * s;return {stiffness: c,damping: i * 2 * Math.sqrt(c),- duration: /* @__PURE__ */ Jm(e)+ duration: /* @__PURE__ */ Ym(e)};}-var ph = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;-function mh(e, t) {- if (ph(e, t)) return e;+var mh = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;+function hh(e, t) {+ if (mh(e, t)) return e;}-function hh(e) {- let t = mh(e.stiffness), n = mh(e.damping, !0), r = mh(e.mass), i = {+function gh(e) {+ let t = hh(e.stiffness), n = hh(e.damping, !0), r = hh(e.mass), i = {...e,- stiffness: t ?? ah.stiffness,- damping: n ?? ah.damping,- mass: r ?? ah.mass,+ stiffness: t ?? oh.stiffness,+ damping: n ?? oh.damping,+ mass: r ?? oh.mass,isResolvedFromDuration: !1,isTimeDefined: (t ?? n ?? r) === void 0 && (e.duration !== void 0 || e.bounce !== void 0)};if (i.isTimeDefined) {if (e.visualDuration) {- let t = oh(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * sh(t, 2 * Math.PI / 1.2);+ let t = sh(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * ch(t, 2 * Math.PI / 1.2);i.stiffness = n * n, i.damping = 2 * t * Math.sqrt(i.stiffness);- } else Object.assign(i, fh(i)), i.isResolvedFromDuration = !0;- (!ph(i.stiffness) || !ph(i.damping, !0)) && (i.stiffness = ah.stiffness, i.damping = ah.damping);+ } else Object.assign(i, ph(i)), i.isResolvedFromDuration = !0;+ (!mh(i.stiffness) || !mh(i.damping, !0)) && (i.stiffness = oh.stiffness, i.damping = oh.damping);}return i;}-function gh(e = ah.visualDuration, t = ah.bounce) {+function _h(e = oh.visualDuration, t = oh.bounce) {let n = typeof e == "object" ? e : {visualDuration: e,keyframes: [0, 1],@@ -19999,7 +20008,7 @@ function gh(e = ah.visualDuration, t = ah.bounce) {}, r = n.keyframes[0], i = n.keyframes[n.keyframes.length - 1], a = {done: !1,value: r- }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = hh({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Ym(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Ym(Math.sqrt(o / c)), h = p * m, g = {+ }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = gh({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Xm(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Xm(Math.sqrt(o / c)), h = p * m, g = {target: i,delta: i - r,velocity: f(n.velocity || 0) || 0,@@ -20007,12 +20016,12 @@ function gh(e = ah.visualDuration, t = ah.bounce) {restDelta: 0}, _ = () => {let e = Math.abs(g.delta) < 5;- g.restSpeed = n.restSpeed || (e ? ah.restSpeed.granular : ah.restSpeed.default), g.restDelta = n.restDelta || (e ? ah.restDelta.granular : ah.restDelta.default);+ g.restSpeed = n.restSpeed || (e ? oh.restSpeed.granular : oh.restSpeed.default), g.restDelta = n.restDelta || (e ? oh.restDelta.granular : oh.restDelta.default);};_();let v, y, b;if (p < 1) {- let e = ch(m, p), t = {+ let e = lh(m, p), t = {A: 0,sinC: 0,cosC: 0,@@ -20050,51 +20059,51 @@ function gh(e = ah.visualDuration, t = ah.bounce) {retarget: (e, t) => {g.target = e[e.length - 1], g.delta = g.target - e[0], g.velocity = f(t), n.restSpeed && n.restDelta || _(), S.calculatedDuration = x, a.done = !1, b();},- velocity: (e) => /* @__PURE__ */ Jm(y(e)),+ velocity: (e) => /* @__PURE__ */ Ym(y(e)),next: (e) => {let t = v(e);if (u) a.done = e >= l;else {- let n = /* @__PURE__ */ Jm(y(e));+ let n = /* @__PURE__ */ Ym(y(e));a.done = Math.abs(n) <= g.restSpeed && Math.abs(g.target - t) <= g.restDelta;}return a.value = a.done ? g.target : t, a;},toString: () => {- let e = Math.min(rh(S), nh), t = th((t) => S.next(e * t).value, e, 30);+ let e = Math.min(ih(S), rh), t = nh((t) => S.next(e * t).value, e, 30);return e + "ms " + t;},toTransition: () => {}};return S;}-gh.applyToOptions = (e) => {- let t = ih(e, 100, gh);- return e.ease = t.ease, e.duration = /* @__PURE__ */ Jm(t.duration), e.type = "keyframes", e;+_h.applyToOptions = (e) => {+ let t = ah(e, 100, _h);+ return e.ease = t.ease, e.duration = /* @__PURE__ */ Ym(t.duration), e.type = "keyframes", e;};//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs-var _h = (e) => e !== null;-function vh(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {- let a = e.filter(_h), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;+var vh = (e) => e !== null;+function yh(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {+ let a = e.filter(vh), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;return !o || r === void 0 ? a[o] : r;}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/notify-inspector.mjs-function yh(e, t) {+function bh(e, t) {return {kind: e,animation: t,- timestamp: eh.now(),- frameTimestamp: Zm.timestamp,- frameIsProcessing: Zm.isProcessing+ timestamp: th.now(),+ frameTimestamp: Qm.timestamp,+ frameIsProcessing: Qm.isProcessing};}-function bh(e, t, n) {+function xh(e, t, n) {let r = globalThis.__MOTION_INSPECT__;if (r) try {r({- ...yh("animation-start", e),+ ...bh("animation-start", e),options: n ? {...t,...n@@ -20104,7 +20113,7 @@ function bh(e, t, n) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs-var xh = class {+var Sh = class {constructor() {this.isResolved = !1;}@@ -20125,60 +20134,60 @@ var xh = class {};//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs-function Sh(e) {+function Ch(e) {for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);}//#endregion//#region node_modules/motion-dom/dist/es/render/dom/is-css-var.mjs-var Ch = (e) => e.startsWith("--");+var wh = (e) => e.startsWith("--");//#endregion//#region node_modules/motion-dom/dist/es/render/dom/style-set.mjs-function wh(e, t, n) {- Ch(t) ? e.style.setProperty(t, n) : e.style[t] = n;+function Th(e, t, n) {+ wh(t) ? e.style.setProperty(t, n) : e.style[t] = n;}//#endregion//#region node_modules/motion-dom/dist/es/utils/supports/flags.mjs-var Th = {};+var Eh = {};//#endregion//#region node_modules/motion-dom/dist/es/utils/supports/memo.mjs-function Eh(e, t) {- let n = /* @__PURE__ */ Km(e);- return () => Th[t] ?? n();+function Dh(e, t) {+ let n = /* @__PURE__ */ qm(e);+ return () => Eh[t] ?? n();}//#endregion//#region node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs-var Dh = /* @__PURE__ */ Eh(() => window.ScrollTimeline !== void 0, "scrollTimeline"), Oh = /*@__PURE__*/ Eh(() => {+var Oh = /* @__PURE__ */ Dh(() => window.ScrollTimeline !== void 0, "scrollTimeline"), kh = /*@__PURE__*/ Dh(() => {try {document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });} catch {return !1;}return !0;-}, "linearEasing"), kh = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Ah = {+}, "linearEasing"), Ah = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, jh = {linear: "linear",ease: "ease",easeIn: "ease-in",easeOut: "ease-out",easeInOut: "ease-in-out",- circIn: /*@__PURE__*/ kh([+ circIn: /*@__PURE__*/ Ah([0,.65,.55,1]),- circOut: /*@__PURE__*/ kh([+ circOut: /*@__PURE__*/ Ah([.55,0,1,.45]),- backIn: /*@__PURE__*/ kh([+ backIn: /*@__PURE__*/ Ah([.31,.01,.66,-.59]),- backOut: /*@__PURE__*/ kh([+ backOut: /*@__PURE__*/ Ah([.33,1.53,.69,@@ -20187,15 +20196,15 @@ var Dh = /* @__PURE__ */ Eh(() => window.ScrollTimeline !== void 0, "scrollTimel};//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs-function jh(e, t) {- if (e) return typeof e == "function" ? Oh() ? th(e, t) : "ease-out" : /* @__PURE__ */ Xm(e) ? kh(e) : Array.isArray(e) ? e.map((e) => jh(e, t) || Ah.easeOut) : Ah[e];+function Mh(e, t) {+ if (e) return typeof e == "function" ? kh() ? nh(e, t) : "ease-out" : /* @__PURE__ */ Zm(e) ? Ah(e) : Array.isArray(e) ? e.map((e) => Mh(e, t) || jh.easeOut) : jh[e];}//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs-function Mh(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {+function Nh(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {let u = { [t]: n };c && (u.offset = c);- let d = jh(s, i);+ let d = Mh(s, i);Array.isArray(d) && (u.easing = d);let f = {delay: r,@@ -20209,29 +20218,29 @@ function Mh(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTyp}//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs-function Nh(e) {+function Ph(e) {return typeof e == "function" && "applyToOptions" in e;}//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs-function Ph({ type: e, ...t }) {- return Nh(e) && Oh() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);+function Fh({ type: e, ...t }) {+ return Ph(e) && kh() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);}//#endregion//#region node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs-var Fh = class extends xh {+var Ih = class extends Sh {constructor(e) {if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e, e.type;- let c = Ph(e);- this.animation = Mh(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {+ let c = Fh(e);+ this.animation = Nh(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {if (this.finishedTime = this.time, !i) {- let e = vh(r, this.options, o, this.speed);- this.updateMotionValue && this.updateMotionValue(e), wh(t, n, e), this.animation.cancel();+ let e = yh(r, this.options, o, this.speed);+ this.updateMotionValue && this.updateMotionValue(e), Th(t, n, e), this.animation.cancel();}s?.(), this.notifyFinished();- }, bh(this, e, c);+ }, xh(this, e, c);}play() {this.isStopped || (this.manualStartTime = null, this.animation.play(), this.state === "finished" && this.updateFinished());@@ -20259,18 +20268,18 @@ var Fh = class extends xh {}get duration() {let e = this.animation.effect?.getComputedTiming?.().duration || 0;- return /* @__PURE__ */ Ym(Number(e));+ return /* @__PURE__ */ Xm(Number(e));}get iterationDuration() {let { delay: e = 0 } = this.options || {};- return this.duration + /* @__PURE__ */ Ym(e);+ return this.duration + /* @__PURE__ */ Xm(e);}get time() {- return /* @__PURE__ */ Ym(Number(this.animation.currentTime) || 0);+ return /* @__PURE__ */ Xm(Number(this.animation.currentTime) || 0);}set time(e) {let t = this.finishedTime !== null;- this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Jm(e), t && this.animation.pause();+ this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Ym(e), t && this.animation.pause();}get speed() {return this.animation.playbackRate;@@ -20288,9 +20297,9 @@ var Fh = class extends xh {this.manualStartTime = this.animation.startTime = e;}attachTimeline({ timeline: e, onAttach: t, observe: n }) {- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Dh() ? (this.animation.timeline = e, t?.(this.animation), qm) : n(this);+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Oh() ? (this.animation.timeline = e, t?.(this.animation), Jm) : n(this);}-}, Ih = class {+}, Lh = class {constructor(e) {this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);}@@ -20330,10 +20339,10 @@ var Fh = class extends xh {return this.getAll("startTime");}get duration() {- return Lh(this.animations, "duration");+ return Rh(this.animations, "duration");}get iterationDuration() {- return Lh(this.animations, "iterationDuration");+ return Rh(this.animations, "iterationDuration");}runAll(e) {this.animations.forEach((t) => t[e]());@@ -20351,7 +20360,7 @@ var Fh = class extends xh {this.runAll("complete");}};-function Lh(e, t) {+function Rh(e, t) {let n = 0;for (let r = 0; r < e.length; r++) {let i = e[r][t];@@ -20361,18 +20370,18 @@ function Lh(e, t) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs-var Rh = class extends Ih {+var zh = class extends Lh {then(e, t) {return this.finished.finally(e).then(() => {});}-}, zh = /* @__PURE__ */ new WeakMap(), Bh = (e, t = "") => `${e}:${t}`;-function Vh(e) {- let t = zh.get(e);- return t || (t = /* @__PURE__ */ new Map(), zh.set(e, t)), t;+}, Bh = /* @__PURE__ */ new WeakMap(), Vh = (e, t = "") => `${e}:${t}`;+function Hh(e) {+ let t = Bh.get(e);+ return t || (t = /* @__PURE__ */ new Map(), Bh.set(e, t)), t;}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs-function Hh(e, t) {+function Uh(e, t) {if (e?.inherit && t) {let { inherit: n, ...r } = e;return {@@ -20384,21 +20393,21 @@ function Hh(e, t) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs-function Uh(e, t) {+function Wh(e, t) {let n = e?.[t] ?? e?.default ?? e;- return n === e ? n : Hh(n, e);+ return n === e ? n : Uh(n, e);}//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/utils/px-values.mjs-var Wh = /* @__PURE__ */ new Set(/* @__PURE__ */ "borderWidth.borderTopWidth.borderRightWidth.borderBottomWidth.borderLeftWidth.borderRadius.borderTopLeftRadius.borderTopRightRadius.borderBottomRightRadius.borderBottomLeftRadius.width.maxWidth.height.maxHeight.top.right.bottom.left.inset.insetBlock.insetBlockStart.insetBlockEnd.insetInline.insetInlineStart.insetInlineEnd.padding.paddingTop.paddingRight.paddingBottom.paddingLeft.paddingBlock.paddingBlockStart.paddingBlockEnd.paddingInline.paddingInlineStart.paddingInlineEnd.margin.marginTop.marginRight.marginBottom.marginLeft.marginBlock.marginBlockStart.marginBlockEnd.marginInline.marginInlineStart.marginInlineEnd.fontSize.backgroundPositionX.backgroundPositionY".split("."));+var Gh = /* @__PURE__ */ new Set(/* @__PURE__ */ "borderWidth.borderTopWidth.borderRightWidth.borderBottomWidth.borderLeftWidth.borderRadius.borderTopLeftRadius.borderTopRightRadius.borderBottomRightRadius.borderBottomLeftRadius.width.maxWidth.height.maxHeight.top.right.bottom.left.inset.insetBlock.insetBlockStart.insetBlockEnd.insetInline.insetInlineStart.insetInlineEnd.padding.paddingTop.paddingRight.paddingBottom.paddingLeft.paddingBlock.paddingBlockStart.paddingBlockEnd.paddingInline.paddingInlineStart.paddingInlineEnd.margin.marginTop.marginRight.marginBottom.marginLeft.marginBlock.marginBlockStart.marginBlockEnd.marginInline.marginInlineStart.marginInlineEnd.fontSize.backgroundPositionX.backgroundPositionY".split("."));//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs-function Gh(e, t) {- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Wh.has(t) && (e[n] = e[n] + "px");+function Kh(e, t) {+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Gh.has(t) && (e[n] = e[n] + "px");}//#endregion//#region node_modules/motion-dom/dist/es/utils/resolve-elements.mjs-function Kh(e, t, n) {+function qh(e, t, n) {if (e == null) return [];if (e instanceof EventTarget) return [e];if (typeof e == "string") {@@ -20411,24 +20420,24 @@ function Kh(e, t, n) {}//#endregion//#region node_modules/motion-dom/dist/es/render/dom/style-computed.mjs-function qh(e, t) {+function Jh(e, t) {let n = window.getComputedStyle(e);- return Ch(t) ? n.getPropertyValue(t) : n[t];+ return wh(t) ? n.getPropertyValue(t) : n[t];}//#endregion//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs-function Jh(e, t, n, r) {+function Yh(e, t, n, r) {if (e == null) return [];- let i = Kh(e, r), a = i.length, o = [];+ let i = qh(e, r), a = i.length, o = [];for (let e = 0; e < a; e++) {let r = i[e], s = { ...n };typeof s.delay == "function" && (s.delay = s.delay(e, a));for (let e in t) {let n = t[e];Array.isArray(n) || (n = [n]);- let i = { ...Uh(s, e) };- i.duration &&= /* @__PURE__ */ Jm(i.duration), i.delay &&= /* @__PURE__ */ Jm(i.delay);- let a = Vh(r), c = Bh(e, i.pseudoElement || ""), l = a.get(c);+ let i = { ...Wh(s, e) };+ i.duration &&= /* @__PURE__ */ Ym(i.duration), i.delay &&= /* @__PURE__ */ Ym(i.delay);+ let a = Hh(r), c = Vh(e, i.pseudoElement || ""), l = a.get(c);l && l.stop(), o.push({map: a,key: c,@@ -20444,33 +20453,33 @@ function Jh(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] = qh(r, i)), Sh(t), Gh(t, i), !a && t.length < 2 && t.unshift(qh(r, i)), n.keyframes = t;+ !a && t[0] === null && (t[0] = Jh(r, i)), Ch(t), Kh(t, i), !a && t.length < 2 && t.unshift(Jh(r, i)), n.keyframes = t;}let s = [];for (let e = 0; e < o.length; e++) {- let { map: t, key: n, options: r } = o[e], i = new Fh(r);+ let { map: t, key: n, options: r } = o[e], i = new Ih(r);t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);}return s;}-var Yh = /*@__PURE__*/ ((e) => {+var Xh = /*@__PURE__*/ ((e) => {function t(t, n, r) {- return new Rh(Jh(t, n, r, e));+ return new zh(Yh(t, n, r, e));}return t;-})(), Xh = {+})(), Zh = {selection: {- type: gh,+ type: _h,duration: .16,bounce: 0},hover: {- type: gh,+ type: _h,duration: .08,bounce: 0}};-function Zh(e) {+function Qh(e) {let [t, n] = (0, C.useState)(null);return (0, C.useLayoutEffect)(() => {if (!t) return;@@ -20491,7 +20500,7 @@ function Zh(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 = Yh(n, { transform: [r, E] }, Xh[e]);+ l = Xh(n, { transform: [r, E] }, Zh[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -20534,11 +20543,11 @@ Object.fromEntries(Object.entries({}).map(([e, t]) => [t, e])), typeof Intl < "u" && typeof Intl.Segmenter == "function" && new Intl.Segmenter(void 0, { granularity: "grapheme" }), { ...mm };//#endregion//#region src/ui-kit/scroll.ts-var Qh = /* @__PURE__ */ new Map(), $h, eg = 240, tg = 50, ng = 70, rg = .55, ig = .35, ag = 480;-function og(e, t) {- return !e || !(t > 0) ? 0 : Math.sign(e) * (1 - 1 / (Math.abs(e) * rg / t + 1)) * t;+var $h = /* @__PURE__ */ new Map(), eg, tg = 240, ng = 50, rg = 70, ig = .55, ag = .35, og = 480;+function sg(e, t) {+ return !e || !(t > 0) ? 0 : Math.sign(e) * (1 - 1 / (Math.abs(e) * ig / t + 1)) * t;}-function sg(e) {+function cg(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) => {@@ -20546,11 +20555,11 @@ function sg(e) {};return {drag(i) {- r() || (t?.cancel(), t = null, n = -og(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 = -sg(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 = ug();+ let t = n, r = dg();n = 0, e.style.removeProperty("--edge-pull"), a([{"--edge-pull": `${t}px`,easing: r.easing@@ -20558,9 +20567,9 @@ function sg(e) {},kick(t) {if (r() || n) return;- let i = -og(t * ig, Math.min(e.clientWidth, ag));+ let i = -sg(t * ag, Math.min(e.clientWidth, og));if (!i) return;- let o = ug();+ let o = dg();a([{"--edge-pull": "0px",@@ -20576,9 +20585,9 @@ function sg(e) {}};}-function cg(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dragIgnore: a = "" } = {}) {+function lg(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dragIgnore: a = "" } = {}) {if (!e) return;- let o = Qh.get(e);+ let o = $h.get(e);if (o) return o.options.drag ||= t, o.options.fade ||= n, o.update(), o;let s = {drag: t,@@ -20586,7 +20595,7 @@ function cg(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, drawheel: r,elastic: i,dragIgnore: a- }, c = new AbortController(), l = sg(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 = cg(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 = () => ["auto",@@ -20608,7 +20617,7 @@ function cg(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dracancelAnimationFrame(h), h = 0, v = 0;}, T = (t) => {let n = Math.min(Math.max(t - g, 0), 64);- if (g = t, _ += (p - _) * (1 - Math.exp(-n / ng)), Math.abs(p - _) < .5 && (_ = p), e.scrollLeft = _, _ !== p) h = requestAnimationFrame(T);+ if (g = t, _ += (p - _) * (1 - Math.exp(-n / rg)), Math.abs(p - _) < .5 && (_ = p), e.scrollLeft = _, _ !== p) h = requestAnimationFrame(T);else if (h = 0, v) {let e = v;v = 0, C(e);@@ -20620,11 +20629,11 @@ function cg(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 || !b()) return;t.preventDefault();let r = performance.now(), i = Math.abs(t.deltaY);- r > f && (m = !1), f = r + eg;+ r > f && (m = !1), f = r + tg;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 < tg || p === a ? (p !== a && (w(), e.scrollLeft = p), c && !h ? C(c) : c && (v = c)) : (c && (v = c), h ||= (_ = e.scrollLeft, g = performance.now(), requestAnimationFrame(T)));+ i < ng || p === a ? (p !== a && (w(), e.scrollLeft = p), c && !h ? C(c) : c && (v = c)) : (c && (v = c), h ||= (_ = e.scrollLeft, g = performance.now(), requestAnimationFrame(T)));}, { passive: !1 }), S(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(), w(), u = {x: t.pageX,@@ -20659,26 +20668,26 @@ function cg(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, draoptions: s,update: x,destroy() {- c.abort(), w(), D.disconnect(), k.disconnect(), Qh.delete(e), e.style.cursor = "", Qh.size || ($h?.disconnect(), $h = null);+ c.abort(), w(), D.disconnect(), k.disconnect(), $h.delete(e), e.style.cursor = "", $h.size || (eg?.disconnect(), eg = null);}};- return Qh.set(e, A), $h || ($h = new MutationObserver(() => {- for (let [e, t] of Qh) e.isConnected || t.destroy();- }), $h.observe(document.body, {+ return $h.set(e, A), eg || (eg = new MutationObserver(() => {+ for (let [e, t] of $h) e.isConnected || t.destroy();+ }), eg.observe(document.body, {childList: !0,subtree: !0})), x(), A;}-var lg = null;-function ug() {- if (!lg) {+var ug = null;+function dg() {+ if (!ug) {let e = getComputedStyle(document.documentElement);- lg = {+ ug = {easing: e.getPropertyValue("--spring-pane").trim() || "ease",duration: parseFloat(e.getPropertyValue("--spring-pane-ms")) || 300};}- return lg;+ return ug;}["[data-stage-side-content]",@@ -20703,14 +20712,14 @@ function ug() {].join(",");//#endregion//#region src/react/components/use-horizontal-scroller.ts-function dg(e, t = !0) {+function fg(e, t = !0) {let [n, r] = (0, C.useState)(null), i = (0, C.useCallback)((t) => {r(t), typeof e == "function" ? e(t) : e && (e.current = t);}, [e]);return (0, C.useLayoutEffect)(() => {if (!n || !t) return;n.dataset.horizontalScroll = "";- let e = cg(n);+ let e = lg(n);return () => {e.destroy(), delete n.dataset.horizontalScroll, delete n.dataset.overflowLeft, delete n.dataset.overflowRight;};@@ -20718,17 +20727,17 @@ function dg(e, t = !0) {}//#endregion//#region src/react/components/segmented.tsx-function fg(e) {- let t = dg(Zh("selection"));+function pg(e) {+ let t = fg(Qh("selection"));return /* @__PURE__ */ (0, B.jsx)(ip, {...e,ref: t});}-var pg = "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", mg = "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";+var mg = "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", hg = "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";//#endregion//#region src/react/settings/busy-props.ts-function hg(e) {+function gg(e) {return e ? {"aria-busy": !0,"aria-disabled": !0@@ -20736,7 +20745,7 @@ function hg(e) {}//#endregion//#region src/react/boardui/components/base/buttons/icon-button.tsx-var gg = St({+var _g = St({base: ["relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg","bg-background-primary-default text-foreground-icon-primary",@@ -20757,21 +20766,21 @@ var gg = St({small: "size-4 shrink-0"}});-function _g({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function vg({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, B.jsx)("button", {ref: i,type: r,- className: z(gg.base, gg.size[t], n),+ className: z(_g.base, _g.size[t], n),...a,children: /* @__PURE__ */ (0, B.jsx)(e, {- className: gg.icon[t],+ className: _g.icon[t],"aria-hidden": !0})});}//#endregion//#region src/react/settings/folder-rows.tsx-function vg({ className: e }) {+function yg({ className: e }) {return /* @__PURE__ */ (0, B.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -20784,8 +20793,8 @@ function vg({ className: e }) {children: /* @__PURE__ */ (0, B.jsx)("use", { href: "#i-folder-search" })});}-var yg = fm, bg = (e) => gm[e] || "database", xg = (e) => pm.includes(e);-function Sg({ label: e, className: t, children: n }) {+var bg = fm, xg = (e) => gm[e] || "database", Sg = (e) => pm.includes(e);+function Cg({ label: e, className: t, children: n }) {return /* @__PURE__ */ (0, B.jsxs)("div", {className: z("flex min-w-0 flex-col gap-1", t),children: [/* @__PURE__ */ (0, B.jsx)(zp, {@@ -20795,13 +20804,13 @@ function Sg({ label: e, className: t, children: n }) {}), n]});}-function Cg({ children: e }) {+function wg({ children: e }) {return /* @__PURE__ */ (0, B.jsx)("div", {className: "flex w-full flex-wrap items-start gap-2",children: e});}-function wg({ index: e, cost: t, error: n, onChange: r }) {+function Tg({ index: e, cost: t, error: n, onChange: r }) {return /* @__PURE__ */ (0, B.jsxs)("div", {"data-media-read-policy": e,className: "flex w-full flex-col gap-1 @lg:w-32",@@ -20833,10 +20842,10 @@ function wg({ index: e, cost: t, error: n, onChange: r }) {]});}-function Tg() {+function Eg() {return /* @__PURE__ */ (0, B.jsx)(Sm, { children: "读取策略选「代理保护」时,会限制自动读取视频。" });}-function Eg({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {+function Dg({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {let [a, o] = (0, C.useState)(e), [s, c] = (0, C.useState)([]), [l, u] = (0, C.useState)(null), [d, f] = (0, C.useState)(null), p = (0, C.useRef)(!1), m = (0, C.useRef)([]);(0, C.useLayoutEffect)(() => {l !== null && (m.current[l]?.focus(), u(null));@@ -20879,7 +20888,7 @@ function Eg({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick:}};}-function Dg({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {+function Og({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {let u = (0, C.useRef)(null), d = () => {let e = u.current;e && e.ownerDocument.activeElement !== e && (e.scrollLeft = e.scrollWidth);@@ -20910,11 +20919,11 @@ function Dg({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, oclassName: "flex h-9 shrink-0 items-center",children: c}) : null,- /* @__PURE__ */ (0, B.jsx)(_g, {- icon: vg,+ /* @__PURE__ */ (0, B.jsx)(vg, {+ icon: yg,"aria-label": "选择文件夹",onClick: o,- ...hg(a)+ ...gg(a)}),s ? /* @__PURE__ */ (0, B.jsx)(Tt, {variant: "danger",@@ -20930,8 +20939,8 @@ function Dg({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, o})]});}-function Og({ index: e, value: t, onChange: n, options: r = yg }) {- return /* @__PURE__ */ (0, B.jsx)(Sg, {+function kg({ index: e, value: t, onChange: n, options: r = bg }) {+ return /* @__PURE__ */ (0, B.jsx)(Cg, {label: "来源",className: "w-full @lg:w-60",children: /* @__PURE__ */ (0, B.jsx)(Hm, {@@ -20944,20 +20953,20 @@ function Og({ index: e, value: t, onChange: n, options: r = yg }) {children: r.map(([e, t]) => /* @__PURE__ */ (0, B.jsxs)(Um, {id: e,textValue: t,- children: [/* @__PURE__ */ (0, B.jsx)(km, { mark: bg(e) }), t]+ children: [/* @__PURE__ */ (0, B.jsx)(km, { mark: xg(e) }), t]}, e))})});}//#endregion//#region src/react/settings/library-icon-picker.tsx-function kg(e) {+function Ag(e) {let t = e === "local" ? "" : gm[e];return t ? [t, "自动识别"] : ["hard-drive", "默认"];}//#endregion//#region src/react/settings/password-pair.tsx-function Ag({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {+function jg({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Gp, {id: "access-password",type: "password",@@ -20988,7 +20997,7 @@ function Ag({ label: e, password: t, confirmation: n, onPassword: r, onConfirmat}//#endregion//#region src/react/boardui/components/base/badges/chip.tsx-var jg = St({+var Mg = St({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",@@ -21007,33 +21016,33 @@ var jg = St({soft: "bg-background-secondary-default text-text-secondary"}});-function Mg({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function Ng({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, B.jsx)("span", {ref: r,- className: z(jg.base, jg.variant[e], jg.color[t], n),+ className: z(Mg.base, Mg.variant[e], Mg.color[t], n),...i});}//#endregion//#region src/react/components/status-label.tsx-var Ng = {+var Pg = {success: "lime",progress: "blue",warning: "yellow",error: "rose",neutral: "neutral"};-function Pg({ tone: e = "neutral", ...t }) {- return /* @__PURE__ */ (0, B.jsx)(Mg, {+function Fg({ tone: e = "neutral", ...t }) {+ return /* @__PURE__ */ (0, B.jsx)(Ng, {"data-status-tone": e,variant: "caption",- color: Ng[e],+ color: Pg[e],...t});}//#endregion//#region src/react/settings/remote-reporting-settings.tsx-function Fg({ value: e, onChange: t, busy: n = !1 }) {+function Ig({ value: e, onChange: t, busy: n = !1 }) {return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(bm, { children: /* @__PURE__ */ (0, B.jsx)(_m, {label: "发送版本统计与错误诊断(推荐)",description: "上传版本、系统信息、故障类型、代码位置与发生次数。",@@ -21045,25 +21054,25 @@ function Fg({ value: e, onChange: t, busy: n = !1 }) {usage: n,errors: n}),- ...hg(n)+ ...gg(n)})}) }), e.available ? null : /* @__PURE__ */ (0, B.jsx)(xm, {divided: !0,children: /* @__PURE__ */ (0, B.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, B.jsx)(Pg, { children: "上传服务未配置" })+ children: /* @__PURE__ */ (0, B.jsx)(Fg, { children: "上传服务未配置" })})})] });}//#endregion//#region src/react/pages/setup/setup-form.tsx-var Ig = [+var Lg = ["data_root","host","port","mdns_name"];-function Lg(e, t) {+function Rg(e, t) {return Array.isArray(e) ? e.length === t ? {rows: e,table: ""@@ -21075,19 +21084,19 @@ function Lg(e, t) {table: e ?? ""};}-function Rg(e) {+function zg(e) {return e.length ? e.length === 1 ? `完成设置后扫描并补全资料:${e[0]}` : `完成设置后扫描这 ${e.length} 个文件夹并补全资料` : "完成设置后扫描并补全资料";}-var zg = (e) => Array.isArray(e) ? e.filter(Boolean).join(" ") : e ?? "";-function Bg({ setup: e, onDone: t }) {+var Bg = (e) => Array.isArray(e) ? e.filter(Boolean).join(" ") : e ?? "";+function Vg({ setup: e, onDone: t }) {let n = e.questions.find((e) => e.input === "folders"), r = e.questions.filter((e) => e.input !== "folders"), i = e.media_sources.map(({ value: e, label: t }) => [e, t]), a = (t = "") => ({path: t,location: e.media_source_default,root: "",- library_id: crypto.randomUUID(),+ library_id: Wm(),library: "",cost: e.media_source_default === "local" ? "free" : ""- }), o = Eg({+ }), o = Dg({initial: () => [a(n?.default ?? "")],blank: () => a(),pickFolder: nm,@@ -21130,14 +21139,14 @@ function Bg({ setup: e, onDone: t }) {t(await em(i));} catch (e) {if (e instanceof Zp && e.status === 400 && e.errors) {- let t = e.errors, { rows: n, table: r } = Lg(t.media_dir, o.rows.length);- o.setErrors(n), T(r), S(t), Ig.some((e) => t[e]) && ee((e) => e + 1), t.access_password && u(!0), re((e) => e + 1);+ let t = e.errors, { rows: n, table: r } = Rg(t.media_dir, o.rows.length);+ o.setErrors(n), T(r), S(t), Lg.some((e) => t[e]) && ee((e) => e + 1), t.access_password && u(!0), re((e) => e + 1);} else D(rm(e));} finally {k(!1);}}, ce = (e) => {- let t = zg(x[e.key]), n = e.help.join("");+ let t = Bg(x[e.key]), n = e.help.join("");if (e.input === "choice") {let r = `setup-${e.key}-label`;return /* @__PURE__ */ (0, B.jsxs)("div", {@@ -21148,15 +21157,15 @@ function Bg({ setup: e, onDone: t }) {elementType: "span",children: e.label}),- /* @__PURE__ */ (0, B.jsx)(fg, {+ /* @__PURE__ */ (0, B.jsx)(pg, {"aria-labelledby": r,orientation: "horizontal",- className: pg,+ className: mg,value: s[e.key] ?? e.default,onChange: (t) => oe(e.key, t),children: (e.options ?? []).map((e) => /* @__PURE__ */ (0, B.jsx)(ap, {value: e.value,- className: mg,+ className: hg,children: e.label}, e.value))}),@@ -21186,7 +21195,7 @@ function Bg({ setup: e, onDone: t }) {isInvalid: !!t,hint: ie(t) ?? (n || void 0)}, e.key);- }, le = o.rows.map((e) => e.path.trim()).filter(Boolean), ue = o.rows.some((e) => xg(e.location));+ }, le = o.rows.map((e) => e.path.trim()).filter(Boolean), ue = o.rows.some((e) => Sg(e.location));return /* @__PURE__ */ (0, B.jsxs)("form", {ref: te,noValidate: !0,@@ -21211,7 +21220,7 @@ function Bg({ setup: e, onDone: t }) {role: "group","aria-labelledby": "setup-media-title",className: "flex flex-col gap-3",- children: o.rows.map((e, t) => /* @__PURE__ */ (0, B.jsxs)(Dg, {+ children: o.rows.map((e, t) => /* @__PURE__ */ (0, B.jsxs)(Og, {label: `${n.label} ${t + 1}`,path: e.path,onPath: (e) => o.edit(t, { path: e }),@@ -21222,7 +21231,7 @@ function Bg({ setup: e, onDone: t }) {onRemove: o.rows.length > 1 ? () => {o.remove(t), ne.current?.focus();} : void 0,- children: [/* @__PURE__ */ (0, B.jsxs)(Cg, { children: [/* @__PURE__ */ (0, B.jsx)(Og, {+ children: [/* @__PURE__ */ (0, B.jsxs)(wg, { children: [/* @__PURE__ */ (0, B.jsx)(kg, {index: t,value: e.location,options: i,@@ -21230,12 +21239,12 @@ function Bg({ setup: e, onDone: t }) {location: e,cost: e === "local" ? "free" : ""})- }), /* @__PURE__ */ (0, B.jsx)(wg, {+ }), /* @__PURE__ */ (0, B.jsx)(Tg, {index: t,cost: e.cost ?? "",error: A && !e.cost ? "请选择媒体读取策略" : void 0,onChange: (e) => o.edit(t, { cost: e })- })] }), /* @__PURE__ */ (0, B.jsxs)(Cg, { children: [/* @__PURE__ */ (0, B.jsx)(Sg, {+ })] }), /* @__PURE__ */ (0, B.jsxs)(wg, { children: [/* @__PURE__ */ (0, B.jsx)(Cg, {label: "所属媒体库",className: "w-full @lg:w-60",children: /* @__PURE__ */ (0, B.jsxs)(Hm, {@@ -21244,7 +21253,7 @@ function Bg({ setup: e, onDone: t }) {selectedKey: e.library_id,renderValue: /* @__PURE__ */ (0, B.jsxs)("span", {className: "flex min-w-0 items-center gap-2",- children: [/* @__PURE__ */ (0, B.jsx)(km, { mark: kg(e.location)[0] }), /* @__PURE__ */ (0, B.jsx)("span", {+ children: [/* @__PURE__ */ (0, B.jsx)(km, { mark: Ag(e.location)[0] }), /* @__PURE__ */ (0, B.jsx)("span", {className: "truncate",children: e.library || "未命名媒体库"})]@@ -21252,7 +21261,7 @@ function Bg({ setup: e, onDone: t }) {onSelectionChange: (e) => {let n = o.rows.find((t) => t.library_id === e);o.edit(t, {- library_id: n?.library_id || crypto.randomUUID(),+ library_id: n?.library_id || Wm(),library: n?.library || ""});},@@ -21264,7 +21273,7 @@ function Bg({ setup: e, onDone: t }) {children: "新建媒体库"})]})- }), /* @__PURE__ */ (0, B.jsx)(Sg, {+ }), /* @__PURE__ */ (0, B.jsx)(Cg, {label: "媒体库名称",className: "w-full min-w-32 @lg:w-auto @lg:flex-1",children: /* @__PURE__ */ (0, B.jsx)(Gp, {@@ -21289,7 +21298,7 @@ function Bg({ setup: e, onDone: t }) {children: "添加文件夹"}),ue ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [- /* @__PURE__ */ (0, B.jsx)(Tg, {}),+ /* @__PURE__ */ (0, B.jsx)(Eg, {}),/* @__PURE__ */ (0, B.jsxs)(Sm, { children: [e.cloud.help, /* @__PURE__ */ (0, B.jsx)(wm, {href: e.cloud.link.url,children: e.cloud.link.label@@ -21325,13 +21334,13 @@ function Bg({ setup: e, onDone: t }) {})]}),/* @__PURE__ */ (0, B.jsx)(Sm, { children: "未设置密码时,能连接到 Peach 的设备可直接进入。" }),- l ? /* @__PURE__ */ (0, B.jsx)(Ag, {+ l ? /* @__PURE__ */ (0, B.jsx)(jg, {label: "访问密码",password: d,confirmation: p,onPassword: f,onConfirmation: m,- passwordError: ie(zg(x.access_password)),+ passwordError: ie(Bg(x.access_password)),passwordHint: "请输入 8–256 个字符。",confirmationInvalid: !!x.access_password}) : null@@ -21357,7 +21366,7 @@ function Bg({ setup: e, onDone: t }) {children: [/* @__PURE__ */ (0, B.jsx)(Np, {isSelected: h,onChange: g,- children: Rg(le)+ children: zg(le)}), /* @__PURE__ */ (0, B.jsx)(Sm, { children: "读取已有 NFO 和封面,采集缺失资料。符合自动规则的资料会在处理完成后保存到数据库,其余资料留待确认。" })]}),/* @__PURE__ */ (0, B.jsxs)("section", {@@ -21385,7 +21394,7 @@ function Bg({ setup: e, onDone: t }) {E ? /* @__PURE__ */ (0, B.jsx)(Cm, { children: E }) : null,y ? /* @__PURE__ */ (0, B.jsxs)(Ot, { children: [/* @__PURE__ */ (0, B.jsx)(kt, { children: "版本统计与错误诊断" }),- /* @__PURE__ */ (0, B.jsx)(Fg, {+ /* @__PURE__ */ (0, B.jsx)(Ig, {value: y,onChange: b}),@@ -21394,7 +21403,7 @@ function Bg({ setup: e, onDone: t }) {/* @__PURE__ */ (0, B.jsx)(Tt, {type: "submit",className: "self-start",- ...hg(O),+ ...gg(O),children: "完成设置"})]@@ -21402,7 +21411,7 @@ function Bg({ setup: e, onDone: t }) {}//#endregion//#region src/react/pages/setup/setup-restore.tsx-function Vg({ onDone: e }) {+function Hg({ onDone: e }) {let [t, n] = (0, C.useState)(""), [r, i] = (0, C.useState)(""), [a, o] = (0, C.useState)(!1);return /* @__PURE__ */ (0, B.jsxs)("form", {className: "flex flex-col gap-4",@@ -21436,14 +21445,14 @@ function Vg({ onDone: e }) {}), /* @__PURE__ */ (0, B.jsx)(Tt, {type: "submit",className: "self-start",- ...hg(a),+ ...gg(a),children: a ? "正在连接数据目录…" : "使用此目录"})]});}//#endregion//#region src/react/pages/setup/setup-page.tsx-function Hg() {+function Ug() {let [e, t] = (0, C.useState)({ kind: "loading" }), [n, r] = (0, C.useState)(0), [i, a] = (0, C.useState)(!1);return (0, C.useEffect)(() => {let e = new AbortController();@@ -21481,10 +21490,10 @@ function Hg() {className: "self-start",onClick: () => a((e) => !e),children: i ? "返回首次设置" : "使用已有数据目录"- }), i ? /* @__PURE__ */ (0, B.jsx)(Vg, { onDone: (e) => t({+ }), i ? /* @__PURE__ */ (0, B.jsx)(Hg, { onDone: (e) => t({kind: "done",done: e- }) }) : /* @__PURE__ */ (0, B.jsx)(Bg, {+ }) }) : /* @__PURE__ */ (0, B.jsx)(Vg, {setup: e.setup,onDone: (e) => t({kind: "done",@@ -21496,14 +21505,14 @@ function Hg() {}//#endregion//#region src/react/pages/index.tsx-var Ug = {- setup: Hg,+var Wg = {+ setup: Ug,login: Kp,error: Mt};m();-var Wg = document.getElementById("peach-page"), Gg = Wg ? Ug[Wg.dataset.page ?? ""] : void 0;-Wg && Gg && (0, w.createRoot)(Wg).render(/* @__PURE__ */ (0, B.jsx)(Gg, { data: { ...Wg.dataset } }));+var Gg = document.getElementById("peach-page"), Kg = Gg ? Wg[Gg.dataset.page ?? ""] : void 0;+Gg && Kg && (0, w.createRoot)(Gg).render(/* @__PURE__ */ (0, B.jsx)(Kg, { data: { ...Gg.dataset } }));//#endregion-//# debugId=26dc8d72-dff9-47a1-92f8-5b85ecdfe338\ No newline at end of file+//# debugId=39f747ac-f39b-4523-a31c-93f5a2536310\ No newline at end of file