Peach: Local-first video metadata scraper and media manager.
feat(tasks): 问题详情与数据管理问题清单共用一种分层
longmeidao979696064496
diff --git a/frontend/e2e/design-activity.test.ts b/frontend/e2e/design-activity.test.tsindex 3c2a294ca..c8e8e607d 100644--- a/frontend/e2e/design-activity.test.ts+++ b/frontend/e2e/design-activity.test.ts@@ -161,8 +161,17 @@ describe('任务页云下载布局', () => {assert.equal(await errors.evaluate((node) => getComputedStyle(node.parentElement!).backgroundColor), background);assert.match(await card.locator('[data-task-issues]').innerText(), /示例作者.*示例站点.*检查失败/s);assert.match(await card.locator('[data-task-issues]').innerText(), /HTTP 403:站点拒绝访问/);- assert.equal(await card.getByText('示例作者 1 · 示例站点 · 检查失败', { exact: true })- .evaluate((node) => getComputedStyle(node).fontWeight), '400');+ // 分层:名字是中等字重,来源与类别次级色,原因比名字小一档且用次级色。+ const layers = await card.locator('[data-task-issues] > li').first().evaluate((item) => {+ const name = item.firstElementChild!, meta = name.querySelector('span')!, reason = item.querySelector('[data-error-excerpt]')!;+ const style = (node: Element) => getComputedStyle(node);+ return { name: style(name).fontWeight, metaColor: style(meta).color, nameColor: style(name).color,+ reasonColor: style(reason).color, smaller: parseFloat(style(reason).fontSize) < parseFloat(style(name).fontSize) };+ });+ assert.equal(layers.name, '500');+ assert.equal(layers.smaller, true);+ assert.notEqual(layers.metaColor, layers.nameColor);+ assert.equal(layers.reasonColor, layers.metaColor);const link = card.getByRole('link', { name: '查看关注来源', exact: true });assert.equal(await link.getAttribute('href'), '/subscriptions');await link.click();diff --git a/frontend/src/react/activity/activity-page.tsx b/frontend/src/react/activity/activity-page.tsxindex 545187aaa..a47704551 100644--- a/frontend/src/react/activity/activity-page.tsx+++ b/frontend/src/react/activity/activity-page.tsx@@ -25,6 +25,7 @@ import { errorMessage } from '../../api';import { cardClass } from '../components/card';import { CodeBlock } from '../components/code-block';import { EmptyState } from '../components/empty-state';+import { IssueRow } from '../components/issue-row';import { LoadingDots } from '../components/loading-dots';import { NameLink } from '../components/name-link';import { Note } from '../components/note';@@ -247,11 +248,16 @@ function SettledRun(<RunCard run={run} meta={meta} error={run.error} followups={followups} followupTotal={followupTotal}issues={issues.length ? <Disclosure summary={`问题详情 · ${issues.length} 项`} contentClassName="pb-2.5"><ErrorDetails label="任务问题详情">- <ul className="flex min-w-0 flex-col gap-3" data-task-issues="">- {issues.map((issue, index) => <li key={`${issue.source}-${index}`} className="flex min-w-0 flex-col gap-1 text-body-2-regular wrap-anywhere">- <p className="text-body-regular text-text-primary">{[issue.label, issue.provider, issue.kind].filter(Boolean).join(' · ')}</p>- <ErrorExcerpt text={issue.error} className="text-text-primary" />- </li>)}+ {/* 与数据管理的问题清单同一种分层:名字一层,来源与问题类别跟在名字后面用次级色,原因再低一档。 */}+ <ul className="flex min-w-0 flex-col whitespace-normal" data-task-issues="">+ {issues.map((issue, index) => <IssueRow key={`${issue.source}-${index}`} title={<>+ {issue.label}+ {issue.provider || issue.kind+ ? <span className="text-body-2-regular text-text-secondary"> · {[issue.provider, issue.kind].filter(Boolean).join(' · ')}</span>+ : null}+ </>}>+ <ErrorExcerpt text={issue.error} className="text-caption-1-regular text-text-secondary" />+ </IssueRow>)}</ul></ErrorDetails></Disclosure> : undefined}diff --git a/frontend/src/react/components/issue-row.tsx b/frontend/src/react/components/issue-row.tsxnew file mode 100644index 000000000..9db6826c0--- /dev/null+++ b/frontend/src/react/components/issue-row.tsx@@ -0,0 +1,13 @@+/* 问题清单里的一条:标题一层(13px 中等字重,能打开的就是作品链接),下面是原因与路径等说明。+ * 数据管理的问题清单与任务卡的问题详情共用这一种分层。条间线画在每条自己身上,不用 `divide-y`:+ * 那一族的选择器裹在 `:where()` 里没有特异性,压不过岛内 `@scope` 末尾那条把所有元素边框清零的+ * preflight,线会静默消失。线用 `currentColor` 混色,放进黄色提示或灰色明细框里都跟着所在的字色走。 */+import type { ReactNode } from 'react';+import { NameLink } from './name-link';++export function IssueRow({ title, href, children }: { title: ReactNode; href?: string; children?: ReactNode }) {+ return <li className="flex min-w-0 flex-col gap-1 border-b border-current/15 py-2 pr-6 wrap-anywhere first:pt-0 last:border-b-0 last:pb-0">+ {href ? <NameLink href={href}>{title}</NameLink> : <span className="text-body-2-medium">{title}</span>}+ {children}+ </li>;+}diff --git a/frontend/src/react/library-processing/library-processing-card.tsx b/frontend/src/react/library-processing/library-processing-card.tsxindex e574e4540..d793430db 100644--- a/frontend/src/react/library-processing/library-processing-card.tsx+++ b/frontend/src/react/library-processing/library-processing-card.tsx@@ -18,7 +18,7 @@ import { apiSend, errorMessage } from '../../api';import { SCAN_CARD_TEXT } from '../../management';import type { LibraryProcessingProps } from '../bundle';import { Fieldset, FieldsetTitle } from '../components/fieldset';-import { NameLink } from '../components/name-link';+import { IssueRow } from '../components/issue-row';import { Note } from '../components/note';import { StatusLabel } from '../components/status-label';import { useOverlayScrollbar } from '../components/overlay-scrollbar';@@ -137,19 +137,12 @@ function Outcome(<Disclosure summary={details.label} contentClassName="gap-0">{/* 轨道是滚动容器的兄弟,得有一层只裹着清单的定位祖先给它落脚。 */}<div className="relative -mr-3">- {/* 条间线画在每条自己身上,不用 `divide-y`:那一族的选择器裹在- `:where()` 里没有特异性,压不过岛内 `@scope` 末尾那条把所有元素- 边框清零的 preflight,线会静默消失。 */}<ul ref={list} className="max-h-96 overflow-y-auto">{details.items.map((item) => (- <li key={item.key}- className="flex flex-col gap-1 border-b border-current/15 py-2 pr-6 wrap-anywhere first:pt-0 last:border-b-0 last:pb-0">- {item.href- ? <NameLink href={item.href}>{item.label}</NameLink>- : <span className="text-body-2-medium">{item.label}</span>}+ <IssueRow key={item.key} title={item.label} href={item.href}><span className="text-caption-1-regular">{item.note}</span>{item.hint ? <code className="text-caption-1-regular break-all">{item.hint}</code> : null}- </li>+ </IssueRow>))}</ul></div>diff --git a/web/dist/peach-app.activity-page-jwNyYMn1.js b/web/dist/peach-app.activity-page-CDOzqSMm.jssimilarity index 66%rename from web/dist/peach-app.activity-page-jwNyYMn1.jsrename to web/dist/peach-app.activity-page-CDOzqSMm.jsindex 5fa59fcb5..dd60229c9 100644--- a/web/dist/peach-app.activity-page-jwNyYMn1.js+++ b/web/dist/peach-app.activity-page-CDOzqSMm.js@@ -1,35 +1,35 @@(function() {try {var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ee0e8cef-2e66-487d-bc9a-cc020ce6040f", e._sentryDebugIdIdentifier = "sentry-dbid-ee0e8cef-2e66-487d-bc9a-cc020ce6040f");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "dd11548a-d925-4452-bd09-085fe5ef845d", e._sentryDebugIdIdentifier = "sentry-dbid-dd11548a-d925-4452-bd09-085fe5ef845d");} catch {}})();-import { Button as e, Bx as t, Chip as n, Disclosure as r, DownloadsPanel as i, EmptyState as a, Gg as o, HN as s, LinkButton as c, Lo as l, LoadingDots as u, Ma as d, NameLink as f, Note as p, OV as m, Pf as h, Progress as g, RB as _, Rk as v, Su as y, TASKS_KEY as b, TRIGGER_LABELS as x, Xl as ee, __toESM as S, apiGet as C, apiSend as w, busyProps as T, cardClass as E, confirmModal as D, controlTask as O, cx as k, elapsedText as A, errorMessage as j, f1 as te, fetchEarlier as ne, fetchTasks as re, fmtSize as M, foldByKind as ie, foldRoutine as ae, followupDetail as N, followupTally as P, groupFollowups as oe, hasResultProblems as F, i2 as I, isActive as L, isRoutine as se, latestOfKind as ce, mergeFinished as R, momentText as z, notifyManager as B, oe as V, pollInterval as le, problemDestination as H, progressText as U, readableErrorHeadline as W, replaceEqualDeep as ue, require_jsx_runtime as de, require_react as fe, statusLabel as pe, summaryItems as me, taskIssues as he, taskSubject as ge, um as _e, uo as ve, useMutation as G, useQuery as ye, useQueryClient as K, vl as be } from "./peach-app.js";-import { CodeBlock as xe } from "./peach-app.code-block-CyDva4Ms.js";-import { Page as Se } from "./peach-app.page-QAncjzM1.js";-import { ErrorDetails as Ce, ErrorExcerpt as we } from "./peach-app.error-excerpt-B8v2xEIP.js";+import { Button as e, Bx as t, Chip as n, Disclosure as r, DownloadsPanel as i, EmptyState as a, Gg as o, HN as s, IssueRow as c, LinkButton as l, Lo as u, LoadingDots as d, Ma as f, NameLink as p, Note as m, OV as h, Pf as g, Progress as _, RB as v, Rk as y, Su as b, TASKS_KEY as x, TRIGGER_LABELS as S, Xl as C, __toESM as w, apiGet as T, apiSend as E, busyProps as D, cardClass as ee, confirmModal as O, controlTask as k, cx as A, elapsedText as j, errorMessage as M, f1 as te, fetchEarlier as ne, fetchTasks as re, fmtSize as N, foldByKind as ie, foldRoutine as ae, followupDetail as P, followupTally as F, groupFollowups as oe, hasResultProblems as I, i2 as L, isActive as R, isRoutine as se, latestOfKind as ce, mergeFinished as z, momentText as B, notifyManager as V, oe as H, pollInterval as le, problemDestination as U, progressText as W, readableErrorHeadline as ue, replaceEqualDeep as de, require_jsx_runtime as fe, require_react as pe, statusLabel as me, summaryItems as he, taskIssues as ge, taskSubject as _e, um as ve, uo as ye, useMutation as G, useQuery as be, useQueryClient as K, vl as xe } from "./peach-app.js";+import { CodeBlock as Se } from "./peach-app.code-block-CyDva4Ms.js";+import { Page as Ce } from "./peach-app.page-QAncjzM1.js";+import { ErrorDetails as we, ErrorExcerpt as Te } from "./peach-app.error-excerpt-B8v2xEIP.js";// node_modules/@tanstack/react-query/build/modern/useMutationState.js-var q = /* @__PURE__ */ S(fe(), 1);-function Te() {+var q = /* @__PURE__ */ w(pe(), 1);+function Ee() {let e;return (t, n) => {let r = [], i;return () => {let a = t.findAll(n.filters), o = a.flatMap((e) => [e, e.state]);- return (!i || o.length !== r.length || o.some((e, t) => !Object.is(e, r[t]))) && (r = o, i = ue(e, a.map((e) => n.select ? n.select(e) : e.state)), e = i), i;+ return (!i || o.length !== r.length || o.some((e, t) => !Object.is(e, r[t]))) && (r = o, i = de(e, a.map((e) => n.select ? n.select(e) : e.state)), e = i), i;};};}-function Ee(e = {}, t) {- let n = K(t).getMutationCache(), [r] = q.useState(() => Te()), i = r(n, e);- return q.useSyncExternalStore(q.useCallback((e) => n.subscribe(B.batchCalls(e)), [n]), i, i);+function De(e = {}, t) {+ let n = K(t).getMutationCache(), [r] = q.useState(() => Ee()), i = r(n, e);+ return q.useSyncExternalStore(q.useCallback((e) => n.subscribe(V.batchCalls(e)), [n]), i, i);}// src/react/activity/background-issues.tsx-var J = de(), De = ["background-issues"];-function Oe() {- let e = (0, q.useId)(), t = ye({- queryKey: De,- queryFn: ({ signal: e }) => C("/api/background-issues", e),+var J = fe(), Oe = ["background-issues"];+function ke() {+ let e = (0, q.useId)(), t = be({+ queryKey: Oe,+ queryFn: ({ signal: e }) => T("/api/background-issues", e),refetchInterval: 3e4}).data?.issues || [];return t.length ? /* @__PURE__ */ (0, J.jsxs)("section", {@@ -41,55 +41,55 @@ function Oe() {children: "需要处理"}), /* @__PURE__ */ (0, J.jsx)("ul", {className: "flex min-w-0 flex-col gap-3",- children: t.map((e) => /* @__PURE__ */ (0, J.jsx)("li", { children: /* @__PURE__ */ (0, J.jsx)(ke, { issue: e }) }, e.key))+ children: t.map((e) => /* @__PURE__ */ (0, J.jsx)("li", { children: /* @__PURE__ */ (0, J.jsx)(Ae, { issue: e }) }, e.key))})]}) : null;}-function ke({ issue: t }) {+function Ae({ issue: t }) {let n = K(), r = G({- mutationFn: () => w(t.retry, {}),+ mutationFn: () => E(t.retry, {}),onSuccess: () => {- n.invalidateQueries({ queryKey: De });+ n.invalidateQueries({ queryKey: Oe });}- }), i = t.since ? `自 ${z(t.since)} 起` : `发现于 ${z(t.noticed_at)}`;- return /* @__PURE__ */ (0, J.jsx)(p, {+ }), i = t.since ? `自 ${B(t.since)} 起` : `发现于 ${B(t.noticed_at)}`;+ return /* @__PURE__ */ (0, J.jsx)(m, {tone: "error",title: t.title,action: /* @__PURE__ */ (0, J.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, J.jsx)(c, {+ children: [/* @__PURE__ */ (0, J.jsx)(l, {href: t.href,size: "small",- trailingIcon: I,+ trailingIcon: L,children: t.link_label}), t.retry ? /* @__PURE__ */ (0, J.jsx)(e, {variant: "secondary",size: "small",disabled: !t.retry_available,- ...T(r.isPending),+ ...D(r.isPending),onClick: () => r.mutate(),children: "立即重试"}) : null]}),- children: r.error ? `${i}\n没有重试:${j(r.error)}` : i+ children: r.error ? `${i}\n没有重试:${M(r.error)}` : i});}// src/react/activity/task-controls.tsx-var Y = ["task-control"], Ae = {- pause: m,+var Y = ["task-control"], je = {+ pause: h,resume: o,cancel: s-}, je = {+}, Me = {pause: "暂停",resume: "继续",cancel: "取消"-}, Me = {+}, Ne = {pause: "暂停后续任务",resume: "继续后续任务",cancel: "取消后续任务"};-function Ne() {- let e = Ee({+function Pe() {+ let e = De({filters: { mutationKey: Y },select: (e) => ({id: e.mutationId,@@ -111,21 +111,21 @@ function Ne() {return n.length ? /* @__PURE__ */ (0, J.jsx)("div", {"data-task-control-feedback": "",className: "flex min-w-0 flex-col gap-2",- children: n.map(({ command: e, error: t }) => /* @__PURE__ */ (0, J.jsx)(p, {+ children: n.map(({ command: e, error: t }) => /* @__PURE__ */ (0, J.jsx)(m, {tone: "error",- title: `${e.label}:${(e.followups ? Me : je)[e.action]}未完成`,- children: j(t)+ title: `${e.label}:${(e.followups ? Ne : Me)[e.action]}未完成`,+ children: M(t)}, e.id))}) : null;}-function Pe({ run: t }) {+function Fe({ run: t }) {let n = K(), r = (0, q.useRef)({change: !1,cancel: !1,confirmation: !1}), i = () => {- n.invalidateQueries({ queryKey: b });- }, a = (e) => O(e.id, e.action), o = G({+ n.invalidateQueries({ queryKey: x });+ }, a = (e) => k(e.id, e.action), o = G({mutationKey: [...Y,t.id,@@ -145,7 +145,7 @@ function Pe({ run: t }) {onSettled: () => {r.current.cancel = !1, i();}- }), c = t.control?.actions || [], l = !L(t), u = s.isPending || s.isSuccess;+ }), c = t.control?.actions || [], l = !R(t), u = s.isPending || s.isSuccess;if (!c.length) return null;let d = (e) => {let n = {@@ -156,7 +156,7 @@ function Pe({ run: t }) {};if (e === "cancel") {if (r.current.cancel || r.current.confirmation || s.isSuccess) return;- r.current.confirmation = !0, D({+ r.current.confirmation = !0, O({title: l ? `取消「${t.task_label}」的全部后续任务` : `取消任务「${t.task_label}」`,body: l ? "将停止这轮已派出的全部后续任务,包括正在处理和排队的项目。已保存的资料和结果会保留。这批后续任务取消后不能继续,需要时重新发起。" : "将停止这轮剩余的处理及其后续任务。已保存的资料和结果会保留。这轮任务取消后不能继续,需要时重新发起。",confirmLabel: l ? "取消后续任务" : "取消任务",@@ -178,16 +178,16 @@ function Pe({ run: t }) {"aria-label": `${t.task_label}${l ? "后续任务" : "任务"}控制`,className: "flex items-center justify-end gap-2",children: c.map((t) => {- let n = (l ? Me : je)[t], r = t === "cancel" ? s.isPending : o.isPending && o.variables?.action === t, i = t === "cancel" ? u : o.isPending || u;+ let n = (l ? Ne : Me)[t], r = t === "cancel" ? s.isPending : o.isPending && o.variables?.action === t, i = t === "cancel" ? u : o.isPending || u;return /* @__PURE__ */ (0, J.jsx)(e, {type: "button",variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: Ae[t],+ leadingIcon: je[t],"aria-label": n,title: n,- ...T(r),+ ...D(r),"aria-disabled": i || void 0,onClick: () => d(t),"data-tooltip-copy-key": `tasks.control.action.${l ? "followups." : ""}${t}`@@ -197,7 +197,7 @@ function Pe({ run: t }) {});}// src/react/activity/task-icon.tsx-var Fe = new Map([+var Ie = new Map([[t, ["follow-check","follow-resolve",@@ -206,7 +206,7 @@ var Fe = new Map(["feed-scrape","feed-cover"]],- [v, [+ [y, ["library-processing","organize","batch",@@ -214,53 +214,53 @@ var Fe = new Map(["resource-apply","seed-import"]],- [be, [+ [xe, ["scrape-codes","jav-discovery-metadata","want-scrape","upgrade-library"]],- [d, [+ [f, ["scraping-cover","jav-covers","code-samples","timeline-thumbnails","entity-avatar"]],- [h, [+ [g, ["performer-profile","performer-alias","creator-identity","studio-mark"]],- [ee, ["media-repair", "mp4-header-repair"]],- [_e, ["link-check", "link-prune"]],- [V, ["download-postprocess"]],- [l, ["taste-refresh"]],- [_, [+ [C, ["media-repair", "mp4-header-repair"]],+ [ve, ["link-check", "link-prune"]],+ [H, ["download-postprocess"]],+ [u, ["taste-refresh"]],+ [v, ["upgrade-repairs","diagnostic-export","amane-bridge","face-models"]]].flatMap(([e, t]) => t.map((t) => [t, e])));-function Ie({ taskKey: e, className: t }) {- let n = Fe.get(e) ?? y;+function Le({ taskKey: e, className: t }) {+ let n = Ie.get(e) ?? b;return /* @__PURE__ */ (0, J.jsx)(n, {className: t,"aria-hidden": !0});}// src/react/activity/resource-chip.tsx-var Le = {+var Re = {blue: "bg-status-blue-text text-background-primary-default",purple: "bg-status-purple-text text-background-primary-default",cyan: "bg-status-cyan-text text-background-primary-default"};-function Re({ color: e, high: t, ...r }) {+function ze({ color: e, high: t, ...r }) {return t ? /* @__PURE__ */ (0, J.jsx)("span", {...r,- className: k("inline-flex items-center justify-center rounded-md px-1.5 py-1 whitespace-nowrap text-caption-1-medium", Le[e])+ className: A("inline-flex items-center justify-center rounded-md px-1.5 py-1 whitespace-nowrap text-caption-1-medium", Re[e])}) : /* @__PURE__ */ (0, J.jsx)(n, {variant: "caption",color: e,@@ -268,7 +268,7 @@ function Re({ color: e, high: t, ...r }) {});}// src/react/activity/task-resources.tsx-var ze = {+var Be = {cpu: {name: "CPU",color: "blue",@@ -285,13 +285,13 @@ var ze = {description: "网络速率显示该任务已观测的下载速度,达到 10 MiB/s 时加深显示。从网盘挂载读取时显示网盘读取,SMB 或无法准确归属的传输显示未取得。"}};-function Be(e) {+function Ve(e) {return e.state === "sampling" ? "采样中" : e.via === "cloud" ? "网盘读取" : "未取得";}-function Ve(e, t) {- return t === 0 ? "未使用" : e === "network" ? `${M(t)}/s` : `${t.toLocaleString(void 0, { maximumFractionDigits: 1 })}%`;+function He(e, t) {+ return t === 0 ? "未使用" : e === "network" ? `${N(t)}/s` : `${t.toLocaleString(void 0, { maximumFractionDigits: 1 })}%`;}-function He({ run: e, active: t = L(e) || !!e.control }) {+function Ue({ run: e, active: t = R(e) || !!e.control }) {if (!t || !e.resources) return null;let n = e.resources;return /* @__PURE__ */ (0, J.jsx)("div", {@@ -302,13 +302,13 @@ function He({ run: e, active: t = L(e) || !!e.control }) {"gpu","network"].map((e) => {- let t = n[e], r = ze[e], i = e === "network" ? n.network.bytes_per_second : n[e].percent, a = t.state === "ready" && i !== null, o = a && t.high, s = a ? Ve(e, i) : Be(t), c = [+ let t = n[e], r = Be[e], i = e === "network" ? n.network.bytes_per_second : n[e].percent, a = t.state === "ready" && i !== null, o = a && t.high, s = a ? He(e, i) : Ve(t), c = [t.reason,o ? "当前为高占用。" : "",r.description,n.detail].filter(Boolean).join("\n");- return /* @__PURE__ */ (0, J.jsxs)(Re, {+ return /* @__PURE__ */ (0, J.jsxs)(ze, {color: r.color,high: o,tabIndex: 0,@@ -330,14 +330,14 @@ function He({ run: e, active: t = L(e) || !!e.control }) {});}// src/react/activity/activity-page.tsx-var Ue = 50, We = /* @__PURE__ */ new Set(["upgrade-repairs"]), Ge = /* @__PURE__ */ new Set(["asset_id", "name"]), Ke = {+var We = 50, Ge = /* @__PURE__ */ new Set(["upgrade-repairs"]), Ke = /* @__PURE__ */ new Set(["asset_id", "name"]), qe = {succeeded: "lime",failed: "rose",cancelled: "rose",interrupted: "yellow",running: "blue",pending: "neutral"-}, qe = {+}, Je = {running: "进行中",pausing: "正在暂停",paused: "已暂停",@@ -345,24 +345,24 @@ var Ue = 50, We = /* @__PURE__ */ new Set(["upgrade-repairs"]), Ge = /* @__PURE_};function X({ run: e }) {let t = e.control?.state;- if (t && (t !== "running" || !L(e))) return /* @__PURE__ */ (0, J.jsx)(n, {+ if (t && (t !== "running" || !R(e))) return /* @__PURE__ */ (0, J.jsx)(n, {color: t === "running" ? "blue" : "neutral",children: /* @__PURE__ */ (0, J.jsx)("span", {"data-copy-key": `tasks.control.state.${t}`,- children: qe[t]+ children: Je[t]})});- let r = e.status === "failed" && e.task_key === "library-processing" && e.result_summary?.outcome === "partial", i = r || e.status === "succeeded" && F(e);+ let r = e.status === "failed" && e.task_key === "library-processing" && e.result_summary?.outcome === "partial", i = r || e.status === "succeeded" && I(e);return /* @__PURE__ */ (0, J.jsx)(n, {- color: i ? "yellow" : Ke[e.status] ?? "neutral",- children: r ? "部分项目需处理" : i ? "发现问题" : pe(e.status)+ color: i ? "yellow" : qe[e.status] ?? "neutral",+ children: r ? "部分项目需处理" : i ? "发现问题" : me(e.status)});}-function Je({ rows: e }) {+function Ye({ rows: e }) {return /* @__PURE__ */ (0, J.jsx)("ul", {className: "-mr-5 flex min-w-0 flex-col",children: e.map((e) => {- let t = N(e);+ let t = P(e);return /* @__PURE__ */ (0, J.jsxs)("li", {"data-status": e.status,"data-followup-key": e.followup_key,@@ -373,7 +373,7 @@ function Je({ rows: e }) {children: [/* @__PURE__ */ (0, J.jsxs)("div", {className: "flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1",children: [- /* @__PURE__ */ (0, J.jsx)(Ie, {+ /* @__PURE__ */ (0, J.jsx)(Le, {taskKey: e.task_key,className: "size-4 shrink-0 text-text-secondary"}),@@ -387,15 +387,15 @@ function Je({ rows: e }) {children: t}) : null]- }), /* @__PURE__ */ (0, J.jsx)(Pe, { run: e })]+ }), /* @__PURE__ */ (0, J.jsx)(Fe, { run: e })]}),- /* @__PURE__ */ (0, J.jsx)(He, { run: e }),+ /* @__PURE__ */ (0, J.jsx)(Ue, { run: e }),Object.keys(e.result_summary || {}).length ? /* @__PURE__ */ (0, J.jsx)("div", {className: "w-full min-w-0",children: /* @__PURE__ */ (0, J.jsx)(r, {summary: "技术详情",contentClassName: "pb-2.5",- children: /* @__PURE__ */ (0, J.jsx)(xe, {+ children: /* @__PURE__ */ (0, J.jsx)(Se, {code: JSON.stringify(e.result_summary, null, 2),language: "json",label: `${e.task_label}技术详情`@@ -408,13 +408,13 @@ function Je({ rows: e }) {});}function Z({ run: e, meta: t, children: n, error: i, issues: a, followups: o, followupTotal: s = 0, badge: c, resourceActive: l }) {- let u = (e) => e.status === "running" ? 3 : e.status === "pending" ? 2 : +(e.status === "failed" || e.status === "interrupted"), d = o ? [...o].sort((e, t) => u(t) - u(e) || t.id - e.id).slice(0, Ue) : [], p = d.length, m = Math.max(o?.length || 0, s), h = ge(e), g = String(i || "").trim(), _ = W(g);+ let u = (e) => e.status === "running" ? 3 : e.status === "pending" ? 2 : +(e.status === "failed" || e.status === "interrupted"), d = o ? [...o].sort((e, t) => u(t) - u(e) || t.id - e.id).slice(0, We) : [], f = d.length, m = Math.max(o?.length || 0, s), h = _e(e), g = String(i || "").trim(), _ = ue(g);return /* @__PURE__ */ (0, J.jsxs)("li", {id: `run-${e.id}`,"data-status": e.status,"data-task-key": e.task_key,"data-run-id": e.id,- className: E({+ className: ee({padding: "none",bordered: e.status === "failed" ? "error" : void 0,className: "flex flex-col"@@ -428,7 +428,7 @@ function Z({ run: e, meta: t, children: n, error: i, issues: a, followups: o, fochildren: [/* @__PURE__ */ (0, J.jsxs)("div", {className: "flex min-w-0 flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, J.jsx)(Ie, {+ /* @__PURE__ */ (0, J.jsx)(Le, {taskKey: e.task_key,className: "size-5 shrink-0 text-text-secondary"}),@@ -438,17 +438,17 @@ function Z({ run: e, meta: t, children: n, error: i, issues: a, followups: o, fo}),c ?? /* @__PURE__ */ (0, J.jsx)(X, { run: e })]- }), /* @__PURE__ */ (0, J.jsx)(Pe, { run: e })]+ }), /* @__PURE__ */ (0, J.jsx)(Fe, { run: e })]}),/* @__PURE__ */ (0, J.jsx)("p", {className: "text-caption-1-regular text-text-secondary",children: t}),- /* @__PURE__ */ (0, J.jsx)(He, {+ /* @__PURE__ */ (0, J.jsx)(Ue, {run: e,active: l}),- h ? /* @__PURE__ */ (0, J.jsx)(f, {+ h ? /* @__PURE__ */ (0, J.jsx)(p, {href: h.href,"data-task-subject": e.id,title: h.label,@@ -472,34 +472,34 @@ function Z({ run: e, meta: t, children: n, error: i, issues: a, followups: o, fochildren: /* @__PURE__ */ (0, J.jsx)(r, {summary: "错误详情",contentClassName: "pb-2.5",- children: /* @__PURE__ */ (0, J.jsx)(Ce, {+ children: /* @__PURE__ */ (0, J.jsx)(we, {label: `${e.task_label}错误详情`,children: g})})}) : null,- p ? /* @__PURE__ */ (0, J.jsx)("div", {+ f ? /* @__PURE__ */ (0, J.jsx)("div", {className: "border-t border-separator-border px-5 py-2.5",children: /* @__PURE__ */ (0, J.jsxs)(r, {summary: `任务明细 · ${m.toLocaleString()} 项`,contentClassName: "pb-2.5",- defaultOpen: d.some((e) => L(e)),- children: [p < m ? /* @__PURE__ */ (0, J.jsxs)("p", {+ defaultOpen: d.some((e) => R(e)),+ children: [f < m ? /* @__PURE__ */ (0, J.jsxs)("p", {className: "text-caption-1-regular text-text-secondary",children: ["列出其中 ",- p.toLocaleString(),+ f.toLocaleString()," 项,正在处理的排在前面"]- }) : null, /* @__PURE__ */ (0, J.jsx)(Je, { rows: d })]+ }) : null, /* @__PURE__ */ (0, J.jsx)(Ye, { rows: d })]})}) : null,- Object.keys(e.result_summary || {}).some((e) => !(h && Ge.has(e))) ? /* @__PURE__ */ (0, J.jsx)("div", {+ Object.keys(e.result_summary || {}).some((e) => !(h && Ke.has(e))) ? /* @__PURE__ */ (0, J.jsx)("div", {className: "border-t border-separator-border px-5 py-2.5",children: /* @__PURE__ */ (0, J.jsx)(r, {summary: "技术详情",contentClassName: "pb-2.5",- children: /* @__PURE__ */ (0, J.jsx)(xe, {+ children: /* @__PURE__ */ (0, J.jsx)(Se, {code: JSON.stringify(e.result_summary, null, 2),language: "json",label: `${e.task_label}技术详情`@@ -509,15 +509,15 @@ function Z({ run: e, meta: t, children: n, error: i, issues: a, followups: o, fo]});}-function Ye({ run: e, followups: t }) {- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.control?.state, a = i && i !== "running", o = a ? qe[i] : e.progress_label || "正在进行", s = A(e.elapsed_seconds), c = [x[e.trigger] || e.trigger, s && `已跑 ${s}`].filter(Boolean).join(" · ");+function Xe({ run: e, followups: t }) {+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.control?.state, a = i && i !== "running", o = a ? Je[i] : e.progress_label || "正在进行", s = j(e.elapsed_seconds), c = [S[e.trigger] || e.trigger, s && `已跑 ${s}`].filter(Boolean).join(" · ");return /* @__PURE__ */ (0, J.jsx)(Z, {run: e,meta: c,followups: t,children: n > 0 ? /* @__PURE__ */ (0, J.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, J.jsx)(g, {+ children: [/* @__PURE__ */ (0, J.jsx)(_, {label: o,value: Math.min(r, n),max: n@@ -526,7 +526,7 @@ function Ye({ run: e, followups: t }) {children: [o," · ",- U(r, n),+ W(r, n)," 项"]})]@@ -534,98 +534,94 @@ function Ye({ run: e, followups: t }) {"data-copy-key": `tasks.control.state.${i}`,className: "text-caption-1-regular text-text-secondary",children: o- }) : /* @__PURE__ */ (0, J.jsx)(u, { label: o })+ }) : /* @__PURE__ */ (0, J.jsx)(d, { label: o })});}-function Xe({ run: e, followups: t, runs: i, latest: a, followupTotal: o, followupFailed: s = 0, followupCancelled: l = 0 }) {- let u = !!(i && i.length > 1 && o), d = u ? [`共处理 ${o.toLocaleString()} 项`, s ? `其中 ${s.toLocaleString()} 项失败` : ""].filter(Boolean) : me(ge(e) ? {+function Ze({ run: e, followups: t, runs: i, latest: a, followupTotal: o, followupFailed: s = 0, followupCancelled: u = 0 }) {+ let d = !!(i && i.length > 1 && o), f = d ? [`共处理 ${o.toLocaleString()} 项`, s ? `其中 ${s.toLocaleString()} 项失败` : ""].filter(Boolean) : he(_e(e) ? {...e.result_summary,name: ""- } : e.result_summary).filter((t) => t !== e.error && t !== W(e.error)), f = he(e), p = H(e, a), m = A(e.elapsed_seconds), h = i && i.length > 1 ? i[i.length - 1] : void 0, g = (h ? [- x[e.trigger] || e.trigger,+ } : e.result_summary).filter((t) => t !== e.error && t !== ue(e.error)), p = ge(e), m = U(e, a), h = j(e.elapsed_seconds), g = i && i.length > 1 ? i[i.length - 1] : void 0, _ = (g ? [+ S[e.trigger] || e.trigger,`近 ${i.length} 轮`,- `${z(h.finished_at)} – ${z(e.finished_at)}`+ `${B(g.finished_at)} – ${B(e.finished_at)}`] : [- x[e.trigger] || e.trigger,- z(e.finished_at),- m && `用时 ${m}`+ S[e.trigger] || e.trigger,+ B(e.finished_at),+ h && `用时 ${h}`]).filter(Boolean).join(" · ");return /* @__PURE__ */ (0, J.jsxs)(Z, {run: e,- meta: g,+ meta: _,error: e.error,followups: t,followupTotal: o,- issues: f.length ? /* @__PURE__ */ (0, J.jsx)(r, {- summary: `问题详情 · ${f.length} 项`,+ issues: p.length ? /* @__PURE__ */ (0, J.jsx)(r, {+ summary: `问题详情 · ${p.length} 项`,contentClassName: "pb-2.5",- children: /* @__PURE__ */ (0, J.jsx)(Ce, {+ children: /* @__PURE__ */ (0, J.jsx)(we, {label: "任务问题详情",children: /* @__PURE__ */ (0, J.jsx)("ul", {- className: "flex min-w-0 flex-col gap-3",+ className: "flex min-w-0 flex-col whitespace-normal","data-task-issues": "",- children: f.map((e, t) => /* @__PURE__ */ (0, J.jsxs)("li", {- className: "flex min-w-0 flex-col gap-1 text-body-2-regular wrap-anywhere",- children: [/* @__PURE__ */ (0, J.jsx)("p", {- className: "text-body-regular text-text-primary",- children: [- e.label,- e.provider,- e.kind- ].filter(Boolean).join(" · ")- }), /* @__PURE__ */ (0, J.jsx)(we, {+ children: p.map((e, t) => /* @__PURE__ */ (0, J.jsx)(c, {+ title: /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [e.label, e.provider || e.kind ? /* @__PURE__ */ (0, J.jsxs)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: [" · ", [e.provider, e.kind].filter(Boolean).join(" · ")]+ }) : null] }),+ children: /* @__PURE__ */ (0, J.jsx)(Te, {text: e.error,- className: "text-text-primary"- })]+ className: "text-caption-1-regular text-text-secondary"+ })}, `${e.source}-${t}`))})})}) : void 0,- badge: l && e.status === "succeeded" ? /* @__PURE__ */ (0, J.jsx)(n, {+ badge: u && e.status === "succeeded" ? /* @__PURE__ */ (0, J.jsx)(n, {color: "rose",children: /* @__PURE__ */ (0, J.jsx)("span", {- "data-copy-key": `tasks.followups.cancelled.${l === o ? "all" : "partial"}`,- children: l === o ? "后续任务已取消" : "部分后续任务已取消"+ "data-copy-key": `tasks.followups.cancelled.${u === o ? "all" : "partial"}`,+ children: u === o ? "后续任务已取消" : "部分后续任务已取消"})- }) : u && s ? /* @__PURE__ */ (0, J.jsx)(n, {+ }) : d && s ? /* @__PURE__ */ (0, J.jsx)(n, {color: "yellow",children: "发现问题"}) : void 0,children: [- l ? /* @__PURE__ */ (0, J.jsxs)("p", {+ u ? /* @__PURE__ */ (0, J.jsxs)("p", {className: "text-caption-1-regular text-text-secondary",children: ["后续任务已取消 ",- l.toLocaleString(),+ u.toLocaleString()," 项"]}) : null,- d.length === 1 ? /* @__PURE__ */ (0, J.jsx)("p", {+ f.length === 1 ? /* @__PURE__ */ (0, J.jsx)("p", {className: "text-caption-1-regular text-text-secondary wrap-anywhere",- children: d[0]- }) : d.length ? /* @__PURE__ */ (0, J.jsx)("ul", {+ children: f[0]+ }) : f.length ? /* @__PURE__ */ (0, J.jsx)("ul", {className: "flex list-disc flex-col gap-1 pl-5 text-caption-1-regular text-text-secondary wrap-anywhere",- children: d.map((e, t) => /* @__PURE__ */ (0, J.jsx)("li", { children: e }, t))+ children: f.map((e, t) => /* @__PURE__ */ (0, J.jsx)("li", { children: e }, t))}) : null,- !f.length && F(e) && ["follow-check", "feed-check"].includes(e.task_key) ? /* @__PURE__ */ (0, J.jsx)("p", {+ !p.length && I(e) && ["follow-check", "feed-check"].includes(e.task_key) ? /* @__PURE__ */ (0, J.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "未取得本轮逐项详情,可到来源列表查看检查结果。"}) : null,- p ? /* @__PURE__ */ (0, J.jsx)(c, {- href: p.href,+ m ? /* @__PURE__ */ (0, J.jsx)(l, {+ href: m.href,size: "small",- trailingIcon: I,+ trailingIcon: L,className: "self-start",- children: p.label+ children: m.label}) : null]});}-function Ze({ runs: e, followups: t, counts: r }) {- let i = e[0], a = e[e.length - 1], o = P(r, e), s = Math.max(o.total, t.length), c = o.total ? o.settled : t.filter((e) => !L(e)).length, l = o.total ? o.failed : t.filter((e) => e.status === "failed" || e.status === "interrupted").length, u = [- x[i.trigger] || i.trigger,+function Qe({ runs: e, followups: t, counts: r }) {+ let i = e[0], a = e[e.length - 1], o = F(r, e), s = Math.max(o.total, t.length), c = o.total ? o.settled : t.filter((e) => !R(e)).length, l = o.total ? o.failed : t.filter((e) => e.status === "failed" || e.status === "interrupted").length, u = [+ S[i.trigger] || i.trigger,e.length > 1 ? `${e.length} 批` : "",- `${z(a.started_at || a.finished_at)} 开始`+ `${B(a.started_at || a.finished_at)} 开始`].filter(Boolean).join(" · ");return /* @__PURE__ */ (0, J.jsx)(Z, {run: i,@@ -639,7 +635,7 @@ function Ze({ runs: e, followups: t, counts: r }) {}),children: /* @__PURE__ */ (0, J.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, J.jsx)(g, {+ children: [/* @__PURE__ */ (0, J.jsx)(_, {label: `${i.task_label}进度`,value: c,max: s@@ -647,7 +643,7 @@ function Ze({ runs: e, followups: t, counts: r }) {className: "text-caption-1-regular text-text-secondary",children: ["已处理 ",- U(c, s),+ W(c, s)," 项",l ? ` · 其中 ${l.toLocaleString()} 项失败` : ""]@@ -674,90 +670,90 @@ function $({ live: e = !1, children: t }) {children: t});}-function Qe() {- let t = ye({- queryKey: b,+function $e() {+ let t = be({+ queryKey: x,queryFn: ({ signal: e }) => re(e),refetchInterval: (e) => le(e.state.data)- }), n = t.data, r = n?.finished, [o, s] = (0, q.useState)([]), [c, l] = (0, q.useState)(!1), [u, d] = (0, q.useState)({}), [f, m] = (0, q.useState)(r);- r !== f && (m(r), o.length && f && s(R(o, f)));+ }), n = t.data, r = n?.finished, [o, s] = (0, q.useState)([]), [c, l] = (0, q.useState)(!1), [u, d] = (0, q.useState)({}), [f, p] = (0, q.useState)(r);+ r !== f && (p(r), o.length && f && s(z(o, f)));let h = G({mutationFn: ({ oldest: e }) => ne(e),onSuccess: (e, { shown: t }) => {- s((n) => R(n, t, e.finished || [])), l(!!e.finished_has_more), d((t) => ({+ s((n) => z(n, t, e.finished || [])), l(!!e.finished_has_more), d((t) => ({...t,...e.followup_counts}));}- }), g = t.error ? j(t.error) : "";- if (!n) return /* @__PURE__ */ (0, J.jsx)(Se, { children: /* @__PURE__ */ (0, J.jsx)(p, {+ }), g = t.error ? M(t.error) : "";+ if (!n) return /* @__PURE__ */ (0, J.jsx)(Ce, { children: /* @__PURE__ */ (0, J.jsx)(m, {tone: "error",children: g || "读取任务中心失败"}) });- let _ = R(n.finished || [], o), v = n.working_parents || [], y = [+ let _ = z(n.finished || [], o), v = n.working_parents || [], y = [...n.running || [],...n.skipped || [],..._,...v- ], x = oe(y), ee = new Set(y.map((e) => e.id)), S = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && ee.has(e.parent_run_id))), C = S(_), w = C[C.length - 1], E = !!w && (o.length ? c : !!n.finished_has_more), D = () => {- !h.isPending && w && h.mutate({- oldest: w,+ ], b = oe(y), S = new Set(y.map((e) => e.id)), C = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && S.has(e.parent_run_id))), w = C(_), T = w[w.length - 1], E = !!T && (o.length ? c : !!n.finished_has_more), ee = () => {+ !h.isPending && T && h.mutate({+ oldest: T,shown: _});}, O = {...u,...n.followup_counts- }, k = (e) => e.flatMap((e) => x.get(e.id) || []), A = [...C, ...S(v)].filter((e) => P(O, [e]).active > 0 || x.get(e.id)?.some(L)).sort((e, t) => t.id - e.id), M = S(n.running || []), N = S(n.skipped || []), I = C.filter((e) => !A.includes(e) && !N.some((t) => t.id === e.id)), z = (e) => (x.get(e.id) || []).every((e) => e.status === "succeeded" && !F(e)) && P(O, [e]).failed === 0, B = ae(I, (e) => se(e) && (z(e) || We.has(e.task_key))), V = [...ie(A.filter((e) => !e.control)), ...A.filter((e) => e.control).map((e) => ({+ }, k = (e) => e.flatMap((e) => b.get(e.id) || []), A = [...w, ...C(v)].filter((e) => F(O, [e]).active > 0 || b.get(e.id)?.some(R)).sort((e, t) => t.id - e.id), j = C(n.running || []), N = C(n.skipped || []), P = w.filter((e) => !A.includes(e) && !N.some((t) => t.id === e.id)), L = (e) => (b.get(e.id) || []).every((e) => e.status === "succeeded" && !I(e)) && F(O, [e]).failed === 0, B = ae(P, (e) => se(e) && (L(e) || Ge.has(e.task_key))), V = [...ie(A.filter((e) => !e.control)), ...A.filter((e) => e.control).map((e) => ({run: e,runs: [e]- }))].sort((e, t) => t.run.id - e.run.id), H = ce(y), U = !M.length && !A.length && !N.length && !I.length;- return /* @__PURE__ */ (0, J.jsxs)(Se, { children: [- g ? /* @__PURE__ */ (0, J.jsx)(p, {+ }))].sort((e, t) => t.run.id - e.run.id), H = ce(y), U = !j.length && !A.length && !N.length && !P.length;+ return /* @__PURE__ */ (0, J.jsxs)(Ce, { children: [+ g ? /* @__PURE__ */ (0, J.jsx)(m, {tone: "error",children: g}) : null,- /* @__PURE__ */ (0, J.jsx)(Ne, {}),- n.available === !1 ? /* @__PURE__ */ (0, J.jsx)(p, {+ /* @__PURE__ */ (0, J.jsx)(Pe, {}),+ n.available === !1 ? /* @__PURE__ */ (0, J.jsx)(m, {tone: "warning",children: n.message || "数据库尚未准备好任务记录表"}) : null,- /* @__PURE__ */ (0, J.jsx)(Oe, {}),+ /* @__PURE__ */ (0, J.jsx)(ke, {}),U ? /* @__PURE__ */ (0, J.jsx)(a, {- icon: ve,+ icon: ye,title: "还没有任务记录",children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"}) : /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)(Q, {title: "正在进行",- children: M.length || A.length ? /* @__PURE__ */ (0, J.jsxs)($, {+ children: j.length || A.length ? /* @__PURE__ */ (0, J.jsxs)($, {live: !0,- children: [M.map((e) => /* @__PURE__ */ (0, J.jsx)(Ye, {+ children: [j.map((e) => /* @__PURE__ */ (0, J.jsx)(Xe, {run: e,- followups: x.get(e.id)- }, e.id)), V.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, J.jsx)(Ze, {+ followups: b.get(e.id)+ }, e.id)), V.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, J.jsx)(Qe, {runs: t,followups: k(t),counts: O}, e.id))]- }) : /* @__PURE__ */ (0, J.jsx)(p, {+ }) : /* @__PURE__ */ (0, J.jsx)(m, {tone: "neutral",children: "没有任务在跑。"})}),N.length ? /* @__PURE__ */ (0, J.jsx)(Q, {title: "本次未执行",- children: /* @__PURE__ */ (0, J.jsx)($, { children: N.map((e) => /* @__PURE__ */ (0, J.jsx)(Xe, {+ children: /* @__PURE__ */ (0, J.jsx)($, { children: N.map((e) => /* @__PURE__ */ (0, J.jsx)(Ze, {run: e,latest: H.has(e.id),- followups: x.get(e.id)+ followups: b.get(e.id)}, e.id)) })}) : null,- I.length || E ? /* @__PURE__ */ (0, J.jsxs)(Q, {+ P.length || E ? /* @__PURE__ */ (0, J.jsxs)(Q, {title: "最近完成",children: [- I.length ? /* @__PURE__ */ (0, J.jsx)($, { children: B.map(({ run: e, runs: t }) => {- let n = P(O, t);- return /* @__PURE__ */ (0, J.jsx)(Xe, {+ P.length ? /* @__PURE__ */ (0, J.jsx)($, { children: B.map(({ run: e, runs: t }) => {+ let n = F(O, t);+ return /* @__PURE__ */ (0, J.jsx)(Ze, {run: e,runs: t,latest: H.has(e.id),@@ -767,17 +763,17 @@ function Qe() {followupCancelled: n.cancelled}, e.id);}) }) : null,- h.error ? /* @__PURE__ */ (0, J.jsx)(p, {+ h.error ? /* @__PURE__ */ (0, J.jsx)(m, {tone: "error",- children: j(h.error)+ children: M(h.error)}) : null,E ? /* @__PURE__ */ (0, J.jsx)(e, {variant: "secondary",size: "small",leadingIcon: te,className: "self-start",- ...T(h.isPending),- onClick: D,+ ...D(h.isPending),+ onClick: ee,children: "加载更早"}) : null]@@ -786,6 +782,6 @@ function Qe() {/* @__PURE__ */ (0, J.jsx)(i, {})] });}-export { Qe as ActivityPage };+export { $e as ActivityPage };-//# debugId=ee0e8cef-2e66-487d-bc9a-cc020ce6040f\ No newline at end of file+//# debugId=dd11548a-d925-4452-bd09-085fe5ef845d\ No newline at end of filediff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex efb3e6c29..8957c39a3 100644--- a/web/dist/peach-app.js+++ b/web/dist/peach-app.js@@ -2,7 +2,7 @@(function() {try {var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "95d2ae41-204e-437f-9596-f82778eeacc8", e._sentryDebugIdIdentifier = "sentry-dbid-95d2ae41-204e-437f-9596-f82778eeacc8");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "781fb135-574d-4bd1-a1ed-cf345417afa1", e._sentryDebugIdIdentifier = "sentry-dbid-781fb135-574d-4bd1-a1ed-cf345417afa1");} catch {}})();var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), s = (e, n) => {@@ -16117,7 +16117,7 @@ function tee(e, t) {return (n) => Qh(e, t, n);}function ag(e) {- return typeof e == "number" ? tee : typeof e == "string" ? ih(e) ? Zh : kh.test(e) ? rg : nee : Array.isArray(e) ? og : typeof e == "object" ? kh.test(e) ? rg : sg : Zh;+ return typeof e == "number" ? tee : typeof e == "string" ? ih(e) ? Zh : kh.test(e) ? rg : ree : Array.isArray(e) ? og : typeof e == "object" ? kh.test(e) ? rg : sg : Zh;}function og(e, t) {let n = [...e], r = n.length, i = e.map((e, n) => ag(e)(e, t[n]));@@ -16137,7 +16137,7 @@ function sg(e, t) {return n;};}-function cg(e, t) {+function nee(e, t) {let n = [], r = {color: 0,var: 0,@@ -16149,28 +16149,28 @@ function cg(e, t) {}return n;}-var nee = (e, t) => {+var ree = (e, t) => {let n = Vh(e), r = Vh(t);- return n.indexes.var.length === r.indexes.var.length && n.indexes.color.length === r.indexes.color.length && n.indexes.number.length >= r.indexes.number.length ? ig.has(e) && !r.values.length || ig.has(t) && !n.values.length ? eee(e, t) : Cm(og(cg(n, r), r.values), Uh(r)) : Zh(e, t);-}, lg = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;-function ree(e, t) {- let n = lg.exec(e);+ return n.indexes.var.length === r.indexes.var.length && n.indexes.color.length === r.indexes.color.length && n.indexes.number.length >= r.indexes.number.length ? ig.has(e) && !r.values.length || ig.has(t) && !n.values.length ? eee(e, t) : Cm(og(nee(n, r), r.values), Uh(r)) : Zh(e, t);+}, cg = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;+function iee(e, t) {+ let n = cg.exec(e);if (!n) return;- let r = lg.exec(t);+ let r = cg.exec(t);if (!r || n[2] !== r[2]) return;let i = n[2], a = parseFloat(n[1]), o = parseFloat(r[1]);return (e) => eh(Qh(a, o, e)) + i;}-function ug(e, t, n) {+function lg(e, t, n) {if (typeof e == "number" && typeof t == "number" && typeof n == "number") return Qh(e, t, n);if (typeof e == "string" && typeof t == "string") {- let n = ree(e, t);+ let n = iee(e, t);if (n) return n;}return ag(e)(e, t);}// node_modules/motion-dom/dist/es/frameloop/order.mjs-var dg = [+var ug = ["setup","read","resolveKeyframes",@@ -16181,7 +16181,7 @@ var dg = ["postRender"];// node_modules/motion-dom/dist/es/frameloop/render-step.mjs-function iee(e) {+function aee(e) {let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1, a, o = /* @__PURE__ */ new Set(), s = {delta: 0,timestamp: 0,@@ -16211,55 +16211,55 @@ function iee(e) {return l;}// node_modules/motion-dom/dist/es/frameloop/batcher.mjs-var aee = 40;-function fg(e, t, n = {+var oee = 40;+function dg(e, t, n = {delta: 0,timestamp: 0,isProcessing: !1}) {- let r = !1, i = !0, a = () => r = !0, o = dg.reduce((e, t) => (e[t] = iee(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {+ let r = !1, i = !0, a = () => r = !0, o = ug.reduce((e, t) => (e[t] = aee(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {let a = _m.useManualTiming, o = a ? n.timestamp : performance.now();- r = !1, a || (n.delta = i ? 1e3 / 60 : Math.max(Math.min(o - n.timestamp, aee), 1)), n.timestamp = o, n.isProcessing = !0, s.process(n), c.process(n), l.process(n), u.process(n), d.process(n), f.process(n), p.process(n), m.process(n), n.isProcessing = !1, r && t && (i = !1, e(h));+ r = !1, a || (n.delta = i ? 1e3 / 60 : Math.max(Math.min(o - n.timestamp, oee), 1)), n.timestamp = o, n.isProcessing = !0, s.process(n), c.process(n), l.process(n), u.process(n), d.process(n), f.process(n), p.process(n), m.process(n), n.isProcessing = !1, r && t && (i = !1, e(h));}, g = () => {r = !0, i = !0, n.isProcessing || e(h);};return {- schedule: dg.reduce((e, t) => {+ schedule: ug.reduce((e, t) => {let n = o[t];return e[t] = (e, t = !1, i = !1) => (r || g(), n.schedule(e, t, i)), e;}, {}),cancel: (e) => {- for (let t = 0; t < dg.length; t++) o[dg[t]].cancel(e);+ for (let t = 0; t < ug.length; t++) o[ug[t]].cancel(e);},state: n,steps: o};}// node_modules/motion-dom/dist/es/frameloop/frame.mjs-var { schedule: pg, cancel: mg, steps: hg } = /* @__PURE__ */ fg(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Sm, !0, Xm), gg = (e) => {+var { schedule: fg, cancel: pg, steps: mg } = /* @__PURE__ */ dg(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Sm, !0, Xm), hg = (e) => {let t = ({ timestamp: t }) => e(t);return {- start: (e = !0) => pg.update(t, e),- stop: () => mg(t),+ start: (e = !0) => fg.update(t, e),+ stop: () => pg(t),now: () => Xm.isProcessing ? Xm.timestamp : $m.now()};-}, _g = (e, t, n = 10) => {+}, gg = (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)})`;-}, vg = 2e4;-function yg(e, t = 50, n = vg, r) {+}, _g = 2e4;+function vg(e, t = 50, n = _g, r) {let i = 0, a = e.next(i);for (r?.push(a.value); !a.done && i < n;) i += t, a = e.next(i), r?.push(a.value);return i >= n ? Infinity : i;}// node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs-function bg(e, t = 100, n) {+function yg(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(yg(o), vg);+ }), s = Math.min(vg(o), _g);return {type: "keyframes",ease: (e) => o.next(s * e).value / t,@@ -16267,61 +16267,61 @@ function bg(e, t = 100, n) {};}// node_modules/motion-dom/dist/es/animation/generators/spring.mjs-var xg = 100, Sg = 10, oee = 1, see = 800, Cg = .3, cee = .3, lee = .01, uee = 2, dee = .005, fee = .5, pee = .01, mee = 10, wg = .05, Tg = (e) => e < 0 ? 1 / Math.max(1 + e, wg) : Math.max(1 - e, wg);-function Eg(e, t) {+var bg = 100, xg = 10, see = 1, cee = 800, Sg = .3, lee = .3, uee = .01, dee = 2, fee = .005, pee = .5, mee = .01, hee = 10, Cg = .05, wg = (e) => e < 0 ? 1 / Math.max(1 + e, Cg) : Math.max(1 - e, Cg);+function Tg(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 Og((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;+ return Dg((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;}-function Dg(e, t) {+function Eg(e, t) {return e * Math.sqrt(1 - t * t);}-var hee = 12;-function Og(e, t, n) {+var gee = 12;+function Dg(e, t, n) {let r = n;- for (let n = 1; n < hee; n++) r -= e(r) / t(r);+ for (let n = 1; n < gee; n++) r -= e(r) / t(r);return r;}-var kg = .001;-function gee({ duration: e = see, bounce: t = Cg }) {- let n, r, i = Tg(t);- e = gm(pee, mee, /* @__PURE__ */ Dm(e)), i < 1 ? (n = (t) => {- let n = t * i, r = n * e, a = Dg(t, i), o = Math.exp(-r);- return kg - n / a * o;+var Og = .001;+function _ee({ duration: e = cee, bounce: t = Sg }) {+ let n, r, i = wg(t);+ e = gm(mee, hee, /* @__PURE__ */ Dm(e)), i < 1 ? (n = (t) => {+ let n = t * i, r = n * e, a = Eg(t, i), o = Math.exp(-r);+ return Og - n / a * o;}, r = (t) => {- let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = Dg(t * t, i);- return (-n(t) + kg > 0 ? -1 : 1) * -a * o / s;+ let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = Eg(t * t, i);+ return (-n(t) + Og > 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 = Og(n, r, a), s = o * Eg(i, o * e), c = s * s;+ let a = 5 / e, o = Dg(n, r, a), s = o * Tg(i, o * e), c = s * s;return {stiffness: c,damping: i * 2 * Math.sqrt(c),duration: /* @__PURE__ */ Em(e)};}-var Ag = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;-function jg(e, t) {- if (Ag(e, t)) return e;+var kg = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;+function Ag(e, t) {+ if (kg(e, t)) return e;}-function _ee(e) {- let t = jg(e.stiffness), n = jg(e.damping, !0), r = jg(e.mass), i = {+function vee(e) {+ let t = Ag(e.stiffness), n = Ag(e.damping, !0), r = Ag(e.mass), i = {...e,- stiffness: t ?? xg,- damping: n ?? Sg,- mass: r ?? oee,+ stiffness: t ?? bg,+ damping: n ?? xg,+ mass: r ?? see,isResolvedFromDuration: !1,isTimeDefined: (t ?? n ?? r) === void 0 && (e.duration !== void 0 || e.bounce !== void 0)};if (i.isTimeDefined) {if (e.visualDuration) {- let t = Tg(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Eg(t, 2 * Math.PI / 1.2);+ let t = wg(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Tg(t, 2 * Math.PI / 1.2);i.stiffness = n * n, i.damping = 2 * t * Math.sqrt(i.stiffness);- } else Object.assign(i, gee(i)), i.isResolvedFromDuration = !0;- Ag(i.stiffness) && Ag(i.damping, !0) || (i.stiffness = xg, i.damping = Sg);+ } else Object.assign(i, _ee(i)), i.isResolvedFromDuration = !0;+ kg(i.stiffness) && kg(i.damping, !0) || (i.stiffness = bg, i.damping = xg);}return i;}-function Mg(e = cee, t = Cg) {+function jg(e = lee, t = Sg) {let n = typeof e == "object" ? e : {visualDuration: e,keyframes: [0, 1],@@ -16329,7 +16329,7 @@ function Mg(e = cee, t = Cg) {}, 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 } = _ee({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Dm(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Dm(Math.sqrt(o / c)), h = p * m, g = {+ }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = vee({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Dm(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Dm(Math.sqrt(o / c)), h = p * m, g = {target: i,delta: i - r,velocity: f(n.velocity || 0) || 0,@@ -16337,12 +16337,12 @@ function Mg(e = cee, t = Cg) {restDelta: 0}, _ = () => {let e = Math.abs(g.delta) < 5;- g.restSpeed = n.restSpeed || (e ? lee : uee), g.restDelta = n.restDelta || (e ? dee : fee);+ g.restSpeed = n.restSpeed || (e ? uee : dee), g.restDelta = n.restDelta || (e ? fee : pee);};_();let v, y, b;if (p < 1) {- let e = Dg(m, p), t = {+ let e = Eg(m, p), t = {A: 0,sinC: 0,cosC: 0,@@ -16391,19 +16391,19 @@ function Mg(e = cee, t = Cg) {return a.value = a.done ? g.target : t, a;},toString: () => {- let e = Math.min(yg(S), vg), t = _g((t) => S.next(e * t).value, e, 30);+ let e = Math.min(vg(S), _g), t = gg((t) => S.next(e * t).value, e, 30);return e + "ms " + t;},toTransition: () => {}};return S;}-var Ng = /* @__PURE__ */ Object.assign(Mg, { applyToOptions: (e) => {- let t = bg(e, 100, Mg);+var Mg = /* @__PURE__ */ Object.assign(jg, { applyToOptions: (e) => {+ let t = yg(e, 100, jg);return e.ease = t.ease, e.duration = /* @__PURE__ */ Em(t.duration), e.type = "keyframes", e;} });// node_modules/motion-dom/dist/es/animation/generators/inertia.mjs-function Pg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {+function Ng({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {let d = e[0], f = {done: !1,value: d@@ -16413,7 +16413,7 @@ function Pg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32let t = v(e);f.done = Math.abs(t) <= l, f.value = f.done ? _ : e ? _ + t : d;}, b, x, S = (e) => {- p(f.value) && (b = e, x = Ng({+ p(f.value) && (b = e, x = Mg({keyframes: [f.value, m(f.value)],velocity: -v(e) / r * 1e3,damping: i,@@ -16431,21 +16431,21 @@ function Pg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32};}// node_modules/motion-dom/dist/es/utils/interpolate.mjs-function vee(e, t, n) {- let r = [], i = _m.mix || ug, a = e.length - 1;+function yee(e, t, n) {+ let r = [], i = _m.mix || lg, a = e.length - 1;for (let o = 0; o < a; o++) {let a = n?.(e[o], e[o + 1]) || i(e[o], e[o + 1]);t && (a = Cm(Array.isArray(t) ? t[o] || Sm : t, a)), r.push(a);}return r;}-function Fg(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {+function Pg(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {let a = e.length;if (a === 1) return () => t[0];if (a === 2 && t[0] === t[1]) return () => t[1];let o = e[0] === e[1];e[0] > e[a - 1] && (e = [...e].reverse(), t = [...t].reverse());- let s = vee(t, r, i), c = s.length, l = (n) => {+ let s = yee(t, r, i), c = s.length, l = (n) => {if (o && n < e[0]) return t[0];let r = 0;if (c > 1) for (; r < e.length - 2 && !(n < e[r + 1]); r++);@@ -16455,7 +16455,7 @@ function Fg(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {return n ? (t) => l(gm(e[0], e[a - 1], t)) : l;}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs-function Ig(e, t) {+function Fg(e, t) {let n = e[e.length - 1];for (let r = 1; r <= t; r++) {let i = /* @__PURE__ */ wm(0, t, r);@@ -16463,32 +16463,32 @@ function Ig(e, t) {}}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs-function Lg(e) {+function Ig(e) {let t = [0];- return Ig(t, e.length - 1), t;+ return Fg(t, e.length - 1), t;}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs-function yee(e, t) {+function bee(e, t) {return e.map((e) => e * t);}// node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs-function bee(e, t) {+function xee(e, t) {return e.map(() => t || Um).splice(0, e.length - 1);}-function Rg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut", mixer: i }) {+function Lg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut", mixer: i }) {let a = typeof t[0] == "number" ? void 0 : i, o = /* @__PURE__ */ Wm(r) ? r.map(Ym) : Ym(r) || Um, s = {done: !1,value: t[0]};if (!a && t.length === 2 && !Array.isArray(o) && (!n || n.length !== 2 || n[0] === 0 && n[1] === 1)) {- let [n, r] = t, i = n === r ? void 0 : (_m.mix || ug)(n, r);+ let [n, r] = t, i = n === r ? void 0 : (_m.mix || lg)(n, r);return {calculatedDuration: e,next: (t) => (s.value = i ? i(o(e > 0 ? gm(0, 1, t / e) : 1)) : r, s.done = t >= e, s)};}- let c = Fg(yee(n && n.length === t.length ? n : Lg(t), e), t, {- ease: Array.isArray(o) ? o : bee(t, o),+ let c = Pg(bee(n && n.length === t.length ? n : Ig(t), e), t, {+ ease: Array.isArray(o) ? o : xee(t, o),mixer: a});return {@@ -16497,35 +16497,35 @@ function Rg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut",};}// node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs-var xee = 5;-function See(e, t, n) {- let r = Math.max(t - xee, 0);+var See = 5;+function Cee(e, t, n) {+ let r = Math.max(t - See, 0);return /* @__PURE__ */ Om(n - e(r), t - r);}-function zg(e, t, n = 0) {- return t <= 0 ? n : e.velocity ? e.velocity(t) : See((t) => e.next(t).value, t, e.next(t).value);+function Rg(e, t, n = 0) {+ return t <= 0 ? n : e.velocity ? e.velocity(t) : Cee((t) => e.next(t).value, t, e.next(t).value);}// node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs-var Cee = (e) => e !== null;-function Bg(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {- let a = e.filter(Cee), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;+var wee = (e) => e !== null;+function zg(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {+ let a = e.filter(wee), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;return !o || r === void 0 ? a[o] : r;}// node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs-var wee = {- decay: Pg,- inertia: Pg,- tween: Rg,- keyframes: Rg,- spring: Ng+var Tee = {+ decay: Ng,+ inertia: Ng,+ tween: Lg,+ keyframes: Lg,+ spring: Mg};-function Vg(e) {- typeof e.type == "string" && (e.type = wee[e.type]);+function Bg(e) {+ typeof e.type == "string" && (e.type = Tee[e.type]);}// node_modules/motion-dom/dist/es/animation/utils/resolve-start-time.mjs-var Tee = 40, Hg = (e, t) => t - e > Tee && !_m.useManualTiming ? t : e;+var Eee = 40, Vg = (e, t) => t - e > Eee && !_m.useManualTiming ? t : e;// node_modules/motion-dom/dist/es/animation/utils/notify-inspector.mjs-function Ug(e, t) {+function Hg(e, t) {return {kind: e,animation: t,@@ -16534,11 +16534,11 @@ function Ug(e, t) {frameIsProcessing: Xm.isProcessing};}-function Wg(e, t, n) {+function Ug(e, t, n) {let r = globalThis.__MOTION_INSPECT__;if (r) try {r({- ...Ug("animation-start", e),+ ...Hg("animation-start", e),options: n ? {...t,...n@@ -16546,17 +16546,17 @@ function Wg(e, t, n) {});} catch {}}-function Eee(e, t) {+function Dee(e, t) {let n = globalThis.__MOTION_INSPECT__;if (n) try {n({- ...Ug("layout-animation-start", e),+ ...Hg("layout-animation-start", e),node: t});} catch {}}// node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs-var Gg = class {+var Wg = class {constructor() {this.isResolved = !1;}@@ -16574,7 +16574,7 @@ var Gg = class {then(e, t) {return this.finished.then(e, t);}-}, Dee = (e) => e / 100, Kg = (e) => Math.round(e * 1e4) / 1e4, qg = class extends Gg {+}, Oee = (e) => e / 100, Gg = (e) => Math.round(e * 1e4) / 1e4, Kg = class extends Wg {constructor(e) {super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {done: !1,@@ -16582,13 +16582,13 @@ var Gg = class {}, this.stop = () => {let { motionValue: e } = this.options;e && e.updatedAt !== $m.now() && this.tick($m.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());- }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), Wg(this, this.options);+ }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), Ug(this, this.options);}initAnimation() {let { options: e } = this;- Vg(e);- let { type: t = Rg, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Rg;- this.mixKeyframes = void 0, s !== Rg && typeof o[0] != "number" && (this.mixKeyframes = Cm(Dee, e.mixer?.(o[0], o[1]) || ug(o[0], o[1])), o = [0, 100]);+ Bg(e);+ let { type: t = Lg, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Lg;+ this.mixKeyframes = void 0, s !== Lg && typeof o[0] != "number" && (this.mixKeyframes = Cm(Oee, e.mixer?.(o[0], o[1]) || lg(o[0], o[1])), o = [0, 100]);let c = s(o === e.keyframes ? e : {...e,keyframes: o@@ -16597,7 +16597,7 @@ var Gg = class {...e,keyframes: [...o].reverse(),velocity: -a- })), c.calculatedDuration === null && (c.calculatedDuration = yg(c));+ })), c.calculatedDuration === null && (c.calculatedDuration = vg(c));let { calculatedDuration: l } = c;this.calculatedDuration = l, this.resolvedDuration = l + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = c;}@@ -16608,20 +16608,20 @@ var Gg = class {let { generator: n, totalDuration: r, calculatedDuration: i } = this;if (this.startTime === null) return n.next(0);let { delay: a = 0, keyframes: o, type: s, onUpdate: c, finalKeyframe: l } = this.options;- this.startTime === this.pendingStartTime && (this.startTime = Hg(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);+ this.startTime === this.pendingStartTime && (this.startTime = Vg(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);let u = this.currentTime - a * (this.playbackSpeed >= 0 ? 1 : -1), d = this.playbackSpeed >= 0 ? u < 0 : u > r;this.currentTime = Math.max(u, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = r);let f = this.generate(this.currentTime, d), { done: p } = f;d || (p = this.playbackSpeed >= 0 ? i < Infinity ? this.currentTime >= r : p : this.currentTime <= 0);let m = this.holdTime === null && (this.state === "finished" || this.state === "running" && p);- return m && s !== Pg && (f.value = Bg(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;+ return m && s !== Ng && (f.value = zg(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;}at(e) {- return this.holdTime ?? Kg((e - this.startTime) * this.playbackSpeed);+ return this.holdTime ?? Gg((e - this.startTime) * this.playbackSpeed);}sampleAt(e, t) {let { options: n, totalDuration: r } = this, i = this.at(e) - (n.delay || 0);- return i >= r && n.type !== Pg ? Bg(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;+ return i >= r && n.type !== Ng ? zg(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;}generate(e, t) {let { generator: n, totalDuration: r, mixKeyframes: i, mirroredGenerator: a, resolvedDuration: o } = this, { keyframes: s, repeat: c, repeatType: l, repeatDelay: u } = this.options, d = e, f = n;@@ -16645,7 +16645,7 @@ var Gg = class {e = /* @__PURE__ */ Em(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));}getGeneratorVelocity() {- return zg(this.generator, this.currentTime, this.options.velocity);+ return Rg(this.generator, this.currentTime, this.options.velocity);}get speed() {return this.playbackSpeed;@@ -16656,7 +16656,7 @@ var Gg = class {}play() {if (this.isStopped) return;- let { driver: e = gg, startTime: t } = this.options;+ let { driver: e = hg, startTime: t } = this.options;this.driver ||= e((e) => this.tick(e)), this.options.onPlay?.();let n = this.driver.now();this.state === "finished" ? (this.updateFinished(), this.startTime = n) : this.holdTime === null ? this.startTime ||= t ?? (this.pendingStartTime = n) : this.startTime = n - this.holdTime / (this.playbackSpeed || 1), this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();@@ -16682,27 +16682,27 @@ var Gg = class {attachTimeline(e) {return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), e.observe(this);}-}, Oee = /* @__PURE__ */ new Set([+}, kee = /* @__PURE__ */ new Set(["brightness","contrast","saturate","opacity"]);-function kee(e) {+function Aee(e) {let [t, n] = e.slice(0, -1).split("(");if (t === "drop-shadow") return e;let [r] = n.match(uh) || [];if (!r) return e;- let i = n.replace(r, ""), a = +!!Oee.has(t);+ let i = n.replace(r, ""), a = +!!kee.has(t);return r !== n && (a *= 100), t + "(" + a + i + ")";}-var Aee = /\b([a-z-]*)\(.*?\)/gu, Jg = {+var jee = /\b([a-z-]*)\(.*?\)/gu, qg = {...Jh,getAnimatableNone: (e) => {- let t = e.match(Aee);- return t ? t.map(kee).join(" ") : e;+ let t = e.match(jee);+ return t ? t.map(Aee).join(" ") : e;}-}, Yg = {+}, Jg = {...Jh,getAnimatableNone: (e) => {let t = Jh.parse(e);@@ -16711,10 +16711,10 @@ var Aee = /\b([a-z-]*)\(.*?\)/gu, Jg = {alpha: 1} : e));}-}, Xg = {+}, Yg = {...sh,transform: Math.round-}, Zg = {+}, Xg = {rotate: Sh,pathRotation: Sh,rotateX: Sh,@@ -16740,7 +16740,7 @@ var Aee = /\b([a-z-]*)\(.*?\)/gu, Jg = {originX: Dh,originY: Dh,originZ: wh-}, Qg = {+}, Zg = {borderWidth: wh,borderTopWidth: wh,borderRightWidth: wh,@@ -16791,13 +16791,13 @@ var Aee = /\b([a-z-]*)\(.*?\)/gu, Jg = {fontSize: wh,backgroundPositionX: wh,backgroundPositionY: wh,- ...Zg,- zIndex: Xg,+ ...Xg,+ zIndex: Yg,fillOpacity: ch,strokeOpacity: ch,- numOctaves: Xg-}, jee = {- ...Qg,+ numOctaves: Yg+}, Mee = {+ ...Zg,color: kh,backgroundColor: kh,outlineColor: kh,@@ -16808,21 +16808,21 @@ var Aee = /\b([a-z-]*)\(.*?\)/gu, Jg = {borderRightColor: kh,borderBottomColor: kh,borderLeftColor: kh,- filter: Jg,- WebkitFilter: Jg,- mask: Yg,- WebkitMask: Yg-}, $g = (e) => jee[e], Mee = /*@__PURE__*/ new Set([Jg, Yg]);-function e_(e, t) {- let n = $g(e);- return Mee.has(n) || (n = Jh), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;+ filter: qg,+ WebkitFilter: qg,+ mask: Jg,+ WebkitMask: Jg+}, Qg = (e) => Mee[e], Nee = /*@__PURE__*/ new Set([qg, Jg]);+function $g(e, t) {+ let n = Qg(e);+ return Nee.has(n) || (n = Jh), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;}// node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs-function t_(e) {+function e_(e) {for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);}// node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs-var n_ = (e) => e * 180 / Math.PI, r_ = (e) => i_(n_(Math.atan2(e[1], e[0]))), Nee = {+var t_ = (e) => e * 180 / Math.PI, n_ = (e) => r_(t_(Math.atan2(e[1], e[0]))), Pee = {x: 4,y: 5,translateX: 4,@@ -16831,44 +16831,44 @@ var n_ = (e) => e * 180 / Math.PI, r_ = (e) => i_(n_(Math.atan2(e[1], e[0]))), NscaleY: 3,scaleZ: () => 1,scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,- rotate: r_,- rotateZ: r_,- skewX: (e) => n_(Math.atan(e[1])),- skewY: (e) => n_(Math.atan(e[2])),+ rotate: n_,+ rotateZ: n_,+ skewX: (e) => t_(Math.atan(e[1])),+ skewY: (e) => t_(Math.atan(e[2])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2-}, i_ = (e) => (e %= 360, e < 0 && (e += 360), e), a_ = r_, o_ = (e) => Math.hypot(e[0], e[1]), s_ = (e) => Math.hypot(e[4], e[5]), Pee = {+}, r_ = (e) => (e %= 360, e < 0 && (e += 360), e), i_ = n_, a_ = (e) => Math.hypot(e[0], e[1]), o_ = (e) => Math.hypot(e[4], e[5]), Fee = {x: 12,y: 13,z: 14,translateX: 12,translateY: 13,translateZ: 14,- scaleX: o_,- scaleY: s_,+ scaleX: a_,+ scaleY: o_,scaleZ: (e) => Math.hypot(e[8], e[9], e[10]),- scale: (e) => (o_(e) + s_(e)) / 2,- rotateX: (e) => i_(n_(Math.atan2(e[6], e[5]))),- rotateY: (e) => i_(n_(Math.atan2(-e[2], e[0]))),- rotateZ: a_,- rotate: a_,- skewX: (e) => n_(Math.atan(e[4])),- skewY: (e) => n_(Math.atan(e[1])),+ scale: (e) => (a_(e) + o_(e)) / 2,+ rotateX: (e) => r_(t_(Math.atan2(e[6], e[5]))),+ rotateY: (e) => r_(t_(Math.atan2(-e[2], e[0]))),+ rotateZ: i_,+ rotate: i_,+ skewX: (e) => t_(Math.atan(e[4])),+ skewY: (e) => t_(Math.atan(e[1])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2};-function c_(e) {+function s_(e) {return +!!e.includes("scale");}-function l_(e, t) {- if (!e || e === "none") return c_(t);+function c_(e, t) {+ if (!e || e === "none") return s_(t);let n = e.match(/^matrix(3d)?\(([-\d.e\s,]+)\)$/u);- if (!n) return c_(t);- let r = (n[1] ? Pee : Nee)[t], i = n[2].split(",").map((e) => parseFloat(e));+ if (!n) return s_(t);+ let r = (n[1] ? Fee : Pee)[t], i = n[2].split(",").map((e) => parseFloat(e));return typeof r == "function" ? r(i) : i[r];}-var u_ = (e, t) => {+var l_ = (e, t) => {let { transform: n = "none" } = getComputedStyle(e);- return l_(n, t);-}, d_ = [+ return c_(n, t);+}, u_ = ["transformPerspective","x","y",@@ -16887,14 +16887,14 @@ var u_ = (e, t) => {"skew","skewX","skewY"-], f_ = /* @__PURE__ */ new Set([...d_, "pathRotation"]), p_ = (e) => e === sh || e === wh, Fee = /* @__PURE__ */ new Set([+], d_ = /* @__PURE__ */ new Set([...u_, "pathRotation"]), f_ = (e) => e === sh || e === wh, Iee = /* @__PURE__ */ new Set(["x","y","z"-]), Iee = /* @__PURE__ */ d_.filter((e) => !Fee.has(e));-function Lee(e) {+]), Lee = /* @__PURE__ */ u_.filter((e) => !Iee.has(e));+function Ree(e) {let t = [];- return Iee.forEach((n) => {+ return Lee.forEach((n) => {let r = e.getValue(n);if (r !== void 0) {let e = r.get(), i = +!!n.startsWith("scale");@@ -16903,16 +16903,16 @@ function Lee(e) {}}), t;}-var Ree = /* @__PURE__ */ new Set(["bottom", "right"]);-function m_(e, t, n, r, i, a) {+var zee = /* @__PURE__ */ new Set(["bottom", "right"]);+function p_(e, t, n, r, i, a) {let o = parseFloat(e);if (!isNaN(o)) return o;let { min: s, max: c } = t()[n], l = c - s;return a === "border-box" ? l : l - parseFloat(r) - parseFloat(i);}-var h_ = ({ transform: e }) => l_(e, "x"), g_ = ({ transform: e }) => l_(e, "y"), __ = {- width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => m_(e, i, "x", t, n, r),- height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => m_(e, i, "y", t, n, r),+var m_ = ({ transform: e }) => c_(e, "x"), h_ = ({ transform: e }) => c_(e, "y"), g_ = {+ width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => p_(e, i, "x", t, n, r),+ height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => p_(e, i, "y", t, n, r),top: ({ top: e }) => parseFloat(e),left: ({ left: e }) => parseFloat(e),bottom: ({ top: e }, t) => {@@ -16923,20 +16923,20 @@ var h_ = ({ transform: e }) => l_(e, "x"), g_ = ({ transform: e }) => l_(e, "y")let { x: n } = t();return parseFloat(e) + (n.max - n.min);},- x: h_,- y: g_,- translateX: h_,- translateY: g_-}, v_ = /* @__PURE__ */ new Set(), y_ = !1, b_ = !1, x_ = !1;-function S_() {- if (b_) {+ x: m_,+ y: h_,+ translateX: m_,+ translateY: h_+}, __ = /* @__PURE__ */ new Set(), v_ = !1, y_ = !1, b_ = !1;+function x_() {+ if (y_) {let e = [], t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();- v_.forEach((r) => {- r.needsMeasurement && (e.push(r), t.add(r.element), Ree.has(r.name) && n.add(r.element));+ __.forEach((r) => {+ r.needsMeasurement && (e.push(r), t.add(r.element), zee.has(r.name) && n.add(r.element));});let r = /* @__PURE__ */ new Map();n.forEach((e) => {- let t = Lee(e);+ let t = Ree(e);t.length && (r.set(e, t), e.render());}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {e.render();@@ -16948,29 +16948,29 @@ function S_() {e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);});}- b_ = !1, y_ = !1, v_.forEach((e) => e.complete(x_)), v_.clear();+ y_ = !1, v_ = !1, __.forEach((e) => e.complete(b_)), __.clear();}-function C_() {- v_.forEach((e) => {- e.readKeyframes(), e.needsMeasurement && (b_ = !0);+function S_() {+ __.forEach((e) => {+ e.readKeyframes(), e.needsMeasurement && (y_ = !0);});}-function zee() {- x_ = !0, C_(), S_(), x_ = !1;+function Bee() {+ b_ = !0, S_(), x_(), b_ = !1;}-function Bee(e, t, n) {+function Vee(e, t, n) {if (typeof e == "string") {if (vm(e) || bm(e)) return parseFloat(e);- if (!Jh.test(e) && Jh.test(n)) return e_(t, n);+ if (!Jh.test(e) && Jh.test(n)) return $g(t, n);}return e ?? void 0;}-var w_ = class {+var C_ = class {constructor(e, t, n, r, i, a = !1) {this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = t, this.name = n, this.motionValue = r, this.element = i, this.isAsync = a;}scheduleResolve() {- this.state = "scheduled", this.isAsync ? (v_.add(this), y_ || (y_ = !0, pg.read(C_), pg.resolveKeyframes(S_))) : (this.readKeyframes(), this.complete());+ this.state = "scheduled", this.isAsync ? (__.add(this), v_ || (v_ = !0, fg.read(S_), fg.resolveKeyframes(x_))) : (this.readKeyframes(), this.complete());}readKeyframes() {let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;@@ -16978,71 +16978,71 @@ var w_ = class {let i = r?.get(), a = e[e.length - 1];if (i !== void 0) e[0] = i;else if (n && t) {- let r = Bee(n.readValue(t, a), t, a);+ let r = Vee(n.readValue(t, a), t, a);r !== void 0 && (e[0] = r);}e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);}- t_(e);+ e_(e);}setFinalKeyframe() {}measureInitialState() {}renderEndStyles() {}measureEndState() {}complete(e = !1) {- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), v_.delete(this);+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), __.delete(this);}cancel() {- this.state === "scheduled" && (v_.delete(this), this.state = "pending");+ this.state === "scheduled" && (__.delete(this), this.state = "pending");}resume() {this.state === "pending" && this.scheduleResolve();}-}, T_ = (e) => e.startsWith("--");+}, w_ = (e) => e.startsWith("--");// node_modules/motion-dom/dist/es/render/dom/style-set.mjs-function E_(e, t, n) {- T_(t) ? e.style.setProperty(t, n) : e.style[t] = n;+function T_(e, t, n) {+ w_(t) ? e.style.setProperty(t, n) : e.style[t] = n;}// node_modules/motion-dom/dist/es/utils/supports/flags.mjs-var Vee = {};+var Hee = {};// node_modules/motion-dom/dist/es/utils/supports/memo.mjs-function D_(e, t) {+function E_(e, t) {let n = /* @__PURE__ */ xm(e);- return () => Vee[t] ?? n();+ return () => Hee[t] ?? n();}// node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs-var Hee = /* @__PURE__ */ D_(() => window.ScrollTimeline !== void 0, "scrollTimeline"), O_ = /*@__PURE__*/ D_(() => {+var Uee = /* @__PURE__ */ E_(() => window.ScrollTimeline !== void 0, "scrollTimeline"), D_ = /*@__PURE__*/ E_(() => {try {document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });} catch {return !1;}return !0;-}, "linearEasing"), k_ = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, A_ = {+}, "linearEasing"), O_ = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, k_ = {linear: "linear",ease: "ease",easeIn: "ease-in",easeOut: "ease-out",easeInOut: "ease-in-out",- circIn: /*@__PURE__*/ k_([+ circIn: /*@__PURE__*/ O_([0,.65,.55,1]),- circOut: /*@__PURE__*/ k_([+ circOut: /*@__PURE__*/ O_([.55,0,1,.45]),- backIn: /*@__PURE__*/ k_([+ backIn: /*@__PURE__*/ O_([.31,.01,.66,-.59]),- backOut: /*@__PURE__*/ k_([+ backOut: /*@__PURE__*/ O_([.33,1.53,.69,@@ -17050,14 +17050,14 @@ var Hee = /* @__PURE__ */ D_(() => window.ScrollTimeline !== void 0, "scrollTime])};// node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs-function j_(e, t) {- if (e) return typeof e == "function" ? O_() ? _g(e, t) : "ease-out" : /* @__PURE__ */ Km(e) ? k_(e) : Array.isArray(e) ? e.map((e) => j_(e, t) || A_.easeOut) : A_[e];+function A_(e, t) {+ if (e) return typeof e == "function" ? D_() ? gg(e, t) : "ease-out" : /* @__PURE__ */ Km(e) ? O_(e) : Array.isArray(e) ? e.map((e) => A_(e, t) || k_.easeOut) : k_[e];}// node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs-function Uee(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {+function Wee(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 = j_(s, i);+ let d = A_(s, i);Array.isArray(d) && (u.easing = d);let f = {delay: r,@@ -17070,27 +17070,27 @@ function Uee(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTyreturn l && (f.pseudoElement = l), e.animate(u, f);}// node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs-function M_(e) {+function j_(e) {return typeof e == "function" && "applyToOptions" in e;}// node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs-function Wee({ type: e, ...t }) {- return M_(e) && O_() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);+function Gee({ type: e, ...t }) {+ return j_(e) && D_() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);}// node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs-var N_ = class extends Gg {+var M_ = class extends Wg {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;- let c = Wee(e);- this.animation = Uee(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {+ let c = Gee(e);+ this.animation = Wee(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {if (this.finishedTime = this.time, !i) {- let e = Bg(r, this.options, o, this.speed);- this.updateMotionValue?.(e), E_(t, n, e), this.animation.cancel();+ let e = zg(r, this.options, o, this.speed);+ this.updateMotionValue?.(e), T_(t, n, e), this.animation.cancel();}s?.(), this.notifyFinished();- }, Wg(this, e, c);+ }, Ug(this, e, c);}play() {this.isStopped || (this.manualStartTime = null, this.animation.play(), this.state === "finished" && this.updateFinished());@@ -17144,22 +17144,22 @@ var N_ = class extends Gg {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 && Hee() ? (this.animation.timeline = e, t?.(this.animation), Sm) : n(this);+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Uee() ? (this.animation.timeline = e, t?.(this.animation), Sm) : n(this);}-}, P_ = {+}, N_ = {anticipate: Lm,backInOut: Im,circInOut: Bm};-function Gee(e) {- return e in P_;-}function Kee(e) {- typeof e.ease == "string" && Gee(e.ease) && (e.ease = P_[e.ease]);+ return e in N_;+}+function qee(e) {+ typeof e.ease == "string" && Kee(e.ease) && (e.ease = N_[e.ease]);}-var qee = class extends N_ {+var Jee = class extends M_ {constructor(e) {- Kee(e), Vg(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;+ qee(e), Bg(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;}elapsed() {return this.state === "running" ? ($m.now() - this.startTime) * this.speed : this.time * 1e3;@@ -17167,7 +17167,7 @@ var qee = class extends N_ {sample(e) {if (!this.sampler) {let { motionValue: e, onUpdate: t, onComplete: n, onPlay: r, onStop: i, element: a, ...o } = this.options;- this.sampler = new qg({+ this.sampler = new Kg({...o,autoplay: !1}), this.sampler.stop();@@ -17186,39 +17186,39 @@ var qee = class extends N_ {return;}let { speed: i } = this, a = this.elapsed(), o = this.state === "running" && i ? gm(0, 10, a) : 0, s = this.sample(a);- n && r && E_(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));+ n && r && T_(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));}-}, F_ = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Jh.test(e) || e === "0") && !e.startsWith("url("));+}, P_ = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Jh.test(e) || e === "0") && !e.startsWith("url("));// node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs-function Jee(e) {+function Yee(e) {let t = e[0];if (e.length === 1) return !0;for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0;}-function Yee(e, t, n, r) {+function Xee(e, t, n, r) {let i = e[0];if (i === null) return !1;if (t === "display" || t === "visibility") return !0;- let a = e[e.length - 1], o = F_(i, t), s = F_(a, t);- return !o || !s ? !1 : Jee(e) || (n === "spring" || M_(n)) && r;+ let a = e[e.length - 1], o = P_(i, t), s = P_(a, t);+ return !o || !s ? !1 : Yee(e) || (n === "spring" || j_(n)) && r;}// node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs-function I_(e) {+function F_(e) {e.duration = 0, e.type = "keyframes";}// node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs-var L_ = /* @__PURE__ */ new Set([+var I_ = /* @__PURE__ */ new Set(["opacity","clipPath","filter","transform"-]), Xee = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;-function Zee(e) {- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Xee.test(e[t])) return !0;+]), Zee = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;+function Qee(e) {+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Zee.test(e[t])) return !0;return !1;}// node_modules/motion-dom/dist/es/animation/waapi/utils/needs-mixer.mjs-var R_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some((n, r) => r && e(t[r - 1], n)), z_ = /* @__PURE__ */ new Set([+var L_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some((n, r) => r && e(t[r - 1], n)), R_ = /* @__PURE__ */ new Set(["color","backgroundColor","outlineColor",@@ -17229,54 +17229,54 @@ var R_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some("borderRightColor","borderBottomColor","borderLeftColor"-]), B_ = () => !_m.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");-function V_(e) {+]), z_ = () => !_m.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");+function B_(e) {let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e;- if (!n || !(L_.has(n) || z_.has(n))) return !1;+ if (!n || !(I_.has(n) || R_.has(n))) return !1;let c = t?.owner?.current;if (!(c instanceof HTMLElement) && !(c instanceof SVGElement)) return !1;let { onUpdate: l, transformTemplate: u } = t.owner.getProps();- return B_() && (L_.has(n) || z_.has(n) && Zee(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia" && !R_(e);+ return z_() && (I_.has(n) || R_.has(n) && Qee(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia" && !L_(e);}// node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs-var H_ = (e, t) => t && typeof e == "number" ? t.transform(e) : e, U_ = {+var V_ = (e, t) => t && typeof e == "number" ? t.transform(e) : e, H_ = {x: "translateX",y: "translateY",z: "translateZ",transformPerspective: "perspective"-}, W_ = d_.length, G_ = {}, K_ = (e, t, n = H_(t, Zg[e])) => (G_[e] || (G_[e] = (U_[e] || e) + "(")) + n + ")", q_ = (e, t) => (typeof t == "number" ? t : parseFloat(t)) === +!!e.startsWith("scale");-function Qee(e, t, n) {+}, U_ = u_.length, W_ = {}, G_ = (e, t, n = V_(t, Xg[e])) => (W_[e] || (W_[e] = (H_[e] || e) + "(")) + n + ")", K_ = (e, t) => (typeof t == "number" ? t : parseFloat(t)) === +!!e.startsWith("scale");+function $ee(e, t, n) {let r = "";- for (let i = 0; i < W_; i++) {- let a = d_[i], o = e[a];+ for (let i = 0; i < U_; i++) {+ let a = u_[i], o = e[a];if (o === void 0) continue;- let s = n && (t[a] = H_(o, Qg[a]));- q_(a, o) || (r += K_(a, o, s || void 0) + " ");+ let s = n && (t[a] = V_(o, Zg[a]));+ K_(a, o) || (r += G_(a, o, s || void 0) + " ");}let i = e.pathRotation;- return i && (r += K_("rotate", i)), r = r.trim(), n ? n(t, r) : r || "none";+ return i && (r += G_("rotate", i)), r = r.trim(), n ? n(t, r) : r || "none";}// node_modules/motion-dom/dist/es/animation/waapi/transforms/groups.mjs-var J_ = /* @__PURE__ */ new WeakMap(), $ee = 200, Y_ = .001, ete = .1, tte = .001, nte = 100, rte = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), X_ = (e, t) => Math.abs(e - t) <= Y_, Z_ = (e, t) => e - t, Q_ = (e, t, n) => Lg(Array(n + 1)).map((n) => Qh(e, t, n)), $_ = (e) => e.motionValue.owner, ev = (e) => J_.get(e), tv = ({ state: e }) => e === "idle" || e === "finished", nv = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), ite = ({ name: e, motionValue: t }) => e && d_.includes(e) && t?.owner?.current instanceof HTMLElement && B_() && O_();-function ate(e) {- let t = $_(e), { onUpdate: n, transformTemplate: r } = t.getProps();- return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (nv(t, "transform") || "none") === "none" && !nv(t, "pathRotation") && !t.projection?.isProjecting() && !R_(e);+var q_ = /* @__PURE__ */ new WeakMap(), ete = 200, J_ = .001, tte = .1, nte = .001, rte = 100, ite = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), Y_ = (e, t) => Math.abs(e - t) <= J_, X_ = (e, t) => e - t, Z_ = (e, t, n) => Ig(Array(n + 1)).map((n) => Qh(e, t, n)), Q_ = (e) => e.motionValue.owner, $_ = (e) => q_.get(e), ev = ({ state: e }) => e === "idle" || e === "finished", tv = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), ate = ({ name: e, motionValue: t }) => e && u_.includes(e) && t?.owner?.current instanceof HTMLElement && z_() && D_();+function ote(e) {+ let t = Q_(e), { onUpdate: n, transformTemplate: r } = t.getProps();+ return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (tv(t, "transform") || "none") === "none" && !tv(t, "pathRotation") && !t.projection?.isProjecting() && !L_(e);}-var ote = class extends qg {+var ste = class extends Kg {constructor(e) {- let t = $_(e).current, { driver: n = gg } = e, r, i = ate(e);+ let t = Q_(e).current, { driver: n = hg } = e, r, i = ote(e);e.driver = (e) => {let i = n(e);return {js: i,now: i.now,start: (e = !0) => {- let n = ev(t);+ let n = $_(t);!n || n.isJS ? i.start(e) : n.schedule(!1, !e);},stop: () => {i.stop();- let e = ev(t);+ let e = $_(t);e && !e.isFinishing && e.release(r);}};@@ -17287,7 +17287,7 @@ var ote = class extends qg {};}get group() {- return ev($_(this.options).current);+ return $_(Q_(this.options).current);}get js() {return this.driver?.js;@@ -17307,8 +17307,8 @@ var ote = class extends qg {return this.isAccelerated() ? this.sampleAt($m.now()) : void 0;}tween() {- let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ Km(n) ? k_(n) : rte(n) && A_[n];- if (o && !i && !r && e.length === 2 && t === Rg && this.holdTime === null) {+ let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ Km(n) ? O_(n) : ite(n) && k_[n];+ if (o && !i && !r && e.length === 2 && t === Lg && this.holdTime === null) {let e = this.startTime + a / this.speed;return [e,@@ -17318,7 +17318,7 @@ var ote = class extends qg {}}boundaries(e, t) {- let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || Rg) === Rg ? u || Lg(d) : [0, 1], m = n + o / r, h = [];+ let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || Lg) === Lg ? u || Ig(d) : [0, 1], m = n + o / r, h = [];if (this.holdTime !== null || !(i > 0)) return h;for (let n = Math.max(0, Math.floor((e - m) * r / i)); n <= s; n++) {let a = m + n * i / r;@@ -17338,7 +17338,7 @@ var ote = class extends qg {this.options.motionValue.setWithVelocity(this.sampleAt(e - 10, !0), this.sampleAt(e, !0), 10);}play() {- this.isStopped || ((this.group || ste($_(this.options))).tracks.add(this), super.play());+ this.isStopped || ((this.group || cte(Q_(this.options))).tracks.add(this), super.play());}pause() {super.pause(), this.isAccelerated() && (this.sync(), this.group.schedule(!1));@@ -17358,13 +17358,13 @@ var ote = class extends qg {return this.canAccelerate = !1, this.group?.demote(!0), super.attachTimeline(e);}};-function ste(e) {+function cte(e) {let t = e.current, n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Map(), i = {}, a = [], o = /* @__PURE__ */ new Map(), s = [], c = !1, l = !1, u = !1, d = !1, f = -Infinity, p = (e) => {for (let t of n) if (t.name === e) return !0;}, m = (t, n) => {let o = {};- for (let s of t === void 0 ? d_ : a) {- let a = r.get(s), c = t === void 0 ? nv(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];+ for (let s of t === void 0 ? u_ : a) {+ let a = r.get(s), c = t === void 0 ? tv(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];c !== void 0 && (o[s] = c);}return o;@@ -17372,7 +17372,7 @@ function ste(e) {let n = "";for (let r in e) {let i = e[r];- t && q_(r, i) || (n += K_(r, i) + " ");+ t && K_(r, i) || (n += G_(r, i) + " ");}return (t ? n.trim() : n) || "none";}, g = (e, t) => h(m(e, t)), _ = (e = m()) => {@@ -17396,32 +17396,32 @@ function ste(e) {}return r(t, n) > i / 2 ? [t, n] : [];}, S = (e, t, n, r) => {- let i = Math.min($ee, Math.max(2, Math.ceil((n - t) / 10)));+ let i = Math.min(ete, Math.max(2, Math.ceil((n - t) / 10)));if (r.length * 4 > i) return;- let a = Q_(t, n, i).concat(r).sort(Z_), o = (e) => /* @__PURE__ */ wm(t, n, e), s, c;+ let a = Z_(t, n, i).concat(r).sort(X_), o = (e) => /* @__PURE__ */ wm(t, n, e), s, c;for (let n of e) {- let e = n.numberAt(t), r = a.map((t) => n.numberAt(t) - e), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * Y_ > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);+ let e = n.numberAt(t), r = a.map((t) => n.numberAt(t) - e), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * J_ > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);if (o && !s) s = l, c = (t) => (n.numberAt(t) - e) / o;- else if (l.some((e, t) => !X_(e, o && s[t]))) return;+ else if (l.some((e, t) => !Y_(e, o && s[t]))) return;}- if (!s || s.every((e, t) => X_(e, o(a[t])))) return "linear";- let l = [], u = (e, t = c(e)) => l.push(Kg(t) + " " + Kg(o(e) * 100) + "%");+ if (!s || s.every((e, t) => Y_(e, o(a[t])))) return "linear";+ let l = [], u = (e, t = c(e)) => l.push(Gg(t) + " " + Gg(o(e) * 100) + "%");return s.forEach((e, t) => {t && Math.abs(e - s[t - 1]) > .2 && x(c, a[t - 1], a[t]).forEach((e) => u(e)), u(a[t], e);}), "linear(" + l + ")";}, C = (e, t, n, r) => {- let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? tte : ete))), o = (t, n, r) => {+ let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? nte : tte))), o = (t, n, r) => {if (n - t < 1 || a(t, n)) i.push(n);else if (r < 4) o(t, (t + n) / 2, r + 1), o((t + n) / 2, n, r + 1);else {for (let r of e) i.push(...x((e) => r.numberAt(e), t, n));i.push(n);}- }, s = Q_(t, n, Math.ceil((n - t) / 100));+ }, s = Z_(t, n, Math.ceil((n - t) / 100));for (let e of r) s.push(e, Math.min(e + .01, n));let c = t;- for (let e of s.sort(Z_)) e > c && o(c, e, 0), c = e;- return i.sort(Z_);+ for (let e of s.sort(X_)) e > c && o(c, e, 0), c = e;+ return i.sort(X_);}, w = (e) => {let t;for (let n of e) {@@ -17460,10 +17460,10 @@ function ste(e) {d.push(e), c = Math.max(c, n);}}- i = {}, a = d_.filter((t) => {+ i = {}, a = u_.filter((t) => {if (r.has(t)) return !0;- let n = i[t] = nv(e, t);- return n !== void 0 && !q_(t, n);+ let n = i[t] = tv(e, t);+ return n !== void 0 && !K_(t, n);}), v(!1);let m = !l && w(d);try {@@ -17509,18 +17509,18 @@ function ste(e) {r && n.updatePlaybackRate && n.playState === "running" && Math.abs(Number(n.currentTime) - o) < 20 ? n.playbackRate !== r && n.updatePlaybackRate(r) : r ? (n.playbackRate = r, n.startTime = e - o / r) : (n.startTime = null, n.currentTime = o);}return !0;- }, O = () => !n.size && (u = !0, ev(t) === A && J_.delete(t), A.isJS || v(), !0), k = () => {+ }, O = () => !n.size && (u = !0, $_(t) === A && q_.delete(t), A.isJS || v(), !0), k = () => {let t = $m.now();if (A.isJS || (A.isFinishing = !0, n.forEach((n) => {let [r, a] = n.timing();- n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = nv(e, n.name), o.has(n) || (c = !0));- }), A.isFinishing = !1), l = !1, u || (n.forEach((e) => tv(e) && n.delete(e)), O())) return;+ n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = tv(e, n.name), o.has(n) || (c = !0));+ }), A.isFinishing = !1), l = !1, u || (n.forEach((e) => ev(e) && n.delete(e)), O())) return;for (let e of n) if (!e.canAccelerate) return A.demote(!0);A.isJS && (A.isJS = !1, c = !0, n.forEach((e) => e.js?.stop()));let r = c, a = d;if (c = d = !1, r || !D(t)) {if (a) {- if (t - f < nte) return A.demote();+ if (t - f < rte) return A.demote();f = t;}if (!E(t)) return A.demote();@@ -17530,14 +17530,14 @@ function ste(e) {isJS: !1,isFinishing: !1,schedule(e, t) {- u || (c ||= e, d ||= !!t, l || (l = !0, Xm.isProcessing ? pg.render(k, !1, !0) : queueMicrotask(k)));+ u || (c ||= e, d ||= !!t, l || (l = !0, Xm.isProcessing ? fg.render(k, !1, !0) : queueMicrotask(k)));},release(e) {- tv(e) && n.delete(e), O() || A.schedule(!0);+ ev(e) && n.delete(e), O() || A.schedule(!0);},check() {if (!A.isJS) {- for (let t in i) if (nv(e, t) !== i[t] && !p(t)) return A.schedule(!0, !0);+ for (let t in i) if (tv(e, t) !== i[t] && !p(t)) return A.schedule(!0, !0);}},demote(e) {@@ -17546,40 +17546,40 @@ function ste(e) {}), A.isJS = !0, o = /* @__PURE__ */ new Map(), v(), n.forEach((e) => e.state === "running" && e.js?.start()), !0;}};- return J_.set(t, A), A;+ return q_.set(t, A), A;}// node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs-var cte = class extends Gg {+var lte = class extends Wg {constructor(e) {super(), this.stop = () => {this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();}, this.createdAt = $m.now();let { keyframes: t, name: n, motionValue: r, element: i } = e, a = e;a.autoplay ??= !0, a.delay ??= 0, a.type ??= "keyframes", a.repeat ??= 0, a.repeatDelay ??= 0, a.repeatType ??= "loop";- let o = i?.KeyframeResolver || w_;+ let o = i?.KeyframeResolver || C_;this.keyframeResolver = new o(t, (e, t, n) => this.onKeyframesResolved(e, t, a, !n), n, r, i), this.keyframeResolver?.scheduleResolve();}onKeyframesResolved(e, t, n, r) {this.keyframeResolver = void 0;let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;this.resolvedAt = $m.now();- let u = Yee(e, i, a, o);- u || ((_m.instantAnimations || !s) && l?.(Bg(e, n, t)), e[0] = e[e.length - 1], I_(n), n.repeat = 0);+ let u = Xee(e, i, a, o);+ u || ((_m.instantAnimations || !s) && l?.(zg(e, n, t)), e[0] = e[e.length - 1], F_(n), n.repeat = 0);let { onComplete: d } = n;n.finalKeyframe = t, n.keyframes = e, n.onComplete = () => {d?.(), this.notifyFinished();};- let f = u && !c && V_(n), p = !f && ite(n);- r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= Hg(this.createdAt, this.resolvedAt));+ let f = u && !c && B_(n), p = !f && ate(n);+ r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= Vg(this.createdAt, this.resolvedAt));let m;if (f) {n.element = n.motionValue?.owner?.current;try {- m = new qee(n);+ m = new Jee(n);} catch {- m = new qg(n);+ m = new Kg(n);}- } else m = p ? new ote(n) : new qg(n);+ } else m = p ? new ste(n) : new Kg(n);this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;}get finished() {@@ -17592,7 +17592,7 @@ var cte = class extends Gg {return this._animation?.liveValue?.();}get animation() {- return this._animation || (this.keyframeResolver?.resume(), zee()), this._animation;+ return this._animation || (this.keyframeResolver?.resume(), Bee()), this._animation;}get duration() {return this.animation.duration;@@ -17633,7 +17633,7 @@ var cte = class extends Gg {cancel() {this._animation?.cancel(), this.keyframeResolver?.cancel();}-}, lte = class {+}, ute = class {constructor(e) {this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);}@@ -17673,10 +17673,10 @@ var cte = class extends Gg {return this.getAll("startTime");}get duration() {- return rv(this.animations, "duration");+ return nv(this.animations, "duration");}get iterationDuration() {- return rv(this.animations, "iterationDuration");+ return nv(this.animations, "iterationDuration");}runAll(e) {this.animations.forEach((t) => t[e]());@@ -17694,7 +17694,7 @@ var cte = class extends Gg {this.runAll("complete");}};-function rv(e, t) {+function nv(e, t) {let n = 0;for (let r = 0; r < e.length; r++) {let i = e[r][t];@@ -17703,22 +17703,22 @@ function rv(e, t) {return n;}// node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs-var iv = class extends lte {+var rv = class extends ute {then(e, t) {return this.finished.finally(e).then(() => {});}-}, av = /* @__PURE__ */ new WeakMap(), ute = (e, t = "") => `${e}:${t}`;-function dte(e) {- let t = av.get(e);- return t || (t = /* @__PURE__ */ new Map(), av.set(e, t)), t;+}, iv = /* @__PURE__ */ new WeakMap(), dte = (e, t = "") => `${e}:${t}`;+function fte(e) {+ let t = iv.get(e);+ return t || (t = /* @__PURE__ */ new Map(), iv.set(e, t)), t;}// node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs-function ov(e, t, n, r = 0, i = 1) {+function av(e, t, n, r = 0, i = 1) {let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;}// node_modules/motion-dom/dist/es/value/index.mjs-var sv = 30, fte = (e) => !isNaN(parseFloat(e)), cv = { current: void 0 }, lv = class {+var ov = 30, pte = (e) => !isNaN(parseFloat(e)), sv = { current: void 0 }, cv = class {constructor(e, t = {}) {this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {let t = $m.now();@@ -17726,7 +17726,7 @@ var sv = 30, fte = (e) => !isNaN(parseFloat(e)), cv = { current: void 0 }, lv =}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;}setCurrent(e) {- this.current = e, this.updatedAt = $m.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = fte(this.current));+ this.current = e, this.updatedAt = $m.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = pte(this.current));}setPrevFrameValue(e = this.current) {this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;@@ -17745,7 +17745,7 @@ var sv = 30, fte = (e) => !isNaN(parseFloat(e)), cv = { current: void 0 }, lv =};}stopIfUnobserved() {- pg.read(() => {+ fg.read(() => {!this.changeSubscriber && !this.events.change?.getSize() && this.stop();});}@@ -17776,7 +17776,7 @@ var sv = 30, fte = (e) => !isNaN(parseFloat(e)), cv = { current: void 0 }, lv =this.dependents?.delete(e);}get() {- cv.current?.push(this);+ sv.current?.push(this);let e = this.animation?.liveValue?.();return e === void 0 ? this.current : e;}@@ -17788,8 +17788,8 @@ var sv = 30, fte = (e) => !isNaN(parseFloat(e)), cv = { current: void 0 }, lv =}getVelocity() {let e = $m.now();- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > sv) return 0;- let t = Math.min(this.updatedAt - this.prevUpdatedAt, sv);+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > ov) return 0;+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, ov);return /* @__PURE__ */ Om(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);}start(e) {@@ -17811,11 +17811,11 @@ var sv = 30, fte = (e) => !isNaN(parseFloat(e)), cv = { current: void 0 }, lv =this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect?.();}};-function uv(e, t) {- return new lv(e, t);+function lv(e, t) {+ return new cv(e, t);}// node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs-function dv(e, t) {+function uv(e, t) {if (e?.inherit && t) {let { inherit: n, ...r } = e;return {@@ -17826,25 +17826,25 @@ function dv(e, t) {return e;}// node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs-function fv(e, t) {+function dv(e, t) {let n = e?.[t] ?? e?.default ?? e;- return n === e ? n : dv(n, e);+ return n === e ? n : uv(n, e);}// node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs-var pte = {+var mte = {type: "spring",stiffness: 500,damping: 25,restSpeed: 10-}, mte = (e) => ({+}, hte = (e) => ({type: "spring",stiffness: 550,damping: e === 0 ? 2 * Math.sqrt(550) : 30,restSpeed: 10-}), hte = {+}), gte = {type: "keyframes",duration: .8-}, gte = {+}, _te = {type: "keyframes",ease: [.25,@@ -17853,7 +17853,7 @@ var pte = {1],duration: .3-}, _te = (e, { keyframes: t }) => t.length > 2 ? hte : f_.has(e) ? e.startsWith("scale") ? mte(t[1]) : pte : gte, vte = /* @__PURE__ */ new Set([+}, vte = (e, { keyframes: t }) => t.length > 2 ? gte : d_.has(e) ? e.startsWith("scale") ? hte(t[1]) : mte : _te, yte = /* @__PURE__ */ new Set(["when","delay","delayChildren",@@ -17867,13 +17867,13 @@ var pte = {"out","mixer"]);-function yte(e) {- for (let t in e) if (!vte.has(t)) return !0;+function bte(e) {+ for (let t in e) if (!yte.has(t)) return !0;return !1;}// node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs-var pv = (e, t, n, r = {}, i, a) => (o) => {- let s = fv(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;+var fv = (e, t, n, r = {}, i, a) => (o) => {+ let s = dv(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;l -= /* @__PURE__ */ Em(c);let u = {keyframes: Array.isArray(n) ? n : [null, n],@@ -17892,195 +17892,195 @@ var pv = (e, t, n, r = {}, i, a) => (o) => {element: a ? void 0 : i,hasOnUpdate: !!s.onUpdate};- yte(s) || Object.assign(u, _te(e, u)), u.duration &&= /* @__PURE__ */ Em(u.duration), u.repeatDelay &&= /* @__PURE__ */ Em(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);+ bte(s) || Object.assign(u, vte(e, u)), u.duration &&= /* @__PURE__ */ Em(u.duration), u.repeatDelay &&= /* @__PURE__ */ Em(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);let d = !1;- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (I_(u), u.delay === 0 && (d = !0)), (_m.instantAnimations || _m.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, I_(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {- let e = Bg(u.keyframes, s);+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (F_(u), u.delay === 0 && (d = !0)), (_m.instantAnimations || _m.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, F_(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {+ let e = zg(u.keyframes, s);if (e !== void 0) {- pg.update(() => {+ fg.update(() => {u.onUpdate(e), u.onComplete();});return;}}- return s.isSync ? new qg(u) : new cte(u);-}, bte = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;-function xte(e) {- let t = bte.exec(e);+ return s.isSync ? new Kg(u) : new lte(u);+}, xte = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;+function Ste(e) {+ let t = xte.exec(e);if (!t) return [,];let [, n, r, i] = t;return [`--${n ?? r}`, i];}-function mv(e, t, n = 1) {- let [r, i] = xte(e);+function pv(e, t, n = 1) {+ let [r, i] = Ste(e);if (!r) return;let a = window.getComputedStyle(t).getPropertyValue(r);if (a) {let e = a.trim();return vm(e) ? parseFloat(e) : e;}- return ih(i) ? mv(i, t, n + 1) : i;+ return ih(i) ? pv(i, t, n + 1) : i;}// node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs-function Ste(e) {+function Cte(e) {let t = [{}, {}];return e?.values.forEach((e, n) => {t[0][n] = e.get(), t[1][n] = e.getVelocity();}), t;}-function hv(e, t, n, r) {- let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...Ste(r)) : t;+function mv(e, t, n, r) {+ let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...Cte(r)) : t;return t = i(t), typeof t == "string" && (t = e.variants && e.variants[t]), i(t);}// node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs-function gv(e, t, n) {- return hv(e.getProps(), t, n, e);+function hv(e, t, n) {+ return mv(e.getProps(), t, n, e);}-var _v = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, vv = /* @__PURE__ */ new Set([+var gv = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, _v = /* @__PURE__ */ new Set(["width","height","top","left","right","bottom",- ...d_-]), Cte = (e) => Array.isArray(e);+ ...u_+]), wte = (e) => Array.isArray(e);// node_modules/motion-dom/dist/es/render/utils/setters.mjs-function wte(e, t, n) {- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, uv(n));+function Tte(e, t, n) {+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, lv(n));}-function Tte(e) {- return Cte(e) ? e[e.length - 1] || 0 : e;+function Ete(e) {+ return wte(e) ? e[e.length - 1] || 0 : e;}-function Ete(e, t) {- let { transitionEnd: n = {}, transition: r = {}, ...i } = gv(e, t) || {};+function Dte(e, t) {+ let { transitionEnd: n = {}, transition: r = {}, ...i } = hv(e, t) || {};i = {...i,...n};- for (let t in i) wte(e, t, Tte(i[t]));+ for (let t in i) Tte(e, t, Ete(i[t]));}// node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs-var yv = (e) => !!(e && e.getVelocity);+var vv = (e) => !!(e && e.getVelocity);// node_modules/motion-dom/dist/es/value/will-change/is.mjs-function Dte(e) {- return !!(yv(e) && e.add);+function Ote(e) {+ return !!(vv(e) && e.add);}// node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs-function bv(e, t) {+function yv(e, t) {let n = e.getValue("willChange");- if (Dte(n)) return n.add(t);+ if (Ote(n)) return n.add(t);if (!n && _m.WillChange) {let n = new _m.WillChange("auto");e.addValue("willChange", n), n.add(t);}}// node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs-var xv = "data-framer-appear-id";+var bv = "data-framer-appear-id";// node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs-function Sv(e) {- return e.props[xv];+function xv(e) {+ return e.props[bv];}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs-var Ote = typeof window < "u";-function kte({ protectedKeys: e, needsAnimating: t }, n) {+var kte = typeof window < "u";+function Ate({ protectedKeys: e, needsAnimating: t }, n) {let r = n in e && !t[n];return t[n] = !1, r;}-function Cv(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {+function Sv(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();- a = a ? dv(a, c) : c;+ a = a ? uv(a, c) : c;let l = a?.reduceMotion, u = a?.skipAnimations;r && (a = r);let d = [], f = i && e.animationState?.getState()[i], p = a?.path;p && (p.animateValues ? p.animateValues((t) => e.getValue(t, e.latestValues[t] ?? 0), s, a, n, d) : p.animateVisualElement?.(e, s, a, n, d));for (let t in s) {let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];- if (i === void 0 || f && kte(f, t)) continue;+ if (i === void 0 || f && Ate(f, t)) continue;let o = {delay: n,- ...fv(f?.out[t] || a || {}, t)+ ...dv(f?.out[t] || a || {}, t)};u && (o.skipAnimations = !0);let c = r.get();if (c !== void 0 && !r.isAnimating() && !Array.isArray(i) && i === c && !o.velocity) {- pg.update(() => r.set(i));+ fg.update(() => r.set(i));continue;}let p = !1;- if (Ote && window.MotionHandoffAnimation) {- let n = Sv(e);+ if (kte && window.MotionHandoffAnimation) {+ let n = xv(e);if (n) {- let e = window.MotionHandoffAnimation(n, t, pg);+ let e = window.MotionHandoffAnimation(n, t, fg);e !== null && (o.startTime = e, p = !0);}}- bv(e, t);+ yv(e, t);let m = l ?? e.shouldReduceMotion;- r.start(pv(t, r, i, m && vv.has(t) ? { type: !1 } : o, e, p));+ r.start(fv(t, r, i, m && _v.has(t) ? { type: !1 } : o, e, p));let h = r.animation;h && d.push(h);}if (o) {- let t = () => pg.update(() => {- o && Ete(e, o);+ let t = () => fg.update(() => {+ o && Dte(e, o);});d.length ? Promise.all(d).then(t) : t();}return d;}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs-function wv(e, t, n = {}) {- let r = gv(e, t, _v(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? Cv(e, r, n) : []), o = (r = 0) => {+function Cv(e, t, n = {}) {+ let r = hv(e, t, gv(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? Sv(e, r, n) : []), o = (r = 0) => {let { variantChildren: a } = e, { delayChildren: o = 0, staggerChildren: s, staggerDirection: c } = i, l = [];return a?.forEach((e) => {- e.notify("AnimationStart", t), l.push(wv(e, t, {+ e.notify("AnimationStart", t), l.push(Cv(e, t, {...n,- delay: r + (typeof o == "function" ? 0 : o) + ov(a, e, o, s, c)+ delay: r + (typeof o == "function" ? 0 : o) + av(a, e, o, s, c)}).then(() => e.notify("AnimationComplete", t)));}), Promise.all(l);}, { when: s } = i;return s ? s === "beforeChildren" ? a().then(() => o()) : o().then(a) : Promise.all([a(), o(n.delay)]);}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs-function Ate(e, t, n = {}) {- return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => wv(e, t, n))) : typeof t == "string" ? wv(e, t, n) : Promise.all(Cv(e, gv(e, t, n.custom), n))).then(() => {+function jte(e, t, n = {}) {+ return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => Cv(e, t, n))) : typeof t == "string" ? Cv(e, t, n) : Promise.all(Sv(e, hv(e, t, n.custom), n))).then(() => {e.notify("AnimationComplete", t);});}// node_modules/motion-dom/dist/es/value/types/auto.mjs-var jte = {+var Mte = {test: (e) => e === "auto",parse: (e) => e-}, Mte = (e) => (t) => t.test(e), Nte = [+}, Nte = (e) => (t) => t.test(e), Pte = [sh,wh,Ch,Sh,Eh,Th,- jte-], Tv = (e) => Nte.find(Mte(e));+ Mte+], wv = (e) => Pte.find(Nte(e));// node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs-function Pte(e) {+function Fte(e) {return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || bm(e);}// node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs-var Fte = /* @__PURE__ */ new Set([+var Ite = /* @__PURE__ */ new Set(["auto","none","0"]);-function Ite(e, t, n) {+function Lte(e, t, n) {let r = 0, i;for (; r < e.length && !i;) {let t = e[r];- typeof t == "string" && !Fte.has(t) && Bh(t) && (i = e[r]), r++;+ typeof t == "string" && !Ite.has(t) && Bh(t) && (i = e[r]), r++;}- if (i && n) for (let r of t) e[r] !== i && (e[r] = e_(n, i));+ if (i && n) for (let r of t) e[r] !== i && (e[r] = $g(n, i));}// node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs-var Ev = class extends w_ {+var Tv = class extends C_ {constructor() {super(...arguments), this.isAsync = !0;}@@ -18101,31 +18101,31 @@ var Ev = class extends w_ {for (let n = 0; n < e.length; n++) {let r = e[n];if (typeof r == "string" && (r = r.trim(), ih(r))) {- let i = mv(r, t.current);+ let i = pv(r, t.current);i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);}}- if (this.resolveNoneKeyframes(), !vv.has(n) || e.length !== 2) return;+ if (this.resolveNoneKeyframes(), !_v.has(n) || e.length !== 2) return;let [r, i] = e;if (typeof r == "number" && typeof i == "number") return;- let a = Tv(r), o = Tv(i);- if (oh(r) !== oh(i) && __[n]) this.needsMeasurement = !0;+ let a = wv(r), o = wv(i);+ if (oh(r) !== oh(i) && g_[n]) this.needsMeasurement = !0;else if (a !== o) {- if (p_(a) && p_(o)) for (let t = 0; t < e.length; t++) {+ if (f_(a) && f_(o)) for (let t = 0; t < e.length; t++) {let n = e[t];typeof n == "string" && (e[t] = parseFloat(n));}- else __[n] && (this.needsMeasurement = !0);+ else g_[n] && (this.needsMeasurement = !0);}}resolveNoneKeyframes() {let { unresolvedKeyframes: e, name: t } = this, n = [];- for (let t = 0; t < e.length; t++) (e[t] === null || Pte(e[t])) && n.push(t);- n.length && Ite(e, n, t);+ for (let t = 0; t < e.length; t++) (e[t] === null || Fte(e[t])) && n.push(t);+ n.length && Lte(e, n, t);}measure() {let { element: e, name: t } = this;- return __[t](window.getComputedStyle(e.current), () => e.measureViewportBox());+ return g_[t](window.getComputedStyle(e.current), () => e.measureViewportBox());}measureInitialState() {let { element: e, unresolvedKeyframes: t, name: n } = this;@@ -18141,19 +18141,19 @@ var Ev = class extends w_ {let n = t.length - 1, r = t[n];t[n] = this.measure(), r !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = r), this.resolveNoneKeyframes();}-}, Dv = [+}, Ev = ["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"-], Lte = /* @__PURE__ */ new Set([+], Rte = /* @__PURE__ */ new Set(["borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderRadius",- ...Dv,+ ...Ev,"width","maxWidth","height",@@ -18196,21 +18196,21 @@ var Ev = class extends w_ {"backgroundPositionY"]);// node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs-function Rte(e, t) {- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Lte.has(t) && (e[n] = e[n] + "px");+function zte(e, t) {+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Rte.has(t) && (e[n] = e[n] + "px");}// node_modules/motion-dom/dist/es/animation/animate/effects.mjs-var Ov = [];-function zte(e) {- kv(e), Ov.unshift(e);+var Dv = [];+function Bte(e) {+ Ov(e), Dv.unshift(e);}-function kv(e) {- hm(Ov, e);+function Ov(e) {+ hm(Dv, e);}-function Bte(e) {- return Ov.find((t) => t.test(e));+function Vte(e) {+ return Dv.find((t) => t.test(e));}-function Av(e, t, n = {}, r) {+function kv(e, t, n = {}, r) {let i = [], { velocity: a, path: o } = n, s = n.reduceMotion ?? r?.shouldReduceMotion;o?.animateValues && r && (t = { ...t }, o.animateValues(e, t, n, 0, i));for (let o in t) {@@ -18218,62 +18218,62 @@ function Av(e, t, n = {}, r) {let c = t[o];if (c === void 0) continue;let l = e(o), u = l.get();- u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? pg.update(() => l.set(c)) : (l.start(pv(o, l, c, s && vv.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));+ u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? fg.update(() => l.set(c)) : (l.start(fv(o, l, c, s && _v.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));}let { transitionEnd: c } = t;if (c) {- let t = () => pg.update(() => {+ let t = () => fg.update(() => {for (let t in c) e(t).set(c[t]);});i.length ? Promise.all(i).then(t) : t();}return i;}-function jv(e, t, n, r, i) {- return Av((r) => {+function Av(e, t, n, r, i) {+ return kv((r) => {let a = e.get(t, r);if (!a) {let o;if (!i) {let i = n[r];- o = Vte(i) ?? e.read(t, r, i);+ o = Hte(i) ?? e.read(t, r, i);}- a = uv(o, { owner: i }), e(t, { [r]: a });+ a = lv(o, { owner: i }), e(t, { [r]: a });}return a;}, n, r, i);}-function Vte(e) {+function Hte(e) {let t = Array.isArray(e) ? e[0] : void 0;return t === null ? void 0 : t;}// node_modules/motion-dom/dist/es/utils/is-html-element.mjs-function Mv(e) {+function jv(e) {return ym(e) && "offsetHeight" in e && !("ownerSVGElement" in e);}// node_modules/motion-dom/dist/es/utils/is-svg-element.mjs-function Nv(e) {+function Mv(e) {return ym(e) && "ownerSVGElement" in e;}// node_modules/motion-dom/dist/es/scope/active.mjs-var Pv = {};-function Fv(e) {- return Pv.current?.add(e), e;+var Nv = {};+function Pv(e) {+ return Nv.current?.add(e), e;}-var Iv = (e) => Pv.current ? Pv.current.bind(e) : e;+var Fv = (e) => Nv.current ? Nv.current.bind(e) : e;// node_modules/motion-dom/dist/es/utils/resolve-elements.mjs-function Lv(e, t, n) {+function Iv(e, t, n) {if (e == null) return [];if (e instanceof EventTarget) return [e];if (typeof e == "string") {- let r = t ? t.current : Pv.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);+ let r = t ? t.current : Nv.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);return i ? Array.from(i) : [];}return Array.from(e).filter((e) => e != null);}// node_modules/motion-dom/dist/es/effects/MotionValueState.mjs-var Hte = class {- constructor(e = pg.render) {+var Ute = class {+ constructor(e = fg.render) {this.step = e, this.values = /* @__PURE__ */ new Map(), this.pending = [], this.numPending = 0, this.flush = () => {let { pending: e, numPending: t } = this;this.numPending = 0;@@ -18316,10 +18316,10 @@ var Hte = class {}};// node_modules/motion-dom/dist/es/effects/utils/create-effect.mjs-function Rv(e, { step: t, ...n } = {}) {+function Lv(e, { step: t, ...n } = {}) {let r = /* @__PURE__ */ new WeakMap();return Object.assign((n, i) => {- let a = r.get(n) ?? new Hte(t);+ let a = r.get(n) ?? new Ute(t);r.set(n, a);let o = [];for (let t in i) {@@ -18336,83 +18336,83 @@ function Rv(e, { step: t, ...n } = {}) {});}// node_modules/motion-dom/dist/es/effects/style/transform.mjs-function Ute(e) {+function Wte(e) {let t = "", { transformKeys: n = [], transformValues: r = {} } = e;for (let e = 0; e < n.length; e++) {let i = n[e], a = r[i].getCurrent();- a !== void 0 && (q_(i, a) || (t += (t && " ") + K_(i, a)));+ a !== void 0 && (K_(i, a) || (t += (t && " ") + G_(i, a)));}let i = e.get("pathRotation")?.get();- return i && (t += (t && " ") + K_("rotate", i)), t || "none";+ return i && (t += (t && " ") + G_("rotate", i)), t || "none";}// node_modules/motion-dom/dist/es/effects/style/index.mjs-var zv = /* @__PURE__ */ new Set([+var Rv = /* @__PURE__ */ new Set(["originX","originY","originZ"-]), Bv = (e, t) => H_(e.get(t)?.get(), Qg[t]), Vv = (e, t, n, r) => {+]), zv = (e, t) => V_(e.get(t)?.get(), Zg[t]), Bv = (e, t, n, r) => {let i, a;- if (f_.has(n)) {+ if (d_.has(n)) {if (n !== "pathRotation") {let e = t.transformKeys ??= [];- (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => d_.indexOf(e) - d_.indexOf(t)));+ (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => u_.indexOf(e) - u_.indexOf(t)));}- t.get("transform") || (!Mv(e) && !t.get("transformBox") && Vv(e, t, "transformBox", new lv("fill-box")), t.set("transform", new lv("none"), () => {- J_.get(e)?.check(), e.style.transform = Ute(t);+ t.get("transform") || (!jv(e) && !t.get("transformBox") && Bv(e, t, "transformBox", new cv("fill-box")), t.set("transform", new cv("none"), () => {+ q_.get(e)?.check(), e.style.transform = Wte(t);})), a = t.get("transform");- } else zv.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new lv(""), () => {- let n = Bv(t, "originX") ?? "50%", r = Bv(t, "originY") ?? "50%", i = Bv(t, "originZ") ?? 0;+ } else Rv.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new cv(""), () => {+ let n = zv(t, "originX") ?? "50%", r = zv(t, "originY") ?? "50%", i = zv(t, "originZ") ?? 0;e.style.transformOrigin = `${n} ${r} ${i}`;- }), a = t.get("transformOrigin")) : i = T_(n) ? () => {+ }), a = t.get("transformOrigin")) : i = w_(n) ? () => {e.style.setProperty(n, r.getCurrent());} : () => {- e.style[n] = H_(r.getCurrent(), Qg[n]);+ e.style[n] = V_(r.getCurrent(), Zg[n]);};return t.set(n, r, i, a);-}, Wte = (e) => Mv(e) || Nv(e), Hv = (e, t) => {- if (f_.has(t)) return u_(e, t);- let n = getComputedStyle(e), r = T_(t) ? n.getPropertyValue(t) : n[t];+}, Gte = (e) => jv(e) || Mv(e), Vv = (e, t) => {+ if (d_.has(t)) return l_(e, t);+ let n = getComputedStyle(e), r = w_(t) ? n.getPropertyValue(t) : n[t];return typeof r == "string" && r.trim() || 0;-}, Gte = /*@__PURE__*/ Rv(Vv, {- test: Wte,- read: Hv+}, Kte = /*@__PURE__*/ Lv(Bv, {+ test: Gte,+ read: Vv});// node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs-function Uv(e) {+function Hv(e) {return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);}// node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs-function Wv(e, t, n) {+function Uv(e, t, n) {let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;for (let e in t) {let n = t[e];- if (f_.has(e)) o = !0;+ if (d_.has(e)) o = !0;else if (nh(e)) i[e] = n;else {- let t = H_(n, Qg[e]);+ let t = V_(n, Zg[e]);e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;}}- if (t.transform || (o || n ? r.transform = Qee(t, e.transform, n) : r.transform &&= "none"), s) {+ if (t.transform || (o || n ? r.transform = $ee(t, e.transform, n) : r.transform &&= "none"), s) {let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;r.transformOrigin = `${e} ${t} ${n}`;}}// node_modules/motion-dom/dist/es/render/svg/utils/path.mjs-var Kte = {+var qte = {offset: "stroke-dashoffset",array: "stroke-dasharray"-}, qte = {+}, Jte = {offset: "strokeDashoffset",array: "strokeDasharray"};-function Jte(e, t, n = 1, r = 0, i = !0) {+function Yte(e, t, n = 1, r = 0, i = !0) {e.pathLength = 1;- let a = i ? Kte : qte;+ let a = i ? qte : Jte;e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;}// node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs-var Gv = [+var Wv = ["transform","opacity","clipPath",@@ -18422,55 +18422,55 @@ var Gv = ["offsetRotate","offsetAnchor"];-function Kv(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {- if (Wv(e, s, l), c) {+function Gv(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {+ if (Uv(e, s, l), c) {e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);return;}e.attrs = e.style, e.style = {};let { attrs: d, style: f } = e;- for (let e of Gv) d[e] !== void 0 && (f[e] = d[e], delete d[e]);- (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && Jte(d, i, a, o, !1);+ for (let e of Wv) d[e] !== void 0 && (f[e] = d[e], delete d[e]);+ (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && Yte(d, i, a, o, !1);}// node_modules/motion-dom/dist/es/effects/attr/index.mjs-function Yte(e, t) {+function Xte(e, t) {if (!(t in e)) return !1;let n = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), t) || Object.getOwnPropertyDescriptor(e, t);return n && typeof n.set == "function";}-var qv = (e, t, n, r, i = n) => {- let a = Yte(e, i);- !a && (i.startsWith("data") || i.startsWith("aria")) && (i = Uv(i));- let o = Qg[n] || Qg[i], s = a ? () => {- e[i] = H_(r.get(), Qg[n]);+var Kv = (e, t, n, r, i = n) => {+ let a = Xte(e, i);+ !a && (i.startsWith("data") || i.startsWith("aria")) && (i = Hv(i));+ let o = Zg[n] || Zg[i], s = a ? () => {+ e[i] = V_(r.get(), Zg[n]);} : () => {- let t = H_(r.get(), o);+ let t = V_(r.get(), o);t == null ? e.removeAttribute(i) : e.setAttribute(i, String(t));};return t.set(n, r, s);};// node_modules/motion-dom/dist/es/effects/svg/index.mjs-function Xte(e, t, n, r) {- return pg.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {+function Zte(e, t, n, r) {+ return fg.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {let t = r.get();e.setAttribute("stroke-dashoffset", `${-t}`);- }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new lv("1 1"), () => {+ }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new cv("1 1"), () => {let n = t.get("pathLength")?.get() ?? 1, r = t.get("pathSpacing")?.get();e.setAttribute("stroke-dasharray", `${n} ${r ?? 1 - Number(n)}`);}), t.set(n, r, void 0, t.get("stroke-dasharray")));}-var Zte = /*@__PURE__*/ Rv((e, t, n, r) => n.startsWith("path") && !f_.has(n) ? Xte(e, t, n, r) : n.startsWith("attr") ? qv(e, t, n, r, Jv(n)) : n === "d" ? t.set(n, r, () => {+var Qte = /*@__PURE__*/ Lv((e, t, n, r) => n.startsWith("path") && !d_.has(n) ? Zte(e, t, n, r) : n.startsWith("attr") ? Kv(e, t, n, r, qv(n)) : n === "d" ? t.set(n, r, () => {let t = r.get()?.replace(/path\(|["')]/g, "");t === void 0 ? e.removeAttribute(n) : e.setAttribute(n, t);-}) : (f_.has(n) || zv.has(n) || T_(n) || n in e.style ? Vv : qv)(e, t, n, r), {- test: Nv,- read: (e, t) => f_.has(t) ? Qg[t]?.default || 0 : T_(t) || Gv.includes(t) ? Hv(e, t) || e.getAttribute(Uv(t)) || 0 : (t = Jv(t), e.getAttribute(Uv(t)) ?? e.getAttribute(t) ?? void 0)+}) : (d_.has(n) || Rv.has(n) || w_(n) || n in e.style ? Bv : Kv)(e, t, n, r), {+ test: Mv,+ read: (e, t) => d_.has(t) ? Zg[t]?.default || 0 : w_(t) || Wv.includes(t) ? Vv(e, t) || e.getAttribute(Hv(t)) || 0 : (t = qv(t), e.getAttribute(Hv(t)) ?? e.getAttribute(t) ?? void 0)});-function Jv(e) {+function qv(e) {return e.replace(/^attr([A-Z])/, (e, t) => t.toLowerCase());}// node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs-function Yv({ top: e, left: t, right: n, bottom: r }) {+function Jv({ top: e, left: t, right: n, bottom: r }) {return {x: {min: t,@@ -18482,7 +18482,7 @@ function Yv({ top: e, left: t, right: n, bottom: r }) {}};}-function Qte({ x: e, y: t }) {+function $te({ x: e, y: t }) {return {top: t.min,right: e.max,@@ -18490,7 +18490,7 @@ function Qte({ x: e, y: t }) {left: e.min};}-function $te(e, t) {+function ene(e, t) {if (!t) return e;let n = t({x: e.left,@@ -18507,13 +18507,13 @@ function $te(e, t) {};}// node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs-function Xv(e) {+function Yv(e) {return e === void 0 || e === 1;}-function Zv({ scale: e, scaleX: t, scaleY: n }) {- return !Xv(e) || !Xv(t) || !Xv(n);+function Xv({ scale: e, scaleX: t, scaleY: n }) {+ return !Yv(e) || !Yv(t) || !Yv(n);}-var Qv = [+var Zv = ["rotate","rotateX","rotateY",@@ -18521,67 +18521,67 @@ var Qv = ["skewX","skewY"];+function Qv(e) {+ return Xv(e) || ey(e) || $v(e);+}function $v(e) {- return Zv(e) || ty(e) || ey(e);+ return e.z || e.rotate || e.rotateX || e.rotateY || e.rotateZ || e.skewX || e.skewY;}function ey(e) {- return e.z || e.rotate || e.rotateX || e.rotateY || e.rotateZ || e.skewX || e.skewY;+ return ty(e.x) || ty(e.y);}function ty(e) {- return ny(e.x) || ny(e.y);-}-function ny(e) {return e && e !== "0%";}// node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs-function ry(e, t, n) {+function ny(e, t, n) {return n + t * (e - n);}-function iy(e, t, n, r, i) {- return i !== void 0 && (e = ry(e, i, r)), ry(e, n, r) + t;+function ry(e, t, n, r, i) {+ return i !== void 0 && (e = ny(e, i, r)), ny(e, n, r) + t;}-function ay(e, t = 0, n = 1, r, i) {- e.min = iy(e.min, t, n, r, i), e.max = iy(e.max, t, n, r, i);+function iy(e, t = 0, n = 1, r, i) {+ e.min = ry(e.min, t, n, r, i), e.max = ry(e.max, t, n, r, i);}-function oy(e, { x: t, y: n }) {- ay(e.x, t.translate, t.scale, t.originPoint), ay(e.y, n.translate, n.scale, n.originPoint);+function ay(e, { x: t, y: n }) {+ iy(e.x, t.translate, t.scale, t.originPoint), iy(e.y, n.translate, n.scale, n.originPoint);}-var sy = .999999999999, cy = 1.0000000000001;-function ene(e, t, n, r = !1) {+var oy = .999999999999, sy = 1.0000000000001;+function tne(e, t, n, r = !1) {let i = n.length;if (!i) return;t.x = t.y = 1;let a, o;- for (let s = 0; s < i; s++) a = n[s], o = a.projectionDelta, a.options.visualElement?.props.style?.display !== "contents" && (r === !0 && a.options.layoutScroll && a.scroll && a !== a.root && (ly(e.x, -a.scroll.offset.x), ly(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, oy(e, o)), r && (r.path?.[s] || r) !== a && $v(a.latestValues) && fy(e, a.latestValues, a.layout?.layoutBox));- t.x < cy && t.x > sy && (t.x = 1), t.y < cy && t.y > sy && (t.y = 1);+ for (let s = 0; s < i; s++) a = n[s], o = a.projectionDelta, a.options.visualElement?.props.style?.display !== "contents" && (r === !0 && a.options.layoutScroll && a.scroll && a !== a.root && (cy(e.x, -a.scroll.offset.x), cy(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, ay(e, o)), r && (r.path?.[s] || r) !== a && Qv(a.latestValues) && dy(e, a.latestValues, a.layout?.layoutBox));+ t.x < sy && t.x > oy && (t.x = 1), t.y < sy && t.y > oy && (t.y = 1);}-function ly(e, t) {+function cy(e, t) {e.min += t, e.max += t;}-function uy(e, t, n, r, i = .5) {- ay(e, t, n, Qh(e.min, e.max, i), r);+function ly(e, t, n, r, i = .5) {+ iy(e, t, n, Qh(e.min, e.max, i), r);}-function dy(e, t) {+function uy(e, t) {return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;}-function fy(e, t, n) {+function dy(e, t, n) {let r = n ?? e;- uy(e.x, dy(t.x, r.x), t.scaleX, t.scale, t.originX), uy(e.y, dy(t.y, r.y), t.scaleY, t.scale, t.originY);+ ly(e.x, uy(t.x, r.x), t.scaleX, t.scale, t.originX), ly(e.y, uy(t.y, r.y), t.scaleY, t.scale, t.originY);}// node_modules/motion-dom/dist/es/projection/utils/measure.mjs-function py(e, t) {- return Yv($te(e.getBoundingClientRect(), t));+function fy(e, t) {+ return Jv(ene(e.getBoundingClientRect(), t));}-function tne(e, t, n) {- let r = py(e, n), { scroll: i } = t;- return i && (ly(r.x, i.offset.x), ly(r.y, i.offset.y)), r;+function nne(e, t, n) {+ let r = fy(e, n), { scroll: i } = t;+ return i && (cy(r.x, i.offset.x), cy(r.y, i.offset.y)), r;}-var nne = () => ({+var rne = () => ({x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,y: document.documentElement.scrollTop || document.body?.scrollTop || 0-}), rne = {}, ine = (e) => Nv(e) ? Zte : Gte, ane = class {+}), ine = {}, ane = (e) => Mv(e) ? Qte : Kte, one = class {constructor(e, t) {- this.effect = e, this.current = t, this.KeyframeResolver = Ev;+ this.effect = e, this.current = t, this.KeyframeResolver = Tv;}getValue(e) {return this.effect.get(this.current, e);@@ -18593,19 +18593,19 @@ var nne = () => ({this.effect.flush(this.current);}measureViewportBox() {- return py(this.current);+ return fy(this.current);}getProps() {- return rne;+ return ine;}};-function one(e, t, n, r) {- if (Pv.current?.track(e), r) return Av((e) => r.getValue(e, null), t, n, r);- let i = ine(e);- return jv(i, e, t, n, new ane(i, e));+function sne(e, t, n, r) {+ if (Nv.current?.track(e), r) return kv((e) => r.getValue(e, null), t, n, r);+ let i = ane(e);+ return Av(i, e, t, n, new one(i, e));}// node_modules/motion-dom/dist/es/effects/prop/index.mjs-var sne = /*@__PURE__*/ Rv((e, t, n, r) => t.set(n, r, () => {+var cne = /*@__PURE__*/ Lv((e, t, n, r) => t.set(n, r, () => {e[n] = r.get();}), {test: (e) => ym(e),@@ -18613,72 +18613,72 @@ var sne = /*@__PURE__*/ Rv((e, t, n, r) => t.set(n, r, () => {let n = e[t];return typeof n == "string" || typeof n == "number" ? n : void 0;}-}), { schedule: my, cancel: cne } = /* @__PURE__ */ fg(queueMicrotask, !1);+}), { schedule: py, cancel: lne } = /* @__PURE__ */ dg(queueMicrotask, !1);// node_modules/motion-dom/dist/es/animation/animate/single-value.mjs-function hy(e, t, n) {- let r = yv(e) ? e : uv(e);- return r.start(pv("", r, t, n)), r.animation;+function my(e, t, n) {+ let r = vv(e) ? e : lv(e);+ return r.start(fv("", r, t, n)), r.animation;}// node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs-var gy = {}, _y = {+var hy = {}, gy = {value: null,addProjectionMetrics: null,countProjection: void 0};// node_modules/motion-dom/dist/es/utils/delay.mjs-function lne(e, t) {+function une(e, t) {let n = $m.now();- e = Iv(e);+ e = Fv(e);let r = ({ timestamp: i }) => {let a = i - n;- a >= t && (mg(r), e(a - t));+ a >= t && (pg(r), e(a - t));};- return pg.setup(r, !0), Fv(() => mg(r));+ return fg.setup(r, !0), Pv(() => pg(r));}// node_modules/motion-dom/dist/es/utils/is-ref-object.mjs-function une(e) {+function dne(e) {return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");}// node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs-function dne(e) {- return Nv(e) && e.tagName === "svg";+function fne(e) {+ return Mv(e) && e.tagName === "svg";}// node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs-function vy(e) {- return yv(e) ? e.get() : e;+function _y(e) {+ return vv(e) ? e.get() : e;}// node_modules/motion-dom/dist/es/value/utils/as-number.mjs-var yy = (e) => typeof e == "number" ? e : parseFloat(e), fne = Dv.length, by = (e) => typeof e == "number" || wh.test(e);-function pne(e, t, n, r, i, a) {- i ? (e.opacity = Qh(0, n.opacity ?? 1, mne(r)), e.opacityExit = Qh(t.opacity ?? 1, 0, hne(r))) : a && (e.opacity = Qh(t.opacity ?? 1, n.opacity ?? 1, r));- for (let i = 0; i < fne; i++) {- let a = Dv[i], o = xy(t, a), s = xy(n, a);- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || by(o) === by(s) ? (e[a] = Math.max(Qh(yy(o), yy(s), r), 0), (Ch.test(s) || Ch.test(o)) && (e[a] += "%")) : e[a] = s);- }- for (let i = 0; i < Qv.length; i++) {- let a = Qv[i];+var vy = (e) => typeof e == "number" ? e : parseFloat(e), pne = Ev.length, yy = (e) => typeof e == "number" || wh.test(e);+function mne(e, t, n, r, i, a) {+ i ? (e.opacity = Qh(0, n.opacity ?? 1, hne(r)), e.opacityExit = Qh(t.opacity ?? 1, 0, gne(r))) : a && (e.opacity = Qh(t.opacity ?? 1, n.opacity ?? 1, r));+ for (let i = 0; i < pne; i++) {+ let a = Ev[i], o = by(t, a), s = by(n, a);+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || yy(o) === yy(s) ? (e[a] = Math.max(Qh(vy(o), vy(s), r), 0), (Ch.test(s) || Ch.test(o)) && (e[a] += "%")) : e[a] = s);+ }+ for (let i = 0; i < Zv.length; i++) {+ let a = Zv[i];(t[a] || n[a]) && (e[a] = Qh(t[a] || 0, n[a] || 0, r));}}-function xy(e, t) {+function by(e, t) {return e[t] === void 0 ? e.borderRadius : e[t];}-var mne = /*@__PURE__*/ Sy(0, .5, zm), hne = /*@__PURE__*/ Sy(.5, .95, Sm);-function Sy(e, t, n) {+var hne = /*@__PURE__*/ xy(0, .5, zm), gne = /*@__PURE__*/ xy(.5, .95, Sm);+function xy(e, t, n) {return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ wm(e, t, r));}// node_modules/motion-dom/dist/es/projection/geometry/copy.mjs-function Cy(e, t) {+function Sy(e, t) {e.min = t.min, e.max = t.max;}-function wy(e, t) {- Cy(e.x, t.x), Cy(e.y, t.y);+function Cy(e, t) {+ Sy(e.x, t.x), Sy(e.y, t.y);}-function Ty(e, t) {+function wy(e, t) {e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;}// node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs-var gne = .9999, _ne = 1.0001, vne = -.01, yne = .01;+var _ne = .9999, vne = 1.0001, yne = -.01, Ty = .01;function Ey(e) {return e.max - e.min;}@@ -18686,7 +18686,7 @@ function bne(e, t, n) {return Math.abs(e - t) <= n;}function Dy(e, t, n, r = .5) {- e.origin = r, e.originPoint = Qh(t.min, t.max, e.origin), e.scale = Ey(n) / Ey(t), e.translate = Qh(n.min, n.max, e.origin) - e.originPoint, (e.scale >= gne && e.scale <= _ne || isNaN(e.scale)) && (e.scale = 1), (e.translate >= vne && e.translate <= yne || isNaN(e.translate)) && (e.translate = 0);+ e.origin = r, e.originPoint = Qh(t.min, t.max, e.origin), e.scale = Ey(n) / Ey(t), e.translate = Qh(n.min, n.max, e.origin) - e.originPoint, (e.scale >= _ne && e.scale <= vne || isNaN(e.scale)) && (e.scale = 1), (e.translate >= yne && e.translate <= Ty || isNaN(e.translate)) && (e.translate = 0);}function Oy(e, t, n, r) {Dy(e.x, t.x, n.x, r?.originX), Dy(e.y, t.y, n.y, r?.originY);@@ -18694,91 +18694,91 @@ function Oy(e, t, n, r) {function ky(e, t, n, r = 0) {e.min = (r ? Qh(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Ey(t);}-function Ay(e, t, n, r) {+function xne(e, t, n, r) {ky(e.x, t.x, n.x, r?.x), ky(e.y, t.y, n.y, r?.y);}-function jy(e, t, n, r = 0) {+function Ay(e, t, n, r = 0) {let i = r ? Qh(n.min, n.max, r) : n.min;e.min = t.min - i, e.max = e.min + Ey(t);}-function My(e, t, n, r) {- jy(e.x, t.x, n.x, r?.x), jy(e.y, t.y, n.y, r?.y);+function jy(e, t, n, r) {+ Ay(e.x, t.x, n.x, r?.x), Ay(e.y, t.y, n.y, r?.y);}// node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs-function Ny(e, t, n, r, i) {- return e -= t, e = ry(e, 1 / n, r), i !== void 0 && (e = ry(e, 1 / i, r)), e;+function My(e, t, n, r, i) {+ return e -= t, e = ny(e, 1 / n, r), i !== void 0 && (e = ny(e, 1 / i, r)), e;}-function xne(e, t = 0, n = 1, r = .5, i, a = e, o = e) {+function Sne(e, t = 0, n = 1, r = .5, i, a = e, o = e) {if (Ch.test(t) && (t = parseFloat(t), t = Qh(o.min, o.max, t / 100) - o.min), typeof t != "number") return;let s = Qh(a.min, a.max, r);- e === a && (s -= t), e.min = Ny(e.min, t, n, s, i), e.max = Ny(e.max, t, n, s, i);+ e === a && (s -= t), e.min = My(e.min, t, n, s, i), e.max = My(e.max, t, n, s, i);}-function Py(e, t, [n, r, i], a, o) {- xne(e, t[n], t[r], t[i], t.scale, a, o);+function Ny(e, t, [n, r, i], a, o) {+ Sne(e, t[n], t[r], t[i], t.scale, a, o);}-var Sne = [+var Cne = ["x","scaleX","originX"-], Cne = [+], wne = ["y","scaleY","originY"];-function Fy(e, t, n, r) {- Py(e.x, t, Sne, n?.x, r?.x), Py(e.y, t, Cne, n?.y, r?.y);+function Py(e, t, n, r) {+ Ny(e.x, t, Cne, n?.x, r?.x), Ny(e.y, t, wne, n?.y, r?.y);}// node_modules/motion-dom/dist/es/projection/geometry/round.mjs-var Iy = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Ly = Iy("applewebkit/") && !Iy("chrome/") ? Math.round : Sm;-function Ry(e) {- e.min = Ly(e.min), e.max = Ly(e.max);+var Fy = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Iy = Fy("applewebkit/") && !Fy("chrome/") ? Math.round : Sm;+function Ly(e) {+ e.min = Iy(e.min), e.max = Iy(e.max);}-function wne(e) {- Ry(e.x), Ry(e.y);+function Tne(e) {+ Ly(e.x), Ly(e.y);}// node_modules/motion-dom/dist/es/projection/geometry/models.mjs-var zy = () => ({+var Ry = () => ({translate: 0,scale: 1,origin: 0,originPoint: 0+}), zy = () => ({+ x: Ry(),+ y: Ry()}), By = () => ({- x: zy(),- y: zy()-}), Vy = () => ({min: 0,max: 0-}), Hy = () => ({- x: Vy(),- y: Vy()+}), Vy = () => ({+ x: By(),+ y: By()});// node_modules/motion-dom/dist/es/projection/geometry/utils.mjs-function Uy(e) {+function Hy(e) {return e.translate === 0 && e.scale === 1;}-function Wy(e) {- return Uy(e.x) && Uy(e.y);+function Uy(e) {+ return Hy(e.x) && Hy(e.y);}-function Gy(e, t) {+function Wy(e, t) {return e.min === t.min && e.max === t.max;}-function Tne(e, t) {- return Gy(e.x, t.x) && Gy(e.y, t.y);+function Ene(e, t) {+ return Wy(e.x, t.x) && Wy(e.y, t.y);}-function Ky(e, t) {+function Gy(e, t) {return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);}-function qy(e, t) {- return Ky(e.x, t.x) && Ky(e.y, t.y);+function Ky(e, t) {+ return Gy(e.x, t.x) && Gy(e.y, t.y);}-function Jy(e) {+function qy(e) {return Ey(e.x) / Ey(e.y);}-function Yy(e, t) {+function Jy(e, t) {return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;}// node_modules/motion-dom/dist/es/projection/shared/stack.mjs-var Ene = class {+var Dne = class {constructor() {this.members = [];}@@ -18826,22 +18826,22 @@ var Ene = class {}};// node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs-function Xy(e, t) {+function Yy(e, t) {return t.max === t.min ? 0 : e / (t.max - t.min) * 100;}-var Zy = { correct: (e, t) => {+var Xy = { correct: (e, t) => {if (!t.target) return e;if (typeof e == "string") {if (wh.test(e)) e = parseFloat(e);else return e;}- return `${Xy(e, t.target.x)}% ${Xy(e, t.target.y)}%`;-} }, Dne = {- borderRadius: /* @__PURE__ */ Object.assign({}, Zy, { applyTo: /* @__PURE__ */ Dv.slice() }),- borderTopLeftRadius: Zy,- borderTopRightRadius: Zy,- borderBottomLeftRadius: Zy,- borderBottomRightRadius: Zy,+ return `${Yy(e, t.target.x)}% ${Yy(e, t.target.y)}%`;+} }, One = {+ borderRadius: /* @__PURE__ */ Object.assign({}, Xy, { applyTo: /* @__PURE__ */ Ev.slice() }),+ borderTopLeftRadius: Xy,+ borderTopRightRadius: Xy,+ borderBottomLeftRadius: Xy,+ borderBottomRightRadius: Xy,boxShadow: { correct: (e, { treeScale: t, projectionDelta: n }) => {let r = e, i = Jh.parse(e);if (i.length > 5) return r;@@ -18852,13 +18852,13 @@ var Zy = { correct: (e, t) => {} }};// node_modules/motion-dom/dist/es/projection/styles/transform.mjs-function One(e, t, n) {+function kne(e, t, n) {let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {let { transformPerspective: e } = n;e && (r = `perspective(${e}px) ${r}`);- for (let e = 0; e < Qv.length; e++) {- let t = Qv[e], i = n[t];+ for (let e = 0; e < Zv.length; e++) {+ let t = Zv[e], i = n[t];i && (r += `${t}(${i}deg) `), !e && n.pathRotation && (r += `rotate(${n.pathRotation}deg) `);}}@@ -18866,11 +18866,11 @@ function One(e, t, n) {return (s !== 1 || c !== 1) && (r += `scale(${s}, ${c})`), r || "none";}// node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs-function Qy(e) {+function Zy(e) {return [e("x"), e("y")];}// node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs-var kne = (e, t) => e.depth - t.depth, Ane = class {+var Ane = (e, t) => e.depth - t.depth, jne = class {constructor() {this.children = [], this.isDirty = !1;}@@ -18881,47 +18881,47 @@ var kne = (e, t) => e.depth - t.depth, Ane = class {hm(this.children, e), this.isDirty = !0;}forEach(e) {- this.isDirty && this.children.sort(kne), this.isDirty = !1, this.children.forEach(e);+ this.isDirty && this.children.sort(Ane), this.isDirty = !1, this.children.forEach(e);}-}, $y = {+}, Qy = {hasAnimatedSinceResize: !0,hasEverUpdated: !1-}, eb = [+}, $y = ["z","skew","skewZ"-], jne = 1e3, Mne = 0;-function tb(e, t, n, r) {+], Mne = 1e3, Nne = 0;+function eb(e, t, n, r) {let { latestValues: i } = t;i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));}-var nb = (e) => e.instance && J_.get(e.instance)?.demote() && e.resetSkewAndRotation();-function rb(e) {+var tb = (e) => e.instance && q_.get(e.instance)?.demote() && e.resetSkewAndRotation();+function nb(e) {if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;let { visualElement: t } = e.options;if (!t) return;- let n = Sv(t);+ let n = xv(t);if (window.MotionHasOptimisedAnimation(n, "transform")) {let { layout: t, layoutId: r } = e.options;- window.MotionCancelOptimisedAnimation(n, "transform", pg, !(t || r));+ window.MotionCancelOptimisedAnimation(n, "transform", fg, !(t || r));}let { parent: r } = e;- r && !r.hasCheckedOptimisedAppear && rb(r);+ r && !r.hasCheckedOptimisedAppear && nb(r);}-function ib(e) {- if (e) return e.options.allowProjection === !1 ? ib(e.parent) : e.projection;+function rb(e) {+ if (e) return e.options.allowProjection === !1 ? rb(e.parent) : e.projection;}-function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {- return Object.assign(gy, {- ...Dne,- ...gy+function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {+ return Object.assign(hy, {+ ...One,+ ...hy}), class {static create(e, t, n) {- let { layoutId: r, layout: i, drag: a, dragConstraints: o, layoutScroll: s, layoutRoot: c, layoutAnchor: l, layoutCrossfade: u } = t, d = e.projection = new this(e.latestValues, t["data-framer-portal-id"] ? void 0 : ib(e.parent));+ let { layoutId: r, layout: i, drag: a, dragConstraints: o, layoutScroll: s, layoutRoot: c, layoutAnchor: l, layoutCrossfade: u } = t, d = e.projection = new this(e.latestValues, t["data-framer-portal-id"] ? void 0 : rb(e.parent));d.setOptions({layoutId: r,layout: i,- alwaysMeasureLayout: !!a || o && une(o),+ alwaysMeasureLayout: !!a || o && dne(o),visualElement: e,animationType: typeof i == "string" ? i : "both",initialPromotionConfig: n,@@ -18934,16 +18934,16 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkf && !d.root.isUpdateBlocked() && (f.willUpdate(), f.scheduleCheckAfterUnmount());}constructor(e = {}, n = t?.()) {- this.id = Mne++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {+ this.id = Nne++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {x: 1,y: 1}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());}, this.updateProjection = () => {- this.projectionUpdateScheduled = !1, this.nodes.forEach(Fne), this.nodes.forEach(Une), this.nodes.forEach(Wne), this.nodes.forEach(Ine), _y.countProjection?.();+ this.projectionUpdateScheduled = !1, this.nodes.forEach(Pne), this.nodes.forEach(Hne), this.nodes.forEach(Une), this.nodes.forEach(Fne), gy.countProjection?.();}, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;- this.root === this && (this.nodes = new Ane());+ this.root === this && (this.nodes = new jne());}addEventListener(e, t) {return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Tm()), this.eventHandlers.get(e).add(t);@@ -18956,15 +18956,15 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}mount(t) {if (this.instance) return;- this.isSVG = Nv(t) && !dne(t), this.instance = t;+ this.isSVG = Mv(t) && !fne(t), this.instance = t;let { layoutId: n, layout: r, visualElement: i } = this.options;if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent?.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {let n, r = 0, i = () => this.root.updateBlockedByResize = !1;- pg.read(() => {+ fg.read(() => {r = window.innerWidth;}), e(t, () => {let e = window.innerWidth;- e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = lne(i, 250), $y.hasAnimatedSinceResize && ($y.hasAnimatedSinceResize = !1, this.nodes.forEach(cb)));+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = une(i, 250), Qy.hasAnimatedSinceResize && (Qy.hasAnimatedSinceResize = !1, this.nodes.forEach(lb)));});}n && this.root.registerSharedNode(n, this), this.addLayoutListener();@@ -18976,21 +18976,21 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.target = void 0, this.relativeTarget = void 0;return;}- let a = this.options.transition || n.getDefaultTransition() || Jne, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !qy(this.targetLayout, i), l = !t && r;+ let a = this.options.transition || n.getDefaultTransition() || qne, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !Ky(this.targetLayout, i), l = !t && r;if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);let t = {- ...fv(a, "layout"),+ ...dv(a, "layout"),onPlay: o,onComplete: s};(n.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);- } else t || cb(this), this.isLead() && this.options.onExitComplete?.();+ } else t || lb(this), this.isLead() && this.options.onExitComplete?.();this.targetLayout = i;}));}unmount() {- this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this), this.getStack()?.remove(this), this.parent?.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), this.hasLayoutListener = !1, mg(this.updateProjection);+ this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this), this.getStack()?.remove(this), this.parent?.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), this.hasLayoutListener = !1, pg(this.updateProjection);}blockUpdate() {this.updateManuallyBlocked = !0;@@ -19002,7 +19002,7 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkreturn this.updateManuallyBlocked || this.updateBlockedByResize;}startUpdate() {- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes?.forEach(Gne), this.animationId++);+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes?.forEach(Wne), this.animationId++);}getTransformTemplate() {let { visualElement: e } = this.options;@@ -19013,11 +19013,11 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.options.onExitComplete?.();return;}- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && rb(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;- nb(this), this.isLayoutDirty = !0;+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && nb(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;+ tb(this), this.isLayoutDirty = !0;for (let e = 0; e < this.path.length; e++) {let t = this.path[e];- t.shouldResetTransform = !0, nb(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);+ t.shouldResetTransform = !0, tb(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);}let { layoutId: t, layout: n } = this.options;if (t === void 0 && !n) return;@@ -19027,28 +19027,28 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkupdate() {if (this.updateScheduled = !1, this.isUpdateBlocked()) {let e = this.updateBlockedByResize;- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Rne), this.nodes.forEach(ob);+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Lne), this.nodes.forEach(sb);return;}if (this.animationId <= this.animationCommitId) {- this.nodes.forEach(sb);+ this.nodes.forEach(cb);return;}- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Bne), this.nodes.forEach(Vne), this.nodes.forEach(Hne), this.nodes.forEach(Nne), this.nodes.forEach(Pne)) : this.nodes.forEach(sb), this.clearAllSnapshots();+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(zne), this.nodes.forEach(Bne), this.nodes.forEach(Vne), this.nodes.forEach(ab), this.nodes.forEach(ob)) : this.nodes.forEach(cb), this.clearAllSnapshots();let e = $m.now();- Xm.delta = gm(0, 1e3 / 60, e - Xm.timestamp), Xm.timestamp = e, Xm.isProcessing = !0, hg.update.process(Xm), hg.preRender.process(Xm), hg.render.process(Xm), Xm.isProcessing = !1;+ Xm.delta = gm(0, 1e3 / 60, e - Xm.timestamp), Xm.timestamp = e, Xm.isProcessing = !0, mg.update.process(Xm), mg.preRender.process(Xm), mg.render.process(Xm), Xm.isProcessing = !1;}didUpdate() {- this.updateScheduled || (this.updateScheduled = !0, my.read(this.scheduleUpdate));+ this.updateScheduled || (this.updateScheduled = !0, py.read(this.scheduleUpdate));}clearAllSnapshots() {- this.nodes.forEach(Lne), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));+ this.nodes.forEach(Ine), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));}scheduleUpdateProjection() {- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, pg.preRender(this.updateProjection, !1, !0));+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, fg.preRender(this.updateProjection, !1, !0));}scheduleCheckAfterUnmount() {- pg.postRender(() => {+ fg.postRender(() => {this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();});}@@ -19059,7 +19059,7 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();let e = this.layout;- this.layout = this.measure(!1), this.layoutCorrected ||= Hy(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);+ this.layout = this.measure(!1), this.layoutCorrected ||= Vy(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);let { visualElement: t } = this.options;t?.notify("LayoutMeasure", this.layout.layoutBox, e?.layoutBox);}@@ -19079,13 +19079,13 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkresetTransform() {if (!i) return;let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout;- e && nb(this);- let t = this.projectionDelta && !Wy(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;- e && this.instance && (t || $v(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());+ e && tb(this);+ let t = this.projectionDelta && !Uy(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;+ e && this.instance && (t || Qv(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());}measure(e = !0) {let t = this.measurePageBox(), n = this.removeElementScroll(t);- return e && (n = this.removeTransform(n)), wne(n), {+ return e && (n = this.removeTransform(n)), Tne(n), {animationId: this.root.animationId,measuredBox: t,layoutBox: n,@@ -19095,42 +19095,42 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}measurePageBox() {let { visualElement: e } = this.options;- if (!e) return Hy();+ if (!e) return Vy();let t = e.measureViewportBox();- if (!(this.scroll?.wasRoot || this.path.some(Yne))) {+ if (!(this.scroll?.wasRoot || this.path.some(Jne))) {let { scroll: e } = this.root;- e && (ly(t.x, e.offset.x), ly(t.y, e.offset.y));+ e && (cy(t.x, e.offset.x), cy(t.y, e.offset.y));}return t;}removeElementScroll(e) {- let t = Hy();- if (wy(t, e), this.scroll?.wasRoot) return t;+ let t = Vy();+ if (Cy(t, e), this.scroll?.wasRoot) return t;for (let n = 0; n < this.path.length; n++) {let r = this.path[n], { scroll: i, options: a } = r;- r !== this.root && i && a.layoutScroll && (i.wasRoot && wy(t, e), ly(t.x, i.offset.x), ly(t.y, i.offset.y));+ r !== this.root && i && a.layoutScroll && (i.wasRoot && Cy(t, e), cy(t.x, i.offset.x), cy(t.y, i.offset.y));}return t;}applyTransform(e, t = !1, n, r, i = 0) {- let a = n || Hy();- wy(a, e);+ let a = n || Vy();+ Cy(a, e);for (let e = i; e < this.path.length; e++) {let n = this.path[e];- !t && n.options.layoutScroll && n.scroll && n !== n.root && (ly(a.x, -n.scroll.offset.x), ly(a.y, -n.scroll.offset.y)), $v(n.latestValues) && fy(a, n.latestValues, n.layout?.layoutBox);+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (cy(a.x, -n.scroll.offset.x), cy(a.y, -n.scroll.offset.y)), Qv(n.latestValues) && dy(a, n.latestValues, n.layout?.layoutBox);}- return !r && $v(this.latestValues) && fy(a, this.latestValues, this.layout?.layoutBox), a;+ return !r && Qv(this.latestValues) && dy(a, this.latestValues, this.layout?.layoutBox), a;}removeTransform(e) {- let t = Hy();- wy(t, e);+ let t = Vy();+ Cy(t, e);for (let e = 0; e < this.path.length; e++) {let n = this.path[e];- if (!$v(n.latestValues)) continue;+ if (!Qv(n.latestValues)) continue;let r;- n.instance && (Zv(n.latestValues) && n.updateSnapshot(), r = Hy(), wy(r, n.measurePageBox())), Fy(t, n.latestValues, n.snapshot?.layoutBox, r);+ n.instance && (Xv(n.latestValues) && n.updateSnapshot(), r = Vy(), Cy(r, n.measurePageBox())), Py(t, n.latestValues, n.snapshot?.layoutBox, r);}- return $v(this.latestValues) && Fy(t, this.latestValues), t;+ return Qv(this.latestValues) && Py(t, this.latestValues), t;}setTargetDelta(e) {this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;@@ -19157,16 +19157,16 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (!this.layout || !(r || i)) return;this.resolvedRelativeTargetAt = Xm.timestamp;let a = this.getClosestProjectingParent();- !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = Hy(), this.targetWithTransforms = Hy()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Ay(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : wy(this.target, this.layout.layoutBox), oy(this.target, this.targetDelta)) : wy(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), _y.countProjection?.(1));+ !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = Vy(), this.targetWithTransforms = Vy()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), xne(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : Cy(this.target, this.layout.layoutBox), ay(this.target, this.targetDelta)) : Cy(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), gy.countProjection?.(1));}getClosestProjectingParent() {- if (!(!this.parent || Zv(this.parent.latestValues) || ty(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();+ if (!(!this.parent || Xv(this.parent.latestValues) || ey(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();}isProjecting() {return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);}createRelativeTarget(e, t, n) {- this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Hy(), this.relativeTargetOrigin = Hy(), My(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), wy(this.relativeTarget, this.relativeTargetOrigin);+ this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Vy(), this.relativeTargetOrigin = Vy(), jy(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), Cy(this.relativeTarget, this.relativeTargetOrigin);}removeRelativeTarget() {this.relativeParent = this.relativeTarget = void 0;@@ -19176,11 +19176,11 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === Xm.timestamp && (n = !1), n) return;let { layout: r, layoutId: i } = this.options;if (this.isTreeAnimating = !!(this.parent?.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;- wy(this.layoutCorrected, this.layout.layoutBox);+ Cy(this.layoutCorrected, this.layout.layoutBox);let a = this.treeScale.x, o = this.treeScale.y;- ene(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = Hy());+ tne(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = Vy());let { target: s } = e;- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Ty(this.prevProjectionDelta.x, this.projectionDelta.x), Ty(this.prevProjectionDelta.y, this.projectionDelta.y)), Oy(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && Yy(this.projectionDelta.x, this.prevProjectionDelta.x) && Yy(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), _y.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (wy(this.prevProjectionDelta.x, this.projectionDelta.x), wy(this.prevProjectionDelta.y, this.projectionDelta.y)), Oy(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && Jy(this.projectionDelta.x, this.prevProjectionDelta.x) && Jy(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), gy.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());}hide() {this.isVisible = !1;@@ -19192,22 +19192,22 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.options.visualElement?.scheduleRender(), e && this.getStack()?.scheduleRender(), this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);}createProjectionDeltas() {- this.prevProjectionDelta = By(), this.projectionDelta = By(), this.projectionDeltaWithTransform = By();+ this.prevProjectionDelta = zy(), this.projectionDelta = zy(), this.projectionDeltaWithTransform = zy();}setAnimationOrigin(e, t = !1, n) {- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = By();+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = zy();this.relativeParent && this.relativeParent.options.layoutRoot || (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;- let s = Hy(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(qne));+ let s = Vy(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(Kne));this.animationProgress = 0;let f, p = n?.interpolateProjection(e);this.mixTargetDelta = (t) => {let n = t / 1e3, r = p?.(n);- lb(o.x, e.x, n), lb(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (My(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Kne(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Tne(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Hy(), wy(f, this.relativeTarget)), c && (this.animationValues = a, pne(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;+ ub(o.x, e.x, n), ub(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (jy(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Gne(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Ene(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Vy(), Cy(f, this.relativeTarget)), c && (this.animationValues = a, mne(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);}startAnimation(e) {- this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (mg(this.pendingAnimation), void 0), this.pendingAnimation = pg.update(() => {- $y.hasAnimatedSinceResize = !0, this.motionValue ||= uv(0), this.motionValue.jump(0, !1), this.currentAnimation = hy(this.motionValue, [0, 1e3], {+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (pg(this.pendingAnimation), void 0), this.pendingAnimation = fg.update(() => {+ Qy.hasAnimatedSinceResize = !0, this.motionValue ||= lv(0), this.motionValue.jump(0, !1), this.currentAnimation = my(this.motionValue, [0, 1e3], {...e,velocity: 0,isSync: !0,@@ -19217,7 +19217,7 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkonComplete: () => {e.onComplete && e.onComplete(), this.completeAnimation();}- }), Eee(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;+ }), Dee(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;});}completeAnimation() {@@ -19226,20 +19226,20 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checke && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");}finishAnimation() {- this.currentAnimation && (this.mixTargetDelta?.(jne), this.currentAnimation.stop()), this.completeAnimation();+ this.currentAnimation && (this.mixTargetDelta?.(Mne), this.currentAnimation.stop()), this.completeAnimation();}applyTransformsToTarget() {let e = this.getLead(), { targetWithTransforms: t, layout: n, latestValues: r } = e, { target: i } = e;if (t && i && n) {- if (this !== e && this.layout && n && fb(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {+ if (this !== e && this.layout && n && pb(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {let { layoutBox: e } = this.layout, t = i;- i = this.target || Hy(), db(i.x, t.x, e.x), db(i.y, t.y, e.y);+ i = this.target || Vy(), fb(i.x, t.x, e.x), fb(i.y, t.y, e.y);}- wy(t, i), fy(t, r), Oy(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);+ Cy(t, i), dy(t, r), Oy(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);}}registerSharedNode(e, t) {- this.sharedNodes.has(e) || this.sharedNodes.set(e, new Ene()), this.sharedNodes.get(e).add(t);+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Dne()), this.sharedNodes.get(e).add(t);let n = t.options.initialPromotionConfig;t.promote({transition: n?.transition,@@ -19272,10 +19272,10 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checklet { visualElement: e } = this.options;if (!e) return;let { latestValues: t } = e;- if (!ey(t)) return;+ if (!$v(t)) return;let n = {};- for (let t = 0; t < eb.length; t++) tb(eb[t], e, n, this.animationValues);- for (let t = 0; t < Qv.length; t++) tb(Qv[t], e, n, this.animationValues);+ for (let t = 0; t < $y.length; t++) eb($y[t], e, n, this.animationValues);+ for (let t = 0; t < Zv.length; t++) eb(Zv[t], e, n, this.animationValues);e.render();for (let t in n) e.setStaticValue(t, n[t]), this.animationValues && (this.animationValues[t] = n[t]);e.scheduleRender();@@ -19289,70 +19289,70 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}let r = this.getTransformTemplate();if (this.needsReset) {- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = vy(t?.pointerEvents) || "", e.transform = r ? r(this.latestValues, "") : "none";+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = _y(t?.pointerEvents) || "", e.transform = r ? r(this.latestValues, "") : "none";return;}if (!this.projectionDelta || !this.layout || !n.target) {- (this.options.layoutId || this.needsShow) && (this.needsShow = !1, e.visibility = "", e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = vy(t?.pointerEvents) || ""), this.hasProjected && !$v(this.latestValues) && (e.transform = r ? r({}, "") : "none", this.hasProjected = !1);+ (this.options.layoutId || this.needsShow) && (this.needsShow = !1, e.visibility = "", e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = _y(t?.pointerEvents) || ""), this.hasProjected && !Qv(this.latestValues) && (e.transform = r ? r({}, "") : "none", this.hasProjected = !1);return;}e.visibility = "";let i = n.animationValues || n.latestValues;this.applyTransformsToTarget();- let a = One(this.projectionDeltaWithTransform, this.treeScale, i);+ let a = kne(this.projectionDeltaWithTransform, this.treeScale, i);r && (a = r(i, a)), e.transform = a;let { x: o, y: s } = this.projectionDelta;e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = n.animationValues ? n === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : n === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;- for (let t in gy) {+ for (let t in hy) {if (i[t] === void 0) continue;- let { correct: r, applyTo: o, isCSSVariable: s } = gy[t], c = a === "none" ? i[t] : r(i[t], n);+ let { correct: r, applyTo: o, isCSSVariable: s } = hy[t], c = a === "none" ? i[t] : r(i[t], n);if (o) {let t = o.length;for (let n = 0; n < t; n++) e[o[n]] = c;} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;}- this.options.layoutId && (e.pointerEvents = n === this ? vy(t?.pointerEvents) || "" : "none");+ this.options.layoutId && (e.pointerEvents = n === this ? _y(t?.pointerEvents) || "" : "none");}clearSnapshot() {this.resumeFrom = this.snapshot = this.dragSnapshot = this.dragAncestor = void 0;}resetTree() {- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(ob), this.root.sharedNodes.clear();+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(sb), this.root.sharedNodes.clear();}};}-function Nne(e) {- e.updateLayout(), zne(e);+function ab(e) {+ e.updateLayout(), Rne(e);}-function Pne(e) {+function ob(e) {let t = e.resumeFrom?.snapshot || e.snapshot;if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source, o = (r, a) => {- if (i === "size") Qy((e) => {+ if (i === "size") Zy((e) => {let t = Ey(r[e]);r[e].min = a[e].min, r[e].max = r[e].min + t;});else if (i === "x" || i === "y") {let e = i === "x" ? "y" : "x";- Cy(r[e], a[e]);- } else fb(i, t.layoutBox, n) && Qy((t) => {+ Sy(r[e], a[e]);+ } else pb(i, t.layoutBox, n) && Zy((t) => {let n = Ey(a[t]);r[t].max = r[t].min + n, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[t].max = e.relativeTarget[t].min + n);});}, s = a ? t.measuredBox : t.layoutBox;o(s, n);- let c = By();+ let c = zy();Oy(c, n, t.layoutBox);- let l = By();+ let l = zy();Oy(l, a ? e.applyTransform(r, !0) : n, s);- let u = !Wy(c), d = !1, f = e.getClosestProjectingParent();+ let u = !Uy(c), d = !1, f = e.getClosestProjectingParent();if ((!e.resumeFrom || f?.options.layoutRoot && e.resumeFrom.path.includes(f)) && f && !f.resumeFrom) {let { snapshot: r, layout: i } = f;if (r && i) {- let s = e.options.layoutAnchor || void 0, c = Hy();- My(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);- let l = Hy();- My(l, n, i.layoutBox, s), a && o(c, l), qy(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);+ let s = e.options.layoutAnchor || void 0, c = Vy();+ jy(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);+ let l = Vy();+ jy(l, n, i.layoutBox, s), a && o(c, l), Ky(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);}}e.notifyListeners("didUpdate", {@@ -19366,65 +19366,65 @@ function Pne(e) {} else e.isLead() && e.options.onExitComplete?.();e.options.transition = void 0;}-function Fne(e) {- _y.countProjection?.(0), e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);+function Pne(e) {+ gy.countProjection?.(0), e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);}-function Ine(e) {+function Fne(e) {e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;}-function Lne(e) {+function Ine(e) {e.clearSnapshot();}-function ob(e) {+function sb(e) {e.clearMeasurements();}-function Rne(e) {+function Lne(e) {e.isLayoutDirty = !0, e.updateLayout();}-function sb(e) {+function cb(e) {e.isLayoutDirty = !1;}-function zne(e) {+function Rne(e) {let { snapshot: t, dragAncestor: n } = e, r = n?.isAnimationBlocked && n.layout;if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;let i = n.dragSnapshot;- Qy((e) => ly(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));+ Zy((e) => cy(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));}-function Bne(e) {+function zne(e) {e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);}-function Vne(e) {+function Bne(e) {e.relativeTarget && e.relativeParent?.isLayoutDirty && (e.currentAnimation ? e.isLayoutDirty = !0 : (e.targetDelta = void 0, e.removeRelativeTarget()));}-function Hne(e) {+function Vne(e) {let { visualElement: t } = e.options;t?.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();}-function cb(e) {+function lb(e) {e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;}-function Une(e) {+function Hne(e) {e.resolveTargetDelta();}-function Wne(e) {+function Une(e) {e.calcProjection();}-function Gne(e) {+function Wne(e) {e.resetSkewAndRotation();}-function lb(e, t, n) {+function ub(e, t, n) {e.translate = Qh(t.translate, 0, n), e.scale = Qh(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;}-function ub(e, t, n, r) {+function db(e, t, n, r) {e.min = Qh(t.min, n.min, r), e.max = Qh(t.max, n.max, r);}-function Kne(e, t, n, r) {- ub(e.x, t.x, n.x, r), ub(e.y, t.y, n.y, r);+function Gne(e, t, n, r) {+ db(e.x, t.x, n.x, r), db(e.y, t.y, n.y, r);}-function qne(e) {+function Kne(e) {return e.animationValues?.opacityExit !== void 0;}-var Jne = {+var qne = {duration: .45,ease: [.4,@@ -19433,51 +19433,51 @@ var Jne = {1]};-function db(e, t, n) {+function fb(e, t, n) {e.max = Ey(n) + (e.min = t.min);}-function fb(e, t, n) {- return e === "position" || e === "preserve-aspect" && !bne(Jy(t), Jy(n), .2);+function pb(e, t, n) {+ return e === "position" || e === "preserve-aspect" && !bne(qy(t), qy(n), .2);}-function Yne(e) {+function Jne(e) {return e !== e.root && e.scroll?.wasRoot;}// node_modules/motion-dom/dist/es/events/add-dom-event.mjs-function pb(e, t, n, r = { passive: !0 }) {+function mb(e, t, n, r = { passive: !0 }) {return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);}// node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs-var Xne = /* @__PURE__ */ ab({- attachResizeListener: (e, t) => pb(e, "resize", t),- measureScroll: nne,+var Yne = /* @__PURE__ */ ib({+ attachResizeListener: (e, t) => mb(e, "resize", t),+ measureScroll: rne,checkIsScrollRoot: () => !0-}), mb = { current: void 0 }, hb = /* @__PURE__ */ ab({+}), hb = { current: void 0 }, gb = /* @__PURE__ */ ib({measureScroll: (e) => ({x: e.scrollLeft,y: e.scrollTop}),defaultParent: () => {- if (!mb.current) {- let e = new Xne({});- e.mount(window), e.setOptions({ layoutScroll: !0 }), mb.current = e;+ if (!hb.current) {+ let e = new Yne({});+ e.mount(window), e.setOptions({ layoutScroll: !0 }), hb.current = e;}- return mb.current;+ return hb.current;},resetTransform: (e, t) => {e.style.transform = t === void 0 ? "none" : t;},checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"-}), gb = /* @__PURE__ */ new WeakMap();+}), _b = /* @__PURE__ */ new WeakMap();// node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs-function _b(e) {+function vb(e) {return typeof e == "object" && !!e && typeof e.start == "function";}// node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs-function vb(e) {+function yb(e) {return typeof e == "string" || Array.isArray(e);}// node_modules/motion-dom/dist/es/render/utils/variant-props.mjs-var yb = [+var bb = ["animate","whileInView","whileFocus",@@ -19485,29 +19485,29 @@ var yb = ["whileTap","whileDrag","exit"-], bb = /* @__PURE__ */ ["initial"].concat(yb);+], xb = /* @__PURE__ */ ["initial"].concat(bb);// node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs-function xb(e) {- if (_b(e.animate)) return !0;- for (let t = 0; t < bb.length; t++) if (vb(e[bb[t]])) return !0;+function Sb(e) {+ if (vb(e.animate)) return !0;+ for (let t = 0; t < xb.length; t++) if (yb(e[xb[t]])) return !0;return !1;}-function Sb(e) {- return !!(xb(e) || e.variants);+function Cb(e) {+ return !!(Sb(e) || e.variants);}// node_modules/motion-dom/dist/es/render/utils/motion-values.mjs-function Zne(e, t, n) {+function Xne(e, t, n) {for (let r in t) {let i = t[r], a = n[r];- if (yv(i)) e.addValue(r, i);- else if (yv(a)) e.addValue(r, uv(i, { owner: e }));+ if (vv(i)) e.addValue(r, i);+ else if (vv(a)) e.addValue(r, lv(i, { owner: e }));else if (a !== i) {if (e.hasValue(r)) {let t = e.getValue(r);t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);} else {let t = e.getStaticValue(r);- e.addValue(r, uv(t === void 0 ? i : t, { owner: e }));+ e.addValue(r, lv(t === void 0 ? i : t, { owner: e }));}}}@@ -19515,17 +19515,17 @@ function Zne(e, t, n) {return t;}// node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs-var Cb = { current: null }, wb = { current: !1 }, Qne = typeof window < "u";-function Tb() {- if (wb.current = !0, Qne) {+var wb = { current: null }, Tb = { current: !1 }, Zne = typeof window < "u";+function Eb() {+ if (Tb.current = !0, Zne) {if (window.matchMedia) {- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => Cb.current = e.matches;+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => wb.current = e.matches;e.addEventListener("change", t), t();- } else Cb.current = !1;+ } else wb.current = !1;}}// node_modules/motion-dom/dist/es/render/VisualElement.mjs-var Eb = [+var Db = ["AnimationStart","AnimationComplete","Update",@@ -19533,35 +19533,35 @@ var Eb = ["LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"-], Db = {};-function Ob(e) {- Db = e;+], Ob = {};+function kb(e) {+ Ob = e;}-function $ne() {- return Db;+function Qne() {+ return Ob;}-var ere = class {+var $ne = class {scrapeMotionValuesFromProps(e, t, n) {return {};}constructor({ parent: e, props: t, presenceContext: n, reducedMotionConfig: r, skipAnimations: i, blockInitialAnimation: a, visualState: o }, s = {}) {- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = w_, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = C_, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));}, this.renderScheduledAt = 0, this.scheduleRender = () => {let e = $m.now();- this.renderScheduledAt < e && (this.renderScheduledAt = e, pg.render(this.render, !1, !0));+ this.renderScheduledAt < e && (this.renderScheduledAt = e, fg.render(this.render, !1, !0));};let { latestValues: c, renderState: l } = o;- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = xb(t), this.isVariantNode = Sb(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = Sb(t), this.isVariantNode = Cb(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);for (let e in d) {let t = d[e];- c[e] !== void 0 && yv(t) && t.set(c[e]);+ c[e] !== void 0 && vv(t) && t.set(c[e]);}}mount(e) {if (this.hasBeenMounted && !this.presenceContext?.keepValuesOnRemount) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];- if (this.current = e, gb.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {+ if (this.current = e, _b.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {let e = this;doe = e.props.inherit !== !1 && e.parent;@@ -19571,10 +19571,10 @@ var ere = class {t.add(this), this.removeFromVariantTree = () => t.delete(this);}}- this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (wb.current || Tb(), this.shouldReduceMotion = Cb.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;+ this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Tb.current || Eb(), this.shouldReduceMotion = wb.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;}unmount() {- this.projection?.unmount(), mg(this.notifyUpdate), mg(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree?.(), this.parent?.removeChild(this);+ this.projection?.unmount(), pg(this.notifyUpdate), pg(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree?.(), this.parent?.removeChild(this);for (let e in this.events) this.events[e].clear();for (let e in this.features) {let t = this.features[e];@@ -19589,8 +19589,8 @@ var ere = class {this.children.delete(e), this.enteringChildren?.delete(e);}bindToMotionValue(e, t) {- if (this.valueSubscriptions.get(e)?.(), t.accelerate && L_.has(e) && this.current instanceof HTMLElement) {- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new N_({+ if (this.valueSubscriptions.get(e)?.(), t.accelerate && I_.has(e) && this.current instanceof HTMLElement) {+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new M_({element: this.current,name: e,keyframes: r,@@ -19603,10 +19603,10 @@ var ere = class {});return;}- let n = f_.has(e);+ let n = d_.has(e);n && this.onBindTransform && this.onBindTransform();let r = t.on("change", (t) => {- this.latestValues[e] = t, this.props.onUpdate && pg.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), J_.get(this.current)?.check()), this.scheduleRender();+ this.latestValues[e] = t, this.props.onUpdate && fg.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), q_.get(this.current)?.check()), this.scheduleRender();}), i;typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {r(), i?.();@@ -19617,8 +19617,8 @@ var ere = class {}updateFeatures() {let e = "animation";- for (e in Db) {- let t = Db[e];+ for (e in Ob) {+ let t = Ob[e];if (!t) continue;let { isEnabled: n, Feature: r } = t;if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {@@ -19631,7 +19631,7 @@ var ere = class {this.build(this.renderState, this.latestValues, this.props);}measureViewportBox() {- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : Hy();+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : Vy();}getStaticValue(e) {return this.latestValues[e];@@ -19641,14 +19641,14 @@ var ere = class {}update(e, t) {let { transformTemplate: n, onUpdate: r } = this.props;- (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && J_.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;- for (let t = 0; t < Eb.length; t++) {- let n = Eb[t];+ (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && q_.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;+ for (let t = 0; t < Db.length; t++) {+ let n = Db[t];this.propEventSubscriptions[n]?.(), delete this.propEventSubscriptions[n];let r = e["on" + n];r && (this.propEventSubscriptions[n] = this.on(n, r));}- this.prevMotionValues = Zne(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();+ this.prevMotionValues = Xne(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();}getProps() {return this.props;@@ -19678,11 +19678,11 @@ var ere = class {}getValue(e, t) {let n = this.props.values?.[e];- return n || (n = this.values.get(e), n === void 0 && t !== void 0 && (n = uv(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n);+ return n || (n = this.values.get(e), n === void 0 && t !== void 0 && (n = lv(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n);}readValue(e, t) {let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);- return n != null && (typeof n == "string" && (vm(n) || bm(n)) ? n = parseFloat(n) : typeof n != "number" && !Jh.test(n) && Jh.test(t) && (n = e_(e, t)), this.setBaseTarget(e, yv(n) ? n.get() : n)), yv(n) ? n.get() : n;+ return n != null && (typeof n == "string" && (vm(n) || bm(n)) ? n = parseFloat(n) : typeof n != "number" && !Jh.test(n) && Jh.test(t) && (n = $g(e, t)), this.setBaseTarget(e, vv(n) ? n.get() : n)), vv(n) ? n.get() : n;}setBaseTarget(e, t) {this.baseTarget[e] = t;@@ -19694,11 +19694,11 @@ var ere = class {this.events[e]?.notify(...t);}scheduleRenderMicrotask() {- my.render(this.render);+ py.render(this.render);}-}, kb = class extends ere {+}, Ab = class extends $ne {constructor() {- super(...arguments), this.KeyframeResolver = Ev;+ super(...arguments), this.KeyframeResolver = Tv;}sortInstanceNodePosition(e, t) {return e.compareDocumentPosition(t) & 2 ? 1 : -1;@@ -19713,105 +19713,105 @@ var ere = class {handleChildMotionValue() {this.childSubscription && (this.childSubscription(), delete this.childSubscription);let { children: e } = this.props;- yv(e) && (this.childSubscription = e.on("change", (e) => {+ vv(e) && (this.childSubscription = e.on("change", (e) => {this.current && (this.current.textContent = `${e}`);}));}};// node_modules/motion-dom/dist/es/render/html/utils/render.mjs-function Ab(e, { style: t, vars: n }, r, i) {+function jb(e, { style: t, vars: n }, r, i) {let a = e.style, o;for (o in t) a[o] = t[o];for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);}// node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs-function jb(e, { layout: t, layoutId: n }) {- return f_.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!gy[e] || e === "opacity");+function Mb(e, { layout: t, layoutId: n }) {+ return d_.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!hy[e] || e === "opacity");}// node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs-function Mb(e, t, n) {+function Nb(e, t, n) {let r = e.style, i = t?.style, a = {};if (!r) return a;- for (let t in r) (yv(r[t]) || i && yv(i[t]) || jb(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);+ for (let t in r) (vv(r[t]) || i && vv(i[t]) || Mb(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);return a;}// node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs-function tre(e) {+function ere(e) {return window.getComputedStyle(e);}-var nre = class extends kb {+var tre = class extends Ab {constructor() {- super(...arguments), this.type = "html", this.renderInstance = Ab;+ super(...arguments), this.type = "html", this.renderInstance = jb;}mount(e) {super.mount(e);}readValueFromInstance(e, t) {- if (f_.has(t)) return this.projection?.isProjecting ? c_(t) : u_(e, t);+ if (d_.has(t)) return this.projection?.isProjecting ? s_(t) : l_(e, t);{- let n = tre(e), r = (nh(t) ? n.getPropertyValue(t) : n[t]) || 0;+ let n = ere(e), r = (nh(t) ? n.getPropertyValue(t) : n[t]) || 0;return typeof r == "string" ? r.trim() : r;}}measureInstanceViewportBox(e, { transformPagePoint: t }) {- return py(e, t);+ return fy(e, t);}build(e, t, n) {- Wv(e, t, n.transformTemplate);+ Uv(e, t, n.transformTemplate);}scrapeMotionValuesFromProps(e, t, n) {- return Mb(e, t, n);+ return Nb(e, t, n);}-}, Nb = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;+}, Pb = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;// node_modules/motion-dom/dist/es/events/event-info.mjs-function Pb(e) {+function Fb(e) {return { point: {x: e.pageX,y: e.pageY} };}-var rre = (e) => (t) => Nb(t) && e(t, Pb(t));+var nre = (e) => (t) => Pb(t) && e(t, Fb(t));// node_modules/motion-dom/dist/es/events/add-pointer-event.mjs-function Fb(e, t, n, r) {- return pb(e, t, rre(n), r);+function Ib(e, t, n, r) {+ return mb(e, t, nre(n), r);}// node_modules/motion-dom/dist/es/resize/handle-element.mjs-var Ib = /* @__PURE__ */ new WeakMap(), Lb, Rb = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Nv(r) && "getBBox" in r ? r.getBBox()[t] : r[n], ire = /*@__PURE__*/ Rb("inline", "width", "offsetWidth"), are = /*@__PURE__*/ Rb("block", "height", "offsetHeight");-function ore({ target: e, borderBoxSize: t }) {- Ib.get(e)?.forEach((n) => {+var Lb = /* @__PURE__ */ new WeakMap(), Rb, zb = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Mv(r) && "getBBox" in r ? r.getBBox()[t] : r[n], rre = /*@__PURE__*/ zb("inline", "width", "offsetWidth"), ire = /*@__PURE__*/ zb("block", "height", "offsetHeight");+function are({ target: e, borderBoxSize: t }) {+ Lb.get(e)?.forEach((n) => {n(e, {get width() {- return ire(e, t);+ return rre(e, t);},get height() {- return are(e, t);+ return ire(e, t);}});});}-function sre(e) {- e.forEach(ore);+function ore(e) {+ e.forEach(are);}-function cre() {- typeof ResizeObserver < "u" && (Lb = new ResizeObserver(sre));+function sre() {+ typeof ResizeObserver < "u" && (Rb = new ResizeObserver(ore));}-function lre(e, t) {- Lb || cre();- let n = Lv(e);+function cre(e, t) {+ Rb || sre();+ let n = Iv(e);return n.forEach((e) => {- let n = Ib.get(e);- n || (n = /* @__PURE__ */ new Set(), Ib.set(e, n)), n.add(t), Lb?.observe(e);+ let n = Lb.get(e);+ n || (n = /* @__PURE__ */ new Set(), Lb.set(e, n)), n.add(t), Rb?.observe(e);}), () => {n.forEach((e) => {- let n = Ib.get(e);- n?.delete(t), n?.size || Lb?.unobserve(e);+ let n = Lb.get(e);+ n?.delete(t), n?.size || Rb?.unobserve(e);});};}// node_modules/motion-dom/dist/es/resize/handle-window.mjs-var zb = /* @__PURE__ */ new Set(), Bb;-function ure() {- Bb = () => {+var Bb = /* @__PURE__ */ new Set(), Vb;+function lre() {+ Vb = () => {let e = {get width() {return window.innerWidth;@@ -19820,26 +19820,26 @@ function ure() {return window.innerHeight;}};- zb.forEach((t) => t(e));- }, window.addEventListener("resize", Bb);+ Bb.forEach((t) => t(e));+ }, window.addEventListener("resize", Vb);}-function dre(e) {- return zb.add(e), Bb || ure(), () => {- zb.delete(e), !zb.size && typeof Bb == "function" && (window.removeEventListener("resize", Bb), Bb = void 0);+function ure(e) {+ return Bb.add(e), Vb || lre(), () => {+ Bb.delete(e), !Bb.size && typeof Vb == "function" && (window.removeEventListener("resize", Vb), Vb = void 0);};}// node_modules/motion-dom/dist/es/resize/index.mjs-function Vb(e, t) {- return Fv(typeof e == "function" ? dre(e) : lre(e, t));+function Hb(e, t) {+ return Pv(typeof e == "function" ? ure(e) : cre(e, t));}// node_modules/motion-dom/dist/es/utils/distance.mjs-var Hb = (e, t) => Math.abs(e - t);-function fre(e, t) {- let n = Hb(e.x, t.x), r = Hb(e.y, t.y);+var Ub = (e, t) => Math.abs(e - t);+function dre(e, t) {+ let n = Ub(e.x, t.x), r = Ub(e.y, t.y);return Math.sqrt(n ** 2 + r ** 2);}// node_modules/motion-dom/dist/es/gestures/pan/PanSession.mjs-var Ub = /*#__PURE__*/ new Set(["auto", "scroll"]), Wb = class {+var Wb = /*#__PURE__*/ new Set(["auto", "scroll"]), Gb = class {constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.onElementScroll = (e) => {this.handleScroll(e.target);@@ -19847,8 +19847,8 @@ var Ub = /*#__PURE__*/ new Set(["auto", "scroll"]), Wb = class {this.handleScroll(window);}, this.updatePoint = () => {if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Kb(this.lastRawMoveEventInfo, this.transformPagePoint));- let e = Jb(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = fre(e.offset, {+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = qb(this.lastRawMoveEventInfo, this.transformPagePoint));+ let e = Yb(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = dre(e.offset, {x: 0,y: 0}) >= this.distanceThreshold;@@ -19861,87 +19861,87 @@ var Ub = /*#__PURE__*/ new Set(["auto", "scroll"]), Wb = class {let { onStart: i, onMove: a } = this.handlers;t || (i?.(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a?.(this.lastMoveEvent, e);}, this.handlePointerMove = (e, t) => {- this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Kb(t, this.transformPagePoint), this.hasPendingMove = !0, pg.update(this.updatePoint, !0);+ this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = qb(t, this.transformPagePoint), this.hasPendingMove = !0, fg.update(this.updatePoint, !0);}, this.handlePointerUp = (e, t) => {this.hasPendingMove && this.updatePoint(), this.end();let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;if ((this.dragSnapToOrigin || !this.startEvent) && i?.(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;- let a = Jb(e.type === "pointercancel" ? this.lastMoveEventInfo : Kb(t, this.transformPagePoint), this.history);+ let a = Yb(e.type === "pointercancel" ? this.lastMoveEventInfo : qb(t, this.transformPagePoint), this.history);this.startEvent && n?.(e, a), r?.(e, a);- }, !Nb(e)) return;+ }, !Pb(e)) return;this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;- let s = Kb(Pb(e), this.transformPagePoint), { point: c } = s;+ let s = qb(Fb(e), this.transformPagePoint), { point: c } = s;this.history = [{...c,timestamp: $m.now()}];let { onSessionStart: l } = t;- l && l(e, Jb(s, this.history));+ l && l(e, Yb(s, this.history));let u = {passive: !0,capture: !0};- this.removeListeners = Cm(Fb(this.contextWindow, "pointermove", this.handlePointerMove, u), Fb(this.contextWindow, "pointerup", this.handlePointerUp, u), Fb(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);+ this.removeListeners = Cm(Ib(this.contextWindow, "pointermove", this.handlePointerMove, u), Ib(this.contextWindow, "pointerup", this.handlePointerUp, u), Ib(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);}startScrollTracking(e) {let t = e.parentElement;for (; t;) {let e = getComputedStyle(t);- (Ub.has(e.overflowX) || Ub.has(e.overflowY)) && this.scrollPositions.set(t, Gb(t)), t = t.parentElement;+ (Wb.has(e.overflowX) || Wb.has(e.overflowY)) && this.scrollPositions.set(t, Kb(t)), t = t.parentElement;}- this.scrollPositions.set(window, Gb(window)), this.removeScrollListeners = Cm(pb(window, "scroll", this.onElementScroll, { capture: !0 }), pb(window, "scroll", this.onWindowScroll, {}));+ this.scrollPositions.set(window, Kb(window)), this.removeScrollListeners = Cm(mb(window, "scroll", this.onElementScroll, { capture: !0 }), mb(window, "scroll", this.onWindowScroll, {}));}handleScroll(e) {let t = this.scrollPositions.get(e);if (!t) return;- let n = e === window, r = Gb(e), i = {+ let n = e === window, r = Kb(e), i = {x: r.x - t.x,y: r.y - t.y};- (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), pg.update(this.updatePoint, !0));+ (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), fg.update(this.updatePoint, !0));}updateHandlers(e) {this.handlers = e;}end() {- this.removeListeners?.(), this.removeScrollListeners?.(), this.scrollPositions.clear(), mg(this.updatePoint);+ this.removeListeners?.(), this.removeScrollListeners?.(), this.scrollPositions.clear(), pg(this.updatePoint);}-}, Gb = (e) => e === window ? {+}, Kb = (e) => e === window ? {x: window.scrollX,y: window.scrollY} : {x: e.scrollLeft,y: e.scrollTop};-function Kb(e, t) {+function qb(e, t) {return t ? { point: t(e.point) } : e;}-function qb(e, t) {+function Jb(e, t) {return {x: e.x - t.x,y: e.y - t.y};}-function Jb({ point: e }, t) {+function Yb({ point: e }, t) {return {point: e,- delta: qb(e, Yb(t)),- offset: qb(e, pre(t)),- velocity: mre(t, .1)+ delta: Jb(e, Xb(t)),+ offset: Jb(e, fre(t)),+ velocity: pre(t, .1)};}-function pre(e) {+function fre(e) {return e[0];}-function Yb(e) {+function Xb(e) {return e[e.length - 1];}-function mre(e, t) {+function pre(e, t) {if (e.length < 2) return {x: 0,y: 0};- let n = e.length - 1, r = null, i = Yb(e);+ let n = e.length - 1, r = null, i = Xb(e);for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Em(t)));) n--;if (!r) return {x: 0,@@ -19960,95 +19960,95 @@ function mre(e, t) {return o.x === Infinity && (o.x = 0), o.y === Infinity && (o.y = 0), o;}// node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs-var hre = /* @__PURE__ */ new Set([+var mre = /* @__PURE__ */ new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);-function gre(e) {- return hre.has(e.tagName) || e.isContentEditable === !0;+function hre(e) {+ return mre.has(e.tagName) || e.isContentEditable === !0;}-var _re = /* @__PURE__ */ new Set([+var gre = /* @__PURE__ */ new Set(["INPUT","SELECT","TEXTAREA"]);-function vre(e) {- return _re.has(e.tagName) || e.isContentEditable === !0;+function _re(e) {+ return gre.has(e.tagName) || e.isContentEditable === !0;}// node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs-var Xb = {+var Zb = {x: !1,y: !1};-function Zb() {- return Xb.x || Xb.y;+function Qb() {+ return Zb.x || Zb.y;}// node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs-function Qb(e) {- return e === "x" || e === "y" ? Xb[e] ? null : (Xb[e] = !0, () => {- Xb[e] = !1;- }) : Xb.x || Xb.y ? null : (Xb.x = Xb.y = !0, () => {- Xb.x = Xb.y = !1;+function $b(e) {+ return e === "x" || e === "y" ? Zb[e] ? null : (Zb[e] = !0, () => {+ Zb[e] = !1;+ }) : Zb.x || Zb.y ? null : (Zb.x = Zb.y = !0, () => {+ Zb.x = Zb.y = !1;});}// node_modules/motion-dom/dist/es/gestures/drag/utils/constraints.mjs-function $b(e, { min: t, max: n }, r) {+function ex(e, { min: t, max: n }, r) {return t !== void 0 && e < t ? e = r ? Qh(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Qh(n, e, r.max) : Math.min(e, n)), e;}-function ex(e, t, n) {+function tx(e, t, n) {return {min: t === void 0 ? void 0 : e.min + t,max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)};}-function tx(e, { top: t, left: n, bottom: r, right: i }) {+function nx(e, { top: t, left: n, bottom: r, right: i }) {return {- x: ex(e.x, n, i),- y: ex(e.y, t, r)+ x: tx(e.x, n, i),+ y: tx(e.y, t, r)};}-function nx(e, t) {+function rx(e, t) {let n = t.min - e.min, r = t.max - e.max;return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), {min: n,max: r};}-function yre(e, t) {+function vre(e, t) {return {- x: nx(e.x, t.x),- y: nx(e.y, t.y)+ x: rx(e.x, t.x),+ y: rx(e.y, t.y)};}-function bre(e, t) {+function yre(e, t) {let n = .5, r = Ey(e), i = Ey(t);return i > r ? n = /* @__PURE__ */ wm(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ wm(e.min, e.max - i, t.min)), gm(0, 1, n);}-function xre(e, t) {+function bre(e, t) {let n = {};return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;}-var rx = .35;-function Sre(e = rx) {- return e === !1 ? e = 0 : e === !0 && (e = rx), {- x: ix(e, "left", "right"),- y: ix(e, "top", "bottom")+var ix = .35;+function xre(e = ix) {+ return e === !1 ? e = 0 : e === !0 && (e = ix), {+ x: ax(e, "left", "right"),+ y: ax(e, "top", "bottom")};}-function ix(e, t, n) {+function ax(e, t, n) {return {- min: ax(e, t),- max: ax(e, n)+ min: ox(e, t),+ max: ox(e, n)};}-function ax(e, t) {+function ox(e, t) {return typeof e == "number" ? e : e[t] || 0;}// node_modules/motion-dom/dist/es/gestures/drag/VisualElementDragControls.mjs-function ox(e) {+function sx(e) {let t = "";for (let n of e.path) {n.scroll = void 0, n.updateScroll();@@ -20057,12 +20057,12 @@ function ox(e) {}return t;}-var Cre = /* @__PURE__ */ new WeakMap(), wre = class {+var Sre = /* @__PURE__ */ new WeakMap(), Cre = class {constructor(e, t = () => e.getProps()) {this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {x: 0,y: 0- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = Hy(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = Vy(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;}start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {if (this.visualElement.presenceContext?.isPresent === !1) return;@@ -20070,28 +20070,28 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = class {t && this.snapToCursor(e), this.stopAnimation();}, i = (e, t) => {let { drag: n, dragConstraints: r, dragPropagation: i, onDragStart: a } = this.getProps();- if (n && !i && (this.openDragLock?.(), this.openDragLock = Qb(n), !this.openDragLock)) return;+ if (n && !i && (this.openDragLock?.(), this.openDragLock = $b(n), !this.openDragLock)) return;this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints();let { projection: o } = this.visualElement;- o && (o.isAnimationBlocked = !0, o.target = void 0), Qy((e) => {+ o && (o.isAnimationBlocked = !0, o.target = void 0), Zy((e) => {let t = this.getAxisMotionValue(e).get() || 0;- if (ih(t) && (t = mv(t, this.visualElement.current) || 0), wh.test(t)) t = parseFloat(t);+ if (ih(t) && (t = pv(t, this.visualElement.current) || 0), wh.test(t)) t = parseFloat(t);else if (Ch.test(t)) {let n = o?.layout?.layoutBox[e];n && (t = Ey(n) * (parseFloat(t) / 100));}this.originPoint[e] = t;- }), this.point = typeof r == "function" && r(this), a && pg.update(() => a(e, t), !1, !0), bv(this.visualElement, "transform"), this.visualElement.animationState?.setActive("whileDrag", !0);+ }), this.point = typeof r == "function" && r(this), a && fg.update(() => a(e, t), !1, !0), yv(this.visualElement, "transform"), this.visualElement.animationState?.setActive("whileDrag", !0);}, a = (e, t) => {this.latestPointerEvent = e, this.latestPanInfo = t;let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();if (!n && !this.openDragLock) return;let { offset: o } = t;if (r && this.currentDirection === null) {- if (this.currentDirection = Ere(o), this.currentDirection === null) return;+ if (this.currentDirection = Tre(o), this.currentDirection === null) return;i && i(this.currentDirection);}- this.updateAxis("x", o), this.updateAxis("y", o), this.point && this.point.move(), this.visualElement.render(), a && pg.update(() => a(e, t), !1, !0);+ this.updateAxis("x", o), this.updateAxis("y", o), this.point && this.point.move(), this.visualElement.render(), a && fg.update(() => a(e, t), !1, !0);}, o = (e, t) => {this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;}, s = () => {@@ -20101,7 +20101,7 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = class {y: 0});}, { dragSnapToOrigin: c } = this.getProps();- this.panSession = new Wb(e, {+ this.panSession = new Gb(e, {onSessionStart: r,onStart: i,onMove: a,@@ -20121,7 +20121,7 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = class {let { velocity: o } = i;this.startAnimation(o, n);let { onDragEnd: s } = this.getProps();- s && pg.postRender(() => s(r, i));+ s && fg.postRender(() => s(r, i));}cancel() {this.isDragging = !1;@@ -20133,26 +20133,26 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = class {}updateAxis(e, t) {let { drag: n } = this.readProps();- if (!t || !ux(e, n, this.currentDirection)) return;+ if (!t || !dx(e, n, this.currentDirection)) return;let r = this.getAxisMotionValue(e), i = this.originPoint[e] + t[e], a = this.constraints && this.constraints[e];- a && (i = $b(i, a, this.elastic[e])), this.point ? this.point[e] = i : r.set(i);+ a && (i = ex(i, a, this.elastic[e])), this.point ? this.point[e] = i : r.set(i);}resolveConstraints() {let { dragConstraints: e, dragElastic: t } = this.getProps(), { projection: n } = this.visualElement, r = n && (n.layout || n.measure(!1)), i = this.constraints;- sx(e) ? this.constraints && this.scroll === ox(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? tx(r.layoutBox, e) : !1, this.elastic = Sre(t), i !== this.constraints && !sx(e) && r && this.constraints && !this.hasMutatedConstraints && Qy((e) => {- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = xre(r.layoutBox[e], this.constraints[e]));+ cx(e) ? this.constraints && this.scroll === sx(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? nx(r.layoutBox, e) : !1, this.elastic = xre(t), i !== this.constraints && !cx(e) && r && this.constraints && !this.hasMutatedConstraints && Zy((e) => {+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = bre(r.layoutBox[e], this.constraints[e]));});}resolveRefConstraints() {let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();- if (!sx(e)) return !1;- let n = cx(e), { projection: r } = this.visualElement;+ if (!cx(e)) return !1;+ let n = lx(e), { projection: r } = this.visualElement;if (!r || !r.layout) return !1;- this.scroll = ox(r);- let i = tne(n, r.root, this.visualElement.getTransformPagePoint()), a = yre(r.layout.layoutBox, r.removeElementScroll(i));+ this.scroll = sx(r);+ let i = nne(n, r.root, this.visualElement.getTransformPagePoint()), a = vre(r.layout.layoutBox, r.removeElementScroll(i));if (t) {- let e = t(Qte(a));- this.hasMutatedConstraints = !!e, e && (a = Yv(e));+ let e = t($te(a));+ this.hasMutatedConstraints = !!e, e && (a = Jv(e));}return a;}@@ -20164,13 +20164,13 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = class {restDelta: 1,restSpeed: 10,...a- }, l = (i) => r && !(this.point && o) && ux(i, t || n, this.currentDirection) ? e[i] : 0;+ }, l = (i) => r && !(this.point && o) && dx(i, t || n, this.currentDirection) ? e[i] : 0;if (this.point && !o) return this.point.release({x: l("x"),y: l("y")}, c).then(s);- let u = this.constraints || {}, d = Qy((e) => {- if (!ux(e, t || n, this.currentDirection)) return;+ let u = this.constraints || {}, d = Zy((e) => {+ if (!dx(e, t || n, this.currentDirection)) return;let r = u[e] || {};(o === !0 || o === e) && (r = {min: 0,@@ -20188,10 +20188,10 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = class {}startAxisValueAnimation(e, t) {let n = this.getAxisMotionValue(e);- return bv(this.visualElement, e), n.start(pv(e, n, 0, t, this.visualElement, !1));+ return yv(this.visualElement, e), n.start(fv(e, n, 0, t, this.visualElement, !1));}stopAnimation() {- Qy((e) => this.getAxisMotionValue(e).stop());+ Zy((e) => this.getAxisMotionValue(e).stop());}getAxisMotionValue(e) {let t = `_drag${e.toUpperCase()}`;@@ -20202,8 +20202,8 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = class {x: e,y: t}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();- Qy((e) => {- if (!ux(e, n, this.currentDirection)) return;+ Zy((e) => {+ if (!dx(e, n, this.currentDirection)) return;let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];t.set((t.get() || 0) + i[e] - Qh(r, o, .5));});@@ -20211,41 +20211,41 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = class {scalePositionWithinConstraints() {if (!this.visualElement.current) return;let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;- if (!sx(t) || !n || !this.constraints) return;+ if (!cx(t) || !n || !this.constraints) return;this.stopAnimation();let r = this.constraints, i = {x: 0,y: 0};- Qy((e) => {+ Zy((e) => {let t = this.getAxisMotionValue(e).get();- i[e] = bre({+ i[e] = yre({min: t,max: t}, r[e]);});let { transformTemplate: a } = this.visualElement.getProps();- this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), Qy((t) => {+ this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), Zy((t) => {let n = this.getAxisMotionValue(t);- if (!ux(t, e, null) || !n.get()) return;+ if (!dx(t, e, null) || !n.get()) return;let { min: r, max: a } = this.constraints[t];n.set(Qh(r, a, i[t]));}), this.visualElement.render();}addListeners() {if (!this.visualElement.current) return;- Cre.set(this.visualElement, this);- let e = this.visualElement.current, t = Fb(e, "pointerdown", (t) => {- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && vre(i);+ Sre.set(this.visualElement, this);+ let e = this.visualElement.current, t = Ib(e, "pointerdown", (t) => {+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && _re(i);n && r && !a && this.start(t);}), n, r = () => {- let { dragConstraints: t } = this.getProps(), r = sx(t) && cx(t);- r && (this.constraints = this.resolveRefConstraints(), n ||= Tre(e, r, () => this.scalePositionWithinConstraints()));+ let { dragConstraints: t } = this.getProps(), r = cx(t) && lx(t);+ r && (this.constraints = this.resolveRefConstraints(), n ||= wre(e, r, () => this.scalePositionWithinConstraints()));}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);- i.layout || (i.root?.updateScroll(), i.updateLayout()), pg.read(r);- let o = pb(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {- this.isDragging && t && (Qy((t) => {- if (!ux(t, this.getProps().drag, this.currentDirection)) return;+ i.layout || (i.root?.updateScroll(), i.updateLayout()), fg.read(r);+ let o = mb(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {+ this.isDragging && t && (Zy((t) => {+ if (!dx(t, this.getProps().drag, this.currentDirection)) return;let n = this.getAxisMotionValue(t);this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate);}), this.visualElement.render());@@ -20255,7 +20255,7 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = class {};}getProps() {- let e = this.readProps(), { dragElastic: t = rx, dragMomentum: n = !0 } = e;+ let e = this.readProps(), { dragElastic: t = ix, dragMomentum: n = !0 } = e;return {...e,dragElastic: t,@@ -20263,32 +20263,32 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = class {};}};-function sx(e) {+function cx(e) {return !!e && typeof e == "object" && ("current" in e || "nodeType" in e);}-var cx = (e) => "current" in e ? e.current : e;-function lx(e) {+var lx = (e) => "current" in e ? e.current : e;+function ux(e) {let t = !0;return () => {t ? t = !1 : e();};}-function Tre(e, t, n) {- let r = Vb(e, lx(n)), i = Vb(t, lx(n));+function wre(e, t, n) {+ let r = Hb(e, ux(n)), i = Hb(t, ux(n));return () => {r(), i();};}-function ux(e, t, n) {+function dx(e, t, n) {return (t === !0 || t === e) && (n === null || n === e);}-function Ere(e, t = 10) {+function Tre(e, t = 10) {let n = null;return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;}// node_modules/motion-dom/dist/es/gestures/utils/setup.mjs-function dx(e, t) {- let n = Lv(e), r = new AbortController();+function fx(e, t) {+ let n = Iv(e), r = new AbortController();return [n,{@@ -20296,16 +20296,16 @@ function dx(e, t) {...t,signal: r.signal},- Fv(() => r.abort())+ Pv(() => r.abort())];}// node_modules/motion-dom/dist/es/gestures/hover.mjs-function Dre(e) {- return !(e.pointerType === "touch" || Zb());+function Ere(e) {+ return !(e.pointerType === "touch" || Qb());}-function Ore(e, t, n = {}) {- t = Iv(t);- let [r, i, a] = dx(e, n);+function Dre(e, t, n = {}) {+ t = Fv(t);+ let [r, i, a] = fx(e, n);return r.forEach((e) => {let n = !1, r = !1, a, o = () => {e.removeEventListener("pointerleave", u);@@ -20319,7 +20319,7 @@ function Ore(e, t, n = {}) {e.pointerType !== "touch" && (n ? r = !0 : s(e));};e.addEventListener("pointerenter", (n) => {- if (!Dre(n)) return;+ if (!Ere(n)) return;r = !1;let o = t(e, n);typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));@@ -20327,71 +20327,71 @@ function Ore(e, t, n = {}) {}), a;}// node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs-var fx = (e, t) => t ? e === t || fx(e, t.parentElement) : !1, px = /* @__PURE__ */ new WeakSet();+var px = (e, t) => t ? e === t || px(e, t.parentElement) : !1, mx = /* @__PURE__ */ new WeakSet();// node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs-function mx(e) {+function hx(e) {return (t) => {t.key === "Enter" && e(t);};}-function hx(e, t) {+function gx(e, t) {e.dispatchEvent(new PointerEvent("pointer" + t, {isPrimary: !0,bubbles: !0}));}-var kre = (e, t) => {- let n = !1, r = mx(() => {- px.has(e) || (n = !0, hx(e, "down"));- }), i = mx(() => {- n && (n = !1, hx(e, "up"));+var Ore = (e, t) => {+ let n = !1, r = hx(() => {+ mx.has(e) || (n = !0, gx(e, "down"));+ }), i = hx(() => {+ n && (n = !1, gx(e, "up"));});e.addEventListener("keydown", r, t), e.addEventListener("keyup", i, t), e.addEventListener("blur", () => {- e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && hx(e, "cancel");+ e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && gx(e, "cancel");}, {...t,once: !0});};// node_modules/motion-dom/dist/es/gestures/press/index.mjs-function gx(e) {- return Nb(e) && !Zb();+function _x(e) {+ return Pb(e) && !Qb();}-var _x = /* @__PURE__ */ new WeakSet();-function Are(e, t, n = {}) {- t = Iv(t);- let [r, i, a] = dx(e, n), o = (e) => {+var vx = /* @__PURE__ */ new WeakSet();+function kre(e, t, n = {}) {+ t = Fv(t);+ let [r, i, a] = fx(e, n), o = (e) => {let r = e.currentTarget;- if (!gx(e) || _x.has(e)) return;- px.add(r), n.stopPropagation && _x.add(e);+ if (!_x(e) || vx.has(e)) return;+ mx.add(r), n.stopPropagation && vx.add(e);let a = t(r, e), o = {...i,capture: !0}, s = (e, t) => {- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), px.has(r) && px.delete(r), gx(e) && typeof a == "function" && a(e, { success: t });+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), mx.has(r) && mx.delete(r), _x(e) && typeof a == "function" && a(e, { success: t });}, c = (e) => {- s(e, r === window || r === document || n.useGlobalTarget || fx(r, e.target));+ s(e, r === window || r === document || n.useGlobalTarget || px(r, e.target));}, l = (e) => {s(e, !1);};window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);};return r.forEach((e) => {- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Mv(e) && (e.addEventListener("focus", () => kre(e, i), i), !gre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), jv(e) && (e.addEventListener("focus", () => Ore(e, i), i), !hre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));}), a;}// node_modules/motion-dom/dist/es/render/dom/style-computed.mjs-function vx(e, t) {+function yx(e, t) {let n = window.getComputedStyle(e);- return T_(t) ? n.getPropertyValue(t) : n[t];+ return w_(t) ? n.getPropertyValue(t) : n[t];}// node_modules/motion-dom/dist/es/render/Feature.mjs-var yx = class {+var bx = class {constructor(e) {this.isMounted = !1, this.node = e;}update() {}-}, bx = /* @__PURE__ */ new Set([+}, xx = /* @__PURE__ */ new Set(["baseFrequency","diffuseConstant","kernelMatrix",@@ -20415,58 +20415,58 @@ var yx = class {"startOffset","textLength","lengthAdjust"-]), xx = (e) => typeof e == "string" && e.toLowerCase() === "svg";+]), Sx = (e) => typeof e == "string" && e.toLowerCase() === "svg";// node_modules/motion-dom/dist/es/render/svg/utils/render.mjs-function jre(e, t, n, r) {- Ab(e, t, void 0, r);- for (let n in t.attrs) e.setAttribute(bx.has(n) ? n : Uv(n), t.attrs[n]);+function Are(e, t, n, r) {+ jb(e, t, void 0, r);+ for (let n in t.attrs) e.setAttribute(xx.has(n) ? n : Hv(n), t.attrs[n]);}// node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs-function Sx(e, t, n) {- let r = Mb(e, t, n);- for (let n in e) if (n !== "children" && (yv(e[n]) || yv(t[n]))) {- let t = d_.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);+function Cx(e, t, n) {+ let r = Nb(e, t, n);+ for (let n in e) if (n !== "children" && (vv(e[n]) || vv(t[n]))) {+ let t = u_.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);r[t] = e[n];}return r;}// node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs-var Mre = class extends kb {+var jre = class extends Ab {constructor() {- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = Hy;+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = Vy;}getBaseTargetFromProps(e, t) {- return f_.has(t) ? super.getBaseTargetFromProps(e, t) ?? c_(t) : e[t];+ return d_.has(t) ? super.getBaseTargetFromProps(e, t) ?? s_(t) : e[t];}getDefaultValue(e) {- return f_.has(e) ? this.latestValues[e] ?? c_(e) : void 0;+ return d_.has(e) ? this.latestValues[e] ?? s_(e) : void 0;}readValueFromInstance(e, t) {- if (f_.has(t)) {- let e = $g(t);+ if (d_.has(t)) {+ let e = Qg(t);return e && e.default || 0;}- if (Gv.includes(t)) {+ if (Wv.includes(t)) {let n = getComputedStyle(e)[t];if (typeof n == "string" && n) return n.trim();}- return t = bx.has(t) ? t : Uv(t), e.getAttribute(t);+ return t = xx.has(t) ? t : Hv(t), e.getAttribute(t);}scrapeMotionValuesFromProps(e, t, n) {- return Sx(e, t, n);+ return Cx(e, t, n);}build(e, t, n) {- Kv(e, t, this.isSVGTag, n.transformTemplate, n.style);+ Gv(e, t, this.isSVGTag, n.transformTemplate, n.style);}renderInstance(e, t, n, r) {- jre(e, t, n, r);+ Are(e, t, n, r);}mount(e) {- this.isSVGTag = xx(e.tagName), super.mount(e);+ this.isSVGTag = Sx(e.tagName), super.mount(e);}};// node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs-function Cx(e, t) {+function wx(e, t) {if (!Array.isArray(t)) return !1;let n = t.length;if (n !== e.length) return !1;@@ -20474,18 +20474,18 @@ function Cx(e, t) {return !0;}// node_modules/motion-dom/dist/es/render/utils/animation-state.mjs-var Nre = [...yb].reverse(), wx = (e) => e?.out === !0 ? e : e?.out;-function Pre(e) {- let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Ate(e, t, n))), n = Tx(), r = !0, i = !1;+var Mre = [...bb].reverse(), Tx = (e) => e?.out === !0 ? e : e?.out;+function Nre(e) {+ let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => jte(e, t, n))), n = Ex(), r = !0, i = !1;function a(a) {- let { props: o, parent: s, manuallyAnimateOnMount: c } = e, { initial: l } = o, u = r || i, d = [], f = (t = l) => typeof t != "boolean" && gv(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom) || void 0, p = /* @__PURE__ */ new Map(), m = {}, h = Infinity, g = e;+ let { props: o, parent: s, manuallyAnimateOnMount: c } = e, { initial: l } = o, u = r || i, d = [], f = (t = l) => typeof t != "boolean" && hv(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom) || void 0, p = /* @__PURE__ */ new Map(), m = {}, h = Infinity, g = e;dog = g.props.inherit !== !1 && g.parent;while (g && !g.isControllingVariants);- let _ = u && wx(f(l ?? (g && g.props.initial))?.transition);- if (Nre.forEach((t, r) => {- let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? vb(f) || f === !1 ? f : void 0 : l, y = vb(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);- if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || _b(v) || typeof v == "boolean") return;+ let _ = u && Tx(f(l ?? (g && g.props.initial))?.transition);+ if (Mre.forEach((t, r) => {+ let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? yb(f) || f === !1 ? f : void 0 : l, y = yb(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);+ if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || vb(v) || typeof v == "boolean") return;if (b === !1 && (h = r), t === "exit" && i.isActive && b !== !0) {m = {...m,@@ -20493,14 +20493,14 @@ function Pre(e) {};return;}- let S = Fre(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;+ let S = Pre(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;if (b !== !1) for (let n of T) {- let { transition: r, transitionEnd: i, ...a } = gv(e, n, _v(e, t)) || {};+ let { transition: r, transitionEnd: i, ...a } = hv(e, n, gv(e, t)) || {};E = {...E,...a,...i- }, D = wx(r) || D;+ }, D = Tx(r) || D;}let { prevResolvedValues: O } = i;for (let t in {@@ -20508,7 +20508,7 @@ function Pre(e) {...E}) {if (t in m) continue;- let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !Cx(n, r) || S : n !== r, o;+ let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !wx(n, r) || S : n !== r, o;if (a && n == null) p.has(t) || p.set(t, i.prevOut);else if (a || n !== void 0 && p.has(t)) {C = !0, o = p.get(t) || _, p.delete(t) && (w = !0), i.needsAnimating[t] = !0;@@ -20523,8 +20523,8 @@ function Pre(e) {}), C && (!(x && S) || w)) for (let n of T) {let r = { type: t };if (typeof n == "string" && u && c && s?.enteringChildren) {- let t = gv(s, n)?.transition?.delayChildren;- r.delay = ov(s.enteringChildren, e, t);+ let t = hv(s, n)?.transition?.delayChildren;+ r.delay = av(s.enteringChildren, e, t);}d.push({animation: n,@@ -20541,7 +20541,7 @@ function Pre(e) {let s = e.getValue(a);s && (s.liveStyle = !0);let c = n && !Array.isArray(l) ? n[a] : void 0, u = e.getBaseTargetFromProps(o, a);- t[a] = (c === void 0 ? u !== void 0 && !yv(u) ? u : e.initialValues[a] === void 0 ? e.baseTarget[a] : void 0 : c) ?? null;+ t[a] = (c === void 0 ? u !== void 0 && !vv(u) ? u : e.initialValues[a] === void 0 ? e.baseTarget[a] : void 0 : c) ?? null;}), r && (t.transition = r), d.push({ animation: t });}let v = u && e.blockInitialAnimation || r && !c && (o.initial === !1 || o.initial === o.animate);@@ -20562,16 +20562,16 @@ function Pre(e) {},getState: () => n,reset: () => {- n = Tx(), i = !0;+ n = Ex(), i = !0;}};}-function Fre(e, t) {- return typeof t == "string" ? t !== e : Array.isArray(t) ? !Cx(t, e) : !1;+function Pre(e, t) {+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !wx(t, e) : !1;}-function Tx() {+function Ex() {let e = {};- for (let t of yb) e[t] = {+ for (let t of bb) e[t] = {isActive: t === "animate",protectedKeys: {},needsAnimating: {},@@ -20581,55 +20581,55 @@ function Tx() {return e;}// node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs-var Ex = /* @__PURE__ */ (0, F.createContext)({+var Dx = /* @__PURE__ */ (0, F.createContext)({transformPagePoint: (e) => e,isStatic: !1,reducedMotion: "never"});// node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs-function Dx(e, t) {+function Ox(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}-function Ire(...e) {+function Fre(...e) {return (t) => {let n = !1, r = e.map((e) => {- let r = Dx(e, t);+ let r = Ox(e, t);return !n && typeof r == "function" && (n = !0), r;});if (n) return () => {for (let t = 0; t < r.length; t++) {let n = r[t];- typeof n == "function" ? n() : Dx(e[t], null);+ typeof n == "function" ? n() : Ox(e[t], null);}};};}-function Lre(...e) {- return F.useCallback(Ire(...e), e);+function Ire(...e) {+ return F.useCallback(Fre(...e), e);}// node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs-var Ox = (e) => {+var kx = (e) => {let { width: t, height: n } = e?.getBoundingClientRect() || {};return [t / e?.offsetWidth || 1, n / e?.offsetHeight || 1];-}, kx = (e) => {+}, Ax = (e) => {let { left: t, top: n } = e.getBoundingClientRect(), r = e;for (; r = r.parentElement || r.parentNode?.host;) {let { scrollLeft: e, scrollTop: i } = r;if (e || i) {- let [a, o] = Ox(r);+ let [a, o] = kx(r);t += e * a, n += i * o;}if (getComputedStyle(r).position === "fixed") break;}- let [i, a] = Ox(e.offsetParent);+ let [i, a] = kx(e.offsetParent);return [t / i, n / a];-}, Rre = class extends F.Component {+}, Lre = class extends F.Component {getSnapshotBeforeUpdate(e) {let t = this.props.getElement();- if (Mv(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {- let e = t.offsetParent, n = Mv(e) && e.offsetWidth || 0, r = Mv(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;- a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = kx(t);+ if (jv(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {+ let e = t.offsetParent, n = jv(e) && e.offsetWidth || 0, r = jv(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;+ a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = Ax(t);}return null;}@@ -20638,7 +20638,7 @@ var Ox = (e) => {return this.props.children;}};-function zre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {+function Rre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {let s = (0, F.useId)(), c = (0, F.useRef)(null), l = (0, F.useRef)({width: 0,height: 0,@@ -20647,7 +20647,7 @@ function zre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:right: 0,bottom: 0,direction: "ltr"- }), { nonce: u } = (0, F.useContext)(Ex), d = Lre(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {+ }), { nonce: u } = (0, F.useContext)(Dx), d = Ire(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {let { width: t, height: i, top: a, left: o, right: c, bottom: u, direction: d } = l.current, f = d === "rtl", p = n === "left" ? f ? `right:${c}` : `left:${o}` : f ? `left:${o}` : `right:${c}`, m = r === "bottom" ? `bottom:${u}` : `top:${a}`;e?.insertRule(`[data-motion-pop-id="${s}"]{position:absolute!important;width:${t}px!important;height:${i}px!important;${p}px!important;${m}px!important}`);};@@ -20660,10 +20660,10 @@ function zre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:let d = i ?? o.head;d.appendChild(c), p(c.sheet);let m = 0, h = 0;- return my.setup(() => {- let [e, t] = kx(r);+ return py.setup(() => {+ let [e, t] = Ax(r);m = l.current.point[0] - e, h = l.current.point[1] - t;- }), my.read(() => {+ }), py.read(() => {let { sheet: e } = c;if (!e || !m && !h) return;let t = l.current;@@ -20671,7 +20671,7 @@ function zre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:}), () => {r.removeAttribute("data-motion-pop-id"), d.contains(c) && d.removeChild(c);};- }, [t]), (0, I.jsx)(Rre, {+ }, [t]), (0, I.jsx)(Lre, {isPresent: t,getElement: f,sizeRef: l,@@ -20680,8 +20680,8 @@ function zre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:});}// node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs-var Bre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {- let u = dm(Vre), d = (0, F.useId)(), f = (0, F.useRef)(), p = (0, F.useRef)(n), m = (0, F.useRef)(r);+var zre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {+ let u = dm(Bre), d = (0, F.useId)(), f = (0, F.useRef)(), p = (0, F.useRef)(n), m = (0, F.useRef)(r);fm(() => {p.current = n, m.current = r;});@@ -20707,7 +20707,7 @@ var Bre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: iu.forEach((e, t) => u.set(t, !1));}, [n]), F.useEffect(() => {!n && !u.size && r && r();- }, [n]), e = (0, I.jsx)(zre, {+ }, [n]), e = (0, I.jsx)(Rre, {pop: o === "popLayout",isPresent: n,anchorX: s,@@ -20720,11 +20720,11 @@ var Bre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: ichildren: e});};-function Vre() {+function Bre() {return /* @__PURE__ */ new Map();}// node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs-function Ax(e = !0) {+function jx(e = !0) {let t = (0, F.useContext)(pm);if (t === null) return [!0, null];let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, F.useId)();@@ -20738,23 +20738,23 @@ function Ax(e = !0) {]);return !n && r ? [!1, o] : [!0];}-function jx() {- return Hre((0, F.useContext)(pm));+function Mx() {+ return Vre((0, F.useContext)(pm));}-function Hre(e) {+function Vre(e) {return e === null || e.isPresent;}// node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs-var Mx = (e) => e.key || "";-function Nx(e) {+var Nx = (e) => e.key || "";+function Px(e) {let t = [];return F.Children.forEach(e, (e) => {(0, F.isValidElement)(e) && t.push(e);}), t;}// node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs-var Px = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {- let [u, d] = Ax(o), f = (0, F.useMemo)(() => Nx(e), [e]), p = o && !u ? [] : f.map(Mx), m = (0, F.useRef)(!0), h = dm(() => /* @__PURE__ */ new Map()), g = (0, F.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, F.useState)(f), [y, b] = (0, F.useState)(f);+var Fx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {+ let [u, d] = jx(o), f = (0, F.useMemo)(() => Px(e), [e]), p = o && !u ? [] : f.map(Nx), m = (0, F.useRef)(!0), h = dm(() => /* @__PURE__ */ new Map()), g = (0, F.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, F.useState)(f), [y, b] = (0, F.useState)(f);fm(() => {o && !u && !y.length && d?.();}, [@@ -20770,7 +20770,7 @@ var Px = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence}, [y]), fm(() => {m.current = !1;for (let e = 0; e < y.length; e++) {- let t = Mx(y[e]);+ let t = Nx(y[e]);p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);}}, [@@ -20782,15 +20782,15 @@ var Px = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceif (f !== _) {let e = [...f], t = 0;for (let n of y) {- let r = p.indexOf(Mx(n));+ let r = p.indexOf(Nx(n));r === -1 ? (e.splice(t++, 0, n), S.push(n)) : t = r + S.length + 1;}- return S.every((e) => h.get(Mx(e))) ? e = f : a === "wait" && (e = S), b(Nx(e)), v(f), null;+ return S.every((e) => h.get(Nx(e))) ? e = f : a === "wait" && (e = S), b(Px(e)), v(f), null;}let { forceRender: C } = (0, F.useContext)(um);return (0, I.jsx)(I.Fragment, { children: y.map((e) => {- let _ = Mx(e), b = o && !u ? !1 : f === y || p.includes(_);- return (0, I.jsx)(Bre, {+ let _ = Nx(e), b = o && !u ? !1 : f === y || p.includes(_);+ return (0, I.jsx)(zre, {isPresent: b,initial: !m.current || n ? void 0 : !1,custom: t,@@ -20811,8 +20811,8 @@ var Px = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presencechildren: e}, _);}) });-}, Fx = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), Ix = {- animation: ["variants", ...yb],+}, Ix = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), Lx = {+ animation: ["variants", ...bb],exit: ["exit"],drag: ["drag", "dragControls"],focus: ["whileFocus"],@@ -20839,32 +20839,32 @@ var Px = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence"onViewportLeave"],layout: ["layout", "layoutId"]-}, Lx = !1;-function Ure() {- if (Lx) return;+}, Rx = !1;+function Hre() {+ if (Rx) return;let e = {};- for (let t in Ix) e[t] = { isEnabled: (e) => Ix[t].some((t) => !!e[t]) };- Ob(e), Lx = !0;+ for (let t in Lx) e[t] = { isEnabled: (e) => Lx[t].some((t) => !!e[t]) };+ kb(e), Rx = !0;}-function Rx() {- return Ure(), $ne();+function zx() {+ return Hre(), Qne();}// node_modules/framer-motion/dist/es/motion/features/load-features.mjs-function Wre(e) {- let t = Rx();+function Ure(e) {+ let t = zx();for (let n in e) t[n] = {...t[n],...e[n]};- Ob(t);+ kb(t);}// node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs-function Gre({ children: e, ...t }) {- let n = (0, F.useContext)(Ex);+function Wre({ children: e, ...t }) {+ let n = (0, F.useContext)(Dx);t = {...n,...t- }, t.transition = dv(t.transition, n.transition), t.isStatic = dm(() => t.isStatic);+ }, t.transition = uv(t.transition, n.transition), t.isStatic = dm(() => t.isStatic);let r = (0, F.useMemo)(() => t, [JSON.stringify(t.transition),t.transformPagePoint,@@ -20872,77 +20872,77 @@ function Gre({ children: e, ...t }) {t.skipAnimations,t.isValidProp]);- return (0, I.jsx)(Ex.Provider, {+ return (0, I.jsx)(Dx.Provider, {value: r,children: e});}// node_modules/framer-motion/dist/es/context/MotionContext/index.mjs-var zx = /* @__PURE__ */ (0, F.createContext)({});+var Bx = /* @__PURE__ */ (0, F.createContext)({});// node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs-function Kre(e, t) {- if (xb(e)) {+function Gre(e, t) {+ if (Sb(e)) {let { initial: t, animate: n } = e;return {- initial: t === !1 || vb(t) ? t : void 0,- animate: vb(n) ? n : void 0+ initial: t === !1 || yb(t) ? t : void 0,+ animate: yb(n) ? n : void 0};}return e.inherit === !1 ? {} : t;}// node_modules/framer-motion/dist/es/context/MotionContext/create.mjs-function qre(e) {- let { initial: t, animate: n } = Kre(e, (0, F.useContext)(zx));+function Kre(e) {+ let { initial: t, animate: n } = Gre(e, (0, F.useContext)(Bx));return (0, F.useMemo)(() => ({initial: t,animate: n- }), [Bx(t), Bx(n)]);+ }), [Vx(t), Vx(n)]);}-function Bx(e) {+function Vx(e) {return Array.isArray(e) ? e.join(" ") : e;}// node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs-var Vx = () => ({+var Hx = () => ({style: {},transform: {},transformOrigin: {},vars: {}});// node_modules/framer-motion/dist/es/render/html/use-props.mjs-function Hx(e, t, n) {- for (let r in t) !yv(t[r]) && !jb(r, n) && (e[r] = t[r]);+function Ux(e, t, n) {+ for (let r in t) !vv(t[r]) && !Mb(r, n) && (e[r] = t[r]);}-function Jre({ transformTemplate: e }, t) {+function qre({ transformTemplate: e }, t) {return (0, F.useMemo)(() => {- let n = Vx();- return Wv(n, t, e), Object.assign({}, n.vars, n.style);+ let n = Hx();+ return Uv(n, t, e), Object.assign({}, n.vars, n.style);}, [t]);}-function Yre(e, t) {+function Jre(e, t) {let n = e.style || {}, r = {};- return Hx(r, n, e), Object.assign(r, Jre(e, t)), r;+ return Ux(r, n, e), Object.assign(r, qre(e, t)), r;}-function Xre(e, t) {- let n = {}, r = Yre(e, t);+function Yre(e, t) {+ let n = {}, r = Jre(e, t);return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;}// node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs-var Ux = () => ({- ...Vx(),+var Wx = () => ({+ ...Hx(),attrs: {}});// node_modules/framer-motion/dist/es/render/svg/use-props.mjs-function Zre(e, t, n, r) {+function Xre(e, t, n, r) {let i = (0, F.useMemo)(() => {- let n = Ux();- return Kv(n, t, xx(r), e.transformTemplate, e.style), {+ let n = Wx();+ return Gv(n, t, Sx(r), e.transformTemplate, e.style), {...n.attrs,style: { ...n.style }};}, [t]);if (e.style) {let t = {};- return Hx(t, e.style, e), {+ return Ux(t, e.style, e), {...i,style: {...t,@@ -20953,21 +20953,21 @@ function Zre(e, t, n, r) {return i;}// node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs-var Qre = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));-function Wx(e) {- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Qre.has(e);+var Zre = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));+function Gx(e) {+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Zre.has(e);}// node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs-function $re(e, t) {- return e.startsWith("on") ? !Wx(e) : t?.(e) ?? !Wx(e);+function Qre(e, t) {+ return e.startsWith("on") ? !Gx(e) : t?.(e) ?? !Gx(e);}-function eie(e, t, n, r) {+function $re(e, t, n, r) {let i = {};- for (let a in e) a === "values" && typeof e.values == "object" || yv(e[a]) || ($re(a, r) || n === !0 && Wx(a) || !t && !Wx(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);+ for (let a in e) a === "values" && typeof e.values == "object" || vv(e[a]) || (Qre(a, r) || n === !0 && Gx(a) || !t && !Gx(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);return i;}// node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs-var tie = [+var eie = ["animate","circle","defs",@@ -20995,40 +20995,40 @@ var tie = ["view"];// node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs-function Gx(e) {- return typeof e != "string" || e.includes("-") ? !1 : !!(tie.indexOf(e) > -1 || /[A-Z]/u.test(e));+function Kx(e) {+ return typeof e != "string" || e.includes("-") ? !1 : !!(eie.indexOf(e) > -1 || /[A-Z]/u.test(e));}// node_modules/framer-motion/dist/es/render/dom/use-render.mjs-function nie(e, t, n, { latestValues: r }, i, a = !1, o, s) {- let c = (o ?? Gx(e) ? Zre : Xre)(t, r, i, e), l = eie(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {+function tie(e, t, n, { latestValues: r }, i, a = !1, o, s) {+ let c = (o ?? Kx(e) ? Xre : Yre)(t, r, i, e), l = $re(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {...l,...c,ref: n- }, { children: d } = t, f = (0, F.useMemo)(() => yv(d) ? d.get() : d, [d]);+ }, { children: d } = t, f = (0, F.useMemo)(() => vv(d) ? d.get() : d, [d]);return (0, F.createElement)(e, {...u,children: f});}// node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs-function rie({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {+function nie({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {return {- latestValues: iie(n, r, i, e),+ latestValues: rie(n, r, i, e),renderState: t()};}-function iie(e, t, n, r) {+function rie(e, t, n, r) {let i = {}, a = r(e, {});- for (let e in a) i[e] = vy(a[e]);- let { initial: o, animate: s } = e, c = xb(e), l = Sb(e);+ for (let e in a) i[e] = _y(a[e]);+ let { initial: o, animate: s } = e, c = Sb(e), l = Cb(e);t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));let u = n ? n.initial === !1 : !1;u ||= o === !1;let d = u ? s : o;- if (d && typeof d != "boolean" && !_b(d)) {+ if (d && typeof d != "boolean" && !vb(d)) {let t = Array.isArray(d) ? d : [d];for (let n = 0; n < t.length; n++) {- let r = hv(e, t[n]);+ let r = mv(e, t[n]);if (r) {let { transitionEnd: e, transition: t, ...n } = r;for (let e in n) {@@ -21045,18 +21045,18 @@ function iie(e, t, n, r) {}return i;}-var Kx = (e) => (t, n) => {- let r = (0, F.useContext)(zx), i = (0, F.useContext)(pm), a = () => rie(e, t, r, i);+var qx = (e) => (t, n) => {+ let r = (0, F.useContext)(Bx), i = (0, F.useContext)(pm), a = () => nie(e, t, r, i);return n ? a() : dm(a);-}, aie = /*@__PURE__*/ Kx({- scrapeMotionValuesFromProps: Mb,- createRenderState: Vx-}), oie = /*@__PURE__*/ Kx({- scrapeMotionValuesFromProps: Sx,- createRenderState: Ux-}), sie = /* @__PURE__ */ Symbol.for("motionComponentSymbol");+}, iie = /*@__PURE__*/ qx({+ scrapeMotionValuesFromProps: Nb,+ createRenderState: Hx+}), aie = /*@__PURE__*/ qx({+ scrapeMotionValuesFromProps: Cx,+ createRenderState: Wx+}), oie = /* @__PURE__ */ Symbol.for("motionComponentSymbol");// node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs-function cie(e, t, n) {+function sie(e, t, n) {let r = (0, F.useRef)(n);(0, F.useInsertionEffect)(() => {r.current = n;@@ -21074,10 +21074,10 @@ function cie(e, t, n) {}, [t]);}// node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs-var qx = /* @__PURE__ */ (0, F.createContext)({});+var Jx = /* @__PURE__ */ (0, F.createContext)({});// node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs-function lie(e, t, n, r, i, a) {- let { visualElement: o } = (0, F.useContext)(zx), s = (0, F.useContext)(Fx), c = (0, F.useContext)(pm), l = (0, F.useContext)(Ex), u = l.reducedMotion, d = l.skipAnimations, f = (0, F.useRef)(null), p = (0, F.useRef)(!1);+function cie(e, t, n, r, i, a) {+ let { visualElement: o } = (0, F.useContext)(Bx), s = (0, F.useContext)(Ix), c = (0, F.useContext)(pm), l = (0, F.useContext)(Dx), u = l.reducedMotion, d = l.skipAnimations, f = (0, F.useRef)(null), p = (0, F.useRef)(!1);r ||= s.renderer, !f.current && r && (f.current = r(e, {visualState: t,parent: o,@@ -21088,11 +21088,11 @@ function lie(e, t, n, r, i, a) {skipAnimations: d,isSVG: a}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));- let m = f.current, h = (0, F.useContext)(qx);+ let m = f.current, h = (0, F.useContext)(Jx);m && !m.projection && i && (m.type === "html" || m.type === "svg") && i.create(m, n, h), (0, F.useInsertionEffect)(() => {m && m.props !== n && m.update(n, c);});- let g = n[xv], _ = (0, F.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));+ let g = n[bv], _ = (0, F.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));return fm(() => {p.current && m && (m.animationState?.animateChanges(), m.enteringChildren = void 0);}, []), fm(() => {@@ -21104,46 +21104,46 @@ function lie(e, t, n, r, i, a) {}), m;}// node_modules/framer-motion/dist/es/motion/index.mjs-function Jx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {- r && Wre(r);- let a = n ? n === "svg" : Gx(e), o = a ? oie : aie;+function Yx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {+ r && Ure(r);+ let a = n ? n === "svg" : Kx(e), o = a ? aie : iie;function s(n, s) {- let c, l = uie(n);- dm(() => !!mb.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {+ let c, l = lie(n);+ dm(() => !!hb.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {...n,initial: !1});let u = {- ...(0, F.useContext)(Ex),+ ...(0, F.useContext)(Dx),...n,layoutId: l- }, { isStatic: d, isValidProp: f } = u, p = qre(n), m = o(n, d);+ }, { isStatic: d, isValidProp: f } = u, p = Kre(n), m = o(n, d);if (!d && typeof window < "u") {- die(u, r);- let t = fie(u);- p.visualElement = lie(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);+ uie(u, r);+ let t = die(u);+ p.visualElement = cie(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);}- return (0, I.jsxs)(zx.Provider, {+ return (0, I.jsxs)(Bx.Provider, {value: p,children: [c && p.visualElement ? (0, I.jsx)(c, {visualElement: p.visualElement,...u- }) : null, nie(e, n, cie(m, p.visualElement, s), m, d, t, a, f)]+ }) : null, tie(e, n, sie(m, p.visualElement, s), m, d, t, a, f)]});}s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;let c = (0, F.forwardRef)(s);- return c[sie] = e, c;+ return c[oie] = e, c;}-function uie({ layoutId: e }) {+function lie({ layoutId: e }) {let t = (0, F.useContext)(um).id;return t && e !== void 0 ? t + "-" + e : e;}-function die(e, t) {- (0, F.useContext)(Fx).strict;+function uie(e, t) {+ (0, F.useContext)(Ix).strict;}-function fie(e) {- let { drag: t, layout: n } = Rx();+function die(e) {+ let { drag: t, layout: n } = zx();if (!t && !n) return {};let r = {...t,@@ -21156,19 +21156,19 @@ function fie(e) {};}// node_modules/framer-motion/dist/es/render/components/create-proxy.mjs-function pie(e, t) {- if (typeof Proxy > "u") return Jx;- let n = /* @__PURE__ */ new Map(), r = (n, r) => Jx(n, r, e, t);- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Jx(a, void 0, e, t)), n.get(a)) });+function fie(e, t) {+ if (typeof Proxy > "u") return Yx;+ let n = /* @__PURE__ */ new Map(), r = (n, r) => Yx(n, r, e, t);+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Yx(a, void 0, e, t)), n.get(a)) });}// node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs-var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(t) : new nre(t, { allowProjection: e !== F.Fragment }), hie = class extends yx {+var pie = (e, t) => t.isSVG ?? Kx(e) ? new jre(t) : new tre(t, { allowProjection: e !== F.Fragment }), mie = class extends bx {constructor(e) {- super(e), e.animationState ||= Pre(e);+ super(e), e.animationState ||= Nre(e);}updateAnimationControlsSubscription() {let { animate: e } = this.node.getProps();- _b(e) && (this.unmountControls = e.subscribe(this.node));+ vb(e) && (this.unmountControls = e.subscribe(this.node));}mount() {this.updateAnimationControlsSubscription();@@ -21179,11 +21179,11 @@ var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(t) : new nre(t, { allowProjectionunmount() {this.node.animationState.reset(), this.unmountControls?.();}-}, gie = 0, _ie = {- animation: { Feature: hie },- exit: { Feature: class extends yx {+}, hie = 0, gie = {+ animation: { Feature: mie },+ exit: { Feature: class extends bx {constructor() {- super(...arguments), this.id = gie++;+ super(...arguments), this.id = hie++;}update() {let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;@@ -21194,7 +21194,7 @@ var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(t) : new nre(t, { allowProjectionif (this.exit === !0) {let { initial: e } = this.node.getProps();if (e && !Array.isArray(e)) {- let { transition: t, transitionEnd: n, ...r } = gv(this.node, e) || {};+ let { transition: t, transitionEnd: n, ...r } = hv(this.node, e) || {};for (let e in r) this.node.getValue(e)?.jump(r[e]);}this.node.blockInitialAnimation = !1, n.reset(), n.animateChanges();@@ -21213,9 +21213,9 @@ var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(t) : new nre(t, { allowProjection}unmount() {}} }-}, vie = class extends yx {+}, _ie = class extends bx {constructor(e) {- super(e), this.removeGroupControls = Sm, this.removeListeners = Sm, this.controls = new wre(e);+ super(e), this.removeGroupControls = Sm, this.removeListeners = Sm, this.controls = new Cre(e);}mount() {let { dragControls: e } = this.node.getProps();@@ -21228,14 +21228,14 @@ var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(t) : new nre(t, { allowProjectionunmount() {this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();}-}, Yx = (e) => (t, n) => {- e && pg.update(() => e(t, n), !1, !0);-}, yie = class extends yx {+}, Xx = (e) => (t, n) => {+ e && fg.update(() => e(t, n), !1, !0);+}, vie = class extends bx {constructor() {super(...arguments), this.removePointerDownListener = Sm;}onPointerDown(e) {- this.session = new Wb(e, this.createPanHandlers(), {+ this.session = new Gb(e, this.createPanHandlers(), {transformPagePoint: this.node.getTransformPagePoint(),contextWindow: this.node.current?.ownerDocument.defaultView});@@ -21243,16 +21243,16 @@ var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(t) : new nre(t, { allowProjectioncreatePanHandlers() {let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();return {- onSessionStart: Yx(e),- onStart: Yx(t),- onMove: Yx(n),+ onSessionStart: Xx(e),+ onStart: Xx(t),+ onMove: Xx(n),onEnd: (e, t) => {- delete this.session, r && pg.postRender(() => r(e, t));+ delete this.session, r && fg.postRender(() => r(e, t));}};}mount() {- this.removePointerDownListener = Fb(this.node.current, "pointerdown", (e) => this.onPointerDown(e));+ this.removePointerDownListener = Ib(this.node.current, "pointerdown", (e) => this.onPointerDown(e));}update() {this.session?.updateHandlers(this.createPanHandlers());@@ -21260,12 +21260,12 @@ var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(t) : new nre(t, { allowProjectionunmount() {this.removePointerDownListener(), this.session?.end();}-}, Xx = !1, Zx = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({+}, Zx = !1, Qx = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({layout: e,layoutDependency: t,layoutAnchor: n,animationType: typeof e == "string" ? e : "both"-}), Qx = (e, t) => {+}), $x = (e, t) => {let { snapshot: n } = e, r = e.getStack();r?.remove(e);let i = r?.lead;@@ -21274,33 +21274,33 @@ var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(t) : new nre(t, { allowProjectionlet { resumeFrom: t } = e;t?.isPresent !== !1 && e.getStack().members.includes(t) && (t.hide(), e.resumeFrom = void 0, e.snapshot = n);};-}, bie = class extends F.Component {+}, yie = class extends F.Component {componentDidMount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;- i && (t.group?.add(i), r && n?.register?.(i), Xx && i.root.didUpdate(), i.options.layoutId !== r && Qx(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({+ i && (t.group?.add(i), r && n?.register?.(i), Zx && i.root.didUpdate(), i.options.layoutId !== r && $x(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({...i.options,- ...Zx(this.props),+ ...Qx(this.props),onExitComplete: () => this.safeToRemove()- })), $y.hasEverUpdated = !0;+ })), Qy.hasEverUpdated = !0;}getSnapshotBeforeUpdate(e) {let { layoutDependency: t, layoutId: n, visualElement: r, drag: i, isPresent: a } = this.props, { projection: o } = r;- return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), Qx(o, n)), o.setOptions({+ return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), $x(o, n)), o.setOptions({...o.options,- ...Zx(this.props)- }), Xx = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || pg.postRender(() => {+ ...Qx(this.props)+ }), Zx = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || fg.postRender(() => {o.getStack()?.members.length || this.safeToRemove();}))), null;}componentDidUpdate() {let { projection: e } = this.props.visualElement;- e && (this.takeOver?.(), e.root.didUpdate(), my.postRender(() => {+ e && (this.takeOver?.(), e.root.didUpdate(), py.postRender(() => {!e.currentAnimation && e.isLead() && this.safeToRemove();}));}componentWillUnmount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;- Xx = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));+ Zx = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));}safeToRemove() {this.props.safeToRemove?.();@@ -21309,39 +21309,39 @@ var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(t) : new nre(t, { allowProjectionreturn null;}};-function $x(e) {- let [t, n] = Ax(), r = (0, F.useContext)(um);- return (0, I.jsx)(bie, {+function eS(e) {+ let [t, n] = jx(), r = (0, F.useContext)(um);+ return (0, I.jsx)(yie, {...e,layoutGroup: r,- switchLayoutGroup: (0, F.useContext)(qx),+ switchLayoutGroup: (0, F.useContext)(Jx),isPresent: t,safeToRemove: n});}// node_modules/framer-motion/dist/es/motion/features/drag.mjs-var xie = {- pan: { Feature: yie },+var bie = {+ pan: { Feature: vie },drag: {- Feature: vie,- ProjectionNode: hb,- MeasureLayout: $x+ Feature: _ie,+ ProjectionNode: gb,+ MeasureLayout: eS}};// node_modules/framer-motion/dist/es/gestures/hover.mjs-function eS(e, t, n, r) {+function tS(e, t, n, r) {let { props: i } = e, a = "while" + n;e.animationState && i[a] && e.animationState.setActive(a, r === "Start");let o = i["on" + n + r];- o && pg.postRender(() => o(t, Pb(t)));+ o && fg.postRender(() => o(t, Fb(t)));}-var Sie = class extends yx {+var xie = class extends bx {mount() {let { current: e } = this.node;- e && (this.unmount = Ore(e, (e, t) => (eS(this.node, t, "Hover", "Start"), (e) => eS(this.node, e, "Hover", "End"))));+ e && (this.unmount = Dre(e, (e, t) => (tS(this.node, t, "Hover", "Start"), (e) => tS(this.node, e, "Hover", "End"))));}unmount() {}-}, Cie = class extends yx {+}, Sie = class extends bx {constructor() {super(...arguments), this.isActive = !1;}@@ -21358,51 +21358,51 @@ var Sie = class extends yx {this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);}mount() {- this.unmount = Cm(pb(this.node.current, "focus", () => this.onFocus()), pb(this.node.current, "blur", () => this.onBlur()));+ this.unmount = Cm(mb(this.node.current, "focus", () => this.onFocus()), mb(this.node.current, "blur", () => this.onBlur()));}unmount() {}};// node_modules/framer-motion/dist/es/gestures/press.mjs-function tS(e, t, n) {- e.current instanceof HTMLButtonElement && e.current.disabled || eS(e, t, "Tap", n);+function nS(e, t, n) {+ e.current instanceof HTMLButtonElement && e.current.disabled || tS(e, t, "Tap", n);}-var wie = class extends yx {+var Cie = class extends bx {mount() {let { current: e } = this.node;if (!e) return;let { globalTapTarget: t, propagate: n } = this.node.props;- this.unmount = Are(e, (e, t) => (tS(this.node, t, "Start"), (e, { success: t }) => tS(this.node, e, t ? "" : "Cancel")), {+ this.unmount = kre(e, (e, t) => (nS(this.node, t, "Start"), (e, { success: t }) => nS(this.node, e, t ? "" : "Cancel")), {useGlobalTarget: t,stopPropagation: n?.tap === !1});}unmount() {}-}, nS = /* @__PURE__ */ new WeakMap(), rS = /* @__PURE__ */ new WeakMap(), Tie = (e) => {- let t = nS.get(e.target);+}, rS = /* @__PURE__ */ new WeakMap(), iS = /* @__PURE__ */ new WeakMap(), wie = (e) => {+ let t = rS.get(e.target);t && t(e);-}, Eie = (e) => {- e.forEach(Tie);+}, Tie = (e) => {+ e.forEach(wie);};-function Die({ root: e, ...t }) {+function Eie({ root: e, ...t }) {let n = e || document;- rS.has(n) || rS.set(n, {});- let r = rS.get(n), i = JSON.stringify(t);- return r[i] || (r[i] = new IntersectionObserver(Eie, {+ iS.has(n) || iS.set(n, {});+ let r = iS.get(n), i = JSON.stringify(t);+ return r[i] || (r[i] = new IntersectionObserver(Tie, {root: e,...t})), r[i];}-function Oie(e, t, n) {- let r = Die(t);- return nS.set(e, n), r.observe(e), () => {- nS.delete(e), r.unobserve(e);+function Die(e, t, n) {+ let r = Eie(t);+ return rS.set(e, n), r.observe(e), () => {+ rS.delete(e), r.unobserve(e);};}// node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs-var kie = {+var Oie = {some: 0,all: 1-}, Aie = class extends yx {+}, kie = class extends bx {constructor() {super(...arguments), this.hasEnteredView = !1, this.isInView = !1;}@@ -21411,7 +21411,7 @@ var kie = {let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, a = {root: t ? t.current : void 0,rootMargin: n,- threshold: typeof r == "number" ? r : kie[r]+ threshold: typeof r == "number" ? r : Oie[r]}, o = (e) => {let { isIntersecting: t } = e;if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;@@ -21419,7 +21419,7 @@ var kie = {let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;a && a(e);};- this.stopObserver = Oie(this.node.current, a, o);+ this.stopObserver = Die(this.node.current, a, o);}mount() {this.startObserver();@@ -21431,61 +21431,61 @@ var kie = {"amount","margin","root"- ].some(jie(e, t)) && this.startObserver();+ ].some(Aie(e, t)) && this.startObserver();}unmount() {this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;}};-function jie({ viewport: e = {} }, { viewport: t = {} } = {}) {+function Aie({ viewport: e = {} }, { viewport: t = {} } = {}) {return (n) => e[n] !== t[n];}// node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs-var Mie = /*@__PURE__*/ pie(/* @__PURE__ */ Object.assign({}, _ie, {- inView: { Feature: Aie },- tap: { Feature: wie },- focus: { Feature: Cie },- hover: { Feature: Sie }-}, xie, { layout: {- ProjectionNode: hb,- MeasureLayout: $x-} }), mie);+var jie = /*@__PURE__*/ fie(/* @__PURE__ */ Object.assign({}, gie, {+ inView: { Feature: kie },+ tap: { Feature: Cie },+ focus: { Feature: Sie },+ hover: { Feature: xie }+}, bie, { layout: {+ ProjectionNode: gb,+ MeasureLayout: eS+} }), pie);// node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs-function iS() {- !wb.current && Tb();- let [e] = (0, F.useState)(Cb.current);+function aS() {+ !Tb.current && Eb();+ let [e] = (0, F.useState)(wb.current);return e;}// node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs-function aS(e) {+function oS(e) {return typeof e == "object" && !Array.isArray(e);}// node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs-function oS(e, t, n, r) {- return e == null ? [] : typeof e == "string" && aS(t) ? Lv(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];+function sS(e, t, n, r) {+ return e == null ? [] : typeof e == "string" && oS(t) ? Iv(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];}// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs-function Nie(e, t, n) {+function Mie(e, t, n) {return e * (t + 1) + n * t;}// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs-function sS(e, t) {+function cS(e, t) {if (t.has(e)) return t.get(e);let [, n, r] = e.match(/^(.+?)([+-][\d.]+)$/) || [];return t.has(n) ? Math.max(0, t.get(n) + parseFloat(r)) : void 0;}-function Pie(e, t, n, r) {- return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : sS(t, r) ?? e;+function Nie(e, t, n, r) {+ return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : cS(t, r) ?? e;}// node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs-function Fie(e, t, n) {+function Pie(e, t, n) {for (let r = 0; r < e.length; r++) {let i = e[r];i.at > t && i.at < n && (hm(e, i), r--);}}-function Iie(e, t, n, r, i, a) {- Fie(e, i, a);+function Fie(e, t, n, r, i, a) {+ Pie(e, i, a);for (let o = 0; o < t.length; o++) e.push({value: t[o],at: Qh(i, a, r[o]),@@ -21493,19 +21493,19 @@ function Iie(e, t, n, r, i, a) {});}// node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs-function Lie(e, t, n = 0) {+function Iie(e, t, n = 0) {let r = t + 1 + t * n;for (let t = 0; t < e.length; t++) e[t] = e[t] / r;}// node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs-function Rie(e, t) {+function Lie(e, t) {return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;}// node_modules/framer-motion/dist/es/animation/sequence/create.mjs-var zie = "easeInOut", Bie = 20;-function Vie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {+var Rie = "easeInOut", zie = 20;+function Bie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {let o = t.duration || .3, s = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), l = {}, u = /* @__PURE__ */ new Map(), d = 0, f = 0, p = 0, m = (e, n) => {- let a = n, s = (e) => typeof e == "number" ? n + e : Pie(f, e, d, u);+ let a = n, s = (e) => typeof e == "number" ? n + e : Nie(f, e, d, u);for (let n = 0; n < e.length; n++) {let h = e[n];if (typeof h == "string") {@@ -21520,12 +21520,12 @@ function Vie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {let [g, _, v = {}] = h;v.at !== void 0 && (f = s(v.at));let y = 0, b = (e, n, r, a = 0, s = 0) => {- let c = Hie(e), { delay: l = 0, times: u = Lg(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;+ let c = Vie(e), { delay: l = 0, times: u = Ig(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;r.mixer ||= n.mixer;- let x = typeof l == "function" ? l(a, s) : l, S = c.length, C = M_(d) ? d : i?.[d || "keyframes"];+ let x = typeof l == "function" ? l(a, s) : l, S = c.length, C = j_(d) ? d : i?.[d || "keyframes"];if (S <= 2 && C) {let e = 100;- if (S === 2 && Gie(c)) {+ if (S === 2 && Wie(c)) {let t = c[1] - c[0];e = Math.abs(t);}@@ -21534,16 +21534,16 @@ function Vie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {..._};b !== void 0 && (n.duration = /* @__PURE__ */ Em(b));- let r = bg(n, e, C);+ let r = yg(n, e, C);v = r.ease, b = r.duration;}b ??= o;let w = f + x;u.length === 1 && u[0] === 0 && (u[1] = 1);let T = u.length - c.length;- if (T > 0 && Ig(u, T), c.length === 1 && c.unshift(null), m && m < Bie) {+ if (T > 0 && Fg(u, T), c.length === 1 && c.unshift(null), m && m < zie) {let e = b > 0 ? g / b : 0;- b = Nie(b, m, g);+ b = Mie(b, m, g);let t = [...c], n = [...u];v = Array.isArray(v) ? [...v] : [v];let r = [...v], i = h === "reverse" || h === "mirror", a = t, o = r;@@ -21553,20 +21553,20 @@ function Vie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {e > 0 && (c.push(c[c.length - 1]), u.push(p), v.push("linear")), c.push(...d);for (let e = 0; e < d.length; e++) u.push(n[e] + p), v.push(e === 0 ? "linear" : /* @__PURE__ */ Gm(f, e - 1));}- Lie(u, m, e);+ Iie(u, m, e);}let E = w + b;- Iie(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);+ Fie(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);};- if (yv(g)) {- let e = cS(g, c);- b(_, v, lS("default", e));+ if (vv(g)) {+ let e = lS(g, c);+ b(_, v, uS("default", e));} else {- let e = oS(g, _, r, l), t = e.length;+ let e = sS(g, _, r, l), t = e.length;for (let n = 0; n < t; n++) {_ = _, v = v;- let r = e[n], i = cS(r, c);- for (let e in _) b(_[e], Uie(v, e), lS(e, i), n, t);+ let r = e[n], i = lS(r, c);+ for (let e in _) b(_[e], Hie(v, e), uS(e, i), n, t);}}d = f, f += y, a = Math.max(a, f);@@ -21576,13 +21576,13 @@ function Vie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {return m(e, 0), a && (a.duration = p, a.labels = u), c.forEach((e, r) => {for (let i in e) {let a = e[i];- a.sort(Rie);+ a.sort(Lie);let o = [], c = [], l = [];for (let e = 0; e < a.length; e++) {let { at: t, value: n, easing: r } = a[e];o.push(n), c.push(/* @__PURE__ */ wm(0, p, t)), l.push(r || "easeOut");}- c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(zie)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {+ c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(Rie)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {keyframes: {},transition: {}});@@ -21600,45 +21600,45 @@ function Vie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {}}), s;}-function cS(e, t) {+function lS(e, t) {return !t.has(e) && t.set(e, {}), t.get(e);}-function lS(e, t) {+function uS(e, t) {return t[e] || (t[e] = []), t[e];}-function Hie(e) {+function Vie(e) {return Array.isArray(e) ? e : [e];}-function Uie(e, t) {+function Hie(e, t) {return e && e[t] ? {...e,...e[t]} : { ...e };}-var Wie = (e) => typeof e == "number", Gie = (e) => e.every(Wie);+var Uie = (e) => typeof e == "number", Wie = (e) => e.every(Uie);// node_modules/framer-motion/dist/es/animation/animate/subject.mjs-function Kie(e, t) {- return yv(e) || typeof e == "number" || typeof e == "string" && !aS(t);+function Gie(e, t) {+ return vv(e) || typeof e == "number" || typeof e == "string" && !oS(t);}-function uS(e, t, n, r) {+function dS(e, t, n, r) {let i = [];- if (Kie(e, t)) i.push(hy(e, aS(t) && t.default || t, n && (n.default || n)));+ if (Gie(e, t)) i.push(my(e, oS(t) && t.default || t, n && (n.default || n)));else {if (e == null) return i;- let a = oS(e, t, r), o = a.length;+ let a = sS(e, t, r), o = a.length;for (let e = 0; e < o; e++) {let r = a[e], s = { ...n };- "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...one(r, t, s, gb.get(r))) : i.push(...jv(Bte(r) ?? sne, r, t, s));+ "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...sne(r, t, s, _b.get(r))) : i.push(...Av(Vte(r) ?? cne, r, t, s));}}return i;}// node_modules/framer-motion/dist/es/animation/animate/sequence.mjs-function qie(e, t, n, r) {+function Kie(e, t, n, r) {let i = [];- return Vie(e.map((e) => {+ return Bie(e.map((e) => {if (Array.isArray(e) && typeof e[0] == "function") {- let t = e[0], n = uv(0);+ let t = e[0], n = lv(0);return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [n,[0, 1],@@ -21650,31 +21650,31 @@ function qie(e, t, n, r) {];}return e;- }), t, n, { spring: Ng }, r).forEach(({ keyframes: e, transition: t }, n) => {- i.push(...uS(n, e, t));+ }), t, n, { spring: Mg }, r).forEach(({ keyframes: e, transition: t }, n) => {+ i.push(...dS(n, e, t));}), i;}// node_modules/framer-motion/dist/es/animation/timeline/index.mjs-var dS = 0;-function Jie(e, t) {+var fS = 0;+function qie(e, t) {let n = [...e], r = typeof n[0] == "function" ? Math.max(1, n.length - 1) : 2;return n[r] = {...n[r],at: t}, n;}-var fS = (e, t) => t === void 0 ? e : {+var pS = (e, t) => t === void 0 ? e : {name: e,at: t};-function pS(e) {+function mS(e) {e.pause(), e.time = 0, e.stop();}-var mS = class e {+var hS = class e {constructor(e = [], t = {}, n) {- this.options = t, this.entries = [], this.repeatIndex = 0, this.prevTime = 0, this.markers = [], this.labels = /* @__PURE__ */ new Map(), this.totalDuration = 0, this.isDirty = !1, this.isDone = !1, this.isRebuilding = !1, this.playbackSpeed = 1, this.motionScope = Pv.current, this.isKilled = !1, this.isWrapped = !1, this.stop = () => {+ this.options = t, this.entries = [], this.repeatIndex = 0, this.prevTime = 0, this.markers = [], this.labels = /* @__PURE__ */ new Map(), this.totalDuration = 0, this.isDirty = !1, this.isDone = !1, this.isRebuilding = !1, this.playbackSpeed = 1, this.motionScope = Nv.current, this.isKilled = !1, this.isWrapped = !1, this.stop = () => {this.flush(), this.group?.stop();- }, this.isPaused = t.autoplay === !1, this.newFinished(), e.forEach((e) => this.add(e)), n ? (this.isDirty = !1, this.isWrapped = !0, this.group = new iv(n), this.watch()) : (this.invalidate(), this.flush());+ }, this.isPaused = t.autoplay === !1, this.newFinished(), e.forEach((e) => this.add(e)), n ? (this.isDirty = !1, this.isWrapped = !0, this.group = new rv(n), this.watch()) : (this.invalidate(), this.flush());let { scope: r } = t;r && (r.animations.push(this), this.finished.then(() => hm(r.animations, this)));}@@ -21689,7 +21689,7 @@ var mS = class e {item: e,at: t,marker: {- name: "_m" + dS++,+ name: "_m" + fS++,time: 0,callback: e}@@ -21700,7 +21700,7 @@ var mS = class e {item: t || {},at: e,marker: {- name: "_m" + dS++,+ name: "_m" + fS++,time: 0,callback: t,pause: !0@@ -21794,50 +21794,50 @@ var mS = class e {this.isDirty && !this.parent && !this.isKilled && this.build();}adopt(e) {- this.group &&= (pS(this.group), void 0), this.isDirty = !1, this.parent = e;+ this.group &&= (mS(this.group), void 0), this.isDirty = !1, this.parent = e;}build() {this.isDirty = !1, this.isWrapped = !1;let e = this.group, t = 0;- e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, pS(e)), this.isRebuilding = !1);+ e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, mS(e)), this.isRebuilding = !1);let { defaultTransition: n, onComplete: r, onUpdate: i, onRepeat: a, onReverseComplete: o, autoplay: s, scope: c, ...l } = this.options, u = {};c?.reduceMotion !== void 0 && (u.reduceMotion = c.reduceMotion), c?.skipAnimations !== void 0 && (u.skipAnimations = c.skipAnimations), Object.assign(u, l);- let d = /* @__PURE__ */ new Map(), f = {}, p = Pv.current;- Pv.current = this.motionScope;+ let d = /* @__PURE__ */ new Map(), f = {}, p = Nv.current;+ Nv.current = this.motionScope;let m;try {- m = qie(this.toSequence(d), {+ m = Kie(this.toSequence(d), {defaultTransition: n,...u}, c, f);} finally {- Pv.current = p;+ Nv.current = p;}let h = f.labels, g = u.duration ?? f.duration, _ = f.duration ? g / f.duration : 1;if (h.forEach((e, t) => h.set(t, e * _)), this.markers = [], d.forEach((e, t) => {e.time = h.get(t), h.delete(t), g = Math.max(g, e.time), this.markers.push(e);}), this.markers.sort((e, t) => e.time - t.time), this.labels = h, this.totalDuration = g, this.clock = this.clockAnimation = void 0, this.markers.length || this.stopAt !== void 0 || i || a) {- let e = this.clock = uv(0);- e.on("change", (t) => e === this.clock && this.onClock(t)), m.unshift(this.clockAnimation = hy(e, [0, g], {+ let e = this.clock = lv(0);+ e.on("change", (t) => e === this.clock && this.onClock(t)), m.unshift(this.clockAnimation = my(e, [0, g], {...u,duration: g,ease: "linear"}));}- let v = this.group = new iv(m);+ let v = this.group = new rv(m);t = Math.min(t, g), this.isDone && t < g && this.newFinished(), this.scrollTimeline ? this.detachScroll = v.attachTimeline(this.scrollTimeline) : (v.speed = this.playbackSpeed, this.isPaused && v.pause(), t && (v.time = t)), this.repeatIndex = this.currentRepeat(), this.prevTime = t || -1, this.watch();}toSequence(t) {- return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), fS(i.name, r)) : n instanceof e ? {+ return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), pS(i.name, r)) : n instanceof e ? {sequence: n.toSequence(t),at: r- } : typeof n == "string" ? fS(n, r) : r === void 0 ? n : Array.isArray(n) ? Jie(n, r) : {+ } : typeof n == "string" ? pS(n, r) : r === void 0 ? n : Array.isArray(n) ? qie(n, r) : {...n,at: r});}resolve(e) {- return this.flush(), typeof e == "number" ? e : sS(e, this.labels) ?? this.time;+ return this.flush(), typeof e == "number" ? e : cS(e, this.labels) ?? this.time;}currentRepeat() {let { repeat: e = 0, repeatDelay: t = 0, delay: n = 0 } = this.options, r = this.totalDuration + t, i = (this.clockAnimation?.time ?? 0) - n;@@ -21885,16 +21885,16 @@ var mS = class e {}};// node_modules/framer-motion/dist/es/animation/animate/index.mjs-function Yie(e) {+function Jie(e) {return Array.isArray(e) && e.some(Array.isArray);}-function Xie(e = {}) {+function Yie(e = {}) {let { scope: t, reduceMotion: n, skipAnimations: r } = e;function i(e, i, a) {- let o = Pv.current?.transition, s = {};+ let o = Nv.current?.transition, s = {};n !== void 0 && (s.reduceMotion = n), r !== void 0 && (s.skipAnimations = r);let c;- if (Yie(e)) {+ if (Jie(e)) {let n = {...s,...i,@@ -21903,14 +21903,14 @@ function Xie(e = {}) {o && (n.defaultTransition = {...o,...n.defaultTransition- }), c = new mS(e, n);+ }), c = new hS(e, n);} else {let { onComplete: n, ...r } = a || {}, l = {...s,...o,...r}, { onUpdate: u } = r;- c = new mS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [+ c = new hS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [u || (() => {}),Array.isArray(i) ? i : [e, i],{@@ -21925,29 +21925,29 @@ function Xie(e = {}) {...s,onComplete: n,scope: t- }, uS(e, i, l, t));+ }, dS(e, i, l, t));}return c;}return i;}-var hS = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Xie(), {- addEffect: zte,- removeEffect: kv+var gS = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Yie(), {+ addEffect: Bte,+ removeEffect: Ov});// node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs-function Zie(e, t, n, r) {+function Xie(e, t, n, r) {if (e == null) return [];- let i = Lv(e, r), a = i.length, o = [];+ let i = Iv(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 = { ...fv(s, e) };+ let i = { ...dv(s, e) };i.duration &&= /* @__PURE__ */ Em(i.duration), i.delay &&= /* @__PURE__ */ Em(i.delay);- let a = dte(r), c = ute(e, i.pseudoElement || ""), l = a.get(c);+ let a = fte(r), c = dte(e, i.pseudoElement || ""), l = a.get(c);l && l.stop(), o.push({map: a,key: c,@@ -21963,21 +21963,21 @@ function Zie(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] = vx(r, i)), t_(t), Rte(t, i), !a && t.length < 2 && t.unshift(vx(r, i)), n.keyframes = t;+ !a && t[0] === null && (t[0] = yx(r, i)), e_(t), zte(t, i), !a && t.length < 2 && t.unshift(yx(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 N_(r);+ let { map: t, key: n, options: r } = o[e], i = new M_(r);t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);}return s;}-var Qie = /*@__PURE__*/ ((e) => {+var Zie = /*@__PURE__*/ ((e) => {function t(t, n, r) {- return new iv(Zie(t, n, r, e));+ return new rv(Xie(t, n, r, e));}return t;-})(), gS = Mie, _S = class {+})(), _S = jie, vS = class {constructor(e) {this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;}@@ -21992,22 +21992,22 @@ var Qie = /*@__PURE__*/ ((e) => {let r = this.clone();return t.addDescendants(r, e), r;}-}, vS = class extends _S {+}, yS = class extends vS {filter(e, t, n) {- let [r, i] = SS(e, t, this.firstChildKey, n), a = this.clone();+ let [r, i] = CS(e, t, this.firstChildKey, n), a = this.clone();return a.firstChildKey = r, a.lastChildKey = i, a;}};-(class extends _S {+(class extends vS {static {this.type = "header";}});-var yS = class extends _S {+var bS = class extends vS {static {this.type = "loader";}-}, bS = class extends vS {+}, xS = class extends yS {static {this.type = "item";}@@ -22018,7 +22018,7 @@ var yS = class extends _S {}return null;}-}, $ie = class extends vS {+}, Qie = class extends yS {static {this.type = "section";}@@ -22030,7 +22030,7 @@ var yS = class extends _S {}return null;}-}, xS = class {+}, SS = class {get size() {return this.itemCount;}@@ -22105,14 +22105,14 @@ var yS = class extends _S {this.firstKey = e, this.lastKey = t, this.frozen = !n;}filter(e) {- let t = new this.constructor(), [n, r] = SS(this, t, this.firstKey, e);+ let t = new this.constructor(), [n, r] = CS(this, t, this.firstKey, e);return t?.commit(n, r), t;}constructor() {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;}};-function SS(e, t, n, r) {+function CS(e, t, n, r) {if (n == null) return [null, null];let i = null, a = null, o = e.getItem(n);for (; o != null;) {@@ -22126,7 +22126,7 @@ function SS(e, t, n, r) {return [i?.key ?? null, a?.key ?? null];}// node_modules/react-aria/dist/private/collections/Document.mjs-var CS = class {+var wS = class {constructor(e) {this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}@@ -22207,7 +22207,7 @@ var CS = class {for (; e && e.isHidden;) e = e.previousSibling;return e;}-}, wS = class e extends CS {+}, TS = class e extends wS {constructor(e, t) {super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;}@@ -22258,7 +22258,7 @@ var CS = class {setAttribute() {}setAttributeNS() {}removeAttribute() {}-}, eae = class extends CS {+}, $ie = class extends wS {constructor(e) {super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.keyOwners = /* @__PURE__ */ new Map(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;}@@ -22266,7 +22266,7 @@ var CS = class {return !0;}createElement(e) {- return new wS(e, this);+ return new TS(e, this);}getMutableCollection() {return this.nextCollection ||= this.collection.clone(), this.nextCollection;@@ -22288,8 +22288,8 @@ var CS = class {return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;}updateCollection() {- for (let e of this.dirtyNodes) e instanceof wS && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof wS ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);+ for (let e of this.dirtyNodes) e instanceof TS && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof TS ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));}queueUpdate() {@@ -22307,13 +22307,13 @@ var CS = class {}};// node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function TS(e) {+function ES(e) {let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, F.useMemo)(() => void 0, [t]), s = (0, F.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);return (0, F.useMemo)(() => {if (n && typeof t == "function") {let e = [];for (let a of n) {- let n = tae(a) ? a : null, o = n ? s.get(n) : null;+ let n = eae(a) ? a : null, o = n ? s.get(n) : null;if (!o) {o = t(a);let c = o.props.id ?? a?.key ?? a?.id;@@ -22338,7 +22338,7 @@ function TS(e) {i]);}-function tae(e) {+function eae(e) {switch (typeof e) {case "object": return e != null;case "function":@@ -22347,24 +22347,24 @@ function tae(e) {}}// node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function ES(e) {+function DS(e) {e.focus({ preventScroll: !0 });}// node_modules/react-aria/dist/private/utils/domHelpers.mjs-var DS = (e) => nae(e) ? e.document : rae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), OS = (e) => DS(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function kS(e) {+var OS = (e) => tae(e) ? e.document : nae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), kS = (e) => OS(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function AS(e) {return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";}-function nae(e) {+function tae(e) {return typeof e == "object" && !!e && "window" in e && e.window === e;}-function rae(e) {- return kS(e) && e.nodeType === 9;+function nae(e) {+ return AS(e) && e.nodeType === 9;}-function AS(e) {- return kS(e) && e.nodeType === 11 && "host" in e;+function jS(e) {+ return AS(e) && e.nodeType === 11 && "host" in e;}-function jS(e, t, n, r) {+function MS(e, t, n, r) {if (n == null || e == null) return () => {};let i = Array.isArray(e) ? e : [e];for (let e of i) e.addEventListener(t, n, r);@@ -22372,7 +22372,7 @@ function jS(e, t, n, r) {for (let e of i) e.removeEventListener(t, n, r);};}-function MS(e, t, n, r) {+function NS(e, t, n, r) {if (e == null) return () => {};let i = [], a = Array.isArray(e) ? e : [e];for (let e of a) {@@ -22386,70 +22386,70 @@ function MS(e, t, n, r) {};}// node_modules/react-stately/dist/private/flags/flags.mjs-var iae = !1;-function NS() {- return iae;+var rae = !1;+function PS() {+ return rae;}// node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function PS(e, t) {- if (!NS()) return t && e ? e.contains(t) : !1;+function FS(e, t) {+ if (!PS()) return t && e ? e.contains(t) : !1;if (!e || !t) return !1;let n = t;for (; n != null;) {if (n === e) return !0;- n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : AS(n) ? n.host : n.parentNode;+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : jS(n) ? n.host : n.parentNode;}return !1;}-var FS = (e = document) => {- if (!NS()) return e.activeElement;+var IS = (e = document) => {+ if (!PS()) return e.activeElement;let t = e.activeElement;for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;return t;};function G(e) {- if (NS() && e.target instanceof Element && e.target.shadowRoot) {+ if (PS() && e.target instanceof Element && e.target.shadowRoot) {if ("composedPath" in e) return e.composedPath()[0] ?? null;if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null;}return e.target;}-function IS(e, t) {+function LS(e, t) {if (t === null) return [];- t ??= OS(e);+ t ??= kS(e);let n = [t];- if (!NS() || !e || e === t) return n;+ if (!PS() || !e || e === t) return n;let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;- for (; AS(i) && i !== r;) n.push(i), i = i.host.getRootNode();+ for (; jS(i) && i !== r;) n.push(i), i = i.host.getRootNode();return n;}-function LS(e) {+function RS(e) {if (!e) return !1;- let t = e.getRootNode(), n = OS(e);+ let t = e.getRootNode(), n = kS(e);if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;let r = t.activeElement;return r != null && e.contains(r);}// node_modules/react-aria/dist/private/utils/isElementVisible.mjs-var aae = typeof Element < "u" && "checkVisibility" in Element.prototype;-function oae(e) {- let t = OS(e);+var iae = typeof Element < "u" && "checkVisibility" in Element.prototype;+function aae(e) {+ let t = kS(e);if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";if (i) {- let { getComputedStyle: t } = OS(e), { display: n, visibility: r } = t(e);+ let { getComputedStyle: t } = kS(e), { display: n, visibility: r } = t(e);i = n !== "none" && r !== "hidden" && r !== "collapse";}return i;}-function sae(e, t) {+function oae(e, t) {return !e.hasAttribute("hidden") && !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);}-function RS(e, t) {- return aae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && oae(e) && sae(e, t) && (!e.parentElement || RS(e.parentElement, e));+function zS(e, t) {+ return iae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && aae(e) && oae(e, t) && (!e.parentElement || zS(e.parentElement, e));}// node_modules/react-aria/dist/private/utils/isFocusable.mjs-var zS = [+var BS = ["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])",@@ -22464,39 +22464,39 @@ var zS = ["video[controls]","[contenteditable]:not([contenteditable^=\"false\"])","permission"-], cae = zS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-zS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var lae = zS.join(":not([hidden]):not([tabindex=\"-1\"]),");-function BS(e, t) {- return e.matches(cae) && !HS(e) && (t?.skipVisibilityCheck || RS(e));-}-function VS(e) {- return e.matches(lae) && RS(e) && !HS(e);+], sae = BS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+BS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var cae = BS.join(":not([hidden]):not([tabindex=\"-1\"]),");+function VS(e, t) {+ return e.matches(sae) && !US(e) && (t?.skipVisibilityCheck || zS(e));}function HS(e) {+ return e.matches(cae) && zS(e) && !US(e);+}+function US(e) {let t = e;for (; t != null;) {- if (t instanceof OS(t).HTMLElement && t.inert) return !0;+ if (t instanceof kS(t).HTMLElement && t.inert) return !0;t = t.parentElement;}return !1;}// node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var US = typeof document < "u" ? F.useLayoutEffect : () => {};+var WS = typeof document < "u" ? F.useLayoutEffect : () => {};// node_modules/react-aria/dist/private/interactions/utils.mjs-function WS(e) {+function GS(e) {let t = e;return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;}-function GS(e, t) {+function KS(e, t) {Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });}-function KS(e) {+function qS(e) {let t = (0, F.useRef)({isFocused: !1,observer: null});- return US(() => {+ return WS(() => {let e = t.current;return () => {e.observer &&= (e.observer.disconnect(), null);@@ -22508,14 +22508,14 @@ function KS(e) {let n = r;n.addEventListener("focusout", (r) => {if (t.current.isFocused = !1, n.disabled) {- let t = WS(r);+ let t = GS(r);e?.(t);}t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);}, { once: !0 }), t.current.observer = new MutationObserver(() => {if (t.current.isFocused && n.disabled) {t.current.observer?.disconnect();- let e = n === FS() ? null : FS();+ let e = n === IS() ? null : IS();n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: e@@ -22528,80 +22528,80 @@ function KS(e) {}}, [e]);}-var qS = !1;-function uae(e) {- for (; e && !BS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = FS(OS(e).document);+var JS = !1;+function lae(e) {+ for (; e && !VS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = IS(kS(e).document);if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && AS(n) ? n : OS(e), i = (t) => t === e || kS(t) && PS(e, t), a = (e) => e === t || t != null && kS(e) && PS(t, e);- qS = !0;+ let n = e?.getRootNode(), r = n != null && jS(n) ? n : kS(e), i = (t) => t === e || AS(t) && FS(e, t), a = (e) => e === t || t != null && AS(e) && FS(t, e);+ JS = !0;let o = !1, s = (e) => {(a(G(e)) || o) && e.stopImmediatePropagation();}, c = (n) => {- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, ES(t), d()));+ (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, DS(t), d()));}, l = (e) => {(i(G(e)) || o) && e.stopImmediatePropagation();}, u = (e) => {- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, ES(t), d()));+ (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, DS(t), d()));};r.addEventListener("blur", s, !0), r.addEventListener("focusout", c, !0), r.addEventListener("focusin", u, !0), r.addEventListener("focus", l, !0);let d = () => {- cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), qS = !1, o = !1;+ cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), JS = !1, o = !1;}, f = requestAnimationFrame(d);return d;}// node_modules/react-aria/dist/private/utils/platform.mjs-function JS(e) {+function YS(e) {if (typeof window > "u" || window.navigator == null) return !1;let t = window.navigator.userAgentData?.brands;return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent);}-function YS(e) {+function XS(e) {return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);}-function XS(e) {+function ZS(e) {let t = null;return () => (t ??= e(), t);}-var ZS = XS(function() {- return YS(/^Mac/i);-}), dae = XS(function() {- return YS(/^iPhone/i);-}), QS = XS(function() {- return YS(/^iPad/i) || ZS() && navigator.maxTouchPoints > 1;-}), $S = XS(function() {- return dae() || QS();-}), fae = XS(function() {- return ZS() || $S();-}), eC = XS(function() {- return JS(/AppleWebKit/i) && ($S() || !tC());-}), tC = XS(function() {- return JS(/Chrome|CriOS|CrMo/i);-}), nC = XS(function() {- return JS(/Android/i);+var QS = ZS(function() {+ return XS(/^Mac/i);+}), uae = ZS(function() {+ return XS(/^iPhone/i);+}), $S = ZS(function() {+ return XS(/^iPad/i) || QS() && navigator.maxTouchPoints > 1;+}), eC = ZS(function() {+ return uae() || $S();+}), dae = ZS(function() {+ return QS() || eC();+}), tC = ZS(function() {+ return YS(/AppleWebKit/i) && (eC() || !nC());+}), nC = ZS(function() {+ return YS(/Chrome|CriOS|CrMo/i);+}), rC = ZS(function() {+ return YS(/Android/i);});// node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function rC(e) {- return e.pointerType === "" && e.isTrusted ? !0 : nC() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+function iC(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : rC() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;}-function pae(e) {- return !nC() && e.width === 0 && e.height === 0 || nC() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+function fae(e) {+ return !rC() && e.width === 0 && e.height === 0 || rC() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";}// node_modules/react-aria/dist/private/utils/openLink.mjs-var mae = /*#__PURE__*/ (0, F.createContext)({+var pae = /*#__PURE__*/ (0, F.createContext)({isNative: !0,- open: _ae,+ open: gae,useHref: (e) => e});-function iC() {- return (0, F.useContext)(mae);+function aC() {+ return (0, F.useContext)(pae);}-function hae(e, t) {+function mae(e, t) {let n = e.getAttribute("target");return (!n || n === "_self") && e.origin === location.origin && !e.hasAttribute("download") && !t.metaKey && !t.ctrlKey && !t.altKey && !t.shiftKey;}-function aC(e, t, n = !0) {- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = eC() && ZS() && !QS() ? new KeyboardEvent("keydown", {+function oC(e, t, n = !0) {+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = tC() && QS() && !$S() ? new KeyboardEvent("keydown", {keyIdentifier: "Enter",metaKey: r,ctrlKey: i,@@ -22616,21 +22616,21 @@ function aC(e, t, n = !0) {bubbles: !0,cancelable: !0});- aC.isOpening = n, ES(e), e.dispatchEvent(s), aC.isOpening = !1;+ oC.isOpening = n, DS(e), e.dispatchEvent(s), oC.isOpening = !1;}-aC.isOpening = !1;-function gae(e, t) {+oC.isOpening = !1;+function hae(e, t) {if (e instanceof HTMLAnchorElement) t(e);else if (e.hasAttribute("data-href")) {let n = document.createElement("a");n.href = e.getAttribute("data-href"), e.hasAttribute("data-target") && (n.target = e.getAttribute("data-target")), e.hasAttribute("data-rel") && (n.rel = e.getAttribute("data-rel")), e.hasAttribute("data-download") && (n.download = e.getAttribute("data-download")), e.hasAttribute("data-ping") && (n.ping = e.getAttribute("data-ping")), e.hasAttribute("data-referrer-policy") && (n.referrerPolicy = e.getAttribute("data-referrer-policy")), e.appendChild(n), t(n), e.removeChild(n);}}-function _ae(e, t) {- gae(e, (e) => aC(e, t));+function gae(e, t) {+ hae(e, (e) => oC(e, t));}-function oC(e) {- let t = iC().useHref(e.href ?? "");+function sC(e) {+ let t = aC().useHref(e.href ?? "");return {"data-href": e.href ? t : void 0,"data-target": e.target,@@ -22640,8 +22640,8 @@ function oC(e) {"data-referrer-policy": e.referrerPolicy};}-function sC(e) {- let t = iC().useHref(e?.href ?? ""), n = {};+function cC(e) {+ let t = aC().useHref(e?.href ?? ""), n = {};if (e) for (let r of ["href","target",@@ -22652,138 +22652,138 @@ function sC(e) {]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);return n;}-function vae(e, t, n, r) {- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && hae(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));+function _ae(e, t, n, r) {+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && mae(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));}// node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var cC = {+var lC = {prefix: String(Math.round(Math.random() * 1e10)),current: 0-}, lC = /*#__PURE__*/ F.createContext(cC), yae = /*#__PURE__*/ F.createContext(!1);+}, uC = /*#__PURE__*/ F.createContext(lC), vae = /*#__PURE__*/ F.createContext(!1);typeof window < "u" && window.document && window.document.createElement;-var uC = /* @__PURE__ */ new WeakMap();-function bae(e = !1) {- let t = (0, F.useContext)(lC), n = (0, F.useRef)(null);+var dC = /* @__PURE__ */ new WeakMap();+function yae(e = !1) {+ let t = (0, F.useContext)(uC), n = (0, F.useRef)(null);if (n.current === null && !e) {let e = F.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if (e) {- let n = uC.get(e);- n == null ? uC.set(e, {+ let n = dC.get(e);+ n == null ? dC.set(e, {id: t.current,state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, uC.delete(e));+ }) : e.memoizedState !== n.state && (t.current = n.id, dC.delete(e));}n.current = ++t.current;}return n.current;}-function xae(e) {- let t = (0, F.useContext)(lC), n = bae(!!e), r = `react-aria${t.prefix}`;+function bae(e) {+ let t = (0, F.useContext)(uC), n = yae(!!e), r = `react-aria${t.prefix}`;return e || `${r}-${n}`;}-function Sae(e) {- let t = F.useId(), [n] = (0, F.useState)(hC()), r = n ? "react-aria" : `react-aria${cC.prefix}`;+function fC(e) {+ let t = F.useId(), [n] = (0, F.useState)(_C()), r = n ? "react-aria" : `react-aria${lC.prefix}`;return e || `${r}-${t}`;}-var dC = typeof F.useId == "function" ? Sae : xae;-function fC() {+var pC = typeof F.useId == "function" ? fC : bae;+function mC() {return !1;}-function pC() {+function hC() {return !0;}-function mC(e) {+function gC(e) {return () => {};}-function hC() {- return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(mC, fC, pC) : (0, F.useContext)(yae);+function _C() {+ return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(gC, mC, hC) : (0, F.useContext)(vae);}// node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var gC = null, _C = /* @__PURE__ */ new Set(), vC = /* @__PURE__ */ new Map(), yC = !1, bC = !1, Cae = {+var vC = null, yC = /* @__PURE__ */ new Set(), bC = /* @__PURE__ */ new Map(), xC = !1, SC = !1, xae = {Tab: !0,Escape: !0};-function xC(e, t) {- for (let n of _C) n(e, t);+function CC(e, t) {+ for (let n of yC) n(e, t);}-function wae(e) {- return !(e.metaKey || !ZS() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");-}-function SC(e) {- yC = !0, !aC.isOpening && wae(e) && (gC = "keyboard", xC("keyboard", e));-}-function CC(e) {- gC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (yC = !0, xC("pointer", e));+function Sae(e) {+ return !(e.metaKey || !QS() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");}function wC(e) {- !aC.isOpening && rC(e) && (yC = !0, gC = "virtual");+ xC = !0, !oC.isOpening && Sae(e) && (vC = "keyboard", CC("keyboard", e));}function TC(e) {- if (qS) return;- let t = G(e), n = OS(t), r = DS(t);- t === n ? bC = !0 : t !== r && e.isTrusted && (!yC && !bC && (gC = "virtual", xC("virtual", e)), yC = !1, bC = !1);+ vC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (xC = !0, CC("pointer", e));}-function EC() {- qS || (yC = !1, bC = !0);+function EC(e) {+ !oC.isOpening && iC(e) && (xC = !0, vC = "virtual");}function DC(e) {- let t = FS(DS(G(e)));+ if (JS) return;+ let t = G(e), n = kS(t), r = OS(t);+ t === n ? SC = !0 : t !== r && e.isTrusted && (!xC && !SC && (vC = "virtual", CC("virtual", e)), xC = !1, SC = !1);+}+function OC() {+ JS || (xC = !1, SC = !0);+}+function kC(e) {+ let t = IS(OS(G(e)));queueMicrotask(() => {- FS(DS(G(e))) !== t && MC("keyboard");+ IS(OS(G(e))) !== t && PC("keyboard");});}-function OC(e) {+function AC(e) {if (typeof window > "u" || typeof document > "u") return;- let t = OS(e), n = DS(e);- if (vC.get(t)) return;+ let t = kS(e), n = OS(e);+ if (bC.get(t)) return;let r = t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function() {- yC = !0, r.apply(this, arguments);+ xC = !0, r.apply(this, arguments);}- }), n.addEventListener("keydown", SC, !0), n.addEventListener("keyup", SC, !0), n.addEventListener("click", wC, !0), n.addEventListener("invalid", DC, !0), t.addEventListener("focus", TC, !0), t.addEventListener("blur", EC, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", CC, !0), n.addEventListener("pointermove", CC, !0), n.addEventListener("pointerup", CC, !0)), t.addEventListener("beforeunload", () => {- kC(e);- }, { once: !0 }), vC.set(t, { focus: r });+ }), n.addEventListener("keydown", wC, !0), n.addEventListener("keyup", wC, !0), n.addEventListener("click", EC, !0), n.addEventListener("invalid", kC, !0), t.addEventListener("focus", DC, !0), t.addEventListener("blur", OC, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", TC, !0), n.addEventListener("pointermove", TC, !0), n.addEventListener("pointerup", TC, !0)), t.addEventListener("beforeunload", () => {+ jC(e);+ }, { once: !0 }), bC.set(t, { focus: r });}-var kC = (e, t) => {- let n = OS(e), r = DS(e);- t && r.removeEventListener("DOMContentLoaded", t), vC.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+var jC = (e, t) => {+ let n = kS(e), r = OS(e);+ t && r.removeEventListener("DOMContentLoaded", t), bC.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,- value: vC.get(n).focus- }), r.removeEventListener("keydown", SC, !0), r.removeEventListener("keyup", SC, !0), r.removeEventListener("click", wC, !0), r.removeEventListener("invalid", DC, !0), n.removeEventListener("focus", TC, !0), n.removeEventListener("blur", EC, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", CC, !0), r.removeEventListener("pointermove", CC, !0), r.removeEventListener("pointerup", CC, !0)), vC.delete(n));+ value: bC.get(n).focus+ }), r.removeEventListener("keydown", wC, !0), r.removeEventListener("keyup", wC, !0), r.removeEventListener("click", EC, !0), r.removeEventListener("invalid", kC, !0), n.removeEventListener("focus", DC, !0), n.removeEventListener("blur", OC, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", TC, !0), r.removeEventListener("pointermove", TC, !0), r.removeEventListener("pointerup", TC, !0)), bC.delete(n));};-function Tae(e) {- let t = DS(e), n;+function Cae(e) {+ let t = OS(e), n;return t.readyState === "loading" ? (n = () => {- OC(e);- }, t.addEventListener("DOMContentLoaded", n)) : OC(e), () => kC(e, n);+ AC(e);+ }, t.addEventListener("DOMContentLoaded", n)) : AC(e), () => jC(e, n);}-typeof document < "u" && Tae();-function AC() {- return gC !== "pointer";+typeof document < "u" && Cae();+function MC() {+ return vC !== "pointer";}-function jC() {- return gC;+function NC() {+ return vC;}-function MC(e) {- gC = e, xC(e, null);+function PC(e) {+ vC = e, CC(e, null);}-function NC() {- OC();- let [e, t] = (0, F.useState)(gC);+function FC() {+ AC();+ let [e, t] = (0, F.useState)(vC);return (0, F.useEffect)(() => {let e = () => {- t(gC);+ t(vC);};- return _C.add(e), () => {- _C.delete(e);+ return yC.add(e), () => {+ yC.delete(e);};- }, []), hC() ? null : e;+ }, []), _C() ? null : e;}-var Eae = /* @__PURE__ */ new Set([+var wae = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -22794,107 +22794,107 @@ var Eae = /* @__PURE__ */ new Set(["submit","reset"]);-function Dae(e, t, n) {- let r = n ? G(n) : void 0, i = DS(r), a = OS(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = FS(i);- return e = e || u instanceof o && !Eae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Cae[n.key]);+function Tae(e, t, n) {+ let r = n ? G(n) : void 0, i = OS(r), a = kS(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = IS(i);+ return e = e || u instanceof o && !wae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !xae[n.key]);}-function PC(e = {}) {- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || AC());- return FC((e) => {+function IC(e = {}) {+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || MC());+ return LC((e) => {i(e);}, [t], { isTextInput: t }), { isFocusVisible: r };}-function FC(e, t, n) {- OC(), (0, F.useEffect)(() => {+function LC(e, t, n) {+ AC(), (0, F.useEffect)(() => {if (n?.enabled === !1) return;let t = (t, r) => {- Dae(!!n?.isTextInput, t, r) && e(AC());+ Tae(!!n?.isTextInput, t, r) && e(MC());};- return _C.add(t), () => {- _C.delete(t);+ return yC.add(t), () => {+ yC.delete(t);};}, t);}// node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var IC = /* @__PURE__ */ new Map(), LC = /* @__PURE__ */ new Set();-function RC(e) {+var RC = /* @__PURE__ */ new Map(), zC = /* @__PURE__ */ new Set();+function BC(e) {return "propertyName" in e;}-function Oae(e) {+function Eae(e) {let t = G(e);- if (!RC(e) || !t) return;- let n = IC.get(t);- n || (n = /* @__PURE__ */ new Set(), IC.set(t, n), t.addEventListener("transitioncancel", zC, { once: !0 })), n.add(e.propertyName);+ if (!BC(e) || !t) return;+ let n = RC.get(t);+ n || (n = /* @__PURE__ */ new Set(), RC.set(t, n), t.addEventListener("transitioncancel", VC, { once: !0 })), n.add(e.propertyName);}-function zC(e) {+function VC(e) {let t = G(e);- if (!RC(e) || !t) return;- let n = IC.get(t);- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", zC), IC.delete(t)), IC.size === 0)) for (let e of LC) e(!0), LC.delete(e);+ if (!BC(e) || !t) return;+ let n = RC.get(t);+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", VC), RC.delete(t)), RC.size === 0)) for (let e of zC) e(!0), zC.delete(e);}-function BC() {- jS(document, "transitionrun", Oae), jS(document, "transitionend", zC);+function HC() {+ MS(document, "transitionrun", Eae), MS(document, "transitionend", VC);}-function kae() {- for (let [e] of IC) "isConnected" in e && !e.isConnected && IC.delete(e);+function Dae() {+ for (let [e] of RC) "isConnected" in e && !e.isConnected && RC.delete(e);}-typeof document < "u" && (document.readyState === "loading" ? jS(document, "DOMContentLoaded", BC) : BC());-function VC(e) {+typeof document < "u" && (document.readyState === "loading" ? MS(document, "DOMContentLoaded", HC) : HC());+function UC(e) {let t = window.requestAnimationFrame(() => {- if (kae(), IC.size === 0) return e(!1);- LC.add(e);+ if (Dae(), RC.size === 0) return e(!1);+ zC.add(e);});return () => {- window.cancelAnimationFrame(t), LC.delete(e);+ window.cancelAnimationFrame(t), zC.delete(e);};}// node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function HC(e) {+function WC(e) {if (!e.isConnected) return;- let t = DS(e);- if (jC() === "virtual") {- let n = FS(t);- VC(() => {- let r = FS(t);- (r === n || r === t.body) && e.isConnected && ES(e);+ let t = OS(e);+ if (NC() === "virtual") {+ let n = IS(t);+ UC(() => {+ let r = IS(t);+ (r === n || r === t.body) && e.isConnected && DS(e);});- } else ES(e);+ } else DS(e);}// node_modules/react-aria/dist/private/utils/chain.mjs-function UC(...e) {+function GC(...e) {return (...t) => {for (let n of e) typeof n == "function" && n(...t);};}// node_modules/react-aria/dist/private/utils/useValueEffect.mjs-function Aae(e) {+function Oae(e) {let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(t), i = (0, F.useRef)(null), a = (0, F.useRef)(() => {if (!i.current) return;let e = i.current.next();e.done ? i.current = null : r.current === e.value ? a.current() : n(e.value);});- return US(() => {+ return WS(() => {r.current = t, i.current && a.current();}), [t, (0, F.useCallback)((e) => {i.current = e(r.current), a.current();}, [a])];}// node_modules/react-aria/dist/private/utils/useId.mjs-var jae = !!(typeof window < "u" && window.document && window.document.createElement), WC = /* @__PURE__ */ new Map(), GC;-typeof FinalizationRegistry < "u" && (GC = new FinalizationRegistry((e) => {- WC.delete(e);+var kae = !!(typeof window < "u" && window.document && window.document.createElement), KC = /* @__PURE__ */ new Map(), qC;+typeof FinalizationRegistry < "u" && (qC = new FinalizationRegistry((e) => {+ KC.delete(e);}));-var KC = /* @__PURE__ */ new WeakMap();-function qC(e) {- let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = dC(t), a = (0, F.useRef)(null), o = KC.get(a);- if (GC && o !== i && (o != null && GC.unregister(a), GC.register(a, i, a), KC.set(a, i)), jae) {- let e = WC.get(i);- e && !e.includes(r) ? e.push(r) : WC.set(i, [r]);- }- return US(() => {+var JC = /* @__PURE__ */ new WeakMap();+function YC(e) {+ let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = pC(t), a = (0, F.useRef)(null), o = JC.get(a);+ if (qC && o !== i && (o != null && qC.unregister(a), qC.register(a, i, a), JC.set(a, i)), kae) {+ let e = KC.get(i);+ e && !e.includes(r) ? e.push(r) : KC.set(i, [r]);+ }+ return WS(() => {let e = i;return () => {- GC && (GC.unregister(a), KC.delete(a)), WC.delete(e);+ qC && (qC.unregister(a), JC.delete(a)), KC.delete(e);};}, [i]), (0, F.useEffect)(() => {let e = r.current;@@ -22903,57 +22903,57 @@ function qC(e) {};}), i;}-function Mae(e, t) {+function Aae(e, t) {if (e === t) return e;- let n = WC.get(e);+ let n = KC.get(e);if (n) return n.forEach((e) => e.current = t), t;- let r = WC.get(t);+ let r = KC.get(t);return r ? (r.forEach((t) => t.current = e), e) : t;}-function JC(e = []) {- let t = qC(), [n, r] = Aae(t), i = (0, F.useCallback)(() => {+function XC(e = []) {+ let t = YC(), [n, r] = Oae(t), i = (0, F.useCallback)(() => {r(function* () {yield t, yield document.getElementById(t) ? t : void 0;});}, [t, r]);- return US(i, [+ return WS(i, [t,i,...e]), n;}// node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function YC(...e) {+function ZC(...e) {return e.length === 1 && e[0] ? e[0] : (t) => {let n = !1, r = e.map((e) => {- let r = XC(e, t);+ let r = QC(e, t);return n ||= typeof r == "function", r;});if (n) return () => {r.forEach((t, n) => {- typeof t == "function" ? t() : XC(e[n], null);+ typeof t == "function" ? t() : QC(e[n], null);});};};}-function XC(e, t) {+function QC(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}// node_modules/clsx/dist/clsx.mjs-function ZC(e) {+function $C(e) {var t, n, r = "";if (typeof e == "string" || typeof e == "number") r += e;else if (typeof e == "object") {if (Array.isArray(e)) {var i = e.length;- for (t = 0; t < i; t++) e[t] && (n = ZC(e[t])) && (r && (r += " "), r += n);+ for (t = 0; t < i; t++) e[t] && (n = $C(e[t])) && (r && (r += " "), r += n);} else for (n in e) e[n] && (r && (r += " "), r += n);}return r;}-function QC() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = ZC(e)) && (r && (r += " "), r += t);+function ew() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = $C(e)) && (r && (r += " "), r += t);return r;}// node_modules/react-aria/dist/private/utils/mergeProps.mjs@@ -22963,17 +22963,17 @@ function K(...e) {let r = e[n];for (let e in r) {let n = t[e], i = r[e];- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = UC(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = QC(n, i) : e === "id" && n && i ? t.id = Mae(n, i) : e === "ref" && n && i ? t.ref = YC(n, i) : t[e] = i === void 0 ? n : i;+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = GC(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = ew(n, i) : e === "id" && n && i ? t.id = Aae(n, i) : e === "ref" && n && i ? t.ref = ZC(n, i) : t[e] = i === void 0 ? n : i;}}return t;}// node_modules/react-aria/dist/private/interactions/useFocus.mjs-function $C(e) {+function tw(e) {let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, F.useCallback)((e) => {if (G(e) === e.currentTarget) return r && r(e), i && i(!1), !0;- }, [r, i]), o = KS(a), s = (0, F.useCallback)((e) => {- let t = G(e), r = DS(t), a = r ? FS(r) : FS();+ }, [r, i]), o = qS(a), s = (0, F.useCallback)((e) => {+ let t = G(e), r = OS(t), a = r ? IS(r) : IS();t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));}, [i,@@ -22986,7 +22986,7 @@ function $C(e) {} };}// node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function ew(e) {+function nw(e) {if (e) return (t) => {let n = !0;e({@@ -23010,33 +23010,33 @@ function ew(e) {};}// node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs-var Nae = /* @__PURE__ */ new Set([+var jae = /* @__PURE__ */ new Set(["shift","alt","control","meta","mod"-]), Pae = [+]), Mae = ["Alt","Control","Meta","Shift"];-function Fae(e) {+function Nae(e) {let t = /* @__PURE__ */ new Set();- return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(ZS() ? "Meta" : "Control"), t;+ return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(QS() ? "Meta" : "Control"), t;}-function Iae(e) {+function Pae(e) {let t = /* @__PURE__ */ new Set();return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;}-function tw(e) {- return Pae.filter((t) => e.has(t));+function rw(e) {+ return Mae.filter((t) => e.has(t));}-function Lae(e) {+function Fae(e) {let t = e.split("+").reduce((e, t) => {let n = t.toLowerCase();- return Nae.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;+ return jae.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;}, {shift: !1,alt: !1,@@ -23048,10 +23048,10 @@ function Lae(e) {if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t;}-function nw(e) {+function iw(e) {return e.toLowerCase();}-var Rae = {+var Iae = {space: " ",esc: "escape",del: "delete",@@ -23063,26 +23063,26 @@ var Rae = {pageup: "pageup",pagedown: "pagedown"};-function zae(e) {- let t = nw(e);- return Rae[t] ?? t;+function Lae(e) {+ let t = iw(e);+ return Iae[t] ?? t;}-function Bae(e) {- let t = tw(Fae(e)), n = zae(e.key);+function Rae(e) {+ let t = rw(Nae(e)), n = Lae(e.key);return t.length > 0 ? `${t.join("+")}+${n}` : n;}-function Vae(e) {- let t = tw(Iae(e)), n = nw(e.key);+function zae(e) {+ let t = rw(Pae(e)), n = iw(e.key);return (t.length > 0 ? `${t.join("+")}+` : "") + n;}-function Hae(e) {+function Bae(e) {let t = /* @__PURE__ */ new Map();for (let [n, r] of Object.entries(e)) {- let e = Lae(n);- t.set(Bae(e), r);+ let e = Fae(n);+ t.set(Rae(e), r);}return (e) => {- let n = Vae(e), r = t.get(n), i = r?.(e);+ let n = zae(e), r = t.get(n), i = r?.(e);i === void 0 && r !== void 0 ? i = {shouldContinuePropagation: !1,shouldPreventDefault: !0@@ -23093,23 +23093,23 @@ function Hae(e) {};}// node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function rw(e) {+function aw(e) {let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;if (t) {- let o = Hae(t), s = ew((e) => {- PS(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();- }), c = ew((e) => {- PS(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();+ let o = Bae(t), s = nw((e) => {+ FS(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();+ }), c = nw((e) => {+ FS(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();});- i = e.onKeyDown ? UC(e.onKeyDown, s) : s, a = e.onKeyUp ? UC(e.onKeyUp, c) : c;- } else i = ew(e.onKeyDown), a = ew(e.onKeyUp);+ i = e.onKeyDown ? GC(e.onKeyDown, s) : s, a = e.onKeyUp ? GC(e.onKeyUp, c) : c;+ } else i = nw(e.onKeyDown), a = nw(e.onKeyUp);return { keyboardProps: e.isDisabled ? {} : {onKeyDown: i,onKeyUp: a} };}// node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function iw(e) {+function ow(e) {let t = (0, F.useRef)(null), n = (0, F.useRef)(void 0), r = (0, F.useCallback)((t) => {if (typeof e == "function") {let n = e, r = n(t);@@ -23131,25 +23131,25 @@ function iw(e) {}), [r]);}// node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function aw(e, t) {- US(() => {+function sw(e, t) {+ WS(() => {if (e && e.ref && t) return e.ref.current = t.current, () => {e.ref && (e.ref.current = null);};});}// node_modules/react-aria/dist/private/interactions/useFocusable.mjs-var ow = /*#__PURE__*/ F.createContext(null);-function Uae(e) {- let t = (0, F.useContext)(ow) || {};- aw(t, e);+var cw = /*#__PURE__*/ F.createContext(null);+function Vae(e) {+ let t = (0, F.useContext)(cw) || {};+ sw(t, e);let { ref: n, ...r } = t;return r;}-function sw(e, t) {- let { focusProps: n } = $C(e), { keyboardProps: r } = rw(e), i = K(n, r), a = Uae(t), o = e.isDisabled ? {} : a, s = (0, F.useRef)(e.autoFocus);+function lw(e, t) {+ let { focusProps: n } = tw(e), { keyboardProps: r } = aw(e), i = K(n, r), a = Vae(t), o = e.isDisabled ? {} : a, s = (0, F.useRef)(e.autoFocus);(0, F.useEffect)(() => {- s.current && t.current && HC(t.current), s.current = !1;+ s.current && t.current && WC(t.current), s.current = !1;}, [t]);let c = e.excludeFromTabOrder ? -1 : 0;return e.isDisabled && (c = void 0), { focusableProps: K({@@ -23183,21 +23183,21 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.preturn this.content.insertBefore(e, t);}}));-var cw = /*#__PURE__*/ (0, F.createContext)(!1);-function Wae(e) {- if ((0, F.useContext)(cw)) return /*#__PURE__*/ F.createElement(F.Fragment, null, e.children);- let t = /*#__PURE__*/ F.createElement(cw.Provider, { value: !0 }, e.children);+var uw = /*#__PURE__*/ (0, F.createContext)(!1);+function Hae(e) {+ if ((0, F.useContext)(uw)) return /*#__PURE__*/ F.createElement(F.Fragment, null, e.children);+ let t = /*#__PURE__*/ F.createElement(uw.Provider, { value: !0 }, e.children);return /*#__PURE__*/ F.createElement("template", null, t);}-function lw(e) {- let t = (t, n) => (0, F.useContext)(cw) ? null : e(t, n);+function dw(e) {+ let t = (t, n) => (0, F.useContext)(uw) ? null : e(t, n);return t.displayName = e.displayName || e.name, (0, F.forwardRef)(t);}-function uw() {- return (0, F.useContext)(cw);+function fw() {+ return (0, F.useContext)(uw);}// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js-var Gae = /* @__PURE__ */ o(((e) => {+var Uae = /* @__PURE__ */ o(((e) => {var t = A();function n(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -23235,47 +23235,47 @@ var Gae = /* @__PURE__ */ o(((e) => {}var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;-})), dw = /* @__PURE__ */ o(((e, t) => {- t.exports = Gae();-})), Kae = dw(), fw = /*#__PURE__*/ (0, F.createContext)(!1), pw = /*#__PURE__*/ (0, F.createContext)(null);-function mw(e) {- if ((0, F.useContext)(pw)) return e.content;- let { collection: t, document: n } = Xae(e.createCollection);- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(Wae, null, /*#__PURE__*/ F.createElement(pw.Provider, { value: n }, e.content)), /*#__PURE__*/ F.createElement(qae, {+})), pw = /* @__PURE__ */ o(((e, t) => {+ t.exports = Uae();+})), Wae = pw(), mw = /*#__PURE__*/ (0, F.createContext)(!1), hw = /*#__PURE__*/ (0, F.createContext)(null);+function gw(e) {+ if ((0, F.useContext)(hw)) return e.content;+ let { collection: t, document: n } = Jae(e.createCollection);+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(Hae, null, /*#__PURE__*/ F.createElement(hw.Provider, { value: n }, e.content)), /*#__PURE__*/ F.createElement(Gae, {render: e.children,collection: t}));}-function qae({ collection: e, render: t }) {+function Gae({ collection: e, render: t }) {return t(e);}-function Jae(e, t, n) {- let r = hC(), i = (0, F.useRef)(r);+function Kae(e, t, n) {+ let r = _C(), i = (0, F.useRef)(r);i.current = r;let a = (0, F.useCallback)(() => i.current ? n() : t(), [t, n]);- return (0, Kae.useSyncExternalStore)(e, a);+ return (0, Wae.useSyncExternalStore)(e, a);}-var Yae = typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore : Jae;-function Xae(e) {- let [t] = (0, F.useState)(() => new eae(e?.() || new xS()));+var qae = typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore : Kae;+function Jae(e) {+ let [t] = (0, F.useState)(() => new $ie(e?.() || new SS()));return {- collection: Yae((0, F.useCallback)((e) => t.subscribe(e), [t]), (0, F.useCallback)(() => {+ collection: qae((0, F.useCallback)((e) => t.subscribe(e), [t]), (0, F.useCallback)(() => {let e = t.getCollection();return t.isSSR && t.resetAfterSSR(), e;}, [t]), (0, F.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),document: t};}-var hw = /*#__PURE__*/ (0, F.createContext)(null);-function Zae(e) {- return class extends _S {+var _w = /*#__PURE__*/ (0, F.createContext)(null);+function Yae(e) {+ return class extends vS {static {this.type = e;}};}-function gw(e, t, n, r, i, a) {- typeof e == "string" && (e = Zae(e));+function vw(e, t, n, r, i, a) {+ typeof e == "string" && (e = Yae(e));let o = (0, F.useCallback)((i) => {i?.setProps(t, n, e, r, a);}, [@@ -23284,82 +23284,82 @@ function gw(e, t, n, r, i, a) {r,a,e- ]), s = (0, F.useContext)(hw);+ ]), s = (0, F.useContext)(_w);if (s) {let o = s.ownerDocument.nodesByProps.get(t);- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ F.createElement(hw.Provider, { value: o }, i) : null;+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ F.createElement(_w.Provider, { value: o }, i) : null;}return /*#__PURE__*/ F.createElement(e.type, { ref: o }, i);}-function _w(e, t) {+function yw(e, t) {let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, F.forwardRef)((r, i) => {- let a = (0, F.useContext)(ow);- if (!(0, F.useContext)(fw)) {+ let a = (0, F.useContext)(cw);+ if (!(0, F.useContext)(mw)) {if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");return t(r, i);}- return gw(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ F.createElement(ow.Provider, { value: a }, /*#__PURE__*/ F.createElement(n, { node: e })));+ return vw(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ F.createElement(cw.Provider, { value: a }, /*#__PURE__*/ F.createElement(n, { node: e })));});return r.displayName = t.name, r;}-function vw(e, t, n = yw) {- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, F.forwardRef)((t, i) => gw(e, t, i, null, n(t), (e) => /*#__PURE__*/ F.createElement(r, { node: e })) ?? /*#__PURE__*/ F.createElement(F.Fragment, null));+function bw(e, t, n = xw) {+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, F.forwardRef)((t, i) => vw(e, t, i, null, n(t), (e) => /*#__PURE__*/ F.createElement(r, { node: e })) ?? /*#__PURE__*/ F.createElement(F.Fragment, null));return i.displayName = t.name, i;}-function yw(e) {- return TS({+function xw(e) {+ return ES({...e,addIdAndValue: !0});}-var bw = /*#__PURE__*/ (0, F.createContext)(null);-function xw(e) {- let t = (0, F.useContext)(bw), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = yw({+var Sw = /*#__PURE__*/ (0, F.createContext)(null);+function Cw(e) {+ let t = (0, F.useContext)(Sw), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = xw({...e,idScope: r,dependencies: n});- return (0, F.useContext)(pw) && (i = /*#__PURE__*/ F.createElement(Qae, null, i)), t = (0, F.useMemo)(() => ({+ return (0, F.useContext)(hw) && (i = /*#__PURE__*/ F.createElement(Xae, null, i)), t = (0, F.useMemo)(() => ({dependencies: n,idScope: r- }), [r, ...n]), /*#__PURE__*/ F.createElement(bw.Provider, { value: t }, i);+ }), [r, ...n]), /*#__PURE__*/ F.createElement(Sw.Provider, { value: t }, i);}-function Qae({ children: e }) {- let t = (0, F.useContext)(pw), n = (0, F.useMemo)(() => /*#__PURE__*/ F.createElement(pw.Provider, { value: null }, /*#__PURE__*/ F.createElement(fw.Provider, { value: !0 }, e)), [e]);- return hC() ? /*#__PURE__*/ F.createElement(hw.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);+function Xae({ children: e }) {+ let t = (0, F.useContext)(hw), n = (0, F.useMemo)(() => /*#__PURE__*/ F.createElement(hw.Provider, { value: null }, /*#__PURE__*/ F.createElement(mw.Provider, { value: !0 }, e)), [e]);+ return _C() ? /*#__PURE__*/ F.createElement(_w.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);}// node_modules/react-aria/dist/private/utils/constants.mjs-var $ae = "react-aria-clear-focus", eoe = "react-aria-focus";+var Zae = "react-aria-clear-focus", Qae = "react-aria-focus";// node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function Sw(e) {- let t = noe(DS(e));- t !== e && (t && toe(t, e), e && Cw(e, t));+function ww(e) {+ let t = eoe(OS(e));+ t !== e && (t && $ae(t, e), e && Tw(e, t));}-function toe(e, t) {+function $ae(e, t) {e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: t}));}-function Cw(e, t) {+function Tw(e, t) {e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {bubbles: !0,relatedTarget: t}));}-function noe(e) {- let t = FS(e), n = t?.getAttribute("aria-activedescendant");+function eoe(e) {+ let t = IS(e), n = t?.getAttribute("aria-activedescendant");return n && e.getElementById(n) || t;}// node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function ww(e, t) {- let n = OS(t), r = DS(t);+function Ew(e, t) {+ let n = kS(t), r = OS(t);if (r == null || n == null) return;let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;}// node_modules/react-aria/dist/private/utils/keyboard.mjs-var Tw = 100, Ew = 600, Dw = {+var Dw = 100, Ow = 600, kw = {isOpen: !1,screenWidth: 0,screenHeight: 0,@@ -23369,7 +23369,7 @@ var Tw = 100, Ew = 600, Dw = {endTimeStamp: 0,resizeTimeStamp: 0,resizeTimeout: 0-}, roe = /* @__PURE__ */ new Set([+}, toe = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -23380,7 +23380,7 @@ var Tw = 100, Ew = 600, Dw = {"submit","reset"]);-function Ow() {+function Aw() {let e = Number(window.visualViewport?.width ?? window.innerWidth), t = Number(window.visualViewport?.height ?? window.innerHeight), n = Number(window.visualViewport?.scale ?? 1);return {width: e * n,@@ -23388,58 +23388,58 @@ function Ow() {angle: window.screen.orientation?.angle ?? 0};}-function ioe(e) {- Dw.resizeTimeStamp <= e.timeStamp + 50 && (Dw.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Dw.resizeTimeout), Dw.resizeTimeout = window.setTimeout(kw, 150));-}-function kw() {- let e = ww("viewport");- if (nC() && e?.includes("overlays-content")) return;- let t = performance.now(), n = Ow(), r = t - Dw.startTimeStamp, i = Dw.screenHeight - n.height, a = Dw.screenAngle - n.angle;- Math.abs(a) % 180 && Dw.screenWidth - n.height < Tw && (Dw.screenWidth = n.width, Dw.screenHeight = n.height, Dw.screenAngle = n.angle, i = 0), r > Ew && (window.clearTimeout(Dw.screenTimeout), Dw.screenTimeout = window.setTimeout(() => {- let e = Mw(document.hasFocus() ? FS() : null), t = Ow();- Math.abs(Dw.screenAngle - t.angle) % 180 || Dw.isOpen && e || (Dw.screenWidth = t.width, Dw.screenHeight = t.height, Dw.screenAngle = t.angle, Dw.isOpen = !1);- }, Ew)), r <= Ew && i >= Tw && (Dw.endTimeStamp = t), Dw.isOpen = i >= Tw;+function noe(e) {+ kw.resizeTimeStamp <= e.timeStamp + 50 && (kw.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(kw.resizeTimeout), kw.resizeTimeout = window.setTimeout(jw, 150));}-function aoe() {- let e = Ow(), t = Dw.screenAngle - e.angle;- if (Math.abs(t) % 180 && !Dw.isOpen) {- let e = Dw.screenWidth;- Dw.screenWidth = Dw.screenHeight, Dw.screenHeight = e;- }- Dw.isOpen || (Dw.screenAngle = e.angle);+function jw() {+ let e = Ew("viewport");+ if (rC() && e?.includes("overlays-content")) return;+ let t = performance.now(), n = Aw(), r = t - kw.startTimeStamp, i = kw.screenHeight - n.height, a = kw.screenAngle - n.angle;+ Math.abs(a) % 180 && kw.screenWidth - n.height < Dw && (kw.screenWidth = n.width, kw.screenHeight = n.height, kw.screenAngle = n.angle, i = 0), r > Ow && (window.clearTimeout(kw.screenTimeout), kw.screenTimeout = window.setTimeout(() => {+ let e = Pw(document.hasFocus() ? IS() : null), t = Aw();+ Math.abs(kw.screenAngle - t.angle) % 180 || kw.isOpen && e || (kw.screenWidth = t.width, kw.screenHeight = t.height, kw.screenAngle = t.angle, kw.isOpen = !1);+ }, Ow)), r <= Ow && i >= Dw && (kw.endTimeStamp = t), kw.isOpen = i >= Dw;+}+function roe() {+ let e = Aw(), t = kw.screenAngle - e.angle;+ if (Math.abs(t) % 180 && !kw.isOpen) {+ let e = kw.screenWidth;+ kw.screenWidth = kw.screenHeight, kw.screenHeight = e;+ }+ kw.isOpen || (kw.screenAngle = e.angle);}-function ooe(e) {- let t = Mw(G(e)), n = performance.now(), r = Ow(), i = Dw.screenHeight - r.height;- i < Tw && t && (Dw.screenWidth = r.width, Dw.screenHeight = r.height, Dw.screenAngle = r.angle, Dw.startTimeStamp = n), t && window.clearTimeout(Dw.screenTimeout), i >= Tw && t && (Dw.endTimeStamp = n);+function ioe(e) {+ let t = Pw(G(e)), n = performance.now(), r = Aw(), i = kw.screenHeight - r.height;+ i < Dw && t && (kw.screenWidth = r.width, kw.screenHeight = r.height, kw.screenAngle = r.angle, kw.startTimeStamp = n), t && window.clearTimeout(kw.screenTimeout), i >= Dw && t && (kw.endTimeStamp = n);}-function Aw() {- let e = Ow();- jS(window.visualViewport, "resize", eC() ? kw : ioe), jS(window.screen.orientation, "change", aoe), jS(window, "focus", ooe, {+function Mw() {+ let e = Aw();+ MS(window.visualViewport, "resize", tC() ? jw : noe), MS(window.screen.orientation, "change", roe), MS(window, "focus", ioe, {capture: !0,passive: !0- }), Dw.screenWidth = e.width, Dw.screenHeight = e.height, Dw.screenAngle = e.angle;+ }), kw.screenWidth = e.width, kw.screenHeight = e.height, kw.screenAngle = e.angle;}-typeof document < "u" && (document.readyState === "loading" ? jS(document, "DOMContentLoaded", Aw) : Aw());-function jw() {- let e = ww("viewport");- return nC() && e?.includes("overlays-content") ? !1 : Dw.isOpen ? !0 : Dw.startTimeStamp ? Dw.endTimeStamp >= Dw.startTimeStamp ? !0 : performance.now() - Dw.startTimeStamp <= Ew ? Dw.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;+typeof document < "u" && (document.readyState === "loading" ? MS(document, "DOMContentLoaded", Mw) : Mw());+function Nw() {+ let e = Ew("viewport");+ return rC() && e?.includes("overlays-content") ? !1 : kw.isOpen ? !0 : kw.startTimeStamp ? kw.endTimeStamp >= kw.startTimeStamp ? !0 : performance.now() - kw.startTimeStamp <= Ow ? kw.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;}-function Mw(e) {- if (!(e instanceof Element) || !BS(e)) return !1;- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !roe.has(e.type);+function Pw(e) {+ if (!(e instanceof Element) || !VS(e)) return !1;+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !toe.has(e.type);return t || n || r;}-function Nw(e) {- return ZS() ? e.metaKey : e.ctrlKey;+function Fw(e) {+ return QS() ? e.metaKey : e.ctrlKey;}-function Pw() {- return Dw.isOpen;+function Iw() {+ return kw.isOpen;}// node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var soe = F.useInsertionEffect ?? US;-function Fw(e) {+var aoe = F.useInsertionEffect ?? WS;+function Lw(e) {let t = (0, F.useRef)(null);- return soe(() => {+ return aoe(() => {t.current = e;}, [e]), (0, F.useCallback)((...e) => {let n = t.current;@@ -23447,10 +23447,10 @@ function Fw(e) {}, []);}// node_modules/react-aria/dist/private/utils/useEvent.mjs-function Iw(e, t, n, r) {- let i = Fw(n), a = n == null;+function Rw(e, t, n, r) {+ let i = Lw(n), a = n == null;(0, F.useEffect)(() => {- if (!(a || e.current == null)) return jS(e.current, t, i, r);+ if (!(a || e.current == null)) return MS(e.current, t, i, r);}, [e,t,@@ -23459,16 +23459,16 @@ function Iw(e, t, n, r) {]);}// node_modules/react-aria/dist/private/utils/useLabels.mjs-function Lw(e, t) {+function zw(e, t) {let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = qC(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {+ return n = YC(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {id: n,"aria-label": r,"aria-labelledby": i};}// node_modules/react-aria/dist/private/i18n/utils.mjs-var coe = /* @__PURE__ */ new Set([+var ooe = /* @__PURE__ */ new Set(["Arab","Syrc","Samr",@@ -23479,7 +23479,7 @@ var coe = /* @__PURE__ */ new Set(["Adlm","Rohg","Hebr"-]), loe = /* @__PURE__ */ new Set([+]), soe = /* @__PURE__ */ new Set(["ae","ar","arc",@@ -23500,19 +23500,19 @@ var coe = /* @__PURE__ */ new Set(["ur","yi"]);-function uoe(e) {+function coe(e) {if (Intl.Locale) {let t = new Intl.Locale(e).maximize(), n = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;if (n) return n.direction === "rtl";- if (t.script) return coe.has(t.script);+ if (t.script) return ooe.has(t.script);}let t = e.split("-")[0];- return loe.has(t);+ return soe.has(t);}// node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var Rw = Symbol.for("react-aria.i18n.locale");-function zw() {- let e = typeof window < "u" && window[Rw] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+var Bw = Symbol.for("react-aria.i18n.locale");+function Vw() {+ let e = typeof window < "u" && window[Bw] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";try {Intl.DateTimeFormat.supportedLocalesOf([e]);} catch {@@ -23520,31 +23520,31 @@ function zw() {}return {locale: e,- direction: uoe(e) ? "rtl" : "ltr"+ direction: coe(e) ? "rtl" : "ltr"};}-var Bw = zw(), Vw = /* @__PURE__ */ new Set();-function Hw() {- Bw = zw();- for (let e of Vw) e(Bw);+var Hw = Vw(), Uw = /* @__PURE__ */ new Set();+function Ww() {+ Hw = Vw();+ for (let e of Uw) e(Hw);}-function doe() {- let e = hC(), [t, n] = (0, F.useState)(Bw);- return (0, F.useEffect)(() => (Vw.size === 0 && window.addEventListener("languagechange", Hw), Vw.add(n), () => {- Vw.delete(n), Vw.size === 0 && window.removeEventListener("languagechange", Hw);+function loe() {+ let e = _C(), [t, n] = (0, F.useState)(Hw);+ return (0, F.useEffect)(() => (Uw.size === 0 && window.addEventListener("languagechange", Ww), Uw.add(n), () => {+ Uw.delete(n), Uw.size === 0 && window.removeEventListener("languagechange", Ww);}), []), e ? {- locale: typeof window < "u" && window[Rw] || "en-US",+ locale: typeof window < "u" && window[Bw] || "en-US",direction: "ltr"} : t;}// node_modules/react-aria/dist/private/i18n/I18nProvider.mjs-var foe = /*#__PURE__*/ F.createContext(null);-function Uw() {- let e = doe();- return (0, F.useContext)(foe) || e;+var uoe = /*#__PURE__*/ F.createContext(null);+function Gw() {+ let e = loe();+ return (0, F.useContext)(uoe) || e;}// node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var poe = Symbol.for("react-aria.i18n.locale"), moe = Symbol.for("react-aria.i18n.strings"), Ww = void 0, Gw = class e {+var doe = Symbol.for("react-aria.i18n.locale"), foe = Symbol.for("react-aria.i18n.strings"), Kw = void 0, qw = class e {constructor(e, t = "en-US") {this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;}@@ -23555,38 +23555,38 @@ var poe = Symbol.for("react-aria.i18n.locale"), moe = Symbol.for("react-aria.i18}getStringsForLocale(e) {let t = this.strings[e];- return t || (t = hoe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ return t || (t = poe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;}static getGlobalDictionaryForPackage(t) {if (typeof window > "u") return null;- let n = window[poe];- if (Ww === void 0) {- let t = window[moe];+ let n = window[doe];+ if (Kw === void 0) {+ let t = window[foe];if (!t) return null;- Ww = {};- for (let r in t) Ww[r] = new e({ [n]: t[r] }, n);+ Kw = {};+ for (let r in t) Kw[r] = new e({ [n]: t[r] }, n);}- let r = Ww?.[t];+ let r = Kw?.[t];if (!r) throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r;}};-function hoe(e, t, n = "en-US") {+function poe(e, t, n = "en-US") {if (t[e]) return t[e];- let r = goe(e), i = _oe(e);+ let r = moe(e), i = hoe(e);if (i && t[`${r}-${i}`]) return t[`${r}-${i}`];if (t[r]) return t[r];for (let e in t) if (e.startsWith(r + "-")) return t[e];return t[n];}-function goe(e) {+function moe(e) {return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];}-function _oe(e) {+function hoe(e) {if (Intl.Locale) return new Intl.Locale(e).script;}// node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var Kw = /* @__PURE__ */ new Map(), qw = /* @__PURE__ */ new Map(), voe = class {+var Jw = /* @__PURE__ */ new Map(), Yw = /* @__PURE__ */ new Map(), goe = class {constructor(e, t) {this.locale = e, this.strings = t;}@@ -23597,36 +23597,36 @@ var Kw = /* @__PURE__ */ new Map(), qw = /* @__PURE__ */ new Map(), voe = classplural(e, t, n = "cardinal") {let r = t["=" + e];if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = Kw.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), Kw.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = Jw.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Jw.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;}number(e) {- let t = qw.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), qw.set(this.locale, t)), t.format(e);+ let t = Yw.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), Yw.set(this.locale, t)), t.format(e);}select(e, t) {let n = e[t] || e.other;return typeof n == "function" ? n() : n;}-}, Jw = /* @__PURE__ */ new WeakMap();-function yoe(e) {- let t = Jw.get(e);- return t || (t = new Gw(e), Jw.set(e, t)), t;+}, Xw = /* @__PURE__ */ new WeakMap();+function _oe(e) {+ let t = Xw.get(e);+ return t || (t = new qw(e), Xw.set(e, t)), t;}-function boe(e, t) {- return t && Gw.getGlobalDictionaryForPackage(t) || yoe(e);+function voe(e, t) {+ return t && qw.getGlobalDictionaryForPackage(t) || _oe(e);}-function Yw(e, t) {- let { locale: n } = Uw(), r = boe(e, t);- return (0, F.useMemo)(() => new voe(n, r), [n, r]);+function Zw(e, t) {+ let { locale: n } = Gw(), r = voe(e, t);+ return (0, F.useMemo)(() => new goe(n, r), [n, r]);}// node_modules/react-aria/dist/private/utils/filterDOMProps.mjs-var xoe = /* @__PURE__ */ new Set(["id"]), Soe = /* @__PURE__ */ new Set([+var yoe = /* @__PURE__ */ new Set(["id"]), boe = /* @__PURE__ */ new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"-]), Coe = /* @__PURE__ */ new Set([+]), xoe = /* @__PURE__ */ new Set(["href","hrefLang","target",@@ -23634,60 +23634,60 @@ var xoe = /* @__PURE__ */ new Set(["id"]), Soe = /* @__PURE__ */ new Set(["download","ping","referrerPolicy"-]), woe = /* @__PURE__ */ new Set([+]), Soe = /* @__PURE__ */ new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"-]), Xw = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), Toe = /^(data-.*)$/;-function Zw(e, t = {}) {+]), Qw = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), Coe = /^(data-.*)$/;+function $w(e, t = {}) {let { labelable: n, isLink: r, global: i, events: a = i, propNames: o } = t, s = {};- for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (xoe.has(t) || n && Soe.has(t) || r && Coe.has(t) || i && woe.has(t) || a && (Xw.has(t) || t.endsWith("Capture") && Xw.has(t.slice(0, -7))) || o?.has(t) || Toe.test(t)) && (s[t] = e[t]);+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (yoe.has(t) || n && boe.has(t) || r && xoe.has(t) || i && Soe.has(t) || a && (Qw.has(t) || t.endsWith("Capture") && Qw.has(t.slice(0, -7))) || o?.has(t) || Coe.test(t)) && (s[t] = e[t]);return s;}// node_modules/react-aria/dist/private/interactions/textSelection.mjs-var Qw = "default", $w = "", eT = /* @__PURE__ */ new WeakMap();-function tT(e) {- if ($S() && eC()) {- if (Qw === "default") {- let t = DS(e);- $w = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";- }- Qw = "disabled";+var eT = "default", tT = "", nT = /* @__PURE__ */ new WeakMap();+function rT(e) {+ if (eC() && tC()) {+ if (eT === "default") {+ let t = OS(e);+ tT = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ eT = "disabled";} else if (e instanceof HTMLElement || e instanceof SVGElement) {let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- eT.set(e, e.style[t]), e.style[t] = "none";+ nT.set(e, e.style[t]), e.style[t] = "none";}}-function nT(e) {- if ($S() && eC()) {- if (Qw !== "disabled") return;- Qw = "restoring", setTimeout(() => {- VC(() => {- if (Qw === "restoring") {- let t = DS(e);- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = $w || ""), $w = "", Qw = "default";+function iT(e) {+ if (eC() && tC()) {+ if (eT !== "disabled") return;+ eT = "restoring", setTimeout(() => {+ UC(() => {+ if (eT === "restoring") {+ let t = OS(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = tT || ""), tT = "", eT = "default";}});}, 300);- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && eT.has(e)) {- let t = eT.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), eT.delete(e);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && nT.has(e)) {+ let t = nT.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), nT.delete(e);}}// node_modules/react-aria/dist/private/utils/getNonce.mjs-var rT = /* @__PURE__ */ new WeakMap();-function iT(e) {- let t = DS(e), n = rT.get(t);- return n ??= ww("csp-nonce", t), n !== void 0 && rT.set(t, n), n;+var aT = /* @__PURE__ */ new WeakMap();+function oT(e) {+ let t = OS(e), n = aT.get(t);+ return n ??= Ew("csp-nonce", t), n !== void 0 && aT.set(t, n), n;}// node_modules/react-aria/dist/private/interactions/context.mjs-var aT = F.createContext({ register: () => {} });-aT.displayName = "PressResponderContext";+var sT = F.createContext({ register: () => {} });+sT.displayName = "PressResponderContext";// node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs-function oT() {+function cT() {let e = (0, F.useRef)(/* @__PURE__ */ new Map()), t = (0, F.useCallback)((t, n, r, i) => {let a = i?.once ? (...t) => {e.current.delete(r), r(...t);@@ -23713,15 +23713,15 @@ function oT() {};}// node_modules/react-aria/dist/private/interactions/usePress.mjs-function Eoe(e) {- let t = (0, F.useContext)(aT);+function woe(e) {+ let t = (0, F.useContext)(sT);if (t) {let { register: n, ref: r, ...i } = t;e = K(i, e), n();}- return aw(t, e.ref), e;+ return sw(t, e.ref), e;}-var sT = class {+var lT = class {#e;constructor(e, t, n, r) {this.#e = !0;@@ -23734,9 +23734,9 @@ var sT = class {get shouldStopPropagation() {return this.#e;}-}, cT = Symbol("linkClicked"), lT = "react-aria-pressable-style", uT = "data-react-aria-pressable";-function dT(e) {- let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = Eoe(e), [m, h] = (0, F.useState)(!1), g = (0, F.useRef)({+}, uT = Symbol("linkClicked"), dT = "react-aria-pressable-style", fT = "data-react-aria-pressable";+function pT(e) {+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = woe(e), [m, h] = (0, F.useState)(!1), g = (0, F.useRef)({isPressed: !1,ignoreEmulatedMouseEvents: !1,didFirePressStart: !1,@@ -23746,12 +23746,12 @@ function dT(e) {isOverTarget: !1,pointerType: null,disposables: []- }), { addGlobalListener: _, removeAllGlobalListeners: v } = oT(), y = (0, F.useCallback)((e, t) => {+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = cT(), y = (0, F.useCallback)((e, t) => {let i = g.current;if (s || i.didFirePressStart) return !1;let a = !0;if (i.isTriggeringEvent = !0, r) {- let n = new sT("pressstart", t, e);+ let n = new lT("pressstart", t, e);r(n), a = n.shouldStopPropagation;}return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;@@ -23765,11 +23765,11 @@ function dT(e) {o.didFirePressStart = !1, o.isTriggeringEvent = !0;let c = !0;if (i) {- let t = new sT("pressend", r, e);+ let t = new lT("pressend", r, e);i(t), c = t.shouldStopPropagation;}if (n && n(!1), h(!1), t && a && !s) {- let n = new sT("press", r, e);+ let n = new lT("press", r, e);t(n), c &&= n.shouldStopPropagation;}return o.isTriggeringEvent = !1, c;@@ -23778,19 +23778,19 @@ function dT(e) {i,n,t- ]), x = Fw(b), S = Fw((0, F.useCallback)((e, t) => {+ ]), x = Lw(b), S = Lw((0, F.useCallback)((e, t) => {let n = g.current;if (s) return !1;if (a) {n.isTriggeringEvent = !0;- let r = new sT("pressup", t, e);+ let r = new lT("pressup", t, e);return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;}return !0;}, [s, a])), C = (0, F.useCallback)((e) => {let t = g.current;if (t.isPressed && t.target) {- t.didFirePressStart && t.pointerType != null && b(mT(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || nT(t.target);+ t.didFirePressStart && t.pointerType != null && b(gT(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || iT(t.target);for (let e of t.disposables) e();t.disposables = [];}@@ -23798,7 +23798,7 @@ function dT(e) {d,v,b- ]), w = Fw(C);+ ]), w = Lw(C);(0, F.useEffect)(() => {s && g.current.isPressed && w({currentTarget: g.current.target,@@ -23815,39 +23815,39 @@ function dT(e) {}, [s, o]), D = (0, F.useCallback)((e, t) => {if (!s && o) {let n = new MouseEvent("click", e);- GS(n, t), o(WS(n));+ KS(n, t), o(GS(n));}}, [s, o]), O = (0, F.useMemo)(() => {let e = g.current, t = {onKeyDown(t) {- if (pT(t.nativeEvent, t.currentTarget) && PS(t.currentTarget, G(t))) {- hT(G(t), t.key) && t.preventDefault();+ if (hT(t.nativeEvent, t.currentTarget) && FS(t.currentTarget, G(t))) {+ _T(G(t), t.key) && t.preventDefault();let r = !0;!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));let i = t.currentTarget;- _(DS(t.currentTarget), "keyup", UC((t) => {- pT(t, i) && !t.repeat && PS(i, G(t)) && e.target && S(mT(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && ZS() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ _(OS(t.currentTarget), "keyup", GC((t) => {+ hT(t, i) && !t.repeat && FS(i, G(t)) && e.target && S(gT(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && QS() && e.metaKeyEvents?.set(t.key, t.nativeEvent);} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());},onClick(t) {- if ((!t || PS(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !aC.isOpening) {+ if ((!t || FS(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !oC.isOpening) {let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || rC(t.nativeEvent))) {+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || iC(t.nativeEvent))) {let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");E(t), n = e && r && i;} else if (e.isPressed && e.pointerType !== "keyboard") {- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(mT(t.currentTarget, t), r), a = x(mT(t.currentTarget, t), r, !0);+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(gT(t.currentTarget, t), r), a = x(gT(t.currentTarget, t), r, !0);n = i && a, e.isOverTarget = !1, E(t), w(t);}e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();}}}, n = (t) => {- if (e.isPressed && e.target && pT(t, e.target)) {- hT(G(t), t.key) && t.preventDefault();- let n = G(t), r = PS(e.target, n);- x(mT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && fT(e.target) && PS(e.target, n) && !t[cT] && (t[cT] = !0, aC(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ if (e.isPressed && e.target && hT(t, e.target)) {+ _T(G(t), t.key) && t.preventDefault();+ let n = G(t), r = FS(e.target, n);+ x(gT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && mT(e.target) && FS(e.target, n) && !t[uT] && (t[uT] = !0, oC(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);} else if (t.key === "Meta" && e.metaKeyEvents?.size) {let t = e.metaKeyEvents;e.metaKeyEvents = void 0;@@ -23856,39 +23856,39 @@ function dT(e) {};if (typeof PointerEvent < "u") {t.onPointerDown = (t) => {- if (t.button !== 0 || !PS(t.currentTarget, G(t))) return;- if (pae(t.nativeEvent)) {+ if (t.button !== 0 || !FS(t.currentTarget, G(t))) return;+ if (fae(t.nativeEvent)) {e.pointerType = "virtual";return;}e.pointerType = t.pointerType;let i = !0;if (!e.isPressed) {- e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || tT(e.target), i = y(t, e.pointerType);+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || rT(e.target), i = y(t, e.pointerType);let a = G(t);- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(DS(t.currentTarget), "pointerup", n, !1), _(DS(t.currentTarget), "pointercancel", r, !1);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(OS(t.currentTarget), "pointerup", n, !1), _(OS(t.currentTarget), "pointercancel", r, !1);}i && t.stopPropagation();}, t.onMouseDown = (t) => {- if (PS(t.currentTarget, G(t)) && t.button === 0) {+ if (FS(t.currentTarget, G(t)) && t.button === 0) {if (l) {- let n = uae(t.target);+ let n = lae(t.target);n && e.disposables.push(n);}t.stopPropagation();}}, t.onPointerUp = (t) => {- PS(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);+ FS(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);}, t.onPointerEnter = (t) => {- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(mT(e.target, t), e.pointerType));+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(gT(e.target, t), e.pointerType));}, t.onPointerLeave = (t) => {- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(mT(e.target, t), e.pointerType, !1), T(t));+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(gT(e.target, t), e.pointerType, !1), T(t));};let n = (t) => {if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {- if (PS(e.target, G(t)) && e.pointerType != null) {+ if (FS(e.target, G(t)) && e.pointerType != null) {let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (ES(e.target), e.target.click()));+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (DS(e.target), e.target.click()));}, 80);_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));} else w(t);@@ -23898,7 +23898,7 @@ function dT(e) {w(e);};t.onDragStart = (e) => {- PS(e.currentTarget, G(e)) && w(e);+ FS(e.currentTarget, G(e)) && w(e);};}return t;@@ -23915,14 +23915,14 @@ function dT(e) {]);return (0, F.useEffect)(() => {if (!f) return;- let e = DS(f.current);- if (!e || !e.head || e.getElementById(lT)) return;+ let e = OS(f.current);+ if (!e || !e.head || e.getElementById(dT)) return;let t = e.createElement("style");- t.id = lT;- let n = iT(e);+ t.id = dT;+ let n = oT(e);n && (t.nonce = n), t.textContent = `@layer {- [${uT}] {+ [${fT}] {touch-action: pan-x pan-y pinch-zoom;}}@@ -23930,23 +23930,23 @@ function dT(e) {}, [f]), (0, F.useEffect)(() => {let e = g.current;return () => {- d || nT(e.target ?? void 0);+ d || iT(e.target ?? void 0);for (let t of e.disposables) t();e.disposables = [];};}, [d]), {isPressed: c || m,- pressProps: K(p, O, { [uT]: !0 })+ pressProps: K(p, O, { [fT]: !0 })};}-function fT(e) {+function mT(e) {return e.tagName === "A" && e.hasAttribute("href");}-function pT(e, t) {+function hT(e, t) {let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof OS(i).HTMLInputElement && !gT(i, n) || i instanceof OS(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && fT(i)) && n !== "Enter");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof kS(i).HTMLInputElement && !vT(i, n) || i instanceof kS(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && mT(i)) && n !== "Enter");}-function mT(e, t) {+function gT(e, t) {let n = t.clientX, r = t.clientY;return {currentTarget: e,@@ -23959,13 +23959,13 @@ function mT(e, t) {key: t.key};}-function Doe(e) {- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !fT(e);+function Toe(e) {+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !mT(e);}-function hT(e, t) {- return ZS() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !gT(e, t) : Doe(e);+function _T(e, t) {+ return QS() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !vT(e, t) : Toe(e);}-var Ooe = /* @__PURE__ */ new Set([+var Eoe = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -23976,11 +23976,11 @@ var Ooe = /* @__PURE__ */ new Set(["submit","reset"]);-function gT(e, t) {- return e.type === "checkbox" || e.type === "radio" ? t === " " : Ooe.has(e.type);+function vT(e, t) {+ return e.type === "checkbox" || e.type === "radio" ? t === " " : Eoe.has(e.type);}// node_modules/react-aria/dist/private/button/useButton.mjs-function koe(e, t) {+function Doe(e, t) {let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;g = n === "button" ? {type: h,@@ -24002,7 +24002,7 @@ function koe(e, t) {"aria-disabled": !r || n === "input" ? void 0 : r,rel: n === "a" ? m : void 0};- let { pressProps: _, isPressed: v } = dT({+ let { pressProps: _, isPressed: v } = pT({onPressStart: a,onPressEnd: o,onPressChange: c,@@ -24012,9 +24012,9 @@ function koe(e, t) {isDisabled: r,preventFocusOnPress: l,ref: t- }), { focusableProps: y } = sw(e, t);+ }), { focusableProps: y } = lw(e, t);u && (y.tabIndex = r ? -1 : y.tabIndex);- let b = K(y, _, Zw(e, { labelable: !0 }));+ let b = K(y, _, $w(e, { labelable: !0 }));return {isPressed: v,buttonProps: K(g, b, {@@ -24028,7 +24028,7 @@ function koe(e, t) {};}// node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs-var Aoe = class {+var Ooe = class {constructor(e, t, n, r) {this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {if (e.nodeType === Node.ELEMENT_NODE) {@@ -24053,7 +24053,7 @@ var Aoe = class {return this._currentNode;}set currentNode(e) {- if (!PS(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");+ if (!FS(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t = [], n = e, r = e;for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });@@ -24067,7 +24067,7 @@ var Aoe = class {}firstChild() {let e = this.currentNode, t = this.nextNode();- return PS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ return FS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);}lastChild() {let e = this._walkerStack[0].lastChild();@@ -24131,44 +24131,44 @@ var Aoe = class {return null;}};-function _T(e, t, n, r) {- return NS() ? new Aoe(e, t, n, r) : e.createTreeWalker(t, n, r);+function yT(e, t, n, r) {+ return PS() ? new Ooe(e, t, n, r) : e.createTreeWalker(t, n, r);}// node_modules/react-aria/dist/private/focus/FocusScope.mjs-var vT = /*#__PURE__*/ F.createContext(null), yT = "react-aria-focus-scope-restore", bT = null;-function xT(e) {- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)([]), { parentNode: c } = (0, F.useContext)(vT) || {}, l = (0, F.useMemo)(() => new PT({ scopeRef: s }), [s]);- US(() => {- let e = c || FT.root;- if (FT.getTreeNode(e.scopeRef) && bT && !DT(bT, e.scopeRef)) {- let t = FT.getTreeNode(bT);+var bT = /*#__PURE__*/ F.createContext(null), xT = "react-aria-focus-scope-restore", ST = null;+function CT(e) {+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)([]), { parentNode: c } = (0, F.useContext)(bT) || {}, l = (0, F.useMemo)(() => new IT({ scopeRef: s }), [s]);+ WS(() => {+ let e = c || LT.root;+ if (LT.getTreeNode(e.scopeRef) && ST && !kT(ST, e.scopeRef)) {+ let t = LT.getTreeNode(ST);t && (e = t);}- e.addChild(l), FT.addNode(l);- }, [l, c]), US(() => {- let e = FT.getTreeNode(s);+ e.addChild(l), LT.addNode(l);+ }, [l, c]), WS(() => {+ let e = LT.getTreeNode(s);e && (e.contain = !!n);- }, [n]), US(() => {+ }, [n]), WS(() => {let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();- for (; e && e !== o.current;) t.push(e), e.addEventListener(yT, n), e = e.nextSibling;+ for (; e && e !== o.current;) t.push(e), e.addEventListener(xT, n), e = e.nextSibling;return s.current = t, () => {- for (let e of t) e.removeEventListener(yT, n);+ for (let e of t) e.removeEventListener(xT, n);};- }, [t]), Loe(s, r, n), Poe(s, n), Roe(s, r, n), Ioe(s, i), (0, F.useEffect)(() => {- let e = FS(DS(s.current ? s.current[0] : void 0)), t = null;- if (TT(e, s.current)) {- for (let n of FT.traverse()) n.scopeRef && TT(e, n.scopeRef.current) && (t = n);- t === FT.getTreeNode(s) && (bT = t.scopeRef);- }- }, [s]), US(() => () => {- let e = FT.getTreeNode(s)?.parent?.scopeRef ?? null;- s !== bT && !DT(s, bT) || e && !FT.getTreeNode(e) || (bT = e), FT.removeTreeNode(s);+ }, [t]), Foe(s, r, n), Moe(s, n), Ioe(s, r, n), Poe(s, i), (0, F.useEffect)(() => {+ let e = IS(OS(s.current ? s.current[0] : void 0)), t = null;+ if (DT(e, s.current)) {+ for (let n of LT.traverse()) n.scopeRef && DT(e, n.scopeRef.current) && (t = n);+ t === LT.getTreeNode(s) && (ST = t.scopeRef);+ }+ }, [s]), WS(() => () => {+ let e = LT.getTreeNode(s)?.parent?.scopeRef ?? null;+ s !== ST && !kT(s, ST) || e && !LT.getTreeNode(e) || (ST = e), LT.removeTreeNode(s);}, [s]);- let u = (0, F.useMemo)(() => joe(s), []), d = (0, F.useMemo)(() => ({+ let u = (0, F.useMemo)(() => koe(s), []), d = (0, F.useMemo)(() => ({focusManager: u,parentNode: l}), [l, u]);- return /*#__PURE__*/ F.createElement(vT.Provider, { value: d }, /*#__PURE__*/ F.createElement("span", {+ return /*#__PURE__*/ F.createElement(bT.Provider, { value: d }, /*#__PURE__*/ F.createElement("span", {"data-focus-scope-start": !0,hidden: !0,ref: a@@ -24178,154 +24178,154 @@ function xT(e) {ref: o}));}-function joe(e) {+function koe(e) {return {focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || FS(DS(n[0] ?? void 0)), c = n[0].previousElementSibling, l = NT(ST(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || IS(OS(n[0] ?? void 0)), c = n[0].previousElementSibling, l = FT(wT(n), {tabbable: i,accept: o}, n);- l.currentNode = TT(s, n) ? s : c;+ l.currentNode = DT(s, n) ? s : c;let u = l.nextNode();- return !u && a && (l.currentNode = c, u = l.nextNode()), u && OT(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && AT(u, !0), u;},focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || FS(DS(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = NT(ST(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || IS(OS(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = FT(wT(n), {tabbable: i,accept: o}, n);- l.currentNode = TT(s, n) ? s : c;+ l.currentNode = DT(s, n) ? s : c;let u = l.previousNode();- return !u && a && (l.currentNode = c, u = l.previousNode()), u && OT(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && AT(u, !0), u;},focusFirst(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = NT(ST(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = FT(wT(n), {tabbable: r,accept: i}, n);a.currentNode = n[0].previousElementSibling;let o = a.nextNode();- return o && OT(o, !0), o;+ return o && AT(o, !0), o;},focusLast(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = NT(ST(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = FT(wT(n), {tabbable: r,accept: i}, n);a.currentNode = n[n.length - 1].nextElementSibling;let o = a.previousNode();- return o && OT(o, !0), o;+ return o && AT(o, !0), o;}};}-function ST(e) {+function wT(e) {return e[0].parentElement;}-function CT(e) {- let t = FT.getTreeNode(bT);+function TT(e) {+ let t = LT.getTreeNode(ST);for (; t && t.scopeRef !== e;) {if (t.contain) return !1;t = t.parent;}return !0;}-function Moe(e) {- if (!e.form) return Array.from(DS(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);- let t = e.form.elements.namedItem(e.name), n = OS(e);+function Aoe(e) {+ if (!e.form) return Array.from(OS(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = kS(e);return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}-function Noe(e) {+function joe(e) {if (e.checked) return !0;- let t = Moe(e);+ let t = Aoe(e);return t.length > 0 && !t.some((e) => e.checked);}-function Poe(e, t) {+function Moe(e, t) {let n = (0, F.useRef)(void 0), r = (0, F.useRef)(void 0);- US(() => {+ WS(() => {let i = e.current;if (!t) {r.current &&= (cancelAnimationFrame(r.current), void 0);return;}- let a = DS(i ? i[0] : void 0), o = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !CT(e) || t.isComposing) return;- let n = FS(a), r = e.current;- if (!r || !TT(n, r)) return;- let i = NT(ST(r), { tabbable: !0 }, r);+ let a = OS(i ? i[0] : void 0), o = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !TT(e) || t.isComposing) return;+ let n = IS(a), r = e.current;+ if (!r || !DT(n, r)) return;+ let i = FT(wT(r), { tabbable: !0 }, r);if (!n) return;i.currentNode = n;let o = t.shiftKey ? i.previousNode() : i.nextNode();- o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (OT(o, !0), o instanceof OS(o).HTMLInputElement && o.select());+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (AT(o, !0), o instanceof kS(o).HTMLInputElement && o.select());}, s = (t) => {- (!bT || DT(bT, e)) && TT(G(t), e.current) ? (bT = e, n.current = G(t)) : CT(e) && !ET(G(t), e) ? n.current ? OT(n.current) : bT && bT.current && AT(bT.current) : CT(e) && (n.current = G(t));+ (!ST || kT(ST, e)) && DT(G(t), e.current) ? (ST = e, n.current = G(t)) : TT(e) && !OT(G(t), e) ? n.current ? AT(n.current) : ST && ST.current && MT(ST.current) : TT(e) && (n.current = G(t));}, c = (t) => {r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = jC(), i = (r === "virtual" || r === null) && nC() && tC(), o = FS(a);- if (!i && o && CT(e) && !ET(o, e)) {- bT = e;+ let r = NC(), i = (r === "virtual" || r === null) && rC() && nC(), o = IS(a);+ if (!i && o && TT(e) && !OT(o, e)) {+ ST = e;let r = G(t);- r && r.isConnected ? (n.current = r, OT(n.current)) : bT.current && AT(bT.current);+ r && r.isConnected ? (n.current = r, AT(n.current)) : ST.current && MT(ST.current);}});};return a.addEventListener("keydown", o, !1), a.addEventListener("focusin", s, !1), i?.forEach((e) => e.addEventListener("focusin", s, !1)), i?.forEach((e) => e.addEventListener("focusout", c, !1)), () => {a.removeEventListener("keydown", o, !1), a.removeEventListener("focusin", s, !1), i?.forEach((e) => e.removeEventListener("focusin", s, !1)), i?.forEach((e) => e.removeEventListener("focusout", c, !1));};- }, [e, t]), US(() => () => {+ }, [e, t]), WS(() => () => {r.current && cancelAnimationFrame(r.current);}, [r]);}-function wT(e) {- return ET(e);+function ET(e) {+ return OT(e);}-function TT(e, t) {- return !e || !t ? !1 : t.some((t) => PS(t, e));+function DT(e, t) {+ return !e || !t ? !1 : t.some((t) => FS(t, e));}-function ET(e, t = null) {+function OT(e, t = null) {if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;- for (let { scopeRef: n } of FT.traverse(FT.getTreeNode(t))) if (n && TT(e, n.current)) return !0;+ for (let { scopeRef: n } of LT.traverse(LT.getTreeNode(t))) if (n && DT(e, n.current)) return !0;return !1;}-function Foe(e) {- return ET(e, bT);+function Noe(e) {+ return OT(e, ST);}-function DT(e, t) {- let n = FT.getTreeNode(t)?.parent;+function kT(e, t) {+ let n = LT.getTreeNode(t)?.parent;for (; n;) {if (n.scopeRef === e) return !0;n = n.parent;}return !1;}-function OT(e, t = !1) {+function AT(e, t = !1) {if (e != null && !t) try {- HC(e);+ WC(e);} catch {}else if (e != null) try {e.focus();} catch {}}-function kT(e, t = !0) {- let n = e[0].previousElementSibling, r = ST(e), i = NT(r, { tabbable: t }, e);+function jT(e, t = !0) {+ let n = e[0].previousElementSibling, r = wT(e), i = FT(r, { tabbable: t }, e);i.currentNode = n;let a = i.nextNode();- return t && !a && (r = ST(e), i = NT(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;+ return t && !a && (r = wT(e), i = FT(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;}-function AT(e, t = !0) {- OT(kT(e, t));+function MT(e, t = !0) {+ AT(jT(e, t));}-function Ioe(e, t) {+function Poe(e, t) {let n = F.useRef(t);(0, F.useEffect)(() => {- n.current && (bT = e, !TT(FS(DS(e.current ? e.current[0] : void 0)), bT.current) && e.current && AT(e.current)), n.current = !1;+ n.current && (ST = e, !DT(IS(OS(e.current ? e.current[0] : void 0)), ST.current) && e.current && MT(e.current)), n.current = !1;}, [e]);}-function Loe(e, t, n) {- US(() => {+function Foe(e, t, n) {+ WS(() => {if (t || n) return;- let r = e.current, i = DS(r ? r[0] : void 0), a = (t) => {+ let r = e.current, i = OS(r ? r[0] : void 0), a = (t) => {let n = G(t);- TT(n, e.current) ? bT = e : wT(n) || (bT = null);+ DT(n, e.current) ? ST = e : ET(n) || (ST = null);};return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));@@ -24336,43 +24336,43 @@ function Loe(e, t, n) {n]);}-function jT(e) {- let t = FT.getTreeNode(bT);+function NT(e) {+ let t = LT.getTreeNode(ST);for (; t && t.scopeRef !== e;) {if (t.nodeToRestore) return !1;t = t.parent;}return t?.scopeRef === e;}-function Roe(e, t, n) {- let r = (0, F.useRef)(typeof document < "u" ? FS(DS(e.current ? e.current[0] : void 0)) : null);- US(() => {- let r = e.current, i = DS(r ? r[0] : void 0);+function Ioe(e, t, n) {+ let r = (0, F.useRef)(typeof document < "u" ? IS(OS(e.current ? e.current[0] : void 0)) : null);+ WS(() => {+ let r = e.current, i = OS(r ? r[0] : void 0);if (!t || n) return;let a = () => {- (!bT || DT(bT, e)) && TT(FS(i), e.current) && (bT = e);+ (!ST || kT(ST, e)) && DT(IS(i), e.current) && (ST = e);};return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));};- }, [e, n]), US(() => {- let r = DS(e.current ? e.current[0] : void 0);+ }, [e, n]), WS(() => {+ let r = OS(e.current ? e.current[0] : void 0);if (!t) return;let i = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !CT(e) || t.isComposing) return;+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !TT(e) || t.isComposing) return;let n = r.activeElement;- if (!ET(n, e) || !jT(e)) return;- let i = FT.getTreeNode(e);+ if (!OT(n, e) || !NT(e)) return;+ let i = LT.getTreeNode(e);if (!i) return;- let a = i.nodeToRestore, o = NT(r.body, { tabbable: !0 });+ let a = i.nodeToRestore, o = FT(r.body, { tabbable: !0 });o.currentNode = n;let s = t.shiftKey ? o.previousNode() : o.nextNode();- if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !ET(s, e)) && a) {+ if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !OT(s, e)) && a) {o.currentNode = a;dos = t.shiftKey ? o.previousNode() : o.nextNode();- while (ET(s, e));- t.preventDefault(), t.stopPropagation(), s ? OT(s, !0) : wT(a) ? OT(a, !0) : n.blur();+ while (OT(s, e));+ t.preventDefault(), t.stopPropagation(), s ? AT(s, !0) : ET(a) ? AT(a, !0) : n.blur();}};return n || r.addEventListener("keydown", i, !0), () => {@@ -24382,31 +24382,31 @@ function Roe(e, t, n) {e,t,n- ]), US(() => {- let n = DS(e.current ? e.current[0] : void 0);+ ]), WS(() => {+ let n = OS(e.current ? e.current[0] : void 0);if (!t) return;- let i = FT.getTreeNode(e);+ let i = LT.getTreeNode(e);if (i) return i.nodeToRestore = r.current ?? void 0, () => {- let r = FT.getTreeNode(e);+ let r = LT.getTreeNode(e);if (!r) return;- let i = r.nodeToRestore, a = FS(n);- if (t && i && (a && ET(a, e) || a === n.body && jT(e))) {- let t = FT.clone();+ let i = r.nodeToRestore, a = IS(n);+ if (t && i && (a && OT(a, e) || a === n.body && NT(e))) {+ let t = LT.clone();requestAnimationFrame(() => {if (n.activeElement === n.body) {let n = t.getTreeNode(e);for (; n;) {if (n.nodeToRestore && n.nodeToRestore.isConnected) {- MT(n.nodeToRestore);+ PT(n.nodeToRestore);return;}n = n.parent;}for (n = t.getTreeNode(e); n;) {- if (n.scopeRef && n.scopeRef.current && FT.getTreeNode(n.scopeRef)) {- let e = kT(n.scopeRef.current, !0);+ if (n.scopeRef && n.scopeRef.current && LT.getTreeNode(n.scopeRef)) {+ let e = jT(n.scopeRef.current, !0);if (e) {- MT(e);+ PT(e);return;}}@@ -24418,21 +24418,21 @@ function Roe(e, t, n) {};}, [e, t]);}-function MT(e) {- e.dispatchEvent(new CustomEvent(yT, {+function PT(e) {+ e.dispatchEvent(new CustomEvent(xT, {bubbles: !0,cancelable: !0- })) && OT(e);+ })) && AT(e);}-function NT(e, t, n) {- let r = t?.tabbable ? VS : BS, i = DS(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = _T(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return PS(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Noe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || TT(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+function FT(e, t, n) {+ let r = t?.tabbable ? HS : VS, i = OS(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = yT(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return FS(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!joe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || DT(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;} });return t?.from && (a.currentNode = t.from), a;}-var zoe = class e {+var Loe = class e {constructor() {- this.fastMap = /* @__PURE__ */ new Map(), this.root = new PT({ scopeRef: null }), this.fastMap.set(null, this.root);+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new IT({ scopeRef: null }), this.fastMap.set(null, this.root);}get size() {return this.fastMap.size;@@ -24443,7 +24443,7 @@ var zoe = class e {addTreeNode(e, t, n) {let r = this.fastMap.get(t ?? null);if (!r) return;- let i = new PT({ scopeRef: e });+ let i = new IT({ scopeRef: e });r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);}addNode(e) {@@ -24454,7 +24454,7 @@ var zoe = class e {let t = this.fastMap.get(e);if (!t) return;let n = t.parent;- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && TT(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && DT(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);let r = t.children;n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);}@@ -24466,7 +24466,7 @@ var zoe = class e {for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);return t;}-}, PT = class {+}, IT = class {constructor(e) {this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;}@@ -24476,13 +24476,13 @@ var zoe = class e {removeChild(e) {this.children.delete(e), e.parent = void 0;}-}, FT = new zoe(), IT = 7e3, LT = null;-function RT(e, t = "assertive", n = IT) {- LT ? LT.announce(e, t, n) : (LT = new Boe(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? LT.announce(e, t, n) : setTimeout(() => {- LT?.isAttached() && LT?.announce(e, t, n);+}, LT = new Loe(), RT = 7e3, zT = null;+function BT(e, t = "assertive", n = RT) {+ zT ? zT.announce(e, t, n) : (zT = new Roe(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? zT.announce(e, t, n) : setTimeout(() => {+ zT?.isAttached() && zT?.announce(e, t, n);}, 100));}-var Boe = class {+var Roe = class {constructor() {this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {border: 0,@@ -24507,7 +24507,7 @@ var Boe = class {destroy() {this.node &&= (document.body.removeChild(this.node), null);}- announce(e, t = "assertive", n = IT) {+ announce(e, t = "assertive", n = RT) {if (!this.node) return;let r = document.createElement("div");typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {@@ -24519,8 +24519,8 @@ var Boe = class {}};// node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs-function zT(e, t) {- let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = Fw(e);+function VT(e, t) {+ let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = Lw(e);(0, F.useEffect)(() => (n.current = !0, () => {n.current = !1;}), []), (0, F.useEffect)(() => {@@ -24529,30 +24529,30 @@ function zT(e, t) {}, t);}// node_modules/react-aria/dist/private/utils/isScrollable.mjs-function BT(e, t) {+function HT(e, t) {if (!e) return !1;let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;}// node_modules/react-aria/dist/private/utils/getScrollParent.mjs-function VT(e, t) {+function UT(e, t) {let n = e;- for (BT(n, t) && (n = n.parentElement); n && !BT(n, t);) n = n.parentElement;+ for (HT(n, t) && (n = n.parentElement); n && !HT(n, t);) n = n.parentElement;return n || document.scrollingElement || document.documentElement;}// node_modules/react-aria/dist/private/utils/getScrollParents.mjs-function HT(e, t) {+function WT(e, t) {let n = [], r = document.scrollingElement || document.documentElement;- for (; e && (BT(e, t) && n.push(e), e !== r);) e = e.parentElement;+ for (; e && (HT(e, t) && n.push(e), e !== r);) e = e.parentElement;return n;}// node_modules/react-aria/dist/private/utils/scrollIntoView.mjs-function UT(e, t, n = {}) {- e !== t && Voe(e, t, t.getBoundingClientRect(), n);+function GT(e, t, n = {}) {+ e !== t && zoe(e, t, t.getBoundingClientRect(), n);}-function Voe(e, t, n, r = {}) {+function zoe(e, t, n, r = {}) {let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, ee = e === d ? 0 : D + O, N = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - ee, P = e === d ? 0 : e.offsetHeight - e.clientHeight - N, ne = p + (f ? 0 : T) + x, re = m - (f ? 0 : E) - S - P, F = h + (f ? 0 : D) + C, I = g - (f ? 0 : O) - w;- $S() && eC() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (F += te);+ eC() && tC() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (F += te);let ie = k < ne || A > re, ae = j < F || M > I;if (ie && i === "start") o += k - ne;else if (ie && i === "center") o += (k + A) / 2 - (ne + re) / 2;@@ -24573,7 +24573,7 @@ function Voe(e, t, n, r = {}) {top: o});}-function WT(e, t = {}) {+function KT(e, t = {}) {let { containingElement: n } = t;if (e && e.isConnected) {let t = document.scrollingElement || document.documentElement;@@ -24586,45 +24586,45 @@ function WT(e, t = {}) {inline: "center"}), e.scrollIntoView?.({ block: "nearest" }));} else {- let { left: t, top: r } = e.getBoundingClientRect(), i = HT(e, !0);- for (let t of i) UT(t, e);+ let { left: t, top: r } = e.getBoundingClientRect(), i = WT(e, !0);+ for (let t of i) GT(t, e);let { left: a, top: o } = e.getBoundingClientRect();if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {- i = n ? HT(n, !0) : [];- for (let e of i) UT(e, n, {+ i = n ? WT(n, !0) : [];+ for (let e of i) GT(e, n, {block: "center",inline: "center"});- for (let t of HT(e, !0)) UT(t, e);+ for (let t of WT(e, !0)) GT(t, e);}}}}// node_modules/react-aria/dist/private/utils/useDescription.mjs-var Hoe = 0, GT = /* @__PURE__ */ new Map();-function KT(e) {+var Boe = 0, qT = /* @__PURE__ */ new Map();+function JT(e) {let [t, n] = (0, F.useState)();- return US(() => {+ return WS(() => {if (!e) return;- let t = GT.get(e);+ let t = qT.get(e);if (t) n(t.element.id);else {- let r = `react-aria-description-${Hoe++}`;+ let r = `react-aria-description-${Boe++}`;n(r);let i = document.createElement("div");i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {refCount: 0,element: i- }, GT.set(e, t);+ }, qT.set(e, t);}return t.refCount++, () => {- t && --t.refCount === 0 && (t.element.remove(), GT.delete(e));+ t && --t.refCount === 0 && (t.element.remove(), qT.delete(e));};}, [e]), { "aria-describedby": e ? t : void 0 };}// node_modules/react-aria/dist/private/utils/useFormReset.mjs-function qT(e, t, n) {- let r = Fw((e) => {+function YT(e, t, n) {+ let r = Lw((e) => {n && !e.defaultPrevented && n(t);});(0, F.useEffect)(() => {@@ -24635,21 +24635,21 @@ function qT(e, t, n) {}, [e]);}// node_modules/react-aria/dist/private/form/useFormValidation.mjs-function JT(e, t, n) {+function XT(e, t, n) {let { validationBehavior: r, focus: i } = e;- US(() => {+ WS(() => {if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";- n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Woe(n.current));+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Hoe(n.current));}});- let a = (0, F.useRef)(!1), o = Fw(() => {+ let a = (0, F.useRef)(!1), o = Lw(() => {a.current || t.resetValidation();- }), s = Fw((e) => {+ }), s = Lw((e) => {t.displayValidation.isInvalid || t.commitValidation();let r = n?.current?.form;- !e.defaultPrevented && n && r && Goe(r) === n.current && (i ? i() : n.current?.focus(), MC("keyboard")), e.preventDefault();- }), c = Fw(() => {+ !e.defaultPrevented && n && r && Uoe(r) === n.current && (i ? i() : n.current?.focus(), PC("keyboard")), e.preventDefault();+ }), c = Lw(() => {t.commitValidation();});(0, F.useEffect)(() => {@@ -24663,7 +24663,7 @@ function JT(e, t, n) {};}, [n, r]);}-function Uoe(e) {+function Voe(e) {let t = e.validity;return {badInput: t.badInput,@@ -24679,14 +24679,14 @@ function Uoe(e) {valid: t.valid};}-function Woe(e) {+function Hoe(e) {return {isInvalid: !e.validity.valid,- validationDetails: Uoe(e),+ validationDetails: Voe(e),validationErrors: e.validationMessage ? [e.validationMessage] : []};}-function Goe(e) {+function Uoe(e) {for (let t = 0; t < e.elements.length; t++) {let n = e.elements[t];if (n.validity?.valid === !1) return n;@@ -24694,23 +24694,23 @@ function Goe(e) {return null;}// node_modules/react-aria/dist/private/utils/useSlot.mjs-function Koe(e = !0) {+function Woe(e = !0) {let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(!1), i = (0, F.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return US(() => {+ return WS(() => {r.current || n(!1);}, []), [i, t];}-function YT(e = !0) {- let t = qC(), [n, r] = Koe(e);+function ZT(e = !0) {+ let t = YC(), [n, r] = Woe(e);return {id: r ? t : void 0,ref: n};}// node_modules/react-stately/dist/private/form/useFormValidationState.mjs-var XT = {+var QT = {badInput: !1,customError: !1,patternMismatch: !1,@@ -24722,18 +24722,18 @@ var XT = {typeMismatch: !1,valueMissing: !1,valid: !0-}, ZT = {- ...XT,+}, $T = {+ ...QT,customError: !0,valid: !1-}, QT = {+}, eE = {isInvalid: !1,- validationDetails: XT,+ validationDetails: QT,validationErrors: []-}, qoe = (0, F.createContext)({}), $T = "__reactAriaFormValidationState";-function eE(e) {+}, Goe = (0, F.createContext)({}), tE = "__reactAriaFormValidationState";+function nE(e) {if (e.__reactAriaFormValidationState) {- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[$T];+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[tE];return {realtimeValidation: t,displayValidation: n,@@ -24742,70 +24742,70 @@ function eE(e) {commitValidation: a};}- return Joe(e);+ return Koe(e);}-function Joe(e) {+function Koe(e) {let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;n && (t ||= n === "invalid");let c = t === void 0 ? null : {isInvalid: t,validationErrors: [],- validationDetails: ZT- }, l = (0, F.useMemo)(() => !o || i == null ? null : nE(Yoe(o, i)), [o, i]);+ validationDetails: $T+ }, l = (0, F.useMemo)(() => !o || i == null ? null : iE(qoe(o, i)), [o, i]);a?.validationDetails.valid && (a = void 0);- let u = (0, F.useContext)(qoe), d = (0, F.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => tE(u[e])) : tE(u[r]) : [], [u, r]), [f, p] = (0, F.useState)(u), [m, h] = (0, F.useState)(!1);+ let u = (0, F.useContext)(Goe), d = (0, F.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => rE(u[e])) : rE(u[r]) : [], [u, r]), [f, p] = (0, F.useState)(u), [m, h] = (0, F.useState)(!1);u !== f && (p(u), h(!1));- let g = (0, F.useMemo)(() => nE(m ? [] : d), [m, d]), _ = (0, F.useRef)(QT), [v, y] = (0, F.useState)(QT), b = (0, F.useRef)(QT), x = () => {+ let g = (0, F.useMemo)(() => iE(m ? [] : d), [m, d]), _ = (0, F.useRef)(eE), [v, y] = (0, F.useState)(eE), b = (0, F.useRef)(eE), x = () => {if (!S) return;C(!1);let e = l || a || _.current;- rE(e, b.current) || (b.current = e, y(e));+ aE(e, b.current) || (b.current = e, y(e));}, [S, C] = (0, F.useState)(!1);return (0, F.useEffect)(x), {- realtimeValidation: c || g || l || a || QT,+ realtimeValidation: c || g || l || a || eE,displayValidation: s === "native" ? c || g || v : c || g || l || a || v,updateValidation(e) {- s === "aria" && !rE(v, e) ? y(e) : _.current = e;+ s === "aria" && !aE(v, e) ? y(e) : _.current = e;},resetValidation() {- let e = QT;- rE(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);+ let e = eE;+ aE(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);},commitValidation() {s === "native" && C(!0), h(!0);}};}-function tE(e) {+function rE(e) {return e ? Array.isArray(e) ? e : [e] : [];}-function Yoe(e, t) {+function qoe(e, t) {if (typeof e == "function") {let n = e(t);- if (n && typeof n != "boolean") return tE(n);+ if (n && typeof n != "boolean") return rE(n);}return [];}-function nE(e) {+function iE(e) {return e.length ? {isInvalid: !0,validationErrors: e,- validationDetails: ZT+ validationDetails: $T} : null;}-function rE(e, t) {+function aE(e, t) {return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);}// node_modules/react-aria/dist/private/toggle/useToggle.mjs-function iE(e, t, n) {- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = eE({+function oE(e, t, n) {+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = nE({...e,value: t.isSelected}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;- JT(e, b, n);+ XT(e, b, n);let w = (e) => {e.stopPropagation(), t.setSelected(G(e).checked);- }, { pressProps: T, isPressed: E } = dT({+ }, { pressProps: T, isPressed: E } = pT({onPressStart: m,onPressEnd: h,onPressChange: g,@@ -24813,7 +24813,7 @@ function iE(e, t, n) {onPressUp: v,onClick: y,isDisabled: r- }), [D, O] = (0, F.useState)(!1), { pressProps: k } = dT({+ }), [D, O] = (0, F.useState)(!1), { pressProps: k } = pT({onPressStart(e) {e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), O(!0));},@@ -24830,13 +24830,13 @@ function iE(e, t, n) {return;}_?.(r), t.toggle(), n.current?.focus();- let { [$T]: i } = e, { commitValidation: a } = i || b;+ let { [tE]: i } = e, { commitValidation: a } = i || b;a();},isDisabled: r || i- }), { focusableProps: A } = sw(e, n), j = K(T, A), M = Zw(e, { labelable: !0 });- qT(n, t.defaultSelected, t.setSelected);- let ee = YT(), N = YT();+ }), { focusableProps: A } = lw(e, n), j = K(T, A), M = $w(e, { labelable: !0 });+ YT(n, t.defaultSelected, t.setSelected);+ let ee = ZT(), N = ZT();return {labelProps: K(k, { onClick: (e) => e.preventDefault() }),inputProps: K(M, {@@ -24872,8 +24872,8 @@ function iE(e, t, n) {};}// node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs-function aE(e, t, n) {- let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = iE(e, t, n), { isIndeterminate: m } = e;+function sE(e, t, n) {+ let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = oE(e, t, n), { isIndeterminate: m } = e;return (0, F.useEffect)(() => {n.current && (n.current.indeterminate = !!m);}), {@@ -24891,17 +24891,17 @@ function aE(e, t, n) {};}// node_modules/react-aria/dist/private/checkbox/utils.mjs-var Xoe = /* @__PURE__ */ new WeakMap();+var Joe = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/label/useLabel.mjs-function oE(e) {+function cE(e) {let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = qC(t);- let o = qC(), s = {};+ t = YC(t);+ let o = YC(), s = {};n && (r = r ? `${o} ${r}` : o, s = {id: o,htmlFor: a === "label" ? t : void 0});- let c = Lw({+ let c = zw({id: t,"aria-label": i,"aria-labelledby": r@@ -24912,13 +24912,13 @@ function oE(e) {};}// node_modules/react-aria/dist/private/label/useField.mjs-function sE(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = oE(e), s = JC([+function lE(e) {+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = cE(e), s = XC([!!t,!!n,r,i- ]), c = JC([+ ]), c = XC([!!t,!!n,r,@@ -24936,26 +24936,26 @@ function sE(e) {};}// node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs-function cE(e) {- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, F.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = oT(), c = (0, F.useCallback)((e) => {- PS(e.currentTarget, G(e)) && a.current.isFocusWithin && !PS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));+function uE(e) {+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, F.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = cT(), c = (0, F.useCallback)((e) => {+ FS(e.currentTarget, G(e)) && a.current.isFocusWithin && !FS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));}, [n,i,a,s- ]), l = KS(c), u = (0, F.useCallback)((e) => {- if (!PS(e.currentTarget, G(e))) return;- let t = G(e), n = DS(t), s = FS(n);+ ]), l = qS(c), u = (0, F.useCallback)((e) => {+ if (!FS(e.currentTarget, G(e))) return;+ let t = G(e), n = OS(t), s = IS(n);if (!a.current.isFocusWithin && s === t) {r && r(e), i && i(!0), a.current.isFocusWithin = !0, l(e);let t = e.currentTarget;o(n, "focus", (e) => {let r = G(e);- if (a.current.isFocusWithin && !PS(t, r)) {+ if (a.current.isFocusWithin && !FS(t, r)) {let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- GS(e, t);- let i = WS(e);+ KS(e, t);+ let i = GS(e);c(i);}}, { capture: !0 });@@ -24976,14 +24976,14 @@ function cE(e) {} };}// node_modules/react-stately/dist/private/utils/useControlledState.mjs-var Zoe = F.useInsertionEffect ?? F.useLayoutEffect;-function lE(e, t, n) {+var Yoe = F.useInsertionEffect ?? F.useLayoutEffect;+function dE(e, t, n) {let [r, i] = (0, F.useState)(e || t), a = (0, F.useRef)(r), o = (0, F.useRef)(e !== void 0), s = e !== void 0;(0, F.useEffect)(() => {o.current, o.current = s;}, [s]);let c = s ? e : r;- Zoe(() => {+ Yoe(() => {a.current = c;});let [, l] = (0, F.useReducer)(() => ({}), {});@@ -24993,8 +24993,8 @@ function lE(e, t, n) {}, [n])];}// node_modules/react-stately/dist/private/toggle/useToggleState.mjs-function uE(e = {}) {- let { isReadOnly: t } = e, [n, r] = lE(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, F.useState)(n);+function fE(e = {}) {+ let { isReadOnly: t } = e, [n, r] = dE(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, F.useState)(n);function a(e) {t || r(e);}@@ -25009,26 +25009,26 @@ function uE(e = {}) {};}// node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs-function Qoe(e, t, n) {- let r = uE({+function Xoe(e, t, n) {+ let r = fE({isReadOnly: e.isReadOnly || t.isReadOnly,isSelected: t.isSelected(e.value),defaultSelected: t.defaultValue.includes(e.value),onChange(n) {n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);}- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Xoe.get(t);+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Joe.get(t);c = e.validationBehavior ?? c;- let { realtimeValidation: l } = eE({+ let { realtimeValidation: l } = nE({...e,value: r.isSelected,name: void 0,validationBehavior: "aria"- }), u = (0, F.useRef)(QT), d = () => {+ }), u = (0, F.useRef)(eE), d = () => {t.setInvalid(e.value, l.isInvalid ? l : u.current);};(0, F.useEffect)(d);- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = aE({+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = sE({...e,isReadOnly: e.isReadOnly || t.isReadOnly,isDisabled: e.isDisabled || t.isDisabled,@@ -25036,7 +25036,7 @@ function Qoe(e, t, n) {form: e.form || a,isRequired: e.isRequired ?? t.isRequired,validationBehavior: c,- [$T]: {+ [tE]: {realtimeValidation: f,displayValidation: p,resetValidation: t.resetValidation,@@ -25059,10 +25059,10 @@ function Qoe(e, t, n) {};}// node_modules/react-stately/dist/private/utils/number.mjs-function dE(e, t = -Infinity, n = Infinity) {+function pE(e, t = -Infinity, n = Infinity) {return Math.min(Math.max(e, t), n);}-function fE(e, t) {+function mE(e, t) {let n = e, r = 0, i = t.toString(), a = i.toLowerCase().indexOf("e-");if (a > 0) r = Math.abs(Math.floor(Math.log10(Math.abs(t)))) + a;else {@@ -25075,23 +25075,23 @@ function fE(e, t) {}return n;}-function pE(e, t, n, r) {+function hE(e, t, n, r) {t = Number(t), n = Number(n);- let i = (e - (isNaN(t) ? 0 : t)) % r, a = fE(Math.abs(i) * 2 >= r ? e + Math.sign(i) * (r - Math.abs(i)) : e - i, r);- return isNaN(t) ? !isNaN(n) && a > n && (a = Math.floor(fE(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(fE((n - t) / r, r)) * r), a = fE(a, r), a;+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = mE(Math.abs(i) * 2 >= r ? e + Math.sign(i) * (r - Math.abs(i)) : e - i, r);+ return isNaN(t) ? !isNaN(n) && a > n && (a = Math.floor(mE(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(mE((n - t) / r, r)) * r), a = mE(a, r), a;}// node_modules/@internationalized/number/dist/private/NumberFormatter.mjs-var mE = /* @__PURE__ */ new Map(), hE = !1;+var gE = /* @__PURE__ */ new Map(), _E = !1;try {- hE = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";+ _E = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";} catch {}-var $oe = class {+var Zoe = class {constructor(e, t = {}) {- this.numberFormatter = ese(e, t), this.options = t;+ this.numberFormatter = Qoe(e, t), this.options = t;}format(e) {let t = "";- return t = !hE && this.options.signDisplay != null ? tse(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;+ return t = !_E && this.options.signDisplay != null ? $oe(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;}formatToParts(e) {return this.numberFormatter.formatToParts(e);@@ -25123,21 +25123,21 @@ var $oe = class {}resolvedOptions() {let e = this.numberFormatter.resolvedOptions();- return !hE && this.options.signDisplay != null && (e = {+ return !_E && this.options.signDisplay != null && (e = {...e,signDisplay: this.options.signDisplay}), e;}};-function ese(e, t = {}) {+function Qoe(e, t = {}) {let { numberingSystem: n } = t;n && e.includes("-nu-") && (e.includes("-u-") || (e += "-u-"), e += `-nu-${n}`);let r = e + (t ? Object.entries(t).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (mE.has(r)) return mE.get(r);+ if (gE.has(r)) return gE.get(r);let i = new Intl.NumberFormat(e, t);- return mE.set(r, i), i;+ return gE.set(r, i), i;}-function tse(e, t, n) {+function $oe(e, t, n) {if (t === "auto") return e.format(n);if (t === "never") return e.format(Math.abs(n));{@@ -25150,12 +25150,12 @@ function tse(e, t, n) {}}// node_modules/react-aria/dist/private/interactions/useMove.mjs-function gE(e) {+function vE(e) {let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, F.useRef)({didMove: !1,lastPosition: null,id: null- }), { addGlobalListener: a, removeGlobalListener: o } = oT(), s = Fw((0, F.useCallback)((e, r, a, o) => {+ }), { addGlobalListener: a, removeGlobalListener: o } = cT(), s = Lw((0, F.useCallback)((e, r, a, o) => {(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({type: "movestart",pointerType: r,@@ -25177,8 +25177,8 @@ function gE(e) {t,n,i- ])), c = Fw((0, F.useCallback)((e, t) => {- nT(), i.current.didMove && r?.({+ ])), c = Lw((0, F.useCallback)((e, t) => {+ iT(), i.current.didMove && r?.({type: "moveend",pointerType: t,shiftKey: e.shiftKey,@@ -25189,7 +25189,7 @@ function gE(e) {}, [r, i]));return { moveProps: (0, F.useMemo)(() => {let e = {}, t = () => {- tT(), i.current.didMove = !1;+ rT(), i.current.didMove = !1;};{let n = (e) => {@@ -25204,7 +25204,7 @@ function gE(e) {if (e.pointerId === i.current.id) {let t = e.pointerType || "mouse";c(e, t), i.current.id = null;- let a = OS(G(e));+ let a = kS(G(e));o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);}};@@ -25214,7 +25214,7 @@ function gE(e) {pageX: e.pageX,pageY: e.pageY}, i.current.id = e.pointerId;- let o = OS(G(e));+ let o = kS(G(e));a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);}};@@ -25247,7 +25247,7 @@ function gE(e) {]) };}// node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs-var _E = {+var yE = {border: 0,clip: "rect(0 0 0 0)",clipPath: "inset(50%)",@@ -25259,37 +25259,37 @@ var _E = {width: "1px",whiteSpace: "nowrap"};-function vE(e = {}) {- let { style: t, isFocusable: n } = e, [r, i] = (0, F.useState)(!1), { focusWithinProps: a } = cE({+function bE(e = {}) {+ let { style: t, isFocusable: n } = e, [r, i] = (0, F.useState)(!1), { focusWithinProps: a } = uE({isDisabled: !n,onFocusWithinChange: (e) => i(e)}), o = (0, F.useMemo)(() => r ? t : t ? {- ..._E,+ ...yE,...t- } : _E, [r]);+ } : yE, [r]);return { visuallyHiddenProps: {...a,style: o} };}-function yE(e) {- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = vE(e);+function xE(e) {+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = bE(e);return /*#__PURE__*/ F.createElement(n, K(a, o), t);}// node_modules/react-aria/dist/private/textfield/useTextField.mjs-function nse(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = lE(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = sw(e, t), d = eE({+function ese(e, t) {+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = dE(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = lw(e, t), d = nE({...e,value: c- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = sE({+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = lE({...e,isInvalid: f,errorMessage: e.errorMessage || p- }), y = Zw(e, { labelable: !0 }), b = {+ }), y = $w(e, { labelable: !0 }), b = {type: o,pattern: e.pattern}, [x] = (0, F.useState)(c);- return qT(t, e.defaultValue ?? x, l), JT(e, d, t), {+ return YT(t, e.defaultValue ?? x, l), XT(e, d, t), {labelProps: h,inputProps: K(y, n === "input" ? b : void 0, {disabled: r,@@ -25335,26 +25335,26 @@ function nse(e, t) {};}// node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs-function rse(e = {}) {- let { locale: t } = Uw();- return (0, F.useMemo)(() => new $oe(t, e), [t, e]);+function tse(e = {}) {+ let { locale: t } = Gw();+ return (0, F.useMemo)(() => new Zoe(t, e), [t, e]);}// node_modules/react-aria/dist/private/slider/utils.mjs-var bE = /* @__PURE__ */ new WeakMap();-function xE(e, t) {- let n = bE.get(e);+var SE = /* @__PURE__ */ new WeakMap();+function CE(e, t) {+ let n = SE.get(e);if (!n) throw Error("Unknown slider state");return `${n.id}-${t}`;}// node_modules/react-aria/dist/private/slider/useSlider.mjs-function ise(e, t, n) {- let { labelProps: r, fieldProps: i } = oE(e), a = e.orientation === "vertical";- bE.set(t, {+function nse(e, t, n) {+ let { labelProps: r, fieldProps: i } = cE(e), a = e.orientation === "vertical";+ SE.set(t, {id: r.id ?? i.id,"aria-describedby": e["aria-describedby"],"aria-details": e["aria-details"]});- let { direction: o } = Uw(), { addGlobalListener: s, removeGlobalListener: c } = oT(), l = (0, F.useRef)(null), u = o === "rtl", d = (0, F.useRef)(null), { moveProps: f } = gE({+ let { direction: o } = Gw(), { addGlobalListener: s, removeGlobalListener: c } = cT(), l = (0, F.useRef)(null), u = o === "rtl", d = (0, F.useRef)(null), { moveProps: f } = vE({onMoveStart() {d.current = null;},@@ -25364,7 +25364,7 @@ function ise(e, t, n) {d.current == null && l.current != null && (d.current = t.getThumbPercent(l.current) * s);let c = a ? r : e;if ((a || u) && (c = -c), d.current += c, l.current != null && n.current) {- let e = dE(d.current / s, 0, 1);+ let e = pE(d.current / s, 0, 1);t.setThumbPercent(l.current, e);}},@@ -25388,7 +25388,7 @@ function ise(e, t, n) {(e.pointerId ?? e.changedTouches?.[0].identifier) === p.current && (l.current != null && (t.setThumbDragging(l.current, !1), l.current = null), c(window, "mouseup", h, !1), c(window, "touchend", h, !1), c(window, "pointerup", h, !1));};return "htmlFor" in r && r.htmlFor && (delete r.htmlFor, r.onClick = () => {- document.getElementById(xE(t, 0))?.focus(), MC("keyboard");+ document.getElementById(CE(t, 0))?.focus(), PC("keyboard");}), {labelProps: r,groupProps: {@@ -25411,26 +25411,26 @@ function ise(e, t, n) {}}, f),outputProps: {- htmlFor: t.values.map((e, n) => xE(t, n)).join(" "),+ htmlFor: t.values.map((e, n) => CE(t, n)).join(" "),"aria-live": "off"}};}// node_modules/react-aria/dist/private/slider/useSliderThumb.mjs-function ase(e, t) {- let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = Uw(), { addGlobalListener: m, removeGlobalListener: h } = oT(), g = bE.get(t), { labelProps: _, fieldProps: v } = oE({+function rse(e, t) {+ let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = Gw(), { addGlobalListener: m, removeGlobalListener: h } = cT(), g = SE.get(t), { labelProps: _, fieldProps: v } = cE({...e,- id: xE(t, n),+ id: CE(t, n),"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()}), y = t.values[n], b = (0, F.useCallback)(() => {- s.current && ES(s.current);+ s.current && DS(s.current);}, [s]), x = t.focusedThumb === n;(0, F.useEffect)(() => {x && b();}, [x, b]);let S = p === "rtl", C = (0, F.useRef)(null), w = (e) => {t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);- }, { keyboardProps: T } = rw({+ }, { keyboardProps: T } = aw({shortcuts: {PageUp: () => w(() => {t.incrementThumb(n, t.pageSize);@@ -25446,7 +25446,7 @@ function ase(e, t) {})},allowRepeats: !0- }), { moveProps: E } = gE({+ }), { moveProps: E } = vE({onMoveStart() {C.current = null, t.setThumbDragging(n, !0);},@@ -25457,7 +25457,7 @@ function ase(e, t) {if (C.current ??= s(n) * g, i === "keyboard") e > 0 && S || e < 0 && !S || r > 0 ? l(n, a ? p : d) : u(n, a ? p : d);else {let t = f ? r : e;- (f || S) && (t = -t), C.current += t, c(n, dE(C.current / g, 0, 1));+ (f || S) && (t = -t), C.current += t, c(n, pE(C.current / g, 0, 1));}},onMoveEnd() {@@ -25465,7 +25465,7 @@ function ase(e, t) {}});t.setThumbEditable(n, !d);- let { focusableProps: D } = sw(K(e, {+ let { focusableProps: D } = lw(K(e, {onFocus: () => t.setFocusedThumb(n),onBlur: () => t.setFocusedThumb(void 0)}), s), O = (0, F.useRef)(void 0), k = (e) => {@@ -25485,7 +25485,7 @@ function ase(e, t) {k(e.changedTouches[0].identifier);}});- return qT(s, t.defaultValues[n], (e) => {+ return YT(s, t.defaultValues[n], (e) => {t.setThumbValue(n, e);}), {inputProps: K(D, v, {@@ -25525,42 +25525,42 @@ function ase(e, t) {};}// node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs-var ose = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;-function SE(e) {+var ise = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;+function wE(e) {return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;}-var CE = /* @__PURE__ */ new WeakMap(), wE = [];-function TE(e, t) {- let n = OS(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && ose, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {+var TE = /* @__PURE__ */ new WeakMap(), EE = [];+function DE(e, t) {+ let n = kS(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && ise, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));}, u = /* @__PURE__ */ new Set();- if (NS()) {+ if (PS()) {let t = i.getRootNode();for (let n of e) {let e = n.getRootNode();- for (; AS(e) && e !== t;) u.add(e), e = e.host.getRootNode();+ for (; jS(e) && e !== t;) u.add(e), e = e.host.getRootNode();}}let d = (e) => {for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);let t = (e) => {if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;- for (let t of o) if (PS(e, t)) return NodeFilter.FILTER_SKIP;+ for (let t of o) if (FS(e, t)) return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT;- }, n = _T(DS(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);+ }, n = yT(OS(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {let e = n.nextNode();for (; e != null;) f(e), e = n.nextNode();}}, f = (e) => {- let t = CE.get(e) ?? 0;- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), CE.set(e, t + 1));+ let t = TE.get(e) ?? 0;+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), TE.set(e, t + 1));};- wE.length && wE[wE.length - 1].disconnect(), d(i);+ EE.length && EE[EE.length - 1].disconnect(), d(i);let p = new MutationObserver((e) => {for (let t of e) if (t.type === "childList") {- if (t.target.isConnected && ![...o, ...s].some((e) => PS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && SE(e) ? o.add(e) : e instanceof Element && d(e);- if (NS()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => FS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && wE(e) ? o.add(e) : e instanceof Element && d(e);+ if (PS()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -25573,11 +25573,11 @@ function TE(e, t) {subtree: !0});let m = /* @__PURE__ */ new Set();- if (NS()) for (let e of u) {+ if (PS()) for (let e of u) {let t = new MutationObserver((e) => {for (let t of e) if (t.type === "childList") {- if (t.target.isConnected && ![...o, ...s].some((e) => PS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && SE(e) ? o.add(e) : e instanceof Element && d(e);- if (NS()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => FS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && wE(e) ? o.add(e) : e instanceof Element && d(e);+ if (PS()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -25603,56 +25603,56 @@ function TE(e, t) {p.disconnect();}};- return wE.push(h), () => {- if (p.disconnect(), NS()) for (let e of m) e.disconnect();+ return EE.push(h), () => {+ if (p.disconnect(), PS()) for (let e of m) e.disconnect();for (let e of s) {- let t = CE.get(e);- t != null && (t === 1 ? (l(e, !1), CE.delete(e)) : CE.set(e, t - 1));+ let t = TE.get(e);+ t != null && (t === 1 ? (l(e, !1), TE.delete(e)) : TE.set(e, t - 1));}- h === wE[wE.length - 1] ? (wE.pop(), wE.length && wE[wE.length - 1].observe()) : wE.splice(wE.indexOf(h), 1);+ h === EE[EE.length - 1] ? (EE.pop(), EE.length && EE[EE.length - 1].observe()) : EE.splice(EE.indexOf(h), 1);};}-function EE(e) {- let t = wE[wE.length - 1];+function OE(e) {+ let t = EE[EE.length - 1];if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {t.visibleNodes.delete(e);};}// node_modules/react-aria/dist/private/listbox/utils.mjs-var DE = /* @__PURE__ */ new WeakMap();-function sse(e) {+var kE = /* @__PURE__ */ new WeakMap();+function ase(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function cse(e, t) {- let n = DE.get(e);+function ose(e, t) {+ let n = kE.get(e);if (!n) throw Error("Unknown list");- return `${n.id}-option-${sse(t)}`;+ return `${n.id}-option-${ase(t)}`;}// node_modules/react-aria/dist/private/selection/utils.mjs-function OE(e) {- return fae() ? e.altKey : e.ctrlKey;+function AE(e) {+ return dae() ? e.altKey : e.ctrlKey;}-function kE(e, t) {+function jE(e, t) {let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);}-var AE = /* @__PURE__ */ new WeakMap();-function lse(e) {- let t = qC();- return AE.set(e, t), t;+var ME = /* @__PURE__ */ new WeakMap();+function sse(e) {+ let t = YC();+ return ME.set(e, t), t;}-function use(e) {- return AE.get(e);+function cse(e) {+ return ME.get(e);}// node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs-var jE = class {+var NE = class {constructor(e) {this.ref = e;}getItemRect(e) {let t = this.ref.current;if (!t) return null;- let n = e == null ? null : kE(this.ref, e);+ let n = e == null ? null : jE(this.ref, e);if (!n) return null;let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();return {@@ -25678,12 +25678,12 @@ var jE = class {height: e?.clientHeight ?? 0};}-}, ME = class {+}, PE = class {constructor(...e) {if (e.length === 1) {let t = e[0];- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new jE(t.ref);- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new jE(this.ref);+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new NE(t.ref);+ } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new NE(this.ref);this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);}isDisabled(e) {@@ -25723,14 +25723,14 @@ var jE = class {return e.x === t.x || e.y !== t.y;}isReversed(e) {- let t = this.getNextKey(e), n = kE(this.ref, e);+ let t = this.getNextKey(e), n = jE(this.ref, e);if (t != null) {- let e = kE(this.ref, t);+ let e = jE(this.ref, t);return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;}let r = this.getPreviousKey(e);if (r != null) {- let e = kE(this.ref, r);+ let e = jE(this.ref, r);return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;}return !1;@@ -25764,7 +25764,7 @@ var jE = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !BT(t)) return this.getFirstKey();+ if (t && !HT(t)) return this.getFirstKey();let i = e;if (this.orientation === "horizontal") {let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);@@ -25779,7 +25779,7 @@ var jE = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !BT(t)) return this.getLastKey();+ if (t && !HT(t)) return this.getLastKey();let i = e;if (this.orientation === "horizontal") {let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);@@ -25802,149 +25802,149 @@ var jE = class {}return null;}-}, NE = {};-NE = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };+}, FE = {};+FE = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };// node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs-var PE = {};-PE = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };+var IE = {};+IE = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };// node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs-var FE = {};-FE = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };+var LE = {};+LE = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };// node_modules/react-aria/dist/private/intl/menu/da-DK.mjs-var IE = {};-IE = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };+var RE = {};+RE = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };// node_modules/react-aria/dist/private/intl/menu/de-DE.mjs-var LE = {};-LE = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };+var zE = {};+zE = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };// node_modules/react-aria/dist/private/intl/menu/el-GR.mjs-var RE = {};-RE = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };+var BE = {};+BE = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };// node_modules/react-aria/dist/private/intl/menu/en-US.mjs-var zE = {};-zE = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };+var VE = {};+VE = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };// node_modules/react-aria/dist/private/intl/menu/es-ES.mjs-var BE = {};-BE = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };+var HE = {};+HE = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };// node_modules/react-aria/dist/private/intl/menu/et-EE.mjs-var VE = {};-VE = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };+var UE = {};+UE = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };// node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs-var HE = {};-HE = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };+var WE = {};+WE = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };// node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs-var UE = {};-UE = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };+var GE = {};+GE = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };// node_modules/react-aria/dist/private/intl/menu/he-IL.mjs-var WE = {};-WE = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };+var KE = {};+KE = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };// node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs-var GE = {};-GE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };+var qE = {};+qE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };// node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs-var KE = {};-KE = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };+var JE = {};+JE = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };// node_modules/react-aria/dist/private/intl/menu/it-IT.mjs-var qE = {};-qE = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };+var YE = {};+YE = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };// node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs-var JE = {};-JE = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };+var XE = {};+XE = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };// node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs-var YE = {};-YE = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };+var ZE = {};+ZE = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };// node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs-var XE = {};-XE = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };+var QE = {};+QE = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };// node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs-var ZE = {};-ZE = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };+var $E = {};+$E = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };// node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs-var QE = {};-QE = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };+var eD = {};+eD = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };// node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs-var $E = {};-$E = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };+var tD = {};+tD = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };// node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs-var eD = {};-eD = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };+var nD = {};+nD = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };// node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs-var tD = {};-tD = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };+var rD = {};+rD = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };// node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs-var nD = {};-nD = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };+var iD = {};+iD = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };// node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs-var rD = {};-rD = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };+var aD = {};+aD = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };// node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs-var iD = {};-iD = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };+var oD = {};+oD = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };// node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs-var aD = {};-aD = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };+var sD = {};+sD = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };// node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs-var oD = {};-oD = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };+var cD = {};+cD = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };// node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs-var sD = {};-sD = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };+var lD = {};+lD = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };// node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs-var cD = {};-cD = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };+var uD = {};+uD = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };// node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs-var lD = {};-lD = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };+var dD = {};+dD = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };// node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs-var uD = {};-uD = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };+var fD = {};+fD = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };// node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs-var dD = {};-dD = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };+var pD = {};+pD = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };// node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs-var fD = {};-fD = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };+var mD = {};+mD = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };// node_modules/react-aria/dist/private/menu/intlStrings.mjs-var pD = {};-pD = {- "ar-AE": NE,- "bg-BG": PE,- "cs-CZ": FE,- "da-DK": IE,- "de-DE": LE,- "el-GR": RE,- "en-US": zE,- "es-ES": BE,- "et-EE": VE,- "fi-FI": HE,- "fr-FR": UE,- "he-IL": WE,- "hr-HR": GE,- "hu-HU": KE,- "it-IT": qE,- "ja-JP": JE,- "ko-KR": YE,- "lt-LT": XE,- "lv-LV": ZE,- "nb-NO": QE,- "nl-NL": $E,- "pl-PL": eD,- "pt-BR": tD,- "pt-PT": nD,- "ro-RO": rD,- "ru-RU": iD,- "sk-SK": aD,- "sl-SI": oD,- "sr-SP": sD,- "sv-SE": cD,- "tr-TR": lD,- "uk-UA": uD,- "zh-CN": dD,- "zh-TW": fD+var hD = {};+hD = {+ "ar-AE": FE,+ "bg-BG": IE,+ "cs-CZ": LE,+ "da-DK": RE,+ "de-DE": zE,+ "el-GR": BE,+ "en-US": VE,+ "es-ES": HE,+ "et-EE": UE,+ "fi-FI": WE,+ "fr-FR": GE,+ "he-IL": KE,+ "hr-HR": qE,+ "hu-HU": JE,+ "it-IT": YE,+ "ja-JP": XE,+ "ko-KR": ZE,+ "lt-LT": QE,+ "lv-LV": $E,+ "nb-NO": eD,+ "nl-NL": tD,+ "pl-PL": nD,+ "pt-BR": rD,+ "pt-PT": iD,+ "ro-RO": aD,+ "ru-RU": oD,+ "sk-SK": sD,+ "sl-SI": cD,+ "sr-SP": lD,+ "sv-SE": uD,+ "tr-TR": dD,+ "uk-UA": fD,+ "zh-CN": pD,+ "zh-TW": mD};// node_modules/react-aria/dist/private/interactions/useLongPress.mjs-var dse = 500;-function mD(e) {- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = dse, accessibilityDescription: s } = e, c = (0, F.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = oT(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = dT({+var lse = 500;+function gD(e) {+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = lse, accessibilityDescription: s } = e, c = (0, F.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = cT(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = pT({isDisabled: t,onPressStart(e) {if (e.continuePropagation(), d(e)) {@@ -25952,12 +25952,12 @@ function mD(e) {...e,type: "longpressstart"}), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), DS(e.target).activeElement !== e.target && ES(e.target), a && a({+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), OS(e.target).activeElement !== e.target && DS(e.target), a && a({...e,type: "longpress"}), c.current = void 0;}, o), e.pointerType === "touch" && l(e.target, "contextmenu", (e) => e.preventDefault(), { once: !0 });- let t = OS(e.target);+ let t = kS(e.target);l(t, "pointerup", () => {setTimeout(() => {u();@@ -25972,11 +25972,11 @@ function mD(e) {});}});- return { longPressProps: K(f, KT(a && !t ? s : void 0)) };+ return { longPressProps: K(f, JT(a && !t ? s : void 0)) };}// node_modules/react-aria/dist/private/interactions/useContextMenu.mjs-function fse(e) {- let { onContextMenu: t } = e, n = (0, F.useRef)(!1), { longPressProps: r } = mD({+function use(e) {+ let { onContextMenu: t } = e, n = (0, F.useRef)(!1), { longPressProps: r } = gD({onLongPressStart() {n.current = !1;},@@ -25988,7 +25988,7 @@ function fse(e) {});}});- return t ? { contextMenuProps: K($S() ? r : {}, {+ return t ? { contextMenuProps: K(eC() ? r : {}, {onContextMenu(e) {e.stopPropagation(), e.preventDefault(), n.current = !0;let r = e.currentTarget.getBoundingClientRect();@@ -25999,7 +25999,7 @@ function fse(e) {});},onKeyDown(e) {- if (ZS() && e.ctrlKey && e.key === "Enter") {+ if (QS() && e.ctrlKey && e.key === "Enter") {n.current = !1;let r = e.currentTarget;e.stopPropagation(), setTimeout(() => {@@ -26018,13 +26018,13 @@ function fse(e) {}) } : { contextMenuProps: {} };}// node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs-var hD = /* @__PURE__ */ new WeakMap();-function pse(e) {+var _D = /* @__PURE__ */ new WeakMap();+function dse(e) {let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, F.useEffect)(() => !n || r === null ? void 0 : jS(IS(t.current), "scroll", (e) => {+ (0, F.useEffect)(() => !n || r === null ? void 0 : MS(LS(t.current), "scroll", (e) => {let n = G(e);- if (!t.current || n instanceof Node && !PS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;- let i = r || hD.get(t.current);+ if (!t.current || n instanceof Node && !FS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;+ let i = r || _D.get(t.current);i && i();}, !0), [n,@@ -26033,14 +26033,14 @@ function pse(e) {]);}// node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs-function mse(e, t, n) {+function fse(e, t, n) {let { type: r } = e, { isOpen: i } = t;(0, F.useEffect)(() => {- n && n.current && hD.set(n.current, t.close);+ n && n.current && _D.set(n.current, t.close);});let a;r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = qC();+ let o = YC();return {triggerProps: {"aria-haspopup": a,@@ -26052,14 +26052,14 @@ function mse(e, t, n) {};}// node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs-function hse(e) {+function pse(e) {return e && e.__esModule ? e.default : e;}-function gD(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = qC(), { triggerProps: s, overlayProps: c } = mse({ type: r }, t, n), l = (e, n, r = "first") => {+function vD(e, t, n) {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = YC(), { triggerProps: s, overlayProps: c } = fse({ type: r }, t, n), l = (e, n, r = "first") => {if (!e || n.isDefaultPrevented()) return !1;t.toggle(r);- }, { keyboardProps: u } = rw({+ }, { keyboardProps: u } = aw({isDisabled: i,shortcuts: {Enter: (e) => l(a !== "longPress", e, "first"),@@ -26071,7 +26071,7 @@ function gD(e, t, n) {"Alt+ArrowDown": (e) => l(!0, e, "first"),"Alt+ArrowUp": (e) => l(!0, e, "last")}- }), d = Yw(hse(pD), "@react-aria/menu"), { longPressProps: f } = mD({+ }), d = Zw(pse(hD), "@react-aria/menu"), { longPressProps: f } = gD({isDisabled: i || a !== "longPress",accessibilityDescription: d.format("longPressMessage"),onLongPressStart() {@@ -26083,14 +26083,14 @@ function gD(e, t, n) {}), p = {preventFocusOnPress: !0,onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (ES(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (DS(e.target), t.open(e.pointerType === "virtual" ? "first" : null));},onPress(e) {- e.pointerType === "touch" && !i && (ES(e.target), t.toggle());+ e.pointerType === "touch" && !i && (DS(e.target), t.toggle());}};delete s.onPress;- let { contextMenuProps: m } = fse({ onContextMenu(e) {+ let { contextMenuProps: m } = use({ onContextMenu(e) {let n = e.target.getBoundingClientRect();t.setPoint({x: n.x + e.x,@@ -26134,8 +26134,8 @@ function gD(e, t, n) {};}// node_modules/react-aria/dist/private/selection/useTypeSelect.mjs-var _D = 1e3;-function vD(e) {+var yD = 1e3;+function bD(e) {let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, F.useRef)({search: "",timeout: void 0@@ -26154,12 +26154,12 @@ function vD(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, _D);+ }, yD);}} : void 0,onKeyDown: t.getKeyForSearch ? (e) => {- let a = gse(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !PS(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {+ let a = mse(e.key);+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !FS(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {if (i.current.search += a, t.getKeyForSearch != null) {let a = t.getKeyForSearch(i.current.search, n.focusedKey);if (a ??= t.getKeyForSearch(i.current.search), a != null) n.setFocusedKey(a), r && r(a), e.preventDefault(), "continuePropagation" in e || e.stopPropagation();@@ -26170,32 +26170,32 @@ function vD(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, _D);+ }, yD);}} : void 0} };}-function gse(e) {+function mse(e) {return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";}// node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs-function yD(e, t) {+function xD(e, t) {let n = (0, F.useRef)(!0), r = (0, F.useRef)(null);- US(() => (n.current = !0, () => {+ WS(() => (n.current = !0, () => {n.current = !1;- }), []), US(() => {+ }), []), WS(() => {n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;}, t);}// node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs-function bD(e) {- let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = Uw(), _ = iC(), v = (e, n, i) => {+function SD(e) {+ let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = Gw(), _ = aC(), v = (e, n, i) => {if (n != null) {- if (t.isLink(n) && m === "selection" && l && !OE(e)) {+ if (t.isLink(n) && m === "selection" && l && !AE(e)) {(0, Lt.flushSync)(() => {t.setFocusedKey(n, i);});- let a = kE(r, n), o = t.getItemProps(n);+ let a = jE(r, n), o = t.getItemProps(n);if (a) {_.open(a, e, o.href, o.routerOptions);return;@@ -26207,7 +26207,7 @@ function bD(e) {t.extendSelection(n);return;}- if (l && !OE(e)) {+ if (l && !AE(e)) {t.replaceSelection(n);return;}@@ -26234,9 +26234,9 @@ function bD(e) {}, x = (e) => {if (n.getFirstKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, Nw(e));+ let r = n.getFirstKey(t.focusedKey, Fw(e));if (t.setFocusedKey(r), r != null) {- if (Nw(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (Fw(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -26268,9 +26268,9 @@ function bD(e) {}, w = (e) => {if (n.getLastKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, Nw(e));+ let r = n.getLastKey(t.focusedKey, Fw(e));if (t.setFocusedKey(r), r != null) {- if (Nw(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (Fw(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -26301,12 +26301,12 @@ function bD(e) {else return !1;}, k = () => {if (!f && r.current) {- let e = NT(r.current, { tabbable: !0 }), t, n;+ let e = FT(r.current, { tabbable: !0 }), t, n;don = e.lastChild(), n && (t = n);while (n);- let i = FS();- t && (!LS(t) || i && !VS(i)) && ES(t);+ let i = IS();+ t && (!RS(t) || i && !HS(i)) && DS(t);}return {shouldContinuePropagation: !0,@@ -26316,11 +26316,11 @@ function bD(e) {shouldContinuePropagation: !0,shouldPreventDefault: !1}), j = (e, t) => ({- [ZS() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ [QS() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,[e + "+Shift"]: t,- [ZS() ? e + "+Alt" : e + "+Control"]: t,+ [QS() ? e + "+Alt" : e + "+Control"]: t,[e]: t- }), { keyboardProps: M } = rw({+ }), { keyboardProps: M } = aw({shortcuts: {...j("ArrowDown", y),...j("ArrowUp", b),@@ -26330,7 +26330,7 @@ function bD(e) {...j("PageUp", E)},allowRepeats: !0- }), { keyboardProps: ee } = rw({ shortcuts: {+ }), { keyboardProps: ee } = aw({ shortcuts: {...j("Home", x),...j("End", w),"Mod+A": D,@@ -26341,7 +26341,7 @@ function bD(e) {top: 0,left: 0});- Iw(p, "scroll", () => {+ Rw(p, "scroll", () => {N.current = {top: p.current?.scrollTop ?? 0,left: p.current?.scrollLeft ?? 0@@ -26349,11 +26349,11 @@ function bD(e) {});let te = (e) => {if (t.isFocused) {- PS(e.currentTarget, G(e)) || t.setFocused(!1);+ FS(e.currentTarget, G(e)) || t.setFocused(!1);return;}- if (!PS(e.currentTarget, G(e))) return;- let i = jC();+ if (!FS(e.currentTarget, G(e))) return;+ let i = NC();t.setFocused(!0);let a = (e) => {e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));@@ -26364,27 +26364,27 @@ function bD(e) {r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());} else p.current && (p.current.scrollTop = N.current.top, p.current.scrollLeft = N.current.left);if (t.focusedKey != null && p.current) {- let e = kE(r, t.focusedKey);- e instanceof HTMLElement && (!LS(e) && !d && ES(e), (i === "keyboard" || h && i === "virtual") && WT(e, { containingElement: r.current }));+ let e = jE(r, t.focusedKey);+ e instanceof HTMLElement && (!RS(e) && !d && DS(e), (i === "keyboard" || h && i === "virtual") && KT(e, { containingElement: r.current }));}}, P = (e) => {- PS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ FS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);}, ne = (0, F.useRef)(!1);- Iw(r, eoe, d ? (e) => {+ Rw(r, Qae, d ? (e) => {let { detail: n } = e;e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ne.current = !0);} : void 0);let re = n.getFirstKey?.() ?? null;- yD(() => {+ xD(() => {if (ne.current) {if (re == null) {- let e = FS();- Sw(r.current), Cw(e, null), t.collection.size > 0 && (ne.current = !1);+ let e = IS();+ ww(r.current), Tw(e, null), t.collection.size > 0 && (ne.current = !1);} else t.setFocusedKey(re), ne.current = !1;}- }, [re, t.collection.size]), yD(() => {+ }, [re, t.collection.size]), xD(() => {t.collection.size > 0 && (ne.current = !1);- }, [t.focusedKey]), Iw(r, $ae, d ? (e) => {+ }, [t.focusedKey]), Rw(r, Zae, d ? (e) => {e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);} : void 0);let I = (0, F.useRef)(i), ie = (0, F.useRef)(!1);@@ -26399,22 +26399,22 @@ function bD(e) {break;}}- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && HC(r.current), t.collection.size > 0 && (I.current = !1, ie.current = !0);+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && WC(r.current), t.collection.size > 0 && (I.current = !1, ie.current = !0);}});let ae = (0, F.useRef)(t.focusedKey), oe = (0, F.useRef)(null);(0, F.useEffect)(() => {if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {- let e = jC(), n = kE(r, t.focusedKey);+ let e = NC(), n = jE(r, t.focusedKey);if (!(n instanceof HTMLElement)) return;(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {- p.current && (UT(p.current, n), e !== "virtual" && WT(n, { containingElement: r.current }));+ p.current && (GT(p.current, n), e !== "virtual" && KT(n, { containingElement: r.current }));}));}- !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && HC(r.current), ae.current = t.focusedKey, ie.current = !1;+ !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && WC(r.current), ae.current = t.focusedKey, ie.current = !1;}), (0, F.useEffect)(() => () => {oe.current && cancelAnimationFrame(oe.current);- }, []), Iw(r, "react-aria-focus-scope-restore", (e) => {+ }, []), Rw(r, "react-aria-focus-scope-restore", (e) => {e.preventDefault(), t.setFocused(!0);});let se = {@@ -26424,27 +26424,27 @@ function bD(e) {onMouseDown(e) {p.current === G(e) && e.preventDefault();}- }, { typeSelectProps: ce } = vD({+ }, { typeSelectProps: ce } = bD({keyboardDelegate: n,selectionManager: t});u || (se = K(ce, se));let le;d || (le = t.focusedKey == null ? 0 : -1);- let ue = lse(t.collection);+ let ue = sse(t.collection);return { collectionProps: K(se, {tabIndex: le,"data-collection": ue}) };}// node_modules/react-stately/dist/private/collections/getChildNodes.mjs-function xD(e, t) {+function CD(e, t) {return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;}-function SD(e) {- return CD(e, 0);+function wD(e) {+ return TD(e, 0);}-function CD(e, t) {+function TD(e, t) {if (t < 0) return;let n = 0;for (let r of e) {@@ -26452,106 +26452,106 @@ function CD(e, t) {n++;}}-function wD(e) {+function ED(e) {let t;for (let n of e) t = n;return t;}-function TD(e, t, n) {+function DD(e, t, n) {if (t.parentKey === n.parentKey) return t.index - n.index;- let r = [...ED(e, t), t], i = [...ED(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);+ let r = [...OD(e, t), t], i = [...OD(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);return a === -1 ? r.findIndex((e) => e === n) >= 0 ? 1 : (i.findIndex((e) => e === t), -1) : (t = r[a], n = i[a], t.index - n.index);}-function ED(e, t) {+function OD(e, t) {let n = [], r = t;for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);return n;}// node_modules/react-stately/dist/private/collections/getItemCount.mjs-var DD = /* @__PURE__ */ new WeakMap();-function OD(e) {- let t = DD.get(e);+var kD = /* @__PURE__ */ new WeakMap();+function AD(e) {+ let t = kD.get(e);if (t != null) return t;let n = 0, r = (t) => {- for (let i of t) i.type === "section" ? r(xD(i, e)) : i.type === "item" && n++;+ for (let i of t) i.type === "section" ? r(CD(i, e)) : i.type === "item" && n++;};- return r(e), DD.set(e, n), n;+ return r(e), kD.set(e, n), n;}// node_modules/react-aria/dist/private/i18n/useCollator.mjs-var kD = /* @__PURE__ */ new Map();-function AD(e) {- let { locale: t } = Uw(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (kD.has(n)) return kD.get(n);+var jD = /* @__PURE__ */ new Map();+function MD(e) {+ let { locale: t } = Gw(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ if (jD.has(n)) return jD.get(n);let r = new Intl.Collator(t, e);- return kD.set(n, r), r;+ return jD.set(n, r), r;}// node_modules/react-aria/dist/private/interactions/PressResponder.mjs-var _se = /*#__PURE__*/ F.forwardRef(({ children: e, ...t }, n) => {- let r = (0, F.useRef)(!1), i = (0, F.useContext)(aT), a = K(i || {}, {+var hse = /*#__PURE__*/ F.forwardRef(({ children: e, ...t }, n) => {+ let r = (0, F.useRef)(!1), i = (0, F.useContext)(sT), a = K(i || {}, {...t,register() {r.current = !0, i && i.register();}});- return a.ref = iw(n || i?.ref), aw(i, a.ref), (0, F.useEffect)(() => {+ return a.ref = ow(n || i?.ref), sw(i, a.ref), (0, F.useEffect)(() => {r.current ||= !0;- }, []), /*#__PURE__*/ F.createElement(aT.Provider, { value: a }, e);+ }, []), /*#__PURE__*/ F.createElement(sT.Provider, { value: a }, e);});-function vse({ children: e }) {+function gse({ children: e }) {let t = (0, F.useMemo)(() => ({ register: () => {} }), []);- return /*#__PURE__*/ F.createElement(aT.Provider, { value: t }, e);+ return /*#__PURE__*/ F.createElement(sT.Provider, { value: t }, e);}// node_modules/react-aria/dist/private/overlays/PortalProvider.mjs-var jD = /*#__PURE__*/ (0, F.createContext)({});-function MD(e) {- let { getContainer: t } = e, { getContainer: n } = ND();- return /*#__PURE__*/ F.createElement(jD.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);+var ND = /*#__PURE__*/ (0, F.createContext)({});+function PD(e) {+ let { getContainer: t } = e, { getContainer: n } = FD();+ return /*#__PURE__*/ F.createElement(ND.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);}-function ND() {- return (0, F.useContext)(jD) ?? {};+function FD() {+ return (0, F.useContext)(ND) ?? {};}// node_modules/react-aria/dist/private/overlays/Overlay.mjs-var PD = /*#__PURE__*/ F.createContext(null);-function FD(e) {- let t = hC(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ({+var ID = /*#__PURE__*/ F.createContext(null);+function LD(e) {+ let t = _C(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ({contain: i,setContain: a- }), [i, a]), { getContainer: s } = ND();+ }), [i, a]), { getContainer: s } = FD();if (!e.portalContainer && s && (n = s()), !n) return null;let c = e.children;- return e.disableFocusManagement || (c = /*#__PURE__*/ F.createElement(xT, {+ return e.disableFocusManagement || (c = /*#__PURE__*/ F.createElement(CT, {restoreFocus: !0,contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ F.createElement(PD.Provider, { value: o }, /*#__PURE__*/ F.createElement(vse, null, /*#__PURE__*/ F.createElement(ow.Provider, { value: null }, c))), /*#__PURE__*/ Lt.createPortal(c, n);+ }, c)), c = /*#__PURE__*/ F.createElement(ID.Provider, { value: o }, /*#__PURE__*/ F.createElement(gse, null, /*#__PURE__*/ F.createElement(cw.Provider, { value: null }, c))), /*#__PURE__*/ Lt.createPortal(c, n);}-function ID() {- let e = (0, F.useContext)(PD)?.setContain;- US(() => {+function RD() {+ let e = (0, F.useContext)(ID)?.setContain;+ WS(() => {e?.(!0);}, [e]);}// node_modules/react-aria/dist/private/dialog/useDialog.mjs-function yse(e, t) {- let { role: n = "dialog", isEntering: r } = e, i = JC();+function _se(e, t) {+ let { role: n = "dialog", isEntering: r } = e, i = XC();i = e["aria-label"] ? void 0 : i;- let a = JC();+ let a = XC();a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;let o = (0, F.useRef)(!1);(0, F.useEffect)(() => {- if (!r && t.current && !LS(t.current)) {- HC(t.current);+ if (!r && t.current && !RS(t.current)) {+ WC(t.current);let e = setTimeout(() => {- (FS() === t.current || FS() === document.body) && (o.current = !0, t.current && (t.current.blur(), HC(t.current)), o.current = !1);+ (IS() === t.current || IS() === document.body) && (o.current = !0, t.current && (t.current.blur(), WC(t.current)), o.current = !1);}, 500);return () => {clearTimeout(e);};}- }, [t, r]), ID(), (0, F.useRef)(!1), (0, F.useEffect)(() => {});+ }, [t, r]), RD(), (0, F.useRef)(!1), (0, F.useEffect)(() => {});let s = e["aria-describedby"] ?? a;return {dialogProps: {- ...Zw(e, { labelable: !0 }),+ ...$w(e, { labelable: !0 }),role: n,tabIndex: -1,"aria-labelledby": e["aria-labelledby"] ?? i,@@ -26565,23 +26565,23 @@ function yse(e, t) {};}// node_modules/react-aria/dist/private/focus/useFocusRing.mjs-function LD(e = {}) {+function zD(e = {}) {let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, F.useRef)({isFocused: !1,- isFocusVisible: t || AC()+ isFocusVisible: t || MC()}), [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, F.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, F.useCallback)((e) => {- i.current.isFocused = e, i.current.isFocusVisible = AC(), o(e), l();+ i.current.isFocused = e, i.current.isFocusVisible = MC(), o(e), l();}, [l]);- FC((e) => {+ LC((e) => {i.current.isFocusVisible = e, l();}, [n, a], {enabled: a,isTextInput: n});- let { focusProps: d } = $C({+ let { focusProps: d } = tw({isDisabled: r,onFocusChange: u- }), { focusWithinProps: f } = cE({+ }), { focusWithinProps: f } = uE({isDisabled: !r,onFocusWithinChange: u});@@ -26592,41 +26592,41 @@ function LD(e = {}) {};}// node_modules/react-aria/dist/private/i18n/useListFormatter.mjs-function bse(e = {}) {- let { locale: t } = Uw();+function vse(e = {}) {+ let { locale: t } = Gw();return (0, F.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);}// node_modules/react-aria/dist/private/interactions/useHover.mjs-var RD = !1, zD = 0;-function xse() {- RD = !0, setTimeout(() => {- RD = !1;+var BD = !1, VD = 0;+function yse() {+ BD = !0, setTimeout(() => {+ BD = !1;}, 500);}-function BD(e) {- e.pointerType === "touch" && xse();+function HD(e) {+ e.pointerType === "touch" && yse();}-function Sse() {- let e = DS(null);- if (e !== void 0) return zD === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", BD), zD++, () => {- zD--, !(zD > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", BD);+function bse() {+ let e = OS(null);+ if (e !== void 0) return VD === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", HD), VD++, () => {+ VD--, !(VD > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", HD);};}-function VD(e) {+function UD(e) {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, F.useState)(!1), s = (0, F.useRef)({isHovered: !1,ignoreEmulatedMouseEvents: !1,pointerType: "",target: null}).current;- (0, F.useEffect)(Sse, []);- let { addGlobalListener: c, removeAllGlobalListeners: l } = oT(), { hoverProps: u, triggerHoverEnd: d } = (0, F.useMemo)(() => {+ (0, F.useEffect)(bse, []);+ let { addGlobalListener: c, removeAllGlobalListeners: l } = cT(), { hoverProps: u, triggerHoverEnd: d } = (0, F.useMemo)(() => {let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !PS(e.currentTarget, G(e))) return;+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !FS(e.currentTarget, G(e))) return;s.isHovered = !0;let l = e.currentTarget;- s.target = l, c(DS(G(e)), "pointerover", (e) => {- s.isHovered && s.target && !PS(s.target, G(e)) && a(e, e.pointerType);+ s.target = l, c(OS(G(e)), "pointerover", (e) => {+ s.isHovered && s.target && !FS(s.target, G(e)) && a(e, e.pointerType);}, { capture: !0 }), t && t({type: "hoverstart",target: l,@@ -26641,9 +26641,9 @@ function VD(e) {}), n && n(!1), o(!1));}, u = {};return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {- RD && t.pointerType === "mouse" || e(t, t.pointerType);+ BD && t.pointerType === "mouse" || e(t, t.pointerType);}, u.onPointerLeave = (e) => {- !i && PS(e.currentTarget, G(e)) && a(e, e.pointerType);+ !i && FS(e.currentTarget, G(e)) && a(e, e.pointerType);}), {hoverProps: u,triggerHoverEnd: a@@ -26665,22 +26665,22 @@ function VD(e) {};}// node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs-function Cse(e) {+function xse(e) {let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, F.useRef)({isPointerDown: !1,ignoreEmulatedMouseEvents: !1- }), o = Fw((e) => {- n && HD(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = Fw((e) => {+ }), o = Lw((e) => {+ n && WD(e, t) && (i && i(e), a.current.isPointerDown = !0);+ }), s = Lw((e) => {n && n(e);});(0, F.useEffect)(() => {let e = a.current;if (r) return;- let n = t.current, i = DS(n);+ let n = t.current, i = OS(n);if (typeof PointerEvent < "u") {let n = (n) => {- e.isPointerDown && HD(n, t) && s(n), e.isPointerDown = !1;+ e.isPointerDown && WD(n, t) && s(n), e.isPointerDown = !1;};return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);@@ -26688,28 +26688,28 @@ function Cse(e) {}}, [t, r]);}-function HD(e, t) {+function WD(e, t) {if (e.button > 0) return !1;let n = G(e);if (n) {let e = n.ownerDocument;- if (!e || !PS(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;+ if (!e || !FS(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;}return t.current ? !e.composedPath().includes(t.current) : !1;}// node_modules/react-aria/dist/private/gridlist/utils.mjs-var UD = /* @__PURE__ */ new WeakMap();-function WD(e, t) {- let { id: n } = UD.get(e) ?? {};+var GD = /* @__PURE__ */ new WeakMap();+function KD(e, t) {+ let { id: n } = GD.get(e) ?? {};if (!n) throw Error("Unknown list");- return `${n}-${wse(t)}`;+ return `${n}-${Sse(t)}`;}-function wse(e) {+function Sse(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}// node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs-var GD = {};-GD = {+var qD = {};+qD = {deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",select: "تحديد",@@ -26722,8 +26722,8 @@ GD = {selectedItem: (e) => `${e.item} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`};// node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs-var KD = {};-KD = {+var JD = {};+JD = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",select: "Изберете",@@ -26736,8 +26736,8 @@ KD = {selectedItem: (e) => `${e.item} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`};// node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs-var qD = {};-qD = {+var YD = {};+YD = {deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",select: "Vybrat",@@ -26750,8 +26750,8 @@ qD = {selectedItem: (e) => `Vybr\xe1na polo\u{17E}ka ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/da-DK.mjs-var JD = {};-JD = {+var XD = {};+XD = {deselectedItem: (e) => `${e.item} ikke valgt.`,longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",select: "Vælg",@@ -26764,8 +26764,8 @@ JD = {selectedItem: (e) => `${e.item} valgt.`};// node_modules/react-aria/dist/private/intl/grid/de-DE.mjs-var YD = {};-YD = {+var ZD = {};+ZD = {deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",select: "Auswählen",@@ -26778,8 +26778,8 @@ YD = {selectedItem: (e) => `${e.item} ausgew\xe4hlt.`};// node_modules/react-aria/dist/private/intl/grid/el-GR.mjs-var XD = {};-XD = {+var QD = {};+QD = {deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select: "Επιλογή",@@ -26792,8 +26792,8 @@ XD = {selectedItem: (e) => `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/en-US.mjs-var ZD = {};-ZD = {+var $D = {};+$D = {deselectedItem: (e) => `${e.item} not selected.`,select: "Select",selectedCount: (e, t) => `${t.plural(e.count, {@@ -26806,8 +26806,8 @@ ZD = {longPressToSelect: "Long press to enter selection mode."};// node_modules/react-aria/dist/private/intl/grid/es-ES.mjs-var QD = {};-QD = {+var eO = {};+eO = {deselectedItem: (e) => `${e.item} no seleccionado.`,longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",select: "Seleccionar",@@ -26820,8 +26820,8 @@ QD = {selectedItem: (e) => `${e.item} seleccionado.`};// node_modules/react-aria/dist/private/intl/grid/et-EE.mjs-var $D = {};-$D = {+var tO = {};+tO = {deselectedItem: (e) => `${e.item} pole valitud.`,longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",select: "Vali",@@ -26834,8 +26834,8 @@ $D = {selectedItem: (e) => `${e.item} valitud.`};// node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs-var eO = {};-eO = {+var nO = {};+nO = {deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,longPressToSelect: "Siirry valintatilaan painamalla pitkään.",select: "Valitse",@@ -26848,8 +26848,8 @@ eO = {selectedItem: (e) => `${e.item} valittu.`};// node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs-var tO = {};-tO = {+var rO = {};+rO = {deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",select: "Sélectionner",@@ -26862,8 +26862,8 @@ tO = {selectedItem: (e) => `${e.item} s\xe9lectionn\xe9.`};// node_modules/react-aria/dist/private/intl/grid/he-IL.mjs-var nO = {};-nO = {+var iO = {};+iO = {deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",select: "בחר",@@ -26876,8 +26876,8 @@ nO = {selectedItem: (e) => `${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`};// node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs-var rO = {};-rO = {+var aO = {};+aO = {deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",select: "Odaberite",@@ -26890,8 +26890,8 @@ rO = {selectedItem: (e) => `Stavka ${e.item} je odabrana.`};// node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs-var iO = {};-iO = {+var oO = {};+oO = {deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,longPressToSelect: "Nyomja hosszan a kijelöléshez.",select: "Kijelölés",@@ -26904,8 +26904,8 @@ iO = {selectedItem: (e) => `${e.item} kijel\xf6lve.`};// node_modules/react-aria/dist/private/intl/grid/it-IT.mjs-var aO = {};-aO = {+var sO = {};+sO = {deselectedItem: (e) => `${e.item} non selezionato.`,longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",select: "Seleziona",@@ -26918,8 +26918,8 @@ aO = {selectedItem: (e) => `${e.item} selezionato.`};// node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs-var oO = {};-oO = {+var cO = {};+cO = {deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,longPressToSelect: "長押しして選択モードを開きます。",select: "選択",@@ -26932,8 +26932,8 @@ oO = {selectedItem: (e) => `${e.item} \u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`};// node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs-var sO = {};-sO = {+var lO = {};+lO = {deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",select: "선택",@@ -26946,8 +26946,8 @@ sO = {selectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}.`};// node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs-var cO = {};-cO = {+var uO = {};+uO = {deselectedItem: (e) => `${e.item} nepasirinkta.`,longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select: "Pasirinkti",@@ -26960,8 +26960,8 @@ cO = {selectedItem: (e) => `Pasirinkta: ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs-var lO = {};-lO = {+var dO = {};+dO = {deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select: "Atlasīt",@@ -26974,8 +26974,8 @@ lO = {selectedItem: (e) => `Atlas\u{12B}ts vienums ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs-var uO = {};-uO = {+var fO = {};+fO = {deselectedItem: (e) => `${e.item} er ikke valgt.`,longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",select: "Velg",@@ -26988,8 +26988,8 @@ uO = {selectedItem: (e) => `${e.item} er valgt.`};// node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs-var dO = {};-dO = {+var pO = {};+pO = {deselectedItem: (e) => `${e.item} niet geselecteerd.`,longPressToSelect: "Druk lang om de selectiemodus te openen.",select: "Selecteren",@@ -27002,8 +27002,8 @@ dO = {selectedItem: (e) => `${e.item} geselecteerd.`};// node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs-var fO = {};-fO = {+var mO = {};+mO = {deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select: "Zaznacz",@@ -27016,8 +27016,8 @@ fO = {selectedItem: (e) => `Zaznaczono ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs-var pO = {};-pO = {+var hO = {};+hO = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",select: "Selecionar",@@ -27030,8 +27030,8 @@ pO = {selectedItem: (e) => `${e.item} selecionado.`};// node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs-var mO = {};-mO = {+var gO = {};+gO = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Prima continuamente para entrar no modo de seleção.",select: "Selecionar",@@ -27044,8 +27044,8 @@ mO = {selectedItem: (e) => `${e.item} selecionado.`};// node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs-var hO = {};-hO = {+var _O = {};+_O = {deselectedItem: (e) => `${e.item} neselectat.`,longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",select: "Selectare",@@ -27058,8 +27058,8 @@ hO = {selectedItem: (e) => `${e.item} selectat.`};// node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs-var gO = {};-gO = {+var vO = {};+vO = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",select: "Выбрать",@@ -27072,8 +27072,8 @@ gO = {selectedItem: (e) => `${e.item} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`};// node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs-var _O = {};-_O = {+var yO = {};+yO = {deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",select: "Vybrať",@@ -27086,8 +27086,8 @@ _O = {selectedItem: (e) => `Vybrat\xe9 polo\u{17E}ky: ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs-var vO = {};-vO = {+var bO = {};+bO = {deselectedItem: (e) => `Element ${e.item} ni izbran.`,longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",select: "Izberite",@@ -27100,8 +27100,8 @@ vO = {selectedItem: (e) => `Element ${e.item} je izbran.`};// node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs-var yO = {};-yO = {+var xO = {};+xO = {deselectedItem: (e) => `${e.item} nije izabrano.`,longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",select: "Izaberite",@@ -27114,8 +27114,8 @@ yO = {selectedItem: (e) => `${e.item} je izabrano.`};// node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs-var bO = {};-bO = {+var SO = {};+SO = {deselectedItem: (e) => `${e.item} ej markerat.`,longPressToSelect: "Tryck länge när du vill öppna väljarläge.",select: "Markera",@@ -27128,8 +27128,8 @@ bO = {selectedItem: (e) => `${e.item} markerat.`};// node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs-var xO = {};-xO = {+var CO = {};+CO = {deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,longPressToSelect: "Seçim moduna girmek için uzun basın.",select: "Seç",@@ -27142,8 +27142,8 @@ xO = {selectedItem: (e) => `${e.item} se\xe7ildi.`};// node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs-var SO = {};-SO = {+var wO = {};+wO = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",select: "Вибрати",@@ -27156,8 +27156,8 @@ SO = {selectedItem: (e) => `${e.item} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`};// node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs-var CO = {};-CO = {+var TO = {};+TO = {deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,longPressToSelect: "长按以进入选择模式。",select: "选择",@@ -27170,8 +27170,8 @@ CO = {selectedItem: (e) => `\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`};// node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs-var wO = {};-wO = {+var EO = {};+EO = {deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,longPressToSelect: "長按以進入選擇模式。",select: "選取",@@ -27184,54 +27184,54 @@ wO = {selectedItem: (e) => `\u{5DF2}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`};// node_modules/react-aria/dist/private/grid/intlStrings.mjs-var TO = {};-TO = {- "ar-AE": GD,- "bg-BG": KD,- "cs-CZ": qD,- "da-DK": JD,- "de-DE": YD,- "el-GR": XD,- "en-US": ZD,- "es-ES": QD,- "et-EE": $D,- "fi-FI": eO,- "fr-FR": tO,- "he-IL": nO,- "hr-HR": rO,- "hu-HU": iO,- "it-IT": aO,- "ja-JP": oO,- "ko-KR": sO,- "lt-LT": cO,- "lv-LV": lO,- "nb-NO": uO,- "nl-NL": dO,- "pl-PL": fO,- "pt-BR": pO,- "pt-PT": mO,- "ro-RO": hO,- "ru-RU": gO,- "sk-SK": _O,- "sl-SI": vO,- "sr-SP": yO,- "sv-SE": bO,- "tr-TR": xO,- "uk-UA": SO,- "zh-CN": CO,- "zh-TW": wO+var DO = {};+DO = {+ "ar-AE": qD,+ "bg-BG": JD,+ "cs-CZ": YD,+ "da-DK": XD,+ "de-DE": ZD,+ "el-GR": QD,+ "en-US": $D,+ "es-ES": eO,+ "et-EE": tO,+ "fi-FI": nO,+ "fr-FR": rO,+ "he-IL": iO,+ "hr-HR": aO,+ "hu-HU": oO,+ "it-IT": sO,+ "ja-JP": cO,+ "ko-KR": lO,+ "lt-LT": uO,+ "lv-LV": dO,+ "nb-NO": fO,+ "nl-NL": pO,+ "pl-PL": mO,+ "pt-BR": hO,+ "pt-PT": gO,+ "ro-RO": _O,+ "ru-RU": vO,+ "sk-SK": yO,+ "sl-SI": bO,+ "sr-SP": xO,+ "sv-SE": SO,+ "tr-TR": CO,+ "uk-UA": wO,+ "zh-CN": TO,+ "zh-TW": EO};// node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs-function Tse(e) {+function Cse(e) {return e && e.__esModule ? e.default : e;}-function EO(e, t) {- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Yw(Tse(TO), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, F.useRef)(i), o = (0, F.useCallback)(() => {+function OO(e, t) {+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Zw(Cse(DO), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, F.useRef)(i), o = (0, F.useCallback)(() => {if (!t.selectionManager.isFocused || i === a.current) {a.current = i;return;}- let e = DO(i, a.current), o = DO(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];+ let e = kO(i, a.current), o = kO(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];if (t.selectionManager.selectedKeys.size === 1 && s) {let e = t.selectionManager.selectedKeys.keys().next().value;if (e != null && t.collection.getItem(e)) {@@ -27251,7 +27251,7 @@ function EO(e, t) {t && c.push(r.format("deselectedItem", { item: t }));}}- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && RT(c.join(" ")), a.current = i;+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && BT(c.join(" ")), a.current = i;}, [i,t.selectionManager.selectedKeys,@@ -27262,7 +27262,7 @@ function EO(e, t) {n,r]);- zT(() => {+ VT(() => {if (t.selectionManager.isFocused) o();else {let e = requestAnimationFrame(o);@@ -27270,20 +27270,20 @@ function EO(e, t) {}}, [i, t.selectionManager.isFocused]);}-function DO(e, t) {+function kO(e, t) {let n = /* @__PURE__ */ new Set();if (e === "all" || t === "all") return n;for (let r of e.keys()) t.has(r) || n.add(r);return n;}// node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs-function OO(e, t) {+function AO(e, t) {let n = t?.isDisabled, [r, i] = (0, F.useState)(!1);- return US(() => {+ return WS(() => {if (e?.current && !n) {let t = () => {if (e.current) {- let t = NT(e.current, { tabbable: !0 });+ let t = FT(e.current, { tabbable: !0 });i(!!t.nextNode());}};@@ -27301,12 +27301,12 @@ function OO(e, t) {}), !n && r;}// node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs-function Ese(e) {+function wse(e) {return e && e.__esModule ? e.default : e;}-function kO(e) {- let t = Yw(Ese(TO), "@react-aria/grid"), n = NC(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;- return KT((0, F.useMemo)(() => {+function jO(e) {+ let t = Zw(wse(DO), "@react-aria/grid"), n = FC(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;+ return JT((0, F.useMemo)(() => {let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;}, [@@ -27318,11 +27318,11 @@ function kO(e) {]));}// node_modules/react-aria/dist/private/selection/useSelectableList.mjs-function AO(e) {- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = AD({+function MO(e) {+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = MD({usage: "search",sensitivity: "base"- }), l = t.disabledBehavior, u = (0, F.useMemo)(() => a || new ME({+ }), l = t.disabledBehavior, u = (0, F.useMemo)(() => a || new PE({collection: n,disabledKeys: r,disabledBehavior: l,@@ -27339,7 +27339,7 @@ function AO(e) {c,l,s- ]), { collectionProps: d } = bD({+ ]), { collectionProps: d } = SD({...e,ref: i,selectionManager: t,@@ -27348,10 +27348,10 @@ function AO(e) {return { listProps: d };}// node_modules/react-aria/dist/private/gridlist/useGridList.mjs-function Dse(e, t, n) {+function Tse(e, t, n) {let { isVirtualized: r, keyboardDelegate: i, layoutDelegate: a, onAction: o, disallowTypeAhead: s, linkBehavior: c = "action", keyboardNavigationBehavior: l = "arrow", escapeKeyBehavior: u = "clearSelection", shouldSelectOnPressUp: d } = e;!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");- let { listProps: f } = AO({+ let { listProps: f } = MO({selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,@@ -27366,30 +27366,30 @@ function Dse(e, t, n) {autoFocus: e.autoFocus,escapeKeyBehavior: u,UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry- }), p = qC(e.id);- UD.set(t, {+ }), p = YC(e.id);+ GD.set(t, {id: p,onAction: o,linkBehavior: c,keyboardNavigationBehavior: l,shouldSelectOnPressUp: d});- let m = kO({+ let m = jO({selectionManager: t.selectionManager,hasItemActions: !!o- }), h = OO(n, { isDisabled: t.collection.size !== 0 }), g = K(Zw(e, { labelable: !0 }), {+ }), h = AO(n, { isDisabled: t.collection.size !== 0 }), g = K($w(e, { labelable: !0 }), {role: "grid",id: p,"aria-multiselectable": t.selectionManager.selectionMode === "multiple" ? "true" : void 0}, t.collection.size === 0 ? { tabIndex: h ? -1 : 0 } : f, m);- return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), EO({}, t), { gridProps: g };+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), OO({}, t), { gridProps: g };}// node_modules/react-aria/dist/private/selection/useSelectableItem.mjs-function jO(e) {- let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = iC();- t = qC(t);+function NO(e) {+ let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = aC();+ t = YC(t);let p = (e) => {- if (e.pointerType === "keyboard" && OE(e)) n.toggleSelection(r);+ if (e.pointerType === "keyboard" && AE(e)) n.toggleSelection(r);else {if (n.selectionMode === "none") return;if (n.isLink(r)) {@@ -27400,11 +27400,11 @@ function jO(e) {}if (d === "override" || d === "none") return;}- n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (Nw(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);+ n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (Fw(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);}};(0, F.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? Sw(i.current) : s ? s() : FS() !== i.current && i.current && HC(i.current));+ r === n.focusedKey && n.isFocused && (o ? ww(i.current) : s ? s() : IS() !== i.current && i.current && WC(i.current));}, [i,r,@@ -27432,22 +27432,22 @@ function jO(e) {l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, D.href, D.routerOptions);}, k = { ref: i };a ? (k.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || NO(e.key)) && p(e);+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || FO(e.key)) && p(e);}, u ? (k.onPressUp = b ? void 0 : (e) => {e.pointerType === "mouse" && v && p(e);}, k.onPress = b ? O : (e) => {e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);}) : k.onPress = (e) => {if (b || x && e.pointerType !== "mouse") {- if (e.pointerType === "keyboard" && !MO(e.key)) return;+ if (e.pointerType === "keyboard" && !PO(e.key)) return;O(e);} else e.pointerType !== "keyboard" && v && p(e);}) : (k.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || NO(e.key))) && p(e);+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || FO(e.key))) && p(e);}, k.onPress = (e) => {- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && MO(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && PO(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));});- let A = use(n.collection);+ let A = cse(n.collection);if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = K(k, {onPressStart(e) {e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));@@ -27462,10 +27462,10 @@ function jO(e) {"onPress","onPressUp","onClick"- ]) D[e] && (k[e] = UC(k[e], D[e]));- let { pressProps: j, isPressed: M } = dT(k), ee = x ? (e) => {+ ]) D[e] && (k[e] = GC(k[e], D[e]));+ let { pressProps: j, isPressed: M } = pT(k), ee = x ? (e) => {C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));- } : void 0, { longPressProps: N } = mD({+ } : void 0, { longPressProps: N } = gD({isDisabled: !w,onLongPress(e) {e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));@@ -27473,7 +27473,7 @@ function jO(e) {}), te = (e) => {C.current === "touch" && T.current && e.preventDefault();}, P = d !== "none" && n.isLink(r) ? (e) => {- aC.isOpening || e.preventDefault();+ oC.isOpening || e.preventDefault();} : void 0, ne = K(m, v || b || o && !c ? j : {}, w ? N : {}, {onDoubleClick: ee,onDragStartCapture: te,@@ -27486,7 +27486,7 @@ function jO(e) {if (e != null) return e !== A;t = t.parentElement;}- return VS(e);+ return HS(e);}, I = ne.onPointerDown;ne.onPointerDown = (e) => {let t = G(e);@@ -27506,14 +27506,14 @@ function jO(e) {hasAction: S};}-function MO(e) {+function PO(e) {return e === "Enter";}-function NO(e) {+function FO(e) {return e === " ";}// node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs-var PO = {+var IO = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -27523,18 +27523,18 @@ var PO = {rtl: "ArrowRight"}};-function Ose(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Uw(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = UD.get(t), f = JC(), p = (0, F.useRef)(null), m = () => {+function Ese(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Gw(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = GD.get(t), f = XC(), p = (0, F.useRef)(null), m = () => {if (n.current !== null) {if (a === "child") {- if (LS(n.current) && n.current !== FS(DS(n.current))) return;- let e = NT(n.current, { tabbable: !0 }).firstChild();+ if (RS(n.current) && n.current !== IS(OS(n.current))) return;+ let e = FT(n.current, { tabbable: !0 }).firstChild();if (e) {- HC(e), WT(e, { containingElement: VT(e) });+ WC(e), KT(e, { containingElement: UT(e) });return;}}- (p.current != null && r.key !== p.current || !LS(n.current)) && HC(n.current);+ (p.current != null && r.key !== p.current || !RS(n.current)) && WC(n.current);}}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);if (r != null && "expandedKeys" in t) {@@ -27544,7 +27544,7 @@ function Ose(e, t, n) {if (r.level >= 0 && r?.parentKey != null) {let e = t.collection.getItem(r.parentKey);if (e) {- let n = kse(e, t.collection);+ let n = Dse(e, t.collection);i = [...n].filter((e) => e.type === "item").length, a > 0 && n[0].type !== "item" && --a;}} else i = [...t.collection].filter((e) => e.level === 0 && e.type === "item").length;@@ -27555,75 +27555,75 @@ function Ose(e, t, n) {"aria-setsize": i};}- let { itemProps: v, ...y } = jO({+ let { itemProps: v, ...y } = NO({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,- onAction: c || r.props?.onAction ? UC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,+ onAction: c || r.props?.onAction ? GC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,focus: m,linkBehavior: l}), b = (e) => {- let i = FS(DS(n.current));- if (!PS(e.currentTarget, G(e)) || !n.current || !i) return;- let a = NT(n.current);- if (a.currentNode = i, !FO(e, t, r, g, s, i, n.current, o)) switch (e.key) {+ let i = IS(OS(n.current));+ if (!FS(e.currentTarget, G(e)) || !n.current || !i) return;+ let a = FT(n.current);+ if (a.currentNode = i, !LO(e, t, r, g, s, i, n.current, o)) switch (e.key) {case "ArrowLeft":if (u === "arrow") {let t = s === "rtl" ? a.nextNode() : a.previousNode();- if (t) e.preventDefault(), e.stopPropagation(), HC(t), WT(t, { containingElement: VT(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") HC(n.current), WT(n.current, { containingElement: VT(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), WC(t), KT(t, { containingElement: UT(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") WC(n.current), KT(n.current, { containingElement: UT(n.current) });else {a.currentNode = n.current;- let e = IO(a);- e && (HC(e), WT(e, { containingElement: VT(n.current) }));+ let e = RO(a);+ e && (WC(e), KT(e, { containingElement: UT(n.current) }));}}break;case "ArrowRight":if (u === "arrow") {let t = s === "rtl" ? a.previousNode() : a.nextNode();- if (t) e.preventDefault(), e.stopPropagation(), HC(t), WT(t, { containingElement: VT(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") HC(n.current), WT(n.current, { containingElement: VT(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), WC(t), KT(t, { containingElement: UT(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") WC(n.current), KT(n.current, { containingElement: UT(n.current) });else {a.currentNode = n.current;- let e = IO(a);- e && (HC(e), WT(e, { containingElement: VT(n.current) }));+ let e = RO(a);+ e && (WC(e), KT(e, { containingElement: UT(n.current) }));}}break;case "ArrowUp":- case "ArrowDown": !e.altKey && PS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && FS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}}, x = (e) => {- p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && PS(n.current, e.relatedTarget) || requestAnimationFrame(() => {- a === "child" && FS(DS(n.current)) === n.current && m();- }) : AC() || t.selectionManager.setFocusedKey(r.key);+ p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && FS(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ a === "child" && IS(OS(n.current)) === n.current && m();+ }) : MC() || t.selectionManager.setFocusedKey(r.key);}, S = (e) => {- let i = FS(DS(n.current));- if (PS(e.currentTarget, G(e)) && n.current && i) {+ let i = IS(OS(n.current));+ if (FS(e.currentTarget, G(e)) && n.current && i) {if (u === "tab") {if (G(e) !== n.current && e.key !== "Tab") {e.stopPropagation();return;}- if (FO(e, t, r, g, s, i, n.current, o)) return;+ if (LO(e, t, r, g, s, i, n.current, o)) return;}if (e.key === "Tab" && u === "tab") {- let t = NT(n.current, { tabbable: !0 });+ let t = FT(n.current, { tabbable: !0 });t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}- }, C = oC(r.props), w = K(v, y.hasAction ? C : {}, {+ }, C = sC(r.props), w = K(v, y.hasAction ? C : {}, {role: "row",onKeyDownCapture: u === "arrow" || o ? b : void 0,onFocus: x,"aria-label": r["aria-label"] || r.textValue || void 0,"aria-selected": t.selectionManager.canSelectItem(r.key) ? t.selectionManager.isSelected(r.key) : void 0,"aria-disabled": t.selectionManager.isDisabled(r.key) || void 0,- "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${WD(t, r.key)} ${f}` : void 0,- id: WD(t, r.key)+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${KD(t, r.key)} ${f}` : void 0,+ id: KD(t, r.key)});a === "child" && o && u === "tab" && (w.tabIndex = -1);let T = w.onKeyDown;@@ -27644,66 +27644,66 @@ function Ose(e, t, n) {...y};}-function FO(e, t, n, r, i, a, o, s) {+function LO(e, t, n, r, i, a, o, s) {if (!("expandedKeys" in t) || !s && a !== o) return !1;- if (e.key === PO.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;- if (e.key === PO.collapse[i] && t.selectionManager.focusedKey === n.key) {+ if (e.key === IO.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;+ if (e.key === IO.collapse[i] && t.selectionManager.focusedKey === n.key) {if (r && t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;if (!t.expandedKeys.has(n.key) && n.parentKey && t.collection.getItem(n.parentKey)?.type === "item") return t.selectionManager.setFocusedKey(n.parentKey), e.stopPropagation(), !0;}return !1;}-function IO(e) {+function RO(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);while (n);return t;}-function kse(e, t) {+function Dse(e, t) {let n = t.getChildren?.(e.key), r = n ? Array.from(n) : [], i = r.length > 0 ? r[0] : null, a = [];for (; i;) a.push(i), i = i.nextKey == null ? null : t.getItem(i.nextKey);return a;}// node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs-function Ase(e) {+function Ose(e) {return e && e.__esModule ? e.default : e;}-function LO(e, t) {- let { key: n } = e, r = t.selectionManager, i = qC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);+function zO(e, t) {+ let { key: n } = e, r = t.selectionManager, i = YC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);return { checkboxProps: {id: i,- "aria-label": Yw(Ase(TO), "@react-aria/grid").format("select"),+ "aria-label": Zw(Ose(DO), "@react-aria/grid").format("select"),isSelected: o,isDisabled: a,onChange: () => r.toggleSelection(n)} };}// node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs-function jse(e, t) {- let { key: n } = e, { checkboxProps: r } = LO(e, t);+function kse(e, t) {+ let { key: n } = e, { checkboxProps: r } = zO(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${WD(t, n)}`+ "aria-labelledby": `${r.id} ${KD(t, n)}`} };}// node_modules/react-aria/dist/private/listbox/useListBox.mjs-function Mse(e, t, n) {- let r = Zw(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");+function Ase(e, t, n) {+ let r = $w(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");i === "toggle" && o === "action" && (o = "override");- let { listProps: s } = AO({+ let { listProps: s } = MO({...e,ref: n,selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,linkBehavior: o- }), { focusWithinProps: c } = cE({+ }), { focusWithinProps: c } = uE({onFocusWithin: e.onFocus,onBlurWithin: e.onBlur,onFocusWithinChange: e.onFocusChange- }), l = qC(e.id);- DE.set(t, {+ }), l = YC(e.id);+ kE.set(t, {id: l,shouldUseVirtualFocus: e.shouldUseVirtualFocus,shouldSelectOnPressUp: e.shouldSelectOnPressUp,@@ -27713,7 +27713,7 @@ function Mse(e, t, n) {linkBehavior: o,UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior});- let { labelProps: u, fieldProps: d } = oE({+ let { labelProps: u, fieldProps: d } = cE({...e,id: l,labelElementType: "span"@@ -27728,8 +27728,8 @@ function Mse(e, t, n) {};}// node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs-function Nse(e) {- let { heading: t, "aria-label": n } = e, r = qC();+function jse(e) {+ let { heading: t, "aria-label": n } = e, r = YC();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -27747,8 +27747,8 @@ function Nse(e) {};}// node_modules/react-aria/dist/private/listbox/useOption.mjs-function Pse(e, t, n) {- let { key: r } = e, i = DE.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = JC(), f = JC(), p = {+function Mse(e, t, n) {+ let { key: r } = e, i = kE.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = XC(), f = XC(), p = {role: "option","aria-disabled": a || void 0,"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,@@ -27758,9 +27758,9 @@ function Pse(e, t, n) {}, m = t.collection.getItem(r);if (u) {let e = Number(m?.index);- p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = OD(t.collection);+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = AD(t.collection);}- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = cse(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = jO({+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = ose(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = NO({selectionManager: t.selectionManager,key: r,ref: n,@@ -27769,18 +27769,18 @@ function Pse(e, t, n) {isVirtualized: u,shouldUseVirtualFocus: l,isDisabled: a,- onAction: h || m?.props?.onAction ? UC(m?.props?.onAction, h) : void 0,+ onAction: h || m?.props?.onAction ? GC(m?.props?.onAction, h) : void 0,linkBehavior: i?.linkBehavior,UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,id: g- }), { hoverProps: S } = VD({+ }), { hoverProps: S } = UD({isDisabled: a || !c,onHoverStart() {- AC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ MC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));}- }), C = Zw(m?.props);+ }), C = $w(m?.props);delete C.id;- let w = sC(m?.props);+ let w = cC(m?.props);return {optionProps: {...p,@@ -27790,7 +27790,7 @@ function Pse(e, t, n) {labelProps: { id: d },descriptionProps: { id: f },isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && AC(),+ isFocusVisible: y && t.selectionManager.isFocused && MC(),isSelected: o,isDisabled: a,isPressed: v,@@ -27799,12 +27799,12 @@ function Pse(e, t, n) {};}// node_modules/react-aria/dist/private/menu/utils.mjs-var RO = /* @__PURE__ */ new WeakMap();+var BO = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/menu/useMenu.mjs-function Fse(e, t, n) {+function Nse(e, t, n) {let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;!e["aria-label"] && e["aria-labelledby"];- let s = Zw(e, { labelable: !0 }), { listProps: c } = AO({+ let s = $w(e, { labelable: !0 }), { listProps: c } = MO({...o,ref: n,selectionManager: t.selectionManager,@@ -27813,7 +27813,7 @@ function Fse(e, t, n) {shouldFocusWrap: r,linkBehavior: "override"});- return RO.set(t, {+ return BO.set(t, {onClose: e.onClose,onAction: e.onAction,shouldUseVirtualFocus: e.shouldUseVirtualFocus@@ -27829,15 +27829,15 @@ function Fse(e, t, n) {}) };}// node_modules/react-aria/dist/private/menu/useMenuItem.mjs-function Ise(e, t, n) {- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = RO.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = iC(), M = () => {+function Pse(e, t, n) {+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = BO.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = aC(), M = () => {if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {let e = O.onAction;e(i, k?.value);}}, ee = "menuitem";w || (C.selectionMode === "single" ? ee = "menuitemradio" : C.selectionMode === "multiple" && (ee = "menuitemcheckbox"));- let N = JC(), te = JC(), P = JC(), ne = {+ let N = XC(), te = XC(), P = XC(), ne = {id: r,"aria-disabled": E || void 0,role: ee,@@ -27854,17 +27854,17 @@ function Ise(e, t, n) {};if (C.selectionMode !== "none" && !w && (ne["aria-checked"] = D), s) {let e = Number(k?.index);- ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = OD(t.collection);+ ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = AD(t.collection);}let re = (0, F.useRef)(!1), I = (e) => {f?.(e), re.current = e;}, ie = (0, F.useRef)(null), ae = (e) => {e.pointerType !== "keyboard" && (ie.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (re.current || e.target.click()), u?.(e);}, oe = (e) => {- m?.(e), M(), vae(e, j, k.props.href, k?.props.routerOptions);+ m?.(e), M(), _ae(e, j, k.props.href, k?.props.routerOptions);let t = ie.current?.pointerType === "keyboard" ? ie.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);t = o ?? a ?? t, A && !w && t && A(), ie.current = null;- }, { itemProps: se, isFocused: ce } = jO({+ }, { itemProps: se, isFocused: ce } = NO({id: r,selectionManager: C,key: i,@@ -27873,27 +27873,27 @@ function Ise(e, t, n) {allowsDifferentPressOrigin: !0,linkBehavior: "none",shouldUseVirtualFocus: O.shouldUseVirtualFocus- }), { pressProps: le, isPressed: ue } = dT({+ }), { pressProps: le, isPressed: ue } = pT({onPressStart: l,onPress: d,onPressUp: ae,onPressChange: I,onPressEnd: p,isDisabled: E- }), { hoverProps: de } = VD({+ }), { hoverProps: de } = UD({isDisabled: E,onHoverStart(e) {- !AC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);+ !MC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);},onHoverChange: g,onHoverEnd: _- }), { keyboardProps: fe } = rw({+ }), { keyboardProps: fe } = aw({shortcuts: {" ": (e) => {ie.current = {pointerType: "keyboard",key: " "- }, G(e).click(), MC("keyboard");+ }, G(e).click(), PC("keyboard");},Enter: (e) => {ie.current = {@@ -27901,8 +27901,8 @@ function Ise(e, t, n) {key: "Enter"};let t = G(e);- if (t.tagName !== "A") t.click(), MC("keyboard");- else return MC("keyboard"), {+ if (t.tagName !== "A") t.click(), PC("keyboard");+ else return PC("keyboard"), {shouldPreventDefault: !1,shouldContinuePropagation: !1};@@ -27910,13 +27910,13 @@ function Ise(e, t, n) {},onKeyDown: v,onKeyUp: y- }), { focusableProps: pe } = sw({+ }), { focusableProps: pe } = lw({onBlur: S,onFocus: b,onFocusChange: x- }, n), me = Zw(k?.props);+ }, n), me = $w(k?.props);delete me.id;- let he = sC(k?.props);+ let he = cC(k?.props);return {menuItemProps: {...ne,@@ -27931,15 +27931,15 @@ function Ise(e, t, n) {descriptionProps: { id: te },keyboardShortcutProps: { id: P },isFocused: ce,- isFocusVisible: ce && C.isFocused && AC() && !T,+ isFocusVisible: ce && C.isFocused && MC() && !T,isSelected: D,isPressed: ue,isDisabled: E};}// node_modules/react-aria/dist/private/menu/useMenuSection.mjs-function Lse(e) {- let { heading: t, "aria-label": n } = e, r = qC();+function Fse(e) {+ let { heading: t, "aria-label": n } = e, r = YC();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -27954,15 +27954,15 @@ function Lse(e) {};}// node_modules/react-aria/dist/private/utils/useResizeObserver.mjs-function Rse() {+function Ise() {return window.ResizeObserver !== void 0;}-function zO(e) {- let { ref: t, box: n, onResize: r } = e, i = Fw(r);+function VO(e) {+ let { ref: t, box: n, onResize: r } = e, i = Lw(r);(0, F.useEffect)(() => {let e = t?.current;if (e) {- if (Rse()) {+ if (Ise()) {let t = new window.ResizeObserver((e) => {e.length && i();});@@ -27977,154 +27977,154 @@ function zO(e) {}, [t, n]);}// node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs-var BO = {};-BO = { dismiss: "تجاهل" };+var HO = {};+HO = { dismiss: "تجاهل" };// node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs-var VO = {};-VO = { dismiss: "Отхвърляне" };+var UO = {};+UO = { dismiss: "Отхвърляне" };// node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs-var HO = {};-HO = { dismiss: "Odstranit" };+var WO = {};+WO = { dismiss: "Odstranit" };// node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs-var UO = {};-UO = { dismiss: "Luk" };+var GO = {};+GO = { dismiss: "Luk" };// node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs-var WO = {};-WO = { dismiss: "Schließen" };+var KO = {};+KO = { dismiss: "Schließen" };// node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs-var GO = {};-GO = { dismiss: "Απόρριψη" };+var qO = {};+qO = { dismiss: "Απόρριψη" };// node_modules/react-aria/dist/private/intl/overlays/en-US.mjs-var KO = {};-KO = { dismiss: "Dismiss" };+var JO = {};+JO = { dismiss: "Dismiss" };// node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs-var qO = {};-qO = { dismiss: "Descartar" };+var YO = {};+YO = { dismiss: "Descartar" };// node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs-var JO = {};-JO = { dismiss: "Lõpeta" };+var XO = {};+XO = { dismiss: "Lõpeta" };// node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs-var YO = {};-YO = { dismiss: "Hylkää" };+var ZO = {};+ZO = { dismiss: "Hylkää" };// node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs-var XO = {};-XO = { dismiss: "Rejeter" };+var QO = {};+QO = { dismiss: "Rejeter" };// node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs-var ZO = {};-ZO = { dismiss: "התעלם" };+var $O = {};+$O = { dismiss: "התעלם" };// node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs-var QO = {};-QO = { dismiss: "Odbaci" };+var ek = {};+ek = { dismiss: "Odbaci" };// node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs-var $O = {};-$O = { dismiss: "Elutasítás" };+var tk = {};+tk = { dismiss: "Elutasítás" };// node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs-var ek = {};-ek = { dismiss: "Ignora" };+var nk = {};+nk = { dismiss: "Ignora" };// node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs-var tk = {};-tk = { dismiss: "閉じる" };+var rk = {};+rk = { dismiss: "閉じる" };// node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs-var nk = {};-nk = { dismiss: "무시" };+var ik = {};+ik = { dismiss: "무시" };// node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs-var rk = {};-rk = { dismiss: "Atmesti" };+var ak = {};+ak = { dismiss: "Atmesti" };// node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs-var ik = {};-ik = { dismiss: "Nerādīt" };+var ok = {};+ok = { dismiss: "Nerādīt" };// node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs-var ak = {};-ak = { dismiss: "Lukk" };+var sk = {};+sk = { dismiss: "Lukk" };// node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs-var ok = {};-ok = { dismiss: "Negeren" };+var ck = {};+ck = { dismiss: "Negeren" };// node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs-var sk = {};-sk = { dismiss: "Zignoruj" };+var lk = {};+lk = { dismiss: "Zignoruj" };// node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs-var ck = {};-ck = { dismiss: "Descartar" };+var uk = {};+uk = { dismiss: "Descartar" };// node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs-var lk = {};-lk = { dismiss: "Dispensar" };+var dk = {};+dk = { dismiss: "Dispensar" };// node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs-var uk = {};-uk = { dismiss: "Revocare" };+var fk = {};+fk = { dismiss: "Revocare" };// node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs-var dk = {};-dk = { dismiss: "Пропустить" };+var pk = {};+pk = { dismiss: "Пропустить" };// node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs-var fk = {};-fk = { dismiss: "Zrušiť" };+var mk = {};+mk = { dismiss: "Zrušiť" };// node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs-var pk = {};-pk = { dismiss: "Opusti" };+var hk = {};+hk = { dismiss: "Opusti" };// node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs-var mk = {};-mk = { dismiss: "Odbaci" };+var gk = {};+gk = { dismiss: "Odbaci" };// node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs-var hk = {};-hk = { dismiss: "Avvisa" };+var _k = {};+_k = { dismiss: "Avvisa" };// node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs-var gk = {};-gk = { dismiss: "Kapat" };+var vk = {};+vk = { dismiss: "Kapat" };// node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs-var _k = {};-_k = { dismiss: "Скасувати" };+var yk = {};+yk = { dismiss: "Скасувати" };// node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs-var vk = {};-vk = { dismiss: "取消" };+var bk = {};+bk = { dismiss: "取消" };// node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs-var yk = {};-yk = { dismiss: "關閉" };+var xk = {};+xk = { dismiss: "關閉" };// node_modules/react-aria/dist/private/overlays/intlStrings.mjs-var bk = {};-bk = {- "ar-AE": BO,- "bg-BG": VO,- "cs-CZ": HO,- "da-DK": UO,- "de-DE": WO,- "el-GR": GO,- "en-US": KO,- "es-ES": qO,- "et-EE": JO,- "fi-FI": YO,- "fr-FR": XO,- "he-IL": ZO,- "hr-HR": QO,- "hu-HU": $O,- "it-IT": ek,- "ja-JP": tk,- "ko-KR": nk,- "lt-LT": rk,- "lv-LV": ik,- "nb-NO": ak,- "nl-NL": ok,- "pl-PL": sk,- "pt-BR": ck,- "pt-PT": lk,- "ro-RO": uk,- "ru-RU": dk,- "sk-SK": fk,- "sl-SI": pk,- "sr-SP": mk,- "sv-SE": hk,- "tr-TR": gk,- "uk-UA": _k,- "zh-CN": vk,- "zh-TW": yk+var Sk = {};+Sk = {+ "ar-AE": HO,+ "bg-BG": UO,+ "cs-CZ": WO,+ "da-DK": GO,+ "de-DE": KO,+ "el-GR": qO,+ "en-US": JO,+ "es-ES": YO,+ "et-EE": XO,+ "fi-FI": ZO,+ "fr-FR": QO,+ "he-IL": $O,+ "hr-HR": ek,+ "hu-HU": tk,+ "it-IT": nk,+ "ja-JP": rk,+ "ko-KR": ik,+ "lt-LT": ak,+ "lv-LV": ok,+ "nb-NO": sk,+ "nl-NL": ck,+ "pl-PL": lk,+ "pt-BR": uk,+ "pt-PT": dk,+ "ro-RO": fk,+ "ru-RU": pk,+ "sk-SK": mk,+ "sl-SI": hk,+ "sr-SP": gk,+ "sv-SE": _k,+ "tr-TR": vk,+ "uk-UA": yk,+ "zh-CN": bk,+ "zh-TW": xk};// node_modules/react-aria/dist/private/overlays/DismissButton.mjs-function zse(e) {+function Lse(e) {return e && e.__esModule ? e.default : e;}-function xk(e) {- let { onDismiss: t, ...n } = e, r = Lw(n, Yw(zse(bk), "@react-aria/overlays").format("dismiss")), i = () => {+function Ck(e) {+ let { onDismiss: t, ...n } = e, r = zw(n, Zw(Lse(Sk), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};- return /*#__PURE__*/ F.createElement(yE, null, /*#__PURE__*/ F.createElement("button", {+ return /*#__PURE__*/ F.createElement(xE, null, /*#__PURE__*/ F.createElement("button", {...r,tabIndex: -1,onClick: i,@@ -28135,35 +28135,35 @@ function xk(e) {}));}// node_modules/react-aria/dist/private/overlays/useOverlay.mjs-var Sk = [];-function Ck(e, t) {+var wk = [];+function Tk(e, t) {let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, F.useRef)(void 0);(0, F.useEffect)(() => {- if (i && !Sk.includes(t)) return Sk.push(t), () => {- let e = Sk.indexOf(t);- e >= 0 && Sk.splice(e, 1);+ if (i && !wk.includes(t)) return wk.push(t), () => {+ let e = wk.indexOf(t);+ e >= 0 && wk.splice(e, 1);};}, [i, t]);let l = () => {- Sk[Sk.length - 1] === t && n && n();+ wk[wk.length - 1] === t && n && n();}, u = (e) => {- let n = Sk[Sk.length - 1];+ let n = wk[wk.length - 1];c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();}, d = (e) => {- (!s || s(G(e))) && (Sk[Sk.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = rw({ shortcuts: { Escape: () => {+ (!s || s(G(e))) && (wk[wk.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;+ }, { keyboardProps: f } = aw({ shortcuts: { Escape: () => {if (!o) l();else return !1;} } });- Cse({+ xse({ref: t,onInteractOutside: a && i ? d : void 0,onInteractOutsideStart: u});- let { focusWithinProps: p } = cE({+ let { focusWithinProps: p } = uE({isDisabled: !r,onBlurWithin: (e) => {- e.relatedTarget && !Foe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();+ e.relatedTarget && !Noe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();}});return {@@ -28175,87 +28175,87 @@ function Ck(e, t) {};}// node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs-var Bse = 200, Vse = 50, Hse = 600, wk = /* @__PURE__ */ new WeakMap(), Tk = /* @__PURE__ */ new Set(), Ek = /* @__PURE__ */ new Set();-function Use(e, t) {- let n = Pw();- if (e !== n || t.aborted) for (let e of Ek) e(n), Ek.delete(e);- if (!e && n && eC() && !t.aborted) window.clearInterval(wk.get(window)), wk.set(window, Dk(Bse));+var Rse = 200, zse = 50, Bse = 600, Ek = /* @__PURE__ */ new WeakMap(), Dk = /* @__PURE__ */ new Set(), Ok = /* @__PURE__ */ new Set();+function Vse(e, t) {+ let n = Iw();+ if (e !== n || t.aborted) for (let e of Ok) e(n), Ok.delete(e);+ if (!e && n && tC() && !t.aborted) window.clearInterval(Ek.get(window)), Ek.set(window, kk(Rse));else {- if (e !== n || t.aborted) for (let e of Tk) e(n), Tk.delete(e);- (Ek.size + Tk.size <= 0 || t.aborted) && (window.clearInterval(wk.get(window)), wk.delete(window));+ if (e !== n || t.aborted) for (let e of Dk) e(n), Dk.delete(e);+ (Ok.size + Dk.size <= 0 || t.aborted) && (window.clearInterval(Ek.get(window)), Ek.delete(window));}}-function Dk(e = Hse) {- return window.setInterval(Use, Vse, Pw(), AbortSignal.timeout(e));+function kk(e = Bse) {+ return window.setInterval(Vse, zse, Iw(), AbortSignal.timeout(e));}-function Ok(e) {- if (!jw()) return e(!1), () => {};+function Ak(e) {+ if (!Nw()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = Mw(document.hasFocus() ? FS() : null);- if (Pw() === t || Pw() && !t) return e(t);- Ek.add(e), wk.has(window) || wk.set(window, Dk());+ let t = Pw(document.hasFocus() ? IS() : null);+ if (Iw() === t || Iw() && !t) return e(t);+ Ok.add(e), Ek.has(window) || Ek.set(window, kk());});});return () => {- window.cancelAnimationFrame(t), Ek.delete(e);+ window.cancelAnimationFrame(t), Ok.delete(e);};}-function Wse(e) {- if (!jw()) return e(!1), () => {};+function Hse(e) {+ if (!Nw()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = Mw(document.hasFocus() ? FS() : null);- if (Pw() === t) return e(t);- Tk.add(e), wk.has(window) || wk.set(window, Dk());+ let t = Pw(document.hasFocus() ? IS() : null);+ if (Iw() === t) return e(t);+ Dk.add(e), Ek.has(window) || Ek.set(window, kk());});});return () => {- window.cancelAnimationFrame(t), Tk.delete(e);+ window.cancelAnimationFrame(t), Dk.delete(e);};}// node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs-var kk = typeof document < "u" && window.visualViewport, Ak = 0, jk;-function Mk(e = {}) {+var jk = typeof document < "u" && window.visualViewport, Mk = 0, Nk;+function Pk(e = {}) {let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;- US(() => {- if (!t) return Ak++, Ak === 1 && (jk = $S() && eC() ? Kse() : Gse(n)), () => {- Ak--, Ak === 0 && jk();+ WS(() => {+ if (!t) return Mk++, Mk === 1 && (Nk = eC() && tC() ? Wse() : Use(n)), () => {+ Mk--, Mk === 0 && Nk();};}, [t, n]);}-function Gse(e) {+function Use(e) {let t = window.innerWidth - document.documentElement.clientWidth;- return UC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? MS(document.documentElement, "scrollbar-gutter", "stable") : MS(document.documentElement, "padding-right", `${t}px`)), MS(document.documentElement, "overflow", "hidden"), e && Pk(), e && jw() && Nk());+ return GC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? NS(document.documentElement, "scrollbar-gutter", "stable") : NS(document.documentElement, "padding-right", `${t}px`)), NS(document.documentElement, "overflow", "hidden"), e && Ik(), e && Nw() && Fk());}-function Kse() {- let e = MS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+function Wse() {+ let e = NS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {let r = G(e);- t = BT(r, !0) ? r : VT(r, !0), n = !1;+ t = HT(r, !0) ? r : UT(r, !0), n = !1;let i = r.ownerDocument.defaultView.getSelection();i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);- }, i = document.createElement("style"), a = iT();+ }, i = document.createElement("style"), a = oT();a && (i.nonce = a), i.textContent = "@layer {\n * {\n overscroll-behavior: contain;\n }\n}", document.head.prepend(i);let o = (e) => {e.touches.length === 2 || n || (!t || t === document.documentElement || t === document.body || t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth) && e.preventDefault();- }, s = Pk(), c = UC(jS(document, "touchstart", r, {+ }, s = Ik(), c = GC(MS(document, "touchstart", r, {passive: !1,capture: !0- }), jS(document, "touchmove", o, {+ }), MS(document, "touchmove", o, {passive: !1,capture: !0- }), Nk());+ }), Fk());return () => {e(), c(), i.remove(), s();};}-function Nk() {- return jS(document, "blur", (e) => {+function Fk() {+ return MS(document, "blur", (e) => {let t = G(e), n = e.relatedTarget;- n && Mw(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });+ n && Pw(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });}, !0);}-function Pk() {+function Ik() {let e = HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype, "focus", {configurable: !0,@@ -28266,9 +28266,9 @@ function Pk() {preventScroll: !0}), !t || !t.preventScroll) {let e = () => {- FS() === this && qse(this);+ IS() === this && Gse(this);};- Ok((t) => t ? e() : Wse(() => e()));+ Ak((t) => t ? e() : Hse(() => e()));}}}), () => {@@ -28279,15 +28279,15 @@ function Pk() {});};}-function qse(e) {+function Gse(e) {let t = document.scrollingElement || document.documentElement, n = e;for (; n && n !== t && n.isConnected;) {- let e = VT(n);+ let e = UT(n);if (e !== document.documentElement && e !== document.body && e !== n) {let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();if (r.top < t.top || r.bottom > t.top + n.clientHeight) {let n = t.bottom;- kk && (n = Math.min(n, kk.offsetTop + kk.height));+ jk && (n = Math.min(n, jk.offsetTop + jk.height));let i = r.top - t.top - ((n - t.top) / 2 - r.height / 2);e.scrollTo({top: Math.max(0, Math.min(e.scrollHeight - e.clientHeight, e.scrollTop + i)),@@ -28299,19 +28299,19 @@ function qse(e) {}}// node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs-function Jse(e, t, n) {- let { overlayProps: r, underlayProps: i } = Ck({+function Kse(e, t, n) {+ let { overlayProps: r, underlayProps: i } = Tk({...e,isOpen: t.isOpen,onClose: t.close}, n);- Mk({+ Pk({isDisabled: !t.isOpen,UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus- }), ID();+ }), RD();let { isEntering: a } = e;return (0, F.useEffect)(() => {- if (t.isOpen && n.current) return a ? EE(n.current) : TE([n.current], { shouldUseInert: !0 });+ if (t.isOpen && n.current) return a ? OE(n.current) : DE([n.current], { shouldUseInert: !0 });}, [t.isOpen,a,@@ -28322,33 +28322,33 @@ function Jse(e, t, n) {};}// node_modules/react-aria/dist/private/overlays/calculatePosition.mjs-var Fk = {+var Lk = {top: "top",bottom: "top",left: "left",right: "left"-}, Ik = {+}, Rk = {top: "bottom",bottom: "top",left: "right",right: "left"-}, Yse = {+}, qse = {top: "left",left: "top"-}, Lk = {+}, zk = {top: "height",left: "width"-}, Rk = {+}, Bk = {width: "totalWidth",height: "totalHeight"-}, zk = {}, Xse = () => typeof document < "u" ? window.visualViewport : null;-function Bk(e, t) {+}, Vk = {}, Jse = () => typeof document < "u" ? window.visualViewport : null;+function Hk(e, t) {let n = 0, r = 0, i = 0, a = 0, o = 0, s = 0, c = {}, l = (t?.scale ?? 1) > 1;if (e.tagName === "BODY" || e.tagName === "HTML") {let l = document.documentElement;i = l.clientWidth, a = l.clientHeight, n = t?.width ?? i, r = t?.height ?? a, c.top = l.scrollTop || e.scrollTop, c.left = l.scrollLeft || e.scrollLeft, t && (o = Math.max(0, t.pageTop - (c.top ?? 0)), s = Math.max(0, t.pageLeft - (c.left ?? 0)));- } else ({width: n, height: r, top: o, left: s} = Kk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return eC() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {+ } else ({width: n, height: r, top: o, left: s} = Jk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;+ return tC() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {width: n,height: r,totalWidth: i,@@ -28358,7 +28358,7 @@ function Bk(e, t) {left: s};}-function Zse(e) {+function Yse(e) {return {top: e.scrollTop,left: e.scrollLeft,@@ -28366,11 +28366,11 @@ function Zse(e) {height: e.scrollHeight};}-function Vk(e, t, n, r, i, a, o) {- let s = i.scroll[e] ?? 0, c = r[Lk[e]], l = o[e] + r.scroll[Fk[e]] + a, u = o[e] + r.scroll[Fk[e]] + c - a, d = t - s + r.scroll[Fk[e]] + o[e] - r[Fk[e]], f = t - s + n + r.scroll[Fk[e]] + o[e] - r[Fk[e]];+function Uk(e, t, n, r, i, a, o) {+ let s = i.scroll[e] ?? 0, c = r[zk[e]], l = o[e] + r.scroll[Lk[e]] + a, u = o[e] + r.scroll[Lk[e]] + c - a, d = t - s + r.scroll[Lk[e]] + o[e] - r[Lk[e]], f = t - s + n + r.scroll[Lk[e]] + o[e] - r[Lk[e]];return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;}-function Qse(e) {+function Xse(e) {let t = window.getComputedStyle(e);return {top: parseInt(t.marginTop, 10) || 0,@@ -28379,55 +28379,55 @@ function Qse(e) {right: parseInt(t.marginRight, 10) || 0};}-function Hk(e) {- if (zk[e]) return zk[e];- let [t, n] = e.split(" "), r = Fk[t] || "right", i = Yse[r];- Fk[n] || (n = "center");- let a = Lk[r], o = Lk[i];- return zk[e] = {+function Wk(e) {+ if (Vk[e]) return Vk[e];+ let [t, n] = e.split(" "), r = Lk[t] || "right", i = qse[r];+ Lk[n] || (n = "center");+ let a = zk[r], o = zk[i];+ return Vk[e] = {placement: t,crossPlacement: n,axis: r,crossAxis: i,size: a,crossSize: o- }, zk[e];+ }, Vk[e];}-function Uk(e, t, n, r, i, a, o, s, c, l, u) {+function Gk(e, t, n, r, i, a, o, s, c, l, u) {let { placement: d, crossPlacement: f, axis: p, crossAxis: m, size: h, crossSize: g } = r, _ = {};_[m] = e[m] ?? 0, f === "center" ? _[m] += ((e[g] ?? 0) - (n[g] ?? 0)) / 2 : f !== m && (_[m] += (e[g] ?? 0) - (n[g] ?? 0)), _[m] += a;let v = e[m] - n[g] + c + l, y = e[m] + e[g] - c - l;- if (_[m] = dE(_[m], v, y), d === p) {- let t = s ? u[h] : u[Rk[h]];- _[Ik[p]] = Math.floor(t - e[p] + i);+ if (_[m] = pE(_[m], v, y), d === p) {+ let t = s ? u[h] : u[Bk[h]];+ _[Rk[p]] = Math.floor(t - e[p] + i);} else _[p] = Math.floor(e[p] + e[h] + i);return _;}-function $se(e, t, n, r, i, a, o, s, c, l, u) {- let d = (e.top == null ? c[Rk.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {+function Zse(e, t, n, r, i, a, o, s, c, l, u) {+ let d = (e.top == null ? c[Bk.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {top: Math.max(t.top + f, (u?.offsetTop ?? t.top) + f),bottom: Math.min(t.top + t.height + f, (u?.offsetTop ?? 0) + (u?.height ?? 0))};return s === "top" ? Math.max(0, d + o - p.top - ((i.top ?? 0) + (i.bottom ?? 0) + a)) : Math.max(0, p.bottom - d - ((i.top ?? 0) + (i.bottom ?? 0) + a));}-function Wk(e, t, n, r, i, a, o, s) {+function Kk(e, t, n, r, i, a, o, s) {let { placement: c, axis: l, size: u } = a;- return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Ik[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[Ik[l]] - i);+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Rk[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[Rk[l]] - i);}-function ece(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {- let v = Hk(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Uk(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Wk(s, l, t, i, a + u, v, c, g);+function Qse(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {+ let v = Wk(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Gk(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Kk(s, l, t, i, a + u, v, c, g);if (o && n[y] > E) {- let e = Hk(`${Ik[S]} ${C}`), r = Uk(t, s, n, e, u, d, l, f, m, h, c);- Wk(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);+ let e = Wk(`${Rk[S]} ${C}`), r = Gk(t, s, n, e, u, d, l, f, m, h, c);+ Kk(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);}let D = "bottom";v.axis === "top" ? v.placement === "top" ? D = "top" : v.placement === "bottom" && (D = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? D = "bottom" : v.crossPlacement === "bottom" && (D = "top"));- let O = Vk(b, w[b], n[x], s, c, a, l);+ let O = Uk(b, w[b], n[x], s, c, a, l);w[b] += O;- let k = $se(w, s, l, f, i, a, n.height, D, c, g, _);- p && p < k && (k = p), n.height = Math.min(n.height, k), w = Uk(t, s, n, v, T, d, l, f, m, h, c), O = Vk(b, w[b], n[x], s, c, a, l), w[b] += O;- let A = {}, j = t[b] - w[b] - i[Fk[b]], M = j + .5 * t[x], ee = m / 2 + h, N = Fk[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;- A[b] = dE(dE(M, t[b] + m / 2 - (w[b] + i[Fk[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Fk[b]])), ee, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);+ let k = Zse(w, s, l, f, i, a, n.height, D, c, g, _);+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = Gk(t, s, n, v, T, d, l, f, m, h, c), O = Uk(b, w[b], n[x], s, c, a, l), w[b] += O;+ let A = {}, j = t[b] - w[b] - i[Lk[b]], M = j + .5 * t[x], ee = m / 2 + h, N = Lk[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;+ A[b] = pE(pE(M, t[b] + m / 2 - (w[b] + i[Lk[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Lk[b]])), ee, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);let P = S === "left" || S === "top" ? n[y] : 0, ne = {x: S === "top" || S === "bottom" ? j : P,y: S === "left" || S === "right" ? j : P@@ -28441,17 +28441,17 @@ function ece(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {triggerAnchorPoint: ne};}-function tce(e) {- let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = Xse(), h = r instanceof HTMLElement ? nce(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Kk(n, !1, p) : qk(n, h, !1, p);+function $se(e) {+ let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = Jse(), h = r instanceof HTMLElement ? ece(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Jk(n, !1, p) : Yk(n, h, !1, p);if (!g) {let { marginTop: e, marginLeft: t } = window.getComputedStyle(n);y.top += parseInt(e, 10) || 0, y.left += parseInt(t, 10) || 0;}- let b = Kk(r, !0), x = Qse(r);+ let b = Jk(r, !0), x = Xse(r);b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);- let S = Zse(i), C = Bk(s, m), w = Bk(h, m), T;+ let S = Yse(i), C = Hk(s, m), w = Hk(h, m), T;if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {- let e = Gk(h, !1);+ let e = qk(h, !1);T = {top: -(e.top - C.top),left: -(e.left - C.left),@@ -28463,11 +28463,11 @@ function tce(e) {left: 0,width: 0,height: 0- } : qk(s, h, !1);- let E = PS(s, h);- return ece(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);+ } : Yk(s, h, !1);+ let E = FS(s, h);+ return Qse(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}-function Gk(e, t) {+function qk(e, t) {let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();return t && e instanceof e.ownerDocument.defaultView.HTMLElement && (i = e.offsetWidth, a = e.offsetHeight), {top: n,@@ -28476,8 +28476,8 @@ function Gk(e, t) {height: a};}-function Kk(e, t, n) {- let { top: r, left: i, width: a, height: o } = n || Gk(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;+function Jk(e, t, n) {+ let { top: r, left: i, width: a, height: o } = n || qk(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;return {top: r + s - l,left: i + c - u,@@ -28485,29 +28485,29 @@ function Kk(e, t, n) {height: o};}-function qk(e, t, n, r) {+function Yk(e, t, n, r) {let i = window.getComputedStyle(e), a;- if (i.position === "fixed") a = r || Gk(e, n);+ if (i.position === "fixed") a = r || qk(e, n);else {- a = Kk(e, n, r);- let i = Kk(t, n), o = window.getComputedStyle(t);+ a = Jk(e, n, r);+ let i = Jk(t, n), o = window.getComputedStyle(t);i.top += (parseInt(o.borderTopWidth, 10) || 0) - t.scrollTop, i.left += (parseInt(o.borderLeftWidth, 10) || 0) - t.scrollLeft, a.top -= i.top, a.left -= i.left;}return a.top -= parseInt(i.marginTop, 10) || 0, a.left -= parseInt(i.marginLeft, 10) || 0, a;}-function nce(e) {+function ece(e) {let t = e.offsetParent;- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Jk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Jk(t);) t = t.parentElement;+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Xk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Xk(t);) t = t.parentElement;return t || document.documentElement;}-function Jk(e) {+function Xk(e) {let t = window.getComputedStyle(e);return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";}// node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs-var Yk = typeof document < "u" ? window.visualViewport : null;-function rce(e) {- let { direction: t } = Uw(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, F.useState)(null), x = [+var Zk = typeof document < "u" ? window.visualViewport : null;+function tce(e) {+ let { direction: t } = Gw(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, F.useState)(null), x = [p,s,i.current,@@ -28524,15 +28524,15 @@ function rce(e) {g,_,n- ], S = (0, F.useRef)(Yk?.scale);+ ], S = (0, F.useRef)(Zk?.scale);(0, F.useEffect)(() => {- m && (S.current = Yk?.scale);+ m && (S.current = Zk?.scale);}, [m]);let C = (0, F.useCallback)(() => {- if (p === !1 || !m || !i.current || !r.current || !u || Yk?.scale !== S.current) return;+ if (p === !1 || !m || !i.current || !r.current || !u || Zk?.scale !== S.current) return;let e = null;- if (o.current && LS(o.current)) {- let t = FS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ if (o.current && RS(o.current)) {+ let t = IS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();e = {type: "top",offset: (t?.top ?? 0) - n.top@@ -28540,8 +28540,8 @@ function rce(e) {}let h = i.current;!g && i.current && (h.style.top = "0px", h.style.bottom = "", h.style.maxHeight = (window.visualViewport?.height ?? window.innerHeight) + "px");- let y = tce({- placement: ace(s, t),+ let y = $se({+ placement: rce(s, t),overlayNode: i.current,targetNode: r.current,scrollNode: o.current || i.current,@@ -28551,28 +28551,28 @@ function rce(e) {offset: d,crossOffset: f,maxHeight: g,- arrowSize: n ?? (a?.current ? Gk(a.current, !0).width : 0),+ arrowSize: n ?? (a?.current ? qk(a.current, !0).width : 0),arrowBoundaryOffset: _,targetRect: v?.(r.current)});if (!y.position) return;h.style.top = "", h.style.bottom = "", h.style.left = "", h.style.right = "", Object.keys(y.position).forEach((e) => h.style[e] = y.position[e] + "px"), h.style.maxHeight = y.maxHeight == null ? "" : y.maxHeight + "px";- let x = FS();+ let x = IS();if (e && x && o.current) {let t = x.getBoundingClientRect(), n = o.current.getBoundingClientRect(), r = t[e.type] - n[e.type];o.current.scrollTop += r - e.offset;}b(y);}, x);- US(C, x), ice(C), zO({+ WS(C, x), nce(C), VO({ref: i,onResize: C- }), zO({+ }), VO({ref: r,onResize: C});let w = (0, F.useRef)(!1);- US(() => {+ WS(() => {let e, t = () => {w.current = !0, clearTimeout(e), e = setTimeout(() => {w.current = !1;@@ -28580,16 +28580,16 @@ function rce(e) {}, n = () => {w.current && t();};- Yk?.addEventListener("resize", t), Yk?.addEventListener("scroll", n);- let r = jS(IS(window), "scroll", n);+ Zk?.addEventListener("resize", t), Zk?.addEventListener("scroll", n);+ let r = MS(LS(window), "scroll", n);return () => {- Yk?.removeEventListener("resize", t), Yk?.removeEventListener("scroll", n), r();+ Zk?.removeEventListener("resize", t), Zk?.removeEventListener("scroll", n), r();};}, [C]);let T = (0, F.useCallback)(() => {w.current || h?.();}, [h, w]);- return pse({+ return dse({triggerRef: r,isOpen: m,onClose: h && T@@ -28615,24 +28615,24 @@ function rce(e) {updatePosition: C};}-function ice(e) {- US(() => (window.addEventListener("resize", e, !1), () => {+function nce(e) {+ WS(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}-function ace(e, t) {+function rce(e, t) {return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");}// node_modules/react-aria/dist/private/overlays/usePopover.mjs-function oce(e, t) {- let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = Ck({+function ice(e, t) {+ let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = Tk({isOpen: t.isOpen,onClose: t.close,shouldCloseOnBlur: !0,isDismissable: !a || l,isKeyboardDismissDisabled: o,shouldCloseOnInteractOutside: s- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = rce({+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = tce({...c,targetRef: n,overlayRef: r,@@ -28640,15 +28640,15 @@ function oce(e, t) {onClose: a && !l ? t.close : null,getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)});- Mk({ isDisabled: a || !t.isOpen }), (0, F.useEffect)(() => {- if (t.isOpen && r.current) return a ? EE(i?.current ?? r.current) : TE([i?.current ?? r.current], { shouldUseInert: !0 });+ Pk({ isDisabled: a || !t.isOpen }), (0, F.useEffect)(() => {+ if (t.isOpen && r.current) return a ? OE(i?.current ?? r.current) : DE([i?.current ?? r.current], { shouldUseInert: !0 });}, [a,t.isOpen,r,i]);- let { focusWithinProps: g } = cE(e);+ let { focusWithinProps: g } = uE(e);return {popoverProps: K(u, f, g),arrowProps: p,@@ -28658,12 +28658,12 @@ function oce(e, t) {};}// node_modules/react-aria/dist/private/radio/utils.mjs-var Xk = /* @__PURE__ */ new WeakMap();+var Qk = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/radio/useRadio.mjs-function sce(e, t, n) {+function ace(e, t, n) {let { value: r, children: i, "aria-label": a, "aria-labelledby": o, onPressStart: s, onPressEnd: c, onPressChange: l, onPress: u, onPressUp: d, onClick: f } = e, p = e.isDisabled || t.isDisabled, m = t.selectedValue === r, h = (e) => {e.stopPropagation(), t.setSelectedValue(r);- }, { pressProps: g, isPressed: _ } = dT({+ }, { pressProps: g, isPressed: _ } = pT({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -28671,7 +28671,7 @@ function sce(e, t, n) {onPressUp: d,onClick: f,isDisabled: p- }), { pressProps: v, isPressed: y } = dT({+ }), { pressProps: v, isPressed: y } = pT({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -28681,11 +28681,11 @@ function sce(e, t, n) {onPress(e) {u?.(e), t.setSelectedValue(r), n.current?.focus();}- }), { focusableProps: b } = sw(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = Zw(e, { labelable: !0 }), C = -1;+ }), { focusableProps: b } = lw(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = $w(e, { labelable: !0 }), C = -1;t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);- let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = Xk.get(t);- qT(n, t.defaultSelectedValue, t.setSelectedValue), JT({ validationBehavior: O }, t, n);- let k = YT();+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = Qk.get(t);+ YT(n, t.defaultSelectedValue, t.setSelectedValue), XT({ validationBehavior: O }, t, n);+ let k = ZT();return {labelProps: K(v, (0, F.useMemo)(() => ({onClick: (e) => e.preventDefault(),@@ -28716,13 +28716,13 @@ function sce(e, t, n) {};}// node_modules/react-aria/dist/private/radio/useRadioGroup.mjs-function cce(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Uw(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = sE({+function oce(e, t) {+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Gw(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = lE({...e,labelElementType: "span",isInvalid: t.isInvalid,errorMessage: e.errorMessage || d- }), _ = Zw(e, { labelable: !0 }), { focusWithinProps: v } = cE({+ }), _ = $w(e, { labelable: !0 }), { focusWithinProps: v } = uE({onBlurWithin(n) {e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);},@@ -28730,13 +28730,13 @@ function cce(e, t) {onFocusWithinChange: e.onFocusChange});function y(e, n) {- let r = NT(n.currentTarget, {+ let r = FT(n.currentTarget, {from: G(n),- accept: (e) => e instanceof OS(e).HTMLInputElement && e.type === "radio"+ accept: (e) => e instanceof kS(e).HTMLInputElement && e.type === "radio"}), i;return e === "next" ? (i = r.nextNode(), i ||= (r.currentNode = n.currentTarget, r.firstChild())) : (i = r.previousNode(), i ||= (r.currentNode = n.currentTarget, r.lastChild())), i ? (i.focus(), t.setSelectedValue(i.value), !0) : !1;}- let { keyboardProps: b } = rw({+ let { keyboardProps: b } = aw({shortcuts: {ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),@@ -28744,8 +28744,8 @@ function cce(e, t) {ArrowUp: (e) => y("prev", e)},allowRepeats: !0- }), x = qC(n);- return Xk.set(t, {+ }), x = YC(n);+ return Qk.set(t, {name: x,form: r,descriptionId: h.id,@@ -28773,21 +28773,21 @@ function cce(e, t) {};}// node_modules/react-aria/dist/private/select/useSelect.mjs-var Zk = /* @__PURE__ */ new WeakMap();-function lce(e, t, n) {- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = AD({+var $k = /* @__PURE__ */ new WeakMap();+function sce(e, t, n) {+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = MD({usage: "search",sensitivity: "base"- }), u = (0, F.useMemo)(() => r || new ME(t.collection, t.disabledKeys, n, l), [+ }), u = (0, F.useMemo)(() => r || new PE(t.collection, t.disabledKeys, n, l), [r,t.collection,t.disabledKeys,l,n- ]), { menuTriggerProps: d, menuProps: f } = gD({+ ]), { menuTriggerProps: d, menuProps: f } = vD({isDisabled: i,type: "listbox"- }, t, n), { keyboardProps: p } = rw({+ }, t, n), { keyboardProps: p } = aw({shortcuts: {ArrowLeft: () => {if (t.selectionManager.selectionMode === "multiple") return !1;@@ -28803,21 +28803,21 @@ function lce(e, t, n) {allowRepeats: !0,onKeyDown: e.onKeyDown,onKeyUp: e.onKeyUp- }), { typeSelectProps: m } = vD({+ }), { typeSelectProps: m } = bD({keyboardDelegate: u,selectionManager: t.selectionManager,onTypeSelect(e) {t.setSelectedKey(e);}- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = sE({+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = lE({...e,labelElementType: "span",isInvalid: h,errorMessage: e.errorMessage || g});t.selectionManager.selectionMode === "multiple" && (m = {});- let S = Zw(e, { labelable: !0 }), C = K(m, d, y), w = qC();- return Zk.set(t, {+ let S = $w(e, { labelable: !0 }), C = K(m, d, y), w = YC();+ return $k.set(t, {isDisabled: i,isRequired: a,name: o,@@ -28827,13 +28827,13 @@ function lce(e, t, n) {labelProps: {...v,onClick: () => {- e.isDisabled || (n.current?.focus(), MC("keyboard"));+ e.isDisabled || (n.current?.focus(), PC("keyboard"));}},triggerProps: K(S, {...C,isDisabled: i,- onKeyDown: UC(C.onKeyDown, p.onKeyDown),+ onKeyDown: GC(C.onKeyDown, p.onKeyDown),onKeyUp: p.onKeyUp,"aria-labelledby": [w,@@ -28857,7 +28857,7 @@ function lce(e, t, n) {disallowEmptySelection: !0,linkBehavior: "selection",onBlur: (n) => {- PS(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ FS(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));},"aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")},@@ -28877,13 +28877,13 @@ function lce(e, t, n) {};}// node_modules/react-aria/dist/private/select/HiddenSelect.mjs-function uce(e, t, n) {- let r = Zk.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = vE({ style: {+function cce(e, t, n) {+ let r = $k.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = bE({ style: {position: "fixed",top: 0,left: 0} });- qT(e.selectRef, t.defaultValue, t.setValue), JT({+ YT(e.selectRef, t.defaultValue, t.setValue), XT({validationBehavior: c,focus: () => n.current?.focus()}, t, e.selectRef);@@ -28913,8 +28913,8 @@ function uce(e, t, n) {}};}-function dce(e) {- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, F.useRef)(null), c = (0, F.useRef)(null), { containerProps: l, selectProps: u } = uce({+function lce(e) {+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, F.useRef)(null), c = (0, F.useRef)(null), { containerProps: l, selectProps: u } = cce({...e,selectRef: t.collection.size <= 300 ? s : c}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];@@ -28938,7 +28938,7 @@ function dce(e) {value: e ?? ""})))));if (i) {- let { validationBehavior: e } = Zk.get(t) || {};+ let { validationBehavior: e } = $k.get(t) || {};d.length === 0 && (d = [null]);let n = d.map((t, n) => {let r = {@@ -28968,8 +28968,8 @@ function dce(e) {return null;}// node_modules/react-aria/dist/private/separator/useSeparator.mjs-function fce(e) {- let t = Zw(e, { labelable: !0 }), n;+function uce(e) {+ let t = $w(e, { labelable: !0 }), n;return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {...t,role: "separator",@@ -28977,8 +28977,8 @@ function fce(e) {} };}// node_modules/react-aria/dist/private/switch/useSwitch.mjs-function pce(e, t, n) {- let { labelProps: r, inputProps: i, isSelected: a, ...o } = iE(e, t, n);+function dce(e, t, n) {+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = oE(e, t, n);return {labelProps: r,inputProps: {@@ -28991,10 +28991,10 @@ function pce(e, t, n) {};}// node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs-var Qk = class {+var eA = class {constructor(e) {if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw Error("Either a layout or a ref must be specified.");- this.layoutDelegate = e.layoutDelegate || (e.layout ? new mce(e.layout) : new jE(e.ref)), this.focusMode = e.focusMode ?? "row";+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new fce(e.layout) : new NE(e.ref)), this.focusMode = e.focusMode ?? "row";}isCell(e) {return e.type === "cell";@@ -29030,7 +29030,7 @@ var Qk = class {let n = this.collection.getItem(e);if (!n) return null;let r = 0;- for (let e of xD(n, this.collection)) {+ for (let e of CD(n, this.collection)) {if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;r++;}@@ -29064,13 +29064,13 @@ var Qk = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = xD(t, this.collection);- return (this.direction === "rtl" ? wD(e)?.key : SD(e)?.key) ?? null;+ let e = CD(t, this.collection);+ return (this.direction === "rtl" ? ED(e)?.key : wD(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = xD(n, this.collection), i = (this.direction === "rtl" ? CD(r, t.index - 1) : CD(r, t.index + 1)) ?? null;+ let r = CD(n, this.collection), i = (this.direction === "rtl" ? TD(r, t.index - 1) : TD(r, t.index + 1)) ?? null;return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) ?? null;}return null;@@ -29079,13 +29079,13 @@ var Qk = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = xD(t, this.collection);- return (this.direction === "rtl" ? SD(e)?.key : wD(e)?.key) ?? null;+ let e = CD(t, this.collection);+ return (this.direction === "rtl" ? wD(e)?.key : ED(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = xD(n, this.collection), i = (this.direction === "rtl" ? CD(r, t.index + 1) : CD(r, t.index - 1)) ?? null;+ let r = CD(n, this.collection), i = (this.direction === "rtl" ? TD(r, t.index + 1) : TD(r, t.index - 1)) ?? null;return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) ?? null;}return null;@@ -29096,13 +29096,13 @@ var Qk = class {if (r = this.collection.getItem(n), !r) return null;if (this.isCell(r) && !t && r.parentKey != null) {let e = this.collection.getItem(r.parentKey);- return e ? SD(xD(e, this.collection))?.key ?? null : null;+ return e ? wD(CD(e, this.collection))?.key ?? null : null;}}if (n = this.findNextKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {let e = this.collection.getItem(n);if (!e) return null;- n = SD(xD(e, this.collection))?.key ?? null;+ n = wD(CD(e, this.collection))?.key ?? null;}return n;}@@ -29112,13 +29112,13 @@ var Qk = class {if (r = this.collection.getItem(n), !r) return null;if (this.isCell(r) && !t && r.parentKey != null) {let e = this.collection.getItem(r.parentKey);- return e ? wD(xD(e, this.collection))?.key ?? null : null;+ return e ? ED(CD(e, this.collection))?.key ?? null : null;}}if (n = this.findPreviousKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {let e = this.collection.getItem(n);if (!e) return null;- n = wD(xD(e, this.collection))?.key ?? null;+ n = ED(CD(e, this.collection))?.key ?? null;}return n;}@@ -29154,13 +29154,13 @@ var Qk = class {if (!t) return null;if (t.textValue) {let n = t.textValue.slice(0, e.length);- if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? SD(xD(t, this.collection))?.key ?? null : t.key;+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? wD(CD(t, this.collection))?.key ?? null : t.key;}n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);}return null;}-}, mce = class {+}, fce = class {constructor(e) {this.layout = e;}@@ -29173,15 +29173,15 @@ var Qk = class {getVisibleRect() {return this.layout.virtualizer.visibleRect;}-}, $k = /* @__PURE__ */ new WeakMap();+}, tA = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/grid/useGrid.mjs-function hce(e, t, n) {+function pce(e, t, n) {let { isVirtualized: r, disallowTypeAhead: i, keyboardDelegate: a, focusMode: o, scrollRef: s, getRowText: c, onRowAction: l, onCellAction: u, escapeKeyBehavior: d = "clearSelection", shouldSelectOnPressUp: f, keyboardNavigationBehavior: p = "arrow" } = e, { selectionManager: m } = t;!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");- let h = AD({+ let h = MD({usage: "search",sensitivity: "base"- }), { direction: g } = Uw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new Qk({+ }), { direction: g } = Gw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new eA({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: _,@@ -29198,7 +29198,7 @@ function hce(e, t, n) {g,h,o- ]), { collectionProps: y } = bD({+ ]), { collectionProps: y } = SD({ref: n,selectionManager: m,keyboardDelegate: v,@@ -29206,8 +29206,8 @@ function hce(e, t, n) {scrollRef: s,disallowTypeAhead: i,escapeKeyBehavior: d- }), b = qC(e.id);- $k.set(t, {+ }), b = YC(e.id);+ tA.set(t, {keyboardDelegate: v,actions: {onRowAction: l,@@ -29216,42 +29216,42 @@ function hce(e, t, n) {shouldSelectOnPressUp: f,keyboardNavigationBehavior: p});- let x = kO({+ let x = jO({selectionManager: m,hasItemActions: !!(l || u)- }), S = Zw(e, { labelable: !0 }), C = (0, F.useCallback)((e) => {- m.isFocused ? PS(e.currentTarget, G(e)) || m.setFocused(!1) : PS(e.currentTarget, G(e)) && m.setFocused(!0);+ }), S = $w(e, { labelable: !0 }), C = (0, F.useCallback)((e) => {+ m.isFocused ? FS(e.currentTarget, G(e)) || m.setFocused(!1) : FS(e.currentTarget, G(e)) && m.setFocused(!0);}, [m]), w = (0, F.useMemo)(() => ({onBlur: y.onBlur,onFocus: C- }), [C, y.onBlur]), T = OO(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {+ }), [C, y.onBlur]), T = AO(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {role: "grid",id: b,"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);- return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), EO({ getRowText: c }, t), { gridProps: E };+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), OO({ getRowText: c }, t), { gridProps: E };}// node_modules/react-aria/dist/private/table/utils.mjs-var eA = /* @__PURE__ */ new WeakMap();-function tA(e) {+var nA = /* @__PURE__ */ new WeakMap();+function rA(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function nA(e, t) {- let n = eA.get(e);+function iA(e, t) {+ let n = nA.get(e);if (!n) throw Error("Unknown grid");- return `${n}-${tA(t)}`;+ return `${n}-${rA(t)}`;}-function rA(e, t, n) {- let r = eA.get(e);+function aA(e, t, n) {+ let r = nA.get(e);if (!r) throw Error("Unknown grid");- return `${r}-${tA(t)}-${tA(n)}`;+ return `${r}-${rA(t)}-${rA(n)}`;}-function iA(e, t) {- return [...e.collection.rowHeaderColumnKeys].map((n) => rA(e, t, n)).join(" ");+function oA(e, t) {+ return [...e.collection.rowHeaderColumnKeys].map((n) => aA(e, t, n)).join(" ");}// node_modules/react-aria/dist/private/intl/table/ar-AE.mjs-var aA = {};-aA = {+var sA = {};+sA = {ascending: "تصاعدي",ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,collapse: "طي",@@ -29265,8 +29265,8 @@ aA = {sortable: "عمود قابل للترتيب"};// node_modules/react-aria/dist/private/intl/table/bg-BG.mjs-var oA = {};-oA = {+var cA = {};+cA = {ascending: "възходящ",ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,collapse: "Свиване",@@ -29280,8 +29280,8 @@ oA = {sortable: "сортираща колона"};// node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs-var sA = {};-sA = {+var lA = {};+lA = {ascending: "vzestupně",ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,collapse: "Sbalit",@@ -29295,8 +29295,8 @@ sA = {sortable: "sloupec s možností řazení"};// node_modules/react-aria/dist/private/intl/table/da-DK.mjs-var cA = {};-cA = {+var uA = {};+uA = {ascending: "stigende",ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,collapse: "Skjul",@@ -29310,8 +29310,8 @@ cA = {sortable: "sorterbar kolonne"};// node_modules/react-aria/dist/private/intl/table/de-DE.mjs-var lA = {};-lA = {+var dA = {};+dA = {ascending: "aufsteigend",ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse: "Reduzieren",@@ -29325,8 +29325,8 @@ lA = {sortable: "sortierbare Spalte"};// node_modules/react-aria/dist/private/intl/table/el-GR.mjs-var uA = {};-uA = {+var fA = {};+fA = {ascending: "αύξουσα",ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,collapse: "Σύμπτυξη",@@ -29340,8 +29340,8 @@ uA = {sortable: "Στήλη διαλογής"};// node_modules/react-aria/dist/private/intl/table/en-US.mjs-var dA = {};-dA = {+var pA = {};+pA = {select: "Select",selectAll: "Select All",sortable: "sortable column",@@ -29355,8 +29355,8 @@ dA = {collapse: "Collapse"};// node_modules/react-aria/dist/private/intl/table/es-ES.mjs-var fA = {};-fA = {+var mA = {};+mA = {ascending: "ascendente",ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,collapse: "Contraer",@@ -29370,8 +29370,8 @@ fA = {sortable: "columna ordenable"};// node_modules/react-aria/dist/private/intl/table/et-EE.mjs-var pA = {};-pA = {+var hA = {};+hA = {ascending: "tõusev järjestus",ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,collapse: "Ahenda",@@ -29385,8 +29385,8 @@ pA = {sortable: "sorditav veerg"};// node_modules/react-aria/dist/private/intl/table/fi-FI.mjs-var mA = {};-mA = {+var gA = {};+gA = {ascending: "nouseva",ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,collapse: "Pienennä",@@ -29400,8 +29400,8 @@ mA = {sortable: "lajiteltava sarake"};// node_modules/react-aria/dist/private/intl/table/fr-FR.mjs-var hA = {};-hA = {+var _A = {};+_A = {ascending: "croissant",ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,collapse: "Réduire",@@ -29415,8 +29415,8 @@ hA = {sortable: "colonne triable"};// node_modules/react-aria/dist/private/intl/table/he-IL.mjs-var gA = {};-gA = {+var vA = {};+vA = {ascending: "עולה",ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,collapse: "כווץ",@@ -29430,8 +29430,8 @@ gA = {sortable: "עמודה שניתן למיין"};// node_modules/react-aria/dist/private/intl/table/hr-HR.mjs-var _A = {};-_A = {+var yA = {};+yA = {ascending: "rastući",ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,collapse: "Sažmi",@@ -29445,8 +29445,8 @@ _A = {sortable: "stupac koji se može razvrstati"};// node_modules/react-aria/dist/private/intl/table/hu-HU.mjs-var vA = {};-vA = {+var bA = {};+bA = {ascending: "növekvő",ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,collapse: "Összecsukás",@@ -29460,8 +29460,8 @@ vA = {sortable: "rendezendő oszlop"};// node_modules/react-aria/dist/private/intl/table/it-IT.mjs-var yA = {};-yA = {+var xA = {};+xA = {ascending: "crescente",ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,collapse: "Comprimi",@@ -29475,8 +29475,8 @@ yA = {sortable: "colonna ordinabile"};// node_modules/react-aria/dist/private/intl/table/ja-JP.mjs-var bA = {};-bA = {+var SA = {};+SA = {ascending: "昇順",ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,collapse: "折りたたむ",@@ -29490,8 +29490,8 @@ bA = {sortable: "並べ替え可能な列"};// node_modules/react-aria/dist/private/intl/table/ko-KR.mjs-var xA = {};-xA = {+var CA = {};+CA = {ascending: "오름차순",ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,collapse: "접기",@@ -29505,8 +29505,8 @@ xA = {sortable: "정렬 가능한 열"};// node_modules/react-aria/dist/private/intl/table/lt-LT.mjs-var SA = {};-SA = {+var wA = {};+wA = {ascending: "didėjančia tvarka",ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,collapse: "Sutraukti",@@ -29520,8 +29520,8 @@ SA = {sortable: "rikiuojamas stulpelis"};// node_modules/react-aria/dist/private/intl/table/lv-LV.mjs-var CA = {};-CA = {+var TA = {};+TA = {ascending: "augošā secībā",ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,collapse: "Sakļaut",@@ -29535,8 +29535,8 @@ CA = {sortable: "kārtojamā kolonna"};// node_modules/react-aria/dist/private/intl/table/nb-NO.mjs-var wA = {};-wA = {+var EA = {};+EA = {ascending: "stigende",ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,collapse: "Skjul",@@ -29550,8 +29550,8 @@ wA = {sortable: "kolonne som kan sorteres"};// node_modules/react-aria/dist/private/intl/table/nl-NL.mjs-var TA = {};-TA = {+var DA = {};+DA = {ascending: "oplopend",ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse: "Samenvouwen",@@ -29565,8 +29565,8 @@ TA = {sortable: "sorteerbare kolom"};// node_modules/react-aria/dist/private/intl/table/pl-PL.mjs-var EA = {};-EA = {+var OA = {};+OA = {ascending: "rosnąco",ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,collapse: "Zwiń",@@ -29580,8 +29580,8 @@ EA = {sortable: "kolumna z możliwością sortowania"};// node_modules/react-aria/dist/private/intl/table/pt-BR.mjs-var DA = {};-DA = {+var kA = {};+kA = {ascending: "crescente",ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,collapse: "Recolher",@@ -29595,8 +29595,8 @@ DA = {sortable: "coluna classificável"};// node_modules/react-aria/dist/private/intl/table/pt-PT.mjs-var OA = {};-OA = {+var AA = {};+AA = {ascending: "ascendente",ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse: "Colapsar",@@ -29610,8 +29610,8 @@ OA = {sortable: "Coluna ordenável"};// node_modules/react-aria/dist/private/intl/table/ro-RO.mjs-var kA = {};-kA = {+var jA = {};+jA = {ascending: "crescătoare",ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,collapse: "Restrângeți",@@ -29625,8 +29625,8 @@ kA = {sortable: "coloană sortabilă"};// node_modules/react-aria/dist/private/intl/table/ru-RU.mjs-var AA = {};-AA = {+var MA = {};+MA = {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: "Свернуть",@@ -29640,8 +29640,8 @@ AA = {sortable: "сортируемый столбец"};// node_modules/react-aria/dist/private/intl/table/sk-SK.mjs-var jA = {};-jA = {+var NA = {};+NA = {ascending: "vzostupne",ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse: "Zbaliť",@@ -29655,8 +29655,8 @@ jA = {sortable: "zoraditeľný stĺpec"};// node_modules/react-aria/dist/private/intl/table/sl-SI.mjs-var MA = {};-MA = {+var PA = {};+PA = {ascending: "naraščajoče",ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,collapse: "Strni",@@ -29670,8 +29670,8 @@ MA = {sortable: "razvrstljivi stolpec"};// node_modules/react-aria/dist/private/intl/table/sr-SP.mjs-var NA = {};-NA = {+var FA = {};+FA = {ascending: "rastući",ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse: "Skupi",@@ -29685,8 +29685,8 @@ NA = {sortable: "kolona koja se može sortirati"};// node_modules/react-aria/dist/private/intl/table/sv-SE.mjs-var PA = {};-PA = {+var IA = {};+IA = {ascending: "stigande",ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse: "Dölj",@@ -29700,8 +29700,8 @@ PA = {sortable: "sorterbar kolumn"};// node_modules/react-aria/dist/private/intl/table/tr-TR.mjs-var FA = {};-FA = {+var LA = {};+LA = {ascending: "artan sırada",ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse: "Daralt",@@ -29715,8 +29715,8 @@ FA = {sortable: "Sıralanabilir sütun"};// node_modules/react-aria/dist/private/intl/table/uk-UA.mjs-var IA = {};-IA = {+var RA = {};+RA = {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: "Згорнути",@@ -29730,8 +29730,8 @@ IA = {sortable: "сортувальний стовпець"};// node_modules/react-aria/dist/private/intl/table/zh-CN.mjs-var LA = {};-LA = {+var zA = {};+zA = {ascending: "升序",ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse: "折叠",@@ -29745,8 +29745,8 @@ LA = {sortable: "可排序的列"};// node_modules/react-aria/dist/private/intl/table/zh-TW.mjs-var RA = {};-RA = {+var BA = {};+BA = {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: "收合",@@ -29760,45 +29760,45 @@ RA = {sortable: "可排序的欄"};// node_modules/react-aria/dist/private/table/intlStrings.mjs-var zA = {};-zA = {- "ar-AE": aA,- "bg-BG": oA,- "cs-CZ": sA,- "da-DK": cA,- "de-DE": lA,- "el-GR": uA,- "en-US": dA,- "es-ES": fA,- "et-EE": pA,- "fi-FI": mA,- "fr-FR": hA,- "he-IL": gA,- "hr-HR": _A,- "hu-HU": vA,- "it-IT": yA,- "ja-JP": bA,- "ko-KR": xA,- "lt-LT": SA,- "lv-LV": CA,- "nb-NO": wA,- "nl-NL": TA,- "pl-PL": EA,- "pt-BR": DA,- "pt-PT": OA,- "ro-RO": kA,- "ru-RU": AA,- "sk-SK": jA,- "sl-SI": MA,- "sr-SP": NA,- "sv-SE": PA,- "tr-TR": FA,- "uk-UA": IA,- "zh-CN": LA,- "zh-TW": RA+var VA = {};+VA = {+ "ar-AE": sA,+ "bg-BG": cA,+ "cs-CZ": lA,+ "da-DK": uA,+ "de-DE": dA,+ "el-GR": fA,+ "en-US": pA,+ "es-ES": mA,+ "et-EE": hA,+ "fi-FI": gA,+ "fr-FR": _A,+ "he-IL": vA,+ "hr-HR": yA,+ "hu-HU": bA,+ "it-IT": xA,+ "ja-JP": SA,+ "ko-KR": CA,+ "lt-LT": wA,+ "lv-LV": TA,+ "nb-NO": EA,+ "nl-NL": DA,+ "pl-PL": OA,+ "pt-BR": kA,+ "pt-PT": AA,+ "ro-RO": jA,+ "ru-RU": MA,+ "sk-SK": NA,+ "sl-SI": PA,+ "sr-SP": FA,+ "sv-SE": IA,+ "tr-TR": LA,+ "uk-UA": RA,+ "zh-CN": zA,+ "zh-TW": BA};// node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var gce = class extends Qk {+var mce = class extends eA {isCell(e) {return e.type === "cell" || e.type === "rowheader" || e.type === "column";}@@ -29806,7 +29806,7 @@ var gce = class extends Qk {let n = this.collection.getItem(e);if (!n) return null;if (n.type === "column") {- let e = SD(xD(n, this.collection));+ let e = wD(CD(n, this.collection));if (e) return e.key;let t = this.getFirstKey();return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);@@ -29827,13 +29827,13 @@ var gce = class extends Qk {let t = this.findNextKey(e.key, (e) => e.type === "column");if (t != null) return t;let n = this.collection.headerRows[e.level];- for (let e of xD(n, this.collection)) if (e.type === "column") return e.key;+ for (let e of CD(n, this.collection)) if (e.type === "column") return e.key;return null;}findPreviousColumnKey(e) {let t = this.findPreviousKey(e.key, (e) => e.type === "column");if (t != null) return t;- let n = this.collection.headerRows[e.level], r = [...xD(n, this.collection)];+ let n = this.collection.headerRows[e.level], r = [...CD(n, this.collection)];for (let e = r.length - 1; e >= 0; e--) {let t = r[e];if (t.type === "column") return t.key;@@ -29862,7 +29862,7 @@ var gce = class extends Qk {let t = o.textValue.slice(0, e.length);if (this.collator.compare(t, e) === 0) return o.key;}- for (let r of xD(o, this.collection)) {+ for (let r of CD(o, this.collection)) {let a = n.columns[r.index];if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {let a = r.textValue.slice(0, e.length);@@ -29875,14 +29875,14 @@ var gce = class extends Qk {}};// node_modules/react-aria/dist/private/table/useTable.mjs-function _ce(e) {+function hce(e) {return e && e.__esModule ? e.default : e;}-function vce(e, t, n) {- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = AD({+function gce(e, t, n) {+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = MD({usage: "search",sensitivity: "base"- }), { direction: c } = Uw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new gce({+ }), { direction: c } = Gw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new mce({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -29901,51 +29901,51 @@ function vce(e, t, n) {s,a,o- ]), d = qC(e.id);- eA.set(t, d);- let { gridProps: f } = hce({+ ]), d = YC(e.id);+ nA.set(t, d);+ let { gridProps: f } = pce({...e,id: d,keyboardDelegate: u}, t, n);i && (f["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), t.treeColumn != null && (f.role = "treegrid");- let { column: p, direction: m } = t.sortDescriptor || {}, h = Yw(_ce(zA), "@react-aria/table"), g = (0, F.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = Zw(hce(VA), "@react-aria/table"), g = (0, F.useMemo)(() => {let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;}, [m,p,t.collection.columns- ]), _ = KT(g);- return zT(() => {- g && RT(g, "assertive", 500);+ ]), _ = JT(g);+ return VT(() => {+ g && BT(g, "assertive", 500);}, [g]), { gridProps: K(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };}// node_modules/react-aria/dist/private/grid/useGridCell.mjs-function BA(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Uw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = $k.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {+function HA(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Gw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = tA.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {if (n.current) {- let e = NT(n.current);+ let e = FT(n.current);if (p === "child") {- let i = FS(DS(n.current));- if (LS(n.current) && n.current !== i) return;- let a = DS(n.current);+ let i = IS(OS(n.current));+ if (RS(n.current) && n.current !== i) return;+ let a = OS(n.current);if (!i || i === a.body || i === n.current) {let e = h.current;- if (e && m.current === r.key && PS(n.current, e)) {- HC(e);+ if (e && m.current === r.key && FS(n.current, e)) {+ WC(e);return;}}- let o = t.selectionManager.childFocusStrategy === "last" ? VA(e) : e.firstChild();+ let o = t.selectionManager.childFocusStrategy === "last" ? UA(e) : e.firstChild();if (o) {- HC(o);+ WC(o);return;}}- (m.current != null && r.key !== m.current || !LS(n.current)) && HC(n.current);+ (m.current != null && r.key !== m.current || !RS(n.current)) && WC(n.current);}- }, { itemProps: _, isPressed: v } = jO({+ }, { itemProps: _, isPressed: v } = NO({selectionManager: t.selectionManager,key: r.key,ref: n,@@ -29957,44 +29957,44 @@ function BA(e, t, n) {}), y = K(_, {role: "gridcell",onKeyDownCapture: f !== "tab" || o ? (e) => {- let i = FS(DS(n.current));- if (!PS(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;- let a = NT(n.current);+ let i = IS(OS(n.current));+ if (!FS(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;+ let a = FT(n.current);switch (a.currentNode = i, e.key) {case "ArrowLeft": {let t = l === "rtl" ? a.nextNode() : a.previousNode();- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) HC(t), WT(t, { containingElement: VT(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) WC(t), KT(t, { containingElement: UT(n.current) });else {if (u.getKeyLeftOf?.(r.key) !== r.key) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "rtl" ? (HC(n.current), WT(n.current, { containingElement: VT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : VA(a), t && (HC(t), WT(t, { containingElement: VT(n.current) })));+ p === "cell" && l === "rtl" ? (WC(n.current), KT(n.current, { containingElement: UT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : UA(a), t && (WC(t), KT(t, { containingElement: UT(n.current) })));}break;}case "ArrowRight": {let t = l === "rtl" ? a.previousNode() : a.nextNode();- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) HC(t), WT(t, { containingElement: VT(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) WC(t), KT(t, { containingElement: UT(n.current) });else {if (u.getKeyRightOf?.(r.key) !== r.key) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "ltr" ? (HC(n.current), WT(n.current, { containingElement: VT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? VA(a) : a.firstChild(), t && (HC(t), WT(t, { containingElement: VT(n.current) })));+ p === "cell" && l === "ltr" ? (WC(n.current), KT(n.current, { containingElement: UT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? UA(a) : a.firstChild(), t && (WC(t), KT(t, { containingElement: UT(n.current) })));}break;}case "ArrowUp":- case "ArrowDown": !e.altKey && PS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && FS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}} : void 0,onKeyDown: f === "tab" ? (e) => {- let r = FS(DS(n.current));- if (PS(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {+ let r = IS(OS(n.current));+ if (FS(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {if (f === "tab" && G(e) !== n.current && e.key !== "Tab") e.stopPropagation();else if (e.key === "Tab" && f === "tab") {- let t = NT(n.current, { tabbable: !0 });+ let t = FT(n.current, { tabbable: !0 });t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}@@ -30005,9 +30005,9 @@ function BA(e, t, n) {onFocus: (e) => {if (m.current = r.key, G(e) !== n.current) {let i = G(e);- n.current && PS(n.current, i) && (h.current = i), AC() || t.selectionManager.setFocusedKey(r.key);- } else p === "child" && e.relatedTarget && PS(n.current, e.relatedTarget) || requestAnimationFrame(() => {- p === "child" && FS(DS(n.current)) === n.current && g();+ n.current && FS(n.current, i) && (h.current = i), MC() || t.selectionManager.setFocusedKey(r.key);+ } else p === "child" && e.relatedTarget && FS(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ p === "child" && IS(OS(n.current)) === n.current && g();});},...p === "child" && f === "tab" ? { tabIndex: -1 } : {}@@ -30022,7 +30022,7 @@ function BA(e, t, n) {isPressed: v};}-function VA(e) {+function UA(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);@@ -30030,32 +30030,32 @@ function VA(e) {return t;}// node_modules/react-aria/dist/private/table/useTableCell.mjs-function yce(e, t, n) {- let { gridCellProps: r, isPressed: i } = BA(e, t, n), a = e.node.column?.key;- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = rA(t, e.node.parentKey, a)), {+function _ce(e, t, n) {+ let { gridCellProps: r, isPressed: i } = HA(e, t, n), a = e.node.column?.key;+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = aA(t, e.node.parentKey, a)), {gridCellProps: r,isPressed: i};}// node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function bce(e) {+function vce(e) {return e && e.__esModule ? e.default : e;}-function xce(e, t, n) {- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = BA({+function yce(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = HA({focusMode: "child",...e- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = dT({+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = pT({isDisabled: !i || o,onPress() {t.sort(r.key);},ref: n- }), { focusableProps: l } = sw({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;- r.props.allowsSorting && !nC() && (u = d ? f : "none");- let p = Yw(bce(zA), "@react-aria/table"), m;- i && (m = `${p.format("sortable")}`, d && f && nC() && (m = `${m}, ${p.format(f)}`));- let h = KT(m), g = t.collection.size === 0;+ }), { focusableProps: l } = lw({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;+ r.props.allowsSorting && !rC() && (u = d ? f : "none");+ let p = Zw(vce(VA), "@react-aria/table"), m;+ i && (m = `${p.format("sortable")}`, d && f && rC() && (m = `${m}, ${p.format(f)}`));+ let h = JT(m), g = t.collection.size === 0;return (0, F.useEffect)(() => {g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);}, [@@ -30066,7 +30066,7 @@ function xce(e, t, n) {columnHeaderProps: {...K(l, a, s, h, g ? { tabIndex: -1 } : null),role: "columnheader",- id: nA(t, r.key),+ id: iA(t, r.key),"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,"aria-sort": u},@@ -30074,17 +30074,17 @@ function xce(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableColumnResize.mjs-function Sce(e) {+function bce(e) {return e && e.__esModule ? e.default : e;}-function Cce(e, t, n) {- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Yw(Sce(zA), "@react-aria/table"), d = qC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = Uw(), b = (0, F.useCallback)((e) => {+function xce(e, t, n) {+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Zw(bce(VA), "@react-aria/table"), d = YC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = Gw(), b = (0, F.useCallback)((e) => {p.current || (m.current = t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.startResize(e.key), t.tableState.setKeyboardNavigationDisabled(!0), o?.(m.current)), p.current = !0;}, [t, o]), x = (0, F.useCallback)((e, n) => {let r = t.updateResizedColumns(e.key, n);s?.(r), m.current = r;}, [t, s]), S = (0, F.useCallback)((e) => {- p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && HC(i.current)), m.current = null;+ p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && WC(i.current)), m.current = null;}, [t,i,@@ -30092,14 +30092,14 @@ function Cce(e, t, n) {]), C = () => {if (g) S(r);else return !1;- }, { keyboardProps: w } = rw({ shortcuts: {+ }, { keyboardProps: w } = aw({ shortcuts: {Escape: () => C(),Enter: () => {g ? S(r) : b(r);}," ": () => C(),Tab: () => C()- } }), T = (0, F.useRef)(0), { moveProps: E } = gE({+ } }), T = (0, F.useRef)(0), { moveProps: E } = vE({onMoveStart(e) {T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);},@@ -30115,12 +30115,12 @@ function Cce(e, t, n) {g && E.onKeyDown?.(e);}, [g, E]), O = Math.floor(t.getColumnMinWidth(r.key)), k = Math.floor(t.getColumnMaxWidth(r.key));k === Infinity && (k = 2 ** 53 - 1);- let A = Math.floor(t.getColumnWidth(r.key)), j = NC();+ let A = Math.floor(t.getColumnWidth(r.key)), j = FC();j === "virtual" && typeof window < "u" && "ontouchstart" in window && (j = "touch");- let M = KT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {+ let M = JT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {"aria-label": l,"aria-orientation": "horizontal",- "aria-labelledby": `${d} ${nA(t.tableState, r.key)}`,+ "aria-labelledby": `${d} ${iA(t.tableState, r.key)}`,"aria-valuetext": u.format("columnSize", { value: A }),type: "range",min: O,@@ -30128,11 +30128,11 @@ function Cce(e, t, n) {value: A,...M}, N = (0, F.useCallback)(() => {- n.current && HC(n.current);- }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = Fw(b);+ n.current && WC(n.current);+ }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = Lw(b);(0, F.useEffect)(() => {if (P.current !== te && te != null && te === r.key) {- h.current = FS() === n.current, ne(r);+ h.current = IS() === n.current, ne(r);let e = setTimeout(() => N(), 0), t = setTimeout(N, 400);return () => {clearTimeout(e), clearTimeout(t);@@ -30148,7 +30148,7 @@ function Cce(e, t, n) {let re = (e) => {let n = t.getColumnWidth(r.key), i = parseFloat(G(e).value);i = i > n ? n + 10 : n - 10, x(r, i);- }, { pressProps: I } = dT({+ }, { pressProps: I } = pT({preventFocusOnPress: !0,onPressStart: (e) => {e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? S(r) : (N(), e.pointerType !== "virtual" && b(r)));@@ -30156,7 +30156,7 @@ function Cce(e, t, n) {onPress: (e) => {(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);}- }), { visuallyHiddenProps: ie } = vE();+ }), { visuallyHiddenProps: ie } = bE();return {resizerProps: K(w, {...E,@@ -30175,19 +30175,19 @@ function Cce(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function wce(e, t, n) {+function Sce(e, t, n) {let { node: r, isVirtualized: i } = e, a = { role: "row" };return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };}// node_modules/react-aria/dist/private/grid/useGridRow.mjs-function Tce(e, t, n) {- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = $k.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = jO({+function Cce(e, t, n) {+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = tA.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = NO({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: c || a,- onAction: l || r?.props?.onAction ? UC(r?.props?.onAction, l) : void 0,+ onAction: l || r?.props?.onAction ? GC(r?.props?.onAction, l) : void 0,isDisabled: t.collection.size === 0}), f = t.selectionManager.isSelected(r.key), p = {role: "row",@@ -30201,10 +30201,10 @@ function Tce(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableRow.mjs-function Ece(e) {+function wce(e) {return e && e.__esModule ? e.default : e;}-var HA = {+var WA = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -30214,21 +30214,21 @@ var HA = {rtl: "ArrowRight"}};-function Dce(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Tce(e, t, n), { direction: s } = Uw();+function Tce(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Cce(e, t, n), { direction: s } = Gw();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 = Yw(Ece(zA), "@react-aria/table"), u = Lw({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Zw(wce(VA), "@react-aria/table"), u = zw({"aria-label": c ? l.format("collapse") : l.format("expand"),- "aria-labelledby": iA(t, r.key)+ "aria-labelledby": oA(t, r.key)}), d = {}, f = {};if (t.treeColumn != null) {let e = t.collection.getItem(r.key);if (e != null) {- let n = UA(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 = UA(t.collection, a);+ let n = GA(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 = GA(t.collection, a);for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);d = {onKeyDown: (n) => {- n.key === HA.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === HA.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 === WA.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === WA.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,@@ -30246,42 +30246,42 @@ function Dce(e, t, n) {};}}- let p = oC(r.props), m = o.hasAction ? p : {};+ let p = sC(r.props), m = o.hasAction ? p : {};return {rowProps: {...K(a, d, m),- "aria-labelledby": iA(t, r.key)+ "aria-labelledby": oA(t, r.key)},expandButtonProps: f,...o};}-function UA(e, t) {+function GA(e, t) {return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);}// node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs-function Oce() {+function Ece() {return { rowGroupProps: { role: "rowgroup" } };}// node_modules/react-aria/dist/private/table/useTableRowGroup.mjs-function WA() {- return Oce();+function KA() {+ return Ece();}// node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function kce(e) {+function Dce(e) {return e && e.__esModule ? e.default : e;}-function Ace(e, t) {- let { key: n } = e, { checkboxProps: r } = LO(e, t);+function Oce(e, t) {+ let { key: n } = e, { checkboxProps: r } = zO(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${iA(t, n)}`+ "aria-labelledby": `${r.id} ${oA(t, n)}`} };}-function jce(e) {+function kce(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": Yw(kce(zA), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": Zw(Dce(VA), "@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,@@ -30289,22 +30289,22 @@ function jce(e) {} };}// node_modules/react-aria/dist/private/tabs/utils.mjs-var GA = /* @__PURE__ */ new WeakMap();-function KA(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${GA.get(e)}-${n}-${t}`) : "";+var qA = /* @__PURE__ */ new WeakMap();+function JA(e, t, n) {+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${qA.get(e)}-${n}-${t}`) : "";}// node_modules/react-aria/dist/private/tabs/useTab.mjs-function Mce(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 } = jO({+function Ace(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 } = NO({selectionManager: o,key: r,ref: n,isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = KA(t, r, "tab"), m = KA(t, r, "tabpanel"), { tabIndex: h } = d, g = Zw(u?.props, { labelable: !0 });+ }), p = JA(t, r, "tab"), m = JA(t, r, "tabpanel"), { tabIndex: h } = d, g = $w(u?.props, { labelable: !0 });delete g.id;- let _ = sC(u?.props), { focusableProps: v } = sw({+ let _ = cC(u?.props), { focusableProps: v } = lw({...u?.props,isDisabled: l}, n);@@ -30323,7 +30323,7 @@ function Mce(e, t, n) {};}// node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var Nce = class {+var jce = class {constructor(e, t, n, r = /* @__PURE__ */ new Set()) {this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}@@ -30366,11 +30366,11 @@ var Nce = class {}};// node_modules/react-aria/dist/private/tabs/useTabList.mjs-function Pce(e, t, n) {- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Uw(), { collectionProps: l } = bD({+function Mce(e, t, n) {+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Gw(), { collectionProps: l } = SD({ref: n,selectionManager: o,- keyboardDelegate: (0, F.useMemo)(() => new Nce(a, c, r, s), [+ keyboardDelegate: (0, F.useMemo)(() => new jce(a, c, r, s), [a,s,r,@@ -30380,9 +30380,9 @@ function Pce(e, t, n) {disallowEmptySelection: !0,scrollRef: n,linkBehavior: "selection"- }), u = qC();- return GA.set(t, u), { tabListProps: {- ...K(l, Lw({+ }), u = YC();+ return qA.set(t, u), { tabListProps: {+ ...K(l, zw({...e,id: u})),@@ -30392,12 +30392,12 @@ function Pce(e, t, n) {} };}// node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function Fce(e, t, n) {- let r = OO(n) ? void 0 : 0, i = KA(t, e.id ?? t?.selectedKey, "tabpanel");- return { tabPanelProps: K(Lw({+function Nce(e, t, n) {+ let r = AO(n) ? void 0 : 0, i = JA(t, e.id ?? t?.selectedKey, "tabpanel");+ return { tabPanelProps: K(zw({...e,id: i,- "aria-labelledby": KA(t, t?.selectedKey, "tab")+ "aria-labelledby": JA(t, t?.selectedKey, "tab")}), {tabIndex: r,role: "tabpanel",@@ -30406,265 +30406,265 @@ function Fce(e, t, n) {}) };}// node_modules/react-aria/dist/private/tree/useTree.mjs-function Ice(e, t, n) {- let { gridProps: r } = Dse(e, t, n);+function Pce(e, t, n) {+ let { gridProps: r } = Tse(e, t, n);return r.role = "treegrid", { gridProps: r };}// node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs-var qA = {};-qA = {+var YA = {};+YA = {collapse: "طي",expand: "تمديد"};// node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs-var JA = {};-JA = {+var XA = {};+XA = {collapse: "Свиване",expand: "Разширяване"};// node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs-var YA = {};-YA = {+var ZA = {};+ZA = {collapse: "Sbalit",expand: "Roztáhnout"};// node_modules/react-aria/dist/private/intl/tree/da-DK.mjs-var XA = {};-XA = {+var QA = {};+QA = {collapse: "Skjul",expand: "Udvid"};// node_modules/react-aria/dist/private/intl/tree/de-DE.mjs-var ZA = {};-ZA = {+var $A = {};+$A = {collapse: "Reduzieren",expand: "Erweitern"};// node_modules/react-aria/dist/private/intl/tree/el-GR.mjs-var QA = {};-QA = {+var ej = {};+ej = {collapse: "Σύμπτυξη",expand: "Ανάπτυξη"};// node_modules/react-aria/dist/private/intl/tree/en-US.mjs-var $A = {};-$A = {+var tj = {};+tj = {expand: "Expand",collapse: "Collapse"};// node_modules/react-aria/dist/private/intl/tree/es-ES.mjs-var ej = {};-ej = {+var nj = {};+nj = {collapse: "Contraer",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/et-EE.mjs-var tj = {};-tj = {+var rj = {};+rj = {collapse: "Ahenda",expand: "Laienda"};// node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs-var nj = {};-nj = {+var ij = {};+ij = {collapse: "Pienennä",expand: "Laajenna"};// node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs-var rj = {};-rj = {+var aj = {};+aj = {collapse: "Réduire",expand: "Développer"};// node_modules/react-aria/dist/private/intl/tree/he-IL.mjs-var ij = {};-ij = {+var oj = {};+oj = {collapse: "כווץ",expand: "הרחב"};// node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs-var aj = {};-aj = {+var sj = {};+sj = {collapse: "Sažmi",expand: "Proširi"};// node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs-var oj = {};-oj = {+var cj = {};+cj = {collapse: "Összecsukás",expand: "Kibontás"};// node_modules/react-aria/dist/private/intl/tree/it-IT.mjs-var sj = {};-sj = {+var lj = {};+lj = {collapse: "Comprimi",expand: "Espandi"};// node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs-var cj = {};-cj = {+var uj = {};+uj = {collapse: "折りたたむ",expand: "展開"};// node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs-var lj = {};-lj = {+var dj = {};+dj = {collapse: "접기",expand: "펼치기"};// node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs-var uj = {};-uj = {+var fj = {};+fj = {collapse: "Sutraukti",expand: "Išskleisti"};// node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs-var dj = {};-dj = {+var pj = {};+pj = {collapse: "Sakļaut",expand: "Izvērst"};// node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs-var fj = {};-fj = {+var mj = {};+mj = {collapse: "Skjul",expand: "Utvid"};// node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs-var pj = {};-pj = {+var hj = {};+hj = {collapse: "Samenvouwen",expand: "Uitvouwen"};// node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs-var mj = {};-mj = {+var gj = {};+gj = {collapse: "Zwiń",expand: "Rozwiń"};// node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs-var hj = {};-hj = {+var _j = {};+_j = {collapse: "Recolher",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs-var gj = {};-gj = {+var vj = {};+vj = {collapse: "Colapsar",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs-var _j = {};-_j = {+var yj = {};+yj = {collapse: "Restrângeți",expand: "Extindeți"};// node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs-var vj = {};-vj = {+var bj = {};+bj = {collapse: "Свернуть",expand: "Развернуть"};// node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs-var yj = {};-yj = {+var xj = {};+xj = {collapse: "Zbaliť",expand: "Rozbaliť"};// node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs-var bj = {};-bj = {+var Sj = {};+Sj = {collapse: "Strni",expand: "Razširi"};// node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs-var xj = {};-xj = {+var Cj = {};+Cj = {collapse: " Skupi",expand: "Proširi"};// node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs-var Sj = {};-Sj = {+var wj = {};+wj = {collapse: "Dölj",expand: "Expandera"};// node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs-var Cj = {};-Cj = {+var Tj = {};+Tj = {collapse: "Daralt",expand: "Genişlet"};// node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs-var wj = {};-wj = {+var Ej = {};+Ej = {collapse: "Згорнути",expand: "Розгорнути"};// node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs-var Tj = {};-Tj = {+var Dj = {};+Dj = {collapse: "折叠",expand: "扩展"};// node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs-var Ej = {};-Ej = {+var Oj = {};+Oj = {collapse: "收合",expand: "展開"};// node_modules/react-aria/dist/private/tree/intlStrings.mjs-var Dj = {};-Dj = {- "ar-AE": qA,- "bg-BG": JA,- "cs-CZ": YA,- "da-DK": XA,- "de-DE": ZA,- "el-GR": QA,- "en-US": $A,- "es-ES": ej,- "et-EE": tj,- "fi-FI": nj,- "fr-FR": rj,- "he-IL": ij,- "hr-HR": aj,- "hu-HU": oj,- "it-IT": sj,- "ja-JP": cj,- "ko-KR": lj,- "lt-LT": uj,- "lv-LV": dj,- "nb-NO": fj,- "nl-NL": pj,- "pl-PL": mj,- "pt-BR": hj,- "pt-PT": gj,- "ro-RO": _j,- "ru-RU": vj,- "sk-SK": yj,- "sl-SI": bj,- "sr-SP": xj,- "sv-SE": Sj,- "tr-TR": Cj,- "uk-UA": wj,- "zh-CN": Tj,- "zh-TW": Ej+var kj = {};+kj = {+ "ar-AE": YA,+ "bg-BG": XA,+ "cs-CZ": ZA,+ "da-DK": QA,+ "de-DE": $A,+ "el-GR": ej,+ "en-US": tj,+ "es-ES": nj,+ "et-EE": rj,+ "fi-FI": ij,+ "fr-FR": aj,+ "he-IL": oj,+ "hr-HR": sj,+ "hu-HU": cj,+ "it-IT": lj,+ "ja-JP": uj,+ "ko-KR": dj,+ "lt-LT": fj,+ "lv-LV": pj,+ "nb-NO": mj,+ "nl-NL": hj,+ "pl-PL": gj,+ "pt-BR": _j,+ "pt-PT": vj,+ "ro-RO": yj,+ "ru-RU": bj,+ "sk-SK": xj,+ "sl-SI": Sj,+ "sr-SP": Cj,+ "sv-SE": wj,+ "tr-TR": Tj,+ "uk-UA": Ej,+ "zh-CN": Dj,+ "zh-TW": Oj};// node_modules/react-aria/dist/private/tree/useTreeItem.mjs-function Lce(e) {+function Fce(e) {return e && e.__esModule ? e.default : e;}-function Oj(e, t, n) {- let { node: r } = e, i = Ose(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Yw(Lce(Dj), "@react-aria/tree"), s = {+function Aj(e, t, n) {+ let { node: r } = e, i = Ese(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Zw(Fce(kj), "@react-aria/tree"), s = {onPress: () => {i.isDisabled || (t.toggleKey(r.key), t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r.key));},excludeFromTabOrder: !0,preventFocusOnPress: !0,"data-react-aria-prevent-focus": !0,- ...Lw({+ ...zw({"aria-label": a ? o.format("collapse") : o.format("expand"),"aria-labelledby": i.rowProps.id})@@ -30675,15 +30675,15 @@ function Oj(e, t, n) {};}// src/react/components/selection-dock.tsx-var kj = "(prefers-reduced-motion: reduce)", Rce = () => matchMedia(kj).matches, zce = (e) => {- let t = matchMedia(kj);+var jj = "(prefers-reduced-motion: reduce)", Ice = () => matchMedia(jj).matches, Lce = (e) => {+ let t = matchMedia(jj);return t.addEventListener("change", e), () => t.removeEventListener("change", e);-}, Aj = /* @__PURE__ */ new Map(), jj = () => {+}, Mj = /* @__PURE__ */ new Map(), Nj = () => {let e = document.documentElement;- Aj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Aj.values())}px`) : e.style.removeProperty("--selection-dock-space");+ Mj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Mj.values())}px`) : e.style.removeProperty("--selection-dock-space");};-function Bce({ children: e, count: t, label: n }) {- let r = (0, F.useRef)(null), i = jx(), a = (0, F.useSyncExternalStore)(zce, Rce, () => !1), { isFocusVisible: o } = PC(), s = a || o, c = {+function Rce({ children: e, count: t, label: n }) {+ let r = (0, F.useRef)(null), i = Mx(), a = (0, F.useSyncExternalStore)(Lce, Ice, () => !1), { isFocusVisible: o } = IC(), s = a || o, c = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -30691,12 +30691,12 @@ function Bce({ children: e, count: t, label: n }) {let e = r.current;if (!e || !i) return;let t = () => {- Aj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), jj();+ Mj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Nj();}, n = new ResizeObserver(t);return n.observe(e), window.addEventListener("resize", t), t(), () => {- n.disconnect(), window.removeEventListener("resize", t), Aj.delete(e), jj();+ n.disconnect(), window.removeEventListener("resize", t), Mj.delete(e), Nj();};- }, [i]), /* @__PURE__ */ (0, I.jsxs)(gS.div, {+ }, [i]), /* @__PURE__ */ (0, I.jsxs)(_S.div, {ref: r,role: "group","aria-label": n,@@ -30729,17 +30729,17 @@ function Bce({ children: e, count: t, label: n }) {}), e]});}-function Mj({ visible: e, ...t }) {- return /* @__PURE__ */ (0, I.jsx)(Px, { children: e ? /* @__PURE__ */ (0, I.jsx)(Bce, { ...t }, "selection") : null });+function Pj({ visible: e, ...t }) {+ return /* @__PURE__ */ (0, I.jsx)(Fx, { children: e ? /* @__PURE__ */ (0, I.jsx)(Rce, { ...t }, "selection") : null });}// src/react/batch-dock/batch-dock-api.ts-var Nj = {+var Fj = {group: "clear",operation: "clear",label: "取消",glyph: "x"};-function Vce(e, t = !1) {+function zce(e, t = !1) {switch (e) {case "trash": return [{@@ -30755,7 +30755,7 @@ function Vce(e, t = !1) {glyph: "trash",danger: !0},- Nj+ Fj];case "junk": return [t ? {@@ -30776,7 +30776,7 @@ function Vce(e, t = !1) {glyph: "trash",danger: !0},- Nj+ Fj];case "follow": return [{@@ -30797,7 +30797,7 @@ function Vce(e, t = !1) {label: "忽略",glyph: "eye-off"},- Nj+ Fj];default: return [{@@ -30831,38 +30831,38 @@ function Vce(e, t = !1) {glyph: "trash",danger: !0},- Nj+ Fj];}}// src/react/batch-dock/batch-dock-island.tsx-var Pj = null, Fj = {+var Ij = null, Lj = {count: 0,context: "catalog",junkDismissed: !1-}, Ij = /* @__PURE__ */ new Set();-function Hce(e) {- return Ij.add(e), () => {- Ij.delete(e);+}, Rj = /* @__PURE__ */ new Set();+function Bce(e) {+ return Rj.add(e), () => {+ Rj.delete(e);};}-function Uce() {- for (let e of [...Ij]) e();+function Vce() {+ for (let e of [...Rj]) e();}-var Wce = { render(e) {- Fj = e, (0, Lt.flushSync)(Uce);+var Hce = { render(e) {+ Lj = e, (0, Lt.flushSync)(Vce);} };-function Gce(e) {- return Pj = e, Wce;+function Uce(e) {+ return Ij = e, Hce;}-function Kce() {- let e = (0, F.useSyncExternalStore)(Hce, () => Fj);- return Pj ? /* @__PURE__ */ (0, I.jsx)(Lj, {- host: Pj,+function Wce() {+ let e = (0, F.useSyncExternalStore)(Bce, () => Lj);+ return Ij ? /* @__PURE__ */ (0, I.jsx)(Gce, {+ host: Ij,props: e}) : null;}-function Lj({ host: e, props: t }) {+function Gce({ host: e, props: t }) {let n = t.count > 0;return (0, F.useLayoutEffect)(() => {document.body.toggleAttribute("data-batch-dock-open", n);@@ -30872,11 +30872,11 @@ function Lj({ host: e, props: t }) {className: "peach-react","data-batch-scope": "","data-context": t.context,- children: /* @__PURE__ */ (0, I.jsx)(Mj, {+ children: /* @__PURE__ */ (0, I.jsx)(Pj, {label: "所选项目操作",visible: t.count > 0,count: `已选 ${t.count.toLocaleString()} 项`,- children: Vce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, I.jsxs)("button", {+ children: zce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-batch-group": t.group,"data-batch-action": t.operation,@@ -30892,11 +30892,11 @@ function Lj({ host: e, props: t }) {});}// src/number-setting.ts-function Rj(e, t, n, r) {+function zj(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}// src/settings-store.ts-function zj(e, t) {+function Kce(e, t) {let n = /* @__PURE__ */ new Set(), r = 0, i = () => {r += 1, n.forEach((e) => e());};@@ -31833,7 +31833,7 @@ function ole(e) {let r = !1, i = +n.sortDefaultsVersion || 0;i < 2 && n.defaultSort === "new" && (n.defaultSort = "seed", r = !0);let a = Wj[n.defaultSort];- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Rj(+n.batchSize, 1, 200, 60), n.defaultSort = fM(n.defaultSort, Hj, "seed"), n.hoverDelaySeconds = Rj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Rj(+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 = Rj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Rj(+n.relatedLimit, 0, 60, 20), n.feedLimit = Rj(+n.feedLimit, 1, 100, 12), Object.assign(n, Qa(n)), n.theme = fM(n.theme, ile, "system"), n.performerNameLanguage = fM(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = cM(n.homeGlow), n.accent = iM(n.accent), n.sidebarOrder = Vl(n.sidebarOrder), {+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = zj(+n.batchSize, 1, 200, 60), n.defaultSort = fM(n.defaultSort, Hj, "seed"), n.hoverDelaySeconds = zj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = zj(+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 = zj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = zj(+n.relatedLimit, 0, 60, 20), n.feedLimit = zj(+n.feedLimit, 1, 100, 12), Object.assign(n, Qa(n)), n.theme = fM(n.theme, ile, "system"), n.performerNameLanguage = fM(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = cM(n.homeGlow), n.accent = iM(n.accent), n.sidebarOrder = Vl(n.sidebarOrder), {settings: n,migrated: r};@@ -31849,7 +31849,7 @@ var pM = null;function mM() {if (pM) return pM;let { settings: e, migrated: t } = sle(localStorage);- return pM = zj(rle, e), t && pM.save(), pM;+ return pM = Kce(rle, e), t && pM.save(), pM;}function hM(e, t, n = mM()) {let r = n.value, i = e?.performerNameLanguage;@@ -31858,7 +31858,7 @@ function hM(e, t, n = mM()) {uM.includes(a) && (r.followInitialDays = a, n.save());for (let t of ale) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());let o = e && e.searchHistoryLimit;- Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = Rj(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== dM.searchHistoryLimit && cle(n);+ Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = zj(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== dM.searchHistoryLimit && cle(n);let s = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;s && s.length && s.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = s, n.save());}@@ -32281,17 +32281,17 @@ function cN(e) {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 lN(e) {+function Fle(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 uN = 3e3;-function dN(e, t) {+var lN = 3e3;+function uN(e, t) {let n = Number(e) || 0, r = Kn(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}-function Fle(e) {+function dN(e) {let t = [], n = null, r = 0, i = 0;return {bitrate: Number(e) || 0,@@ -32306,10 +32306,10 @@ function Fle(e) {},sample(e) {if (!e) return i;- let a = performance.now(), o = lN(e), s = e.currentTime || 0;+ let a = performance.now(), o = Fle(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 > uN * 2 && (t.length = 0);+ !i && c > 0 && (r += c), e * 1e3 > lN * 2 && (t.length = 0);}for (n = {at: a,@@ -32318,7 +32318,7 @@ function Fle(e) {}, t.push({at: a,advanced: r- }); t.length > 2 && a - t[0].at > uN;) t.shift();+ }); t.length > 2 && a - t[0].at > lN;) 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;}@@ -33992,7 +33992,7 @@ async function uue(e, t, n, r = {}) {speed: [],activity: [],buffer: []- }, f = Number(r.size ?? e.size) || 0, p = Fle(dN(f, e.duration)), m = 0, h = !1, g = () => aN() === l && !l.isDisposed(), _ = () => {+ }, f = Number(r.size ?? e.size) || 0, p = dN(uN(f, e.duration)), m = 0, h = !1, g = () => aN() === 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(() => {@@ -34087,7 +34087,7 @@ async function uue(e, t, n, r = {}) {if (!g()) return;n?.(t?.qualities?.length ? t.qualities : null);let r = Number(t?.size) || 0;- r > 0 && !f && (f = r, p.bitrate = dN(r, e.duration));+ r > 0 && !f && (f = r, p.bitrate = uN(r, e.duration));}).catch(() => {}), LN(l, e, { thumbnail: !r.source }), r.guidePreview || Xle(l, e), RN(l), r.source || zN(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);}), r.guidePreview || s().then((e) => {g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {@@ -37976,7 +37976,7 @@ function zL(e, t) {return n;}function BL(e, t, n) {- let { ref: r, ...i } = zL(n, e.slot) || {}, a = iw((0, F.useMemo)(() => YC(t, r), [t, r])), o = K(i, e);+ let { ref: r, ...i } = zL(n, e.slot) || {}, a = ow((0, F.useMemo)(() => ZC(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,@@ -37998,7 +37998,7 @@ function VL(e = !0) {let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(!1), i = (0, F.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return US(() => {+ return WS(() => {r.current || n(!1);}, []), [i, t];}@@ -38008,8 +38008,8 @@ function HL(e) {return n;}function upe(e, t, n) {- let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => YC(n, a), [n, a]);- US(() => {}, [e, r]);+ let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => ZC(n, a), [n, a]);+ WS(() => {}, [e, r]);let s = {...i,ref: o@@ -38029,7 +38029,7 @@ var UL = {}, WL = new Proxy({}, { get(e, t) {}};function YL(e, t, n) {- return TS({+ return ES({items: t ? e.getChildren(t.key) : e,dependencies: [n],children(t) {@@ -38067,7 +38067,7 @@ function ZL(e) {return (0, F.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}// node_modules/react-aria-components/dist/private/Label.mjs-var QL = /*#__PURE__*/ (0, F.createContext)({}), $L = /*#__PURE__*/ lw(function(e, t) {+var QL = /*#__PURE__*/ (0, F.createContext)({}), $L = /*#__PURE__*/ dw(function(e, t) {[e, t] = BL(e, t, QL);let { elementType: n = "label", ...r } = e, i = WL[n];return /*#__PURE__*/ F.createElement(i, {@@ -38075,11 +38075,11 @@ var QL = /*#__PURE__*/ (0, F.createContext)({}), $L = /*#__PURE__*/ lw(function(...r,ref: t});-}), fpe = /*#__PURE__*/ (0, F.createContext)(null), eR = /*#__PURE__*/ (0, F.createContext)({}), tR = /*#__PURE__*/ lw(function(e, t) {+}), fpe = /*#__PURE__*/ (0, F.createContext)(null), eR = /*#__PURE__*/ (0, F.createContext)({}), tR = /*#__PURE__*/ dw(function(e, t) {[e, t] = BL(e, t, eR);- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = koe(e, t);+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Doe(e, t);i = mpe(i, r);- let { focusProps: o, isFocused: s, isFocusVisible: c } = LD(e), { hoverProps: l, isHovered: u } = VD({+ let { focusProps: o, isFocused: s, isFocusVisible: c } = zD(e), { hoverProps: l, isHovered: u } = UD({...e,isDisabled: e.isDisabled || r}), d = {@@ -38093,19 +38093,19 @@ var QL = /*#__PURE__*/ (0, F.createContext)({}), $L = /*#__PURE__*/ lw(function(...e,values: d,defaultClassName: "react-aria-Button"- }), p = qC(i.id), m = qC(), h = i["aria-labelledby"];+ }), p = YC(i.id), m = YC(), h = i["aria-labelledby"];r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));let g = (0, F.useRef)(r);(0, F.useEffect)(() => {let e = { "aria-labelledby": h || p };- (!g.current && s && r || g.current && s && !r) && RT(e, "assertive"), g.current = r;+ (!g.current && s && r || g.current && s && !r) && BT(e, "assertive"), g.current = r;}, [r,s,h,p]);- let _ = Zw(e, { global: !0 });+ let _ = $w(e, { global: !0 });return delete _.onClick, /*#__PURE__*/ F.createElement(WL.button, {...K(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,@@ -38138,7 +38138,7 @@ var nR = /*#__PURE__*/ (0, F.createContext)({}), rR = /*#__PURE__*/ (0, F.forwarref: t,className: i ?? "react-aria-Heading"}, n);-}), iR = /*#__PURE__*/ (0, F.createContext)({}), hpe = /*#__PURE__*/ lw(function(e, t) {+}), iR = /*#__PURE__*/ (0, F.createContext)({}), hpe = /*#__PURE__*/ dw(function(e, t) {[e, t] = BL(e, t, iR);let { elementType: n = "span", ...r } = e, i = WL[n];return /*#__PURE__*/ F.createElement(i, {@@ -38148,13 +38148,13 @@ var nR = /*#__PURE__*/ (0, F.createContext)({}), rR = /*#__PURE__*/ (0, F.forwar});}), aR = /*#__PURE__*/ (0, F.createContext)(null), oR = /*#__PURE__*/ (0, F.createContext)(null), sR = /*#__PURE__*/ (0, F.createContext)(null), cR = /*#__PURE__*/ (0, F.createContext)(null), gpe = /*#__PURE__*/ (0, F.createContext)(null), lR = /*#__PURE__*/ (0, F.createContext)(null);function _pe(e, t) {- let { validationBehavior: n } = zL(oR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(gpe), a = iw((0, F.useMemo)(() => YC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ let { validationBehavior: n } = zL(oR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(gpe), a = ow((0, F.useMemo)(() => ZC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {...HL(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};- return [i ? Qoe(o, i, a) : aE(o, uE(e), a), a];+ return [i ? Xoe(o, i, a) : sE(o, fE(e), a), a];}var vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;@@ -38171,7 +38171,7 @@ var vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {ref: t}));}), ype = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, F.useContext)(lR), { isFocused: p, isFocusVisible: m, focusProps: h } = LD(), g = a || o, { hoverProps: _, isHovered: v } = VD({+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, F.useContext)(lR), { isFocused: p, isFocusVisible: m, focusProps: h } = zD(), g = a || o, { hoverProps: _, isHovered: v } = UD({...e,isDisabled: g}), y = RL({@@ -38189,7 +38189,7 @@ var vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {isInvalid: c,isRequired: f || !1}- }), b = Zw(e, { global: !0 });+ }), b = $w(e, { global: !0 });return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(WL.label, {...K(b, n, _, y),ref: t,@@ -38204,7 +38204,7 @@ var vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": f || void 0- }, /*#__PURE__*/ F.createElement(yE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {+ }, /*#__PURE__*/ F.createElement(xE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {...K(r, h),ref: l})), y.children);@@ -38212,12 +38212,12 @@ var vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {[e, t] = BL(e, t, uR);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 } = VD({+ let { hoverProps: l, isHovered: u } = UD({onHoverStart: a,onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = LD({ within: !0 }), m = RL({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = zD({ within: !0 }), m = RL({...e,values: {isHovered: u,@@ -38244,12 +38244,12 @@ var vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {}), fR = /*#__PURE__*/ (0, F.createContext)({}), bpe = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, xpe = /*#__PURE__*/ lw(function(e, t) {+}, xpe = /*#__PURE__*/ dw(function(e, t) {[e, t] = BL(e, t, fR);- let { hoverProps: n, isHovered: r } = VD({+ let { hoverProps: n, isHovered: r } = UD({...e,isDisabled: e.disabled- }), { isFocused: i, isFocusVisible: a, focusProps: o } = LD({+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = zD({isTextInput: !0,autoFocus: e.autoFocus}), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = RL({@@ -38277,12 +38277,12 @@ var vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {function Tpe(e) {let { isDisabled: t = !1, minValue: n = Spe, maxValue: r = Cpe, numberFormatter: i, step: a = wpe, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {let e = (r - n) / 10;- return e = pE(e, 0, e + a, a), Math.max(e, a);+ return e = hE(e, 0, e + a, a), Math.max(e, a);}, [a,r,n- ]), c = (0, F.useCallback)((e) => e?.map((t, i) => pE(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [+ ]), c = (0, F.useCallback)((e) => e?.map((t, i) => hE(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [n,r,a@@ -38290,7 +38290,7 @@ function Tpe(e) {e.defaultValue,n,c- ]), d = hR(e.value, e.defaultValue, e.onChange), f = hR(e.value, e.defaultValue, e.onChangeEnd), [p, m] = lE(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {+ ]), d = hR(e.value, e.defaultValue, e.onChange), f = hR(e.value, e.defaultValue, e.onChangeEnd), [p, m] = dE(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {x.current = e, m(e);}, w = (e) => {S.current = e, _(e);@@ -38313,7 +38313,7 @@ function Tpe(e) {function A(e, n) {if (t || !O(e)) return;let r = E(e), i = D(e);- n = pE(n, r, i, a);+ n = hE(n, r, i, a);let o = pR(x.current, e, n);C(o);}@@ -38342,15 +38342,15 @@ function Tpe(e) {return Math.round((e - n) / a) * a + n;}function P(e) {- return dE(te(e * (r - n) + n), n, r);+ return pE(te(e * (r - n) + n), n, r);}function ne(e, t = 1) {let i = Math.max(t, a);- A(e, pE(p[e] + i, n, r, a));+ A(e, hE(p[e] + i, n, r, a));}function re(e, t = 1) {let i = Math.max(t, a);- A(e, pE(p[e] - i, n, r, a));+ A(e, hE(p[e] - i, n, r, a));}return {values: p,@@ -38397,10 +38397,10 @@ function hR(e, t, n) {// node_modules/react-aria-components/dist/private/Slider.mjsvar Epe = /*#__PURE__*/ (0, F.createContext)(null), gR = /*#__PURE__*/ (0, F.createContext)(null), _R = /*#__PURE__*/ (0, F.createContext)(null), Dpe = /*#__PURE__*/ (0, F.createContext)(null), Ope = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {[e, t] = BL(e, t, Epe);- let n = (0, F.useRef)(null), r = rse(e.formatOptions), i = Tpe({+ let n = (0, F.useRef)(null), r = tse(e.formatOptions), i = Tpe({...e,numberFormatter: r- }), [a, o] = VL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = ise({+ }), [a, o] = VL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = nse({...e,label: o}, i, n), d = RL({@@ -38411,7 +38411,7 @@ var Epe = /*#__PURE__*/ (0, F.createContext)(null), gR = /*#__PURE__*/ (0, F.crestate: i},defaultClassName: "react-aria-Slider"- }), f = Zw(e, { global: !0 });+ }), f = $w(e, { global: !0 });return delete f.id, /*#__PURE__*/ F.createElement(LL, { values: [[gR, i],[_R, {@@ -38432,7 +38432,7 @@ var Epe = /*#__PURE__*/ (0, F.createContext)(null), gR = /*#__PURE__*/ (0, F.cre}));}), kpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {[e, t] = BL(e, t, _R);- let n = (0, F.useContext)(gR), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = VD({+ let n = (0, F.useContext)(gR), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = UD({onHoverStart: r,onHoverEnd: i,onHoverChange: a@@ -38455,13 +38455,13 @@ var Epe = /*#__PURE__*/ (0, F.createContext)(null), gR = /*#__PURE__*/ (0, F.cre"data-disabled": n.isDisabled || void 0});}), Ape = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { inputRef: n = null } = e, r = (0, F.useContext)(gR), { ref: i } = zL(_R), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = VL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = ase({+ let { inputRef: n = null } = e, r = (0, F.useContext)(gR), { ref: i } = zL(_R), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = VL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = rse({...e,index: a,trackRef: i,inputRef: s,label: l- }, r), { focusProps: g, isFocusVisible: _ } = LD(), { hoverProps: v, isHovered: y } = VD(e), b = RL({+ }, r), { focusProps: g, isFocusVisible: _ } = zD(), { hoverProps: v, isHovered: y } = UD(e), b = RL({...e,defaultClassName: "react-aria-SliderThumb",values: {@@ -38472,7 +38472,7 @@ var Epe = /*#__PURE__*/ (0, F.createContext)(null), gR = /*#__PURE__*/ (0, F.creisFocusVisible: _,isDisabled: h}- }), x = Zw(e, { global: !0 });+ }), x = $w(e, { global: !0 });return delete x.id, /*#__PURE__*/ F.createElement(WL.div, {...K(x, u, v),...b,@@ -38486,7 +38486,7 @@ var Epe = /*#__PURE__*/ (0, F.createContext)(null), gR = /*#__PURE__*/ (0, F.cre"data-focused": m || void 0,"data-focus-visible": _ || void 0,"data-disabled": h || void 0- }, /*#__PURE__*/ F.createElement(yE, null, /*#__PURE__*/ F.createElement("input", {+ }, /*#__PURE__*/ F.createElement(xE, null, /*#__PURE__*/ F.createElement("input", {ref: s,...K(d, g)})), /*#__PURE__*/ F.createElement(LL, { values: [[QL, {@@ -38844,7 +38844,7 @@ function iz(e) {return /*#__PURE__*/ F.createElement(Mpe.Provider, { value: t }, e.children);}// node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var az = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), oz = /*#__PURE__*/ (0, F.createContext)({}), Npe = /*#__PURE__*/ _w(class extends _S {+var az = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), oz = /*#__PURE__*/ (0, F.createContext)({}), Npe = /*#__PURE__*/ yw(class extends vS {static {this.type = "separator";}@@ -38860,11 +38860,11 @@ var az = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), oz = /*#__PURE_[e, t] = BL(e, t, oz);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = WL[c], { separatorProps: u } = fce({+ let l = WL[c], { separatorProps: u } = uce({...s,elementType: n,orientation: r- }), d = Zw(e, { global: !0 });+ }), d = $w(e, { global: !0 });return /*#__PURE__*/ F.createElement(l, {render: e.render,...K(d, u),@@ -38936,7 +38936,7 @@ function Ppe(e, t) {return !0;}function uz(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = lE((0, F.useMemo)(() => dz(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => dz(e.defaultSelectedKeys, new lz()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = dE((0, F.useMemo)(() => dz(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => dz(e.defaultSelectedKeys, new lz()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, F.useRef)(i);return (0, F.useEffect)(() => {@@ -39029,7 +39029,7 @@ var fz = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && TD(this.collection, n, e) < 0) && (e = n);+ (!e || n && DD(this.collection, n, e) < 0) && (e = n);}return e?.key ?? null;}@@ -39037,7 +39037,7 @@ var fz = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && TD(this.collection, n, e) > 0) && (e = n);+ (!e || n && DD(this.collection, n, e) > 0) && (e = n);}return e?.key ?? null;}@@ -39067,7 +39067,7 @@ var fz = class e {}getKeyRange(e, t) {let n = this.collection.getItem(e), r = this.collection.getItem(t);- return n && r ? TD(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];+ return n && r ? DD(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];}getKeyRangeInternal(e, t) {if (this.layoutDelegate?.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);@@ -39117,7 +39117,7 @@ var fz = class e {for (; r != null;) {if (this.canSelectItemIn(r, e)) {let i = e.getItem(r);- i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(SD(xD(i, e))?.key ?? null);+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(wD(CD(i, e))?.key ?? null);}r = e.getKeyAfter(r);}@@ -39377,14 +39377,14 @@ function _z(e, t) {}// node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjsfunction vz(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = Fw((e) => {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = Lw((e) => {for (let t of e) t.isIntersecting && r && r();});- US(() => {+ WS(() => {if (t.current) {let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;o.current = new IntersectionObserver(s, {- root: VT(t?.current),+ root: UT(t?.current),rootMargin: n}), o.current.observe(t.current);}@@ -39406,7 +39406,7 @@ var yz = /*#__PURE__*/ (0, F.createContext)(null), bz = /*#__PURE__*/ (0, F.creastate: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ F.createElement(mw, { content: /*#__PURE__*/ F.createElement(xw, e) }, (n) => /*#__PURE__*/ F.createElement(zpe, {+ }) : /*#__PURE__*/ F.createElement(gw, { content: /*#__PURE__*/ F.createElement(Cw, e) }, (n) => /*#__PURE__*/ F.createElement(zpe, {props: e,listBoxRef: t,collection: n@@ -39431,10 +39431,10 @@ function zpe({ props: e, listBoxRef: t, collection: n }) {}function xz({ state: e, props: t, listBoxRef: n }) {[t, n] = BL(t, n, GL);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Lpe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Uw(), { disabledBehavior: p, disabledKeys: m } = l, h = AD({+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Lpe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Gw(), { disabledBehavior: p, disabledKeys: m } = l, h = MD({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(XL), b = (0, F.useMemo)(() => t.keyboardDelegate || new ME({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(XL), b = (0, F.useMemo)(() => t.keyboardDelegate || new PE({collection: c,collator: h,ref: n,@@ -39455,7 +39455,7 @@ function xz({ state: e, props: t, listBoxRef: n }) {t.keyboardDelegate,i,_- ]), { listBoxProps: x } = Mse({+ ]), { listBoxProps: x } = Ase({...t,shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,keyboardDelegate: b,@@ -39487,7 +39487,7 @@ function xz({ state: e, props: t, listBoxRef: n }) {dropTargetDelegate: e}, C, n), T = C.isDropTarget({ type: "root" });}- let { focusProps: O, isFocused: k, isFocusVisible: A } = LD(), j = s.collection.size === 0, M = {+ let { focusProps: O, isFocused: k, isFocusVisible: A } = zD(), j = s.collection.size === 0, M = {isDropTarget: T,isEmpty: j,isFocused: k,@@ -39505,8 +39505,8 @@ function xz({ state: e, props: t, listBoxRef: n }) {role: "option",style: { display: "contents" }}, t.renderEmptyState(M)));- let te = Zw(t, { global: !0 });- return /*#__PURE__*/ F.createElement(xT, null, /*#__PURE__*/ F.createElement(WL.div, {+ let te = $w(t, { global: !0 });+ return /*#__PURE__*/ F.createElement(CT, null, /*#__PURE__*/ F.createElement(WL.div, {...K(te, ee, x, O, w?.collectionProps),ref: n,slot: t.slot || void 0,@@ -39539,7 +39539,7 @@ function xz({ state: e, props: t, listBoxRef: n }) {}))), N, E));}function Bpe(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, F.useContext)(bz), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)($R), { CollectionBranch: s } = (0, F.useContext)(XL), [c, l] = VL(), { headingProps: u, groupProps: d } = Nse({+ let i = (0, F.useContext)(bz), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)($R), { CollectionBranch: s } = (0, F.useContext)(XL), [c, l] = VL(), { headingProps: u, groupProps: d } = jse({heading: l,"aria-label": e["aria-label"] ?? void 0}), f = RL({@@ -39548,7 +39548,7 @@ function Bpe(e, t, n, r = "react-aria-ListBoxSection") {children: void 0,defaultClassName: r,values: void 0- }), p = Zw(e, { global: !0 });+ }), p = $w(e, { global: !0 });return delete p.id, /*#__PURE__*/ F.createElement(WL.section, {...K(p, f, d),ref: t@@ -39561,16 +39561,16 @@ function Bpe(e, t, n, r = "react-aria-ListBoxSection") {renderDropIndicator: tz(a, o)})));}-var Vpe = /*#__PURE__*/ _w(bS, function(e, t, n) {- let r = iw(t), i = (0, F.useContext)(bz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)($R), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Pse({+var Vpe = /*#__PURE__*/ yw(xS, function(e, t, n) {+ let r = ow(t), i = (0, F.useContext)(bz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)($R), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Mse({key: n.key,"aria-label": e?.["aria-label"]- }, i, r), { hoverProps: p, isHovered: m } = VD({+ }, i, r), { hoverProps: p, isHovered: m } = UD({isDisabled: !f.allowsSelection && !f.hasAction && !c,onHoverStart: n.props.onHoverStart,onHoverChange: n.props.onHoverChange,onHoverEnd: n.props.onHoverEnd- }), { keyboardProps: h } = rw(e), { focusProps: g } = $C(e), _ = null;+ }), { keyboardProps: h } = aw(e), { focusProps: g } = tw(e), _ = null;o && a && (_ = a.useDraggableItem({key: n.key,hasAction: f.hasAction@@ -39599,7 +39599,7 @@ var Vpe = /*#__PURE__*/ _w(bS, function(e, t, n) {(0, F.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? WL.a : WL.div, S = Zw(e, { global: !0 });+ let x = e.href ? WL.a : WL.div, S = $w(e, { global: !0 });return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ F.createElement(x, {...K(S, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,@@ -39620,7 +39620,7 @@ var Vpe = /*#__PURE__*/ _w(bS, function(e, t, n) {} }], [az, { isSelected: f.isSelected }]] }, b.children));});function Hpe(e, t) {- t = iw(t);+ t = ow(t);let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)($R), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);return a ? null : /*#__PURE__*/ F.createElement(Wpe, {...e,@@ -39644,7 +39644,7 @@ function Upe(e, t) {}));}var Wpe = /*#__PURE__*/ (0, F.forwardRef)(Upe);-_w(yS, function(e, t, n) {+yw(bS, function(e, t, n) {let r = (0, F.useContext)(bz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);vz((0, F.useMemo)(() => ({onLoadMore: a,@@ -39679,7 +39679,7 @@ _w(yS, function(e, t, n) {width: 1}})), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(WL.div, {- ...K(Zw(e, { global: !0 }), { tabIndex: -1 }),+ ...K($w(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",ref: t@@ -39689,7 +39689,7 @@ _w(yS, function(e, t, n) {var Gpe = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });// node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjsfunction Sz(e) {- let [t, n] = lE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);+ let [t, n] = dE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);return {isOpen: t,setOpen: n,@@ -39709,9 +39709,9 @@ function Sz(e) {// node_modules/react-aria/dist/private/utils/animation.mjsfunction Cz(e, t = !0, n) {let [r, i] = (0, F.useState)(!0), a = r && t;- return US(() => {- if (!t && e.current) return UC(MS(e.current, "opacity", "0"), MS(e.current, "clip", "rect(0 0 0 0)"), MS(e.current, "clip-path", "inset(50%)"), MS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));- }, [e, t]), US(() => {+ return WS(() => {+ if (!t && e.current) return GC(NS(e.current, "opacity", "0"), NS(e.current, "clip", "rect(0 0 0 0)"), NS(e.current, "clip-path", "inset(50%)"), NS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));+ }, [e, t]), WS(() => {if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();}, [e, a]), Tz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;}@@ -39730,8 +39730,8 @@ function wz(e, t, n) {}, [])), a;}function Tz(e, t, n, r) {- let i = (0, F.useRef)(null), a = Fw(n);- US(() => {+ let i = (0, F.useRef)(null), a = Lw(n);+ WS(() => {if (t && e.current && i.current !== t) {if (i.current = t, !("getAnimations" in e.current)) {r();@@ -39758,7 +39758,7 @@ function Tz(e, t, n, r) {// node_modules/react-aria-components/dist/private/Popover.mjsvar Ez = /*#__PURE__*/ (0, F.createContext)(null), Dz = /*#__PURE__*/ (0, F.createContext)(null), Oz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {[e, t] = BL(e, t, Ez);- let n = (0, F.useContext)(Bz), r = Sz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = wz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = uw(), { direction: c } = Uw();+ let n = (0, F.useContext)(Bz), r = Sz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = wz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = fw(), { direction: c } = Gw();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -39779,7 +39779,7 @@ var Ez = /*#__PURE__*/ (0, F.createContext)(null), Dz = /*#__PURE__*/ (0, F.crea});});function Kpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(Dz), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = oce({+ let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(Dz), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = ice({...i,offset: i.offset ?? 8,arrowRef: a,@@ -39794,10 +39794,10 @@ function Kpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContextisExiting: t}}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, F.useState)(i.trigger === "PreviewTrigger");- US(() => {+ WS(() => {g.current && S(b && !g.current.querySelector("[role=dialog]"));}, [g, b]), (0, F.useEffect)(() => {- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || jC() !== "pointer") && g.current && !LS(g.current) && HC(g.current);+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || NC() !== "pointer") && g.current && !RS(g.current) && WC(g.current);}, [x,g,@@ -39810,7 +39810,7 @@ function Kpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}, [y.children, r]), [w, T] = (0, F.useState)(null), E = (0, F.useCallback)(() => {i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");}, [i.triggerRef]);- US(E, [E]), zO({+ WS(E, [E]), VO({ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,onResize: E});@@ -39820,9 +39820,9 @@ function Kpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext...y.style,"--trigger-width": y.style?.["--trigger-width"] || w};- US(() => Ok(() => u(!0)), []);+ WS(() => Ak(() => u(!0)), []);let O = /*#__PURE__*/ F.createElement(WL.div, {- ...K(Zw(i, { global: !0 }), d),+ ...K($w(i, { global: !0 }), d),...y,id: x ? i.id : void 0,role: x ? "dialog" : void 0,@@ -39837,17 +39837,17 @@ function Kpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": m,"data-entering": v || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ F.createElement(xk, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(Gpe.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ F.createElement(Ck, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(Gpe.Provider, { value: {...p,placement: m,ref: a- } }, C), /*#__PURE__*/ F.createElement(xk, { onDismiss: e.close }));- return c ? /*#__PURE__*/ F.createElement(FD, {+ } }, C), /*#__PURE__*/ F.createElement(Ck, { onDismiss: e.close }));+ return c ? /*#__PURE__*/ F.createElement(LD, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,portalContainer: n ?? s?.current ?? void 0- }, O) : /*#__PURE__*/ F.createElement(FD, {+ }, O) : /*#__PURE__*/ F.createElement(LD, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,@@ -39937,7 +39937,7 @@ var Jpe = class {};// node_modules/react-stately/dist/private/tree/useTreeState.mjsfunction Az(e) {- let { onExpandedChange: t } = e, [n, r] = lE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = uz(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = hz(e, (0, F.useCallback)((e) => new Jpe(e, { expandedKeys: n }), [n]), null);+ let { onExpandedChange: t } = e, [n, r] = dE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = uz(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = hz(e, (0, F.useCallback)((e) => new Jpe(e, { expandedKeys: n }), [n]), null);return (0, F.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -39958,11 +39958,11 @@ function Ype(e, t) {// node_modules/react-aria-components/dist/private/Menu.mjsvar jz = /*#__PURE__*/ (0, F.createContext)(null), Mz = /*#__PURE__*/ (0, F.createContext)(null), Nz = /*#__PURE__*/ (0, F.createContext)(null), Pz = /*#__PURE__*/ (0, F.createContext)(null);function Xpe(e) {- let t = kz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = gD({+ let t = kz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = vD({...e,type: "menu"}, t, n), a = (0, F.useRef)(null);- return uw() ? null : /*#__PURE__*/ F.createElement(LL, { values: [+ return fw() ? null : /*#__PURE__*/ F.createElement(LL, { values: [[jz, {...i,ref: a@@ -39977,14 +39977,14 @@ function Xpe(e) {"aria-labelledby": i["aria-labelledby"],offset: e.trigger === "contextMenu" ? 0 : void 0}]- ] }, /*#__PURE__*/ F.createElement(_se, {+ ] }, /*#__PURE__*/ F.createElement(hse, {...r,ref: n,isPressed: t.isOpen}, e.children));}var Zpe = /*#__PURE__*/ (0, F.createContext)(null);-(class extends _S {+(class extends vS {static {this.type = "submenutrigger";}@@ -39998,7 +39998,7 @@ var Zpe = /*#__PURE__*/ (0, F.createContext)(null);}});var Qpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- return [e, t] = BL(e, t, jz), /*#__PURE__*/ F.createElement(mw, { content: /*#__PURE__*/ F.createElement(xw, e) }, (n) => /*#__PURE__*/ F.createElement($pe, {+ return [e, t] = BL(e, t, jz), /*#__PURE__*/ F.createElement(gw, { content: /*#__PURE__*/ F.createElement(Cw, e) }, (n) => /*#__PURE__*/ F.createElement($pe, {props: e,collection: n,menuRef: t@@ -40010,7 +40010,7 @@ function $pe({ props: e, collection: t, menuRef: n }) {...e,collection: a,children: void 0- }), s = (0, F.useContext)(Nz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(XL), { menuProps: u } = Fse({+ }), s = (0, F.useContext)(Nz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(XL), { menuProps: u } = Nse({...e,isVirtualized: c,onClose: e.onClose || s?.close@@ -40024,8 +40024,8 @@ function $pe({ props: e, collection: t, menuRef: n }) {role: "menuitem",style: { display: "contents" }}, e.renderEmptyState()));- let p = Zw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(xT, null, /*#__PURE__*/ F.createElement(WL.div, {+ let p = $w(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(CT, null, /*#__PURE__*/ F.createElement(WL.div, {...K(p, d, u),ref: n,slot: e.slot || void 0,@@ -40074,7 +40074,7 @@ var eme = class extends fz {}};function Fz(e, t, n, r = "react-aria-MenuSection") {- let i = (0, F.useContext)(Mz), { CollectionBranch: a } = (0, F.useContext)(XL), [o, s] = VL(), { headingProps: c, groupProps: l } = Lse({+ let i = (0, F.useContext)(Mz), { CollectionBranch: a } = (0, F.useContext)(XL), [o, s] = VL(), { headingProps: c, groupProps: l } = Fse({heading: s,"aria-label": n.props["aria-label"] ?? void 0}), u = RL({@@ -40085,7 +40085,7 @@ function Fz(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, F.useContext)(Pz), f = uz(e), p = e.selectionMode == null ? d : new eme(d, f), m = zL(Lz)?.shouldCloseOnSelect, h = Zw(e, { global: !0 });+ }), d = (0, F.useContext)(Pz), f = uz(e), p = e.selectionMode == null ? d : new eme(d, f), m = zL(Lz)?.shouldCloseOnSelect, h = $w(e, { global: !0 });return delete h.id, /*#__PURE__*/ F.createElement(WL.section, {...K(h, u, l),ref: t@@ -40101,15 +40101,15 @@ function Fz(e, t, n, r = "react-aria-MenuSection") {parent: n})));}-var Iz = /*#__PURE__*/ vw($ie, Fz), Lz = /*#__PURE__*/ (0, F.createContext)(null), Rz = /*#__PURE__*/ _w(bS, function(e, t, n) {+var Iz = /*#__PURE__*/ bw(Qie, Fz), Lz = /*#__PURE__*/ (0, F.createContext)(null), Rz = /*#__PURE__*/ yw(xS, function(e, t, n) {[e, t] = BL(e, t, Lz);- let r = zL(Lz)?.id, i = (0, F.useContext)(Mz), a = iw(t), o = (0, F.useContext)(Pz), { isVirtualized: s } = (0, F.useContext)(XL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Ise({+ let r = zL(Lz)?.id, i = (0, F.useContext)(Mz), a = ow(t), o = (0, F.useContext)(Pz), { isVirtualized: s } = (0, F.useContext)(XL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Pse({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = VD({ isDisabled: f.isDisabled }), h = RL({+ }, i, a), { hoverProps: p, isHovered: m } = UD({ isDisabled: f.isDisabled }), h = RL({...e,id: void 0,children: n.rendered,@@ -40123,7 +40123,7 @@ var Iz = /*#__PURE__*/ vw($ie, Fz), Lz = /*#__PURE__*/ (0, F.createContext)(nullhasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? WL.a : WL.div, _ = Zw(e, { global: !0 });+ }), g = e.href ? WL.a : WL.div, _ = $w(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(g, {...K(_, h, c, p),ref: a,@@ -40146,7 +40146,7 @@ var Iz = /*#__PURE__*/ vw($ie, Fz), Lz = /*#__PURE__*/ (0, F.createContext)(null[az, { isSelected: f.isSelected }]] }, h.children));});-_w(yS, function(e, t, n) {+yw(bS, function(e, t, n) {let r = (0, F.useContext)(Mz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);vz((0, F.useMemo)(() => ({onLoadMore: a,@@ -40181,7 +40181,7 @@ _w(yS, function(e, t, n) {width: 1}})), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(WL.div, {- ...K(Zw(e, { global: !0 }), { tabIndex: -1 }),+ ...K($w(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",ref: t@@ -40191,7 +40191,7 @@ _w(yS, function(e, t, n) {var zz = /*#__PURE__*/ (0, F.createContext)(null), Bz = /*#__PURE__*/ (0, F.createContext)(null), Vz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let n = e["aria-labelledby"];[e, t] = BL(e, t, zz);- let { dialogProps: r, titleProps: i, contentProps: a } = yse({+ let { dialogProps: r, titleProps: i, contentProps: a } = _se({...e,"aria-labelledby": n}, t), o = (0, F.useContext)(Bz);@@ -40202,7 +40202,7 @@ var zz = /*#__PURE__*/ (0, F.createContext)(null), Bz = /*#__PURE__*/ (0, F.creastyle: e.style,children: e.children,values: { close: o?.close || (() => {}) }- }), c = Zw(e, { global: !0 });+ }), c = $w(e, { global: !0 });return /*#__PURE__*/ F.createElement(WL.section, {...K(c, s, r),render: e.render,@@ -40227,7 +40227,7 @@ var zz = /*#__PURE__*/ (0, F.createContext)(null), Bz = /*#__PURE__*/ (0, F.crea] }, s.children));}), Hz = typeof document < "u" && window.visualViewport;function tme() {- let e = hC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {+ let e = _C(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {width: 0,height: 0} : Uz());@@ -40237,15 +40237,15 @@ function tme() {}, n = () => {Hz && Hz.scale > 1 || e(Uz());}, i = (n) => {- Hz && Hz.scale > 1 || Mw(G(n)) && (t.current = Ok((t) => {+ Hz && Hz.scale > 1 || Pw(G(n)) && (t.current = Ak((t) => {t || e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(Uz()), $S() && eC() && window.addEventListener("blur", i, !0), Hz ? Hz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {- t.current?.(), $S() && eC() && window.removeEventListener("blur", i, !0), Hz ? Hz.removeEventListener("resize", n) : window.removeEventListener("resize", n);+ return e(Uz()), eC() && tC() && window.addEventListener("blur", i, !0), Hz ? Hz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {+ t.current?.(), eC() && tC() && window.removeEventListener("blur", i, !0), Hz ? Hz.removeEventListener("resize", n) : window.removeEventListener("resize", n);};}, []), n;}@@ -40279,7 +40279,7 @@ var nme = /*#__PURE__*/ (0, F.createContext)(null), Wz = /*#__PURE__*/ (0, F.cre});function ime(e, t) {[e, t] = BL(e, t, nme);- let n = (0, F.useContext)(Bz), r = Sz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = iw(t), o = (0, F.useRef)(null), s = wz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = wz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = hC();+ let n = (0, F.useContext)(Bz), r = Sz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ow(t), o = (0, F.useRef)(null), s = wz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = wz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = _C();return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(ame, {...e,state: i,@@ -40291,7 +40291,7 @@ function ime(e, t) {}var Gz = /*#__PURE__*/ (0, F.forwardRef)(ime);function ame({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {- let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = Cz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Jse({+ let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = Cz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Kse({...n,isEntering: c}, i, r), d = (0, F.useContext)(zz), f = t ? ome(d, { isEntering: c }) : d, p = RL({@@ -40304,7 +40304,7 @@ function ame({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n}}), m = tme(), h, g;if (typeof document < "u") {- let e = BT(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;+ let e = HT(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;h = e.scrollWidth - t, g = e.scrollHeight - n;}let _ = {@@ -40314,11 +40314,11 @@ function ame({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n"--page-width": h === void 0 ? void 0 : h + "px","--page-height": g === void 0 ? void 0 : g + "px"};- return US(() => Ok(() => o(!0)), []), /*#__PURE__*/ F.createElement(FD, {+ return WS(() => Ak(() => o(!0)), []), /*#__PURE__*/ F.createElement(LD, {isExiting: n.isExiting,portalContainer: e}, /*#__PURE__*/ F.createElement(WL.div, {- ...K(Zw(n, { global: !0 }), u),+ ...K($w(n, { global: !0 }), u),...p,style: _,ref: n.overlayRef,@@ -40355,7 +40355,7 @@ function ome(e, t) {};}function Kz(e) {- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(Wz), s = (0, F.useContext)(Bz), c = iw((0, F.useMemo)(() => YC(e.modalRef, n), [e.modalRef, n])), l = Cz(c, o, e.onEnter), u = RL({+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(Wz), s = (0, F.useContext)(Bz), c = ow((0, F.useMemo)(() => ZC(e.modalRef, n), [e.modalRef, n])), l = Cz(c, o, e.onEnter), u = RL({...e,defaultClassName: "react-aria-Modal",values: {@@ -40364,20 +40364,20 @@ function Kz(e) {state: s}});- return US(() => {+ return WS(() => {i && (i.current = e.onExit);}), /*#__PURE__*/ F.createElement(WL.div, {- ...K(Zw(e, { global: !0 }), t),+ ...K($w(e, { global: !0 }), t),...u,ref: c,"data-entering": l || void 0,"data-exiting": r || void 0- }, a && /*#__PURE__*/ F.createElement(xk, { onDismiss: s.close }), u.children);+ }, a && /*#__PURE__*/ F.createElement(Ck, { onDismiss: s.close }), u.children);}// node_modules/react-stately/dist/private/radio/useRadioGroupState.mjsvar sme = Math.round(Math.random() * 1e10), cme = 0;function lme(e) {- let t = (0, F.useMemo)(() => e.name || `radio-group-${sme}-${++cme}`, [e.name]), [n, r] = lE(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = eE({+ let t = (0, F.useMemo)(() => e.name || `radio-group-${sme}-${++cme}`, [e.name]), [n, r] = dE(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = nE({...e,value: n}), c = (t) => {@@ -40404,7 +40404,7 @@ var ume = /*#__PURE__*/ (0, F.createContext)(null), dme = /*#__PURE__*/ (0, F.crlet { validationBehavior: n } = zL(oR) || {}, r = e.validationBehavior ?? n ?? "native", i = lme({...e,validationBehavior: r- }), [a, o] = VL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = cce({+ }), [a, o] = VL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = oce({...e,label: o,validationBehavior: r@@ -40419,7 +40419,7 @@ var ume = /*#__PURE__*/ (0, F.createContext)(null), dme = /*#__PURE__*/ (0, F.crstate: i},defaultClassName: "react-aria-RadioGroup"- }), p = Zw(e, { global: !0 });+ }), p = $w(e, { global: !0 });return /*#__PURE__*/ F.createElement(WL.div, {...K(p, f, s),ref: t,@@ -40445,7 +40445,7 @@ var ume = /*#__PURE__*/ (0, F.createContext)(null), dme = /*#__PURE__*/ (0, F.cr}), Yz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;[e, t] = BL(r, t, dme);- let i = F.useContext(qz), a = iw((0, F.useMemo)(() => YC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = sce({+ let i = F.useContext(qz), a = ow((0, F.useMemo)(() => ZC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = ace({...HL(e),children: typeof e.children == "function" || e.children}, i, a);@@ -40458,7 +40458,7 @@ var ume = /*#__PURE__*/ (0, F.createContext)(null), dme = /*#__PURE__*/ (0, F.crref: t}));}), Xz = /*#__PURE__*/ (0, F.createContext)(null), fme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(Xz), l = F.useContext(qz), { isFocused: u, isFocusVisible: d, focusProps: f } = LD(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = VD({+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(Xz), l = F.useContext(qz), { isFocused: u, isFocusVisible: d, focusProps: f } = zD(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = UD({...e,isDisabled: p}), g = RL({@@ -40475,7 +40475,7 @@ var ume = /*#__PURE__*/ (0, F.createContext)(null), dme = /*#__PURE__*/ (0, F.crisInvalid: l.isInvalid,isRequired: l.isRequired}- }), _ = Zw(e, { global: !0 });+ }), _ = $w(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(WL.label, {...K(_, n, m, g),ref: t,@@ -40488,7 +40488,7 @@ var ume = /*#__PURE__*/ (0, F.createContext)(null), dme = /*#__PURE__*/ (0, F.cr"data-readonly": l.isReadOnly || void 0,"data-invalid": l.isInvalid || void 0,"data-required": l.isRequired || void 0- }, /*#__PURE__*/ F.createElement(yE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {+ }, /*#__PURE__*/ F.createElement(xE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {...K(r, f),ref: c})), g.children);@@ -40499,7 +40499,7 @@ function pme(e) {e.defaultValue,e.defaultSelectedKey,t- ]), [s, c] = lE((0, F.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [+ ]), [s, c] = dE((0, F.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [e.value,e.selectedKey,t@@ -40526,7 +40526,7 @@ function pme(e) {n && r.close(), m.commitValidation();}}- }), f = d.selectionManager.firstSelectedKey, p = (0, F.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = eE({+ }), f = d.selectionManager.firstSelectedKey, p = (0, F.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = nE({...e,value: Array.isArray(l) && l.length === 0 ? null : l}), [h, g] = (0, F.useState)(!1), [_] = (0, F.useState)(l);@@ -40560,7 +40560,7 @@ function mme(e) {function hme(e) {return e && e.__esModule ? e.default : e;}-var Zz = /*#__PURE__*/ (0, F.createContext)(null), Qz = /*#__PURE__*/ (0, F.createContext)(null), gme = /*#__PURE__*/ lw(function(e, t) {+var Zz = /*#__PURE__*/ (0, F.createContext)(null), Qz = /*#__PURE__*/ (0, F.createContext)(null), gme = /*#__PURE__*/ dw(function(e, t) {[e, t] = BL(e, t, Zz);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, F.useMemo)(() => typeof n == "function" ? n({isOpen: !1,@@ -40576,7 +40576,7 @@ var Zz = /*#__PURE__*/ (0, F.createContext)(null), Qz = /*#__PURE__*/ (0, F.creai,a]);- return /*#__PURE__*/ F.createElement(mw, { content: o }, (n) => /*#__PURE__*/ F.createElement(vme, {+ return /*#__PURE__*/ F.createElement(gw, { content: o }, (n) => /*#__PURE__*/ F.createElement(vme, {props: e,collection: n,selectRef: t@@ -40592,7 +40592,7 @@ function vme({ props: e, selectRef: t, collection: n }) {collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = LD({ within: !0 }), c = (0, F.useRef)(null), [l, u] = VL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = lce({+ }), { isFocusVisible: o, focusProps: s } = zD({ within: !0 }), c = (0, F.useRef)(null), [l, u] = VL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = sce({...HL(e),label: u,validationBehavior: i@@ -40614,7 +40614,7 @@ function vme({ props: e, selectRef: t, collection: n }) {...e,values: y,defaultClassName: "react-aria-Select"- }), x = Zw(e, { global: !0 });+ }), x = $w(e, { global: !0 });delete x.id;let S = (0, F.useRef)(null);return /*#__PURE__*/ F.createElement(LL, { values: [@@ -40661,12 +40661,12 @@ function vme({ props: e, selectRef: t, collection: n }) {"data-disabled": e.isDisabled || void 0,"data-invalid": v.isInvalid || void 0,"data-required": e.isRequired || void 0- }, b.children, /*#__PURE__*/ F.createElement(dce, {+ }, b.children, /*#__PURE__*/ F.createElement(lce, {..._,autoComplete: e.autoComplete})));}-for (var $z = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(function(e, t) {+for (var $z = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ dw(function(e, t) {[e, t] = BL(e, t, $z);let n = (0, F.useContext)(Qz), { placeholder: r } = zL(Zz), i = n.selectedItems.map((e) => {let t = e.props?.children;@@ -40680,7 +40680,7 @@ for (var $z = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(fselectionMode: "single",selectionBehavior: "toggle"})), t;- }), a = bse(), o = (0, F.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, F.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [+ }), a = vse(), o = (0, F.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, F.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [s,a,o@@ -40695,7 +40695,7 @@ for (var $z = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(fa,o,i- ]), u = Yw(hme(QR), "react-aria-components"), d = RL({+ ]), u = Zw(hme(QR), "react-aria-components"), d = RL({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -40706,7 +40706,7 @@ for (var $z = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(fisPlaceholder: n.selectedItems.length === 0,state: n}- }), f = Zw(e, { global: !0 });+ }), f = $w(e, { global: !0 });return /*#__PURE__*/ F.createElement(WL.span, {ref: t,...f,@@ -40716,7 +40716,7 @@ for (var $z = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(f}), bme = /*#__PURE__*/ (0, F.createContext)(null), eB = /*#__PURE__*/ (0, F.createContext)(null), xme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;[e, t] = BL(r, t, bme);- let i = iw((0, F.useMemo)(() => YC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = uE(e), o = pce({+ let i = ow((0, F.useMemo)(() => ZC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = fE(e), o = dce({...HL(e),children: typeof e.children == "function" || e.children}, a, i);@@ -40729,7 +40729,7 @@ for (var $z = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(fref: t}));}), tB = /*#__PURE__*/ (0, F.createContext)(null), Sme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, F.useContext)(tB), { isFocused: f, isFocusVisible: p, focusProps: m } = LD(), h = a || o, g = (0, F.useContext)(eB), { hoverProps: _, isHovered: v } = VD({+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, F.useContext)(tB), { isFocused: f, isFocusVisible: p, focusProps: m } = zD(), h = a || o, g = (0, F.useContext)(eB), { hoverProps: _, isHovered: v } = UD({...e,isDisabled: h}), y = RL({@@ -40747,7 +40747,7 @@ for (var $z = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(fisRequired: d || !1,state: g}- }), b = Zw(e, { global: !0 });+ }), b = $w(e, { global: !0 });return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(WL.label, {...K(b, n, _, y),ref: t,@@ -40761,7 +40761,7 @@ for (var $z = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(f"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": d || void 0- }, /*#__PURE__*/ F.createElement(yE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {+ }, /*#__PURE__*/ F.createElement(xE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {...K(r, m),ref: l})), y.children);@@ -41102,10 +41102,10 @@ var wme = class extends Cme {return this.keyMap.get(e)?.nextKey ?? null;}getFirstKey() {- return SD(this.body.childNodes)?.key ?? null;+ return wD(this.body.childNodes)?.key ?? null;}getLastKey() {- return wD(this.body.childNodes)?.key ?? null;+ return ED(this.body.childNodes)?.key ?? null;}getItem(e) {return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;@@ -41310,8 +41310,8 @@ function jme(e) {if (n === "cell" && e != null) {let n = t.getItem(e);if (n?.type === "item") {- let i = xD(n, t);- e = r === "last" ? wD(i)?.key ?? null : SD(i)?.key ?? null;+ let i = CD(n, t);+ e = r === "last" ? ED(i)?.key ?? null : wD(i)?.key ?? null;}}a(e, r);@@ -41336,7 +41336,7 @@ function jme(e) {}}if (u) {- let i = u.hasChildNodes ? [...xD(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;+ let i = u.hasChildNodes ? [...CD(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;r.setFocusedKey(a);} else r.setFocusedKey(null);}@@ -41373,7 +41373,7 @@ function Nme(e) {...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"- }), [d, f] = lE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ }), [d, f] = dE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);return {collection: c,disabledKeys: l,@@ -41410,7 +41410,7 @@ function Pme(e, t) {function Fme(e) {return e && e.__esModule ? e.default : e;}-var Ime = class extends xS {+var Ime = class extends SS {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -41535,18 +41535,18 @@ var Ime = class extends xS {super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new hB(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}}, dB = /*#__PURE__*/ (0, F.createContext)(null), Lme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let n = iw(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);- US(() => {+ let n = ow(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);+ WS(() => {let e = r.current;- for (; e && e !== n.current && !BT(e);) e = e.parentElement;+ for (; e && e !== n.current && !HT(e);) e = e.parentElement;i.current = e;- }, [n]), zO({+ }, [n]), VO({ref: i,box: "border-box",onResize() {o(i.current?.clientWidth ?? 0);}- }), US(() => {+ }), WS(() => {o(i.current?.clientWidth ?? 0);}, []);let s = (0, F.useMemo)(() => ({@@ -41566,7 +41566,7 @@ var Ime = class extends xS {]);return /*#__PURE__*/ F.createElement(WL.div, {render: e.render,- ...Zw(e, { global: !0 }),+ ...$w(e, { global: !0 }),ref: n,className: e.className || "react-aria-ResizableTableContainer",style: e.style,@@ -41584,8 +41584,8 @@ var Ime = class extends xS {i,a,o- ]), c = /*#__PURE__*/ F.createElement(Hme.Provider, { value: s }, /*#__PURE__*/ F.createElement(xw, e));- return /*#__PURE__*/ F.createElement(mw, {+ ]), c = /*#__PURE__*/ F.createElement(Hme.Provider, { value: s }, /*#__PURE__*/ F.createElement(Cw, e));+ return /*#__PURE__*/ F.createElement(gw, {content: c,createCollection: () => new Ime()}, (r) => /*#__PURE__*/ F.createElement(Vme, {@@ -41616,8 +41616,8 @@ var Ime = class extends xS {function Vme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {[e, t] = BL(e, t, GL);let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(dB);- t = iw((0, F.useMemo)(() => YC(t, c?.tableRef), [t, c?.tableRef]));- let [l, u] = lE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ t = ow((0, F.useMemo)(() => ZC(t, c?.tableRef), [t, c?.tableRef]));+ let [l, u] = dE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, F.useMemo)(() => r.withExpandedKeys(l), [r, l]);let d = Nme({...s,@@ -41626,13 +41626,13 @@ function Vme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = Pme(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(XL), { dragAndDropHooks: _ } = e, { gridProps: v } = vce({+ }), f = Pme(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(XL), { dragAndDropHooks: _ } = e, { gridProps: v } = gce({...s,layoutDelegate: m,isVirtualized: p}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;(0, F.useRef)(b), (0, F.useRef)(x), (0, F.useEffect)(() => {}, [b, x]);- let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Uw(), [k] = (0, F.useState)(() => new iB());+ let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Gw(), [k] = (0, F.useState)(() => new iB());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -41647,7 +41647,7 @@ function Vme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {collection: f.collection,selectionManager: y});- let e = new ME({+ let e = new PE({collection: f.collection,disabledKeys: y.disabledKeys,disabledBehavior: y.disabledBehavior,@@ -41672,7 +41672,7 @@ function Vme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {}}, C, t), T = C.isDropTarget({ type: "root" });}- let { focusProps: A, isFocused: j, isFocusVisible: M } = LD(), ee = RL({+ let { focusProps: A, isFocused: j, isFocusVisible: M } = zD(), ee = RL({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -41688,7 +41688,7 @@ function Vme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {tableLayout: "fixed",width: "min-content"}));- let ne = Zw(e, { global: !0 });+ let ne = $w(e, { global: !0 });return /*#__PURE__*/ F.createElement(LL, { values: [[fB, f],[pB, P],@@ -41700,7 +41700,7 @@ function Vme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {[ez, { render: Qme }],[GL, null],[KL, null]- ] }, /*#__PURE__*/ F.createElement(xT, null, /*#__PURE__*/ F.createElement(Bme, {+ ] }, /*#__PURE__*/ F.createElement(CT, null, /*#__PURE__*/ F.createElement(Bme, {...K(ne, ee, v, A, w?.collectionProps),style: te,ref: t,@@ -41716,7 +41716,7 @@ function Vme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {persistedKeys: nz(y, _, C)})))), E);}-var Hme = /*#__PURE__*/ (0, F.createContext)(null), hB = class extends _S {+var Hme = /*#__PURE__*/ (0, F.createContext)(null), hB = class extends vS {static {this.type = "tableheader";}@@ -41729,8 +41729,8 @@ var Hme = /*#__PURE__*/ (0, F.createContext)(null), hB = class extends _S {...e,ref: t});-}), gB = /*#__PURE__*/ vw(hB, (e, t) => {- let n = (0, F.useContext)(fB).collection, r = TS({+}), gB = /*#__PURE__*/ bw(hB, (e, t) => {+ let n = (0, F.useContext)(fB).collection, r = ES({items: n.headerRows,children: (0, F.useCallback)((e) => {switch (e.type) {@@ -41738,7 +41738,7 @@ var Hme = /*#__PURE__*/ (0, F.createContext)(null), hB = class extends _S {default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])- }), { rowGroupProps: i } = WA(), { hoverProps: a, isHovered: o } = VD({+ }), { rowGroupProps: i } = KA(), { hoverProps: a, isHovered: o } = UD({onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd@@ -41749,12 +41749,12 @@ var Hme = /*#__PURE__*/ (0, F.createContext)(null), hB = class extends _S {values: { isHovered: o }});return /*#__PURE__*/ F.createElement(Ume, {- ...K(Zw(e, { global: !0 }), i, a),+ ...K($w(e, { global: !0 }), i, a),...s,ref: t,"data-hovered": o || void 0}, r);-}, (e) => /*#__PURE__*/ F.createElement(xw, {+}, (e) => /*#__PURE__*/ F.createElement(Cw, {dependencies: e.dependencies,items: e.columns}, e.children)), Wme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {@@ -41768,10 +41768,10 @@ var Hme = /*#__PURE__*/ (0, F.createContext)(null), hB = class extends _S {});});function Gme({ item: e }) {- let t = (0, F.useRef)(null), n = (0, F.useContext)(fB), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(XL), { rowProps: a } = wce({+ let t = (0, F.useRef)(null), n = (0, F.useContext)(fB), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(XL), { rowProps: a } = Sce({node: e,isVirtualized: r- }, n, t), { checkboxProps: o } = jce(n);+ }, n, t), { checkboxProps: o } = kce(n);return /*#__PURE__*/ F.createElement(Wme, {...a,ref: t@@ -41780,7 +41780,7 @@ function Gme({ item: e }) {parent: e})));}-var Kme = class extends _S {+var Kme = class extends vS {static {this.type = "column";}@@ -41793,15 +41793,15 @@ var Kme = class extends _S {...e,ref: t});-}), _B = /*#__PURE__*/ _w(Kme, (e, t, n) => {- let r = iw(t), i = (0, F.useContext)(fB), { isVirtualized: a } = (0, F.useContext)(XL), { columnHeaderProps: o, isPressed: s } = xce({+}), _B = /*#__PURE__*/ yw(Kme, (e, t, n) => {+ let r = ow(t), i = (0, F.useContext)(fB), { isVirtualized: a } = (0, F.useContext)(XL), { columnHeaderProps: o, isPressed: s } = yce({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = LD(), d = (0, F.useContext)(pB), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = zD(), d = (0, F.useContext)(pB), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = VD({ isDisabled: !e.allowsSorting }), h = RL({+ let { hoverProps: p, isHovered: m } = UD({ isDisabled: !e.allowsSorting }), h = RL({...e,id: void 0,children: n.rendered,@@ -41827,7 +41827,7 @@ var Kme = class extends _S {...g,width: d.getColumnWidth(n.key)});- let _ = Zw(e, { global: !0 });+ let _ = $w(e, { global: !0 });return delete _.id, /*#__PURE__*/ F.createElement(qme, {...K(_, o, u, p),...h,@@ -41847,16 +41847,16 @@ var Kme = class extends _S {}), vB = /*#__PURE__*/ (0, F.createContext)(null), Jme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let n = (0, F.useContext)(pB);if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");- let r = Yw(Fme(QR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(dB), { column: s, triggerRef: c } = (0, F.useContext)(vB), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Cce({+ let r = Zw(Fme(QR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(dB), { column: s, triggerRef: c } = (0, F.useContext)(vB), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = xce({column: s,"aria-label": e["aria-label"] || r.format("tableResizer"),onResizeStart: i,onResize: a,onResizeEnd: o,triggerRef: c- }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = LD(), { hoverProps: _, isHovered: v } = VD(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Uw(), S = "both";+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = zD(), { hoverProps: _, isHovered: v } = UD(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Gw(), S = "both";S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";- let C = iw(t), [w, T] = (0, F.useState)("");+ let C = ow(t), [w, T] = (0, F.useState)("");(0, F.useEffect)(() => {if (!C.current) return;let e = window.getComputedStyle(C.current);@@ -41872,7 +41872,7 @@ var Kme = class extends _S {isHovered: v,resizableDirection: S}- }), D = Zw(e, { global: !0 });+ }), D = $w(e, { global: !0 });return /*#__PURE__*/ F.createElement(WL.div, {ref: C,role: "presentation",@@ -41896,7 +41896,7 @@ var Kme = class extends _S {},"data-testid": "cursor-overlay"}), document.body));-}), yB = class extends vS {+}), yB = class extends yS {static {this.type = "tablebody";}@@ -41909,7 +41909,7 @@ var Kme = class extends _S {...e,ref: t});-}), bB = /*#__PURE__*/ vw(yB, (e, t, n) => {+}), bB = /*#__PURE__*/ bw(yB, (e, t, n) => {let r = (0, F.useContext)(fB), { isVirtualized: i } = (0, F.useContext)(XL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(XL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)($R), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d@@ -41932,7 +41932,7 @@ var Kme = class extends _S {style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = WA(), _ = Zw(e, { global: !0 });+ let { rowGroupProps: g } = KA(), _ = $w(e, { global: !0 });return /*#__PURE__*/ F.createElement(Yme, {...K(_, p, g),ref: t,@@ -41943,12 +41943,12 @@ var Kme = class extends _S {renderDropIndicator: tz(s, c)}), m);});-(class extends vS {+(class extends yS {static {this.type = "tablefooter";}});-var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xme = class extends _S {+var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xme = class extends vS {static {this.type = "item";}@@ -41969,22 +41969,22 @@ var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xm...e,ref: t});-}), CB = /*#__PURE__*/ vw(Xme, (e, t, n) => {- let r = iw(t), i = (0, F.useContext)(fB), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)($R), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(XL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Dce({+}), CB = /*#__PURE__*/ bw(Xme, (e, t, n) => {+ let r = ow(t), i = (0, F.useContext)(fB), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)($R), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(XL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Tce({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = LD(), { isFocusVisible: _, focusProps: v } = LD({ within: !0 }), { hoverProps: y, isHovered: b } = VD({+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = zD(), { isFocusVisible: _, focusProps: v } = zD({ within: !0 }), { hoverProps: y, isHovered: b } = UD({isDisabled: !p.allowsSelection && !p.hasAction && !u,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { checkboxProps: x } = Ace({ key: n.key }, i), S;+ }), { checkboxProps: x } = Oce({ key: n.key }, i), S;o && a && (S = a.useDraggableItem({key: n.key,hasDragButton: !0}, o));- let C, w = (0, F.useRef)(null), { visuallyHiddenProps: T } = vE();+ let C, w = (0, F.useRef)(null), { visuallyHiddenProps: T } = bE();s && a && (C = a.useDropIndicator({ target: {type: "item",key: n.key,@@ -42015,7 +42015,7 @@ var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), XmisExpanded: j,level: n.level + 1}- }), ee = Zw(e, { global: !0 });+ }), ee = $w(e, { global: !0 });return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement(SB, {role: "row",style: { height: 0 }@@ -42071,12 +42071,12 @@ var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xm}, (e) => {if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t = [e.value].concat(e.dependencies);- return /*#__PURE__*/ F.createElement(xw, {+ return /*#__PURE__*/ F.createElement(Cw, {dependencies: t,items: e.columns,idScope: e.id}, e.children);-}), Zme = class extends _S {+}), Zme = class extends vS {static {this.type = "cell";}@@ -42089,16 +42089,16 @@ var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xm...e,ref: t});-}), TB = /*#__PURE__*/ _w(Zme, (e, t, n) => {- let r = iw(t), i = (0, F.useContext)(fB), { dragState: a } = (0, F.useContext)($R), { isVirtualized: o } = (0, F.useContext)(XL);+}), TB = /*#__PURE__*/ yw(Zme, (e, t, n) => {+ let r = ow(t), i = (0, F.useContext)(fB), { dragState: a } = (0, F.useContext)($R), { isVirtualized: o } = (0, F.useContext)(XL);n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = yce({+ let { gridCellProps: s, isPressed: c } = _ce({node: n,shouldSelectOnPressUp: !!a,isVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = LD(), { hoverProps: f, isHovered: p } = VD({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(xB), 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 = RL({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = zD(), { hoverProps: f, isHovered: p } = UD({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(xB), 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 = RL({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -42117,7 +42117,7 @@ var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xmlevel: _.level + 1,isTreeColumn: n.column.key === i.treeColumn}- }), S = Zw(e, { global: !0 });+ }), S = $w(e, { global: !0 });return delete S.id, /*#__PURE__*/ F.createElement(wB, {...K(S, x, s, d, f),ref: r,@@ -42135,7 +42135,7 @@ var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xm}, /*#__PURE__*/ F.createElement(XL.Provider, { value: JL }, x.children));});function Qme(e, t) {- t = iw(t);+ t = ow(t);let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)($R), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;@@ -42168,14 +42168,14 @@ var $me = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {});});function the(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(fB), { visuallyHiddenProps: c } = vE(), l = RL({+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(fB), { visuallyHiddenProps: c } = bE(), l = RL({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});return /*#__PURE__*/ F.createElement($me, {- ...Zw(e, { global: !0 }),+ ...$w(e, { global: !0 }),...l,role: "row",ref: t,@@ -42194,7 +42194,7 @@ function the(e, t) {}var nhe = /*#__PURE__*/ (0, F.forwardRef)(the);function rhe() {- let e = (0, F.useContext)(fB), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)($R), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = vE();+ let e = (0, F.useContext)(fB), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)($R), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = bE();return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement(SB, {role: "row","aria-hidden": i["aria-hidden"],@@ -42210,7 +42210,7 @@ function rhe() {ref: r})));}-_w(yS, function(e, t, n) {+yw(bS, function(e, t, n) {let r = (0, F.useContext)(fB), { isVirtualized: i } = (0, F.useContext)(XL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);vz((0, F.useMemo)(() => ({onLoadMore: o,@@ -42245,7 +42245,7 @@ _w(yS, function(e, t, n) {width: 1}}))), a && d.children && /*#__PURE__*/ F.createElement(SB, {- ...K(Zw(e, { global: !0 }), f),+ ...K($w(e, { global: !0 }), f),...d,role: "row",ref: t,@@ -42259,7 +42259,7 @@ _w(yS, function(e, t, n) {});// node_modules/react-stately/dist/private/list/useSingleSelectListState.mjsfunction ihe(e) {- let [t, n] = lE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = gz({+ let [t, n] = dE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = gz({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -42313,7 +42313,7 @@ var DB = /*#__PURE__*/ (0, F.createContext)(null), OB = /*#__PURE__*/ (0, F.creareturn n = (0, F.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ F.createElement(mw, { content: n }, (n) => /*#__PURE__*/ F.createElement(she, {+ }) : n, [n, r]), /*#__PURE__*/ F.createElement(gw, { content: n }, (n) => /*#__PURE__*/ F.createElement(she, {props: e,collection: n,tabsRef: t@@ -42324,7 +42324,7 @@ function she({ props: e, tabsRef: t, collection: n }) {...e,collection: n,children: void 0- }), { focusProps: a, isFocused: o, isFocusVisible: s } = LD({ within: !0 }), c = (0, F.useMemo)(() => ({+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = zD({ within: !0 }), c = (0, F.useMemo)(() => ({orientation: r,isFocusWithin: o,isFocusVisible: s@@ -42336,7 +42336,7 @@ function she({ props: e, tabsRef: t, collection: n }) {...e,defaultClassName: "react-aria-Tabs",values: c- }), u = Zw(e, { global: !0 });+ }), u = $w(e, { global: !0 });return /*#__PURE__*/ F.createElement(WL.div, {...K(u, l, a),ref: t,@@ -42351,10 +42351,10 @@ var kB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {return (0, F.useContext)(OB) ? /*#__PURE__*/ F.createElement(che, {props: e,forwardedRef: t- }) : /*#__PURE__*/ F.createElement(xw, e);+ }) : /*#__PURE__*/ F.createElement(Cw, e);});function che({ props: e, forwardedRef: t }) {- let n = (0, F.useContext)(OB), { CollectionRoot: r } = (0, F.useContext)(XL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = zL(DB), o = iw(t), { tabListProps: s } = Pce({+ let n = (0, F.useContext)(OB), { CollectionRoot: r } = (0, F.useContext)(XL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = zL(DB), o = ow(t), { tabListProps: s } = Mce({...e,orientation: i,keyboardActivation: a@@ -42366,7 +42366,7 @@ function che({ props: e, forwardedRef: t }) {orientation: i,state: n}- }), l = Zw(e, { global: !0 });+ }), l = $w(e, { global: !0 });return delete l.id, /*#__PURE__*/ F.createElement(WL.div, {...K(l, c, s),ref: o,@@ -42376,15 +42376,15 @@ function che({ props: e, forwardedRef: t }) {persistedKeys: ZL(n.selectionManager.focusedKey)})));}-var lhe = /*#__PURE__*/ _w(class extends _S {+var lhe = /*#__PURE__*/ yw(class extends vS {static {this.type = "item";}}, (e, t, n) => {- let r = (0, F.useContext)(OB), i = iw(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Mce({+ let r = (0, F.useContext)(OB), i = ow(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Ace({key: n.key,...e- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = LD(), { hoverProps: f, isHovered: p } = VD({+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = zD(), { hoverProps: f, isHovered: p } = UD({isDisabled: s,onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,@@ -42402,7 +42402,7 @@ var lhe = /*#__PURE__*/ _w(class extends _S {isPressed: c,isHovered: p}- }), h = n.props.href ? WL.a : WL.div, g = Zw(e, { global: !0 });+ }), h = n.props.href ? WL.a : WL.div, g = $w(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ F.createElement(h, {...K(g, m, a, l, f),ref: i,@@ -42413,8 +42413,8 @@ var lhe = /*#__PURE__*/ _w(class extends _S {"data-pressed": c || void 0,"data-hovered": p || void 0}, /*#__PURE__*/ F.createElement(az.Provider, { value: { isSelected: o } }, m.children));-}), uhe = /*#__PURE__*/ lw(function(e, t) {- let n = (0, F.useContext)(OB), r = iw(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);+}), uhe = /*#__PURE__*/ dw(function(e, t) {+ let n = (0, F.useContext)(OB), r = ow(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);let s = wz(r, i);return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(dhe, {@@ -42425,7 +42425,7 @@ var lhe = /*#__PURE__*/ _w(class extends _S {});});function dhe(e) {- let t = (0, F.useContext)(OB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Fce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = LD(), d = t.selectedKey === e.id, f = Cz(r) && !i, p = RL({+ let t = (0, F.useContext)(OB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Nce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = zD(), d = t.selectedKey === e.id, f = Cz(r) && !i, p = RL({...e,defaultClassName: "react-aria-TabPanel",values: {@@ -42436,7 +42436,7 @@ function dhe(e) {isExiting: a,state: t}- }), m = Zw(o, { global: !0 });+ }), m = $w(o, { global: !0 });delete m.id;let h = d ? K(m, s, c, p) : K(m, p);return /*#__PURE__*/ F.createElement(WL.div, {@@ -42456,7 +42456,7 @@ var AB = /*#__PURE__*/ (0, F.createContext)({}), fhe = (e) => {return i;}, phe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {[e, t] = BL(e, t, AB);- let { hoverProps: n, isHovered: r } = VD(e), { isFocused: i, isFocusVisible: a, focusProps: o } = LD({+ let { hoverProps: n, isHovered: r } = UD(e), { isFocused: i, isFocusVisible: a, focusProps: o } = zD({isTextInput: !0,autoFocus: e.autoFocus}), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = RL({@@ -42480,11 +42480,11 @@ var AB = /*#__PURE__*/ (0, F.createContext)({}), fhe = (e) => {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), mhe = /*#__PURE__*/ (0, F.createContext)(null), hhe = /*#__PURE__*/ lw(function(e, t) {+}), mhe = /*#__PURE__*/ (0, F.createContext)(null), hhe = /*#__PURE__*/ dw(function(e, t) {[e, t] = BL(e, t, mhe);let { validationBehavior: n } = zL(oR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);[e, i] = BL(e, i, KL);- let [a, o] = VL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = nse({+ let [a, o] = VL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = ese({...HL(e),inputElementType: s,label: o,@@ -42500,7 +42500,7 @@ var AB = /*#__PURE__*/ (0, F.createContext)({}), fhe = (e) => {isRequired: e.isRequired || !1},defaultClassName: "react-aria-TextField"- }), g = Zw(e, { global: !0 });+ }), g = $w(e, { global: !0 });return delete g.id, /*#__PURE__*/ F.createElement(WL.div, {...g,...h,@@ -42534,7 +42534,7 @@ var AB = /*#__PURE__*/ (0, F.createContext)({}), fhe = (e) => {} }],[aR, p]] }, h.children));-}), ghe = class e extends xS {+}), ghe = class e extends SS {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;@@ -42606,16 +42606,16 @@ var AB = /*#__PURE__*/ (0, F.createContext)({}), fhe = (e) => {constructor(...e) {super(...e), this.expandedKeys = /* @__PURE__ */ new Set();}-}, _he = /*#__PURE__*/ (0, F.createContext)(null), jB = /*#__PURE__*/ (0, F.createContext)(null), MB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- return [e, t] = BL(e, t, _he), /*#__PURE__*/ F.createElement(mw, {- content: /*#__PURE__*/ F.createElement(xw, e),+}, _he = /*#__PURE__*/ (0, F.createContext)(null), jB = /*#__PURE__*/ (0, F.createContext)(null), vhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ return [e, t] = BL(e, t, _he), /*#__PURE__*/ F.createElement(gw, {+ content: /*#__PURE__*/ F.createElement(Cw, e),createCollection: () => new ghe()- }, (n) => /*#__PURE__*/ F.createElement(vhe, {+ }, (n) => /*#__PURE__*/ F.createElement(yhe, {props: e,collection: n,treeRef: t}));-}), NB = {+}), MB = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -42625,16 +42625,16 @@ var AB = /*#__PURE__*/ (0, F.createContext)({}), fhe = (e) => {rtl: "ArrowRight"}};-function vhe({ props: e, collection: t, treeRef: n }) {- let { dragAndDropHooks: r } = e, { direction: i } = Uw(), a = AD({+function yhe({ props: e, collection: t, treeRef: n }) {+ let { dragAndDropHooks: r } = e, { direction: i } = Gw(), a = MD({usage: "search",sensitivity: "base"}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, F.useRef)(o), l = (0, F.useRef)(s);(0, F.useEffect)(() => {c.current !== o && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), l.current !== s && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");}, [o, s]);- let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, F.useContext)(XL), [y, b] = lE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));- The(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, F.useContext)(XL), [y, b] = dE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));+ Ehe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));let D = Az({...e,selectionMode: u,@@ -42643,7 +42643,7 @@ function vhe({ props: e, collection: t, treeRef: n }) {collection: T,children: void 0,disabledBehavior: m- }), { gridProps: O } = Ice({+ }), { gridProps: O } = Pce({...e,isVirtualized: g,layoutDelegate: _@@ -42665,7 +42665,7 @@ function vhe({ props: e, collection: t, treeRef: n }) {});let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(D.collection, n, { direction: i });te.setup(e, D, i);- let t = new ME({+ let t = new PE({collection: D.collection,collator: a,ref: n,@@ -42687,12 +42687,12 @@ function vhe({ props: e, collection: t, treeRef: n }) {let t = A?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = D.collection.getItem(t.key);- (e.key === NB.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === NB.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);+ (e.key === MB.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === MB.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);}}}, A, n), M = A.isDropTarget({ type: "root" });}- let P = !(!o || k?.isDisabled), { focusProps: ne, isFocused: re, isFocusVisible: I } = LD(), ie = {+ let P = !(!o || k?.isDisabled), { focusProps: ne, isFocused: re, isFocusVisible: I } = zD(), ie = {isEmpty: D.collection.size === 0,isFocused: re,isFocusVisible: I,@@ -42717,8 +42717,8 @@ function vhe({ props: e, collection: t, treeRef: n }) {style: { display: "contents" }}, r));}- let se = Zw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(xT, null, /*#__PURE__*/ F.createElement(WL.div, {+ let se = $w(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(CT, null, /*#__PURE__*/ F.createElement(WL.div, {...K(se, ae, O, ne, j?.collectionProps),ref: n,slot: e.slot || void 0,@@ -42735,47 +42735,47 @@ function vhe({ props: e, collection: t, treeRef: n }) {dragState: k,dropState: A}],- [ez, { render: xhe }]- ] }, s && /*#__PURE__*/ F.createElement(whe, null), /*#__PURE__*/ F.createElement(iz, null, /*#__PURE__*/ F.createElement(h, {+ [ez, { render: She }]+ ] }, s && /*#__PURE__*/ F.createElement(The, null), /*#__PURE__*/ F.createElement(iz, null, /*#__PURE__*/ F.createElement(h, {collection: D.collection,persistedKeys: nz(D.selectionManager, r, A),scrollRef: n,renderDropIndicator: tz(r, A)}))), oe)), ee);}-var yhe = /*#__PURE__*/ _w(class extends _S {+var bhe = /*#__PURE__*/ yw(class extends vS {static {this.type = "content";}}, function(e) {- let t = (0, F.useContext)(PB), n = RL({+ let t = (0, F.useContext)(NB), n = RL({children: e.children,values: t});return /*#__PURE__*/ F.createElement(XL.Provider, { value: JL }, n.children);-}), PB = /*#__PURE__*/ (0, F.createContext)(null), bhe = /*#__PURE__*/ vw(class extends _S {+}), NB = /*#__PURE__*/ (0, F.createContext)(null), xhe = /*#__PURE__*/ bw(class extends vS {static {this.type = "item";}}, (e, t, n) => {let r = (0, F.useContext)(jB);- t = iw(t);- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)($R), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Oj({+ t = ow(t);+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)($R), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Aj({node: n,shouldSelectOnPressUp: !!a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = VD({+ }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = UD({isDisabled: !f.allowsSelection && !f.hasAction && !s,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { isFocusVisible: v, focusProps: y } = LD(), { isFocusVisible: b, focusProps: x } = LD({ within: !0 }), { checkboxProps: S } = jse({ key: n.key }, r), C = null;+ }), { isFocusVisible: v, focusProps: y } = zD(), { isFocusVisible: b, focusProps: x } = zD({ within: !0 }), { checkboxProps: S } = kse({ key: n.key }, r), C = null;a && i && (C = i.useDraggableItem({key: n.key,hasDragButton: !0}, a));- let w = null, T = (0, F.useRef)(null), E = (0, F.useRef)(null), D = (0, F.useRef)(null), { visuallyHiddenProps: O } = vE();+ let w = null, T = (0, F.useRef)(null), E = (0, F.useRef)(null), D = (0, F.useRef)(null), { visuallyHiddenProps: O } = bE();o && i && (w = i.useDropIndicator({target: {type: "item",@@ -42831,7 +42831,7 @@ var yhe = /*#__PURE__*/ _w(class extends _S {(0, F.useEffect)(() => {a && te.current;}, []);- let P = TS({+ let P = ES({items: r.collection.getChildren(n.key),children: (e) => {switch (e.type) {@@ -42841,7 +42841,7 @@ var yhe = /*#__PURE__*/ _w(class extends _S {default: throw Error("Unsupported element type in TreeRow: " + e.type);}}- }), ne = qC(), re = Zw(e, { global: !0 });+ }), ne = YC(), re = $w(e, { global: !0 });return delete re.id, delete re.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, w && !w.isHidden && /*#__PURE__*/ F.createElement("div", {role: "row","aria-level": c["aria-level"],@@ -42905,11 +42905,11 @@ var yhe = /*#__PURE__*/ _w(class extends _S {style: { pointerEvents: "none" }}} }],- [PB, { ...ee }],+ [NB, { ...ee }],[az, { isSelected: f.isSelected }]] }, P))));});-_w(yS, function(e, t, n) {+yw(bS, function(e, t, n) {let { isVirtualized: r } = (0, F.useContext)(XL), i = (0, F.useContext)(jB), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);vz((0, F.useMemo)(() => ({onLoadMore: o,@@ -42920,8 +42920,8 @@ _w(yS, function(e, t, n) {o,s,i?.collection- ]), l), t = iw(t);- let { rowProps: u, gridCellProps: d } = Oj({ node: n }, i, t), f = u["aria-level"] || 1, p = {+ ]), l), t = ow(t);+ let { rowProps: u, gridCellProps: d } = Aj({ node: n }, i, t), f = u["aria-level"] || 1, p = {role: "row","aria-level": u["aria-level"]}, m = RL({@@ -42948,7 +42948,7 @@ _w(yS, function(e, t, n) {}})), a && m.children && /*#__PURE__*/ F.createElement(WL.div, {ref: t,- ...K(Zw(e), p),+ ...K($w(e), p),...m,"data-level": f}, /*#__PURE__*/ F.createElement("div", {@@ -42956,12 +42956,12 @@ _w(yS, function(e, t, n) {style: h}, m.children)));});-function xhe(e, t) {- t = iw(t);+function She(e, t) {+ t = ow(t);let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)($R), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;- return /*#__PURE__*/ F.createElement(Che, {+ return /*#__PURE__*/ F.createElement(whe, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -42970,8 +42970,8 @@ function xhe(e, t) {level: c});}-function She(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = vE(), c = RL({+function Che(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = bE(), c = RL({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: {@@ -42993,9 +42993,9 @@ function She(e, t) {ref: i}), c.children));}-var Che = /*#__PURE__*/ (0, F.forwardRef)(She);-function whe() {- let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)($R), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = vE();+var whe = /*#__PURE__*/ (0, F.forwardRef)(Che);+function The() {+ let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)($R), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = bE();return !i && r["aria-hidden"] ? null : /*#__PURE__*/ F.createElement("div", {role: "row","aria-hidden": r["aria-hidden"],@@ -43007,13 +43007,13 @@ function whe() {ref: n})));}-function The(e, t) {+function Ehe(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}// node_modules/@remixicon/react/index.mjs-var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43021,7 +43021,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43029,7 +43029,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), FB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), PB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43037,7 +43037,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), IB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), FB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43045,7 +43045,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), LB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), IB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43053,7 +43053,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43061,7 +43061,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Ahe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43069,7 +43069,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), RB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), LB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43077,7 +43077,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 12H5V21H3V12ZM19 8H21V21H19V8ZM11 2H13V21H11V2Z" })), zB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 12H5V21H3V12ZM19 8H21V21H19V8ZM11 2H13V21H11V2Z" })), RB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43085,7 +43085,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), Ahe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), jhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43093,7 +43093,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), jhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Mhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43101,7 +43101,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Mhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Nhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43109,7 +43109,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Nhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43117,7 +43117,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Fhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43125,7 +43125,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), Fhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), Ihe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43133,7 +43133,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), BB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), zB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43141,7 +43141,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), VB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), BB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43149,7 +43149,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), Ihe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), Lhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43157,7 +43157,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), HB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), VB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43165,7 +43165,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM16.5 7.5L14 14L7.5 16.5L10 10L16.5 7.5ZM12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" })), Lhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM16.5 7.5L14 14L7.5 16.5L10 10L16.5 7.5ZM12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" })), Rhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43173,7 +43173,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), UB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), HB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43181,7 +43181,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Rhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), zhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43189,7 +43189,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), zhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Bhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43197,7 +43197,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13 13V18.585L14.8284 16.7574L16.2426 18.1716L12 22.4142L7.75736 18.1716L9.17157 16.7574L11 18.585V13H13ZM12 2C15.5934 2 18.5544 4.70761 18.9541 8.19395C21.2858 8.83154 23 10.9656 23 13.5C23 16.3688 20.8036 18.7246 18.0006 18.9776L18.0009 16.9644C19.6966 16.7214 21 15.2629 21 13.5C21 11.567 19.433 10 17.5 10C17.2912 10 17.0867 10.0183 16.8887 10.054C16.9616 9.7142 17 9.36158 17 9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9C7 9.36158 7.03838 9.7142 7.11205 10.0533C6.91331 10.0183 6.70879 10 6.5 10C4.567 10 3 11.567 3 13.5C3 15.2003 4.21241 16.6174 5.81986 16.934L6.00005 16.9646L6.00039 18.9776C3.19696 18.7252 1 16.3692 1 13.5C1 10.9656 2.71424 8.83154 5.04648 8.19411C5.44561 4.70761 8.40661 2 12 2Z" })), WB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13 13V18.585L14.8284 16.7574L16.2426 18.1716L12 22.4142L7.75736 18.1716L9.17157 16.7574L11 18.585V13H13ZM12 2C15.5934 2 18.5544 4.70761 18.9541 8.19395C21.2858 8.83154 23 10.9656 23 13.5C23 16.3688 20.8036 18.7246 18.0006 18.9776L18.0009 16.9644C19.6966 16.7214 21 15.2629 21 13.5C21 11.567 19.433 10 17.5 10C17.2912 10 17.0867 10.0183 16.8887 10.054C16.9616 9.7142 17 9.36158 17 9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9C7 9.36158 7.03838 9.7142 7.11205 10.0533C6.91331 10.0183 6.70879 10 6.5 10C4.567 10 3 11.567 3 13.5C3 15.2003 4.21241 16.6174 5.81986 16.934L6.00005 16.9646L6.00039 18.9776C3.19696 18.7252 1 16.3692 1 13.5C1 10.9656 2.71424 8.83154 5.04648 8.19411C5.44561 4.70761 8.40661 2 12 2Z" })), UB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43205,7 +43205,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M1 14.5C1 12.1716 2.22429 10.1291 4.06426 8.9812C4.56469 5.044 7.92686 2 12 2C16.0731 2 19.4353 5.044 19.9357 8.9812C21.7757 10.1291 23 12.1716 23 14.5C23 17.9216 20.3562 20.7257 17 20.9811L7 21C3.64378 20.7257 1 17.9216 1 14.5ZM16.8483 18.9868C19.1817 18.8093 21 16.8561 21 14.5C21 12.927 20.1884 11.4962 18.8771 10.6781L18.0714 10.1754L17.9517 9.23338C17.5735 6.25803 15.0288 4 12 4C8.97116 4 6.42647 6.25803 6.0483 9.23338L5.92856 10.1754L5.12288 10.6781C3.81156 11.4962 3 12.927 3 14.5C3 16.8561 4.81833 18.8093 7.1517 18.9868L7.325 19H16.675L16.8483 18.9868ZM13 12H16L12 17L8 12H11V8H13V12Z" })), Bhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M1 14.5C1 12.1716 2.22429 10.1291 4.06426 8.9812C4.56469 5.044 7.92686 2 12 2C16.0731 2 19.4353 5.044 19.9357 8.9812C21.7757 10.1291 23 12.1716 23 14.5C23 17.9216 20.3562 20.7257 17 20.9811L7 21C3.64378 20.7257 1 17.9216 1 14.5ZM16.8483 18.9868C19.1817 18.8093 21 16.8561 21 14.5C21 12.927 20.1884 11.4962 18.8771 10.6781L18.0714 10.1754L17.9517 9.23338C17.5735 6.25803 15.0288 4 12 4C8.97116 4 6.42647 6.25803 6.0483 9.23338L5.92856 10.1754L5.12288 10.6781C3.81156 11.4962 3 12.927 3 14.5C3 16.8561 4.81833 18.8093 7.1517 18.9868L7.325 19H16.675L16.8483 18.9868ZM13 12H16L12 17L8 12H11V8H13V12Z" })), Vhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43213,7 +43213,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), GB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), WB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43221,7 +43221,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), KB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), GB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43229,7 +43229,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Vhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Hhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43237,7 +43237,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), Hhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), Uhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43245,7 +43245,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), Uhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), Whe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43253,7 +43253,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), Whe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43261,7 +43261,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43269,7 +43269,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM13.529 14.4464C11.9951 15.3524 9.98633 15.1464 8.66839 13.8284C7.1063 12.2663 7.1063 9.73367 8.66839 8.17157C10.2305 6.60948 12.7631 6.60948 14.3252 8.17157C15.6432 9.48951 15.8492 11.4983 14.9432 13.0322L17.1537 15.2426L15.7395 16.6569L13.529 14.4464ZM12.911 12.4142C13.6921 11.6332 13.6921 10.3668 12.911 9.58579C12.13 8.80474 10.8637 8.80474 10.0826 9.58579C9.30156 10.3668 9.30156 11.6332 10.0826 12.4142C10.8637 13.1953 12.13 13.1953 12.911 12.4142Z" })), qB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM13.529 14.4464C11.9951 15.3524 9.98633 15.1464 8.66839 13.8284C7.1063 12.2663 7.1063 9.73367 8.66839 8.17157C10.2305 6.60948 12.7631 6.60948 14.3252 8.17157C15.6432 9.48951 15.8492 11.4983 14.9432 13.0322L17.1537 15.2426L15.7395 16.6569L13.529 14.4464ZM12.911 12.4142C13.6921 11.6332 13.6921 10.3668 12.911 9.58579C12.13 8.80474 10.8637 8.80474 10.0826 9.58579C9.30156 10.3668 9.30156 11.6332 10.0826 12.4142C10.8637 13.1953 12.13 13.1953 12.911 12.4142Z" })), KB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43277,7 +43277,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M2 3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM8 5V19H16V5H8ZM4 5V7H6V5H4ZM18 5V7H20V5H18ZM4 9V11H6V9H4ZM18 9V11H20V9H18ZM4 13V15H6V13H4ZM18 13V15H20V13H18ZM4 17V19H6V17H4ZM18 17V19H20V17H18Z" })), Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M2 3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM8 5V19H16V5H8ZM4 5V7H6V5H4ZM18 5V7H20V5H18ZM4 9V11H6V9H4ZM18 9V11H20V9H18ZM4 13V15H6V13H4ZM18 13V15H20V13H18ZM4 17V19H6V17H4ZM18 17V19H20V17H18Z" })), qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43285,7 +43285,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), JB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), qB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43293,7 +43293,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), YB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), JB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43301,7 +43301,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4 5V19H20V7H11.5858L9.58579 5H4ZM12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5Z" })), XB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4 5V19H20V7H11.5858L9.58579 5H4ZM12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5Z" })), YB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43309,7 +43309,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), Jhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43317,7 +43317,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), ZB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), XB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43325,7 +43325,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), QB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), ZB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43333,7 +43333,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Jhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Yhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43341,7 +43341,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M16.5 3C19.5376 3 22 5.5 22 9C22 16 14.5 20 12 21.5C9.5 20 2 16 2 9C2 5.5 4.5 3 7.5 3C9.35997 3 11 4 12 5C13 4 14.64 3 16.5 3ZM12.9339 18.6038C13.8155 18.0485 14.61 17.4955 15.3549 16.9029C18.3337 14.533 20 11.9435 20 9C20 6.64076 18.463 5 16.5 5C15.4241 5 14.2593 5.56911 13.4142 6.41421L12 7.82843L10.5858 6.41421C9.74068 5.56911 8.5759 5 7.5 5C5.55906 5 4 6.6565 4 9C4 11.9435 5.66627 14.533 8.64514 16.9029C9.39 17.4955 10.1845 18.0485 11.0661 18.6038C11.3646 18.7919 11.6611 18.9729 12 19.1752C12.3389 18.9729 12.6354 18.7919 12.9339 18.6038Z" })), Yhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M16.5 3C19.5376 3 22 5.5 22 9C22 16 14.5 20 12 21.5C9.5 20 2 16 2 9C2 5.5 4.5 3 7.5 3C9.35997 3 11 4 12 5C13 4 14.64 3 16.5 3ZM12.9339 18.6038C13.8155 18.0485 14.61 17.4955 15.3549 16.9029C18.3337 14.533 20 11.9435 20 9C20 6.64076 18.463 5 16.5 5C15.4241 5 14.2593 5.56911 13.4142 6.41421L12 7.82843L10.5858 6.41421C9.74068 5.56911 8.5759 5 7.5 5C5.55906 5 4 6.6565 4 9C4 11.9435 5.66627 14.533 8.64514 16.9029C9.39 17.4955 10.1845 18.0485 11.0661 18.6038C11.3646 18.7919 11.6611 18.9729 12 19.1752C12.3389 18.9729 12.6354 18.7919 12.9339 18.6038Z" })), Xhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43349,7 +43349,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Xhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Zhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43357,7 +43357,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5 11.1005L7 9.1005L12.5 14.6005L16 11.1005L19 14.1005V5H5V11.1005ZM5 13.9289V19H8.1005L11.0858 16.0147L7 11.9289L5 13.9289ZM10.9289 19H19V16.9289L16 13.9289L10.9289 19ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM15.5 10C14.6716 10 14 9.32843 14 8.5C14 7.67157 14.6716 7 15.5 7C16.3284 7 17 7.67157 17 8.5C17 9.32843 16.3284 10 15.5 10Z" })), Zhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5 11.1005L7 9.1005L12.5 14.6005L16 11.1005L19 14.1005V5H5V11.1005ZM5 13.9289V19H8.1005L11.0858 16.0147L7 11.9289L5 13.9289ZM10.9289 19H19V16.9289L16 13.9289L10.9289 19ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM15.5 10C14.6716 10 14 9.32843 14 8.5C14 7.67157 14.6716 7 15.5 7C16.3284 7 17 7.67157 17 8.5C17 9.32843 16.3284 10 15.5 10Z" })), Qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43365,7 +43365,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), Qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), $he = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43373,7 +43373,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), $he = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43381,7 +43381,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43389,7 +43389,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), $B = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), QB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43397,7 +43397,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43405,7 +43405,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43413,7 +43413,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13.0607 8.11097L14.4749 9.52518C17.2086 12.2589 17.2086 16.691 14.4749 19.4247L14.1214 19.7782C11.3877 22.5119 6.95555 22.5119 4.22188 19.7782C1.48821 17.0446 1.48821 12.6124 4.22188 9.87874L5.6361 11.293C3.68348 13.2456 3.68348 16.4114 5.6361 18.364C7.58872 20.3166 10.7545 20.3166 12.7072 18.364L13.0607 18.0105C15.0133 16.0578 15.0133 12.892 13.0607 10.9394L11.6465 9.52518L13.0607 8.11097ZM19.7782 14.1214L18.364 12.7072C20.3166 10.7545 20.3166 7.58872 18.364 5.6361C16.4114 3.68348 13.2456 3.68348 11.293 5.6361L10.9394 5.98965C8.98678 7.94227 8.98678 11.1081 10.9394 13.0607L12.3536 14.4749L10.9394 15.8891L9.52518 14.4749C6.79151 11.7413 6.79151 7.30911 9.52518 4.57544L9.87874 4.22188C12.6124 1.48821 17.0446 1.48821 19.7782 4.22188C22.5119 6.95555 22.5119 11.3877 19.7782 14.1214Z" })), rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13.0607 8.11097L14.4749 9.52518C17.2086 12.2589 17.2086 16.691 14.4749 19.4247L14.1214 19.7782C11.3877 22.5119 6.95555 22.5119 4.22188 19.7782C1.48821 17.0446 1.48821 12.6124 4.22188 9.87874L5.6361 11.293C3.68348 13.2456 3.68348 16.4114 5.6361 18.364C7.58872 20.3166 10.7545 20.3166 12.7072 18.364L13.0607 18.0105C15.0133 16.0578 15.0133 12.892 13.0607 10.9394L11.6465 9.52518L13.0607 8.11097ZM19.7782 14.1214L18.364 12.7072C20.3166 10.7545 20.3166 7.58872 18.364 5.6361C16.4114 3.68348 13.2456 3.68348 11.293 5.6361L10.9394 5.98965C8.98678 7.94227 8.98678 11.1081 10.9394 13.0607L12.3536 14.4749L10.9394 15.8891L9.52518 14.4749C6.79151 11.7413 6.79151 7.30911 9.52518 4.57544L9.87874 4.22188C12.6124 1.48821 17.0446 1.48821 19.7782 4.22188C22.5119 6.95555 22.5119 11.3877 19.7782 14.1214Z" })), ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43421,7 +43421,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), eV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), $B = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43429,7 +43429,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z" })), tV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z" })), eV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43437,7 +43437,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), nV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), tV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43445,7 +43445,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), rV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), nV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43453,7 +43453,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), iV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), rV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43461,7 +43461,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43469,7 +43469,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9 7.53861L15 21.5386L18.6594 13H23V11H17.3406L15 16.4614L9 2.46143L5.3406 11H1V13H6.6594L9 7.53861Z" })), aV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9 7.53861L15 21.5386L18.6594 13H23V11H17.3406L15 16.4614L9 2.46143L5.3406 11H1V13H6.6594L9 7.53861Z" })), iV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43477,7 +43477,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43485,7 +43485,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4.99958 12.9999C4.99958 7.91198 7.90222 3.5636 11.9996 1.81799C16.0969 3.5636 18.9996 7.91198 18.9996 12.9999C18.9996 13.8229 18.9236 14.6264 18.779 15.4027L20.7194 17.2353C20.8845 17.3913 20.9238 17.6389 20.815 17.8383L18.3196 22.4133C18.1873 22.6557 17.8836 22.7451 17.6412 22.6128C17.5993 22.59 17.5608 22.5612 17.5271 22.5274L15.2925 20.2928C15.1049 20.1053 14.8506 19.9999 14.5854 19.9999H9.41379C9.14857 19.9999 8.89422 20.1053 8.70668 20.2928L6.47209 22.5274C6.27683 22.7227 5.96025 22.7227 5.76498 22.5274C5.73122 22.4937 5.70246 22.4552 5.67959 22.4133L3.18412 17.8383C3.07537 17.6389 3.11464 17.3913 3.27975 17.2353L5.22014 15.4027C5.07551 14.6264 4.99958 13.8229 4.99958 12.9999ZM6.47542 19.6957L7.29247 18.8786C7.85508 18.316 8.61814 17.9999 9.41379 17.9999H14.5854C15.381 17.9999 16.1441 18.316 16.7067 18.8786L17.5237 19.6957L18.5056 17.8955L17.4058 16.8568C16.9117 16.3901 16.6884 15.7045 16.8128 15.0364C16.9366 14.3722 16.9996 13.6911 16.9996 12.9999C16.9996 9.13037 15.0045 5.69965 11.9996 4.04033C8.99462 5.69965 6.99958 9.13037 6.99958 12.9999C6.99958 13.6911 7.06255 14.3722 7.18631 15.0364C7.31078 15.7045 7.08746 16.3901 6.59338 16.8568L5.49353 17.8955L6.47542 19.6957ZM11.9996 12.9999C10.895 12.9999 9.99958 12.1045 9.99958 10.9999C9.99958 9.89537 10.895 8.99994 11.9996 8.99994C13.1041 8.99994 13.9996 9.89537 13.9996 10.9999C13.9996 12.1045 13.1041 12.9999 11.9996 12.9999Z" })), oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4.99958 12.9999C4.99958 7.91198 7.90222 3.5636 11.9996 1.81799C16.0969 3.5636 18.9996 7.91198 18.9996 12.9999C18.9996 13.8229 18.9236 14.6264 18.779 15.4027L20.7194 17.2353C20.8845 17.3913 20.9238 17.6389 20.815 17.8383L18.3196 22.4133C18.1873 22.6557 17.8836 22.7451 17.6412 22.6128C17.5993 22.59 17.5608 22.5612 17.5271 22.5274L15.2925 20.2928C15.1049 20.1053 14.8506 19.9999 14.5854 19.9999H9.41379C9.14857 19.9999 8.89422 20.1053 8.70668 20.2928L6.47209 22.5274C6.27683 22.7227 5.96025 22.7227 5.76498 22.5274C5.73122 22.4937 5.70246 22.4552 5.67959 22.4133L3.18412 17.8383C3.07537 17.6389 3.11464 17.3913 3.27975 17.2353L5.22014 15.4027C5.07551 14.6264 4.99958 13.8229 4.99958 12.9999ZM6.47542 19.6957L7.29247 18.8786C7.85508 18.316 8.61814 17.9999 9.41379 17.9999H14.5854C15.381 17.9999 16.1441 18.316 16.7067 18.8786L17.5237 19.6957L18.5056 17.8955L17.4058 16.8568C16.9117 16.3901 16.6884 15.7045 16.8128 15.0364C16.9366 14.3722 16.9996 13.6911 16.9996 12.9999C16.9996 9.13037 15.0045 5.69965 11.9996 4.04033C8.99462 5.69965 6.99958 9.13037 6.99958 12.9999C6.99958 13.6911 7.06255 14.3722 7.18631 15.0364C7.31078 15.7045 7.08746 16.3901 6.59338 16.8568L5.49353 17.8955L6.47542 19.6957ZM11.9996 12.9999C10.895 12.9999 9.99958 12.1045 9.99958 10.9999C9.99958 9.89537 10.895 8.99994 11.9996 8.99994C13.1041 8.99994 13.9996 9.89537 13.9996 10.9999C13.9996 12.1045 13.1041 12.9999 11.9996 12.9999Z" })), sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43493,7 +43493,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4 15V8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5V15.5C13 16.8807 14.1193 18 15.5 18C16.8807 18 18 16.8807 18 15.5V8.82929C16.8348 8.41746 16 7.30622 16 6C16 4.34315 17.3431 3 19 3C20.6569 3 22 4.34315 22 6C22 7.30622 21.1652 8.41746 20 8.82929V15.5C20 17.9853 17.9853 20 15.5 20C13.0147 20 11 17.9853 11 15.5V8.5C11 7.11929 9.88071 6 8.5 6C7.11929 6 6 7.11929 6 8.5V15H9L5 20L1 15H4ZM19 7C19.5523 7 20 6.55228 20 6C20 5.44772 19.5523 5 19 5C18.4477 5 18 5.44772 18 6C18 6.55228 18.4477 7 19 7Z" })), oV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4 15V8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5V15.5C13 16.8807 14.1193 18 15.5 18C16.8807 18 18 16.8807 18 15.5V8.82929C16.8348 8.41746 16 7.30622 16 6C16 4.34315 17.3431 3 19 3C20.6569 3 22 4.34315 22 6C22 7.30622 21.1652 8.41746 20 8.82929V15.5C20 17.9853 17.9853 20 15.5 20C13.0147 20 11 17.9853 11 15.5V8.5C11 7.11929 9.88071 6 8.5 6C7.11929 6 6 7.11929 6 8.5V15H9L5 20L1 15H4ZM19 7C19.5523 7 20 6.55228 20 6C20 5.44772 19.5523 5 19 5C18.4477 5 18 5.44772 18 6C18 6.55228 18.4477 7 19 7Z" })), aV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43501,7 +43501,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), sV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), oV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43509,7 +43509,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), cV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), sV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43517,7 +43517,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z" })), sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z" })), cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43525,7 +43525,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), lV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), cV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43533,7 +43533,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M7 4V20H17V4H7ZM6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M7 4V20H17V4H7ZM6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43541,7 +43541,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), uV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), lV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43549,7 +43549,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M7 7V17H17V7H7ZM6 5H18C18.5523 5 19 5.44772 19 6V18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5Z" })), lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M7 7V17H17V7H7ZM6 5H18C18.5523 5 19 5.44772 19 6V18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5Z" })), uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43557,7 +43557,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43565,7 +43565,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M19 4H5V20H19V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H19.9997C20.5519 2 20.9996 2.44772 20.9997 3L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM11.2929 13.1213L15.5355 8.87868L16.9497 10.2929L11.2929 15.9497L7.40381 12.0607L8.81802 10.6464L11.2929 13.1213Z" })), dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M19 4H5V20H19V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H19.9997C20.5519 2 20.9996 2.44772 20.9997 3L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM11.2929 13.1213L15.5355 8.87868L16.9497 10.2929L11.2929 15.9497L7.40381 12.0607L8.81802 10.6464L11.2929 13.1213Z" })), fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43573,7 +43573,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43581,7 +43581,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), dV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), uV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43589,7 +43589,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5.32943 3.27158C6.56252 2.8332 7.9923 3.10749 8.97927 4.09446C10.1002 5.21537 10.3019 6.90741 9.5843 8.23385L20.293 18.9437L18.8788 20.3579L8.16982 9.64875C6.84325 10.3669 5.15069 10.1654 4.02952 9.04421C3.04227 8.05696 2.7681 6.62665 3.20701 5.39332L5.44373 7.63C6.02952 8.21578 6.97927 8.21578 7.56505 7.63C8.15084 7.04421 8.15084 6.09446 7.56505 5.50868L5.32943 3.27158ZM15.6968 5.15512L18.8788 3.38736L20.293 4.80157L18.5252 7.98355L16.7574 8.3371L14.6361 10.4584L13.2219 9.04421L15.3432 6.92289L15.6968 5.15512ZM8.97927 13.2868L10.3935 14.7011L5.09018 20.0044C4.69966 20.3949 4.06649 20.3949 3.67597 20.0044C3.31334 19.6417 3.28744 19.0699 3.59826 18.6774L3.67597 18.5902L8.97927 13.2868Z" })), pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5.32943 3.27158C6.56252 2.8332 7.9923 3.10749 8.97927 4.09446C10.1002 5.21537 10.3019 6.90741 9.5843 8.23385L20.293 18.9437L18.8788 20.3579L8.16982 9.64875C6.84325 10.3669 5.15069 10.1654 4.02952 9.04421C3.04227 8.05696 2.7681 6.62665 3.20701 5.39332L5.44373 7.63C6.02952 8.21578 6.97927 8.21578 7.56505 7.63C8.15084 7.04421 8.15084 6.09446 7.56505 5.50868L5.32943 3.27158ZM15.6968 5.15512L18.8788 3.38736L20.293 4.80157L18.5252 7.98355L16.7574 8.3371L14.6361 10.4584L13.2219 9.04421L15.3432 6.92289L15.6968 5.15512ZM8.97927 13.2868L10.3935 14.7011L5.09018 20.0044C4.69966 20.3949 4.06649 20.3949 3.67597 20.0044C3.31334 19.6417 3.28744 19.0699 3.59826 18.6774L3.67597 18.5902L8.97927 13.2868Z" })), mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43597,7 +43597,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), fV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), dV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43605,7 +43605,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z" })), pV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z" })), fV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43613,7 +43613,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), mV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), pV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43621,7 +43621,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43629,7 +43629,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), hV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), mV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43637,7 +43637,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" })), hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" })), gge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43647,7 +43647,7 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => FclassName: "remixicon " + (n || "")}, F.createElement("path", { d: "M8.00008 6V9H5.00008V6H8.00008ZM3.00008 4V11H10.0001V4H3.00008ZM13.0001 4H21.0001V6H13.0001V4ZM13.0001 11H21.0001V13H13.0001V11ZM13.0001 18H21.0001V20H13.0001V18ZM10.7072 16.2071L9.29297 14.7929L6.00008 18.0858L4.20718 16.2929L2.79297 17.7071L6.00008 20.9142L10.7072 16.2071Z" }));// src/react/boardui/components/base/input/label.tsx-function gV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+function hV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {return /* @__PURE__ */ (0, I.jsxs)($L, {"data-label": "true",...a,@@ -43659,7 +43659,7 @@ function gV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childrclassName: "text-body-medium text-text-error-primary",children: "*"}),- n && /* @__PURE__ */ (0, I.jsx)(Qhe, {+ n && /* @__PURE__ */ (0, I.jsx)($he, {className: "size-4 shrink-0 text-foreground-icon-quaternary","aria-hidden": !0})@@ -43667,7 +43667,7 @@ function gV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr});}// src/react/boardui/components/base/input/hint-text.tsx-function _V({ isInvalid: e = !1, className: t, ...n }) {+function gV({ isInvalid: e = !1, className: t, ...n }) {return /* @__PURE__ */ (0, I.jsx)(hpe, {slot: e ? "errorMessage" : "description",...n,@@ -43675,9 +43675,9 @@ function _V({ isInvalid: e = !1, className: t, ...n }) {});}// src/react/boardui/components/base/input/input.tsx-var vV = (0, F.createContext)({});-function yV({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, I.jsx)(vV.Provider, {+var _V = (0, F.createContext)({});+function vV({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, I.jsx)(_V.Provider, {value: {size: e,fieldClassName: t,@@ -43691,8 +43691,8 @@ function yV({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam})});}-yV.displayName = "TextField";-var bV = XI({+vV.displayName = "TextField";+var yV = XI({field: "relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease",fieldSize: {medium: "p-2",@@ -43707,44 +43707,44 @@ var bV = XI({input: "min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary focus:placeholder:text-text-primary disabled:text-input-disabled-text disabled:placeholder:text-input-disabled-text disabled:cursor-not-allowed aria-invalid:placeholder:text-text-error-placeholder",icon: "size-5 shrink-0"});-function xV({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, F.useContext)(vV), u = e ?? l.size ?? "medium", d = r != null;+function bV({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, F.useContext)(_V), u = e ?? l.size ?? "medium", d = r != null;return /* @__PURE__ */ (0, I.jsx)(dR, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => q(bV.field, d ? bV.fieldWithAddonSize[u] : bV.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => q(yV.field, d ? yV.fieldWithAddonSize[u] : yV.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),children: /* @__PURE__ */ (0, I.jsxs)("div", {- className: bV.content,+ className: yV.content,children: [/* @__PURE__ */ (0, I.jsxs)("div", {- className: bV.leftSection,+ className: yV.leftSection,children: [d ? r : t ? /* @__PURE__ */ (0, I.jsx)(t, {- className: bV.icon,+ className: yV.icon,"aria-hidden": !0}) : null, /* @__PURE__ */ (0, I.jsx)(xpe, {ref: o,...c,- className: q(bV.input, l.inputClassName, a)+ className: q(yV.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, I.jsx)(n, {- className: bV.icon,+ className: yV.icon,"aria-hidden": !0}) : null]})});}-xV.displayName = "InputBase";-function SV({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {- return /* @__PURE__ */ (0, I.jsx)(yV, {+bV.displayName = "InputBase";+function xV({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {+ return /* @__PURE__ */ (0, I.jsx)(vV, {...d,className: u,"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- e && /* @__PURE__ */ (0, I.jsx)(gV, {+ e && /* @__PURE__ */ (0, I.jsx)(hV, {isRequired: u,isInvalid: d,tooltip: n,children: e}),- /* @__PURE__ */ (0, I.jsx)(xV, {+ /* @__PURE__ */ (0, I.jsx)(bV, {ref: c,groupRef: l,placeholder: r,@@ -43753,24 +43753,24 @@ function SV({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, traleadingAddon: o,fieldClassName: s}),- t && /* @__PURE__ */ (0, I.jsx)(_V, {+ t && /* @__PURE__ */ (0, I.jsx)(gV, {isInvalid: d,children: t})] })});}-SV.displayName = "Input";+xV.displayName = "Input";// src/react/components/modal-frame.tsx-var gge = {+var _ge = {"avatar-picker": "max-w-avatar-picker","cover-crop": "max-w-cover-crop",form: "max-w-form-modal",collections: "max-w-4xl",tutorial: "max-w-2xl"};-function CV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfaceClassName: a = "" }) {- let { isFocusVisible: o } = PC();+function SV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfaceClassName: a = "" }) {+ let { isFocusVisible: o } = IC();return /* @__PURE__ */ (0, I.jsx)(Gz, {isOpen: e,onOpenChange: t,@@ -43782,7 +43782,7 @@ function CV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfachildren: /* @__PURE__ */ (0, I.jsx)(rme, {"data-modal-surface": "","data-modal-width": n,- className: q("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", gge[n], a),+ className: q("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", _ge[n], a),children: /* @__PURE__ */ (0, I.jsx)(Vz, {"aria-label": r,className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",@@ -43791,7 +43791,7 @@ function CV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfa})});}-function wV({ children: e }) {+function CV({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",@@ -43799,7 +43799,7 @@ function wV({ children: e }) {});}// src/react/components/note.tsx-function TV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {+function wV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {let s = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-note-layout": "",className: q("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),@@ -43847,11 +43847,11 @@ function TV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:}}// src/react/components/empty-state.tsx-var _ge = {+var vge = {standard: "min-h-80 px-6 py-12",compact: "min-h-60 px-4 py-6"};-function vge({ target: e, children: t }) {+function yge({ target: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)(J, {size: "small",variant: "secondary",@@ -43859,11 +43859,11 @@ function vge({ target: e, children: t }) {children: t});}-function EV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {+function TV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-empty-state": "","data-empty-size": i,- className: `col-span-full flex w-full min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${_ge[i]}`,+ className: `col-span-full flex w-full min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${vge[i]}`,children: [/* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,@@ -43889,9 +43889,9 @@ function EV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }});}// src/react/components/sprite-glyph.tsx-var DV = /* @__PURE__ */ new Map();-function OV(e) {- let t = DV.get(e);+var EV = /* @__PURE__ */ new Map();+function DV(e) {+ let t = EV.get(e);if (t) return t;let { wide: n, viewBox: r } = Sn(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, I.jsx)("svg", {"aria-hidden": !0,@@ -43907,10 +43907,10 @@ function OV(e) {className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});- return i.displayName = `SpriteGlyph(${e})`, DV.set(e, i), i;+ return i.displayName = `SpriteGlyph(${e})`, EV.set(e, i), i;}// src/react/components/settings-dialog-close.tsx-function kV({ label: e, id: t, onPress: n }) {+function OV({ label: e, id: t, onPress: n }) {return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",id: t,@@ -43925,60 +43925,60 @@ function kV({ label: e, id: t, onPress: n }) {});}// src/react/settings/busy-props.ts-function AV(e) {+function kV(e) {return e ? {"aria-busy": !0,"aria-disabled": !0} : {};}// src/react/library-shortcuts/library-shortcuts.ts-var jV = ["library-shortcuts"], MV = "/api/library-shortcuts";-function NV(e = !0) {+var AV = ["library-shortcuts"], jV = "/api/library-shortcuts";+function MV(e = !0) {return Pt({- queryKey: jV,- queryFn: ({ signal: e }) => B(MV, e),+ queryKey: AV,+ queryFn: ({ signal: e }) => B(jV, e),enabled: e,refetchOnMount: e ? "always" : !1});}-function PV() {+function NV() {return Ft({- mutationKey: jV,- mutationFn: (e) => V(MV, e),+ mutationKey: AV,+ mutationFn: (e) => V(jV, e),onSuccess: (e, t) => {- H.setQueryData(jV, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));+ H.setQueryData(AV, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));}});}-function FV(e, t) {+function PV(e, t) {return e.some((e) => t.scope === "online" ? e.scope === "online" && e.tag_id === t.tag_id : e.scope !== "online" && (t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name));}-function yge(e) {+function bge(e) {return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : Nn(e.kind, e.name, e.entity_id);}// src/react/library-shortcuts/shortcut-controls.tsx-var IV = OV("star"), bge = OV("bookmark-plus"), LV = OV("chevron-right"), RV = {+var FV = DV("star"), xge = DV("bookmark-plus"), IV = DV("chevron-right"), LV = {performer: "艺人",creator: "创作者",studio: "片商与厂牌",series: "系列",agency: "事务所",tag: "标签"-}, zV = {- all: OV("star"),- performer: OV("user-round"),- creator: OV("user-round"),- studio: OV("clapperboard"),- series: OV("film"),- agency: OV("briefcase"),- tag: OV("tags"),- filters: OV("list-filter")-}, BV = [+}, RV = {+ all: DV("star"),+ performer: DV("user-round"),+ creator: DV("user-round"),+ studio: DV("clapperboard"),+ series: DV("film"),+ agency: DV("briefcase"),+ tag: DV("tags"),+ filters: DV("list-filter")+}, zV = [["all", "全部"],- ...Object.entries(RV),+ ...Object.entries(LV),["filters", "保存的筛选"]];-function VV({ label: e, children: t, ...n }) {+function BV({ label: e, children: t, ...n }) {return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",...n,@@ -43988,20 +43988,20 @@ function VV({ label: e, children: t, ...n }) {children: t});}-function HV({ item: e }) {- return /* @__PURE__ */ (0, I.jsx)(xge, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);+function VV({ item: e }) {+ return /* @__PURE__ */ (0, I.jsx)(Sge, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);}-function xge({ item: e }) {+function Sge({ item: e }) {bL();- let t = NV(!1), n = (0, F.useRef)(t.data), r = PV(), i = t.data && t.data !== n.current ? FV(t.data.favorites || [], e) : e.favorite ?? (t.data ? FV(t.data.favorites || [], e) : !1);+ let t = MV(!1), n = (0, F.useRef)(t.data), r = NV(), i = t.data && t.data !== n.current ? PV(t.data.favorites || [], e) : e.favorite ?? (t.data ? PV(t.data.favorites || [], e) : !1);return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex min-w-0 flex-col gap-1",children: [- /* @__PURE__ */ (0, I.jsx)(VV, {+ /* @__PURE__ */ (0, I.jsx)(BV, {"data-favorite": "","aria-pressed": !!i,label: `${i ? "取消收藏" : "收藏"}${tn(e.kind, e.name, e.entity_id)}`,- ...AV(r.isPending),+ ...kV(r.isPending),onClick: () => {r.isPending || r.mutate({action: "favorite",@@ -44012,9 +44012,9 @@ function xge({ item: e }) {children: r.isPending ? /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,dangerouslySetInnerHTML: { __html: zs("") }- }) : /* @__PURE__ */ (0, I.jsx)(IV, {})+ }) : /* @__PURE__ */ (0, I.jsx)(FV, {})}),- r.isError ? /* @__PURE__ */ (0, I.jsx)(TV, {+ r.isError ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",children: cr(r.error)}) : null,@@ -44028,33 +44028,33 @@ function xge({ item: e }) {]});}-function UV({ currentHref: e, kind: t }) {+function HV({ currentHref: e, kind: t }) {let [n, r] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-shortcuts-entry": "",children: /* @__PURE__ */ (0, I.jsx)(DL, {"data-shortcuts-trigger": "",label: "我的收藏",- icon: IV,+ icon: FV,"aria-haspopup": "dialog","aria-expanded": n,onPress: () => r(!0)})- }), /* @__PURE__ */ (0, I.jsx)(CV, {+ }), /* @__PURE__ */ (0, I.jsx)(SV, {isOpen: n,onOpenChange: r,width: "collections",label: "我的收藏",- children: n ? /* @__PURE__ */ (0, I.jsx)(Sge, {+ children: n ? /* @__PURE__ */ (0, I.jsx)(Cge, {currentHref: e,kind: t,close: () => r(!1)}) : null})] });}-function Sge({ currentHref: e, kind: t, close: n }) {+function Cge({ currentHref: e, kind: t, close: n }) {bL();- let r = NV(), i = PV(), [a, o] = (0, F.useState)(""), [s, c] = (0, F.useState)(t || "all"), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), p = (0, F.useId)(), [m, h] = (0, F.useState)(() => matchMedia("(max-width: 760px)").matches);+ let r = MV(), i = NV(), [a, o] = (0, F.useState)(""), [s, c] = (0, F.useState)(t || "all"), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), p = (0, F.useId)(), [m, h] = (0, F.useState)(() => matchMedia("(max-width: 760px)").matches);(0, F.useEffect)(() => {let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);@@ -44072,7 +44072,7 @@ function Sge({ currentHref: e, kind: t, close: n }) {}, [s]), (0, F.useLayoutEffect)(() => {x.current?.();});- let C = BV.find(([e]) => e === s)?.[1] || "全部", w = (e) => {+ let C = zV.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;@@ -44095,7 +44095,7 @@ function Sge({ currentHref: e, kind: t, close: n }) {children: [/* @__PURE__ */ (0, I.jsx)("h2", {className: "text-title-2-semibold text-text-primary",children: C- }), /* @__PURE__ */ (0, I.jsx)(kV, {+ }), /* @__PURE__ */ (0, I.jsx)(OV, {label: "关闭我的收藏",onPress: n})]@@ -44125,8 +44125,8 @@ function Sge({ currentHref: e, kind: t, close: n }) {role: "presentation",children: "我的收藏"}),- BV.map(([e, t]) => {- let n = zV[e] || IV, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;+ zV.map(([e, t]) => {+ let n = RV[e] || FV, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",role: "tab",@@ -44158,17 +44158,17 @@ function Sge({ currentHref: e, kind: t, close: n }) {href: "/flagged",onClick: n,children: [- /* @__PURE__ */ (0, I.jsx)(IV, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, I.jsx)(FV, { "aria-hidden": !0 }),"已标记",- /* @__PURE__ */ (0, I.jsx)(LV, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, I.jsx)(IV, { "aria-hidden": !0 })]}), /* @__PURE__ */ (0, I.jsxs)("a", {href: "/watch-later",onClick: n,children: [- /* @__PURE__ */ (0, I.jsx)(bge, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, I.jsx)(xge, { "aria-hidden": !0 }),"稍后看",- /* @__PURE__ */ (0, I.jsx)(LV, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, I.jsx)(IV, { "aria-hidden": !0 })]})]})]@@ -44187,7 +44187,7 @@ function Sge({ currentHref: e, kind: t, close: n }) {"data-skeleton": "",className: "h-12 animate-pulse rounded-lg bg-background-secondary-default"}) : null,- r.isError ? /* @__PURE__ */ (0, I.jsx)(TV, {+ r.isError ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -44196,14 +44196,14 @@ function Sge({ currentHref: e, kind: t, close: n }) {}),children: cr(r.error)}) : null,- i.isError ? /* @__PURE__ */ (0, I.jsx)(TV, {+ i.isError ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",children: cr(i.error)}) : null,E ? s === "filters" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- E.filters.length ? null : /* @__PURE__ */ (0, I.jsx)(EV, {+ E.filters.length ? null : /* @__PURE__ */ (0, I.jsx)(TV, {size: "compact",- icon: OV("list-filter"),+ icon: DV("list-filter"),title: "还没有保存的筛选",actions: /* @__PURE__ */ (0, I.jsx)(FL, {size: "small",@@ -44224,7 +44224,7 @@ function Sge({ currentHref: e, kind: t, close: n }) {variant: "secondary",size: "small","aria-label": `删除筛选${e.name}`,- ...AV(i.isPending),+ ...kV(i.isPending),onClick: () => {i.isPending || i.mutate({action: "delete_filter",@@ -44239,7 +44239,7 @@ function Sge({ currentHref: e, kind: t, close: n }) {className: "flex flex-col gap-3","aria-label": "保存当前筛选",children: [- /* @__PURE__ */ (0, I.jsx)(SV, {+ /* @__PURE__ */ (0, I.jsx)(xV, {label: "筛选名称",value: a,onChange: o,@@ -44248,7 +44248,7 @@ function Sge({ currentHref: e, kind: t, close: n }) {/* @__PURE__ */ (0, I.jsx)(J, {type: "submit",disabled: !a.trim(),- ...AV(i.isPending),+ ...kV(i.isPending),children: "保存当前筛选"}),d ? /* @__PURE__ */ (0, I.jsx)("span", {@@ -44259,16 +44259,16 @@ function Sge({ currentHref: e, kind: t, close: n }) {]}) : null] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(SV, {+ /* @__PURE__ */ (0, I.jsx)(xV, {"aria-label": "搜索收藏",placeholder: "搜索收藏",- leadingIcon: OV("search"),+ leadingIcon: DV("search"),value: l,onChange: u}),- O.length ? null : /* @__PURE__ */ (0, I.jsx)(EV, {+ O.length ? null : /* @__PURE__ */ (0, I.jsx)(TV, {size: "compact",- icon: IV,+ icon: FV,title: l ? "没有匹配的收藏" : E.favorites.length ? "还没有此类收藏" : "还没有收藏",actions: l ? /* @__PURE__ */ (0, I.jsx)(J, {size: "small",@@ -44292,25 +44292,25 @@ function Sge({ currentHref: e, kind: t, close: n }) {"data-shortcuts-row": "",className: "flex min-w-0 items-center justify-between gap-3",children: [/* @__PURE__ */ (0, I.jsxs)("a", {- href: yge(e),+ href: bge(e),"aria-label": tn(e.kind, e.name, e.entity_id),onClick: n,className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",- children: [/* @__PURE__ */ (0, I.jsx)(Cge, { item: e }, e.image_url), /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(wge, { item: e }, e.image_url), /* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "truncate",children: tn(e.kind, e.name, e.entity_id)}), /* @__PURE__ */ (0, I.jsx)("span", {className: "text-caption-1-regular text-text-secondary",- children: e.scope === "online" ? "在线标签" : RV[e.kind]+ children: e.scope === "online" ? "在线标签" : LV[e.kind]})]})]}), /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small","aria-label": `取消收藏${tn(e.kind, e.name, e.entity_id)}`,- ...AV(i.isPending),+ ...kV(i.isPending),onClick: () => {i.isPending || i.mutate({action: "favorite",@@ -44328,8 +44328,8 @@ function Sge({ currentHref: e, kind: t, close: n }) {]});}-function Cge({ item: e }) {- let t = zV[e.kind] || IV;+function wge({ item: e }) {+ let t = RV[e.kind] || FV;return /* @__PURE__ */ (0, I.jsxs)("span", {"data-shortcuts-avatar": "",title: e.image_label || e.name,@@ -44347,11 +44347,11 @@ function Cge({ item: e }) {});}// src/react/components/board-navigation-link.tsx-function wge(e) {+function Tge(e) {return /* @__PURE__ */ (0, I.jsx)("a", { ...e });}// src/react/boardui/components/foundations/icons/chevrons.tsx-function Tge(e) {+function Ege(e) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -44365,7 +44365,7 @@ function Tge(e) {})});}-function Ege(e) {+function Dge(e) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 12 12",fill: "none",@@ -44379,7 +44379,7 @@ function Ege(e) {})});}-function WV(e) {+function UV(e) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -44392,7 +44392,7 @@ function WV(e) {});}// src/react/boardui/components/base/breadcrumb/breadcrumb.tsx-function Dge({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {+function Oge({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {let i = F.Children.toArray(e).filter(F.isValidElement);return /* @__PURE__ */ (0, I.jsx)("nav", {ref: r,@@ -44400,14 +44400,14 @@ function Dge({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: rclassName: q("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),children: /* @__PURE__ */ (0, I.jsx)("ol", {className: "flex items-center gap-2.5 px-1",- children: i.map((e, t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, I.jsx)(Ege, {+ children: i.map((e, t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, I.jsx)(Dge, {className: "size-3 shrink-0 text-text-tertiary","aria-hidden": !0}), e] }, e.key ?? t))})});}-function GV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {+function WV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {let o = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t && /* @__PURE__ */ (0, I.jsx)(t, {className: "size-4 shrink-0","aria-hidden": !0@@ -44420,7 +44420,7 @@ function GV({ children: e, icon: t, href: n, onClick: r, current: i = !1, classNlet s = q("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);return /* @__PURE__ */ (0, I.jsx)("li", {className: "flex items-center",- children: n ? /* @__PURE__ */ (0, I.jsx)(wge, {+ children: n ? /* @__PURE__ */ (0, I.jsx)(Tge, {href: n,className: s,children: o@@ -44433,14 +44433,14 @@ function GV({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN});}// src/react/boardui/components/foundations/direction/direction.tsx-function KV() {- return Uw().direction;+function GV() {+ return Gw().direction;}// src/react/boardui/components/base/dropdown/menu-styles.ts-var qV = "max-w-[calc(100vw-32px)] overflow-y-auto rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown transition duration-150 ease-out data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px] data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px] data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left data-[placement=left]:origin-right data-[placement=right]:origin-left", Oge = "w-[266px]", kge = "flex w-full flex-col gap-1 outline-none", JV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", YV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+var KV = "max-w-[calc(100vw-32px)] overflow-y-auto rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown transition duration-150 ease-out data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px] data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px] data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left data-[placement=left]:origin-right data-[placement=right]:origin-left", kge = "w-[266px]", Age = "flex w-full flex-col gap-1 outline-none", qV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", JV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";// src/react/boardui/components/base/tree-view/tree-view.tsx-function Age({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {- let c = KV(), l = (0, F.useContext)(XL), u = l === JL && !s.dragAndDropHooks ? ZV : l;+function jge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {+ let c = GV(), l = (0, F.useContext)(XL), u = l === JL && !s.dragAndDropHooks ? XV : l;return /* @__PURE__ */ (0, I.jsx)("div", {className: "contents",onKeyDownCapture: (e) => {@@ -44459,21 +44459,21 @@ function Age({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",},children: /* @__PURE__ */ (0, I.jsx)(XL.Provider, {value: u,- children: /* @__PURE__ */ (0, I.jsx)(MB, {+ children: /* @__PURE__ */ (0, I.jsx)(vhe, {...s,ref: o,selectionMode: n,"data-size": e,"data-show-guides": t,renderEmptyState: r,- className: (e) => q("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === ZV ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)+ className: (e) => q("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === XV ? "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 XV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {- let d = KV();- return /* @__PURE__ */ (0, I.jsxs)(bhe, {+function YV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {+ let d = GV();+ return /* @__PURE__ */ (0, I.jsxs)(xhe, {...u,ref: l,textValue: t,@@ -44482,10 +44482,10 @@ function XV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam...typeof c == "function" ? c(e) : c}),className: (e) => q("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),- children: [/* @__PURE__ */ (0, I.jsx)(yhe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {- let f = n === null ? null : o && r ? r : n ?? (t ? o ? XB : JB : Hhe);+ children: [/* @__PURE__ */ (0, I.jsx)(bhe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? YB : qB : Uhe);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(Mge, {+ /* @__PURE__ */ (0, I.jsx)(Nge, {state: l,id: u,level: c,@@ -44499,7 +44499,7 @@ function XV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNamslot: "chevron",isDisabled: s,className: "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground-icon-tertiary outline-none transition-colors hover:text-foreground-icon-primary data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring",- children: /* @__PURE__ */ (0, I.jsx)(LB, {+ children: /* @__PURE__ */ (0, I.jsx)(IB, {"aria-hidden": !0,className: q("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")})@@ -44523,15 +44523,15 @@ function XV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam} }), o]});}-var ZV = {+var XV = {...JL,- CollectionRoot: jge+ CollectionRoot: Mge};-function jge({ collection: e, ...t }) {+function Mge({ collection: e, ...t }) {let n = (0, F.useContext)(jB);- return n ? /* @__PURE__ */ (0, I.jsx)(Px, {+ return n ? /* @__PURE__ */ (0, I.jsx)(Fx, {initial: !1,- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(Nge, {+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(Pge, {state: n,children: e.render?.(e)}, e.key))@@ -44540,7 +44540,7 @@ function jge({ collection: e, ...t }) {...t});}-function Mge({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {+function Nge({ 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;@@ -44599,9 +44599,9 @@ function Mge({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction]});}-function Nge({ state: e, children: t }) {- let n = jx(), r = iS(), [i, a] = (0, F.useState)(e);- return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(gS.div, {+function Pge({ state: e, children: t }) {+ let n = Mx(), r = aS(), [i, a] = (0, F.useState)(e);+ return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(_S.div, {role: "presentation",className: "relative min-w-0 shrink-0 overflow-hidden","data-tree-view-exiting": !n || void 0,@@ -44647,7 +44647,7 @@ function Nge({ state: e, children: t }) {});}// src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var QV = {+var ZV = {md: {box: "size-4",glyph: "size-4",@@ -44661,8 +44661,8 @@ var QV = {gap: "gap-1.5"}};-function $V({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = QV[t], c = n || r, l = o && !a;+function QV({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = ZV[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,className: q("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? q("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : q("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),@@ -44688,13 +44688,13 @@ function $V({ state: e, size: t = "md" }) {});}// src/react/boardui/components/base/checkbox/checkbox.tsx-function eH({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = QV[n];+function $V({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = ZV[n];return /* @__PURE__ */ (0, I.jsx)(vpe, {ref: r,...i,className: (t) => q("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)($V, {+ children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(QV, {state: e,size: n}), t != null && /* @__PURE__ */ (0, I.jsx)("span", {@@ -44704,7 +44704,7 @@ function eH({ className: e, children: t, size: n = "md", ref: r, ...i }) {});}// src/react/components/overlay-scrollbar.ts-function tH() {+function eH() {let e = (0, F.useRef)(null), t = (0, F.useRef)(null);return (0, F.useEffect)(() => {t.current?.node !== e.current && (t.current?.control?.destroy(), t.current = e.current ? {@@ -44716,43 +44716,43 @@ function tH() {}, []), e;}// src/react/providers.tsx-var nH = null;-function Pge() {- return nH?.isConnected || (nH = document.createElement("div"), nH.className = "peach-react", nH.dataset.reactOverlays = "", document.body.append(nH)), nH;+var tH = null;+function Fge() {+ return tH?.isConnected || (tH = document.createElement("div"), tH.className = "peach-react", tH.dataset.reactOverlays = "", document.body.append(tH)), tH;}-function rH({ children: e }) {+function nH({ children: e }) {return /* @__PURE__ */ (0, I.jsx)(oe, {client: H,- children: /* @__PURE__ */ (0, I.jsx)(Gre, {+ children: /* @__PURE__ */ (0, I.jsx)(Wre, {reducedMotion: "user",- children: /* @__PURE__ */ (0, I.jsx)(MD, {- getContainer: Pge,+ children: /* @__PURE__ */ (0, I.jsx)(PD, {+ getContainer: Fge,children: e})})});}// node_modules/sonner/dist/index.mjs-function Fge(e) {+function Ige(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 Ige = (e) => {+var Lge = (e) => {switch (e) {- case "success": return zge;- case "info": return Vge;- case "warning": return Bge;- case "error": return Hge;+ case "success": return Bge;+ case "info": return Hge;+ case "warning": return Vge;+ case "error": return Uge;default: return null;}-}, Lge = Array(12).fill(0), Rge = ({ visible: e, className: t }) => /*#__PURE__*/ F.createElement("div", {+}, Rge = Array(12).fill(0), zge = ({ visible: e, className: t }) => /*#__PURE__*/ F.createElement("div", {className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),"data-visible": e-}, /*#__PURE__*/ F.createElement("div", { className: "sonner-spinner" }, Lge.map((e, t) => /*#__PURE__*/ F.createElement("div", {+}, /*#__PURE__*/ F.createElement("div", { className: "sonner-spinner" }, Rge.map((e, t) => /*#__PURE__*/ F.createElement("div", {className: "sonner-loading-bar",key: `spinner-bar-${t}`-})))), zge = /*#__PURE__*/ F.createElement("svg", {+})))), Bge = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44763,7 +44763,7 @@ var Ige = (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"-})), Bge = /*#__PURE__*/ F.createElement("svg", {+})), Vge = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 24 24",fill: "currentColor",@@ -44774,7 +44774,7 @@ var Ige = (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"-})), Vge = /*#__PURE__*/ F.createElement("svg", {+})), Hge = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44785,7 +44785,7 @@ var Ige = (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"-})), Hge = /*#__PURE__*/ F.createElement("svg", {+})), Uge = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44796,7 +44796,7 @@ var Ige = (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"-})), Uge = /*#__PURE__*/ F.createElement("svg", {+})), Wge = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",width: "12",height: "12",@@ -44817,7 +44817,7 @@ var Ige = (e) => {y1: "6",x2: "18",y2: "18"-})), Wge = () => {+})), Gge = () => {let [e, t] = F.useState(document.hidden);return F.useEffect(() => {let e = () => {@@ -44825,7 +44825,7 @@ var Ige = (e) => {};return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);}, []), e;-}, Gge = 1, Kge = 100, iH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Gge++, aH = new class {+}, Kge = 1, qge = 100, rH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Kge++, iH = new class {constructor() {this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {let t = this.subscribers.indexOf(e);@@ -44835,10 +44835,10 @@ var Ige = (e) => {}, this.addToast = (e) => {this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();}, this.trimHistory = () => {- let e = this.toasts.length - Kge;+ let e = this.toasts.length - qge;e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));}, this.create = (e) => {- let { message: t, ...n } = e, r = iH(e), i = this.pendingDismissals.get(r);+ let { message: t, ...n } = e, r = rH(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({@@ -44913,7 +44913,7 @@ var Ige = (e) => {type: "default",message: e});- else if (Jge(e) && !e.ok) {+ else if (Yge(e) && !e.ok) {i = !1;let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !F.isValidElement(r) ? r : { message: r };this.create({@@ -44957,7 +44957,7 @@ var Ige = (e) => {}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });}, this.custom = (e, t) => {- let n = iH(t);+ let n = rH(t);return this.create({...t,jsx: e(n),@@ -44966,34 +44966,34 @@ var Ige = (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();}-}(), qge = (e, t) => aH.message(e, t), Jge = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", oH = Object.assign(qge, {- success: aH.success,- info: aH.info,- warning: aH.warning,- error: aH.error,- custom: aH.custom,- message: aH.message,- promise: aH.promise,- dismiss: aH.dismiss,- loading: aH.loading+}(), Jge = (e, t) => iH.message(e, t), Yge = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", aH = Object.assign(Jge, {+ success: iH.success,+ info: iH.info,+ warning: iH.warning,+ error: iH.error,+ custom: iH.custom,+ message: iH.message,+ promise: iH.promise,+ dismiss: iH.dismiss,+ loading: iH.loading}, {- getHistory: () => aH.toasts,- getToasts: () => aH.getActiveToasts()+ getHistory: () => iH.toasts,+ getToasts: () => iH.getActiveToasts()});-Fge("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");-function sH(e) {+Ige("[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 oH(e) {return e.label !== void 0;}-var Yge = 3, Xge = "24px", Zge = "16px", cH = 4e3, Qge = 356, $ge = 14, e_e = 45, t_e = 200;-function lH(...e) {+var Xge = 3, Zge = "24px", Qge = "16px", sH = 4e3, $ge = 356, e_e = 14, t_e = 45, n_e = 200;+function cH(...e) {return e.filter(Boolean).join(" ");}-function n_e(e) {+function r_e(e) {let [t, n] = e.split("-"), r = [];return t && r.push(t), n && r.push(n), r;}-var r_e = (e) => {- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = F.useState(null), [O, k] = F.useState(null), [A, j] = F.useState(!1), [M, ee] = F.useState(!1), [N, te] = F.useState(!1), [P, ne] = F.useState(!1), [re, I] = F.useState(!1), [ie, ae] = F.useState(0), [oe, se] = F.useState(0), ce = F.useRef(n.duration || y || cH), le = F.useRef(null), ue = F.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = F.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = F.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = F.useMemo(() => n.duration || y || cH, [n.duration, y]), xe = F.useRef(0), Se = F.useRef(0), Ce = F.useRef(0), we = F.useRef(null), [Te, Ee] = b.split("-"), De = F.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = Wge(), ke = F.useMemo(() => e.swipeDirections ?? n_e(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";+var i_e = (e) => {+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = F.useState(null), [O, k] = F.useState(null), [A, j] = F.useState(!1), [M, ee] = F.useState(!1), [N, te] = F.useState(!1), [P, ne] = F.useState(!1), [re, I] = F.useState(!1), [ie, ae] = F.useState(0), [oe, se] = F.useState(0), ce = F.useRef(n.duration || y || sH), le = F.useRef(null), ue = F.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = F.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = F.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = F.useMemo(() => n.duration || y || sH, [n.duration, y]), xe = F.useRef(0), Se = F.useRef(0), Ce = F.useRef(0), we = F.useRef(null), [Te, Ee] = b.split("-"), De = F.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = Gge(), ke = F.useMemo(() => e.swipeDirections ?? r_e(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";Se.current = F.useMemo(() => ve * x + De, [ve, De]), F.useEffect(() => {ce.current = be;}, [be]), F.useEffect(() => {@@ -45034,7 +45034,7 @@ var r_e = (e) => {let Me = F.useCallback(() => {ee(!0), ae(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {d(n);- }, t_e);+ }, n_e);}, [n,d,@@ -45065,18 +45065,18 @@ var r_e = (e) => {}, [Me, n.delete]);function Ne() {return w?.loading ? /*#__PURE__*/ F.createElement("div", {- className: lH(C?.loader, n?.classNames?.loader, "sonner-loader"),+ className: cH(C?.loader, n?.classNames?.loader, "sonner-loader"),"data-visible": pe === "loading"- }, w.loading) : /*#__PURE__*/ F.createElement(Rge, {- className: lH(C?.loader, n?.classNames?.loader),+ }, w.loading) : /*#__PURE__*/ F.createElement(zge, {+ className: cH(C?.loader, n?.classNames?.loader),visible: pe === "loading"});}- let Pe = n.icon || w?.[pe] || Ige(pe);+ let Pe = n.icon || w?.[pe] || Lge(pe);return /*#__PURE__*/ F.createElement("li", {tabIndex: 0,ref: ue,- className: lH(_, ge, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),+ className: cH(_, ge, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),"data-sonner-toast": "","data-rich-colors": n.richColors ?? f,"data-styled": !(n.jsx || n.unstyled || r),@@ -45119,7 +45119,7 @@ var r_e = (e) => {if (P || !he) return;we.current = null;let e = Number(ue.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ue.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;- if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= e_e || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), ne(!0);+ if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= t_e || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), ne(!0);else {var o, s;(o = ue.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = ue.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), I(!1), te(!1), D(null);@@ -45158,46 +45158,46 @@ var r_e = (e) => {onClick: je || !he ? () => {} : () => {Me(), n.onDismiss == null || n.onDismiss.call(n, n);},- className: lH(C?.closeButton, n?.classNames?.closeButton)- }, w?.close ?? Uge) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ F.createElement("div", {+ className: cH(C?.closeButton, n?.classNames?.closeButton)+ }, w?.close ?? Wge) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ F.createElement("div", {"data-icon": "",- className: lH(C?.icon, n?.classNames?.icon)+ className: cH(C?.icon, n?.classNames?.icon)}, pe === "loading" ? n.icon || Ne() : n.promise ? Ne() : null, pe === "loading" ? null : Pe) : null, /*#__PURE__*/ F.createElement("div", {"data-content": "",- className: lH(C?.content, n?.classNames?.content)+ className: cH(C?.content, n?.classNames?.content)}, /*#__PURE__*/ F.createElement("div", {"data-title": "",- className: lH(C?.title, n?.classNames?.title)+ className: cH(C?.title, n?.classNames?.title)}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ F.createElement("div", {"data-description": "",- className: lH(v, _e, C?.description, n?.classNames?.description)- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ F.isValidElement(n.cancel) ? n.cancel : n.cancel && sH(n.cancel) ? /*#__PURE__*/ F.createElement("button", {+ className: cH(v, _e, C?.description, n?.classNames?.description)+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ F.isValidElement(n.cancel) ? n.cancel : n.cancel && oH(n.cancel) ? /*#__PURE__*/ F.createElement("button", {"data-button": !0,"data-cancel": !0,style: n.cancelButtonStyle || h,onClick: (e) => {- sH(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());+ oH(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());},- className: lH(C?.cancelButton, n?.classNames?.cancelButton)- }, n.cancel.label) : null, /*#__PURE__*/ F.isValidElement(n.action) ? n.action : n.action && sH(n.action) ? /*#__PURE__*/ F.createElement("button", {+ className: cH(C?.cancelButton, n?.classNames?.cancelButton)+ }, n.cancel.label) : null, /*#__PURE__*/ F.isValidElement(n.action) ? n.action : n.action && oH(n.action) ? /*#__PURE__*/ F.createElement("button", {"data-button": !0,"data-action": !0,style: n.actionButtonStyle || g,onClick: (e) => {- sH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());+ oH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());},- className: lH(C?.actionButton, n?.classNames?.actionButton)+ className: cH(C?.actionButton, n?.classNames?.actionButton)}, n.action.label) : null);};-function uH() {+function lH() {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 i_e(e, t) {+function a_e(e, t) {let n = {};return [e, t].forEach((e, t) => {- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Zge : Xge;+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Qge : Zge;function o(e) {["top",@@ -45218,11 +45218,11 @@ function i_e(e, t) {}) : o(a);}), n;}-var dH = /*#__PURE__*/ F.forwardRef(function(e, t) {- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = Yge, toastOptions: g, dir: _ = uH(), gap: v = $ge, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = F.useState([]), w = F.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = F.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = F.useState([]), [O, k] = F.useState(!1), [A, j] = F.useState(!1), [M, ee] = F.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), N = F.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = F.useRef(null), ne = F.useRef(!1), re = F.useCallback((e) => {- C((t) => (t.find((t) => t.id === e.id)?.delete || aH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));+var uH = /*#__PURE__*/ F.forwardRef(function(e, t) {+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = Xge, toastOptions: g, dir: _ = lH(), gap: v = e_e, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = F.useState([]), w = F.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = F.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = F.useState([]), [O, k] = F.useState(!1), [A, j] = F.useState(!1), [M, ee] = F.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), N = F.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = F.useRef(null), ne = F.useRef(!1), re = F.useCallback((e) => {+ C((t) => (t.find((t) => t.id === e.id)?.delete || iH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));}, []);- return F.useEffect(() => aH.subscribe((e) => {+ return F.useEffect(() => iH.subscribe((e) => {e.dismiss ? requestAnimationFrame(() => {C((t) => t.map((t) => t.id === e.id ? {...t,@@ -45291,7 +45291,7 @@ var dH = /*#__PURE__*/ F.forwardRef(function(e, t) {let [i, a] = t.split("-");return w.length ? /*#__PURE__*/ F.createElement("ol", {key: t,- dir: _ === "auto" ? uH() : _,+ dir: _ === "auto" ? lH() : _,tabIndex: -1,ref: N,className: c,@@ -45301,10 +45301,10 @@ var dH = /*#__PURE__*/ F.forwardRef(function(e, t) {"data-x-position": a,style: {"--front-toast-height": `${E[0]?.height || 0}px`,- "--width": `${Qge}px`,+ "--width": `${$ge}px`,"--gap": `${v}px`,...m,- ...i_e(l, u)+ ...a_e(l, u)},onBlur: (e) => {ne.current && !e.currentTarget.contains(e.relatedTarget) && (ne.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));@@ -45322,7 +45322,7 @@ var dH = /*#__PURE__*/ F.forwardRef(function(e, t) {e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);},onPointerUp: () => j(!1)- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ F.createElement(r_e, {+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ F.createElement(i_e, {key: n.id,icons: y,index: i,@@ -45352,35 +45352,35 @@ var dH = /*#__PURE__*/ F.forwardRef(function(e, t) {swipeDirections: e.swipeDirections}))) : null;}));-}), fH = "/api/library-processing", pH = ["library-processing"], a_e = (e, t, n) => {+}), dH = "/api/library-processing", fH = ["library-processing"], o_e = (e, t, n) => {let r = new URLSearchParams({estimate: "1",stage: e.stage || "all"});- return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), e.scope && r.set("scope", e.scope), e.incremental && r.set("incremental", "1"), n && r.set("inventory", n), B(`${fH}?${r}`, t);-}, o_e = {+ return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), e.scope && r.set("scope", e.scope), e.incremental && r.set("incremental", "1"), n && r.set("inventory", n), B(`${dH}?${r}`, t);+}, s_e = {fetching_cover: "封面",querying_metadata: "资料"};-function mH(e) {+function pH(e) {if (e?.status !== "running" || e.current_asset_id == null) return null;- let t = o_e[e.current_action || ""];+ let t = s_e[e.current_action || ""];return !t || (e.waited_seconds || 0) < 120 ? null : {what: t,source: e.current_source};}-function hH({ what: e, source: t }) {+function mH({ what: e, source: t }) {return `${`${t?.label ? `${t.label} ` : "外部来源"}迟迟没有返回${e}`}。可以先跳过这部,任务结束后再重试。`;}-var gH = (e) => !!e && [+var hH = (e) => !!e && ["running","pausing","paused","stopping"-].includes(e.status), _H = (e) => e?.status === "failed" && e.outcome === "partial", vH = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", yH = "/?loc=&thumb=0";-function bH(e) {- if (!gH(e)) return "";+].includes(e.status), gH = (e) => e?.status === "failed" && e.outcome === "partial", _H = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", vH = "/?loc=&thumb=0";+function yH(e) {+ if (!hH(e)) return "";if (e.status === "stopping") return "正在取消,等待当前步骤退出;已取得的结果会保留";if (e.status === "paused") return "已暂停,继续后更新预估";if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";@@ -45391,30 +45391,30 @@ function bH(e) {let r = n >= 86400 ? 86400 : n >= 3600 ? 3600 : 60, i = r === 86400 ? "天" : r === 3600 ? "小时" : "分钟", a = r === 60 ? 1 : 10, o = Math.max(1 / a, Math.floor(t / r * a) / a), s = Math.max(o, Math.ceil(n / r * a) / a);return `预计剩余约 ${o === s ? `${s}` : `${o}–${s}`} ${i}${e.eta_initial || e.eta_kind !== "measured" ? "(粗估)" : ""}${e.eta_scope ? ` · ${e.eta_scope}` : ""}`;}-var xH = (e) => B(fH, e);-async function SH(e) {+var bH = (e) => B(dH, e);+async function xH(e) {await H.fetchQuery({- queryKey: pH,- queryFn: () => xH(e)+ queryKey: fH,+ queryFn: () => bH(e)});}-var s_e = 2e3, c_e = 1e4, CH = "连接中断,正在重新读取处理进度", l_e = {+var c_e = 2e3, l_e = 1e4, SH = "连接中断,正在重新读取处理进度", u_e = {manual: "在网页发起",scheduled: "定时发起",startup: "服务启动时自动发起",cli: "由命令行或托盘发起"};-function u_e(e, t) {+function d_e(e, t) {return `保存后 Peach 会重新启动。${e.trigger === "cli" ? "这个任务由命令行或托盘发起,在独立进程里运行,不受重启影响。" : e.status === "paused" ? "已暂停的任务会保持暂停,重启后点继续即可接着处理。" : "正在进行的任务会随重启中断,重启后从中断处继续。"}${t ? "勾选的「保存后扫描并补全资料」会排在当前任务之后。" : ""}`;}-function d_e(e) {- let t = l_e[e.trigger || ""];+function f_e(e) {+ let t = u_e[e.trigger || ""];return `当前的扫描与采集任务${t ? `(${t})` : ""}还没结束,等它完成或取消后再开始新的同步`;}-function wH(e, t) {- return gH(e) ? s_e : t ? c_e : !1;+function CH(e, t) {+ return hH(e) ? c_e : t ? l_e : !1;}-var f_e = {+var p_e = {scanning_files: "扫描文件",reading_local: "检查配套文件",reading_local_cover: "读取配套图片",@@ -45423,25 +45423,25 @@ var f_e = {skipped: "已跳过",generating_preview: "生成视频预览",writing_candidates: "保存待确认资料"-}, TH = {+}, wH = {querying_metadata: "没有资料",fetching_cover: "没有封面"};-function p_e(e) {- let t = Object.entries(e).filter(([e, t]) => TH[e] && t > 0).map(([e, t]) => `${TH[e]} ${t.toLocaleString()} 部`);+function m_e(e) {+ let t = Object.entries(e).filter(([e, t]) => wH[e] && t > 0).map(([e, t]) => `${wH[e]} ${t.toLocaleString()} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function m_e(e) {+function h_e(e) {if (e.status === "paused") return "已暂停";if (e.status === "pausing") return "正在暂停";- let t = f_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${mL(e.waited_seconds)}` : "";+ let t = p_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${mL(e.waited_seconds)}` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}-function h_e(e) {+function g_e(e) {let t = e.total ? `${hL(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";- return m_e(e) + (t ? ` · ${t}` : "");+ return h_e(e) + (t ? ` · ${t}` : "");}-function g_e(e) {+function __e(e) {let t = e.issue_preview || [];return t.length ? {label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,@@ -45455,22 +45455,22 @@ function g_e(e) {log: e.issues_log || ""} : null;}-var EH = "peach.library-processing.announced", __e = 120;-function DH(e) {+var TH = "peach.library-processing.announced", v_e = 120;+function EH(e) {let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;- return !!e.job_id && t >= 0 && t < __e;+ return !!e.job_id && t >= 0 && t < v_e;}-function v_e(e, t, n) {- if (e.status === "complete" && (n || DH(e))) {+function y_e(e, t, n) {+ if (e.status === "complete" && (n || EH(e))) {try {- if (e.job_id && localStorage.getItem(EH) === e.job_id) return;- e.job_id && localStorage.setItem(EH, e.job_id);+ if (e.job_id && localStorage.getItem(TH) === e.job_id) return;+ e.job_id && localStorage.setItem(TH, e.job_id);} catch {}e.requested_stage === "previews" ? t(`视频预览已生成:${e.previews || 0} 部`) : t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条` + (e.previews ? `,生成 ${e.previews} 部视频预览` : ""));}}// src/react/boardui/components/base/buttons/link-button.tsx-var OH = XI({+var DH = XI({base: "inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans select-none cursor-pointer rounded-sm underline-offset-3 hover:underline transition-colors duration-150 ease outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring disabled:cursor-not-allowed disabled:no-underline aria-disabled:cursor-not-allowed aria-disabled:no-underline",size: {medium: "text-body-medium",@@ -45487,15 +45487,15 @@ var OH = XI({secondary: "text-text-secondary active:text-text-primary disabled:text-text-tertiary aria-disabled:text-text-tertiary"}});-function kH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = q(OH.base, OH.size[t], OH.variant[e], a), l = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [+function OH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = q(DH.base, DH.size[t], DH.variant[e], a), l = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n ? /* @__PURE__ */ (0, I.jsx)(n, {- className: OH.icon[t],+ className: DH.icon[t],"aria-hidden": !0}) : null,i != null && /* @__PURE__ */ (0, I.jsx)("span", { children: i }),r ? /* @__PURE__ */ (0, I.jsx)(r, {- className: OH.icon[t],+ className: DH.icon[t],"aria-hidden": !0}) : null] });@@ -45521,7 +45521,7 @@ function kH({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili});}// src/react/settings/use-action.ts-function AH(e = "") {+function kH(e = "") {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(""), [i, a] = (0, F.useState)(e);(0, F.useEffect)(() => () => t.current?.abort(), []);async function o(e, n, i, o) {@@ -45546,10 +45546,10 @@ function AH(e = "") {};}// src/react/library-processing/slow-item.tsx-function jH({ state: e }) {- let t = AH(), n = (e) => {- t.busy || t.run(e.action, (t) => V(fH, e, "POST", t), (e) => {- H.setQueryData(pH, e), H.invalidateQueries({ queryKey: pH });+function AH({ state: e }) {+ let t = kH(), n = (e) => {+ t.busy || t.run(e.action, (t) => V(dH, e, "POST", t), (e) => {+ H.setQueryData(fH, e), H.invalidateQueries({ queryKey: fH });});};return /* @__PURE__ */ (0, I.jsxs)("div", {@@ -45561,7 +45561,7 @@ function jH({ state: e }) {size: "small",variant: "secondary",disabled: e.skip_requested,- ...AV(t.busy === "skip_current"),+ ...kV(t.busy === "skip_current"),onClick: () => {e.job_id && e.current_asset_id != null && n({action: "skip_current",@@ -45585,37 +45585,37 @@ function jH({ state: e }) {]});}-function y_e({ state: e, slow: t }) {- return /* @__PURE__ */ (0, I.jsx)(TV, {+function b_e({ state: e, slow: t }) {+ return /* @__PURE__ */ (0, I.jsx)(wV, {tone: "warning",- action: /* @__PURE__ */ (0, I.jsx)(jH, { state: e }),- children: hH(t)+ action: /* @__PURE__ */ (0, I.jsx)(AH, { state: e }),+ children: mH(t)});}-function b_e({ state: e, slow: t }) {+function x_e({ state: e, slow: t }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-processing-slow": "",className: "flex min-w-0 flex-wrap items-center justify-between gap-3",children: [/* @__PURE__ */ (0, I.jsx)("p", {className: "min-w-0 flex-auto text-body-2-regular wrap-anywhere",- children: hH(t)- }), /* @__PURE__ */ (0, I.jsx)(jH, { state: e })]+ children: mH(t)+ }), /* @__PURE__ */ (0, I.jsx)(AH, { state: e })]});}// src/react/components/use-moving-surface.ts-var x_e = {+var S_e = {selection: {- type: Ng,+ type: Mg,duration: .16,bounce: 0},hover: {- type: Ng,+ type: Mg,duration: .08,bounce: 0}};-function MH(e) {+function jH(e) {let [t, n] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {if (!t) return;@@ -45636,7 +45636,7 @@ function MH(e) {let E = `translate(${b}px, ${x}px) scale(1, 1)`;if (u && a && !r.matches && T && s !== h) {let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;- l = Qie(n, { transform: [r, E] }, x_e[e]);+ l = Zie(n, { transform: [r, E] }, S_e[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -45672,24 +45672,24 @@ function MH(e) {}, [t, e]), n;}// src/react/components/menu-dialog.tsx-function NH(e) {- let t = MH("hover");+function MH(e) {+ let t = jH("hover");return /* @__PURE__ */ (0, I.jsx)(Vz, {...e,ref: t});}// src/react/library-processing/processing-effort.tsx-var PH = [+var NH = ["low","standard","high"-], FH = [+], PH = ["低占用","标准","全速"-], IH = OV("snail"), LH = OV("zap");-function RH({ className: e }) {+], FH = DV("snail"), IH = DV("zap");+function LH({ className: e }) {return /* @__PURE__ */ (0, I.jsxs)("svg", {className: `processing-effort-double ${e ?? ""}`,"aria-hidden": "true",@@ -45720,12 +45720,12 @@ function RH({ className: e }) {]});}-var S_e = [+var C_e = [+ FH,IH,- LH,- RH+ LH];-function C_e({ animate: e }) {+function w_e({ animate: e }) {let [t, n] = (0, F.useState)(document.hidden);return (0, F.useEffect)(() => {let e = () => n(document.hidden);@@ -45757,8 +45757,8 @@ function C_e({ animate: e }) {} }, t))]});}-function zH({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = Math.max(0, PH.indexOf(e)), [a, o] = (0, F.useState)(i);+function RH({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = Math.max(0, NH.indexOf(e)), [a, o] = (0, F.useState)(i);return (0, F.useEffect)(() => {t || o(i);}, [i, t]), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -45769,7 +45769,7 @@ function zH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "text-text-tertiary",children: "处理强度 "- }), FH[a]]+ }), PH[a]]}),/* @__PURE__ */ (0, I.jsxs)("div", {className: "processing-effort-scale text-caption-1-regular text-text-tertiary",@@ -45777,15 +45777,15 @@ function zH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-selected": a === 0 || void 0,- children: [/* @__PURE__ */ (0, I.jsx)(IH, {}), "最慢"]+ children: [/* @__PURE__ */ (0, I.jsx)(FH, {}), "最慢"]}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-selected": a === 1 || void 0,- children: [/* @__PURE__ */ (0, I.jsx)(LH, {}), "标准"]+ children: [/* @__PURE__ */ (0, I.jsx)(IH, {}), "标准"]}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-selected": a === 2 || void 0,- children: [/* @__PURE__ */ (0, I.jsx)(RH, {}), "最快"]+ children: [/* @__PURE__ */ (0, I.jsx)(LH, {}), "最快"]})]}),@@ -45798,7 +45798,7 @@ function zH({ value: e, busy: t, onChange: n, animate: r = !0 }) {isDisabled: t,onChange: o,onChangeEnd: (e) => {- e !== i && n(PH[e]);+ e !== i && n(NH[e]);},className: "processing-effort-slider",children: [/* @__PURE__ */ (0, I.jsx)($L, {@@ -45821,11 +45821,11 @@ function zH({ value: e, busy: t, onChange: n, animate: r = !0 }) {/* @__PURE__ */ (0, I.jsx)("i", {})]}),- a === 2 ? /* @__PURE__ */ (0, I.jsx)(C_e, { animate: r }) : null,+ a === 2 ? /* @__PURE__ */ (0, I.jsx)(w_e, { animate: r }) : null,/* @__PURE__ */ (0, I.jsx)(kpe, {className: "processing-effort-hit",children: /* @__PURE__ */ (0, I.jsx)(Ape, {- "aria-label": FH[a],+ "aria-label": PH[a],className: "processing-effort-thumb"})})@@ -45839,8 +45839,8 @@ function zH({ value: e, busy: t, onChange: n, animate: r = !0 }) {]});}-function w_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(!1), s = Math.max(0, PH.indexOf(e));+function T_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(!1), s = Math.max(0, NH.indexOf(e));return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "processing-effort-trigger","data-speed": e,@@ -45848,16 +45848,16 @@ function w_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {ref: i,size: "small",variant: "secondary",- "aria-label": `处理速度:${FH[s]}`,+ "aria-label": `处理速度:${PH[s]}`,"aria-haspopup": "dialog","aria-expanded": a,"aria-disabled": t,- leadingIcon: S_e[s],- trailingIcon: FB,+ leadingIcon: C_e[s],+ trailingIcon: PB,onClick: () => {t || o(!a);},- children: FH[s]+ children: PH[s]})}), /* @__PURE__ */ (0, I.jsx)(Oz, {triggerRef: i,@@ -45865,11 +45865,11 @@ function w_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {onOpenChange: o,placement: "top start",offset: 8,- className: qV,- children: /* @__PURE__ */ (0, I.jsx)(NH, {+ className: KV,+ children: /* @__PURE__ */ (0, I.jsx)(MH, {"aria-label": "处理速度",className: "outline-none",- children: /* @__PURE__ */ (0, I.jsx)(zH, {+ children: /* @__PURE__ */ (0, I.jsx)(RH, {value: e,busy: t,onChange: n,@@ -45879,10 +45879,10 @@ function w_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {})] });}// src/react/library-processing/processing-controls.tsx-function BH({ state: e, disabled: t = !1 }) {- let n = AH(), r = (0, F.useRef)(!1), i = gH(e), a = e.status === "stopping", o = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", s = a ? "正在取消" : "取消任务", c = (e) => {- t || n.busy || n.run(e.action, (t) => V(fH, e, "POST", t), (e) => {- H.setQueryData(pH, e), H.invalidateQueries({ queryKey: pH });+function zH({ state: e, disabled: t = !1 }) {+ let n = kH(), r = (0, F.useRef)(!1), i = hH(e), a = e.status === "stopping", o = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", s = a ? "正在取消" : "取消任务", c = (e) => {+ t || n.busy || n.run(e.action, (t) => V(dH, e, "POST", t), (e) => {+ H.setQueryData(fH, e), H.invalidateQueries({ queryKey: fH });});}, l = () => {let i = e.job_id;@@ -45906,7 +45906,7 @@ function BH({ state: e, disabled: t = !1 }) {children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, I.jsx)(w_e, {+ /* @__PURE__ */ (0, I.jsx)(T_e, {value: e.speed_mode || "standard",busy: t || !!n.busy || a,animate: e.status !== "paused" && e.status !== "pausing",@@ -45920,11 +45920,11 @@ function BH({ state: e, disabled: t = !1 }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: e.status === "paused" ? rV : tV,+ leadingIcon: e.status === "paused" ? nV : eV,"aria-label": o,title: o,disabled: t || !e.job_id || e.status === "pausing" || a,- ...AV(n.busy === "pause" || n.busy === "resume"),+ ...kV(n.busy === "pause" || n.busy === "resume"),onClick: () => {e.job_id && c({action: e.status === "paused" ? "resume" : "pause",@@ -45936,11 +45936,11 @@ function BH({ state: e, disabled: t = !1 }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: uV,+ leadingIcon: lV,"aria-label": s,title: s,disabled: t || !e.job_id || a,- ...AV(n.busy === "cancel"),+ ...kV(n.busy === "cancel"),onClick: l}) : null]@@ -45952,11 +45952,11 @@ function BH({ state: e, disabled: t = !1 }) {});}// src/react/library-processing/use-library-processing.ts-function VH({ toast: e, mode: t, monitor: n }) {+function BH({ toast: e, mode: t, monitor: n }) {let r = t === "notice" || !!n, i = Pt({- queryKey: pH,- queryFn: ({ signal: e }) => xH(e),- refetchInterval: (e) => wH(e.state.data, r)+ queryKey: fH,+ queryFn: ({ signal: e }) => bH(e),+ refetchInterval: (e) => CH(e.state.data, r)}), [a, o] = (0, F.useState)(null), s = (0, F.useRef)(void 0), c = i.data;return (0, F.useEffect)(() => {if (!c) return;@@ -45967,8 +45967,8 @@ function VH({ toast: e, mode: t, monitor: n }) {"pausing","paused","stopping"- ].includes(n) && !gH(c);- r && o(c), (r || t === "notice") && v_e(c, e, r);+ ].includes(n) && !hH(c);+ r && o(c), (r || t === "notice") && y_e(c, e, r);}, [c,t,@@ -45980,38 +45980,38 @@ function VH({ toast: e, mode: t, monitor: n }) {};}// src/react/components/card.tsx-var T_e = "min-w-0", E_e = {+var E_e = "min-w-0", D_e = {filled: "bg-background-secondary-default",outlined: "border border-separator-border bg-background-primary-default",raised: "bg-background-primary-default"-}, D_e = {+}, O_e = {default: "rounded-2xl shadow-card",chart: "rounded-2-5xl",surface: "rounded-surface",plain: "rounded-2xl"-}, O_e = {+}, k_e = {line: "border border-border-button-default",soft: "border border-separator-border",error: "border border-border-error-default"-}, k_e = {+}, A_e = {none: "",default: "p-5"-}, A_e = "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", j_e = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";-function HH(e = {}) {+}, j_e = "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", M_e = "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 VH(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 [- T_e,- E_e[t],- D_e[s],- k_e[n],- a ? O_e[a] : "",- r ? A_e : "",- i ? j_e : "",+ E_e,+ D_e[t],+ O_e[s],+ A_e[n],+ a ? k_e[a] : "",+ r ? j_e : "",+ i ? M_e : "",o ?? ""].filter(Boolean).join(" ");}// src/react/components/loading-dots.tsx-function UH({ label: e }) {+function HH({ label: e }) {return /* @__PURE__ */ (0, I.jsxs)("p", {role: "status",className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",@@ -46030,21 +46030,21 @@ function UH({ label: e }) {});}// src/react/components/progress.tsx-var WH = 100, M_e = .4;-function GH({ label: e, value: t, max: n = 100, stops: r = [] }) {- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * WH;+var UH = 100, N_e = .4;+function WH({ 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 * UH;return /* @__PURE__ */ (0, I.jsxs)("svg", {role: "progressbar","aria-label": e,"aria-valuemin": 0,"aria-valuemax": i,"aria-valuenow": a(t),- viewBox: `0 0 ${WH} 1`,+ viewBox: `0 0 ${UH} 1`,preserveAspectRatio: "none",className: "h-1.5 w-full overflow-hidden rounded-full",children: [/* @__PURE__ */ (0, I.jsx)("rect", {- width: WH,+ width: UH,height: 1,className: "fill-background-tertiary-default"}),@@ -46055,7 +46055,7 @@ function GH({ label: e, value: t, max: n = 100, stops: r = [] }) {}),r.map((e) => /* @__PURE__ */ (0, I.jsx)("rect", {x: o(e),- width: M_e,+ width: N_e,height: 1,className: "fill-background-secondary-default"}, e))@@ -46063,26 +46063,26 @@ function GH({ label: e, value: t, max: n = 100, stops: r = [] }) {});}// src/react/components/task-progress.tsx-function KH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {+function GH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-task-progress": !0,- className: r ? "flex flex-col gap-1.5" : HH({+ className: r ? "flex flex-col gap-1.5" : VH({variant: "outlined",padding: "none",className: "flex flex-col gap-1.5 px-4 py-3.5"}),- children: n && n > 0 ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(GH, {+ children: n && n > 0 ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(WH, {label: e,value: t,max: n}), /* @__PURE__ */ (0, I.jsx)("p", {className: "text-caption-1-regular text-text-secondary wrap-anywhere",children: e- })] }) : /* @__PURE__ */ (0, I.jsx)(UH, { label: e })+ })] }) : /* @__PURE__ */ (0, I.jsx)(HH, { label: e })});}// src/react/library-processing/processing-line.tsx-function qH(e) {+function KH(e) {let [t, n] = (0, F.useState)({snapshot: e,seconds: 0@@ -46098,17 +46098,17 @@ function qH(e) {return () => window.clearInterval(r);}, [e, i]);let a = i && t.snapshot === e ? t.seconds : 0;- return h_e(a ? {+ return g_e(a ? {...e,waited_seconds: r + a} : e);}-function N_e({ state: e }) {- return qH(e);-}function P_e({ state: e }) {- let t = qH(e);- return /* @__PURE__ */ (0, I.jsx)(KH, {+ return KH(e);+}+function F_e({ state: e }) {+ let t = KH(e);+ return /* @__PURE__ */ (0, I.jsx)(GH, {embedded: !0,label: t,value: Math.min(e.checked || 0, e.total || 0),@@ -46116,7 +46116,7 @@ function P_e({ state: e }) {});}// src/react/components/collapse-region.tsx-function JH({ open: e, children: t, ...n }) {+function qH({ open: e, children: t, ...n }) {let r = (0, F.useRef)(null), i = (0, F.useRef)(!1);return (0, F.useLayoutEffect)(() => {let t = r.current;@@ -46127,7 +46127,7 @@ function JH({ open: e, children: t, ...n }) {children: t});}-function YH(e) {+function JH(e) {return /* @__PURE__ */ (0, I.jsx)("svg", {...e,"aria-hidden": !0,@@ -46142,19 +46142,19 @@ function YH(e) {});}// src/react/boardui/components/application/settings/settings-rows.tsx-function XH({ className: e, children: t }) {+function YH({ className: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)("div", {className: q("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}-function ZH({ className: e, children: t }) {+function XH({ className: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)("p", {className: q("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}-function F_e({ label: e, description: t, children: n }) {+function I_e({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {className: q("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),children: [/* @__PURE__ */ (0, I.jsxs)("div", {@@ -46170,34 +46170,34 @@ function F_e({ label: e, description: t, children: n }) {});}// src/react/jav/jav-navigation.ts-var QH = [+var ZH = [["library", "馆藏"],["discover", "发现"],["wants", "想要"]-], $H = (e) => QH.some(([t]) => t === e) ? e : "library", eU = (e) => $H(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;-function I_e(e) {+], QH = (e) => ZH.some(([t]) => t === e) ? e : "library", $H = (e) => QH(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;+function L_e(e) {let t = new URLSearchParams(e);return t.delete("tab"), t.set("jav", "1"), "/?" + t;}// src/onboarding/guide-catalog.ts-var tU = (e, t, n, r, i, a) => ({+var eU = (e, t, n, r, i, a) => ({id: e,title: t,body: n,route: r,target: i,scope: a-}), nU = (e, t, n, r, i) => tU(e, t, n, r, i), rU = [+}), tU = (e, t, n, r, i) => eU(e, t, n, r, i), nU = [{id: "basics",kind: "interface",title: "认识界面",summary: "4 步认识搜索、导航、作品详情和设置。",steps: [- nU("search", "搜索馆藏", "输入作品名、番号、艺人、厂牌或标签。搜索结果来自已经入库的内容。", "/", "#q, #searchBtn"),- nU("navigation", "切换浏览入口", "在侧栏按人物、厂牌和标签浏览。手机上用导航按钮展开侧栏;入口与顺序可以在设置里调整。", "/", "#filterBtn, [data-sidebar-nav]"),- nU("cards", "打开作品详情", "选择作品查看资料、版本和播放入口。首次扫描尚未入库时,可以先继续认识导航。", "/", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),- nU("preferences", "调整自己的界面", "侧栏底部的设置包含显示与播放偏好;手机上先展开侧栏。媒体目录、网络和后台服务放在其中的 Peach 配置入口。", "/", "#settingsBtn, #filterBtn")+ tU("search", "搜索馆藏", "输入作品名、番号、艺人、厂牌或标签。搜索结果来自已经入库的内容。", "/", "#q, #searchBtn"),+ tU("navigation", "切换浏览入口", "在侧栏按人物、厂牌和标签浏览。手机上用导航按钮展开侧栏;入口与顺序可以在设置里调整。", "/", "#filterBtn, [data-sidebar-nav]"),+ tU("cards", "打开作品详情", "选择作品查看资料、版本和播放入口。首次扫描尚未入库时,可以先继续认识导航。", "/", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),+ tU("preferences", "调整自己的界面", "侧栏底部的设置包含显示与播放偏好;手机上先展开侧栏。媒体目录、网络和后台服务放在其中的 Peach 配置入口。", "/", "#settingsBtn, #filterBtn")]},{@@ -46206,23 +46206,23 @@ var tU = (e, t, n, r, i, a) => ({title: "找到并播放",summary: "搜索、筛选、详情、版本、字幕和播放器。",steps: [- nU("library", "选择媒体库", "导航顶部可以切换全部媒体库或某个媒体库;手机上先展开侧栏。媒体库把不同目录组织成一组。", "/", "#brandHome, #filterBtn"),- nU("search", "按关键词找内容", "输入作品、番号或人物名称,结合筛选与排序定位内容。搜索记录数量可在搜索与推荐中设置。", "/", "#q, #searchBtn"),- nU("filter", "筛选与清除", "多个筛选条件会共同缩小结果。找不到内容时先检查媒体库和筛选条件。", "/", "[data-catalog-frame]"),+ tU("library", "选择媒体库", "导航顶部可以切换全部媒体库或某个媒体库;手机上先展开侧栏。媒体库把不同目录组织成一组。", "/", "#brandHome, #filterBtn"),+ tU("search", "按关键词找内容", "输入作品、番号或人物名称,结合筛选与排序定位内容。搜索记录数量可在搜索与推荐中设置。", "/", "#q, #searchBtn"),+ tU("filter", "筛选与清除", "多个筛选条件会共同缩小结果。找不到内容时先检查媒体库和筛选条件。", "/", "[data-catalog-frame]"),{- ...tU("detail", "作品详情", "这里显示当前作品的标题和源文件工具。评分、人物和标签在下方;有分卷或版本的作品可从馆藏卡片进入相应队列。", "/", "[data-item-title]"),+ ...eU("detail", "作品详情", "这里显示当前作品的标题和源文件工具。评分、人物和标签在下方;有分卷或版本的作品可从馆藏卡片进入相应队列。", "/", "[data-item-title]"),surface: "detail"},{- ...tU("player", "播放器控件", "底部控制条提供播放、进度、音量和全屏。右侧齿轮打开播放速度、字幕、画面旋转和清晰度等选项。", "/", "#stage .vjs-control-bar"),+ ...eU("player", "播放器控件", "底部控制条提供播放、进度、音量和全屏。右侧齿轮打开播放速度、字幕、画面旋转和清晰度等选项。", "/", "#stage .vjs-control-bar"),surface: "player"},{- ...tU("subtitles", "字幕与播放选项", "从播放器齿轮菜单进入字幕,可以选择已有字幕、加载本地字幕文件或搜索字幕;播放速度和清晰度也在这个菜单中。", "/", "#stage [data-player-subtitles]"),+ ...eU("subtitles", "字幕与播放选项", "从播放器齿轮菜单进入字幕,可以选择已有字幕、加载本地字幕文件或搜索字幕;播放速度和清晰度也在这个菜单中。", "/", "#stage [data-player-subtitles]"),surface: "subtitles"},{- ...tU("external", "外部播放器", "在这里选择本地播放器、M3U 播放列表或网络播放地址,再点打开。另一台设备需要能访问当前 Peach 地址。", "/", "#stage [data-local-playback-row]"),+ ...eU("external", "外部播放器", "在这里选择本地播放器、M3U 播放列表或网络播放地址,再点打开。另一台设备需要能访问当前 Peach 地址。", "/", "#stage [data-local-playback-row]"),surface: "detail"}]@@ -46234,15 +46234,15 @@ var tU = (e, t, n, r, i, a) => ({summary: "评分、标记、播放列表与当前播放队列。",steps: [{- ...nU("marks", "评分", "点击星星给作品评分;下方的喜欢、稍后看和加入播放列表用于保存感兴趣的内容。", "/", "#stage [data-item-rating]"),+ ...tU("marks", "评分", "点击星星给作品评分;下方的喜欢、稍后看和加入播放列表用于保存感兴趣的内容。", "/", "#stage [data-item-rating]"),surface: "detail"},{- ...nU("mark-actions", "标记与加入列表", "喜欢影响口味推荐,稍后看便于回找;加入播放列表可把作品整理到自己的列表。", "/", "#stage [data-item-feedback]"),+ ...tU("mark-actions", "标记与加入列表", "喜欢影响口味推荐,稍后看便于回找;加入播放列表可把作品整理到自己的列表。", "/", "#stage [data-item-feedback]"),surface: "detail"},- nU("lists", "建立播放列表", "在这里输入名称,创建自己的播放列表。之后从作品详情的加入播放列表按钮添加内容。", "/playlists", "[data-playlist-create]"),- nU("queue", "从列表开始播放", "选择一张播放列表卡片进入队列,查看和调整播放顺序。没有列表时先创建,再加入作品。", "/playlists", "[data-playlist-card]")+ tU("lists", "建立播放列表", "在这里输入名称,创建自己的播放列表。之后从作品详情的加入播放列表按钮添加内容。", "/playlists", "[data-playlist-create]"),+ tU("queue", "从列表开始播放", "选择一张播放列表卡片进入队列,查看和调整播放顺序。没有列表时先创建,再加入作品。", "/playlists", "[data-playlist-card]")]},{@@ -46251,10 +46251,10 @@ var tU = (e, t, n, r, i, a) => ({title: "按人物与主题浏览",summary: "从人物、厂牌和标签继续发现相关馆藏。",steps: [- nU("people", "艺人与创作者", "选择人物卡片进入资料页,查看相关作品、照片与已连接的来源。上方可以切换艺人、卖家与在线人物。", "/performers", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),- nU("studios", "厂牌", "选择厂牌卡片集中查看作品。资料页中的作品仍会受到当前媒体库范围影响。", "/studios", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),- nU("tags", "标签与主题", "选择标签继续浏览相关馆藏;本地与在线使用不同的标签词表。", "/tags", "[data-index-body] [data-alpha-tag], [data-index-body] [data-tag-chip], [data-index-body] [data-empty-state]"),- nU("manage-tags", "管理标签", "铅笔按钮打开标签管理,用于整理标签名称和关系;再次点击返回浏览。", "/tags", "[data-tag-mode]")+ tU("people", "艺人与创作者", "选择人物卡片进入资料页,查看相关作品、照片与已连接的来源。上方可以切换艺人、卖家与在线人物。", "/performers", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),+ tU("studios", "厂牌", "选择厂牌卡片集中查看作品。资料页中的作品仍会受到当前媒体库范围影响。", "/studios", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),+ tU("tags", "标签与主题", "选择标签继续浏览相关馆藏;本地与在线使用不同的标签词表。", "/tags", "[data-index-body] [data-alpha-tag], [data-index-body] [data-tag-chip], [data-index-body] [data-empty-state]"),+ tU("manage-tags", "管理标签", "铅笔按钮打开标签管理,用于整理标签名称和关系;再次点击返回浏览。", "/tags", "[data-tag-mode]")]},{@@ -46263,10 +46263,10 @@ var tU = (e, t, n, r, i, a) => ({title: "JAV 与追新",summary: "馆藏、新作、想要清单与高清版。",steps: [- nU("library", "JAV 馆藏", "按番号、出演者和厂牌查找已入库的作品,可以选择官方封面或预览图。", eU("library"), "[data-catalog-frame]"),- nU("new", "发现推荐", "发现页按口味推荐作品。在这里切换馆藏或外部内容,并按标签筛选。", eU("discover"), "[data-jav-filter] [data-catalog-views]"),- nU("wants", "查看想要清单", "喜欢的外部作品可以加入想要清单;在这里切换馆藏、发现与想要。", eU("discover"), "[aria-label=\"JAV 分区\"]"),- nU("quality", "高清版", "待升级卡片列出当前版本信息和判定原因,可以查看版本或查找资源;没有目标时这里显示空状态。", "/quality-goals", "[data-goal-id], #main [data-empty-state]")+ tU("library", "JAV 馆藏", "按番号、出演者和厂牌查找已入库的作品,可以选择官方封面或预览图。", $H("library"), "[data-catalog-frame]"),+ tU("new", "发现推荐", "发现页按口味推荐作品。在这里切换馆藏或外部内容,并按标签筛选。", $H("discover"), "[data-jav-filter] [data-catalog-views]"),+ tU("wants", "查看想要清单", "喜欢的外部作品可以加入想要清单;在这里切换馆藏、发现与想要。", $H("discover"), "[aria-label=\"JAV 分区\"]"),+ tU("quality", "高清版", "待升级卡片列出当前版本信息和判定原因,可以查看版本或查找资源;没有目标时这里显示空状态。", "/quality-goals", "[data-goal-id], #main [data-empty-state]")]},{@@ -46275,9 +46275,9 @@ var tU = (e, t, n, r, i, a) => ({title: "关注创作者",summary: "多来源更新、同作品合并和来源状态。",steps: [- nU("feed", "集中看关注更新", "来自不同来源的创作者更新汇集在这里,选择一项更新查看内容;尚未关注来源时,按空状态中的入口添加。", "/follow", "[data-follow-item], [data-follow-empty] [data-empty-state]"),- nU("sources", "管理关注来源", "从列表查看启用状态、采集结果和失败原因;切换到添加区域,添加创作者或订阅来源。", "/subscriptions", "[aria-label=\"关注管理区域\"]"),- nU("credentials", "按需配置凭据", "部分来源需要登录凭据;先确认要启用的来源,再展开对应站点,填写其要求的信息。", "/settings/subscriptions", "[data-guide-target=\"credentials\"]")+ tU("feed", "集中看关注更新", "来自不同来源的创作者更新汇集在这里,选择一项更新查看内容;尚未关注来源时,按空状态中的入口添加。", "/follow", "[data-follow-item], [data-follow-empty] [data-empty-state]"),+ tU("sources", "管理关注来源", "从列表查看启用状态、采集结果和失败原因;切换到添加区域,添加创作者或订阅来源。", "/subscriptions", "[aria-label=\"关注管理区域\"]"),+ tU("credentials", "按需配置凭据", "部分来源需要登录凭据;先确认要启用的来源,再展开对应站点,填写其要求的信息。", "/settings/subscriptions", "[data-guide-target=\"credentials\"]")]},{@@ -46286,9 +46286,9 @@ var tU = (e, t, n, r, i, a) => ({title: "专注观看",summary: "播放墙、沉浸模式与详情小窗。",steps: [- nU("wall", "播放墙", "播放墙提供多画面观看入口。结束导览后点击进入,再选择要播放的内容。", "/", "#wallBtn"),- nU("immerse", "沉浸模式", "沉浸模式适合连续观看。点击入口会进入观看流程,请在准备好播放时使用。", "/", "#immerseBtn"),- nU("mini", "离开详情后继续看", "开启小窗播放后,离开详情可以继续观看。自动播放、小窗和快进步长都在浏览与播放设置中。", "/settings/playback", "#miniplayerSetting")+ tU("wall", "播放墙", "播放墙提供多画面观看入口。结束导览后点击进入,再选择要播放的内容。", "/", "#wallBtn"),+ tU("immerse", "沉浸模式", "沉浸模式适合连续观看。点击入口会进入观看流程,请在准备好播放时使用。", "/", "#immerseBtn"),+ tU("mini", "离开详情后继续看", "开启小窗播放后,离开详情可以继续观看。自动播放、小窗和快进步长都在浏览与播放设置中。", "/settings/playback", "#miniplayerSetting")]},{@@ -46297,11 +46297,11 @@ var tU = (e, t, n, r, i, a) => ({title: "整理与维护",summary: "扫描、补资料、复核、文件整理与回收站。",steps: [- nU("scan", "扫描与补资料", "在媒体库处理区域选择扫描和资料处理范围。读取策略取决于媒体库配置;导览不会启动任务。", "/data-cleanup", "#libraryProcessing"),- nU("review", "人工复核", "先按分类找到待复核资料,再查看项目的来源和证据后作决定。", "/review", "[aria-labelledby=\"reviewcategories\"]"),- nU("organize", "文件整理", "文件整理先查看预览,确认命名与目标目录再执行。资料整理和真实文件操作有不同的影响范围。", "/data-cleanup", "[data-cleanup-organize]"),- nU("trash", "回收站", "查看已移入回收站的作品,按需要恢复或处理。永久删除前认真核对确认框中的范围。", "/trash", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),- nU("tasks", "任务与失败原因", "任务记录显示处理状态;展开记录查看详情与失败原因。还没有任务时,这里会说明哪些操作会留下记录。", "/tasks", "[data-run-id], #main [data-empty-state]")+ tU("scan", "扫描与补资料", "在媒体库处理区域选择扫描和资料处理范围。读取策略取决于媒体库配置;导览不会启动任务。", "/data-cleanup", "#libraryProcessing"),+ tU("review", "人工复核", "先按分类找到待复核资料,再查看项目的来源和证据后作决定。", "/review", "[aria-labelledby=\"reviewcategories\"]"),+ tU("organize", "文件整理", "文件整理先查看预览,确认命名与目标目录再执行。资料整理和真实文件操作有不同的影响范围。", "/data-cleanup", "[data-cleanup-organize]"),+ tU("trash", "回收站", "查看已移入回收站的作品,按需要恢复或处理。永久删除前认真核对确认框中的范围。", "/trash", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),+ tU("tasks", "任务与失败原因", "任务记录显示处理状态;展开记录查看详情与失败原因。还没有任务时,这里会说明哪些操作会留下记录。", "/tasks", "[data-run-id], #main [data-empty-state]")]},{@@ -46310,10 +46310,10 @@ var tU = (e, t, n, r, i, a) => ({title: "了解自己的馆藏",summary: "统计、口味,以及浏览历史和书签来源。",steps: [- nU("stats", "馆藏统计", "选择统计视图查看馆藏、存储和观看情况,各视图中的入口可继续查看相关作品。", "/stats", "[aria-label=\"统计视图\"]"),- nU("taste", "口味与记录", "在这里切换浏览器记录与 Peach 观看评价,分析各自的口味。", "/taste", "[aria-label=\"口味分析的数据来源\"]"),- nU("import", "取得浏览历史与书签", "读取浏览器记录需要在运行 Peach 的电脑操作;更多方式菜单可以导入历史或书签文件,适合其它设备。", "/taste", "[data-guide-target=\"history-import\"]"),- nU("history", "管理记录来源", "已取得的记录来源集中列在这里,可以停用本机浏览器读取或移除已导入的数据源;导览不会修改这些记录。", "/taste", "section[aria-label=\"数据源\"]")+ tU("stats", "馆藏统计", "选择统计视图查看馆藏、存储和观看情况,各视图中的入口可继续查看相关作品。", "/stats", "[aria-label=\"统计视图\"]"),+ tU("taste", "口味与记录", "在这里切换浏览器记录与 Peach 观看评价,分析各自的口味。", "/taste", "[aria-label=\"口味分析的数据来源\"]"),+ tU("import", "取得浏览历史与书签", "读取浏览器记录需要在运行 Peach 的电脑操作;更多方式菜单可以导入历史或书签文件,适合其它设备。", "/taste", "[data-guide-target=\"history-import\"]"),+ tU("history", "管理记录来源", "已取得的记录来源集中列在这里,可以停用本机浏览器读取或移除已导入的数据源;导览不会修改这些记录。", "/taste", "section[aria-label=\"数据源\"]")]},{@@ -46322,9 +46322,9 @@ var tU = (e, t, n, r, i, a) => ({title: "从外部加入内容",summary: "云下载、目录映射与浏览器添加。",steps: [- nU("downloads", "配置下载渠道", "先连接支持的渠道,再指定云端目标目录与本地媒体目录。下载完成后按目录规则入库。", "/settings/downloads", "[data-guide-target=\"download\"]"),- nU("search", "搜索资源", "资源搜索使用配置的索引器。查到结果后还需要你主动选择下载。", "/settings/subscriptions", "[data-guide-target=\"indexers\"]"),- nU("browser", "浏览器添加 JAV", "用户脚本与 Peach 配对后可从浏览器添加作品。专用令牌、默认渠道和开关在下载渠道里管理。", "/settings/downloads", "[data-guide-target=\"browser\"]")+ tU("downloads", "配置下载渠道", "先连接支持的渠道,再指定云端目标目录与本地媒体目录。下载完成后按目录规则入库。", "/settings/downloads", "[data-guide-target=\"download\"]"),+ tU("search", "搜索资源", "资源搜索使用配置的索引器。查到结果后还需要你主动选择下载。", "/settings/subscriptions", "[data-guide-target=\"indexers\"]"),+ tU("browser", "浏览器添加 JAV", "用户脚本与 Peach 配对后可从浏览器添加作品。专用令牌、默认渠道和开关在下载渠道里管理。", "/settings/downloads", "[data-guide-target=\"browser\"]")]},{@@ -46333,18 +46333,18 @@ var tU = (e, t, n, r, i, a) => ({title: "手机与其他设备",summary: "访问地址、密码、局域网和公网入口。",steps: [- nU("address", "找到访问地址", "同一局域网的设备使用 Peach 的局域网地址。仅本机访问时,其它设备无法连接。", "/settings/network", "[data-guide-target=\"port\"]"),- nU("password", "访问密码", "能连接到 Peach 的设备按访问密码登录。显示偏好与访问权限是不同的设置。", "/settings/network", "[data-guide-target=\"access\"]"),- nU("tunnel", "需要时启用公网入口", "Cloudflare 公网入口适合离开局域网后访问,需要按实际部署配置连接信息。", "/settings/network", "[data-guide-target=\"tunnel\"]")+ tU("address", "找到访问地址", "同一局域网的设备使用 Peach 的局域网地址。仅本机访问时,其它设备无法连接。", "/settings/network", "[data-guide-target=\"port\"]"),+ tU("password", "访问密码", "能连接到 Peach 的设备按访问密码登录。显示偏好与访问权限是不同的设置。", "/settings/network", "[data-guide-target=\"access\"]"),+ tU("tunnel", "需要时启用公网入口", "Cloudflare 公网入口适合离开局域网后访问,需要按实际部署配置连接信息。", "/settings/network", "[data-guide-target=\"tunnel\"]")]}-], L_e = "当前浏览器 · 修改后自动保存", iU = "跟随馆藏 · 修改后自动保存", aU = "运行 Peach 的电脑 · 确认后保存配置", oU = (e, t, n = L_e) => t.map(([t, r, i, a, o]) => tU(t, r, i, `/settings/${e}`, a || `[data-guide-target="${t}"]`, o || n)), sU = [+], R_e = "当前浏览器 · 修改后自动保存", rU = "跟随馆藏 · 修改后自动保存", iU = "运行 Peach 的电脑 · 确认后保存配置", aU = (e, t, n = R_e) => t.map(([t, r, i, a, o]) => eU(t, r, i, `/settings/${e}`, a || `[data-guide-target="${t}"]`, o || n)), oU = [{id: "appearance",kind: "settings",title: Ef.appearance,summary: "主题、光晕与导航入口。",- steps: oU("appearance", [+ steps: aU("appearance", [["theme","主题",@@ -46374,7 +46374,7 @@ var tU = (e, t, n, r, i, a) => ({"导航入口与顺序","把常用入口放到侧栏,拖动调整顺序。","[data-sidebar-setting]",- iU+ rU]])},@@ -46383,7 +46383,7 @@ var tU = (e, t, n, r, i, a) => ({kind: "settings",title: Ef.playback,summary: "列表呈现、悬停预览与播放行为。",- steps: oU("playback", [+ steps: aU("playback", [["batch","每批作品",@@ -46439,13 +46439,13 @@ var tU = (e, t, n, r, i, a) => ({kind: "settings",title: Ef.jav,summary: "封面与新作筛选。",- steps: oU("jav", [+ steps: aU("jav", [["names","女优名称","选择中文或日文名称;偏好跟随馆藏,其他设备读取同一份设置。","#performerNameLanguageSetting",- iU+ rU],["image",@@ -46470,21 +46470,21 @@ var tU = (e, t, n, r, i, a) => ({"隐藏大合集","过滤新作中的大合集,只影响新作展示,馆藏仍可查找。","#feedHideGroupSetting",- iU+ rU],["solo-compilations","隐藏单人合集","过滤新作中的单人合集,只影响新作展示,馆藏仍可查找。","#feedHideSoloSetting",- iU+ rU],["excerpts","隐藏切片","过滤新作中的切片,只影响新作展示,馆藏仍可查找。","#feedHideExcerptSetting",- iU+ rU]])},@@ -46493,12 +46493,12 @@ var tU = (e, t, n, r, i, a) => ({kind: "settings",title: Ef.search,summary: "搜索记录、推荐数量与口味入口。",- steps: [...oU("search", [[+ steps: [...aU("search", [["history","搜索记录","设置保留的搜索记录上限,0 表示不记录。","#searchHistoryLimitSetting"- ]], iU), ...oU("search", [[+ ]], rU), ...aU("search", [["related","相关推荐数量","决定详情中显示多少项相关推荐。口味和记录来源在口味页面管理。",@@ -46510,7 +46510,7 @@ var tU = (e, t, n, r, i, a) => ({kind: "settings",title: Ef.content,summary: "SFW 模式与画面显示。",- steps: oU("content", [[+ steps: aU("content", [["sfw","SFW 模式","隐藏敏感画面并停止悬停预览,适合需要遮挡画面的环境。访问控制请另设访问密码。",@@ -46522,7 +46522,7 @@ var tU = (e, t, n, r, i, a) => ({kind: "settings",title: Df.library,summary: "媒体库、目录、读取与处理方式。",- steps: oU("library", [+ steps: aU("library", [["media","媒体库名称与外观",@@ -46573,14 +46573,14 @@ var tU = (e, t, n, r, i, a) => ({"视频预览","生成视频预览会读取视频并产生缓存。时间轴预览的开关与采集间隔控制本机磁盘缩略图;抽帧解码方式决定生成预览使用的解码器。修改后自动保存,并受媒体库处理方式与读取策略约束。"]- ], aU)+ ], iU)},{id: "subscriptions",kind: "settings",title: Df.subscriptions,summary: "资料来源、关注、索引器与站点入口。",- steps: oU("subscriptions", [+ steps: aU("subscriptions", [["sources","采集来源与登录状态",@@ -46607,14 +46607,14 @@ var tU = (e, t, n, r, i, a) => ({"作品资料站点","配置资料站点和镜像入口,用于打开相关作品页面。地址和登录凭据分别管理。"]- ], aU)+ ], iU)},{id: "downloads",kind: "settings",title: Df.downloads,summary: "云下载目录、账号与浏览器配对。",- steps: oU("downloads", [+ steps: aU("downloads", [["download","云下载",@@ -46630,14 +46630,14 @@ var tU = (e, t, n, r, i, a) => ({"浏览器添加 JAV","安装用户脚本并配对 Peach。默认渠道决定提交到哪里;启用开关控制功能,专用令牌可更新或关闭,脚本检测帮助确认配对。"]- ], aU)+ ], iU)},{id: "network",kind: "settings",title: Df.network,summary: "访问端口、代理、密码和公网入口。",- steps: oU("network", [+ steps: aU("network", [["port","访问地址与端口",@@ -46658,14 +46658,14 @@ var tU = (e, t, n, r, i, a) => ({"Cloudflare 公网入口","临时链接用于临时连接,命名隧道使用主机名与隧道令牌。连接状态显示是否已可用,按需要启用。"]- ], aU)+ ], iU)},{id: "app-maintenance",kind: "settings",title: Df.maintenance,summary: "更新、存储、数据选择与应用维护。",- steps: oU("maintenance", [+ steps: aU("maintenance", [["updates","检查更新",@@ -46706,14 +46706,14 @@ var tU = (e, t, n, r, i, a) => ({"卸载 Peach","卸载移除程序;完全卸载还移除设置、资料库、记录、凭据和缓存。执行前核对页面列出的数据目录与确认内容。"]- ], aU)+ ], iU)},{id: "diagnostics",kind: "settings",title: Df.diagnostics,summary: "遇到问题时查看检查项与诊断报告。",- steps: oU("diagnostics", [+ steps: aU("diagnostics", [["attention","需要关注的检查项",@@ -46738,7 +46738,7 @@ var tU = (e, t, n, r, i, a) => ({]], "只读检查 · 重新检查与下载由你主动执行")}-], R_e = {+], z_e = {glow: [["配色预设", "一次应用一组配色和参数,适合先挑选整体外观。"],["强度", "控制光晕的明亮程度;太抢眼时降低。"],@@ -46845,8 +46845,8 @@ var tU = (e, t, n, r, i, a) => ({["上传预览", "查看本次会包含的内容,再决定是否启用明细上传。"]]};-for (let e of sU) for (let t of e.steps) t.details = R_e[t.id], (t.id === "preview" || t.id === "transcode") && (t.scope = "运行 Peach 的电脑 · 修改后自动保存"), (t.id === "follow-options" || t.id === "sources" || t.id === "reporting" || t.id === "storage") && (t.scope = "按页面中各项的保存或确认动作生效");-var cU = [...rU, ...sU], z_e = [+for (let e of oU) for (let t of e.steps) t.details = z_e[t.id], (t.id === "preview" || t.id === "transcode") && (t.scope = "运行 Peach 的电脑 · 修改后自动保存"), (t.id === "follow-options" || t.id === "sources" || t.id === "reporting" || t.id === "storage") && (t.scope = "按页面中各项的保存或确认动作生效");+var sU = [...nU, ...oU], B_e = [{id: "browse",kind: "interface",@@ -46923,7 +46923,7 @@ var cU = [...rU, ...sU], z_e = ["diagnostics"]}-], B_e = {+], V_e = {来源凭据: "credentials",关注采集: "follow-options",检查更新: "updates",@@ -46950,39 +46950,39 @@ var cU = [...rU, ...sU], z_e = [数据上传: "reporting","卸载 Peach": "uninstall"};-function lU(e) {- let t = B_e[e] || e;- return t ? sU.flatMap((e) => e.steps).find((e) => e.id === t) : void 0;+function cU(e) {+ let t = V_e[e] || e;+ return t ? oU.flatMap((e) => e.steps).find((e) => e.id === t) : void 0;}-function V_e(e) {- return e === "/" ? rU[0] : sU.find((t) => t.steps[0]?.route === e) || rU.find((t) => t.id !== "basics" && t.steps.some((t) => t.route === e)) || rU[0];+function H_e(e) {+ return e === "/" ? nU[0] : oU.find((t) => t.steps[0]?.route === e) || nU.find((t) => t.id !== "basics" && t.steps.some((t) => t.route === e)) || nU[0];}// src/onboarding/guide-state.ts-var H_e = () => ({+var U_e = () => ({version: 1,campaign: "",invited: !1,completed: !1,chapters: {}});-function uU(e, t) {+function lU(e, t) {let n = e.chapters[t.id]?.read || [];return t.steps.every((e) => n.includes(e.id));}-function U_e(e, t) {+function W_e(e, t) {let n = e.chapters[t.id];- return !n || uU(e, t) ? 0 : n.next < t.steps.length ? n.next : t.steps.findIndex((e) => !n.read.includes(e.id));+ return !n || lU(e, t) ? 0 : n.next < t.steps.length ? n.next : t.steps.findIndex((e) => !n.read.includes(e.id));}-function W_e() {+function G_e() {return B("/api/tutorial-progress");}-function G_e(e, t) {+function K_e(e, t) {return V("/api/tutorial-progress", {campaign: e,...t});}-function K_e(e, t, n, r, i) {+function q_e(e, t, n, r, i) {let a = e.chapters[t] || {next: 0,read: [],@@ -47000,24 +47000,24 @@ function K_e(e, t, n, r, i) {}};}-var dU = null, fU = /* @__PURE__ */ new Set();-function pU(e = {}) {- fU.size || (dU = e);- for (let t of fU) t(e);+var uU = null, dU = /* @__PURE__ */ new Set();+function fU(e = {}) {+ dU.size || (uU = e);+ for (let t of dU) t(e);}-function q_e(e) {- if (fU.add(e), dU) {- let t = dU;- dU = null, queueMicrotask(() => {- fU.has(e) && e(t);+function J_e(e) {+ if (dU.add(e), uU) {+ let t = uU;+ uU = null, queueMicrotask(() => {+ dU.has(e) && e(t);});}return () => {- fU.delete(e);+ dU.delete(e);};}// src/react/onboarding/guide-help.tsx-function mU({ details: e }) {+function pU({ details: e }) {return e?.length ? /* @__PURE__ */ (0, I.jsx)("dl", {className: "flex flex-col gap-3",children: e.map(([e, t]) => /* @__PURE__ */ (0, I.jsxs)("div", {@@ -47032,28 +47032,28 @@ function mU({ details: e }) {}, e))}) : null;}-function hU({ chapter: e, section: t }) {- let n = t ? lU(t) : void 0, r = cU.find((t) => t.id === e);+function mU({ chapter: e, section: t }) {+ let n = t ? cU(t) : void 0, r = sU.find((t) => t.id === e);return !n && !r ? null : /* @__PURE__ */ (0, I.jsx)("div", {"data-guide-help": "",className: "text-body-2-regular text-text-secondary",- children: /* @__PURE__ */ (0, I.jsx)(yU, {+ children: /* @__PURE__ */ (0, I.jsx)(vU, {summary: t ? "设置说明" : "了解这些设置",children: n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("p", { children: n.body }),- /* @__PURE__ */ (0, I.jsx)(mU, { details: n.details }),+ /* @__PURE__ */ (0, I.jsx)(pU, { details: n.details }),/* @__PURE__ */ (0, I.jsx)("p", { children: n.scope })] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("p", { children: r.summary }), /* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- onClick: () => pU({ chapter: e }),+ onClick: () => fU({ chapter: e }),children: "逐步了解这个分区"}) })] })})});}// src/react/settings/section.tsx-function J_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, children: o }) {+function Y_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, children: o }) {let s = n ? /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex items-center gap-1.5",children: [n, e]@@ -47062,14 +47062,14 @@ function J_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, childrclassName: "flex w-full flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, I.jsx)("div", {className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, I.jsx)(ZH, { children: s })+ children: /* @__PURE__ */ (0, I.jsx)(XH, { children: s })}), /* @__PURE__ */ (0, I.jsx)("div", {className: "flex min-w-0 max-w-full",children: i})]- }) : /* @__PURE__ */ (0, I.jsx)(ZH, { children: s }),- t ? /* @__PURE__ */ (0, I.jsx)(hU, { section: t }) : null,- /* @__PURE__ */ (0, I.jsx)(XH, { children: o })+ }) : /* @__PURE__ */ (0, I.jsx)(XH, { children: s }),+ t ? /* @__PURE__ */ (0, I.jsx)(mU, { section: t }) : null,+ /* @__PURE__ */ (0, I.jsx)(YH, { children: o })] });return a ? /* @__PURE__ */ (0, I.jsx)("form", {id: r,@@ -47087,13 +47087,13 @@ function J_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, childrchildren: c});}-function Y_e({ children: e }) {+function X_e({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("div", {className: "ui-settings-rows flex flex-col empty:hidden",children: e});}-function X_e({ divided: e = !1, children: t }) {+function Z_e({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, I.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden [&>.ui-settings-facts]:-mr-3",children: t@@ -47102,7 +47102,7 @@ function X_e({ divided: e = !1, children: t }) {children: t});}-function Z_e({ label: e, html: t }) {+function Q_e({ label: e, html: t }) {let [n] = (0, F.useState)(t);return /* @__PURE__ */ (0, I.jsx)("div", {className: "contents",@@ -47112,7 +47112,7 @@ function Z_e({ label: e, html: t }) {dangerouslySetInnerHTML: { __html: n }});}-function Q_e({ status: e, children: t }) {+function $_e({ status: e, children: t }) {return /* @__PURE__ */ (0, I.jsxs)("div", {className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3 empty:hidden",children: [e ? /* @__PURE__ */ (0, I.jsx)("div", {@@ -47121,34 +47121,34 @@ function Q_e({ status: e, children: t }) {}) : null, t]});}-function gU({ role: e, children: t }) {+function hU({ role: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function _U({ children: e }) {+function gU({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function vU({ children: e }) {+function _U({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}-function $_e({ href: e, children: t, leadingIcon: n }) {- return /* @__PURE__ */ (0, I.jsx)(kH, {+function eve({ href: e, children: t, leadingIcon: n }) {+ return /* @__PURE__ */ (0, I.jsx)(OH, {href: e,target: "_blank",rel: "noopener noreferrer",size: "small",leadingIcon: n,- trailingIcon: GB,+ trailingIcon: WB,className: "min-w-0 max-w-full",children: /* @__PURE__ */ (0, I.jsx)("span", {className: "min-w-0 whitespace-normal break-all",@@ -47156,22 +47156,22 @@ function $_e({ href: e, children: t, leadingIcon: n }) {})});}-function eve() {- return /* @__PURE__ */ (0, I.jsx)(kH, {+function tve() {+ return /* @__PURE__ */ (0, I.jsx)(OH, {href: "/tasks",size: "small",- trailingIcon: IB,+ trailingIcon: FB,className: "self-start",children: "在任务中心查看进度"});}-function tve({ children: e }) {+function nve({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("dl", {className: "ui-settings-facts flex flex-col empty:hidden",children: e});}-function nve({ term: e, children: t }) {+function rve({ term: e, children: t }) {return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",children: [/* @__PURE__ */ (0, I.jsx)("dt", {@@ -47183,7 +47183,7 @@ function nve({ term: e, children: t }) {})]});}-function yU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {+function vU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {let s = (0, F.useId)(), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(!1), [d, f] = (0, F.useState)(n ?? t);return (0, F.useLayoutEffect)(() => {n !== void 0 && n !== d && c.current && l.current && (zo(c.current, l.current, n), f(n));@@ -47199,12 +47199,12 @@ function yU({ 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, I.jsx)(LB, {+ i ? null : /* @__PURE__ */ (0, I.jsx)(IB, {"aria-hidden": !0,className: d ? "size-(--icon-inline) shrink-0 rotate-90 transition-transform" : "size-(--icon-inline) shrink-0 transition-transform"}),e,- i ? /* @__PURE__ */ (0, I.jsx)(LB, {+ i ? /* @__PURE__ */ (0, I.jsx)(IB, {"aria-hidden": !0,className: d ? "ml-auto size-(--icon-inline) shrink-0 -rotate-90 transition-transform" : "ml-auto size-(--icon-inline) shrink-0 rotate-90 transition-transform"}) : null@@ -47220,7 +47220,7 @@ function yU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:})]});}-function rve({ name: e }) {+function ive({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {"aria-hidden": !0,"data-source-mark": e,@@ -47230,34 +47230,34 @@ function rve({ name: e }) {children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-function bU({ mark: e }) {+function yU({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, I.jsx)("img", {src: e,alt: "",width: 16,height: 16,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, I.jsx)(rve, { name: e });+ }) : /* @__PURE__ */ (0, I.jsx)(ive, { name: e });}// src/react/components/source-label.tsx-var xU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, ive = Object.fromEntries(Object.entries(gs).map(([e, t]) => [e, function({ className: e }) {+var bU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, ave = Object.fromEntries(Object.entries(gs).map(([e, t]) => [e, function({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, I.jsx)(bU, { mark: t })+ children: /* @__PURE__ */ (0, I.jsx)(yU, { mark: t })});}]));-function ave({ className: e }) {+function ove({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, I.jsx)(bU, { mark: "database" })+ children: /* @__PURE__ */ (0, I.jsx)(yU, { mark: "database" })});}-var SU = (e) => ive[xU(e)] ?? ave;-function ove({ site: e, label: t }) {+var xU = (e) => ave[bU(e)] ?? ove;+function sve({ site: e, label: t }) {let [n, r] = (0, F.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [n || !i ? /* @__PURE__ */ (0, I.jsx)(bU, { mark: "globe" }) : /* @__PURE__ */ (0, I.jsx)("img", {+ children: [n || !i ? /* @__PURE__ */ (0, I.jsx)(yU, { mark: "globe" }) : /* @__PURE__ */ (0, I.jsx)("img", {src: i,alt: "",className: "size-(--icon-inline) shrink-0 object-contain",@@ -47265,24 +47265,24 @@ function ove({ site: e, label: t }) {}), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]});}-function CU({ source: e, label: t }) {- let n = xU(e);+function SU({ source: e, label: t }) {+ let n = bU(e);return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, I.jsx)(bU, { mark: gs[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(yU, { mark: gs[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, I.jsx)("span", {className: "min-w-0 truncate",children: t})]});}// src/react/library-processing/processing-traffic.tsx-var wU = (e) => Yn(e).replace(/\s/g, ""), TU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : wU(e), sve = (e, t) => {- if (e === t) return wU(t);+var CU = (e) => Yn(e).replace(/\s/g, ""), wU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : CU(e), cve = (e, t) => {+ if (e === t) return CU(t);let [n, r] = Yn(e).split(" "), [i, a] = Yn(t).split(" ");- return r === a ? `${n}-${i}${a}` : `${wU(e)}-${wU(t)}`;-}, EU = (e, t, n) => e === void 0 ? sve(t, n) : `${e > 0 ? "约 " : ""}${wU(e)}`;-function DU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {- let i = tH(), [a, o] = (0, F.useState)(!1), s = (0, F.useId)(), c = n ?? a;+ return r === a ? `${n}-${i}${a}` : `${CU(e)}-${CU(t)}`;+}, TU = (e, t, n) => e === void 0 ? cve(t, n) : `${e > 0 ? "约 " : ""}${CU(e)}`;+function EU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {+ let i = eH(), [a, o] = (0, F.useState)(!1), s = (0, F.useId)(), c = n ?? a;if (!e) return null;let l = (e) => e.toLocaleString("zh-CN");return /* @__PURE__ */ (0, I.jsxs)("div", {@@ -47324,25 +47324,25 @@ function DU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, I.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, I.jsx)(ZB, {+ children: [/* @__PURE__ */ (0, I.jsx)(XB, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别流量" : "预计流量"]}),/* @__PURE__ */ (0, I.jsx)("p", {className: "text-title-3-semibold text-text-primary",- children: EU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)+ children: TU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)}),/* @__PURE__ */ (0, I.jsxs)("p", { children: [e.unknown_route_estimated_bytes ? "已确认代理" : "代理"," ",- EU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)+ TU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)] }),t ? null : /* @__PURE__ */ (0, I.jsxs)("p", { children: ["已用 ",- /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.partial ? "约 " : "", wU(e.used_bytes)] }),+ /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.partial ? "约 " : "", CU(e.used_bytes)] })," · 代理 ",- wU(e.metered_used_bytes)+ CU(e.metered_used_bytes)] })]}), e.disk ? /* @__PURE__ */ (0, I.jsxs)("section", {@@ -47351,25 +47351,25 @@ function DU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, I.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, I.jsx)(hV, {+ children: [/* @__PURE__ */ (0, I.jsx)(mV, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别占用" : "预计占用"]}),/* @__PURE__ */ (0, I.jsxs)("p", {className: "text-title-3-semibold text-text-primary",- children: ["约 ", wU(e.disk.estimated_bytes)]+ children: ["约 ", CU(e.disk.estimated_bytes)]}),- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, I.jsxs)("p", { children: ["抽帧临时文件约 ", TU(e.disk.temporary_bytes)] }) : null,+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, I.jsxs)("p", { children: ["抽帧临时文件约 ", wU(e.disk.temporary_bytes)] }) : null,e.disk.volumes.map((e) => /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, I.jsxs)("p", { children: [e.path," 剩余 ",- e.free_bytes == null ? "未取得" : wU(e.free_bytes)+ e.free_bytes == null ? "未取得" : CU(e.free_bytes)] }), e.can_fit === !1 ? /* @__PURE__ */ (0, I.jsxs)("p", {role: "status",- children: ["空间不足,还差 ", wU(e.shortfall_bytes || 0)]+ children: ["空间不足,还差 ", CU(e.shortfall_bytes || 0)]}) : null]}, e.path)),e.disk.cache_unknown ? /* @__PURE__ */ (0, I.jsx)("p", {@@ -47385,7 +47385,7 @@ function DU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })className: "self-start","aria-expanded": c,"aria-controls": s,- trailingIcon: c ? khe : FB,+ trailingIcon: c ? Ahe : PB,onClick: () => {o(!c), r?.(!c);},@@ -47404,12 +47404,12 @@ function DU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 items-start justify-between gap-2",- children: [e.root ? /* @__PURE__ */ (0, I.jsx)(CU, {+ children: [e.root ? /* @__PURE__ */ (0, I.jsx)(SU, {source: e.location,label: e.label}) : /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, I.jsx)(bU, { mark: "globe" }), e.label]+ children: [/* @__PURE__ */ (0, I.jsx)(yU, { mark: "globe" }), e.label]}), /* @__PURE__ */ (0, I.jsx)("span", {className: "shrink-0",children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"@@ -47431,7 +47431,7 @@ function DU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"待补资料 ",l(e.workload.pending_jav_titles)," 部 · 平均约 ",- TU(e.workload.metadata_average_bytes || 0),+ wU(e.workload.metadata_average_bytes || 0),"/部"]}) : null,@@ -47441,8 +47441,8 @@ function DU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"已用",e.unobserved.length ? "约" : ""," ",- wU(e.used_bytes)- ] }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["预计 ", EU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]+ CU(e.used_bytes)+ ] }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["预计 ", TU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]})]}, e.key))@@ -47453,15 +47453,15 @@ function DU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })});}// src/react/library-processing/library-processing-notice.tsx-var OU = "peach.library-processing.collapsed";-function kU(e) {+var DU = "peach.library-processing.collapsed";+function OU(e) {try {- return !e || sessionStorage.getItem(OU) !== e;+ return !e || sessionStorage.getItem(DU) !== e;} catch {return !0;}}-function cve({ value: e, max: t }) {+function lve({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, I.jsxs)("svg", {role: "progressbar",@@ -47491,14 +47491,14 @@ function cve({ value: e, max: t }) {})]});}-function AU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {- let [i, a] = (0, F.useState)(() => kU(e?.job_id)), o = (0, F.useId)(), [s, c] = (0, F.useState)(!1), l = (0, F.useRef)(null), u = !t && _H(e), d = e?.status === "failed" && !u, f = gH(e);+function kU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {+ let [i, a] = (0, F.useState)(() => OU(e?.job_id)), o = (0, F.useId)(), [s, c] = (0, F.useState)(!1), l = (0, F.useRef)(null), u = !t && gH(e), d = e?.status === "failed" && !u, f = hH(e);(0, F.useEffect)(() => {- a(kU(e?.job_id)), c(!1);+ a(OU(e?.job_id)), c(!1);}, [e?.job_id]);let p = () => {try {- i && e?.job_id ? sessionStorage.setItem(OU, e.job_id) : sessionStorage.removeItem(OU);+ i && e?.job_id ? sessionStorage.setItem(DU, e.job_id) : sessionStorage.removeItem(DU);} catch {}i && c(!1), a(!i);};@@ -47513,7 +47513,7 @@ function AU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {t = !0, i.disconnect(), document.documentElement.style.removeProperty("--processing-toast-space");};}, [n]), e?.archived && !t || !t && !f && !d && !u) return null;- let m = t ? null : mH(e), h = !!t || !!e?.stalled || u || !!m, g = u ? "处理已结束,部分项目需处理" : d ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";+ let m = t ? null : pH(e), h = !!t || !!e?.stalled || u || !!m, g = u ? "处理已结束,部分项目需处理" : d ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";return /* @__PURE__ */ (0, I.jsxs)("aside", {ref: l,"data-processing-dock": "",@@ -47528,13 +47528,13 @@ function AU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [- f && e?.total ? /* @__PURE__ */ (0, I.jsx)(cve, {+ f && e?.total ? /* @__PURE__ */ (0, I.jsx)(lve, {value: e.checked || 0,max: e.total- }) : d || h ? /* @__PURE__ */ (0, I.jsx)(Bhe, {+ }) : d || h ? /* @__PURE__ */ (0, I.jsx)(Vhe, {"aria-hidden": !0,className: "size-5 shrink-0"- }) : /* @__PURE__ */ (0, I.jsx)($he, {+ }) : /* @__PURE__ */ (0, I.jsx)(ege, {"aria-hidden": !0,className: "size-5 shrink-0"}),@@ -47546,14 +47546,14 @@ function AU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {}), f ? /* @__PURE__ */ (0, I.jsx)("p", {"data-processing-eta": "",className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",- children: bH(e)+ children: yH(e)}) : null]}),/* @__PURE__ */ (0, I.jsx)(J, {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: YH,+ leadingIcon: JH,"data-processing-toggle": "","data-collapse-upward": "","aria-label": i ? "收起任务详情" : "展开任务详情",@@ -47565,24 +47565,24 @@ function AU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: VB,+ leadingIcon: BB,"aria-label": "隐藏任务提示",onClick: r}) : null]}),- /* @__PURE__ */ (0, I.jsx)(DU, {+ /* @__PURE__ */ (0, I.jsx)(EU, {traffic: e?.traffic,detailsOpen: s,onDetailsChange: c}),- m ? /* @__PURE__ */ (0, I.jsx)(b_e, {+ m ? /* @__PURE__ */ (0, I.jsx)(x_e, {state: e,slow: m}) : null]}),- /* @__PURE__ */ (0, I.jsx)(JH, {+ /* @__PURE__ */ (0, I.jsx)(qH, {id: o,open: i,"data-processing-body": "",@@ -47599,14 +47599,14 @@ function AU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {"aria-current": e.status === "current" ? "step" : void 0,className: q("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),children: [- e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(Phe, {+ e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(Fhe, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, I.jsx)(Fhe, {+ }) : /* @__PURE__ */ (0, I.jsx)(Ihe, {"aria-hidden": !0,className: q("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")}),- /* @__PURE__ */ (0, I.jsx)(yE, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),+ /* @__PURE__ */ (0, I.jsx)(xE, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)("s", {className: "wrap-anywhere",children: e.label@@ -47619,11 +47619,11 @@ function AU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {}) : null,/* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: t || (d || u ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, I.jsx)(N_e, { state: e }))+ children: t || (d || u ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, I.jsx)(P_e, { state: e }))}),u ? /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: vH+ children: _H}) : null,f && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, I.jsxs)("p", {className: "text-caption-1-regular text-text-tertiary",@@ -47640,20 +47640,20 @@ function AU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2 pt-3",children: [- /* @__PURE__ */ (0, I.jsx)(kH, {+ /* @__PURE__ */ (0, I.jsx)(OH, {href: "/data-cleanup#libraryProcessing",variant: "secondary",size: "small",- trailingIcon: IB,+ trailingIcon: FB,children: t || d || u ? "打开扫描与采集" : "任务详情"}),- u ? /* @__PURE__ */ (0, I.jsx)(kH, {- href: yH,+ u ? /* @__PURE__ */ (0, I.jsx)(OH, {+ href: vH,size: "small",- trailingIcon: IB,+ trailingIcon: FB,children: "查看全部内容"}) : null,- f ? /* @__PURE__ */ (0, I.jsx)(BH, {+ f ? /* @__PURE__ */ (0, I.jsx)(zH, {state: e,disabled: !!t}) : null@@ -47662,67 +47662,67 @@ function AU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {]});}-function lve(e) {- let { job: t } = VH(e);- return /* @__PURE__ */ (0, I.jsx)(AU, {+function uve(e) {+ let { job: t } = BH(e);+ return /* @__PURE__ */ (0, I.jsx)(kU, {state: t.data,- problem: t.isError ? t.data ? CH : cr(t.error) : ""+ problem: t.isError ? t.data ? SH : cr(t.error) : ""});}// src/react/library-processing/processing-notice-visibility.ts-var jU = "peach.library-processing.visibility", MU = /* @__PURE__ */ new Set(), NU = "";-function uve() {+var AU = "peach.library-processing.visibility", jU = /* @__PURE__ */ new Set(), MU = "";+function dve() {try {- return sessionStorage.getItem(jU) || "";+ return sessionStorage.getItem(AU) || "";} catch {- return NU;+ return MU;}}-function dve(e) {- return MU.add(e), () => {- MU.delete(e);+function fve(e) {+ return jU.add(e), () => {+ jU.delete(e);};}-function PU(e, t) {- NU = `${t ? "shown" : "hidden"}:${e}`;+function NU(e, t) {+ MU = `${t ? "shown" : "hidden"}:${e}`;try {- sessionStorage.setItem(jU, NU);+ sessionStorage.setItem(AU, MU);} catch {}- MU.forEach((e) => e());+ jU.forEach((e) => e());}-function FU(e) {- let t = (0, F.useSyncExternalStore)(dve, uve, () => "");+function PU(e) {+ let t = (0, F.useSyncExternalStore)(fve, dve, () => "");return {hidden: t === `hidden:${e}`,requested: t === `shown:${e}`};}// src/react/library-processing/library-processing-dock.tsx-var IU = "peach-library-processing";-function fve({ toast: e }) {- let { job: t, settled: n } = VH({+var FU = "peach-library-processing";+function pve({ toast: e }) {+ let { job: t, settled: n } = BH({toast: e,mode: "notice"- }), r = (0, F.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = FU(a), c = t.isError ? i ? CH : cr(t.error) : "";+ }), r = (0, F.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = PU(a), c = t.isError ? i ? SH : cr(t.error) : "";return (0, F.useEffect)(() => {- let e = gH(i), t = i?.status === "failed" && (n?.job_id === i.job_id || DH(i));- o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && oH.dismiss(IU), r.current = !1) : (oH.custom(() => /* @__PURE__ */ (0, I.jsx)("div", {+ let e = hH(i), t = i?.status === "failed" && (n?.job_id === i.job_id || EH(i));+ o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && aH.dismiss(FU), r.current = !1) : (aH.custom(() => /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, I.jsx)(AU, {+ children: /* @__PURE__ */ (0, I.jsx)(kU, {state: i,problem: c,measure: !0,- onHide: () => PU(a, !1)+ onHide: () => NU(a, !1)})}), {- id: IU,+ id: FU,toasterId: "processing",duration: Infinity,dismissible: !1,closeButton: !1,className: "processing-task-toast",onDismiss: () => {- PU(a, !1), r.current = !1;+ NU(a, !1), r.current = !1;}}), r.current = !0);}, [@@ -47733,19 +47733,19 @@ function fve({ toast: e }) {o,s]), (0, F.useEffect)(() => () => {- r.current && oH.dismiss(IU), r.current = !1;+ r.current && aH.dismiss(FU), r.current = !1;}, []), null;}// src/react/network-banner.tsx-var pve = ["network-status"], mve = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";-function hve(e) {+var mve = ["network-status"], hve = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";+function gve(e) {return e?.state === "online" ? 12e4 : 3e4;}-function gve() {+function _ve() {let e = Pt({- queryKey: pve,+ queryKey: mve,queryFn: ({ signal: e }) => B("/api/network-status", e),- refetchInterval: (e) => hve(e.state.data),+ refetchInterval: (e) => gve(e.state.data),retry: !1}), t = document.querySelector("[data-network-banner]");return e.data?.state !== "offline" || !t ? null : (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsxs)("aside", {@@ -47756,72 +47756,72 @@ function gve() {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-alert" })- }), /* @__PURE__ */ (0, I.jsx)("p", { children: mve })] }), /* @__PURE__ */ (0, I.jsx)("a", {+ }), /* @__PURE__ */ (0, I.jsx)("p", { children: hve })] }), /* @__PURE__ */ (0, I.jsx)("a", {href: "/settings/network#peachProxy",children: "检查 Peach 代理"})]}), t);}// src/react/components/segmented.tsx-function _ve(e) {- let t = EL(MH("selection"));+function vve(e) {+ let t = EL(jH("selection"));return /* @__PURE__ */ (0, I.jsx)(kB, {...e,ref: t});}-function LU(e) {- let t = EL(MH("selection"));+function IU(e) {+ let t = EL(jH("selection"));return /* @__PURE__ */ (0, I.jsx)(Jz, {...e,ref: t});}-var RU = "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", zU = "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", vve = "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", BU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", VU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", yve = {- browse: sV,- collect: zB,- watch: nV,- manage: YB,- experience: eV,- discovery: oV,- storage: UB,- system: cV-}, bve = {- basics: HB,- "find-play": sV,- entities: fV,- jav: qB,- save: zB,- follow: oV,- insights: RB,- viewing: nV,- devices: lV,- external: WB,- maintenance: dV,- appearance: eV,- playback: nV,- content: KB,- "search-settings": sV,- "jav-settings": qB,- subscriptions: oV,- library: UB,- downloads: WB,- network: lV,- "app-maintenance": dV,- diagnostics: ige+var LU = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", RU = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", yve = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", zU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", BU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", bve = {+ browse: oV,+ collect: RB,+ watch: tV,+ manage: JB,+ experience: $B,+ discovery: aV,+ storage: HB,+ system: sV+}, xve = {+ basics: VB,+ "find-play": oV,+ entities: dV,+ jav: KB,+ save: RB,+ follow: aV,+ insights: LB,+ viewing: tV,+ devices: cV,+ external: UB,+ maintenance: uV,+ appearance: $B,+ playback: tV,+ content: GB,+ "search-settings": oV,+ "jav-settings": KB,+ subscriptions: aV,+ library: HB,+ downloads: UB,+ network: cV,+ "app-maintenance": uV,+ diagnostics: age};-function xve({ chapter: e, className: t = "size-5" }) {- let n = bve[e] || HB;+function Sve({ chapter: e, className: t = "size-5" }) {+ let n = xve[e] || VB;return /* @__PURE__ */ (0, I.jsx)(n, {"aria-hidden": !0,className: q(t, "shrink-0")});}-function HU({ icon: e, title: t, description: n, children: r, completed: i = !1 }) {+function VU({ icon: e, title: t, description: n, children: r, completed: i = !1 }) {return /* @__PURE__ */ (0, I.jsxs)("section", {"data-guide-banner": "","data-guide-completed": i || void 0,- className: HH({+ className: VH({radius: "plain",className: "flex flex-col gap-4"}),@@ -47850,8 +47850,8 @@ function HU({ icon: e, title: t, description: n, children: r, completed: i = !1})]});}-function UU({ chapter: e, progress: t, loading: n, start: r }) {- let i = uU(t, e), a = !i && !!t.chapters[e.id];+function HU({ chapter: e, progress: t, loading: n, start: r }) {+ let i = lU(t, e), a = !i && !!t.chapters[e.id];return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",disabled: n,@@ -47861,7 +47861,7 @@ function UU({ chapter: e, progress: t, loading: n, start: r }) {children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "peach-guide-topic-icon",- children: /* @__PURE__ */ (0, I.jsx)(xve, { chapter: e.id })+ children: /* @__PURE__ */ (0, I.jsx)(Sve, { chapter: e.id })}),/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 flex-1 flex-col gap-1",@@ -47873,7 +47873,7 @@ function UU({ chapter: e, progress: t, loading: n, start: r }) {children: e.summary})]}),- i ? /* @__PURE__ */ (0, I.jsx)(WU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {+ i ? /* @__PURE__ */ (0, I.jsx)(UU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {className: "shrink-0 text-caption-1-regular tabular-nums text-text-secondary",children: [a ? "继续 · " : "",@@ -47881,17 +47881,17 @@ function UU({ chapter: e, progress: t, loading: n, start: r }) {" 步"]}),- /* @__PURE__ */ (0, I.jsx)(LB, {+ /* @__PURE__ */ (0, I.jsx)(IB, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0 text-text-secondary"})]});}-function WU() {+function UU() {return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex shrink-0 items-center gap-1 rounded-full bg-notification-success-background px-2 py-1 text-caption-1-medium text-notification-success-foreground",- children: [/* @__PURE__ */ (0, I.jsx)(BB, {+ children: [/* @__PURE__ */ (0, I.jsx)(zB, {"aria-hidden": !0,className: "size-4"}), /* @__PURE__ */ (0, I.jsx)("span", {@@ -47900,17 +47900,17 @@ function WU() {})]});}-function Sve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading: a, start: o }) {- let [s, c] = (0, F.useState)(null), l = cU.find((t) => t.id === (e === "interface" ? "basics" : "appearance")), u = uU(i, l), d = !u && !!i.chapters[l.id], f = t.trim().toLowerCase(), p = cU.filter((t) => t.kind === e && `${t.title} ${t.summary} ${t.steps.map((e) => `${e.title} ${e.body} ${(e.details || []).flat().join(" ")}`).join(" ")}`.toLowerCase().includes(f));+function Cve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading: a, start: o }) {+ let [s, c] = (0, F.useState)(null), l = sU.find((t) => t.id === (e === "interface" ? "basics" : "appearance")), u = lU(i, l), d = !u && !!i.chapters[l.id], f = t.trim().toLowerCase(), p = sU.filter((t) => t.kind === e && `${t.title} ${t.summary} ${t.steps.map((e) => `${e.title} ${e.body} ${(e.details || []).flat().join(" ")}`).join(" ")}`.toLowerCase().includes(f));return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-4",children: [- /* @__PURE__ */ (0, I.jsxs)(HU, {+ /* @__PURE__ */ (0, I.jsxs)(VU, {completed: u,- icon: e === "interface" ? HB : cV,+ icon: e === "interface" ? VB : sV,title: e === "interface" ? "先认识 Peach" : "按习惯调整 Peach",description: e === "interface" ? "先用 4 步认识常用入口,其余功能用到时再看。" : "先了解外观与导航,其余设置按需要查看。",- children: [u ? /* @__PURE__ */ (0, I.jsx)(WU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [u ? /* @__PURE__ */ (0, I.jsx)(UU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {className: "text-body-2-regular text-text-secondary",children: [l.steps.length, " 步 · 随时可以退出"]}), /* @__PURE__ */ (0, I.jsx)(J, {@@ -47923,26 +47923,26 @@ function Sve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:})})]}),- /* @__PURE__ */ (0, I.jsx)(yV, {+ /* @__PURE__ */ (0, I.jsx)(vV, {"aria-label": "搜索教程",value: t,onChange: n,- children: /* @__PURE__ */ (0, I.jsx)(xV, {+ children: /* @__PURE__ */ (0, I.jsx)(bV, {type: "search",placeholder: e === "settings" ? "搜索设置名称或用途" : "搜索功能或页面",- leadingIcon: sV+ leadingIcon: oV})}),f ? p.length ? /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-chapters",- children: p.map((e) => /* @__PURE__ */ (0, I.jsx)(UU, {+ children: p.map((e) => /* @__PURE__ */ (0, I.jsx)(HU, {chapter: e,progress: i,loading: a,start: o}, e.id))- }) : /* @__PURE__ */ (0, I.jsx)(EV, {- icon: sV,+ }) : /* @__PURE__ */ (0, I.jsx)(TV, {+ icon: oV,title: "没有匹配的教程",size: "compact",children: "试试功能名或设置名称。"@@ -47960,12 +47960,12 @@ function Sve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:}) : null]}), /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-topics",- children: z_e.filter((t) => t.kind === e).map((e) => {- let t = yve[e.id];+ children: B_e.filter((t) => t.kind === e).map((e) => {+ let t = bve[e.id];return /* @__PURE__ */ (0, I.jsx)("div", {"data-guide-topic": e.id,className: "peach-guide-topic",- children: /* @__PURE__ */ (0, I.jsx)(yU, {+ children: /* @__PURE__ */ (0, I.jsx)(vU, {trailing: !0,isOpen: s === e.id,onOpenChange: (t) => c(t ? e.id : null),@@ -47990,8 +47990,8 @@ function Sve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:}),children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-topic-chapters",- children: e.chapters.map((e) => /* @__PURE__ */ (0, I.jsx)(UU, {- chapter: cU.find((t) => t.id === e),+ children: e.chapters.map((e) => /* @__PURE__ */ (0, I.jsx)(HU, {+ chapter: sU.find((t) => t.id === e),progress: i,loading: a,start: o@@ -48005,14 +48005,14 @@ function Sve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:});}// src/onboarding/guide-entry.ts-var GU = "侧栏收起时,先点左上角的导航按钮。", KU = (...e) => ({+var WU = "侧栏收起时,先点左上角的导航按钮。", GU = (...e) => ({path: ["侧栏", ...e],- hint: GU-}), qU = (e) => ({+ hint: WU+}), KU = (e) => ({path: ["侧栏底部的设置", e],- hint: GU+ hint: WU});-function Cve(e) {+function wve(e) {if (e.surface) return e.id === "external" ? { path: ["作品卡片","作品详情",@@ -48030,7 +48030,7 @@ function Cve(e) {let [t = "/", n = ""] = e.route.split("#")[0].split("?"), r = t.split("/")[2];if (t.startsWith("/settings/")) {let e = Ef[r];- if (e) return qU(e);+ if (e) return KU(e);let t = Df[r];if (t) return {path: [@@ -48038,11 +48038,11 @@ function Cve(e) {"Peach 配置",t],- hint: GU+ hint: WU};}let i = new URLSearchParams(n);- if (t === "/jav" || i.get("jav") === "1") return KU("JAV", QH.find(([e]) => e === (i.get("tab") || "library"))?.[1] || QH[0][1]);+ if (t === "/jav" || i.get("jav") === "1") return GU("JAV", ZH.find(([e]) => e === (i.get("tab") || "library"))?.[1] || ZH[0][1]);if (t === "/") {switch (e.id) {case "search": return {@@ -48052,9 +48052,9 @@ function Cve(e) {case "navigation": return { path: ["左上角导航按钮", "侧栏中的浏览入口"] };case "library": return {path: ["侧栏顶部", "媒体库选择器"],- hint: GU+ hint: WU};- case "preferences": return qU(Ef.appearance);+ case "preferences": return KU(Ef.appearance);case "wall": return { path: ["页面顶部", "播放墙按钮"] };case "immerse": return { path: ["页面顶部", "沉浸模式按钮"] };case "cards":@@ -48076,23 +48076,23 @@ function Cve(e) {hint: "来源、时长等更多筛选位于侧栏。"};}- return KU("首页");+ return GU("首页");}if (["/review","/quality-goals","/trash"- ].includes(t)) return KU("管理", Zf["/data-cleanup"].title, t === "/trash" ? "回收站" : Zf[t].title);+ ].includes(t)) return GU("管理", Zf["/data-cleanup"].title, t === "/trash" ? "回收站" : Zf[t].title);let a = Zf[t];if (a?.nav && a.title) {- let e = KU(a.title);+ let e = GU(a.title);return t === "/playlists" && (e.hint = "若侧栏没有播放列表,到设置 → 外观与导航 → 导航入口与顺序添加;手机上先展开侧栏。"), e;}- if (a?.section && a.title) return KU("管理", a.title);+ if (a?.section && a.title) return GU("管理", a.title);}// src/react/onboarding/guide-popover.tsx-function wve({ step: e, position: t, total: n, missing: r, next: i, previous: a, close: o, invitation: s }) {- let c = tH(), l = Cve(e);+function Tve({ step: e, position: t, total: n, missing: r, next: i, previous: a, close: o, invitation: s }) {+ let c = eH(), l = wve(e);return /* @__PURE__ */ (0, I.jsxs)("div", {className: "peach-guide-popover-content",onPointerDown: (e) => e.stopPropagation(),@@ -48103,7 +48103,7 @@ function wve({ step: e, position: t, total: n, missing: r, next: i, previous: a,id: "driver-popover-title",className: "text-body-medium text-text-primary",children: e.title- }), /* @__PURE__ */ (0, I.jsx)(kV, {+ }), /* @__PURE__ */ (0, I.jsx)(OV, {label: s ? "关闭教程提示" : "结束导览",onPress: o})]@@ -48120,7 +48120,7 @@ function wve({ step: e, position: t, total: n, missing: r, next: i, previous: a,children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex items-center gap-2 text-body-2-medium text-text-secondary",- children: [/* @__PURE__ */ (0, I.jsx)(oge, {+ children: [/* @__PURE__ */ (0, I.jsx)(sge, {className: "size-4 shrink-0","aria-hidden": "true"}), "打开方式"]@@ -48129,7 +48129,7 @@ function wve({ step: e, position: t, total: n, missing: r, next: i, previous: a,className: "flex flex-wrap items-center gap-x-1 gap-y-1 text-body-2-medium text-text-primary",children: l.path.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("li", {className: "inline-flex items-center gap-1",- children: [t ? /* @__PURE__ */ (0, I.jsx)(LB, {+ children: [t ? /* @__PURE__ */ (0, I.jsx)(IB, {className: "size-4 shrink-0 text-text-secondary","aria-hidden": "true"}) : null, /* @__PURE__ */ (0, I.jsx)("span", { children: e })]@@ -48150,15 +48150,15 @@ function wve({ step: e, position: t, total: n, missing: r, next: i, previous: a,className: "text-caption-1-regular text-text-secondary",children: "导览期间不自动播放;退出后仍按原来的播放设置使用。"}) : null,- e.details?.length ? /* @__PURE__ */ (0, I.jsx)(yU, {+ e.details?.length ? /* @__PURE__ */ (0, I.jsx)(vU, {summary: "更多说明",- children: /* @__PURE__ */ (0, I.jsx)(mU, { details: e.details })+ children: /* @__PURE__ */ (0, I.jsx)(pU, { details: e.details })}) : null,e.scope ? /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: e.scope}) : null,- r ? /* @__PURE__ */ (0, I.jsx)(TV, {+ r ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "neutral",children: e.surface ? "尚未取得可演示的视频或对应控件。请先添加视频,或跳过后稍后重看。" : "当前页面未显示这个入口,可能尚无内容、没有配置权限或仍在加载。可以跳过,稍后重看。"}) : null@@ -48212,14 +48212,14 @@ function wve({ step: e, position: t, total: n, missing: r, next: i, previous: a,]});}-function JU(e, t, n) {+function qU(e, t, n) {let r = document.createElement("div");e.replaceChildren(r, t);let i = (0, Rt.createRoot)(r);- return (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(wve, { ...n }))), () => i.unmount();+ return (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(Tve, { ...n }))), () => i.unmount();}// src/react/onboarding/tutorial-center.tsx-function Tve({ go: e }) {+function Eve({ go: e }) {let [t, n] = (0, F.useState)(null), [r, i] = (0, F.useState)(""), [a, o] = (0, F.useState)(0);(0, F.useEffect)(() => {let e = new AbortController();@@ -48233,8 +48233,8 @@ function Tve({ go: e }) {return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-4",children: [- /* @__PURE__ */ (0, I.jsxs)(HU, {- icon: age,+ /* @__PURE__ */ (0, I.jsxs)(VU, {+ icon: oge,title: "从第一份收藏开始",description: "连接媒体目录,查看入库结果,再打开馆藏。",children: [/* @__PURE__ */ (0, I.jsx)("span", {@@ -48245,7 +48245,7 @@ function Tve({ go: e }) {children: "连接媒体目录"})]}),- r ? /* @__PURE__ */ (0, I.jsx)(TV, {+ r ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -48261,7 +48261,7 @@ function Tve({ go: e }) {/* @__PURE__ */ (0, I.jsxs)("li", { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "peach-guide-topic-icon",- children: /* @__PURE__ */ (0, I.jsx)(YB, {+ children: /* @__PURE__ */ (0, I.jsx)(JB, {"aria-hidden": !0,className: "size-5"})@@ -48280,7 +48280,7 @@ function Tve({ go: e }) {/* @__PURE__ */ (0, I.jsxs)("li", { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "peach-guide-topic-icon",- children: /* @__PURE__ */ (0, I.jsx)(hge, {+ children: /* @__PURE__ */ (0, I.jsx)(gge, {"aria-hidden": !0,className: "size-5"})@@ -48299,7 +48299,7 @@ function Tve({ go: e }) {/* @__PURE__ */ (0, I.jsxs)("li", { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "peach-guide-topic-icon",- children: /* @__PURE__ */ (0, I.jsx)(nV, {+ children: /* @__PURE__ */ (0, I.jsx)(tV, {"aria-hidden": !0,className: "size-5"})@@ -48317,7 +48317,7 @@ function Tve({ go: e }) {] })]}),- /* @__PURE__ */ (0, I.jsx)(yU, {+ /* @__PURE__ */ (0, I.jsx)(vU, {summary: "更多接入方式",children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-routes",@@ -48326,31 +48326,31 @@ function Tve({ go: e }) {title: "关注创作者",description: l ? "当前启用来源的必要凭据已具备。" : s.length ? "已有关注来源,请检查必要凭据。" : "添加想持续追踪的创作者与来源。",path: "/subscriptions",- icon: oV+ icon: aV},{title: "口味与记录",description: t?.taste.history_sources ? `已导入 ${t.taste.history_sources} 份浏览器历史。` : "按需要导入浏览历史或书签。",path: "/taste",- icon: RB+ icon: LB},{title: "云下载与浏览器添加",description: "连接渠道、设置目标目录,按需要配对用户脚本。",path: "/settings/downloads",- icon: WB+ icon: UB},{title: "手机访问",description: "查看访问范围、地址与密码。",path: "/settings/network",- icon: lV+ icon: cV},...u ? [{title: "人工复核",description: `当前有 ${u.toLocaleString()} 条待复核资料。`,path: "/review",- icon: BB+ icon: zB}] : []].map(({ title: t, description: n, path: r, icon: i }) => /* @__PURE__ */ (0, I.jsxs)("div", { children: [/* @__PURE__ */ (0, I.jsx)("span", {@@ -48377,15 +48377,15 @@ function Tve({ go: e }) {]});}-function Eve({ actions: e }) {- let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)("interface"), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(H_e), [d, f] = (0, F.useState)(!1), [p, m] = (0, F.useState)(""), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(!1), y = tH(), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(0), C = (0, F.useRef)(l);+function Dve({ actions: e }) {+ let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)("interface"), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(U_e), [d, f] = (0, F.useState)(!1), [p, m] = (0, F.useState)(""), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(!1), y = eH(), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(0), C = (0, F.useRef)(l);C.current = l;let w = (0, F.useRef)(0), T = (0, F.useRef)(null), E = (0, F.useRef)(""), D = (0, F.useRef)(!1), O = (0, F.useRef)(() => {}), k = (0, F.useRef)(Promise.resolve()), A = (0, F.useRef)(0), j = (0, F.useRef)(0), M = (0, F.useRef)(!0), ee = (e) => {C.current = e, u(e);}, N = async (e = !0) => {let t = j.current;try {- let n = await W_e();+ let n = await G_e();return !M.current || t !== j.current ? !1 : (ee(n), f(!0), e && m(""), b.current || i(!n.invited && !n.completed), !0);} catch {return M.current && m("未取得账本中的教程状态,请重新读取。"), !1;@@ -48395,7 +48395,7 @@ function Eve({ actions: e }) {let n = ++j.current;A.current += 1, k.current = k.current.then(async () => {try {- let r = await G_e(e.campaign, t);+ let r = await K_e(e.campaign, t);M.current && n === j.current && ee(r);} catch {M.current && (m("教程进度未保存到本机账本,其他设备尚未同步。请重新读取后继续。"), n === j.current && await N(!1));@@ -48424,7 +48424,7 @@ function Eve({ actions: e }) {let i = !1, a = null;return import("./peach-app.guide-driver-BZX0VpRC.js").then(({ createGuideSession: t }) => {i || (a = t({- mountPopover: JU,+ mountPopover: qU,invitation: !0,navigate: e.navigate,previous: () => {},@@ -48463,12 +48463,12 @@ function Eve({ actions: e }) {D.current = !1;});document.addEventListener("input", e), document.addEventListener("change", e);- let r = q_e((e) => {+ let r = J_e((e) => {(async () => {let t = document.activeElement;if (await k.current, !M.current || !await N() || e.invitation) return;re(), T.current = t, g(""), c("");- let r = cU.find((t) => t.id === e.chapter);+ let r = sU.find((t) => t.id === e.chapter);e.reopen ? (i(!1), te({...C.current,invited: !0,@@ -48497,11 +48497,11 @@ function Eve({ actions: e }) {g("请先关闭当前详情或对话框,再开始导览。");return;}- if (t.steps.some((e) => e.surface) && i8()?.miniplayerActive()) {+ if (t.steps.some((e) => e.surface) && r8()?.miniplayerActive()) {g("请先关闭正在播放的小窗,再开始播放器导览。");return;}- let i = r ? U_e(C.current, t) : 0;+ let i = r ? W_e(C.current, t) : 0;if (D.current && t.steps.some((e) => e.route && e.route !== location.pathname)) {g("当前配置表单有编辑内容。请先处理表单,再开启需要切换页面的章节。");return;@@ -48535,7 +48535,7 @@ function Eve({ actions: e }) {}), b.current?.show(t.steps[w.current], w.current, t.steps.length);};b.current = r({- mountPopover: JU,+ mountPopover: qU,navigate: e.navigate,close: () => {re(!0), o(t.kind);@@ -48546,18 +48546,18 @@ function Eve({ actions: e }) {},next: async (e = !1) => {let n = w.current + 1;- if (te(K_e(C.current, t.id, t.steps[w.current].id, n, e), {+ if (te(q_e(C.current, t.id, t.steps[w.current].id, n, e), {action: "step",chapter: t.id,step: t.steps[w.current].id,next: n,skipped: e}), n >= t.steps.length) {- if (t.id === "basics" && uU(C.current, t) && te({+ if (t.id === "basics" && lU(C.current, t) && te({...C.current,completed: !0}, { action: "complete" }), await k.current, a !== S.current) return;- re(!0), o(t.kind), g(uU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");+ re(!0), o(t.kind), g(lU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");} else w.current = n, l();}}), l();@@ -48570,11 +48570,11 @@ function Eve({ actions: e }) {O.current = (e, t) => {oe(e, t);};- let se = V_e(location.pathname);+ let se = H_e(location.pathname);return (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [p && !t ? /* @__PURE__ */ (0, I.jsx)("aside", {className: "peach-react peach-guide-invitation","aria-label": "教程同步状态",- children: /* @__PURE__ */ (0, I.jsx)(TV, {+ children: /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {size: "small",@@ -48585,7 +48585,7 @@ function Eve({ actions: e }) {}),children: p})- }) : null, /* @__PURE__ */ (0, I.jsxs)(CV, {+ }) : null, /* @__PURE__ */ (0, I.jsxs)(SV, {isOpen: t,onOpenChange: (e) => {e || ie();@@ -48600,18 +48600,18 @@ function Eve({ actions: e }) {id: "guideTitle",className: "text-title-2-medium text-text-primary",children: "新手教程"- }), /* @__PURE__ */ (0, I.jsx)(kV, {+ }), /* @__PURE__ */ (0, I.jsx)(OV, {label: "关闭新手教程",onPress: ie})]}),/* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-tools flex shrink-0 flex-col gap-4 px-6 pt-4 pb-3",- children: /* @__PURE__ */ (0, I.jsx)(LU, {+ children: /* @__PURE__ */ (0, I.jsx)(IU, {"aria-label": "教程路径",name: "guide-path",orientation: "horizontal",- className: RU,+ className: LU,value: a,onChange: (e) => {o(e), c(""), g("");@@ -48622,7 +48622,7 @@ function Eve({ actions: e }) {["settings", "设置导览"]].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Yz, {value: e,- className: zU,+ className: RU,children: t}, e))})@@ -48633,7 +48633,7 @@ function Eve({ actions: e }) {ref: y,className: "peach-guide-body",children: [- p ? /* @__PURE__ */ (0, I.jsx)(TV, {+ p ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",className: "mb-4",action: /* @__PURE__ */ (0, I.jsx)(J, {@@ -48645,12 +48645,12 @@ function Eve({ actions: e }) {}),children: p}) : null,- h ? /* @__PURE__ */ (0, I.jsx)(TV, {+ h ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "neutral",className: "mb-4",children: h}) : null,- a === "start" ? /* @__PURE__ */ (0, I.jsx)(Tve, { go: ae }) : /* @__PURE__ */ (0, I.jsx)(Sve, {+ a === "start" ? /* @__PURE__ */ (0, I.jsx)(Eve, { go: ae }) : /* @__PURE__ */ (0, I.jsx)(Cve, {kind: a,query: s,setQuery: c,@@ -48668,15 +48668,15 @@ function Eve({ actions: e }) {})] }), document.body);}// src/react/client-updates.tsx-var Dve = 12e4, Ove = 15e3, YU = () => document.visibilityState !== "hidden", XU = /* @__PURE__ */ new Set([+var Ove = 12e4, kve = 15e3, JU = () => document.visibilityState !== "hidden", YU = /* @__PURE__ */ new Set(["downloading","verifying","extracting","preparing","restarting","installing"-]), ZU = "/settings/maintenance#releaseUpdates";-function kve() {+]), XU = "/settings/maintenance#releaseUpdates";+function Ave() {try {let e = JSON.parse(document.getElementById("peach-client-runtime")?.textContent || "null");return typeof e?.version == "string" && typeof e?.build_id == "string" ? {@@ -48687,23 +48687,23 @@ function kve() {return null;}}-function QU() {- let e = (0, F.useRef)(kve()), [t, n] = (0, F.useState)(null);+function ZU() {+ let e = (0, F.useRef)(Ave()), [t, n] = (0, F.useState)(null);return (0, F.useEffect)(() => {let t = !1, r, i, a = async () => {- if (t || !YU()) return;+ if (t || !JU()) return;let o = new AbortController();i = o;- let s = setTimeout(() => o.abort(), Ove);+ let s = setTimeout(() => o.abort(), kve);o.signal.addEventListener("abort", () => clearTimeout(s), { once: !0 });try {let r = await B("/api/client-updates", o.signal);!t && !o.signal.aborted && typeof r?.runtime?.version == "string" && typeof r.runtime.build_id == "string" && (e.current ??= { ...r.runtime }, n(r));} catch {} finally {- clearTimeout(s), i === o && (i = void 0, !t && YU() && (r = setTimeout(a, Dve)));+ clearTimeout(s), i === o && (i = void 0, !t && JU() && (r = setTimeout(a, Ove)));}}, o = () => {- clearTimeout(r), i?.abort(), i = void 0, YU() && a();+ clearTimeout(r), i?.abort(), i = void 0, JU() && a();};return document.addEventListener("visibilitychange", o), document.addEventListener("peach:client-updates", o), a(), () => {t = !0, clearTimeout(r), i?.abort(), document.removeEventListener("visibilitychange", o), document.removeEventListener("peach:client-updates", o);@@ -48713,12 +48713,12 @@ function QU() {refresh: !!t && !!e.current && (t.runtime.version !== e.current.version || t.runtime.build_id !== e.current.build_id)};}-function Ave({ navigate: e }) {- let { snapshot: t, refresh: n } = QU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");+function jve({ navigate: e }) {+ let { snapshot: t, refresh: n } = ZU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");if (!t || !a) return null;- let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : XU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;+ let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : YU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;if (!l) return null;- let u = (s.state === "ready" || XU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [+ let u = (s.state === "ready" || YU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [l,c.version,c.build_id@@ -48741,22 +48741,22 @@ function Ave({ navigate: e }) {children: [" Peach ", u]}) : null] })] }), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex-wrap",- children: [l === "refresh" ? /* @__PURE__ */ (0, I.jsx)(kH, {+ children: [l === "refresh" ? /* @__PURE__ */ (0, I.jsx)(OH, {variant: "secondary",size: "small",onClick: () => window.location.reload(),"data-copy-key": "clientUpdates.refresh.action",children: "刷新页面"- }) : /* @__PURE__ */ (0, I.jsx)(kH, {+ }) : /* @__PURE__ */ (0, I.jsx)(OH, {variant: "secondary",size: "small",- href: ZU,+ href: XU,onClick: (t) => {- t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(ZU));+ t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(XU));},"data-copy-key": `clientUpdates.${l}.action`,children: l === "preparing" ? "查看进度" : "查看更新"- }), /* @__PURE__ */ (0, I.jsx)(kH, {+ }), /* @__PURE__ */ (0, I.jsx)(OH, {variant: "secondary",size: "small",onClick: () => i(d),@@ -48767,8 +48767,8 @@ function Ave({ navigate: e }) {}, d), a);}// src/react/router/pages/settings.tsx-function jve() {- let e = (0, F.useContext)(lG), { pathname: t } = Qd();+function Mve() {+ let e = (0, F.useContext)(sG), { pathname: t } = Qd();return (0, F.useEffect)(() => {e?.openSettings?.(jf(t));}, [e, t]), (0, F.useEffect)(() => () => {@@ -48778,7 +48778,7 @@ function jve() {}, [e]), null;}// src/junk-queue.ts-var $U = [+var QU = [["","全部",@@ -48814,40 +48814,40 @@ var $U = ["其它","hard-drive"]-], Mve = (e) => $U.find(([t]) => t === e)?.[0] ?? "";-function eW(e) {+], Nve = (e) => QU.find(([t]) => t === e)?.[0] ?? "";+function $U(e) {let t = new URLSearchParams(e);return {- kind: Mve(t.get("type")),+ kind: Nve(t.get("type")),view: t.get("view") === "dismissed" ? "dismissed" : "pending"};}-function tW(e = "", t = "pending") {+function eW(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 nW(e) {+function tW(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",glyph: "rotate-ccw",- href: tW("", "pending")+ href: eW("", "pending")} : {view: "dismissed",label: "已排除",glyph: "eye-off",- href: tW("", "dismissed")+ href: eW("", "dismissed")};}-var rW = (e) => e === "dismissed" ? "已排除" : "待判断", iW = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;-function Nve({ kind: e, view: t }) {- let n = $U.map(([n, r, i]) => `<a href="${tW(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${iW(i)}${z(r)}</a>`).join(""), r = nW(t);- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Fs(rW(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\"" : ""}>${iW(r.glyph)}${r.label}</a></nav></div></div></div>`;+var nW = (e) => e === "dismissed" ? "已排除" : "待判断", rW = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;+function Pve({ kind: e, view: t }) {+ let n = QU.map(([n, r, i]) => `<a href="${eW(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${rW(i)}${z(r)}</a>`).join(""), r = tW(t);+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Fs(nW(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\"" : ""}>${rW(r.glyph)}${r.label}</a></nav></div></div></div>`;}// src/react/boardui/utils/use-dismiss-on-outside-press.ts-function Pve(e, t, n) {+function Fve(e, t, n) {(0, F.useEffect)(() => {if (!e) return;let r = (e) => {@@ -48861,7 +48861,7 @@ function Pve(e, t, n) {n]);}-function Fve(e, t) {+function Ive(e, t) {let n = (0, F.useRef)(!1);return (0, F.useEffect)(() => {if (!e) return;@@ -48874,11 +48874,11 @@ function Fve(e, t) {}, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;}// src/react/boardui/components/base/select/select.tsx-var aW = (0, F.createContext)("md");-function oW({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var iW = (0, F.createContext)("md");+function aW({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, F.useRef)(null), u = (0, F.useRef)(null), [d, f] = (0, F.useState)(!1);- Pve(d, () => f(!1), [l, u]);- let p = Fve(d, l);+ Fve(d, () => f(!1), [l, u]);+ let p = Ive(d, l);return /* @__PURE__ */ (0, I.jsx)(gme, {ref: s,...c,@@ -48891,16 +48891,16 @@ function oW({ className: e, triggerClassName: t, popoverClassName: n, size: r =children: [/* @__PURE__ */ (0, I.jsx)(yme, {className: q("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, I.jsx)(Tge, { className: q("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, I.jsx)(Ege, { className: q("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]}), /* @__PURE__ */ (0, I.jsx)(Oz, {ref: u,isNonModal: !0,offset: 4,- className: q(Oge, qV, "p-2", n),+ className: q(kge, KV, "p-2", n),children: /* @__PURE__ */ (0, I.jsx)(Rpe, {items: a,- className: q(kge, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, I.jsx)(aW.Provider, {+ className: q(Age, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, I.jsx)(iW.Provider, {value: r,children: i})@@ -48908,16 +48908,16 @@ function oW({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function sW({ className: e, children: t, ...n }) {- let r = (0, F.useContext)(aW);+function oW({ className: e, children: t, ...n }) {+ let r = (0, F.useContext)(iW);return /* @__PURE__ */ (0, I.jsx)(Vpe, {...n,- className: (t) => q(JV, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),+ className: (t) => q(qV, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),children: t});}// src/react/boardui/components/base/badges/chip.tsx-var cW = XI({+var sW = XI({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",@@ -48936,15 +48936,15 @@ var cW = XI({soft: "bg-background-secondary-default text-text-secondary"}});-function lW({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function cW({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, I.jsx)("span", {ref: r,- className: q(cW.base, cW.variant[e], cW.color[t], n),+ className: q(sW.base, sW.variant[e], sW.color[t], n),...i});}// src/react/components/art-slot.tsx-function uW({ artwork: e, identity: t = e.html, relayout: n }) {+function lW({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, F.useState)({identity: t,artwork: e@@ -48963,7 +48963,7 @@ function uW({ artwork: e, identity: t = e.html, relayout: n }) {});}// src/react/activity/downloads-panel.tsx-var dW = "/api/downloads", fW = ["downloads"], Ive = "/api/downloads/cancel", Lve = "/api/downloads/postprocess", pW = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Rve = {+var uW = "/api/downloads", dW = ["downloads"], Lve = "/api/downloads/cancel", Rve = "/api/downloads/postprocess", fW = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, zve = {ingested: "lime",failed: "rose",cancelled: "neutral",@@ -48972,21 +48972,21 @@ var dW = "/api/downloads", fW = ["downloads"], Ive = "/api/downloads/cancel", Lvremote_done: "lime",landed: "lime",submitted: "neutral"-}, mW = (e) => {+}, pW = (e) => {let t = e.display_code || e.code || "", { title: n } = rL({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}`;-}, hW = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", zve = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");-function Bve() {+}, mW = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", Bve = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");+function Vve() {let e = (0, F.useId)(), t = It({- queryKey: [...fW, "pages"],+ queryKey: [...dW, "pages"],initialPageParam: null,- queryFn: ({ signal: e, pageParam: t }) => B(`${dW}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),+ queryFn: ({ signal: e, pageParam: t }) => B(`${uW}?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) => pW(e) === 5e3) ? 5e3 : 3e4+ refetchInterval: (e) => e.state.data?.pages.some((e) => fW(e) === 5e3) ? 5e3 : 3e4}), n = t.data?.pages || [], r = [...new Map(n.flatMap((e) => e.tasks).map((e) => [e.id, e])).values()];return !r.length && !t.error ? null : /* @__PURE__ */ (0, I.jsxs)("section", {id: "cloudDownloads",@@ -48998,14 +48998,14 @@ function Bve() {className: "text-title-2-medium text-text-primary",children: "云下载"}),- t.error ? /* @__PURE__ */ (0, I.jsx)(TV, {+ t.error ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",children: cr(t.error)}) : null,r.length ? /* @__PURE__ */ (0, I.jsx)("ul", {"aria-live": "polite",className: "flex min-w-0 flex-col gap-3",- children: r.map((e) => /* @__PURE__ */ (0, I.jsx)(Vve, {+ children: r.map((e) => /* @__PURE__ */ (0, I.jsx)(Hve, {task: e,writable: n[0]?.available ?? !1}, e.id))@@ -49013,9 +49013,9 @@ function Bve() {t.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: FB,+ leadingIcon: PB,className: "self-start",- ...AV(t.isFetchingNextPage),+ ...kV(t.isFetchingNextPage),onClick: () => {t.isFetching || t.fetchNextPage();},@@ -49024,16 +49024,16 @@ function Bve() {]});}-function Vve({ task: e, writable: t }) {+function Hve({ task: e, writable: t }) {bL();- let n = ae(), r = AH(), [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = hW(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [+ let n = ae(), r = kH(), [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = mW(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [e.display_code || e.code ? "" : "番号未识别",e.target,vL(e.submitted_at)].filter(Boolean).join(" · "), h = () => {- n.invalidateQueries({ queryKey: fW });+ n.invalidateQueries({ queryKey: dW });}, g = () => {- r.run("cancel", (t) => V(Ive, { id: e.id }, "POST", t), h);+ r.run("cancel", (t) => V(Lve, { id: e.id }, "POST", t), h);}, _ = () => {let t = {magnet: e.source_uri,@@ -49043,16 +49043,16 @@ function Vve({ task: e, writable: t }) {title: e.title,origin: e.origin};- r.run("resubmit", (e) => V(dW, t, "POST", e), h);+ r.run("resubmit", (e) => V(uW, t, "POST", e), h);}, v = () => {navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));}, y = () => {- r.run("postprocess", (t) => V(Lve, { id: e.id }, "POST", t), h);+ r.run("postprocess", (t) => V(Rve, { id: e.id }, "POST", t), h);};return /* @__PURE__ */ (0, I.jsxs)("li", {"data-download-state": e.state,"data-download-id": e.id,- className: HH({+ className: VH({padding: "none",bordered: p ? "error" : void 0,className: "flex flex-col"@@ -49070,7 +49070,7 @@ function Vve({ task: e, writable: t }) {"data-media-nopic": "",children: "无封面"}),- u?.has_cover ? /* @__PURE__ */ (0, I.jsx)(uW, {+ u?.has_cover ? /* @__PURE__ */ (0, I.jsx)(lW, {artwork: {kind: "cover",html: xo(u, "big")@@ -49080,7 +49080,7 @@ function Vve({ task: e, writable: t }) {f ? /* @__PURE__ */ (0, I.jsx)("a", {"data-download-cover-link": "",href: f,- "aria-label": `打开作品详情:${mW(e)}`,+ "aria-label": `打开作品详情:${pW(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]@@ -49091,19 +49091,19 @@ function Vve({ task: e, writable: t }) {className: "flex min-w-0 flex-col items-start gap-1 sm:flex-row sm:items-center sm:gap-2",children: [/* @__PURE__ */ (0, I.jsx)("strong", {className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",- title: mW(e),+ title: pW(e),children: f ? /* @__PURE__ */ (0, I.jsx)("a", {"data-download-title-link": "",href: f,className: "block truncate rounded-sm outline-none hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring",- children: mW(e)- }) : mW(e)+ children: pW(e)+ }) : pW(e)}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(lW, {- color: Rve[e.state] ?? "neutral",+ children: [/* @__PURE__ */ (0, I.jsx)(cW, {+ color: zve[e.state] ?? "neutral",children: e.state_label- }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(lW, {+ }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(cW, {color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",children: e.postprocess_label}) : null]@@ -49113,7 +49113,7 @@ function Vve({ task: e, writable: t }) {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "flex shrink-0",- children: /* @__PURE__ */ (0, I.jsx)(CU, {+ children: /* @__PURE__ */ (0, I.jsx)(SU, {source: e.provider,label: e.provider_label})@@ -49140,7 +49140,7 @@ function Vve({ task: e, writable: t }) {children: [d.map((e) => tn("performer", e.name, e.id)).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]})]}) : null,- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, I.jsx)(GH, {+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, I.jsx)(WH, {label: "远端下载进度",value: Math.round(e.progress * 100),max: 100@@ -49150,7 +49150,7 @@ function Vve({ task: e, writable: t }) {title: e.ledger_path,children: e.ledger_path}) : null,- r.error ? /* @__PURE__ */ (0, I.jsx)(_U, { children: r.error }) : null,+ r.error ? /* @__PURE__ */ (0, I.jsx)(gU, { children: r.error }) : null,/* @__PURE__ */ (0, I.jsxs)("div", {"data-download-actions": "",className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",@@ -49175,21 +49175,21 @@ function Vve({ task: e, writable: t }) {e.cancellable ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...AV(r.busy === "cancel"),+ ...kV(r.busy === "cancel"),onClick: g,children: "取消"}) : null,e.resubmittable ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...AV(r.busy === "resubmit"),+ ...kV(r.busy === "resubmit"),onClick: _,children: "重新提交"}) : null,e.postprocess_retryable ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...AV(r.busy === "postprocess"),+ ...kV(r.busy === "postprocess"),onClick: y,children: "重试入库后整理"}) : null@@ -49204,33 +49204,33 @@ function Vve({ 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: mW(e)+ children: pW(e)}) : null,l || e.postprocess_detail ? /* @__PURE__ */ (0, I.jsx)("div", {className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",children: /* @__PURE__ */ (0, I.jsx)("p", {className: "wrap-anywhere text-caption-1-regular text-text-secondary",- children: l || zve(e)+ children: l || Bve(e)})}) : null]});}// src/react/activity/work-code.ts-var gW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), _W = (e, t) => !!gW(e) && gW(e) === gW(t);+var hW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), gW = (e, t) => !!hW(e) && hW(e) === hW(t);// src/react/activity/resource-search.tsx-function Hve({ className: e }) {+function Uve({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("span", {className: e,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: zs("") }});}-function Uve(e) {+function Wve(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function Wve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {- let [a, o] = (0, F.useState)(e), [s, c] = (0, F.useState)(() => Uve(t)), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(null), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), y = AH(), b = (0, F.useRef)(null);+function Gve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {+ let [a, o] = (0, F.useState)(e), [s, c] = (0, F.useState)(() => Wve(t)), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(null), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), y = kH(), b = (0, F.useRef)(null);(0, F.useEffect)(() => () => b.current?.abort(), []);let x = () => {if (!a.trim() || y.busy) return;@@ -49246,7 +49246,7 @@ function Wve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {let e = new AbortController();b.current = e, B(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {if (e.signal.aborted) return;- let r = (n.items || []).find((e) => _W(e.code, t));+ let r = (n.items || []).find((e) => gW(e.code, t));i(r ? {code: r.code,title: String(r.catalog_title || r.name || ""),@@ -49267,18 +49267,18 @@ function Wve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {"aria-busy": !!y.busy,className: "flex min-w-0 flex-col gap-4",children: [- t ? /* @__PURE__ */ (0, I.jsxs)(gU, { children: [+ t ? /* @__PURE__ */ (0, I.jsxs)(hU, { children: ["版本目标:",t,"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"] }) : null,- /* @__PURE__ */ (0, I.jsx)(SV, {+ /* @__PURE__ */ (0, I.jsx)(xV, {label: "按番号查找资源",value: a,maxLength: 80,placeholder: "输入番号,按回车搜索",enterKeyHint: "search",- leadingIcon: y.busy ? Hve : sV,+ leadingIcon: y.busy ? Uve : oV,isReadOnly: !!y.busy,"aria-busy": !!y.busy,onChange: o,@@ -49288,7 +49288,7 @@ function Wve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, I.jsx)(vU, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(oW, {+ children: [/* @__PURE__ */ (0, I.jsx)(_U, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(aW, {"aria-label": "优先寻找",selectedKey: s,isDisabled: !!y.busy,@@ -49296,15 +49296,15 @@ function Wve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {e !== null && c(String(e));},children: [- /* @__PURE__ */ (0, I.jsx)(sW, {+ /* @__PURE__ */ (0, I.jsx)(oW, {id: "quality",children: "高清"}),- /* @__PURE__ */ (0, I.jsx)(sW, {+ /* @__PURE__ */ (0, I.jsx)(oW, {id: "chinese",children: "中字"}),- /* @__PURE__ */ (0, I.jsx)(sW, {+ /* @__PURE__ */ (0, I.jsx)(oW, {id: "uncensored",children: "无码"})@@ -49313,32 +49313,32 @@ function Wve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex gap-3 max-sm:flex-col",- children: [/* @__PURE__ */ (0, I.jsx)(SV, {+ children: [/* @__PURE__ */ (0, I.jsx)(xV, {label: "最小体积(GiB)",inputMode: "decimal",value: l,onChange: u- }), /* @__PURE__ */ (0, I.jsx)(SV, {+ }), /* @__PURE__ */ (0, I.jsx)(xV, {label: "最大体积(GiB)",inputMode: "decimal",value: d,onChange: f})]}),- y.busy ? /* @__PURE__ */ (0, I.jsx)(gU, {+ y.busy ? /* @__PURE__ */ (0, I.jsx)(hU, {role: "status",children: "正在搜索资源"}) : null,- y.error ? /* @__PURE__ */ (0, I.jsx)(_U, { children: y.error }) : null,- p?.error ? /* @__PURE__ */ (0, I.jsx)(gU, {+ y.error ? /* @__PURE__ */ (0, I.jsx)(gU, { children: y.error }) : null,+ p?.error ? /* @__PURE__ */ (0, I.jsx)(hU, {role: "status",children: p.error}) : null,- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, I.jsx)(gU, {+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, I.jsx)(hU, {role: "status",children: "没有符合条件的资源。"}) : null,- p?.warnings.map((e) => /* @__PURE__ */ (0, I.jsx)(gU, { children: e }, e)),+ p?.warnings.map((e) => /* @__PURE__ */ (0, I.jsx)(hU, { children: e }, e)),p?.items.length ? /* @__PURE__ */ (0, I.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: p.items.map((e) => /* @__PURE__ */ (0, I.jsxs)("li", {@@ -49348,7 +49348,7 @@ function Wve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {className: "break-words text-body-2-medium text-text-primary",children: e.name}),- /* @__PURE__ */ (0, I.jsx)(gU, { children: [+ /* @__PURE__ */ (0, I.jsx)(hU, { children: [e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",e.resolution ? `${e.resolution}p` : "",@@ -49372,19 +49372,19 @@ function Wve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {});}// src/react/activity/cloud-download-dialog.tsx-var Gve = {+var Kve = {submitted: "已提交离线下载,进度在任务中心",adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"};-function vW({ prefill: e, close: t, receipt: n, provider: r }) {- return /* @__PURE__ */ (0, I.jsx)(CV, {+function _W({ prefill: e, close: t, receipt: n, provider: r }) {+ return /* @__PURE__ */ (0, I.jsx)(SV, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",- children: e ? /* @__PURE__ */ (0, I.jsx)(Kve, {+ children: e ? /* @__PURE__ */ (0, I.jsx)(qve, {prefill: e,close: t,receipt: n,@@ -49392,11 +49392,11 @@ function vW({ prefill: e, close: t, receipt: n, provider: r }) {}) : null});}-function Kve({ prefill: e, close: t, receipt: n, provider: r }) {+function qve({ prefill: e, close: t, receipt: n, provider: r }) {let i = Pt({- queryKey: fW,- queryFn: ({ signal: e }) => B(`${dW}?limit=50`, e),- refetchInterval: (e) => pW(e.state.data)+ queryKey: dW,+ queryFn: ({ signal: e }) => B(`${uW}?limit=50`, e),+ refetchInterval: (e) => fW(e.state.data)}), a = i.data, o = /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex items-center justify-between gap-4 px-5 pt-5",children: [/* @__PURE__ */ (0, I.jsx)(rR, {@@ -49406,12 +49406,12 @@ function Kve({ prefill: e, close: t, receipt: n, provider: r }) {}), /* @__PURE__ */ (0, I.jsx)(J, {variant: "ghost",iconOnly: !0,- leadingIcon: VB,+ leadingIcon: BB,"aria-label": "关闭资源面板",onClick: t})]});- return a ? /* @__PURE__ */ (0, I.jsx)(qve, {+ return a ? /* @__PURE__ */ (0, I.jsx)(Jve, {header: o,snapshot: a,prefill: e,@@ -49424,7 +49424,7 @@ function Kve({ prefill: e, close: t, receipt: n, provider: r }) {o,/* @__PURE__ */ (0, I.jsx)("div", {className: "flex min-h-0 flex-col gap-4 overflow-y-auto p-5",- children: i.error ? /* @__PURE__ */ (0, I.jsx)(TV, {+ children: i.error ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",children: cr(i.error)}) : null@@ -49440,8 +49440,8 @@ function Kve({ prefill: e, close: t, receipt: n, provider: r }) {]});}-function qve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {- let o = ae(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, F.useState)(c?.key || ""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(n.code ?? ""), [h, g] = (0, F.useState)(c?.target || ""), [_, v] = (0, F.useState)(n.code ? n : null), [y, b] = (0, F.useState)(""), x = t.available && s.some((e) => e.key === l), S = AH(), C = (0, F.useRef)(null), w = (e) => {+function Jve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {+ let o = ae(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, F.useState)(c?.key || ""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(n.code ?? ""), [h, g] = (0, F.useState)(c?.target || ""), [_, v] = (0, F.useState)(n.code ? n : null), [y, b] = (0, F.useState)(""), x = t.available && s.some((e) => e.key === l), S = kH(), C = (0, F.useRef)(null), w = (e) => {u(e), g(s.find((t) => t.key === e)?.target ?? "");};return /* @__PURE__ */ (0, I.jsxs)("form", {@@ -49457,14 +49457,14 @@ function qve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providetitle: _?.title,origin: _?.origin};- b(""), S.run("submit", (e) => V(dW, t, "POST", e), (e) => {- o.invalidateQueries({ queryKey: fW });- let t = Gve[e.outcome];+ b(""), S.run("submit", (e) => V(uW, t, "POST", e), (e) => {+ o.invalidateQueries({ queryKey: dW });+ let t = Kve[e.outcome];if (e.ok && t) {i(t), r();return;}- let n = hW(e.task);+ let n = mW(e.task);b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");});},@@ -49488,7 +49488,7 @@ function qve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: [/* @__PURE__ */ (0, I.jsx)("p", {className: "break-words text-body-medium text-text-primary",children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"- }), _ ? /* @__PURE__ */ (0, I.jsx)(gU, { children: [+ }), _ ? /* @__PURE__ */ (0, I.jsx)(hU, { children: [_.performers,_.studio,_.release_date,@@ -49496,22 +49496,22 @@ function qve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide].filter(Boolean).join(" · ") }) : null]})]}) : null,- /* @__PURE__ */ (0, I.jsx)(Wve, {+ /* @__PURE__ */ (0, I.jsx)(Gve, {initialCode: n.code ?? "",reason: n.searchReason,onSearch: (e) => {- _W(e, _?.code) || (v(_W(e, n.code) ? n : null), f("")), m(e);+ gW(e, _?.code) || (v(gW(e, n.code) ? n : null), f("")), m(e);},- onWork: (e) => v((t) => e ? _W(t?.code, e.code) ? {+ onWork: (e) => v((t) => e ? gW(t?.code, e.code) ? {...t,...e,origin: t?.origin || e.origin- } : e : _W(t?.code, n.code) ? t : null),+ } : e : gW(t?.code, n.code) ? t : null),choose: (e, t) => {f(e), m(t), C.current?.focus();}}),- /* @__PURE__ */ (0, I.jsx)(SV, {+ /* @__PURE__ */ (0, I.jsx)(xV, {ref: C,label: "磁力链接",placeholder: "magnet:?xt=urn:btih:…",@@ -49523,38 +49523,38 @@ function qve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-1",children: [- /* @__PURE__ */ (0, I.jsx)(vU, { children: "下载到" }),- /* @__PURE__ */ (0, I.jsx)(oW, {+ /* @__PURE__ */ (0, I.jsx)(_U, { children: "下载到" }),+ /* @__PURE__ */ (0, I.jsx)(aW, {"aria-label": "下载到",selectedKey: l || null,isDisabled: !s.length,onSelectionChange: (e) => {e !== null && w(String(e));},- children: s.map((e) => /* @__PURE__ */ (0, I.jsx)(sW, {+ children: s.map((e) => /* @__PURE__ */ (0, I.jsx)(oW, {id: e.key,textValue: e.label,- children: /* @__PURE__ */ (0, I.jsx)(CU, {+ children: /* @__PURE__ */ (0, I.jsx)(SU, {source: e.key,label: e.label})}, e.key))}),- l === "115" ? /* @__PURE__ */ (0, I.jsx)(gU, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null+ l === "115" ? /* @__PURE__ */ (0, I.jsx)(hU, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null]}),- t.available ? null : /* @__PURE__ */ (0, I.jsx)(TV, {+ t.available ? null : /* @__PURE__ */ (0, I.jsx)(wV, {tone: "neutral",children: "云下载只在允许修改数据库的设备上可用。"}),- s.length ? null : /* @__PURE__ */ (0, I.jsxs)(TV, {+ s.length ? null : /* @__PURE__ */ (0, I.jsxs)(wV, {tone: "neutral",children: ["尚未配置下载渠道。", /* @__PURE__ */ (0, I.jsx)("a", {href: "/settings/library?section=%E4%B8%8B%E8%BD%BD%E6%B8%A0%E9%81%93",children: "下载渠道设置"})]}),- /* @__PURE__ */ (0, I.jsx)(SV, {+ /* @__PURE__ */ (0, I.jsx)(xV, {label: "目标目录",placeholder: "/云下载",autoComplete: "off",@@ -49562,17 +49562,17 @@ function qve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providevalue: h,onChange: g}),- n.code ? null : /* @__PURE__ */ (0, I.jsx)(SV, {+ n.code ? null : /* @__PURE__ */ (0, I.jsx)(xV, {label: "番号",placeholder: "可不填",autoComplete: "off",maxLength: 60,value: p,onChange: (e) => {- m(e), _W(e, _?.code) || v(null);+ m(e), gW(e, _?.code) || v(null);}}),- y || S.error ? /* @__PURE__ */ (0, I.jsx)(_U, { children: y || S.error }) : null+ y || S.error ? /* @__PURE__ */ (0, I.jsx)(gU, { children: y || S.error }) : null]}),/* @__PURE__ */ (0, I.jsxs)("div", {@@ -49584,7 +49584,7 @@ function qve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}), /* @__PURE__ */ (0, I.jsx)(J, {type: "submit",disabled: !d.trim() || !x,- ...AV(S.busy === "submit"),+ ...kV(S.busy === "submit"),children: "提交下载"})]})@@ -49592,18 +49592,18 @@ function qve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide});}// src/react/wants/wants.ts-var yW = "/api/wants", bW = ["wants"], Jve = (e) => [+var vW = "/api/wants", yW = ["wants"], Yve = (e) => ["wants","follow",e-], xW = [+], Xve = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], SW = (e) => B(yW, e);-function CW(e, t) {- H.setQueryData(bW, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {+], bW = (e) => B(vW, e);+function xW(e, t) {+ H.setQueryData(yW, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {...n,items: n.items.map((n) => n.id === e ? {...n,@@ -49611,27 +49611,27 @@ function CW(e, t) {} : n)} : n);}-var wW = (e, t) => B(`${yW}?follow=${encodeURIComponent(e)}`, t), TW = (e, t) => V(yW, {+var SW = (e, t) => B(`${vW}?follow=${encodeURIComponent(e)}`, t), CW = (e, t) => V(vW, {action: "add",...e-}, "POST", t), EW = (e, t) => V(yW, {+}, "POST", t), wW = (e, t) => V(vW, {action: "remove",ids: e-}, "POST", t), DW = (e, t) => V(yW, {+}, "POST", t), TW = (e, t) => V(vW, {action: "reset",ids: e-}, "POST", t), OW = () => H.invalidateQueries({ queryKey: bW }), kW = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function AW(e) {+}, "POST", t), EW = () => H.invalidateQueries({ queryKey: yW }), DW = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+function OW(e) {return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";}// src/react/jav/jav.ts-var jW = (e, t = "taste", n = "desc") => [+var kW = (e, t = "taste", n = "desc") => ["jav-discoveries",e,t,n];-function MW(e, t, n = {}) {+function AW(e, t, n = {}) {let r = new URLSearchParams({scope: e,limit: "100",@@ -49640,7 +49640,7 @@ function MW(e, t, n = {}) {});return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), B(`/api/jav/discoveries?${r}`, t);}-function NW(e, t, n) {+function jW(e, t, n) {let r = Co({...e,is_jav: !0@@ -49649,29 +49649,29 @@ function NW(e, t, n) {let i = z(uo(e));return xo(e, t).replace(/ src="[^"]*"/, ` src="${i}" data-jav-image="${e.id}" data-jav-cover="${i}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"media-nopic\"");}-async function PW(e, t) {+async function MW(e, t) {e === "wants" ? await H.ensureQueryData({- queryKey: bW,- queryFn: () => SW(t),+ queryKey: yW,+ queryFn: () => bW(t),staleTime: 3e4,revalidateIfStale: !0}) : e === "discover" && await H.ensureQueryData({- queryKey: jW("external"),- queryFn: () => MW("external", t),+ queryKey: kW("external"),+ queryFn: () => AW("external", t),staleTime: 3e4,revalidateIfStale: !0});}// src/react/components/board-tabs.tsx-function FW({ value: e }) {+function NW({ value: e }) {return /* @__PURE__ */ (0, I.jsx)("span", {"data-tab-count": "",className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",children: e.toLocaleString()});}-var IW = "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 LW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {+var PW = "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 FW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {let a = (0, F.useRef)(null), o = EL(a);return (0, F.useLayoutEffect)(() => {let e = a.current;@@ -49696,7 +49696,7 @@ function LW({ 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 ? OV(e.symbol) : null, i = e.value === t;+ let n = e.symbol ? DV(e.symbol) : null, i = e.value === t;return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",role: "tab",@@ -49705,7 +49705,7 @@ function LW({ 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: IW,+ className: PW,onClick: () => {i || r(e.value);},@@ -49715,7 +49715,7 @@ function LW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"});}// src/react/jav/jav-header.tsx-function RW({ tab: e, navigate: t, find: n }) {+function IW({ tab: e, navigate: t, find: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex w-full flex-col gap-4",children: [/* @__PURE__ */ (0, I.jsxs)("div", {@@ -49729,45 +49729,45 @@ function RW({ tab: e, navigate: t, find: n }) {onClick: n,children: "查找资源"})]- }), /* @__PURE__ */ (0, I.jsx)(LW, {- tabs: QH.map(([e, t]) => ({+ }), /* @__PURE__ */ (0, I.jsx)(FW, {+ tabs: ZH.map(([e, t]) => ({value: e,label: t})),value: e,label: "JAV 分区",className: "",- onChange: (e) => t(eU(e))+ onChange: (e) => t($H(e))})]});}-function zW({ navigate: e, receipt: t }) {+function LW({ navigate: e, receipt: t }) {let [n, r] = (0, F.useState)(null);- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(RW, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(IW, {tab: "library",navigate: e,find: () => r({})- }), /* @__PURE__ */ (0, I.jsx)(vW, {+ }), /* @__PURE__ */ (0, I.jsx)(_W, {prefill: n,close: () => r(null),receipt: t})] });}// src/react/router/pages/catalog.tsx-var BW = () => uu, VW = W.navigation.seq, HW = W.navigation.openEpoch, UW = W.navigation.location.pathname, WW = {- seq: VW,+var RW = () => uu, zW = W.navigation.seq, BW = W.navigation.openEpoch, VW = W.navigation.location.pathname, HW = {+ seq: zW,claimed: !0,- from: UW+ from: VW};W.listen((e) => {- WW = {+ HW = {seq: e.seq,- claimed: e.openEpoch === HW,- from: UW- }, HW = e.openEpoch, UW = e.location.pathname;+ claimed: e.openEpoch === BW,+ from: VW+ }, BW = e.openEpoch, VW = e.location.pathname;});-var GW = !1;-function KW(e) {+var UW = !1;+function WW(e) {let { seq: t, openEpoch: n, location: r } = W.navigation, i = Rf(r.pathname), a = Op() ?? r, o = U ?? {};return {seq: t,@@ -49779,7 +49779,7 @@ function KW(e) {opened: e};}-function qW(e, t, n, r) {+function GW(e, t, n, r) {let i = { ...U }, a = om("catalog");if (a) return { ...a };if (e === "/trash") return {@@ -49816,14 +49816,14 @@ function qW(e, t, n, r) {folder_recursive: o.get("folder_recursive") === "0" ? "0" : ""};}-function JW(e) {+function KW(e) {let t = W.navigation.seq;am("catalog", { ...U });let n = e(), r = () => W.navigation.seq === t, i = () => document.querySelector("#grid");lm(r, i(), { pending: !0 }), Promise.resolve(n).then(() => lm(r, i()));}-function YW(e, t) {- let n = { ...e }, r = KW(n.opened);+function qW(e, t) {+ let n = { ...e }, r = WW(n.opened);Object.assign(e, r);let i = t.catalog;if (!i || r.opens === 0) return;@@ -49835,39 +49835,39 @@ function YW(e, t) {if (r.opens === n.opens) {if (r.epoch === n.epoch && n.opened) {if (r.seq === n.seq || n.covered && r.address === n.address && r.filters === n.filters) return;- JW(() => i.load());+ KW(() => i.load());return;}- r.epoch !== n.epoch && (a = W.navigation.action === "POP" && WW.from !== "/");+ r.epoch !== n.epoch && (a = W.navigation.action === "POP" && HW.from !== "/");}let { pathname: o, search: s } = W.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {- let { kind: e, view: t } = eW(s);- GW = !0, Ep(tW(e, t), { replace: !0 });+ let { kind: e, view: t } = $U(s);+ UW = !0, Ep(eW(e, t), { replace: !0 });return;}- let c = GW;- GW = !1, a &&= o === "/" && !sm(), e.opened = !0, yu({ state: qW(o, s, a, i) }), JW(() => i.open(o, {+ let c = UW;+ UW = !1, a &&= o === "/" && !sm(), e.opened = !0, yu({ state: GW(o, s, a, i) }), KW(() => i.open(o, {entering: a,retitle: c}));}-function XW() {- let e = (0, F.useContext)(lG), t = cG(), n = (0, F.useSyncExternalStore)(xu, BW), r = Qd(), i = (0, F.useRef)(null), a = (0, F.useRef)({+function JW() {+ let e = (0, F.useContext)(sG), t = oG(), n = (0, F.useSyncExternalStore)(xu, RW), r = Qd(), i = (0, F.useRef)(null), a = (0, F.useRef)({mounted: !0,queued: !1});return (0, F.useEffect)(() => {let e = a.current;e.mounted = !0;- let t = KW(!Rf(W.navigation.location.pathname));- return !t.covered && t.opens > 0 && (GW || WW.seq === VW ? t.opens = -1 : WW.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {+ let t = WW(!Rf(W.navigation.location.pathname));+ return !t.covered && t.opens > 0 && (UW || HW.seq === zW ? t.opens = -1 : HW.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {e.mounted = !1;};}, []), (0, F.useEffect)(() => {let t = a.current;!t.queued && e && (t.queued = !0, queueMicrotask(() => {- t.queued = !1, t.mounted && i.current && YW(i.current, e);+ t.queued = !1, t.mounted && i.current && qW(i.current, e);}));}, [t,@@ -49876,7 +49876,7 @@ function XW() {e]), null;}-function ZW() {+function YW() {let { pathname: e } = Qd();return (0, F.useLayoutEffect)(() => {if (e !== "/wall") return;@@ -49889,19 +49889,19 @@ function ZW() {e.inert = n[t] || !1;});};- }, [e]), Rf(e) && !Lf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(XW, {}, e === "/junk-files" ? "/junk-files" : "/"), An(e) ? /* @__PURE__ */ (0, I.jsx)(hG, {}) : null] });+ }, [e]), Rf(e) && !Lf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(JW, {}, e === "/junk-files" ? "/junk-files" : "/"), An(e) ? /* @__PURE__ */ (0, I.jsx)(pG, {}) : null] });}-function QW() {- let e = (0, F.useContext)(lG), t = document.getElementById("javLibraryHeader");- return t && e ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(zW, {+function XW() {+ let e = (0, F.useContext)(sG), t = document.getElementById("javLibraryHeader");+ return t && e ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(LW, {navigate: e.navigate,receipt: (t) => e.receipt(t)}), t) : null;}// src/react/router/pages/overlay.tsx-var $W = () => uu, eG = () => du;-function tG() {- let e = (0, F.useContext)(lG), t = (0, F.useSyncExternalStore)(xu, eG), n = (0, F.useSyncExternalStore)(xu, $W);+var ZW = () => uu, QW = () => du;+function $W() {+ let e = (0, F.useContext)(sG), t = (0, F.useSyncExternalStore)(xu, QW), n = (0, F.useSyncExternalStore)(xu, ZW);return (0, F.useEffect)(() => {if (!t || !n) return;let r = !0;@@ -49916,8 +49916,8 @@ function tG() {e]), null;}-function nG(e, t = !1) {- let n = (0, F.useSyncExternalStore)(xu, $W), r = (0, F.useRef)(void 0);+function eG(e, t = !1) {+ let n = (0, F.useSyncExternalStore)(xu, ZW), r = (0, F.useRef)(void 0);if (r.current === void 0) {let { claimed: e } = W.navigation;r.current = uu === 0 || Dp() ? "boot" : e && !t ? null : "history";@@ -49936,11 +49936,11 @@ function nG(e, t = !1) {}));}, [n]);}-function rG() {- let e = (0, F.useContext)(lG), t = (0, F.useRef)(e);+function tG() {+ let e = (0, F.useContext)(sG), t = (0, F.useRef)(e);return (0, F.useLayoutEffect)(() => {t.current = e;- }, [e]), nG((t) => {+ }, [e]), eG((t) => {let n = W.navigation.location, { pathname: r, search: i } = Af(n.pathname) && Nf(n.state) || n, a = Lf(r, i);e && a && (Uf(), t || Wf(W.navigation.location.state), e.openOverlay(a));}, !0), (0, F.useEffect)(() => () => {@@ -49949,8 +49949,8 @@ function rG() {});}, []), null;}-function iG({ path: e }) {- cG();+function nG({ path: e }) {+ oG();let { location: t, seq: n, action: r } = W.navigation, i = Af(t.pathname) ? Nf(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, F.useRef)({identity: a,seq: i?.seq ?? n,@@ -49962,24 +49962,24 @@ function iG({ path: e }) {seq: n,navigationSeq: n,settings: !1- }), /* @__PURE__ */ (0, I.jsx)(rG, {}, `${e} ${o.current.seq}`);+ }), /* @__PURE__ */ (0, I.jsx)(tG, {}, `${e} ${o.current.seq}`);}-function aG() {- let e = (0, F.useContext)(lG);- return nG(() => {+function rG() {+ let e = (0, F.useContext)(sG);+ return eG(() => {e?.follow?.ground();}), null;}-function oG() {- return /* @__PURE__ */ (0, I.jsx)(aG, {}, cG());+function iG() {+ return /* @__PURE__ */ (0, I.jsx)(rG, {}, oG());}// src/react/router/router.tsx-var sG = (0, F.createContext)(0), cG = () => (0, F.useContext)(sG), lG = (0, F.createContext)(null);-function uG({ children: e }) {+var aG = (0, F.createContext)(0), oG = () => (0, F.useContext)(aG), sG = (0, F.createContext)(null);+function cG({ children: e }) {let [t, n] = (0, F.useState)(() => W.navigation);return (0, F.useLayoutEffect)(() => (n(W.navigation), W.listen((e) => {(0, Lt.flushSync)(() => n(e));- })), []), /* @__PURE__ */ (0, I.jsx)(sG.Provider, {+ })), []), /* @__PURE__ */ (0, I.jsx)(aG.Provider, {value: t.openEpoch,children: /* @__PURE__ */ (0, I.jsx)(Cf, {location: t.location,@@ -49989,34 +49989,34 @@ function uG({ children: e }) {})});}-function Yve({ target: e }) {+function Zve({ target: e }) {let t = ef();return (0, F.useLayoutEffect)(() => {e.current = t;}), null;}-function Xve(e, t, n) {+function Qve(e, t, n) {let r = new URL(e, window.location.href);- P6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);+ N6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);}-function Zve() {- let e = (0, F.useContext)(lG), [t, n] = (0, F.useState)(lp), r = (0, F.useRef)(null);+function $ve() {+ let e = (0, F.useContext)(sG), [t, n] = (0, F.useState)(lp), r = (0, F.useRef)(null);(0, F.useLayoutEffect)(() => (n(lp()), up((e, t) => {t ? (0, Lt.flushSync)(() => n(e)) : n(e);})), []);let i = (0, F.useMemo)(() => (t) => {- e && r.current && Xve(t, e, r.current);+ e && r.current && Qve(t, e, r.current);}, [e]);- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Yve, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)(Qve, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Zve, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)(eye, {entry: t,- children: /* @__PURE__ */ (0, I.jsx)($ve, {+ children: /* @__PURE__ */ (0, I.jsx)(tye, {entry: t,actions: e,go: i})}, t.revision)) : null] });}-var Qve = class extends F.Component {+var eye = class extends F.Component {state = { failed: !1 };static getDerivedStateFromError() {return { failed: !0 };@@ -50027,48 +50027,48 @@ var Qve = class extends F.Component {render() {return this.state.failed ? null : this.props.children;}-}, $ve = (0, F.memo)(function({ entry: e, actions: t, go: n }) {- return J6(e.path) ? (0, Lt.createPortal)(yFe(e.path, e.props, t, n), e.host, String(e.revision)) : null;+}, tye = (0, F.memo)(function({ entry: e, actions: t, go: n }) {+ return q6(e.path) ? (0, Lt.createPortal)(xFe(e.path, e.props, t, n), e.host, String(e.revision)) : null;});-function eye({ children: e }) {+function nye({ children: e }) {let t = Qd();- cG();+ oG();let n = Op(), r = Af(t.pathname) && !Dp() ? Nf(t.state) : null;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(wf, {location: n ?? t,children: [- Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {+ Object.entries(M6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {path: e,element: t.element}, e)),- Object.entries(hFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {+ Object.entries(_Fe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {path: e,element: t.element}, e)),- Object.entries(F6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {+ Object.entries(P6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {path: e,element: t.element}, e)),- Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {+ Object.entries(L6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {path: e,element: t.element}, e)),- Object.entries(B6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {+ Object.entries(z6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {path: e,element: t.element}, e)),- q6.map((e) => /* @__PURE__ */ (0, I.jsx)(Sf, {+ K6.map((e) => /* @__PURE__ */ (0, I.jsx)(Sf, {path: e,- element: V6["/"].element+ element: B6["/"].element}, e)),- Object.entries(gFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {+ Object.entries(vFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {path: e,element: t.element}, e)),Pf.map((e) => /* @__PURE__ */ (0, I.jsx)(Sf, {path: e,- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(oG, {}) : V6["/"].element+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(iG, {}) : B6["/"].element}, e)),kf.map((e) => /* @__PURE__ */ (0, I.jsx)(Sf, {path: e,@@ -50084,7 +50084,7 @@ function eye({ children: e }) {location: r ?? t,children: [Pf.map((e) => /* @__PURE__ */ (0, I.jsx)(Sf, {path: e,- element: /* @__PURE__ */ (0, I.jsx)(iG, { path: e })+ element: /* @__PURE__ */ (0, I.jsx)(nG, { path: e })}, e)), /* @__PURE__ */ (0, I.jsx)(Sf, {path: "*",element: null@@ -50092,38 +50092,38 @@ function eye({ children: e }) {}),/* @__PURE__ */ (0, I.jsxs)(wf, { children: [kf.map((e) => /* @__PURE__ */ (0, I.jsx)(Sf, {path: e,- element: /* @__PURE__ */ (0, I.jsx)(jve, {})+ element: /* @__PURE__ */ (0, I.jsx)(Mve, {})}, e)), /* @__PURE__ */ (0, I.jsx)(Sf, {path: "*",element: null})] })] });}-function tye({ children: e, actions: t = null, background: n, processing: r = !1 }) {- return /* @__PURE__ */ (0, I.jsxs)(rH, { children: [n, /* @__PURE__ */ (0, I.jsx)(lG.Provider, {+function rye({ children: e, actions: t = null, background: n, processing: r = !1 }) {+ return /* @__PURE__ */ (0, I.jsxs)(nH, { children: [n, /* @__PURE__ */ (0, I.jsx)(sG.Provider, {value: t,- children: /* @__PURE__ */ (0, I.jsxs)(uG, { children: [- /* @__PURE__ */ (0, I.jsx)(Zve, {}),- /* @__PURE__ */ (0, I.jsx)(QW, {}),- /* @__PURE__ */ (0, I.jsx)(tG, {}),- r && t ? /* @__PURE__ */ (0, I.jsx)(fve, { toast: t.toast }) : null,- r && t ? /* @__PURE__ */ (0, I.jsx)(gve, {}) : null,- r && t ? /* @__PURE__ */ (0, I.jsx)(Ave, { navigate: t.navigate }) : null,- r && t ? /* @__PURE__ */ (0, I.jsx)(Eve, { actions: t }) : null,- /* @__PURE__ */ (0, I.jsx)(eye, { children: e })+ children: /* @__PURE__ */ (0, I.jsxs)(cG, { children: [+ /* @__PURE__ */ (0, I.jsx)($ve, {}),+ /* @__PURE__ */ (0, I.jsx)(XW, {}),+ /* @__PURE__ */ (0, I.jsx)($W, {}),+ r && t ? /* @__PURE__ */ (0, I.jsx)(pve, { toast: t.toast }) : null,+ r && t ? /* @__PURE__ */ (0, I.jsx)(_ve, {}) : null,+ r && t ? /* @__PURE__ */ (0, I.jsx)(jve, { navigate: t.navigate }) : null,+ r && t ? /* @__PURE__ */ (0, I.jsx)(Dve, { actions: t }) : null,+ /* @__PURE__ */ (0, I.jsx)(nye, { children: e })] })})] });}-var nye = { onCaughtError: (e) => {+var iye = { onCaughtError: (e) => {globalThis.reportError?.(e);-} }, dG = {+} }, lG = {category: "个人分类",creator: "创作者/账号",performer: "人物",seller: "卖家",studio: "厂牌"};-function fG(e, t = "", n = "") {+function uG(e, t = "", n = "") {let r = new URLSearchParams({...e,folder: t,@@ -50135,14 +50135,14 @@ function fG(e, t = "", n = "") {queryFn: ({ signal: e }) => B(`/api/folders?${r}`, e)};}-function pG(e, t) {+function dG(e, t) {let n = new URLSearchParams(e.search);for (let [e, r] of Object.entries(t)) r ? n.set(e, r) : n.delete(e);return e.pathname + (n.size ? `?${n}` : "");}// src/react/catalog-folders/folder-rule-dialog.tsx-function rye({ folder: e, rule: t, revision: n, close: r }) {- let i = (0, F.useContext)(lG), a = AH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {+function aye({ folder: e, rule: t, revision: n, close: r }) {+ let i = (0, F.useContext)(sG), a = kH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {folder: e.id,purpose: o,name: c,@@ -50171,7 +50171,7 @@ function rye({ folder: e, rule: t, revision: n, close: r }) {})})).confirmed ? b("已移除目录规则") : _(!1);}, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: zs(t) } }), t] }) : null;- return g ? null : /* @__PURE__ */ (0, I.jsx)(CV, {+ return g ? null : /* @__PURE__ */ (0, I.jsx)(SV, {isOpen: !0,onOpenChange: (e) => {!e && !w && r();@@ -50193,7 +50193,7 @@ function rye({ folder: e, rule: t, revision: n, close: r }) {className: "mt-1 text-body-2-regular text-text-secondary wrap-anywhere",children: e.path})]- }), /* @__PURE__ */ (0, I.jsx)(kV, {+ }), /* @__PURE__ */ (0, I.jsx)(OV, {label: "关闭目录用途",onPress: () => {w || r();@@ -50205,20 +50205,20 @@ function rye({ folder: e, rule: t, revision: n, close: r }) {children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, I.jsx)(gV, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(oW, {+ children: [/* @__PURE__ */ (0, I.jsx)(hV, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(aW, {"aria-label": "这个文件夹用于",selectedKey: o,isDisabled: w,onSelectionChange: (e) => {s(e), y();},- children: Object.entries(dG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(sW, {+ children: Object.entries(lG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(oW, {id: e,children: t}, e))})]}),- o === "category" ? null : /* @__PURE__ */ (0, I.jsx)(SV, {+ o === "category" ? null : /* @__PURE__ */ (0, I.jsx)(xV, {label: "关联名称",value: c,onChange: (e) => {@@ -50229,7 +50229,7 @@ function rye({ folder: e, rule: t, revision: n, close: r }) {isDisabled: w,isRequired: !0}),- /* @__PURE__ */ (0, I.jsx)(eH, {+ /* @__PURE__ */ (0, I.jsx)($V, {isSelected: u,isDisabled: w,onChange: (e) => {@@ -50237,7 +50237,7 @@ function rye({ folder: e, rule: t, revision: n, close: r }) {},children: "应用到子文件夹"}),- /* @__PURE__ */ (0, I.jsx)(eH, {+ /* @__PURE__ */ (0, I.jsx)($V, {isSelected: f,isDisabled: w,onChange: (e) => {@@ -50274,9 +50274,9 @@ function rye({ folder: e, rule: t, revision: n, close: r }) {children: e.name}, e.id))}) : null,- m.conflicts.length ? /* @__PURE__ */ (0, I.jsx)(TV, {+ m.conflicts.length ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "warning",- extra: /* @__PURE__ */ (0, I.jsx)(yU, {+ extra: /* @__PURE__ */ (0, I.jsx)(vU, {summary: "查看归属冲突",children: /* @__PURE__ */ (0, I.jsx)("ul", {className: "mt-2 flex flex-col gap-2",@@ -50294,7 +50294,7 @@ function rye({ folder: e, rule: t, revision: n, close: r }) {}) : null]}) : null,- a.error ? /* @__PURE__ */ (0, I.jsx)(TV, {+ a.error ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",children: a.error}) : null@@ -50309,7 +50309,7 @@ function rye({ folder: e, rule: t, revision: n, close: r }) {onClick: () => {w || C();},- ...AV(a.busy === "remove"),+ ...kV(a.busy === "remove"),children: "移除规则"}) : null,/* @__PURE__ */ (0, I.jsx)(J, {@@ -50321,13 +50321,13 @@ function rye({ folder: e, rule: t, revision: n, close: r }) {}),m ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "primary",- ...AV(a.busy === "save"),+ ...kV(a.busy === "save"),onClick: S,children: T("save", "正在保存") || "保存目录用途"}) : /* @__PURE__ */ (0, I.jsx)(J, {variant: "primary",disabled: o !== "category" && !c.trim(),- ...AV(a.busy === "preview"),+ ...kV(a.busy === "preview"),onClick: () => {x();},@@ -50340,7 +50340,7 @@ function rye({ folder: e, rule: t, revision: n, close: r }) {});}// src/react/catalog-folders/use-folder-sticky-offset.ts-function iye(e, t) {+function oye(e, t) {(0, F.useLayoutEffect)(() => {if (!e) return;let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {@@ -50363,11 +50363,11 @@ function iye(e, t) {}, [e, t]);}// src/react/catalog-folders/catalog-folders-page.tsx-function mG() {- return Zd() ? /* @__PURE__ */ (0, I.jsx)(aye, {}) : null;+function fG() {+ return Zd() ? /* @__PURE__ */ (0, I.jsx)(sye, {}) : null;}-function aye() {- let e = Qd(), t = (0, F.useContext)(lG);+function sye() {+ let e = Qd(), t = (0, F.useContext)(sG);if (!An(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");return /* @__PURE__ */ (0, I.jsx)(CL, {@@ -50376,21 +50376,21 @@ function aye() {"aria-label": "文件夹模式",title: "文件夹模式","aria-pressed": r,- icon: JB,- onClick: () => t?.navigate(pG(e, r ? {+ icon: qB,+ onClick: () => t?.navigate(dG(e, r ? {browse: null,folder: null,folder_recursive: null} : { browse: "folders" }))});}-function oye({ children: e, enabled: t }) {- return Zd() ? /* @__PURE__ */ (0, I.jsx)(sye, {+function cye({ children: e, enabled: t }) {+ return Zd() ? /* @__PURE__ */ (0, I.jsx)(lye, {enabled: t,children: e}) : /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e });}-function sye({ children: e, enabled: t }) {+function lye({ children: e, enabled: t }) {let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(null), o = Qd(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));return /* @__PURE__ */ (0, I.jsxs)("div", {className: "entity-folder-workspace",@@ -50410,7 +50410,7 @@ function sye({ children: e, enabled: t }) {hidden: !c}), e]}),- n && i ? /* @__PURE__ */ (0, I.jsx)(hG, {+ n && i ? /* @__PURE__ */ (0, I.jsx)(pG, {treeTarget: n,headerTarget: i,enabled: t@@ -50418,14 +50418,14 @@ function sye({ children: e, enabled: t }) {]});}-function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {- let r = Qd(), i = (0, F.useContext)(lG), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {+function pG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {+ let r = Qd(), i = (0, F.useContext)(sG), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {loc: a.get("loc") ?? "",library: a.get("library") ?? ""};- iye(o, e);+ oye(o, e);let c = a.get("folder") || "", l = Pt({- ...fG(s, c),+ ...uG(s, c),enabled: o}), [u, d] = (0, F.useState)(!1), [f, p] = (0, F.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");if ((0, F.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {@@ -50439,11 +50439,11 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {d(!1), p(!1);}, [c, o]), !o || !m || !h || !i) return null;let g = (e) => {- d(!1), i.navigate(pG(r, {+ d(!1), i.navigate(dG(r, {browse: "folders",folder: e}));- }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(lye, {+ }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(dye, {scope: s,selected: c,current: _,@@ -50462,19 +50462,19 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {className: "folder-drawer-trigger",children: /* @__PURE__ */ (0, I.jsx)(CL, {"aria-label": "打开文件夹目录",- icon: sge,+ icon: cge,size: "small",onClick: () => d(!0)})}),- /* @__PURE__ */ (0, I.jsxs)(Dge, {+ /* @__PURE__ */ (0, I.jsxs)(Oge, {"aria-label": "文件夹路径",- children: [/* @__PURE__ */ (0, I.jsx)(GV, {+ children: [/* @__PURE__ */ (0, I.jsx)(WV, {current: !c,onClick: () => g(""),- icon: JB,+ icon: qB,children: "全部文件夹"- }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, I.jsx)(GV, {+ }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, I.jsx)(WV, {current: t === _.ancestors.length - 1,onClick: () => g(e.id),children: /* @__PURE__ */ (0, I.jsx)("span", {@@ -50486,13 +50486,13 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}),_?.selected ? /* @__PURE__ */ (0, I.jsx)(CL, {"aria-label": "设置目录用途",- icon: qhe,+ icon: Jhe,size: "small",onClick: () => p(!0)}) : null]}),- l.error && !u ? /* @__PURE__ */ (0, I.jsx)(TV, {+ l.error && !u ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -50504,7 +50504,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}),children: cr(l.error)}) : null,- _?.conflicts?.length ? /* @__PURE__ */ (0, I.jsxs)(TV, {+ _?.conflicts?.length ? /* @__PURE__ */ (0, I.jsxs)(wV, {tone: "warning",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -50516,14 +50516,14 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}) : null,_?.selected ? /* @__PURE__ */ (0, I.jsxs)("div", {className: "folder-scope-row",- children: [/* @__PURE__ */ (0, I.jsx)(eH, {+ children: [/* @__PURE__ */ (0, I.jsx)($V, {size: "sm",isSelected: a.get("folder_recursive") !== "0",- onChange: (e) => i.navigate(pG(r, { folder_recursive: e ? null : "0" })),+ onChange: (e) => i.navigate(dG(r, { folder_recursive: e ? null : "0" })),children: "包含子文件夹"}), /* @__PURE__ */ (0, I.jsx)("span", {className: "text-caption-1-regular text-text-tertiary",- children: _.rule ? `${dG[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"+ children: _.rule ? `${lG[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"})]}) : null,l.isPending ? /* @__PURE__ */ (0, I.jsx)("div", {@@ -50533,13 +50533,13 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {className: "folder-children",children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))}) : null,- _?.children.length ? /* @__PURE__ */ (0, I.jsx)(cye, {+ _?.children.length ? /* @__PURE__ */ (0, I.jsx)(uye, {nodes: _.children,go: g}, c) : null]}), h),- /* @__PURE__ */ (0, I.jsxs)(CV, {+ /* @__PURE__ */ (0, I.jsxs)(SV, {isOpen: u,onOpenChange: d,width: "form",@@ -50549,7 +50549,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, I.jsx)("h2", {className: "text-title-2-medium",children: "文件夹"- }), /* @__PURE__ */ (0, I.jsx)(kV, {+ }), /* @__PURE__ */ (0, I.jsx)(OV, {label: "关闭文件夹目录",onPress: () => d(!1)})]@@ -50558,7 +50558,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: u ? v : null})]}),- f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(rye, {+ f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(aye, {folder: _.selected,rule: _.rule,revision: _.rules_revision,@@ -50566,7 +50566,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}, _.selected.id) : null] });}-function cye({ nodes: e, go: t }) {+function uye({ nodes: e, go: t }) {let [n, r] = (0, F.useState)(!1), i = (0, F.useId)(), a = n ? e : e.slice(0, 12);return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-col items-start gap-2",@@ -50577,7 +50577,7 @@ function cye({ nodes: e, go: t }) {children: a.map((e) => /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: JB,+ leadingIcon: qB,onClick: () => t(e.id),children: /* @__PURE__ */ (0, I.jsx)("span", {className: "truncate",@@ -50594,28 +50594,28 @@ function cye({ nodes: e, go: t }) {}) : null]});}-function lye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {- let a = Pt(fG(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Pt({- ...fG(e, "", u),+function dye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {+ let a = Pt(uG(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Pt({+ ...uG(e, "", u),enabled: !!u.trim()- }), f = tH();+ }), f = eH();(0, F.useEffect)(() => {n?.ancestors.length && s((e) => /* @__PURE__ */ new Set([...e, ...n.ancestors.filter((e) => e.has_children).map((e) => e.id)]));}, [n?.ancestors]);- let p = [...o].map(String), m = Mt({ queries: p.map((t) => fG(e, t)) }), h = /* @__PURE__ */ new Map();+ let p = [...o].map(String), m = Mt({ queries: p.map((t) => uG(e, t)) }), h = /* @__PURE__ */ new Map();m.forEach((e, t) => {e.data && h.set(p[t], e.data.children);}), n?.selected && h.set(n.selected.id, n.children);let g = (e) => {let t = h.get(e.id);- return /* @__PURE__ */ (0, I.jsx)(XV, {+ return /* @__PURE__ */ (0, I.jsx)(YV, {id: e.id,label: e.name,- icon: JB,- expandedIcon: XB,+ icon: qB,+ expandedIcon: YB,iconClassName: "size-(--icon-inline)",trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,- children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, I.jsx)(XV, {+ children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, I.jsx)(YV, {id: `${e.id}:loading`,label: "正在读取文件夹",isDisabled: !0@@ -50631,15 +50631,15 @@ function lye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-label": "文件夹导航",className: "catalog-folder-navigation flex min-h-0 min-w-0 flex-col gap-3",children: [- /* @__PURE__ */ (0, I.jsx)(SV, {+ /* @__PURE__ */ (0, I.jsx)(xV, {"aria-label": "查找文件夹",placeholder: "查找文件夹",- leadingIcon: sV,+ leadingIcon: oV,value: c,onChange: l,size: "small"}),- v ? /* @__PURE__ */ (0, I.jsx)(TV, {+ v ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -50674,20 +50674,20 @@ function lye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-busy": "true",className: "h-8 skeleton-sheen","aria-label": "正在查找文件夹"- }) : d.error ? /* @__PURE__ */ (0, I.jsx)(TV, {+ }) : d.error ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",children: cr(d.error)}) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: JB,+ leadingIcon: qB,onClick: () => {l(""), r(e.id);},children: e.name- }, e.id)) : /* @__PURE__ */ (0, I.jsx)(EV, {+ }, e.id)) : /* @__PURE__ */ (0, I.jsx)(TV, {size: "compact",- icon: sV,+ icon: oV,title: "没有匹配的文件夹",actions: /* @__PURE__ */ (0, I.jsx)(J, {size: "small",@@ -50696,7 +50696,7 @@ function lye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}),children: "换个目录名称试试。"})- }) : a.data?.roots.length ? /* @__PURE__ */ (0, I.jsx)(Age, {+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, I.jsx)(jge, {"aria-label": "媒体目录",size: "sm",expandedKeys: o,@@ -50704,9 +50704,9 @@ function lye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {selectedKeys: new Set(t ? [t] : []),onSelectionChange: _,children: a.data?.roots.map(g)- }) : /* @__PURE__ */ (0, I.jsx)(EV, {+ }) : /* @__PURE__ */ (0, I.jsx)(TV, {size: "compact",- icon: JB,+ icon: qB,title: "尚未添加媒体目录",actions: /* @__PURE__ */ (0, I.jsx)(FL, {size: "small",@@ -50721,50 +50721,50 @@ function lye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {});}// src/react/catalog-grid/catalog-view.ts-var gG = "peach.catalog-view.v1", _G = /* @__PURE__ */ new Set(), vG = "cards";-function yG() {+var mG = "peach.catalog-view.v1", hG = /* @__PURE__ */ new Set(), gG = "cards";+function _G() {try {- return localStorage.getItem(gG) === "list" ? "list" : "cards";+ return localStorage.getItem(mG) === "list" ? "list" : "cards";} catch {- return vG;+ return gG;}}-function uye(e) {- vG = e === "list" ? "list" : "cards";+function fye(e) {+ gG = e === "list" ? "list" : "cards";try {- localStorage.setItem(gG, vG);+ localStorage.setItem(mG, gG);} catch {}- _G.forEach((e) => e());+ hG.forEach((e) => e());}-function dye(e) {- _G.add(e);+function pye(e) {+ hG.add(e);let t = (t) => {- (t.key === gG || t.key === null) && e();+ (t.key === mG || t.key === null) && e();};return addEventListener("storage", t), () => {- _G.delete(e), removeEventListener("storage", t);+ hG.delete(e), removeEventListener("storage", t);};}-var bG = () => (0, F.useSyncExternalStore)(dye, yG, () => "cards");+var vG = () => (0, F.useSyncExternalStore)(pye, _G, () => "cards");// src/react/catalog-grid/catalog-view-toggle.tsx-function xG() {- let e = bG();+function yG() {+ let e = vG();return /* @__PURE__ */ (0, I.jsxs)(Jz, {"aria-label": "馆藏显示方式",orientation: "horizontal",value: e,- onChange: uye,+ onChange: fye,"data-entity-layout": "",- className: BU,+ className: zU,children: [/* @__PURE__ */ (0, I.jsx)(Yz, {value: "cards","aria-label": "卡片",- className: VU,+ className: BU,"data-glass-segment": "",children: /* @__PURE__ */ (0, I.jsx)("span", {title: "卡片",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, I.jsx)($B, {+ children: /* @__PURE__ */ (0, I.jsx)(QB, {"aria-hidden": "true",className: "size-4"})@@ -50772,12 +50772,12 @@ function xG() {}), /* @__PURE__ */ (0, I.jsx)(Yz, {value: "list","aria-label": "列表",- className: VU,+ className: BU,"data-glass-segment": "",children: /* @__PURE__ */ (0, I.jsx)("span", {title: "列表",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, I.jsx)(rge, {+ children: /* @__PURE__ */ (0, I.jsx)(ige, {"aria-hidden": "true",className: "size-4"})@@ -50786,8 +50786,8 @@ function xG() {});}// src/react/components/icon-swap.tsx-function SG({ a: e, b: t, state: n, className: r }) {- let { isFocusVisible: i } = PC();+function bG({ a: e, b: t, state: n, className: r }) {+ let { isFocusVisible: i } = IC();return /* @__PURE__ */ (0, I.jsxs)("span", {"aria-hidden": !0,className: `iconswap ${r || ""}`,@@ -50803,114 +50803,114 @@ function SG({ a: e, b: t, state: n, className: r }) {})]});}-function CG({ className: e }) {- return /* @__PURE__ */ (0, I.jsx)(SG, {- a: Ohe,- b: Dhe,+function xG({ className: e }) {+ return /* @__PURE__ */ (0, I.jsx)(bG, {+ a: khe,+ b: Ohe,className: e});}// src/react/follow-feed/follow-marks.ts-var wG = (e) => typeof e == "string" ? e : "", TG = (e) => e.aliases;-function EG(e, t = "") {+var SG = (e) => typeof e == "string" ? e : "", CG = (e) => e.aliases;+function wG(e, t = "") {let n = qi(e);return n ? `<img data-follow-site-icon="" src="${n}" alt="${z(t)}"${t ? ` title="${z(t)}"` : ""} loading="lazy" data-drop="self">` : "";}-function DG(e, t = "") {+function TG(e, t = "") {let n = z(oi(t || e)), r = qi(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 OG = (e) => wG(e.title).trim() || "未命名内容", kG = (e, t) => ai(e, TG(t));-function AG(e) {+var EG = (e) => SG(e.title).trim() || "未命名内容", DG = (e, t) => ai(e, CG(t));+function OG(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 = wG(n.entity_name);+ let n = t[0], r = SG(n.entity_name);return cn("creator", r, n.entity_id), r;}-function jG(e, t) {+function kG(e, t) {let { src: n, fallback: r } = si(e), i = oi(t);if (!n) return `<span class="favatar none" title="没有可用头像">${z(i)}</span>`;let a = r ? ` data-fallbacks="${z(r)}"` : "";return `<img class="favatar" src="${z(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${z(i)}" data-drop-class="favatar none">`;}-function MG(e, t, n) {- let r = TG(n), i = e.credit, a = i?.poster;+function AG(e, t, n) {+ let r = CG(n), i = e.credit, a = i?.poster;if (!a) {let n = ai(t, r);return {- author: n || wG(e.author) || wG(e.source_label) || "创作者未取得",- avatar: jG(t, n),+ author: n || SG(e.author) || SG(e.source_label) || "创作者未取得",+ avatar: kG(t, n),credited: "",- entityName: AG(t)+ entityName: OG(t)};}let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && ai(c, r) || a;return {author: l,- avatar: jG(c, l),+ avatar: kG(c, l),credited: i.credited || "",- entityName: AG(c)+ entityName: OG(c)};}-function NG(e, t = e.primary) {+function jG(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 = wG(e.primary.version);+ let i = SG(e.primary.version);i && n.push(r("version", z(i)));- let a = wG(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";+ let a = SG(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";return o && n.push(r(a, o)), n.join("");}-function PG(e, t = e.primary) {+function MG(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]) => EG(e, t) || `<span>${z(t)}</span>`).join("");+ let r = [...n].map(([e, t]) => wG(e, t) || `<span>${z(t)}</span>`).join("");return `<span data-follow-seealso="" title="另见 ${z([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;}-function FG(e, t) {- let n = wG(e.media_error);+function NG(e, t) {+ let n = SG(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var fye = 864e5, pye = (e, t) => {+var mye = 864e5, hye = (e, t) => {let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();- return Number.isFinite(n) && n - t > fye;+ return Number.isFinite(n) && n - t > mye;};-function IG(e, t) {- let n = wG(e.published_at);+function PG(e, t) {+ let n = SG(e.published_at);if (!n) return null;let r = e.published_precision === "approximate", i = Sr(n);return {prefix: r ? "约 " : "",full: r ? i.slice(0, 10) : i,- suffix: pye(n, t) ? " · 晚于现在" : ""+ suffix: hye(n, t) ? " · 晚于现在" : ""};}-function LG(e, t = Date.now()) {- let n = IG(e, t);+function FG(e, t = Date.now()) {+ let n = PG(e, t);return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";}-function mye(e, t = Date.now()) {- let n = IG(e, t);+function gye(e, t = Date.now()) {+ let n = PG(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 RG = /* @__PURE__ */ new Set(), zG = [], BG = null;-function VG() {- if (BG = null, !zG.length) return;- let e = zG.splice(0, 200);+var IG = /* @__PURE__ */ new Set(), LG = [], RG = null;+function zG() {+ if (RG = null, !LG.length) return;+ let e = LG.splice(0, 200);wn("/api/follow/image-dims", {method: "POST",body: JSON.stringify({ entries: e })- }).catch(() => {}), zG.length && (BG = setTimeout(VG, 800));+ }).catch(() => {}), LG.length && (RG = setTimeout(zG, 800));}-function hye(e, t, n, r) {+function _ye(e, t, n, r) {let i = `${e}:${t ?? ""}`;- RG.has(i) || (RG.add(i), zG.push(t === null ? {+ IG.has(i) || (IG.add(i), LG.push(t === null ? {item: e,width: n,height: r@@ -50919,21 +50919,21 @@ function hye(e, t, n, r) {width: n,height: r,media: t- }), BG ||= setTimeout(VG, 800));+ }), RG ||= setTimeout(zG, 800));}// src/react/entity-filter/entity-filter.ts-var gye = (e) => e === "videos", HG = () => /* @__PURE__ */ (0, I.jsx)("span", {+var vye = (e) => e === "videos", BG = () => /* @__PURE__ */ (0, I.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), _ye = OV("shuffle"), vye = OV("arrow-up"), yye = OV("arrow-down");-function bye(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = gye(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({+}), yye = DV("shuffle"), bye = DV("arrow-up"), xye = DV("arrow-down");+function Sye(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = vye(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({k: e,label: t})) : i, m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = NL(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = NL(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = NL(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);return (0, F.useEffect)(() => {c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);- }, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(UG, {+ }, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(VG, {items: o,hidden: !l,actions: s@@ -50966,19 +50966,19 @@ function bye(e) {})] }),top: !n && !d ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(wye, {+ n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Eye, {keys: n,view: t,row: _,glide: S,onView: s.setView- }), d ? /* @__PURE__ */ (0, I.jsx)(HG, {}) : null] }) : null,- T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Sye, {+ }), d ? /* @__PURE__ */ (0, I.jsx)(BG, {}) : null] }) : null,+ T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(wye, {head: T,row: w,glide: E,onMedia: s.onlineMedia- }), /* @__PURE__ */ (0, I.jsx)(HG, {})] }) : null,+ }), /* @__PURE__ */ (0, I.jsx)(BG, {})] }) : null,/* @__PURE__ */ (0, I.jsxs)("div", {ref: v,"data-entity-scroll": "",@@ -50999,7 +50999,7 @@ function bye(e) {f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));},children: e.label- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, I.jsx)(HG, {}) : null]+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, I.jsx)(BG, {}) : null]}), /* @__PURE__ */ (0, I.jsx)("div", {ref: y,"data-entity-tags": "",@@ -51012,17 +51012,17 @@ function bye(e) {"data-count-badge": e.k,children: e.n.toLocaleString()})]- }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(Cye, {+ }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(Tye, {head: u,actions: s}) : null})]})] }),- bottom: /* @__PURE__ */ (0, I.jsx)(Tye, { ...e })+ bottom: /* @__PURE__ */ (0, I.jsx)(Dye, { ...e })})] });}-var xye = [[+var Cye = [["videos","视频","play",@@ -51033,7 +51033,7 @@ var xye = [["pics","image"]];-function Sye({ head: e, row: t, glide: n, onMedia: r }) {+function wye({ head: e, row: t, glide: n, onMedia: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {ref: t,role: "group",@@ -51041,7 +51041,7 @@ function Sye({ head: e, row: t, glide: n, onMedia: r }) {"data-entity-media": "","data-online-media": "",onPointerLeave: n.leave,- children: xye.map(([t, i, a, o]) => {+ children: Cye.map(([t, i, a, o]) => {let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -51059,7 +51059,7 @@ function Sye({ head: e, row: t, glide: n, onMedia: r }) {})});}-function Cye({ head: e, actions: t }) {+function Tye({ head: e, actions: t }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e.providers.map(([n, r]) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -51069,9 +51069,9 @@ function Cye({ head: e, actions: t }) {title: r,"aria-label": `来源:${r}`,onClick: () => t.onlineProvider(n),- dangerouslySetInnerHTML: { __html: EG(n) }+ dangerouslySetInnerHTML: { __html: wG(n) }}, n)),- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(HG, {}) : null,+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(BG, {}) : null,e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(kL, {"data-follow-tag": e.k,"data-entity-press": "",@@ -51085,7 +51085,7 @@ function Cye({ head: e, actions: t }) {}, e.k))] });}-function wye({ keys: e, view: t, row: n, glide: r, onView: i }) {+function Eye({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -51133,7 +51133,7 @@ function wye({ keys: e, view: t, row: n, glide: r, onView: i }) {})});}-function UG({ items: e, hidden: t, actions: n }) {+function VG({ items: e, hidden: t, actions: n }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-combo": "",hidden: t,@@ -51153,7 +51153,7 @@ function UG({ items: e, hidden: t, actions: n }) {})] }) : null});}-function Tye(e) {+function Dye(e) {let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t === "photos" && a?.back ? /* @__PURE__ */ (0, I.jsxs)("button", {@@ -51165,27 +51165,27 @@ function Tye(e) {dangerouslySetInnerHTML: { __html: R("chevron-left") }}), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, I.jsx)(Eye, {+ /* @__PURE__ */ (0, I.jsx)(Oye, {text: n,busy: r}),- /* @__PURE__ */ (0, I.jsx)(UV, { currentHref: () => location.pathname + location.search }),- t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(Dye, {+ /* @__PURE__ */ (0, I.jsx)(HV, { currentHref: () => location.pathname + location.search }),+ t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(kye, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(kye, {+ t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(jye, {head: a,actions: o,helpers: s}) : null,- t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(Oye, {+ t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(Aye, {head: e.online,actions: o}) : null] });}-function Eye({ text: e, busy: t }) {+function Oye({ text: e, busy: t }) {return /* @__PURE__ */ (0, I.jsx)("h3", {"data-entity-readout": "",children: /* @__PURE__ */ (0, I.jsx)(xL, {@@ -51199,7 +51199,7 @@ function Eye({ text: e, busy: t }) {})});}-function WG({ name: e, label: t, value: n, options: r, onChange: i }) {+function HG({ name: e, label: t, value: n, options: r, onChange: i }) {return /* @__PURE__ */ (0, I.jsx)(Jz, {name: e,"aria-label": t,@@ -51207,14 +51207,14 @@ function WG({ name: e, label: t, value: n, options: r, onChange: i }) {value: n,onChange: i,"data-entity-layout": "",- className: BU,+ className: zU,children: r.map(([e, t, n]) => {- let r = OV(n);+ let r = DV(n);return /* @__PURE__ */ (0, I.jsx)(Yz, {value: e,"aria-label": t,"data-glass-segment": "",- className: VU,+ className: BU,children: /* @__PURE__ */ (0, I.jsx)("span", {title: t,className: "contents",@@ -51224,38 +51224,38 @@ function WG({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function GG({ onPress: e, busy: t = !1 }) {+function UG({ onPress: e, busy: t = !1 }) {return /* @__PURE__ */ (0, I.jsx)(DL, {"data-entity-batch": "",label: "换一批",busy: t,busyStyle: "strand",- icon: _ye,+ icon: yye,onPress: e});}-function Dye({ head: e, actions: t }) {- let n = bG();+function kye({ head: e, actions: t }) {+ let n = vG();return /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, I.jsx)(GG, { onPress: () => void t.reshuffle() }),- e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(WG, {+ /* @__PURE__ */ (0, I.jsx)(UG, { onPress: () => void t.reshuffle() }),+ e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(HG, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,onChange: t.setJavLayout}) : null,- /* @__PURE__ */ (0, I.jsx)(xG, {}),- /* @__PURE__ */ (0, I.jsx)(mG, {}),- /* @__PURE__ */ (0, I.jsx)(KG, {+ /* @__PURE__ */ (0, I.jsx)(yG, {}),+ /* @__PURE__ */ (0, I.jsx)(fG, {}),+ /* @__PURE__ */ (0, I.jsx)(WG, {sorts: e.sorts,onSort: t.setSort})]});}-function KG({ sorts: e, onSort: t }) {+function WG({ sorts: e, onSort: t }) {return /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-entity-sort": e.key,@@ -51263,20 +51263,20 @@ function KG({ sorts: e, onSort: t }) {"aria-pressed": e.pressed,"aria-label": e.ariaLabel || void 0,onClick: () => t(e.key),- children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(SG, {- a: vye,- b: yye,+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(bG, {+ a: bye,+ b: xye,state: e.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]}, e.key)) });}-function Oye({ head: e, actions: t }) {+function Aye({ head: e, actions: t }) {return /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, I.jsx)(GG, { onPress: t.onlineShuffle }),- e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(WG, {+ /* @__PURE__ */ (0, I.jsx)(UG, { onPress: t.onlineShuffle }),+ e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(HG, {label: "图片布局",value: e.photoLayout,options: e.photoLayouts,@@ -51296,27 +51296,27 @@ function Oye({ head: e, actions: t }) {dangerouslySetInnerHTML: { __html: R("captions-off") }})]})] }) : null,- /* @__PURE__ */ (0, I.jsx)(KG, {+ /* @__PURE__ */ (0, I.jsx)(WG, {sorts: e.sorts,onSort: t.onlineSort})]});}-function kye({ head: e, actions: t, helpers: n }) {+function jye({ head: e, actions: t, helpers: n }) {let [r, i] = (0, F.useState)(!1), a = (0, F.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";return (0, F.useEffect)(() => {a.current && o && n.wireSourceTools(a.current);}, [n, o]), /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- e.shuffle ? /* @__PURE__ */ (0, I.jsx)(GG, {+ e.shuffle ? /* @__PURE__ */ (0, I.jsx)(UG, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, I.jsx)(WG, {+ /* @__PURE__ */ (0, I.jsx)(HG, {label: "图片布局",value: e.layout,options: e.layouts,@@ -51331,8 +51331,8 @@ function kye({ head: e, actions: t, helpers: n }) {});}// src/react/catalog-filter/catalog-filter.ts-var Aye = "peach.catalog.tiers.v1";-function qG() {+var Mye = "peach.catalog.tiers.v1";+function GG() {try {let e = JSON.parse(localStorage.getItem("peach.catalog.tiers.v1") || "{}");return {@@ -51346,40 +51346,40 @@ function qG() {};}}-function jye(e) {+function Nye(e) {try {let t = JSON.stringify({performers: e.performers,studios: e.studios});- localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(Aye, t);+ localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(Mye, t);} catch {}}// src/react/catalog-filter/catalog-filter-page.tsx-function Mye(e) {- let t = !e.tiers, n = zye(e.comboHost);+function Pye(e) {+ let t = !e.tiers, n = Vye(e.comboHost);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,"data-refreshing": e.refreshing || void 0,className: "contents",children: [- n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(UG, {+ n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(VG, {items: e.combo,hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, I.jsx)(Fye, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(Nye, { ...e })+ /* @__PURE__ */ (0, I.jsx)(Lye, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(Fye, { ...e })]});}-function Nye(e) {+function Fye(e) {let { actions: t, helpers: n } = e, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = NL(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, F.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let d = !e.tiers, f = YG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let d = !e.tiers, f = qG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, F.useLayoutEffect)(() => {if (d) {l(!1);@@ -51447,17 +51447,17 @@ function Nye(e) {}), /* @__PURE__ */ (0, I.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(JG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(Pye, {+ children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(KG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(Iye, {tag: n,pending: e.tiersPending,onPress: t.toggleTag}, n.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(Lye, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(zye, { ...e })});}-function Pye({ tag: e, pending: t, onPress: n }) {+function Iye({ tag: e, pending: t, onPress: n }) {return /* @__PURE__ */ (0, I.jsxs)(kL, {"data-catalog-tag": e.k,"data-entity-press": "",@@ -51472,15 +51472,15 @@ function Pye({ tag: e, pending: t, onPress: n }) {})]});}-function Fye(e) {+function Lye(e) {bL();let { actions: t, helpers: n } = e, r = e.tiers ?? {key: "",performers: [],studios: []- }, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = YG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = YG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? qG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;+ }, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = qG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = qG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? GG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;return (0, F.useEffect)(() => {- i || jye({+ i || Nye({performers: f,studios: p});@@ -51501,7 +51501,7 @@ function Fye(e) {children: [f ? /* @__PURE__ */ (0, I.jsx)("div", {ref: o,"data-catalog-tier": "performers",- children: a ? /* @__PURE__ */ (0, I.jsx)(JG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, I.jsx)(KG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -51521,13 +51521,13 @@ function Fye(e) {}) : null, p ? /* @__PURE__ */ (0, I.jsx)("div", {ref: s,"data-catalog-tier": "studios",- children: a ? /* @__PURE__ */ (0, I.jsx)(JG, { kind: "studio" }) : u.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, I.jsx)(KG, { kind: "studio" }) : u.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-tier-studio": "","data-entity-kind": "studio","data-entity-name": n.name,onClick: () => t.openEntity("studio", n.name),- children: [/* @__PURE__ */ (0, I.jsx)(Iye, { studio: n }), /* @__PURE__ */ (0, I.jsx)(xL, {+ children: [/* @__PURE__ */ (0, I.jsx)(Rye, { studio: n }), /* @__PURE__ */ (0, I.jsx)(xL, {text: n.name,busy: e.tiersPending})]@@ -51535,7 +51535,7 @@ function Fye(e) {}) : null]});}-function Iye({ studio: e }) {+function Rye({ studio: e }) {let [t, n] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("span", {"data-tier-mark": "",@@ -51553,7 +51553,7 @@ function Iye({ studio: e }) {}) : e.fallback});}-function JG({ kind: e }) {+function KG({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, I.jsx)("span", {"data-catalog-placeholder": "tag",@@ -51569,37 +51569,37 @@ function JG({ kind: e }) {children: [/* @__PURE__ */ (0, I.jsx)("span", {}), /* @__PURE__ */ (0, I.jsx)("span", { children: "\xA0" })]}, t)) });}-function Lye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {- let a = bG(), [o, s] = (0, F.useState)(!1);+function zye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+ let a = vG(), [o, s] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-catalog-summary": "",- children: [/* @__PURE__ */ (0, I.jsx)(Rye, { count: e }), /* @__PURE__ */ (0, I.jsx)(UV, { currentHref: i.currentHref })]+ children: [/* @__PURE__ */ (0, I.jsx)(Bye, { count: e }), /* @__PURE__ */ (0, I.jsx)(HV, { currentHref: i.currentHref })]}), /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, I.jsx)(GG, {+ /* @__PURE__ */ (0, I.jsx)(UG, {onPress: () => {s(!0), i.reshuffle().finally(() => s(!1));},busy: o || t}),- n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(WG, {+ n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(HG, {name: n.name,label: n.label,value: n.value,options: n.options,onChange: i.setLayout}, n.name) : null,- /* @__PURE__ */ (0, I.jsx)(xG, {}),- /* @__PURE__ */ (0, I.jsx)(mG, {}),- /* @__PURE__ */ (0, I.jsx)(KG, {+ /* @__PURE__ */ (0, I.jsx)(yG, {}),+ /* @__PURE__ */ (0, I.jsx)(fG, {}),+ /* @__PURE__ */ (0, I.jsx)(WG, {sorts: r,onSort: i.setSort})]})] });}-function Rye({ count: e }) {+function Bye({ count: e }) {let t = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : e === !1 ? "" : void 0;return /* @__PURE__ */ (0, I.jsx)("span", {"data-catalog-readout": "",@@ -51616,7 +51616,7 @@ function Rye({ count: e }) {})});}-function zye(e) {+function Vye(e) {let [t, n] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {if (!e) return;@@ -51626,7 +51626,7 @@ function zye(e) {};}, [e]), t;}-function YG(e, t, n, r, i) {+function qG(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -51669,8 +51669,8 @@ function YG(e, t, n, r, i) {}), l.slice(0, c.limit);}// src/react/components/grid-reveal.tsx-var XG = "100% 0px";-function Bye(e, t) {+var JG = "100% 0px";+function Hye(e, t) {let [n, r] = (0, F.useState)(e ? "skeleton" : "none"), [i] = (0, F.useState)(() => e ? t() : ""), a = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {a.current && uc(a.current);@@ -51696,7 +51696,7 @@ function Bye(e, t) {fading: n === "fade"};}-function ZG({ message: e, onRetry: t }) {+function YG({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-media-error": "",onClick: (e) => {@@ -51709,7 +51709,7 @@ function ZG({ message: e, onRetry: t }) {});}// src/react/components/skeleton-content.tsx-function QG({ pending: e, skeletonHtml: t, children: n }) {+function XG({ pending: e, skeletonHtml: t, children: n }) {let r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = t();return (0, F.useLayoutEffect)(() => {e || (r.current = n);@@ -51733,63 +51733,63 @@ function QG({ pending: e, skeletonHtml: t, children: n }) {});}// src/library-catalog.ts-var $G = "peach.library-colors.v1", eK = null, tK = /* @__PURE__ */ new Set();-function Vye() {+var ZG = "peach.library-colors.v1", QG = null, $G = /* @__PURE__ */ new Set();+function Uye() {try {- let e = JSON.parse(localStorage.getItem($G) || "{}");+ let e = JSON.parse(localStorage.getItem(ZG) || "{}");return e && typeof e == "object" ? e : {};} catch {return {};}}-function nK(e) {- eK = e;+function eK(e) {+ QG = e;try {- localStorage.setItem($G, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));+ localStorage.setItem(ZG, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));} catch {}- tK.forEach((t) => t(e));+ $G.forEach((t) => t(e));}-function rK() {- return eK;+function tK() {+ return QG;}-function Hye(e) {- return tK.add(e), () => {- tK.delete(e);+function Wye(e) {+ return $G.add(e), () => {+ $G.delete(e);};}// src/react/components/library-tint.ts-var iK = /* @__PURE__ */ new Map(), aK = !1, oK = /* @__PURE__ */ new Set();-function Uye(e) {+var nK = /* @__PURE__ */ new Map(), rK = !1, iK = /* @__PURE__ */ new Set();+function Gye(e) {let t = document.createElement("span");t.setAttribute("data-accent-ball", e), t.hidden = !0, document.body.append(t);let n = getComputedStyle(t).getPropertyValue("--color-accent-500").trim();return t.remove(), n;}-function sK(e) {- iK = e;+function aK(e) {+ nK = e;let t = document.getElementById("peach-library-tints");- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...iK.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${Uye(e.color)}}`).join("\n");+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...nK.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${Gye(e.color)}}`).join("\n");}-function cK(e) {- sK(e), oK.forEach((e) => e());+function oK(e) {+ aK(e), iK.forEach((e) => e());}-var lK = (e) => new Map(e.map((e) => [e.id, {+var sK = (e) => new Map(e.map((e) => [e.id, {id: e.id,name: e.name,icon: gs[e.icon || ""] || e.icon || "database",location: e.roots?.[0]?.location || "",color: e.color || ""-}])), uK = !1;-function Wye() {- if (uK) return;- uK = !0, Hye((e) => cK(lK(e)));- let e = rK();+}])), cK = !1;+function Kye() {+ if (cK) return;+ cK = !0, Wye((e) => oK(sK(e)));+ let e = tK();if (e) {- sK(lK(e));+ aK(sK(e));return;}- let t = Object.entries(Vye()).filter(([, e]) => e);- t.length && sK(new Map(t.map(([e, t]) => [e, {+ let t = Object.entries(Uye()).filter(([, e]) => e);+ t.length && aK(new Map(t.map(([e, t]) => [e, {id: e,name: "",icon: "database",@@ -51797,64 +51797,64 @@ function Wye() {color: t}])));}-function Gye() {- aK || rK() || (aK = !0, B("/api/libraries").then((e) => nK(e.libraries || [])).catch(() => {- aK = !1;+function qye() {+ rK || tK() || (rK = !0, B("/api/libraries").then((e) => eK(e.libraries || [])).catch(() => {+ rK = !1;}));}-function Kye(e, t) {- let n = iK.get(e) ?? {+function Jye(e, t) {+ let n = nK.get(e) ?? {id: e,name: "",icon: "database",location: "",color: ""};- cK(new Map([...iK, [e, {+ oK(new Map([...nK, [e, {...n,color: t}]]));}-function qye(e) {- return oK.add(e), () => {- oK.delete(e);+function Yye(e) {+ return iK.add(e), () => {+ iK.delete(e);};}-function dK({ names: e = !1 } = {}) {- return Wye(), e && Gye(), (0, F.useSyncExternalStore)(qye, () => iK, () => iK);+function lK({ names: e = !1 } = {}) {+ return Kye(), e && qye(), (0, F.useSyncExternalStore)(Yye, () => nK, () => nK);}// src/react/components/row-click.ts-var Jye = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";-function fK(e, t) {+var Xye = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";+function uK(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest(Jye);+ let r = n.closest(Xye);return !r || !t.contains(r) || r === t;}-function pK(e) {+function dK(e) {e.shiftKey && e.preventDefault();}// src/react/components/media-card.tsx-var mK = 9 / 16, hK = "未命名视频";-function gK({ name: e }) {+var fK = 9 / 16, pK = "未命名视频";+function mK({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-var Yye = {+var Zye = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"-}, Xye = {+}, Qye = {manual: "手动",junk: "垃圾",duplicate: "重复",missing: "文件缺失"};-function Zye(e) {+function $ye(e) {if (Number(e.duration) < 0) return {key: "unavailable",label: "探查错误"@@ -51882,16 +51882,16 @@ function Zye(e) {label: "尚未探查"};}-function _K({ item: e }) {+function hK({ item: e }) {if (e.disposal !== "trash") return null;- let t = e.disposal_reason && Xye[e.disposal_reason] || "原因未记录";+ let t = e.disposal_reason && Qye[e.disposal_reason] || "原因未记录";return /* @__PURE__ */ (0, I.jsx)("span", {"data-media-disposal-reason": "",title: `归入原因:${t}`,children: t});}-function vK({ item: e, actions: t }) {+function gK({ item: e, actions: t }) {let [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -51910,10 +51910,10 @@ function vK({ item: e, actions: t }) {children: i}) : null] });}-function yK(e, t, n) {- return t === "short" ? mK : NM(n);+function _K(e, t, n) {+ return t === "short" ? fK : NM(n);}-function bK(e) {+function vK(e) {let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = ko(e), s = i[0] || "", c = mo(e);return {avatar: r ? /* @__PURE__ */ (0, I.jsx)("div", {@@ -51945,7 +51945,7 @@ function bK(e) {"data-entity-kind": "performer","data-entity-name": s,title: tn("performer", s),- children: [/* @__PURE__ */ (0, I.jsx)(gK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: tn("performer", s) })]+ children: [/* @__PURE__ */ (0, I.jsx)(mK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: tn("performer", s) })]}), /* @__PURE__ */ (0, I.jsx)("span", {"data-media-who-more": "",children: `等 ${o} 人`@@ -51955,16 +51955,16 @@ function bK(e) {"data-entity-kind": t,"data-entity-name": n,title: tn(t, n),- children: [/* @__PURE__ */ (0, I.jsx)(gK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: tn(t, n) })]+ children: [/* @__PURE__ */ (0, I.jsx)(mK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: tn(t, n) })]}) : /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-media-who": "","data-open-unowned": "",- children: [/* @__PURE__ */ (0, I.jsx)(gK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, I.jsx)(mK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]})};}-function Qye() {+function ebe() {return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-media-preview": "",@@ -51983,7 +51983,7 @@ function Qye() {})]});}-function $ye({ item: e, actions: t, on: n, onChange: r }) {+function tbe({ item: e, actions: t, on: n, onChange: r }) {let [i, a] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("div", {"data-media-later": "",@@ -51998,11 +51998,11 @@ function $ye({ item: e, actions: t, on: n, onChange: r }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: n ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, I.jsx)(mK, { name: n ? "check" : "bookmark-plus" })})});}-function ebe({ reason: e }) {+function nbe({ reason: e }) {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {ref: t,@@ -52023,7 +52023,7 @@ function ebe({ reason: e }) {placement: "top",offset: 8,containerPadding: 12,- className: qV,+ className: KV,children: /* @__PURE__ */ (0, I.jsx)(Vz, {"data-media-reason-dialog": "","aria-label": "推荐理由",@@ -52032,18 +52032,18 @@ function ebe({ reason: e }) {})})] });}-function xK(e, t) {+function yK(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 tbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {+function rbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {bL();- let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = dK(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, F.useRef)(e);+ let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = lK(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, F.useRef)(e);_.current = e;let v = (0, F.useCallback)((e) => {let t = _.current;u.current && u.current !== e && jl(u.current), u.current = e, e && (!t.medium || t.medium === "video") && Nl(e, t);- }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = yK(e, t, n), w = S ? n.size : "small", T = C === mK && !!e.is_jav, E = T ? Eo(e, !1) : wo(e, w, !1, n.javImage), D = T || w === "small" ? E.html : wo(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || hK, A = o.titleHtml(e, O).trim() || z(hK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : Zye(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = bK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {+ }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = _K(e, t, n), w = S ? n.size : "small", T = C === fK && !!e.is_jav, E = T ? Eo(e, !1) : wo(e, w, !1, n.javImage), D = T || w === "small" ? E.html : wo(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || pK, A = o.titleHtml(e, O).trim() || z(pK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : $ye(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = vK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {let n = t.target;if (n.closest("[data-media-reason-dialog]")) return;let r = u.current;@@ -52070,10 +52070,10 @@ function tbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSl && r.contains(l) ? s.toggleTag(l.dataset.tag || "") : c(e, r);}, ie = /* @__PURE__ */ (0, I.jsxs)("div", {"data-media-pic": "",- "data-pic-portrait": C === mK ? "" : void 0,+ "data-pic-portrait": C === fK ? "" : void 0,style: { "--card-ratio": String(C) },children: [- E.html ? /* @__PURE__ */ (0, I.jsx)(uW, {+ E.html ? /* @__PURE__ */ (0, I.jsx)(lW, {artwork: E,identity: D,relayout: (e) => Cl(e, w)@@ -52087,11 +52087,11 @@ function tbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS}),/* @__PURE__ */ (0, I.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: "check" })+ children: /* @__PURE__ */ (0, I.jsx)(mK, { name: "check" })}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, I.jsx)(gK, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, I.jsx)(mK, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]}),y && !b ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-group": "",@@ -52107,7 +52107,7 @@ function tbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-copy-key": ee ? `media.duration.${ee.key}` : void 0,children: ee ? ee.label : qn(M)}),- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(vK, {+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(gK, {item: e,actions: s}) : null,@@ -52123,22 +52123,22 @@ function tbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-media-scrub": "",children: /* @__PURE__ */ (0, I.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })}),- /* @__PURE__ */ (0, I.jsx)(Qye, {}),+ /* @__PURE__ */ (0, I.jsx)(ebe, {}),p || g.length ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-media-status": "",children: [p ? /* @__PURE__ */ (0, I.jsx)("span", {"data-status": "later",title: "稍后看","aria-label": "稍后看",- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: "bookmark" })+ children: /* @__PURE__ */ (0, I.jsx)(mK, { name: "bookmark" })}) : null, g.length ? /* @__PURE__ */ (0, I.jsx)("span", {"data-status": "flagged",title: `已标记:${g.join("、")}`,"aria-label": `已标记:${g.join("、")}`,- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: "heart" })+ children: /* @__PURE__ */ (0, I.jsx)(mK, { name: "heart" })}) : null]}) : null,- i ? null : /* @__PURE__ */ (0, I.jsx)($ye, {+ i ? null : /* @__PURE__ */ (0, I.jsx)(tbe, {item: e,actions: s,on: p,@@ -52153,27 +52153,27 @@ function tbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS/* @__PURE__ */ (0, I.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), xK(u.current, -a);+ e.stopPropagation(), yK(u.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, I.jsx)(mK, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), xK(u.current, a);+ e.stopPropagation(), yK(u.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, I.jsx)(mK, { name: "rotate-cw" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: "expand" })+ children: /* @__PURE__ */ (0, I.jsx)(mK, { name: "expand" })})]})@@ -52193,7 +52193,7 @@ function tbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-pending-delete": e.disposal === "trash" ? "" : void 0,"data-selected": r ? "" : void 0,onClick: re,- onMouseDown: pK,+ onMouseDown: dK,children: [/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -52235,15 +52235,15 @@ function tbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-media-release": "",dateTime: e.release_date,title: e.release_date,- children: [/* @__PURE__ */ (0, I.jsx)(gK, { name: "calendar" }), e.release_date]+ children: [/* @__PURE__ */ (0, I.jsx)(mK, { name: "calendar" }), e.release_date]}) : null, /* @__PURE__ */ (0, I.jsxs)("span", {"data-media-size": "",- children: [/* @__PURE__ */ (0, I.jsx)(gK, { name: "hard-drive" }), Number(j) > 0 ? Yn(Number(j)) : "大小未知"]+ children: [/* @__PURE__ */ (0, I.jsx)(mK, { name: "hard-drive" }), Number(j) > 0 ? Yn(Number(j)) : "大小未知"]})]})]}),- t === "next" ? e.why ? /* @__PURE__ */ (0, I.jsx)(ebe, { reason: e.why }) : null : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", {+ t === "next" ? e.why ? /* @__PURE__ */ (0, I.jsx)(nbe, { reason: e.why }) : null : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", {"data-media-tags": "",children: ne.map((t) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -52253,15 +52253,15 @@ function tbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSchildren: o.tagLabel(t)}, t))}) : null,- /* @__PURE__ */ (0, I.jsx)(_K, { item: e })+ /* @__PURE__ */ (0, I.jsx)(hK, { item: e })]})]})]});}-function nbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {- let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Yye[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";+function ibe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {+ let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Zye[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";return /* @__PURE__ */ (0, I.jsxs)("article", {ref: o,"data-media-card": "",@@ -52273,14 +52273,14 @@ function nbe({ 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: pK,+ onMouseDown: dK,children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-media-pic": "",style: { "--card-ratio": "1.7777777777777777" },children: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, I.jsx)(gK, { name: u }), /* @__PURE__ */ (0, I.jsx)("b", { children: l })]+ children: [/* @__PURE__ */ (0, I.jsx)(mK, { name: u }), /* @__PURE__ */ (0, I.jsx)("b", { children: l })]}),s ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-art": "thumb",@@ -52292,13 +52292,13 @@ function nbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp}),/* @__PURE__ */ (0, I.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: "check" })+ children: /* @__PURE__ */ (0, I.jsx)(mK, { name: "check" })}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, I.jsx)(gK, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, I.jsx)(mK, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]}),- n ? null : /* @__PURE__ */ (0, I.jsx)(vK, {+ n ? null : /* @__PURE__ */ (0, I.jsx)(gK, {item: e,actions: i})@@ -52309,7 +52309,7 @@ function nbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp"data-media-avatar": "","data-media-kind-glyph": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: u })+ children: /* @__PURE__ */ (0, I.jsx)(mK, { name: u })}), /* @__PURE__ */ (0, I.jsxs)("div", {"data-media-text": "",children: [@@ -52337,29 +52337,29 @@ function nbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp]}),e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", { "data-media-tags": "" }) : null,- /* @__PURE__ */ (0, I.jsx)(_K, { item: e })+ /* @__PURE__ */ (0, I.jsx)(hK, { item: e })]})]})]});}-function rbe(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(nbe, { ...e }) : /* @__PURE__ */ (0, I.jsx)(tbe, { ...e });+function abe(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(ibe, { ...e }) : /* @__PURE__ */ (0, I.jsx)(rbe, { ...e });}-var SK = (0, F.memo)(rbe), ibe = 1100, abe = 340, obe = 5e3;-function sbe(e, t, n) {+var bK = (0, F.memo)(abe), obe = 1100, sbe = 340, cbe = 5e3;+function lbe(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, obe);+ }, s = () => o(!1), c = setTimeout(s, cbe);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 CK({ load: e, canFlip: t, referrerPolicy: n }) {+function xK({ load: e, canFlip: t, referrerPolicy: n }) {let [r, i] = (0, F.useState)([]), [a, o] = (0, F.useState)(0), [s, c] = (0, F.useState)(null), l = (0, F.useRef)({live: !1,generation: 0,@@ -52401,11 +52401,11 @@ function CK({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => sbe(t, e, n)));+ let s = await Promise.all(a.map((t) => lbe(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, ibe);+ p(), e.cycle = setInterval(p, obe);}));};return (0, F.useEffect)(() => d, [d]), {@@ -52414,7 +52414,7 @@ function CK({ 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(abe, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(sbe, () => {e.armed = null, m();});},@@ -52424,8 +52424,8 @@ function CK({ load: e, canFlip: t, referrerPolicy: n }) {};}// src/react/components/mix-card.tsx-var wK = OV("play");-function cbe({ src: e }) {+var SK = DV("play");+function ube({ src: e }) {let [t, n] = (0, F.useState)(!1);return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {"data-mix-poster": "",@@ -52438,8 +52438,8 @@ function cbe({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var TK = "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 lbe({ faces: e, fallback: t, onOpenEntity: n }) {+var CK = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";+function dbe({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, I.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, I.jsx)("button", {@@ -52447,18 +52447,18 @@ function lbe({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${TK} cursor-pointer outline-none`,+ className: `${CK} cursor-pointer outline-none`,dangerouslySetInnerHTML: { __html: go(e.name, e, Xa(e.name), e.kind) }}, `${e.kind}:${e.id}`))}) : /* @__PURE__ */ (0, I.jsx)("span", {"data-mix-initial": "","aria-hidden": !0,- className: `${TK} mt-0.5`,+ className: `${CK} mt-0.5`,children: t});}-function EK({ 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 = CK({+function wK({ 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 = xK({load: i,canFlip: a}), x = (0, F.useRef)(b.onPointerLeave);@@ -52485,11 +52485,11 @@ function EK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:style: d === void 0 ? void 0 : { "--card-ratio": String(d) },className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",children: [- f?.html ? /* @__PURE__ */ (0, I.jsx)(uW, {+ f?.html ? /* @__PURE__ */ (0, I.jsx)(lW, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, I.jsx)(cbe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, I.jsx)(ube, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -52519,7 +52519,7 @@ function EK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:/* @__PURE__ */ (0, I.jsxs)("span", {"data-mix-badge": "",className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",- children: [/* @__PURE__ */ (0, I.jsx)(wK, {+ children: [/* @__PURE__ */ (0, I.jsx)(SK, {"aria-hidden": !0,className: "size-(--icon-inline)"}), g ?? `${n.toLocaleString()} 个视频`]@@ -52532,8 +52532,8 @@ function EK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:_ ? /* @__PURE__ */ (0, I.jsx)("span", {"data-mix-glyph": "","aria-hidden": !0,- children: /* @__PURE__ */ (0, I.jsx)(wK, {})- }) : /* @__PURE__ */ (0, I.jsx)(lbe, {+ children: /* @__PURE__ */ (0, I.jsx)(SK, {})+ }) : /* @__PURE__ */ (0, I.jsx)(dbe, {faces: o,fallback: $n(e),onOpenEntity: s@@ -52556,7 +52556,7 @@ function EK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:});}// src/react/video-wall/folia/blockReflows.ts-var ube = [+var fbe = [[[{@@ -56117,7 +56117,7 @@ var ube = [}]]-], DK = [+], TK = [[{x: 0,@@ -56414,89 +56414,89 @@ var ube = [rows: 2}]-], OK = (e) => e.map((e) => ({+], EK = (e) => e.map((e) => ({...e,x: 12 - e.x - e.cols-})), kK = (e) => e.map((e) => ({+})), DK = (e) => e.map((e) => ({...e,y: 8 - e.y - e.rows-})), AK = [+})), OK = [(e) => e,- OK,- kK,- (e) => OK(kK(e))-], jK = DK.flatMap((e) => AK.map((t) => t(e))), dbe = ube.flatMap((e) => AK.map((t) => e.map(t)));-jK.length;-var fbe = (e, t) => {+ EK,+ DK,+ (e) => EK(DK(e))+], kK = TK.flatMap((e) => OK.map((t) => t(e))), pbe = fbe.flatMap((e) => OK.map((t) => e.map(t)));+kK.length;+var mbe = (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;-}, MK = (e, t) => {- let n = DK.length;- return ((e + t * 2) % n + n) % n * AK.length + fbe(e, t) % AK.length;-}, pbe = (e, t) => jK[MK(e, t)], mbe = (e, t, n) => n < 0 || n >= 12 ? null : dbe[MK(e, t)][n], NK = 103.36, PK = 6.08, FK = 12 * NK, IK = 8 * NK, LK = 12, RK = (e, t) => (e % t + t) % t, hbe = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;-function zK(e, t) {- let n = Math.max(1, Math.ceil(e / LK)), r = t ? 3 : Math.min(3, n);+}, AK = (e, t) => {+ let n = TK.length;+ return ((e + t * 2) % n + n) % n * OK.length + mbe(e, t) % OK.length;+}, hbe = (e, t) => kK[AK(e, t)], gbe = (e, t, n) => n < 0 || n >= 12 ? null : pbe[AK(e, t)][n], jK = 103.36, MK = 6.08, NK = 12 * jK, PK = 8 * jK, FK = 12, IK = (e, t) => (e % t + t) % t, _be = (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 LK(e, t) {+ let n = Math.max(1, Math.ceil(e / FK)), r = t ? 3 : Math.min(3, n);return {columns: r,- width: r * FK,- height: Math.ceil(n / r) * IK+ width: r * NK,+ height: Math.ceil(n / r) * PK};}-function BK(e, t, n) {- let { x: r, y: i, cols: a, rows: o } = pbe(e, t)[n];+function RK(e, t, n) {+ let { x: r, y: i, cols: a, rows: o } = hbe(e, t)[n];return {- x: e * FK + r * NK,- y: t * IK + i * NK,- width: a * NK - PK,- height: o * NK - PK+ x: e * NK + r * jK,+ y: t * PK + i * jK,+ width: a * jK - MK,+ height: o * jK - MK};}-function gbe(e) {+function vbe(e) {return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);}-function VK(e, t, n) {+function zK(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 >= LK) return null;- let o = zK(e, t), s = o.height / IK;+ ].every(Number.isInteger) || a < 0 || a >= FK) return null;+ let o = LK(e, t), s = o.height / PK;if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;- let c = t ? r : RK(r, o.columns), l = ((t ? i : RK(i, s)) * o.columns + c) * LK + a;+ let c = t ? r : IK(r, o.columns), l = ((t ? i : IK(i, s)) * o.columns + c) * FK + a;return t && l >= e ? null : {- ...BK(r, i, a),+ ...RK(r, i, a),index: l % e,key: n};}-function _be(e, t) {+function ybe(e, t) {if (t < 0 || t >= e) return null;- let n = Math.floor(t / LK);- return VK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % LK}`);+ let n = Math.floor(t / FK);+ return zK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % FK}`);}-function HK(e, t, n) {- let [r, i, a] = n.key.split(":").map(Number), o = mbe(r, i, a);+function BK(e, t, n) {+ let [r, i, a] = n.key.split(":").map(Number), o = gbe(r, i, a);return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {- x: r * FK + e.x * NK,- y: i * IK + e.y * NK,- width: e.cols * NK - PK,- height: e.rows * NK - PK+ x: r * NK + e.x * jK,+ y: i * PK + e.y * jK,+ width: e.cols * jK - MK,+ height: e.rows * jK - MK}]));}-function vbe(e) {+function bbe(e) {let t = 0, n = 0;for (let r = Math.max(0, e - 36); r < e; r += 1) {- let e = Math.floor(r / LK), i = BK(e % 3, Math.floor(e / 3), r % LK);+ let e = Math.floor(r / FK), i = RK(e % 3, Math.floor(e / 3), r % FK);t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);}return {- width: e >= 36 ? 3 * FK - PK : t,+ width: e >= 36 ? 3 * NK - MK : t,height: n};}-function ybe(e, t, n, r) {+function xbe(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 {@@ -56505,22 +56505,22 @@ function ybe(e, t, n, r) {y: i(e.y, n.height, t.height)};}-function bbe(e, t, n, r) {+function Sbe(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 = zK(e, t), s = o.height / IK, c = [];- for (let n = Math.floor(a.y / IK); n <= Math.floor((a.y + a.height) / IK); n += 1) for (let r = Math.floor(a.x / FK); r <= Math.floor((a.x + a.width) / FK); r += 1) {+ }, o = LK(e, t), s = o.height / PK, c = [];+ for (let n = Math.floor(a.y / PK); n <= Math.floor((a.y + a.height) / PK); n += 1) for (let r = Math.floor(a.x / NK); r <= Math.floor((a.x + a.width) / NK); r += 1) {if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;- let i = t ? r : RK(r, o.columns), l = t ? n : RK(n, s);- for (let s = 0; s < LK; s += 1) {- let u = (l * o.columns + i) * LK + s;+ let i = t ? r : IK(r, o.columns), l = t ? n : IK(n, s);+ for (let s = 0; s < FK; s += 1) {+ let u = (l * o.columns + i) * FK + s;if (t && u >= e) continue;- let d = BK(r, n, s);- hbe(d, a) && c.push({+ let d = RK(r, n, s);+ _be(d, a) && c.push({...d,index: u % e,key: `${r}:${n}:${s}`@@ -56529,7 +56529,7 @@ function bbe(e, t, n, r) {}return c;}-var xbe = class {+var Cbe = class {positions = /* @__PURE__ */ new Map();used = /* @__PURE__ */ new Set();cursor = 0;@@ -56541,7 +56541,7 @@ var xbe = class {this.cursor = e;}tile(e, t) {- let n = this.positions.get(e), r = n === void 0 ? null : VK(t, !1, e);+ let n = this.positions.get(e), r = n === void 0 ? null : zK(t, !1, e);return r ? {...r,index: n@@ -56571,7 +56571,7 @@ var xbe = class {let e = 0;for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));return {- x: (e + 2) * FK,+ x: (e + 2) * NK,y: 0};}@@ -56584,10 +56584,10 @@ var xbe = class {c < i && (r = s, i = c);}if (r) return r;- let a = this.fresh(), o = `${Math.round(a.x / FK)}:0:0`;+ let a = this.fresh(), o = `${Math.round(a.x / NK)}:0:0`;return this.positions.set(o, t), this.used.add(t), this.tile(o, e);}-}, UK = [+}, VK = ["q","performer","series",@@ -56602,16 +56602,16 @@ var xbe = class {"dur_max","region"];-function Sbe(e = {}) {- return UK.some((t) => !!e[t]);+function wbe(e = {}) {+ return VK.some((t) => !!e[t]);}// src/react/video-wall/use-wall-camera.ts-var WK = {+var HK = {x: 16,y: 16,scale: 1};-function Cbe(e, t, n = WK, r = !1) {+function Tbe(e, t, n = HK, r = !1) {let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)({width: 0,height: 0@@ -56631,7 +56631,7 @@ function Cbe(e, t, n = WK, r = !1) {let f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(!1), h = (0, F.useRef)(null), g = (0, F.useCallback)(() => {p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;}, []), _ = (0, F.useCallback)((e, t = !1, n = !1) => {- let { count: r, finite: c, focused: f } = d.current, p = ybe(e, o.current, vbe(r), c && !f && !n);+ let { count: r, finite: c, focused: f } = d.current, p = xbe(e, o.current, bbe(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));@@ -56702,7 +56702,7 @@ function Cbe(e, t, n = WK, r = !1) {x: o.current.width / 2 - (e.x + e.width / 2) * i,y: o.current.height / 2 - (e.y + e.height / 2) * i};- !t || v() ? _(a, !0, n) : p.current = hS(0, 1, {+ !t || v() ? _(a, !0, n) : p.current = gS(0, 1, {duration: .42,ease: [.22,@@ -56731,7 +56731,7 @@ function Cbe(e, t, n = WK, r = !1) {},snapshot: () => ({ ...s.current }),reset: () => {- g(), _({ ...WK }, !0);+ g(), _({ ...HK }, !0);},pan: (e, t) => {g(), _({@@ -56792,16 +56792,16 @@ function Cbe(e, t, n = WK, r = !1) {};}// src/react/video-wall/wall-motion.ts-var wbe = {+var Ebe = {type: "spring",stiffness: 300,damping: 34-}, Tbe = {+}, Dbe = {delay: .14,duration: .24};// src/react/video-wall/use-wall-playback.ts-function Ebe(e, t, n) {+function Obe(e, t, n) {let [r, i] = (0, F.useState)({paused: !0,time: 0,@@ -56842,15 +56842,15 @@ function Ebe(e, t, n) {};}// src/react/video-wall/wall-controls.tsx-function Dbe({ 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 = iS(), x = Ebe(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {+function kbe({ 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 = aS(), x = Obe(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {if (!(C || a && !s)) try {t === e.id ? await x.toggle() : await f();} catch (e) {y(bn(e));}};- return /* @__PURE__ */ (0, I.jsxs)(gS.div, {+ return /* @__PURE__ */ (0, I.jsxs)(_S.div, {"data-wall-focus-actions": "",initial: !b && {opacity: 0,@@ -56860,7 +56860,7 @@ function Dbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouopacity: 1,transform: "translateY(0px)"},- transition: b ? { duration: 0 } : Tbe,+ transition: b ? { duration: 0 } : Dbe,children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-control-row": "",children: [@@ -56868,7 +56868,7 @@ function Dbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, groutype: "button","data-wall-play": "","data-wall-pause": w ? void 0 : "",- ...AV(C),+ ...kV(C),"aria-label": r ? "正在打开" : i ? "正在读取版本" : w ? "播放" : "暂停",title: w ? "播放" : "暂停",onClick: () => void T(),@@ -56918,7 +56918,7 @@ function Dbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",- ...AV(d),+ ...kV(d),"aria-label": u ? "移出稍后看" : "稍后看",title: "稍后看","aria-pressed": u,@@ -56964,7 +56964,7 @@ function Dbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou});}// src/react/components/mix-queue.tsx-function GK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+function UK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {let c = (0, F.useRef)(null), l = (0, F.useCallback)((e) => {c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);}, [a]);@@ -57000,7 +57000,7 @@ function GK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]});}-function KK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function WK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {let s = /* @__PURE__ */ (0, I.jsx)("span", {"data-mix-item-text": "",children: a@@ -57023,7 +57023,7 @@ function KK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var Obe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {+var Abe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {"data-mix-group-label": "",children: [e,@@ -57032,16 +57032,16 @@ var Obe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {]});// src/react/video-wall/wall-queue.tsx-function kbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {+function jbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-wall-queue": "",id: "wall-queue",- children: /* @__PURE__ */ (0, I.jsx)(GK, {+ children: /* @__PURE__ */ (0, I.jsx)(UK, {kind: n,title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",summary: `${e.length} 个视频`,onClose: a,- children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)(KK, {+ children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)(WK, {current: e.id === t,"data-wall-source": e.id,"aria-label": [@@ -57050,7 +57050,7 @@ function kbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })r(e)].filter(Boolean).join(" · "),onClick: () => i(e),- pic: /* @__PURE__ */ (0, I.jsx)(uW, { artwork: wo(e, "small", !0, "cover") }),+ pic: /* @__PURE__ */ (0, I.jsx)(lW, { artwork: wo(e, "small", !0, "cover") }),children: [/* @__PURE__ */ (0, I.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, I.jsx)("span", { children: [e.edition_label,e.part_label ? XP(e.part_label) : "",@@ -57061,7 +57061,7 @@ function kbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })});}// src/react/video-wall/wall-route.ts-function Abe(e = `${location.pathname}${location.search}`, t = {}) {+function Mbe(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",@@ -57076,17 +57076,17 @@ function Abe(e = `${location.pathname}${location.search}`, t = {}) {}return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;}-function qK(e = `${location.pathname}${location.search}`) {+function GK(e = `${location.pathname}${location.search}`) {let t = new URL(e, location.origin).searchParams;- for (let e of UK) t.delete(e);+ for (let e of VK) t.delete(e);return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;}-function JK() {+function KK() {let e = new URLSearchParams(W.navigation.location.search).get("returnTo") || "/";W.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");}// src/react/video-wall/video-wall.tsx-var YK = /* @__PURE__ */ new Map(), XK = (0, F.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {+var qK = /* @__PURE__ */ new Map(), JK = (0, F.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {let i = wo(!e.is_jav && t === "thumbnail" && e.has_thumb ? {...e,has_cover: !1@@ -57099,7 +57099,7 @@ var YK = /* @__PURE__ */ new Map(), XK = (0, F.memo)(function({ item: e, image:ref: a,"data-media-pic": "",style: { "--card-ratio": String(r) },- children: /* @__PURE__ */ (0, I.jsx)(uW, {+ children: /* @__PURE__ */ (0, I.jsx)(lW, {artwork: i,relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {e.complete && e.naturalWidth && ll(e, r);@@ -57107,11 +57107,11 @@ var YK = /* @__PURE__ */ new Map(), XK = (0, F.memo)(function({ item: e, image:})});});-function jbe({ 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 Nbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {let p = String(e[0]?.id), [m] = (0, F.useState)(() => {- let e = YK.get(f);+ let e = qK.get(f);return e && (i || t || e.pool === p) ? e : void 0;- }), [h] = (0, F.useState)(() => m?.exploration || new xbe()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {+ }), [h] = (0, F.useState)(() => m?.exploration || new Cbe()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {kind: "editions",seedId: w.edition_group.seed_id} : w?.part_group ? {@@ -57127,11 +57127,11 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:tagLabel: u.tagLabel,mixRelated: async () => []}, e)- }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === VP(N, O || w?.id || null)) || w, P = Cbe(e.length, t && !!e.length, m?.camera || {+ }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === VP(N, O || w?.id || null)) || w, P = Tbe(e.length, t && !!e.length, m?.camera || {x: 0,y: 0,scale: innerWidth < 640 ? .68 : 1- }, !!w), ne = iS(), [re, ie] = (0, F.useState)(!!m);+ }, !!w), ne = aS(), [re, ie] = (0, F.useState)(!!m);(0, F.useEffect)(() => {if (!e.length || re || ne) return;let t = setTimeout(() => ie(!0), 1100);@@ -57165,17 +57165,17 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:pool: p};let je = () => {- ke.current && (YK.delete(f), YK.set(f, {+ ke.current && (qK.delete(f), qK.set(f, {...Ae.current,camera: P.snapshot(),exploration: h- }), YK.size > 8 && YK.delete(YK.keys().next().value));+ }), qK.size > 8 && qK.delete(qK.keys().next().value));};(0, F.useLayoutEffect)(je);- let Me = bbe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Ne = i ? Me.map((e) => ({+ let Me = Sbe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Ne = i ? Me.map((e) => ({...e,index: -1- })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? VK(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? HK(e.length, t, Pe) : /* @__PURE__ */ new Map();+ })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? zK(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? BK(e.length, t, Pe) : /* @__PURE__ */ new Map();Pe && !Ne.some((e) => e.key === Pe.key) && Ne.push(Pe);let Ie = (e = !1) => {C.current?.abort(), C.current = null, S.current?.(e), S.current = null, se(null), de(!1);@@ -57214,7 +57214,7 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:w?.id !== n.id && Ie(!1), De.current = {key: r.key,id: n.id- }, pe(""), le(null), T(n), D(r.key), k(null), j(!1), xe(!1), P.reveal(HK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));+ }, pe(""), le(null), T(n), D(r.key), k(null), j(!1), xe(!1), P.reveal(BK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));}, ze = () => {te && y.current && (je(), Ie(!0), l.wallDetails?.(te, y.current.querySelector("[data-wall-focus]") || y.current));}, Be = async (e = te) => {@@ -57258,7 +57258,7 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:let r = P.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {x: (P.view.size.width / 2 - r.x) / r.scale,y: (P.view.size.height / 2 - r.y) / r.scale- }, o = t ? _be(e.length, i) : h.nearest(e.length, i, a);+ }, o = t ? ybe(e.length, i) : h.nearest(e.length, i, a);o && (Re(n, o), le(n.id));}, Ge = async () => {if (!(r || g.current)) {@@ -57350,7 +57350,7 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:/* @__PURE__ */ (0, I.jsx)("div", {"data-wall-focus-backdrop": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(XK, {+ children: /* @__PURE__ */ (0, I.jsx)(JK, {item: w,image: Te,big: !0@@ -57358,7 +57358,7 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, I.jsx)("div", {"data-wall-scene": "",- children: /* @__PURE__ */ (0, I.jsx)(XK, {+ children: /* @__PURE__ */ (0, I.jsx)(JK, {item: w,image: Te,big: !0@@ -57404,7 +57404,7 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),fe || M && ee.error && !N ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-play-error": "",- children: [/* @__PURE__ */ (0, I.jsx)(TV, {+ children: [/* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",children: fe || bn(ee.error)}), ee.error && !N ? /* @__PURE__ */ (0, I.jsx)(J, {@@ -57414,7 +57414,7 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: "立即重试"}) : null]}) : null,- /* @__PURE__ */ (0, I.jsx)(Dbe, {+ /* @__PURE__ */ (0, I.jsx)(kbe, {item: Xe,playing: oe,frame: b,@@ -57436,7 +57436,7 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:ended: Ve,error: pe}),- A ? /* @__PURE__ */ (0, I.jsx)(kbe, {+ A ? /* @__PURE__ */ (0, I.jsx)(jbe, {items: He,activeId: Xe.id,kind: N?.kind || "wall",@@ -57452,7 +57452,7 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-refreshing": _ !== null || void 0,hidden: Ce,onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? Le() : be ? xe(!1) : JK());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? Le() : be ? xe(!1) : KK());},children: [/* @__PURE__ */ (0, I.jsx)("button", {@@ -57460,7 +57460,7 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-back": "","aria-label": "退出播放墙",title: "返回",- onClick: JK,+ onClick: KK,children: /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -57478,7 +57478,7 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}), /* @__PURE__ */ (0, I.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, I.jsx)(J, {size: "small",variant: "ghost",- onClick: () => W.push(qK()),+ onClick: () => W.push(GK()),children: "清除筛选"})]}) : null,@@ -57504,18 +57504,18 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:defaultValue: new URLSearchParams(location.search).get("q") || ""})]}),- /* @__PURE__ */ (0, I.jsxs)(LU, {+ /* @__PURE__ */ (0, I.jsxs)(IU, {"aria-label": "播放墙图片",value: Te,onChange: Ee,- className: RU,+ className: LU,children: [/* @__PURE__ */ (0, I.jsx)(Yz, {value: "cover",- className: zU,+ className: RU,children: "封面"}), /* @__PURE__ */ (0, I.jsx)(Yz, {value: "thumbnail",- className: zU,+ className: RU,children: "缩略图"})]}),@@ -57587,7 +57587,7 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}}, t.key);let n = e[t.index], r = !!w && t.key === E, i = Fe.get(t.key) || t, a = !re && !r, o = a ? Math.min(.34, (Math.max(0, t.x + P.view.camera.x / P.view.camera.scale) + Math.max(0, t.y + P.view.camera.y / P.view.camera.scale)) / 103.36 * .03) : 0;- return /* @__PURE__ */ (0, I.jsx)(gS.article, {+ return /* @__PURE__ */ (0, I.jsx)(_S.article, {layout: !0,layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,"data-wall-tile": t.key,@@ -57608,7 +57608,7 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:},whileHover: ae && !ne && !r && re ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,transition: ne ? { duration: 0 } : {- layout: wbe,+ layout: Ebe,transform: a ? {type: "spring",stiffness: 360,@@ -57641,7 +57641,7 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Re(n, t, !1));},children: r ? Ze : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(XK, {+ /* @__PURE__ */ (0, I.jsx)(JK, {item: n,image: Te,ratio: i.width / i.height@@ -57667,7 +57667,7 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:style: { "--wall-progress": `${Math.min(100, Number(n.leave_ratio) * 100)}%` },"aria-label": "观看进度"}) : null,- /* @__PURE__ */ (0, I.jsx)(gS.span, {+ /* @__PURE__ */ (0, I.jsx)(_S.span, {"data-wall-dim": "",animate: { opacity: w ? .65 : 0 },transition: { duration: ne ? 0 : .24 }@@ -57679,7 +57679,7 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),!i && a ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, I.jsx)(TV, {+ children: [/* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",children: a}), /* @__PURE__ */ (0, I.jsx)(J, {@@ -57706,7 +57706,7 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}) : null,!t && (n || e.length > 0) ? /* @__PURE__ */ (0, I.jsx)("div", {"data-wall-refresh": "",- children: /* @__PURE__ */ (0, I.jsx)(GG, {+ children: /* @__PURE__ */ (0, I.jsx)(UG, {busy: r,onPress: () => void qe()})@@ -57716,20 +57716,20 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: /* @__PURE__ */ (0, I.jsxs)(J, {size: "small",variant: "secondary",- ...AV(r),+ ...kV(r),onClick: () => void Ge(),children: [r ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: zs() } }) : null, "载入更多"]})}) : null,me ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, I.jsx)(TV, {+ children: [/* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",children: me}), /* @__PURE__ */ (0, I.jsx)(J, {size: "small",variant: "ghost",- ...AV(r),+ ...kV(r),onClick: () => void Ge(),children: "立即重试"})]@@ -57752,7 +57752,7 @@ function jbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:return (0, Lt.createPortal)(Qe, Se);}// src/catalog-onboarding.ts-var ZK = [+var YK = ["loc","creator","performer",@@ -57771,19 +57771,19 @@ var ZK = ["jav","thumb"];-function Mbe(e = typeof location > "u" ? "/" : location.href) {+function Pbe(e = typeof location > "u" ? "/" : location.href) {let t = new URL(e, "http://localhost");for (let e of [- ...ZK,+ ...YK,"q","category","cat"]) t.searchParams.delete(e);return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;}-async function Nbe(e, t) {+async function Fbe(e, t) {let n = new URLSearchParams();- for (let t of ZK) e[t] && n.set(t, e[t]);+ for (let t of YK) 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 || [],@@ -57794,9 +57794,9 @@ async function Nbe(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function QK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function XK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {let a = "<a class=\"geist-button primary\" href=\"/settings/library\">添加媒体</a>", o = "<a class=\"geist-button" + (i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";- if (t || n) return Us("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(Mbe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });+ if (t || n) return Us("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(Pbe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });if (e !== "catalog") {let t = (i ? {tags: "标签",@@ -57814,12 +57814,12 @@ function QK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:return Us("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });}// src/react/video-wall/wall-empty.ts-function Pbe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {- return e ? r || QK() : t ? Us("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Us("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${qK()}">清除筛选</a>` });+function Ibe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {+ return e ? r || XK() : t ? Us("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Us("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${GK()}">清除筛选</a>` });}// src/react/library-processing/processing-actions.tsx-function $K({ label: e, maintenance: t = !1, children: n }) {- let r = MH("hover");+function ZK({ label: e, maintenance: t = !1, children: n }) {+ let r = jH("hover");return /* @__PURE__ */ (0, I.jsx)("div", {ref: r,role: "group",@@ -57829,13 +57829,13 @@ function $K({ label: e, maintenance: t = !1, children: n }) {children: n});}-function eq({ option: e, metadataOnly: t, onRun: n }) {+function QK({ option: e, metadataOnly: t, onRun: n }) {let r = t && e.command.stage === "previews", i = r || e.disabled;return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",disabled: i,title: r ? "请先在媒体库设置中开启视频预览生成" : void 0,- className: q(JV, i ? "cursor-not-allowed opacity-50" : YV, "text-body-2-medium"),+ className: q(qV, i ? "cursor-not-allowed opacity-50" : JV, "text-body-2-medium"),onClick: () => n(e.command),children: /* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",@@ -57846,12 +57846,12 @@ function eq({ option: e, metadataOnly: t, onRun: n }) {})});}-function Fbe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {+function Lbe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {let [a, o] = (0, F.useState)(t), [s, c] = (0, F.useState)(), [l, u] = (0, F.useState)("");(0, F.useEffect)(() => {let t = new AbortController(), r, i = async (a) => {try {- let o = await a_e(e, t.signal, a);+ let o = await o_e(e, t.signal, a);if (!o.traffic) throw Error("服务端未提供流量预估");if (t.signal.aborted) return;c(o.traffic), n.confirmButton.disabled = !1, o.traffic.inventory?.token && (r = setTimeout(() => {@@ -57876,7 +57876,7 @@ function Fbe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}),/* @__PURE__ */ (0, I.jsx)("div", {className: "flex justify-center",- children: /* @__PURE__ */ (0, I.jsx)(zH, {+ children: /* @__PURE__ */ (0, I.jsx)(RH, {value: a,busy: i,onChange: (e) => {@@ -57884,7 +57884,7 @@ function Fbe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}})}),- s ? /* @__PURE__ */ (0, I.jsx)(DU, {+ s ? /* @__PURE__ */ (0, I.jsx)(EU, {traffic: s,initial: !0}) : null,@@ -57896,7 +57896,7 @@ function Fbe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {]});}-function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speedMode: i = "standard", pendingCount: a = 0, onRun: o, onOccupied: s }) {+function $K({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speedMode: i = "standard", pendingCount: a = 0, onRun: o, onOccupied: s }) {let c = (0, F.useRef)(null), l = (0, F.useRef)(null), [u, d] = (0, F.useState)(null), f = (0, F.useRef)(i);(0, F.useEffect)(() => () => l.current?.close(), []);let [p, m] = (0, F.useState)(!1), h = {@@ -57944,7 +57944,7 @@ function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spedescription: "为已入库的本地视频生成九宫格",command: { stage: "previews" }}- ], v = e || t, y = e ? AV(!0) : t ? { "aria-disabled": !0 } : {}, b = (a) => {+ ], v = e || t, y = e ? kV(!0) : t ? { "aria-disabled": !0 } : {}, b = (a) => {if (e) return;if (t) {s?.();@@ -57979,7 +57979,7 @@ function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe});};return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- u ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Fbe, {+ u ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Lbe, {command: u.command,dialog: u.dialog,speed: i,@@ -57988,11 +57988,11 @@ function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spef.current = e;}}), u.host) : null,- u ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(kH, {+ u ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(OH, {href: "/settings/library",size: "small",variant: "primary",- trailingIcon: IB,+ trailingIcon: FB,disabled: v,onClick: (e) => {u.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : u.dialog.close();@@ -58010,7 +58010,7 @@ function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe}), /* @__PURE__ */ (0, I.jsx)(J, {ref: c,iconOnly: !0,- leadingIcon: FB,+ leadingIcon: PB,"aria-label": "更多同步方式","aria-haspopup": "dialog","aria-expanded": p,@@ -58026,21 +58026,21 @@ function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speonOpenChange: m,placement: "bottom end",offset: 4,- className: qV,+ className: KV,children: /* @__PURE__ */ (0, I.jsxs)(Vz, {"aria-label": "同步方式",className: "flex w-80 flex-col gap-1 outline-none",- children: [n ? /* @__PURE__ */ (0, I.jsxs)($K, {+ children: [n ? /* @__PURE__ */ (0, I.jsxs)(ZK, {label: "日常同步",children: [/* @__PURE__ */ (0, I.jsx)("p", {className: "px-2 py-1 text-caption-1-medium text-text-secondary",children: "日常同步"- }), g.map((e) => /* @__PURE__ */ (0, I.jsx)(eq, {+ }), g.map((e) => /* @__PURE__ */ (0, I.jsx)(QK, {option: e,metadataOnly: r,onRun: b}, e.label))]- }) : null, /* @__PURE__ */ (0, I.jsxs)($K, {+ }) : null, /* @__PURE__ */ (0, I.jsxs)(ZK, {label: n ? "全库维护" : "补全方式",maintenance: n,children: [n ? /* @__PURE__ */ (0, I.jsxs)("div", {@@ -58052,7 +58052,7 @@ function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speclassName: "text-caption-1-regular text-text-secondary",children: "检查全部文件,复用已有资料和预览"})]- }) : null, _.map((e) => /* @__PURE__ */ (0, I.jsx)(eq, {+ }) : null, _.map((e) => /* @__PURE__ */ (0, I.jsx)(QK, {option: e,metadataOnly: r,onRun: b@@ -58063,48 +58063,48 @@ function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe] });}// src/react/library-processing/library-completion.tsx-function nq(e, t) {+function eq(e, t) {return [...new Set(e.filter((e) => (!e.medium || e.medium === "video") && (!/\.(strm|iso)$/i.test(e.name || "") || !!e.code) && !e.disposal && e.location !== "online" && (e.location === "local" || !!e.code) && !wo(e, "small", !1, t).html).map((e) => e.id))];}-function rq({ assetIds: e, onComplete: t, className: n = "mb-4" }) {- return e.length ? /* @__PURE__ */ (0, I.jsx)(Ibe, {+function tq({ assetIds: e, onComplete: t, className: n = "mb-4" }) {+ return e.length ? /* @__PURE__ */ (0, I.jsx)(Rbe, {assetIds: e,onComplete: t,className: n}) : null;}-function Ibe({ assetIds: e, onComplete: t, className: n }) {+function Rbe({ assetIds: e, onComplete: t, className: n }) {let r = Pt({- queryKey: pH,- queryFn: ({ signal: e }) => xH(e),- refetchInterval: (e) => wH(e.state.data, !0)+ queryKey: fH,+ queryFn: ({ signal: e }) => bH(e),+ refetchInterval: (e) => CH(e.state.data, !0)}), [i, a] = (0, F.useState)(null), [o, s] = (0, F.useState)(""), c = (0, F.useRef)(null), l = Ft({- mutationFn: (t) => V(fH, {+ mutationFn: (t) => V(dH, {...t,asset_ids: e}),onSuccess: (e) => {- a(e.job_id || null), H.setQueryData(pH, e), H.invalidateQueries({ queryKey: pH });+ a(e.job_id || null), H.setQueryData(fH, e), H.invalidateQueries({ queryKey: fH });}}), u = r.data;(0, F.useEffect)(() => {- u && i && u.job_id === i && !gH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), H.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());+ u && i && u.job_id === i && !hH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), H.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());}, [u,i,t]);- let d = l.isPending || gH(u), f = l.error ? cr(l.error) : r.error ? CH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${gH(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);+ let d = l.isPending || hH(u), f = l.error ? cr(l.error) : r.error ? SH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${hH(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);return /* @__PURE__ */ (0, I.jsx)("section", {"aria-label": "补全预览","aria-live": "polite","data-library-completion": "",className: q("@container", n),- children: /* @__PURE__ */ (0, I.jsxs)(TV, {+ children: /* @__PURE__ */ (0, I.jsxs)(wV, {tone: f ? "warning" : "neutral",action: /* @__PURE__ */ (0, I.jsx)("div", {className: "flex flex-wrap items-center gap-2",- children: /* @__PURE__ */ (0, I.jsx)(tq, {+ children: /* @__PURE__ */ (0, I.jsx)($K, {busy: d,metadataOnly: u?.metadata_only,onRun: (e) => {@@ -58115,10 +58115,10 @@ function Ibe({ assetIds: e, onComplete: t, className: n }) {children: [p," ",- /* @__PURE__ */ (0, I.jsx)(kH, {+ /* @__PURE__ */ (0, I.jsx)(OH, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: IB,+ trailingIcon: FB,children: f ? "打开扫描与采集" : "查看处理详情"})]@@ -58126,31 +58126,31 @@ function Ibe({ assetIds: e, onComplete: t, className: n }) {});}// node_modules/@tanstack/react-table/dist/FlexRender.js-function Lbe(e) {- return Rbe(e) || typeof e == "function" || zbe(e);+function zbe(e) {+ return Bbe(e) || typeof e == "function" || Vbe(e);}-function Rbe(e) {+function Bbe(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function zbe(e) {+function Vbe(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function iq(e, t) {- return e == null ? null : Lbe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;+function nq(e, t) {+ return e == null ? null : zbe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;}-function Bbe(e) {+function Hbe(e) {if ("cell" in e && e.cell) {let t = e.cell, n = t.column.columnDef, r = t, i = n;- return r.getIsAggregated?.() ? iq(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : iq(n.cell, t.getContext());+ return r.getIsAggregated?.() ? nq(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : nq(n.cell, t.getContext());}- return "header" in e && e.header ? iq(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? iq(e.footer.column.columnDef.footer, e.footer.getContext()) : null;+ return "header" in e && e.header ? nq(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? nq(e.footer.column.columnDef.footer, e.footer.getContext()) : null;}// node_modules/@tanstack/store/dist/alien.js/* @__NO_SIDE_EFFECTS__ */-function Vbe({ update: e, notify: t, unwatched: n }) {+function Ube({ update: e, notify: t, unwatched: n }) {return {link: r,unlink: i,@@ -58267,7 +58267,7 @@ function Vbe({ update: e, notify: t, unwatched: n }) {}}// node_modules/@tanstack/store/dist/atom.js-function Hbe(e, t, n) {+function Wbe(e, t, n) {let r = typeof e == "object", i = r ? e : void 0;return {next: (r ? e.next : e)?.bind(i),@@ -58275,38 +58275,38 @@ function Hbe(e, t, n) {complete: (r ? e.complete : n)?.bind(i)};}-var aq = [], oq = 0, { link: sq, unlink: Ube, propagate: Wbe, checkDirty: cq, shallowPropagate: lq } = /* @__PURE__ */ Vbe({+var rq = [], iq = 0, { link: aq, unlink: Gbe, propagate: Kbe, checkDirty: oq, shallowPropagate: sq } = /* @__PURE__ */ Ube({update(e) {return e._update();},notify(e) {- aq[dq++] = e, e.flags &= -3;+ rq[lq++] = e, e.flags &= -3;},unwatched(e) {- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, mq(e));+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, fq(e));}-}), uq = 0, dq = 0, fq, pq = 0;-function Gbe(e) {+}), cq = 0, lq = 0, uq, dq = 0;+function qbe(e) {try {- ++pq, e();+ ++dq, e();} finally {- --pq || hq();+ --dq || pq();}}-function mq(e) {+function fq(e) {let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;- for (; n !== void 0;) n = Ube(n, e);+ for (; n !== void 0;) n = Gbe(n, e);}-function hq() {- if (!(pq > 0)) {- for (; uq < dq;) {- let e = aq[uq];- aq[uq++] = void 0, e.notify();+function pq() {+ if (!(dq > 0)) {+ for (; cq < lq;) {+ let e = rq[cq];+ rq[cq++] = void 0, e.notify();}- uq = 0, dq = 0;+ cq = 0, lq = 0;}}-function Kbe(e, t) {+function Jbe(e, t) {let n = typeof e == "function", r = e, i = {_snapshot: n ? void 0 : e,subs: void 0,@@ -58315,53 +58315,53 @@ function Kbe(e, t) {depsTail: void 0,flags: +!n,get() {- return fq !== void 0 && sq(i, fq, oq), i._snapshot;+ return uq !== void 0 && aq(i, uq, iq), i._snapshot;},subscribe(e) {- let t = Hbe(e), n = { current: !1 }, r = qbe(() => {- i.get(), n.current ? (fq = void 0, t.next?.(i._snapshot)) : n.current = !0;+ let t = Wbe(e), n = { current: !1 }, r = Ybe(() => {+ i.get(), n.current ? (uq = void 0, t.next?.(i._snapshot)) : n.current = !0;});return { unsubscribe: () => {r.stop();} };},_update(e) {- let a = fq, o = t?.compare ?? Object.is;- if (n) fq = i, ++oq, i.depsTail = void 0;+ let a = uq, o = t?.compare ?? Object.is;+ if (n) uq = i, ++iq, 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 {- fq = a, n && (i.flags &= -5), mq(i);+ uq = a, n && (i.flags &= -5), fq(i);}}};return n ? (i.flags = 17, i.get = function() {let e = i.flags;- if (e & 16 || e & 32 && cq(i.deps, i)) {+ if (e & 16 || e & 32 && oq(i.deps, i)) {if (i._update()) {let e = i.subs;- e !== void 0 && lq(e);+ e !== void 0 && sq(e);}} else e & 32 && (i.flags = e & -33);- return fq !== void 0 && sq(i, fq, oq), i._snapshot;+ return uq !== void 0 && aq(i, uq, iq), i._snapshot;}) : i.set = function(e) {if (i._update(e)) {let e = i.subs;- e !== void 0 && (Wbe(e), lq(e), hq());+ e !== void 0 && (Kbe(e), sq(e), pq());}}, i;}-function qbe(e) {+function Ybe(e) {let t = () => {- let t = fq;- fq = n, ++oq, n.depsTail = void 0, n.flags = 6;+ let t = uq;+ uq = n, ++iq, n.depsTail = void 0, n.flags = 6;try {return e();} finally {- fq = t, n.flags &= -5, mq(n);+ uq = t, n.flags &= -5, fq(n);}}, n = {deps: void 0,@@ -58371,16 +58371,16 @@ function qbe(e) {flags: 6,notify() {let e = this.flags;- e & 16 || e & 32 && cq(this.deps, this) ? t() : this.flags = 2;+ e & 16 || e & 32 && oq(this.deps, this) ? t() : this.flags = 2;},stop() {- this.flags = 0, this.depsTail = void 0, mq(this);+ this.flags = 0, this.depsTail = void 0, fq(this);}};return t(), n;}// node_modules/@tanstack/store/dist/shallow.js-function gq(e, t) {+function mq(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) {@@ -58394,17 +58394,17 @@ function gq(e, t) {return !0;}if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();- let n = _q(e);- if (n.length !== _q(t).length) return !1;+ let n = hq(e);+ if (n.length !== hq(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 _q(e) {+function hq(e) {return Object.keys(e).concat(Object.getOwnPropertySymbols(e));}// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js-var Jbe = /* @__PURE__ */ o(((e) => {- var t = A(), n = dw();+var Xbe = /* @__PURE__ */ o(((e) => {+ var t = A(), n = pw();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}@@ -58448,33 +58448,33 @@ var Jbe = /* @__PURE__ */ o(((e) => {f.hasValue = !0, f.value = p;}, [p]), l(p), p;};-})), vq = /* @__PURE__ */ o(((e, t) => {- t.exports = Jbe();-})), Ybe = vq();-function Xbe(e, t) {+})), gq = /* @__PURE__ */ o(((e, t) => {+ t.exports = Xbe();+})), Zbe = gq();+function Qbe(e, t) {return e === t;}-function yq(e, t = (e) => e, n) {- let r = n?.compare ?? Xbe, i = (0, F.useCallback)((t) => {+function _q(e, t = (e) => e, n) {+ let r = n?.compare ?? Qbe, i = (0, F.useCallback)((t) => {let { unsubscribe: n } = e.subscribe(t);return n;}, [e]), a = (0, F.useCallback)(() => e.get(), [e]);- return (0, Ybe.useSyncExternalStoreWithSelector)(i, a, a, t, r);+ return (0, Zbe.useSyncExternalStoreWithSelector)(i, a, a, t, r);}// node_modules/@tanstack/react-table/dist/Subscribe.js-function Zbe(e) {- let t = yq(e.source, e.selector, { compare: gq });+function $be(e) {+ let t = _q(e.source, e.selector, { compare: mq });return typeof e.children == "function" ? e.children(t) : e.children;}// node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js-function Qbe(e) {+function exe(e) {let t = e;return Object.defineProperty(e, "state", { get() {return e.get();} }), "set" in e && (t.setState = e.set.bind(e)), t;}// node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js-function $be(e) {+function txe(e) {let { createAtom: t, batch: n } = e, r = t(0);return {createOptionsStore: !1,@@ -58504,7 +58504,7 @@ function $be(e) {}};}-function exe(e, t = Object.is) {+function nxe(e, t = Object.is) {let n = !1, r;return {get: e.get,@@ -58517,28 +58517,28 @@ function exe(e, t = Object.is) {};}// node_modules/@tanstack/react-table/dist/reactivity.js-function txe() {- return $be({- createAtom: Kbe,- batch: Gbe+function rxe() {+ return txe({+ createAtom: Jbe,+ batch: qbe});}// node_modules/@tanstack/table-core/dist/utils.js-function bq(e, t) {+function vq(e, t) {return typeof e == "function" ? e(t) : e;}-function xq(e) {- if (Array.isArray(e)) return e.map(xq);+function yq(e) {+ if (Array.isArray(e)) return e.map(yq);if (e && typeof e == "object") {let t = Object.getPrototypeOf(e);if (t !== Object.prototype && t !== null) return e;- let n = t === null ? Cq() : {}, r = Object.keys(e);+ let n = t === null ? xq() : {}, 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: xq(e[i]),+ value: yq(e[i]),writable: !0});}@@ -58546,7 +58546,7 @@ function xq(e) {}return e;}-function Sq(e, t) {+function bq(e, t) {let n = Object.keys(t), r = e;for (let e = 0; e < n.length; e++) {let i = n[e];@@ -58554,53 +58554,53 @@ function Sq(e, t) {}return e;}-function Cq() {+function xq() {return Object.create(null);}-function wq(e, t) {+function Sq(e, t) {return Object.prototype.hasOwnProperty.call(e, t);}-function Tq(e, t) {+function Cq(e, t) {return (n) => {- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => bq(n, e));+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => vq(n, e));};}-function Eq(e) {+function wq(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 Dq(e) {+function Tq(e) {return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}-var nxe = 3;-function rxe(e, t) {- return Oq(e, t, nxe);+var ixe = 3;+function axe(e, t) {+ return Eq(e, t, ixe);}-function Oq(e, t, n) {+function Eq(e, t, n) {if (Object.is(e, t)) return !0;- if (n <= 0 || !Eq(e) || !Eq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;- let r = Dq(e), i = Dq(t);+ if (n <= 0 || !wq(e) || !wq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;+ let r = Tq(e), i = Tq(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) || !Oq(a[i], o[i], n - 1)) return !1;+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !Eq(a[i], o[i], n - 1)) return !1;}return !0;}-function kq(e, t, n, r = rxe) {+function Dq(e, t, n, r = axe) {let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];a && a((e) => {- let t = bq(n, e);+ let t = vq(n, e);return r(e, t) ? e : t;});}-function ixe(e) {+function oxe(e) {return e instanceof Function;}-function axe(e, t) {+function sxe(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -58610,7 +58610,7 @@ function axe(e, t) {};return r(e), n;}-var oxe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {+var cxe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {let o = [], s;return (c) => {i?.();@@ -58624,23 +58624,23 @@ var oxe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCoreturn n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;};};-function Aq(e) {+function Oq(e) {let t = !1;return () => {t ? e() : t = !0;};}-function jq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {+function kq({ 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 oxe({+ return cxe({...a,...o});}-function Mq(e, t = "_") {+function Aq(e, t = "_") {let [n, r] = e.replace(t, " ").split(" ");return {fnKey: r,@@ -58648,10 +58648,10 @@ function Mq(e, t = "_") {parentName: n};}-function Nq(e, t, n) {+function jq(e, t, n) {for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {- let { fnKey: n, fnName: o } = Mq(r);- t[n] = a ? jq({+ let { fnKey: n, fnName: o } = Aq(r);+ t[n] = a ? kq({memoDeps: a,fn: i,fnName: o,@@ -58660,15 +58660,15 @@ function Nq(e, t, n) {}) : i;}}-function Pq(e, t, n, r) {+function Mq(e, t, n, r) {for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {- let { fnKey: r, fnName: s } = Mq(i);+ let { fnKey: r, fnName: s } = Aq(i);if (o) {let i = `_memo_${r}`;t[r] = function(...t) {if (!this[i]) {let t = this;- this[i] = jq({+ this[i] = kq({memoDeps: (e) => o(t, e),fn: (...e) => a(t, ...e),fnName: s,@@ -58684,17 +58684,17 @@ function Pq(e, t, n, r) {};}}-function Fq(e, t, n, ...r) {+function Nq(e, t, n, ...r) {return e[t]?.(...r) ?? n(e, ...r);}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js-function sxe(e) {+function lxe(e) {return e.row.getValue(e.column.id);}-function cxe(e) {+function uxe(e) {return e.getValue() ?? e.table.options.renderFallbackValue;}-function lxe(e) {+function dxe(e) {return {table: e.table,column: e.column,@@ -58705,18 +58705,18 @@ function lxe(e) {};}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js-var uxe = { assignCellPrototype: (e, t) => {- Pq("coreCellsFeature", e, t, {- cell_getValue: { fn: (e) => sxe(e) },- cell_renderValue: { fn: (e) => cxe(e) },+var fxe = { assignCellPrototype: (e, t) => {+ Mq("coreCellsFeature", e, t, {+ cell_getValue: { fn: (e) => lxe(e) },+ cell_renderValue: { fn: (e) => uxe(e) },cell_getContext: {- fn: (e) => lxe(e),+ fn: (e) => dxe(e),memoDeps: (e) => [e]}});} };// node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js-function dxe(e) {+function pxe(e) {if (!e._columnPrototype) {e._columnPrototype = { table: e };let t = Object.values(e._features);@@ -58724,7 +58724,7 @@ function dxe(e) {}return e._columnPrototype;}-function fxe(e, t, n, r) {+function mxe(e, t, n, r) {let i = {...e.getDefaultColumnDef(),...t@@ -58744,53 +58744,53 @@ function fxe(e, t, n, r) {} else c = (e) => e[i.accessorKey];}if (!s) throw Error();- let l = dxe(e), u = Object.create(l);+ let l = pxe(e), u = Object.create(l);u.accessorFn = c, u.columnDef = i, u.columns = [], u.depth = n, u.id = `${String(s)}`, u.parent = r;let d = e._columnInstanceInitFns;for (let e = 0; e < d.length; e++) d[e](u);return u;}// node_modules/@tanstack/table-core/dist/core/featureStubs.js-function Iq(e) {+function Pq(e) {return e.getIsVisible?.() ?? !0;}-function pxe(e) {+function hxe(e) {return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();}-function Lq(e, t) {+function Fq(e, t) {let n = e, r = t;return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;}-function Rq(e, t, n, r) {+function Iq(e, t, n, r) {return e._orderByColumnPinning?.(t, n, r) ?? t;}-function zq(e, t) {+function Lq(e, t) {return e._expandRows?.(t) ?? t;}-function mxe(e) {+function gxe(e) {e.autoResetExpanded?.();}-function Bq(e) {+function Rq(e) {e.autoResetPageIndex?.();}-function hxe(e) {+function _xe(e) {e.autoResetSorting?.();}-function gxe(e) {+function vxe(e) {e.autoResetCellSelection?.();}// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js-function _xe(e) {+function yxe(e) {return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];}-function vxe(e) {+function bxe(e) {if (e.columns.length) {let t = e.columns.flatMap((e) => e.getLeafColumns());- return Lq(e.table, t);+ return Fq(e.table, t);}return [e];}-function yxe(e) {+function xxe(e) {return {header: (e) => {let t = e.header.column.columnDef;@@ -58801,53 +58801,53 @@ function yxe(e) {...e.options.defaultColumn};}-function Vq(e, t, n, r = 0) {+function zq(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 = fxe(e, o, r, n), c = o;- s.columns = c.columns ? Vq(e, c.columns, s, r + 1) : [], i[a] = s;+ let o = t[a], s = mxe(e, o, r, n), c = o;+ s.columns = c.columns ? zq(e, c.columns, s, r + 1) : [], i[a] = s;}return i;}-function bxe(e) {- return Vq(e, e.options.columns);+function Sxe(e) {+ return zq(e, e.options.columns);}-function xxe(e) {+function Cxe(e) {return e.getAllColumns().flatMap((e) => e.getFlatColumns());}-function Sxe(e) {- let t = Cq(), n = e.getAllFlatColumns();+function wxe(e) {+ let t = xq(), n = e.getAllFlatColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function Cxe(e) {- return Lq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));+function Txe(e) {+ return Fq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));}-function wxe(e) {- let t = Cq(), n = e.getAllLeafColumns();+function Exe(e) {+ let t = xq(), n = e.getAllLeafColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function Txe(e, t) {+function Dxe(e, t) {return e.getAllFlatColumnsById()[t];}// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js-var Exe = {+var Oxe = {assignColumnPrototype: (e, t) => {- Pq("coreColumnsFeature", e, t, {+ Mq("coreColumnsFeature", e, t, {column_getFlatColumns: {- fn: (e) => _xe(e),+ fn: (e) => yxe(e),memoDeps: (e) => [e.table.options.columns]},column_getLeafColumns: {- fn: (e) => vxe(e),+ fn: (e) => bxe(e),memoDeps: (e) => [e.table.atoms.columnOrder?.get(),e.table.atoms.grouping?.get(),@@ -58858,25 +58858,25 @@ var Exe = {});},constructTableAPIs: (e) => {- Nq("coreColumnsFeature", e, {+ jq("coreColumnsFeature", e, {table_getDefaultColumnDef: {- fn: () => yxe(e),+ fn: () => xxe(e),memoDeps: () => [e.options.defaultColumn]},table_getAllColumns: {- fn: () => bxe(e),+ fn: () => Sxe(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumns: {- fn: () => xxe(e),+ fn: () => Cxe(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumnsById: {- fn: () => Sxe(e),+ fn: () => wxe(e),memoDeps: () => [e.options.columns]},table_getAllLeafColumns: {- fn: () => Cxe(e),+ fn: () => Txe(e),memoDeps: () => [e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),@@ -58885,15 +58885,15 @@ var Exe = {]},table_getAllLeafColumnsById: {- fn: () => wxe(e),+ fn: () => Exe(e),memoDeps: () => [e.getAllLeafColumns()]},- table_getColumn: { fn: (t) => Txe(e, t) }+ table_getColumn: { fn: (t) => Dxe(e, t) }});}};// node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js-function Dxe(e) {+function kxe(e) {if (!e._headerPrototype) {e._headerPrototype = { table: e };let t = Object.values(e._features);@@ -58901,38 +58901,38 @@ function Dxe(e) {}return e._headerPrototype;}-function Hq(e, t, n) {- let r = Dxe(e), i = Object.create(r);+function Bq(e, t, n) {+ let r = kxe(e), i = Object.create(r);i.colSpan = 0, i.column = t, i.depth = n.depth, i.headerGroup = null, i.id = n.id ?? t.id, i.index = n.index, i.isPlaceholder = !!n.isPlaceholder, i.placeholderId = n.placeholderId, i.rowSpan = 0, i.subHeaders = [];let a = e._headerInstanceInitFns;for (let e = 0; e < a.length; e++) a[e](i);return i;}// node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js-function Uq(e, t = 1) {+function Vq(e, t = 1) {let n = t;for (let r = 0; r < e.length; r++) {let i = e[r];- Iq(i) && i.columns.length && (n = Math.max(n, Uq(i.columns, t + 1)));+ Pq(i) && i.columns.length && (n = Math.max(n, Vq(i.columns, t + 1)));}return n;}-function Oxe(e, t) {+function Axe(e, t) {return e ? `${e}_${t}` : String(t);}-function kxe(e, t, n, r) {+function jxe(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 Axe(e, t) {+function Mxe(e, t) {let n = 0;for (let r = 0; r < e.length; r++) e[r].column === t && n++;return n;}-function Wq(e, t, n, r, i, a) {+function Hq(e, t, n, r, i, a) {let o = {depth: t,- id: Oxe(r, t),+ id: Axe(r, t),headers: []}, s = [];for (let i = 0; i < e.length; i++) {@@ -58940,10 +58940,10 @@ function Wq(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 = Hq(n, u, {- id: kxe(r, t, u.id, a.id),+ let e = Bq(n, u, {+ id: jxe(r, t, u.id, a.id),isPlaceholder: d,- placeholderId: d ? String(Axe(s, u)) : void 0,+ placeholderId: d ? String(Mxe(s, u)) : void 0,depth: t,index: s.length});@@ -58952,18 +58952,18 @@ function Wq(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 && Wq(s, t - 1, n, r, i, a);+ i.push(o), t > 0 && Hq(s, t - 1, n, r, i, a);}-function Gq(e) {+function Uq(e) {for (let t = 0; t < e.length; t++) {let n = e[t];- if (!Iq(n.column)) continue;+ if (!Pq(n.column)) continue;let r = 0;if (n.subHeaders.length) {- Gq(n.subHeaders);+ Uq(n.subHeaders);for (let e = 0; e < n.subHeaders.length; e++) {let t = n.subHeaders[e];- Iq(t.column) && (r += t.colSpan);+ Pq(t.column) && (r += t.colSpan);}} else r = 1;if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {@@ -58973,37 +58973,37 @@ function Gq(e) {} else n.rowSpan = 1;}}-function jxe(e, t, n, r) {- let i = Uq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);- for (let e = 0; e < t.length; e++) e in t && (s[e] = Hq(n, t[e], {+function Nxe(e, t, n, r) {+ let i = Vq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);+ for (let e = 0; e < t.length; e++) e in t && (s[e] = Bq(n, t[e], {depth: i,index: e}));- return Wq(s, i - 1, n, r, a, o), a.reverse(), Gq(a[0]?.headers ?? []), a;+ return Hq(s, i - 1, n, r, a, o), a.reverse(), Uq(a[0]?.headers ?? []), a;}// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js-function Kq(e, t) {- for (let n = 0; n < e.subHeaders.length; n++) Kq(e.subHeaders[n], t);+function Wq(e, t) {+ for (let n = 0; n < e.subHeaders.length; n++) Wq(e.subHeaders[n], t);t.push(e);}-function Mxe(e) {+function Pxe(e) {let t = [];- return Kq(e, t), t;+ return Wq(e, t), t;}-function Nxe(e) {+function Fxe(e) {return {column: e.column,header: e,table: e.column.table};}-function Pxe(e) {- return jxe(e.getAllColumns(), Rq(e, pxe(e), (e) => e.id), e);+function Ixe(e) {+ return Nxe(e.getAllColumns(), Iq(e, hxe(e), (e) => e.id), e);}-function Fxe(e) {+function Lxe(e) {return [...e.getHeaderGroups()].reverse();}-function Ixe(e) {+function Rxe(e) {let t = e.getHeaderGroups(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e].headers;@@ -59011,7 +59011,7 @@ function Ixe(e) {}return n;}-function Lxe(e) {+function zxe(e) {let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];for (let e = 0; e < t.length; e++) {let r = t[e].getLeafHeaders();@@ -59020,23 +59020,23 @@ function Lxe(e) {return n;}// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js-var Rxe = {+var Bxe = {assignHeaderPrototype: (e, t) => {- Pq("coreHeadersFeature", e, t, {+ Mq("coreHeadersFeature", e, t, {header_getLeafHeaders: {- fn: (e) => Mxe(e),+ fn: (e) => Pxe(e),memoDeps: (e) => [e.column.table.options.columns]},header_getContext: {- fn: (e) => Nxe(e),+ fn: (e) => Fxe(e),memoDeps: (e) => [e.column.table.options.columns]}});},constructTableAPIs: (e) => {- Nq("coreHeadersFeature", e, {+ jq("coreHeadersFeature", e, {table_getHeaderGroups: {- fn: () => Pxe(e),+ fn: () => Ixe(e),memoDeps: () => [e.options.columns,e.atoms.columnOrder?.get(),@@ -59047,22 +59047,22 @@ var Rxe = {]},table_getFooterGroups: {- fn: () => Fxe(e),+ fn: () => Lxe(e),memoDeps: () => [e.getHeaderGroups()]},table_getFlatHeaders: {- fn: () => Ixe(e),+ fn: () => Rxe(e),memoDeps: () => [e.getHeaderGroups()]},table_getLeafHeaders: {- fn: () => Lxe(e),+ fn: () => zxe(e),memoDeps: () => [e.getHeaderGroups()]}});}};// node_modules/@tanstack/table-core/dist/core/rows/constructRow.js-function zxe(e) {+function Vxe(e) {if (!e._rowPrototype) {e._rowPrototype = { table: e };let t = Object.values(e._features);@@ -59070,98 +59070,98 @@ function zxe(e) {}return e._rowPrototype;}-var Bxe = (e, t, n, r, i, a, o) => {- let s = zxe(e), c = Object.create(s);- c._displayIndexCache = -1, c._uniqueValuesCache = Cq(), c._valuesCache = Cq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];+var Hxe = (e, t, n, r, i, a, o) => {+ let s = Vxe(e), c = Object.create(s);+ c._displayIndexCache = -1, c._uniqueValuesCache = xq(), c._valuesCache = xq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];let l = e._rowInstanceInitFns;for (let e = 0; e < l.length; e++) l[e](c);return c;};// node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js-function Vxe() {- return (e) => jq({+function Uxe() {+ return (e) => kq({feature: "coreRowModelsFeature",table: e,fnName: "table.getCoreRowModel",memoDeps: () => [e.options.data],- fn: () => Hxe(e, e.options.data),- onAfterUpdate: Aq(() => {- mxe(e), Bq(e), hxe(e), gxe(e);+ fn: () => Wxe(e, e.options.data),+ onAfterUpdate: Oq(() => {+ gxe(e), Rq(e), _xe(e), vxe(e);})});}-function qq(e, t, n, r = 0, i) {+function Gq(e, t, n, r = 0, i) {let a = [];for (let o = 0; o < n.length; o++) {- let s = n[o], c = Bxe(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 = qq(e, t, c.originalSubRows, r + 1, c)));+ let s = n[o], c = Hxe(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 = Gq(e, t, c.originalSubRows, r + 1, c)));}return a;}-function Hxe(e, t) {+function Wxe(e, t) {let n = {rows: [],flatRows: [],- rowsById: Cq()+ rowsById: xq()};- return n.rows = qq(e, n, t), n;+ return n.rows = Gq(e, n, t), n;}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js-function Uxe(e) {- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Vxe()(e)), e._rowModels.coreRowModel();+function Gxe(e) {+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Uxe()(e)), e._rowModels.coreRowModel();}-function Wxe(e) {+function Kxe(e) {return e.getCoreRowModel();}-function Gxe(e) {+function qxe(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 Kxe(e) {+function Jxe(e) {return e.getFilteredRowModel();}-function qxe(e) {+function Yxe(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 Jxe(e) {+function Xxe(e) {return e.getGroupedRowModel();}-function Yxe(e) {+function Zxe(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 Xxe(e) {+function Qxe(e) {return e.getSortedRowModel();}-function Zxe(e) {+function $xe(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 Qxe(e) {+function eSe(e) {return e.getExpandedRowModel();}-function $xe(e) {+function tSe(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 eSe(e) {+function nSe(e) {return e.getPaginatedRowModel();}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js-var tSe = { constructTableAPIs: (e) => {- Nq("coreRowModelsFeature", e, {- table_getCoreRowModel: { fn: () => Uxe(e) },- table_getPreFilteredRowModel: { fn: () => Wxe(e) },- table_getFilteredRowModel: { fn: () => Gxe(e) },- table_getPreGroupedRowModel: { fn: () => Kxe(e) },- table_getGroupedRowModel: { fn: () => qxe(e) },- table_getPreSortedRowModel: { fn: () => Jxe(e) },- table_getSortedRowModel: { fn: () => Yxe(e) },- table_getPreExpandedRowModel: { fn: () => Xxe(e) },- table_getExpandedRowModel: { fn: () => Zxe(e) },- table_getPrePaginatedRowModel: { fn: () => Qxe(e) },- table_getPaginatedRowModel: { fn: () => $xe(e) },- table_getRowModel: { fn: () => eSe(e) }+var rSe = { constructTableAPIs: (e) => {+ jq("coreRowModelsFeature", e, {+ table_getCoreRowModel: { fn: () => Gxe(e) },+ table_getPreFilteredRowModel: { fn: () => Kxe(e) },+ table_getFilteredRowModel: { fn: () => qxe(e) },+ table_getPreGroupedRowModel: { fn: () => Jxe(e) },+ table_getGroupedRowModel: { fn: () => Yxe(e) },+ table_getPreSortedRowModel: { fn: () => Xxe(e) },+ table_getSortedRowModel: { fn: () => Zxe(e) },+ table_getPreExpandedRowModel: { fn: () => Qxe(e) },+ table_getExpandedRowModel: { fn: () => $xe(e) },+ table_getPrePaginatedRowModel: { fn: () => eSe(e) },+ table_getPaginatedRowModel: { fn: () => tSe(e) },+ table_getRowModel: { fn: () => nSe(e) }});} };// node_modules/@tanstack/table-core/dist/core/cells/constructCell.js-function nSe(e) {+function iSe(e) {if (!e._cellPrototype) {e._cellPrototype = { table: e };let t = Object.values(e._features);@@ -59169,48 +59169,48 @@ function nSe(e) {}return e._cellPrototype;}-function rSe(e, t, n) {- let r = nSe(n), i = Object.create(r);+function aSe(e, t, n) {+ let r = iSe(n), i = Object.create(r);i.column = e, i.id = `${t.id}_${e.id}`, i.row = t;let a = n._cellInstanceInitFns;for (let e = 0; e < a.length; e++) a[e](i);return i;}// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js-function iSe(e) {+function oSe(e) {let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;return t[n] === e ? n : -1;}-function aSe(e) {- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? zq(e, t).rows : t.rows;+function sSe(e) {+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Lq(e, t).rows : t.rows;for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;return n;}-function oSe(e, t) {- if (wq(e._valuesCache, t)) return e._valuesCache[t];+function cSe(e, t) {+ if (Sq(e._valuesCache, t)) return e._valuesCache[t];let n = e.table.getColumn(t);if (n?.accessorFn) return e._valuesCache[t] = n.accessorFn(e.original, e.index), e._valuesCache[t];}-function sSe(e, t) {- if (wq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];+function lSe(e, t) {+ if (Sq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];let n = e.table.getColumn(t);if (n?.accessorFn) return n.columnDef.getUniqueValues ? (e._uniqueValuesCache[t] = n.columnDef.getUniqueValues(e.original, e.index), e._uniqueValuesCache[t]) : (e._uniqueValuesCache[t] = [e.getValue(t)], e._uniqueValuesCache[t]);}-function cSe(e, t) {+function uSe(e, t) {return e.getValue(t) ?? e.table.options.renderFallbackValue;}-function lSe(e) {- return axe(e.subRows, (e) => e.subRows);+function dSe(e) {+ return sxe(e.subRows, (e) => e.subRows);}-function uSe(e) {+function fSe(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 dSe(e) {+function pSe(e) {if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);}-function fSe(e) {+function mSe(e) {let t = [], n = e;for (;;) {let e = n.getParentRow();@@ -59219,77 +59219,77 @@ function fSe(e) {}return t.reverse();}-function pSe(e) {+function hSe(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 = rSe(a, e, e.table), n.set(a, o)), r[i] = o;+ o || (o = aSe(a, e, e.table), n.set(a, o)), r[i] = o;}return r;}-function mSe(e) {- let t = Cq(), n = e.getAllCells();+function gSe(e) {+ let t = xq(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.column.id] = r;}return t;}-function hSe(e, t, n, r) {+function _Se(e, t, n, r) {return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));}-function gSe(e, t, n) {+function vSe(e, t, n) {let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();return r;}// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js-var _Se = {+var ySe = {assignRowPrototype: (e, t) => {- Pq("coreRowsFeature", e, t, {- row_getDisplayIndex: { fn: (e) => iSe(e) },+ Mq("coreRowsFeature", e, t, {+ row_getDisplayIndex: { fn: (e) => oSe(e) },row_getAllCellsByColumnId: {- fn: (e) => mSe(e),+ fn: (e) => gSe(e),memoDeps: (e) => [e.getAllCells()]},row_getAllCells: {- fn: (e) => pSe(e),+ fn: (e) => hSe(e),memoDeps: (e) => [e.table.getAllLeafColumns()]},row_getLeafRows: {- fn: (e) => lSe(e),+ fn: (e) => dSe(e),memoDeps: (e) => [e.subRows]},- row_getParentRow: { fn: (e) => dSe(e) },- row_getParentRows: { fn: (e) => fSe(e) },- row_getUniqueValues: { fn: (e, t) => sSe(e, t) },- row_getValue: { fn: (e, t) => oSe(e, t) },- row_renderValue: { fn: (e, t) => cSe(e, t) }+ row_getParentRow: { fn: (e) => pSe(e) },+ row_getParentRows: { fn: (e) => mSe(e) },+ row_getUniqueValues: { fn: (e, t) => lSe(e, t) },+ row_getValue: { fn: (e, t) => cSe(e, t) },+ row_renderValue: { fn: (e, t) => uSe(e, t) }});},constructTableAPIs: (e) => {- Nq("coreRowsFeature", e, {+ jq("coreRowsFeature", e, {table_getRowsInDisplayOrder: {- fn: () => aSe(e),+ fn: () => sSe(e),memoDeps: () => [e.getPrePaginatedRowModel().rows,e.options.paginateExpandedRows,e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0]},- table_getRowId: { fn: (t, n, r) => hSe(t, e, n, r) },- table_getRow: { fn: (t, n) => gSe(e, t, n) },+ table_getRowId: { fn: (t, n, r) => _Se(t, e, n, r) },+ table_getRow: { fn: (t, n) => vSe(e, t, n) },table_getMaxSubRowDepth: {- fn: () => uSe(e),+ fn: () => fSe(e),memoDeps: () => [e.getCoreRowModel()]}});}};// node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js-function Jq(e, t, n = (e, t) => e === t) {+function Kq(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) {@@ -59300,13 +59300,13 @@ function Jq(e, t, n = (e, t) => e === t) {}});}-function Yq(e, t, n = (e, t) => e === t) {+function qq(e, t, n = (e, t) => e === t) {e._reactivity.batch(() => {- Jq(e, t, n), e._reactivity.commit?.();+ Kq(e, t, n), e._reactivity.commit?.();});}-function vSe(e) {- let t = xq(e.initialState);+function bSe(e) {+ let t = yq(e.initialState);e._reactivity.batch(() => {let n = Object.keys(t);for (let r = 0; r < n.length; r++) {@@ -59317,7 +59317,7 @@ function vSe(e) {let n = Object.values(e._features);for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);}-function ySe(e, t) {+function xSe(e, t) {let { features: n, atoms: r, initialState: i } = e.options;if (!e.options.mergeOptions) return {...e.options,@@ -59349,26 +59349,26 @@ function ySe(e, t) {}});}-function Xq(e, t, n) {- let r = ySe(e, bq(t, e.options));- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Yq(e, r.state ?? null);+function Jq(e, t, n) {+ let r = xSe(e, vq(t, e.options));+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && qq(e, r.state ?? null);}// node_modules/@tanstack/table-core/dist/core/coreFeatures.js-var bSe = {- coreCellsFeature: uxe,- coreColumnsFeature: Exe,- coreHeadersFeature: Rxe,- coreRowModelsFeature: tSe,- coreRowsFeature: _Se,+var SSe = {+ coreCellsFeature: fxe,+ coreColumnsFeature: Oxe,+ coreHeadersFeature: Bxe,+ coreRowModelsFeature: rSe,+ coreRowsFeature: ySe,coreTablesFeature: { constructTableAPIs: (e) => {- Nq("coreTablesFeature", e, {- table_reset: { fn: () => vSe(e) },- table_setOptions: { fn: (t) => Xq(e, t) }+ jq("coreTablesFeature", e, {+ table_reset: { fn: () => bSe(e) },+ table_setOptions: { fn: (t) => Jq(e, t) }});} }};// node_modules/@tanstack/table-core/dist/helpers/columnHelper.js-function Zq() {+function Yq() {return {accessor: (e, t) => typeof e == "function" ? {...t,@@ -59383,21 +59383,21 @@ function Zq() {};}// node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js-function Qq(e) {+function Xq(e) {return e;}// node_modules/@tanstack/table-core/dist/core/table/constructTable.js-function xSe(e, t = {}) {+function CSe(e, t = {}) {return Object.values(e).forEach((e) => {t = e.getInitialState?.(t) ?? t;- }), xq(t);+ }), yq(t);}-function SSe(e) {+function wSe(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: {- ...bSe,+ ...SSe,..._},_headerGroupInstanceInitFns: [],@@ -59435,7 +59435,7 @@ function SSe(e) {set(e) {v.optionsStore.set(() => e);}- })) : v.options = b, v.initialState = xSe(v._features, v.options.initialState);+ })) : v.options = b, v.initialState = CSe(v._features, v.options.initialState);let x = Object.keys(v.initialState);for (let e = 0; e < x.length; e++) {let n = x[e];@@ -59443,14 +59443,14 @@ function SSe(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 && wq(i, n)) {+ if (i && Sq(i, n)) {let e = i[n];return e === void 0 ? v.initialState[n] : e;}return r;}, { debugName: `table/atoms/${n}` });}- Jq(v), v.store = Qbe(t.createReadonlyAtom(() => {+ Kq(v), v.store = exe(t.createReadonlyAtom(() => {let e = {};for (let t = 0; t < x.length; t++) {let n = x[t];@@ -59458,7 +59458,7 @@ function SSe(e) {}return e;}, {- compare: gq,+ compare: mq,debugName: "table/store"}));for (let e = 0; e < y.length; e++) {@@ -59468,107 +59468,107 @@ function SSe(e) {return v;}// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js-function CSe() {- return Cq();+function TSe() {+ return xq();}-function $q(e, t) {- tJ(e) && rJ(e.table, (n) => {- let r = Object.assign(Cq(), n), i = t ?? !Fq(e, "getIsVisible", eJ), a = e.getLeafColumns();+function Zq(e, t) {+ $q(e) && tJ(e.table, (n) => {+ let r = Object.assign(xq(), n), i = t ?? !Nq(e, "getIsVisible", Qq), a = e.getLeafColumns();for (let e = 0; e < a.length; e++) {let t = a[e];- tJ(t) && (r[t.id] = i);+ $q(t) && (r[t.id] = i);}return r;});}-function eJ(e) {+function Qq(e) {let t = e.table.atoms.columnVisibility?.get();if (!t) return !0;let n = e.columns;- return n.length ? n.some((e) => Fq(e, "getIsVisible", eJ)) : (wq(t, e.id) ? t[e.id] : void 0) ?? !0;+ return n.length ? n.some((e) => Nq(e, "getIsVisible", Qq)) : (Sq(t, e.id) ? t[e.id] : void 0) ?? !0;}-function tJ(e) {+function $q(e) {return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);}-function wSe(e) {+function ESe(e) {return (t) => {- $q(e, t.target.checked);+ Zq(e, t.target.checked);};}-function TSe(e) {+function DSe(e) {let t = e.getAllCells(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e];- Fq(r.column, "getIsVisible", eJ) && n.push(r);+ Nq(r.column, "getIsVisible", Qq) && n.push(r);}- return Rq(e.table, n, (e) => e.column.id, () => Fq(e, "getVisibleCellsByColumnId", nJ));+ return Iq(e.table, n, (e) => e.column.id, () => Nq(e, "getVisibleCellsByColumnId", eJ));}-function nJ(e) {- let t = Cq(), n = e.getAllCells();+function eJ(e) {+ let t = xq(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];- Fq(r.column, "getIsVisible", eJ) && (t[r.column.id] = r);+ Nq(r.column, "getIsVisible", Qq) && (t[r.column.id] = r);}return t;}-function ESe(e) {- return e.getAllFlatColumns().filter((e) => Fq(e, "getIsVisible", eJ));+function OSe(e) {+ return e.getAllFlatColumns().filter((e) => Nq(e, "getIsVisible", Qq));}-function DSe(e) {- return e.getAllLeafColumns().filter((e) => Fq(e, "getIsVisible", eJ));+function kSe(e) {+ return e.getAllLeafColumns().filter((e) => Nq(e, "getIsVisible", Qq));}-function rJ(e, t) {- kq(e, "columnVisibility", t);+function tJ(e, t) {+ Dq(e, "columnVisibility", t);}-function OSe(e, t) {- rJ(e, t ? Cq() : Object.assign(Cq(), xq(e.initialState.columnVisibility ?? {})));+function ASe(e, t) {+ tJ(e, t ? xq() : Object.assign(xq(), yq(e.initialState.columnVisibility ?? {})));}-function iJ(e, t) {- t ??= !aJ(e);- let n = Cq(), r = e.getAllLeafColumns();+function nJ(e, t) {+ t ??= !rJ(e);+ let n = xq(), r = e.getAllLeafColumns();for (let e = 0; e < r.length; e++) {let i = r[e];- n[i.id] = t || !tJ(i);+ n[i.id] = t || !$q(i);}- rJ(e, n);+ tJ(e, n);}-function aJ(e) {- return !e.getAllLeafColumns().some((e) => !Fq(e, "getIsVisible", eJ));+function rJ(e) {+ return !e.getAllLeafColumns().some((e) => !Nq(e, "getIsVisible", Qq));}-function kSe(e) {- return e.getAllLeafColumns().some((e) => Fq(e, "getIsVisible", eJ));+function jSe(e) {+ return e.getAllLeafColumns().some((e) => Nq(e, "getIsVisible", Qq));}-function ASe(e) {+function MSe(e) {return (t) => {- iJ(e, t.target.checked);+ nJ(e, t.target.checked);};}// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js-var oJ = {+var iJ = {getInitialState: (e) => ({- columnVisibility: CSe(),+ columnVisibility: TSe(),...e}),- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: Tq("columnVisibility", e) }),+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: Cq("columnVisibility", e) }),assignColumnPrototype: (e, t) => {- Pq("columnVisibilityFeature", e, t, {+ Mq("columnVisibilityFeature", e, t, {column_getIsVisible: {- fn: (e) => eJ(e),+ fn: (e) => Qq(e),memoDeps: (e) => [t.options.columns,t.atoms.columnVisibility?.get(),e.columns]},- column_getCanHide: { fn: (e) => tJ(e) },- column_getToggleVisibilityHandler: { fn: (e) => wSe(e) },- column_toggleVisibility: { fn: (e, t) => $q(e, t) }+ column_getCanHide: { fn: (e) => $q(e) },+ column_getToggleVisibilityHandler: { fn: (e) => ESe(e) },+ column_toggleVisibility: { fn: (e, t) => Zq(e, t) }});},assignRowPrototype: (e, t) => {- Pq("columnVisibilityFeature", e, t, {+ Mq("columnVisibilityFeature", e, t, {row_getVisibleCells: {- fn: (e) => TSe(e),+ fn: (e) => DSe(e),memoDeps: (e) => [e.getAllCells(),t.atoms.columnPinning?.get(),@@ -59576,15 +59576,15 @@ var oJ = {]},row_getVisibleCellsByColumnId: {- fn: (e) => nJ(e),+ fn: (e) => eJ(e),memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]}});},constructTableAPIs: (e) => {- Nq("columnVisibilityFeature", e, {+ jq("columnVisibilityFeature", e, {table_getVisibleFlatColumns: {- fn: () => ESe(e),+ fn: () => OSe(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -59594,7 +59594,7 @@ var oJ = {]},table_getVisibleLeafColumns: {- fn: () => DSe(e),+ fn: () => kSe(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -59603,51 +59603,51 @@ var oJ = {e.options.groupedColumnMode]},- table_setColumnVisibility: { fn: (t) => rJ(e, t) },- table_resetColumnVisibility: { fn: (t) => OSe(e, t) },- table_toggleAllColumnsVisible: { fn: (t) => iJ(e, t) },- table_getIsAllColumnsVisible: { fn: () => aJ(e) },- table_getIsSomeColumnsVisible: { fn: () => kSe(e) },- table_getToggleAllColumnsVisibilityHandler: { fn: () => ASe(e) }+ table_setColumnVisibility: { fn: (t) => tJ(e, t) },+ table_resetColumnVisibility: { fn: (t) => ASe(e, t) },+ table_toggleAllColumnsVisible: { fn: (t) => nJ(e, t) },+ table_getIsAllColumnsVisible: { fn: () => rJ(e) },+ table_getIsSomeColumnsVisible: { fn: () => jSe(e) },+ table_getToggleAllColumnsVisibilityHandler: { fn: () => MSe(e) }});}-}, sJ = 0, cJ = 10;-function lJ() {+}, aJ = 0, oJ = 10;+function sJ() {return {- pageIndex: sJ,- pageSize: cJ+ pageIndex: aJ,+ pageSize: oJ};}-function jSe(e) {+function NSe(e) {if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {- if ((e.atoms.pagination?.get()?.pageIndex ?? sJ) === sJ) return;- fJ(e, !0);+ if ((e.atoms.pagination?.get()?.pageIndex ?? aJ) === aJ) return;+ uJ(e, !0);}}-function uJ(e, t) {- kq(e, "pagination", t);+function cJ(e, t) {+ Dq(e, "pagination", t);}-function MSe(e, t) {- uJ(e, t ? lJ() : xq(e.initialState.pagination ?? lJ()));+function PSe(e, t) {+ cJ(e, t ? sJ() : yq(e.initialState.pagination ?? sJ()));}-function dJ(e, t) {- uJ(e, (n) => {- let r = bq(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;+function lJ(e, t) {+ cJ(e, (n) => {+ let r = vq(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 fJ(e, t) {- dJ(e, t ? sJ : e.initialState.pagination?.pageIndex ?? sJ);+function uJ(e, t) {+ lJ(e, t ? aJ : e.initialState.pagination?.pageIndex ?? aJ);}-function NSe(e, t) {- pJ(e, t ? cJ : e.initialState.pagination?.pageSize ?? cJ);+function FSe(e, t) {+ dJ(e, t ? oJ : e.initialState.pagination?.pageSize ?? oJ);}-function pJ(e, t) {- uJ(e, (e) => {- let n = Math.max(1, bq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);+function dJ(e, t) {+ cJ(e, (e) => {+ let n = Math.max(1, vq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);return {...e,pageIndex: i,@@ -59655,231 +59655,231 @@ function pJ(e, t) {};});}-function PSe(e) {- let t = mJ(e), n = [];- return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;-}-function FSe(e) {- return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;-}function ISe(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? sJ, n = mJ(e);- return n === -1 || n !== 0 && t < n - 1;+ let t = fJ(e), n = [];+ return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;}function LSe(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? sJ, n = mJ(e);- return Number.isFinite(n) && n > 0 && t < n - 1;+ return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;}function RSe(e) {- return dJ(e, (e) => e - 1);+ let t = e.atoms.pagination?.get()?.pageIndex ?? aJ, n = fJ(e);+ return n === -1 || n !== 0 && t < n - 1;}function zSe(e) {- return dJ(e, (e) => e + 1);+ let t = e.atoms.pagination?.get()?.pageIndex ?? aJ, n = fJ(e);+ return Number.isFinite(n) && n > 0 && t < n - 1;}function BSe(e) {- return dJ(e, 0);+ return lJ(e, (e) => e - 1);}function VSe(e) {- let t = mJ(e);- if (!(!Number.isFinite(t) || t <= 0)) return dJ(e, t - 1);+ return lJ(e, (e) => e + 1);}-function mJ(e) {+function HSe(e) {+ return lJ(e, 0);+}+function USe(e) {+ let t = fJ(e);+ if (!(!Number.isFinite(t) || t <= 0)) return lJ(e, t - 1);+}+function fJ(e) {let t = e.options.pageCount;if (t != null) return t;- let n = hJ(e), r = e.atoms.pagination?.get()?.pageSize ?? cJ;+ let n = pJ(e), r = e.atoms.pagination?.get()?.pageSize ?? oJ;return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);}-function hJ(e) {+function pJ(e) {return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;}// node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js-var gJ = {+var mJ = {getInitialState: (e) => ({...e,pagination: {- ...lJ(),+ ...sJ(),...e.pagination}}),- getDefaultTableOptions: (e) => ({ onPaginationChange: Tq("pagination", e) }),+ getDefaultTableOptions: (e) => ({ onPaginationChange: Cq("pagination", e) }),constructTableAPIs: (e) => {- Nq("rowPaginationFeature", e, {- table_autoResetPageIndex: { fn: () => jSe(e) },- table_setPagination: { fn: (t) => uJ(e, t) },- table_resetPagination: { fn: (t) => MSe(e, t) },- table_setPageIndex: { fn: (t) => dJ(e, t) },- table_resetPageIndex: { fn: (t) => fJ(e, t) },- table_setPageSize: { fn: (t) => pJ(e, t) },- table_getPageCount: { fn: () => mJ(e) },- table_resetPageSize: { fn: (t) => NSe(e, t) },- table_getPageOptions: { fn: () => PSe(e) },- table_getCanPreviousPage: { fn: () => FSe(e) },- table_getCanNextPage: { fn: () => ISe(e) },- table_getCanLastPage: { fn: () => LSe(e) },- table_previousPage: { fn: () => RSe(e) },- table_nextPage: { fn: () => zSe(e) },- table_firstPage: { fn: () => BSe(e) },- table_lastPage: { fn: () => VSe(e) },- table_getRowCount: { fn: () => hJ(e) }+ jq("rowPaginationFeature", e, {+ table_autoResetPageIndex: { fn: () => NSe(e) },+ table_setPagination: { fn: (t) => cJ(e, t) },+ table_resetPagination: { fn: (t) => PSe(e, t) },+ table_setPageIndex: { fn: (t) => lJ(e, t) },+ table_resetPageIndex: { fn: (t) => uJ(e, t) },+ table_setPageSize: { fn: (t) => dJ(e, t) },+ table_getPageCount: { fn: () => fJ(e) },+ table_resetPageSize: { fn: (t) => FSe(e, t) },+ table_getPageOptions: { fn: () => ISe(e) },+ table_getCanPreviousPage: { fn: () => LSe(e) },+ table_getCanNextPage: { fn: () => RSe(e) },+ table_getCanLastPage: { fn: () => zSe(e) },+ table_previousPage: { fn: () => BSe(e) },+ table_nextPage: { fn: () => VSe(e) },+ table_firstPage: { fn: () => HSe(e) },+ table_lastPage: { fn: () => USe(e) },+ table_getRowCount: { fn: () => pJ(e) }});}};// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js-function HSe() {- return Cq();+function WSe() {+ return xq();}-function _J(e, t) {+function hJ(e, t) {e.options.onRowSelectionChange?.(t);}-function USe(e, t) {- e._lastSelectedRowId = null, _J(e, t ? Cq() : Object.assign(Cq(), xq(e.initialState.rowSelection ?? {})));+function GSe(e, t) {+ e._lastSelectedRowId = null, hJ(e, t ? xq() : Object.assign(xq(), yq(e.initialState.rowSelection ?? {})));}-function vJ(e, t, n) {- e._lastSelectedRowId = null, _J(e, (r) => {- if (t = t === void 0 ? !Fq(e, "getIsAllRowsSelected", xJ) : t, n?.deselectAll && !t) return Cq();- let i = Object.assign(Cq(), r), a = e.getPreGroupedRowModel().flatRows;+function gJ(e, t, n) {+ e._lastSelectedRowId = null, hJ(e, (r) => {+ if (t = t === void 0 ? !Nq(e, "getIsAllRowsSelected", yJ) : t, n?.deselectAll && !t) return xq();+ let i = Object.assign(xq(), r), a = e.getPreGroupedRowModel().flatRows;if (t) {let e = /* @__PURE__ */ new Map();a.forEach((t) => {- jJ(t, e) && (i[t.id] = !0);+ kJ(t, e) && (i[t.id] = !0);});} else a.forEach((e) => {- DJ(e) && delete i[e.id];+ TJ(e) && delete i[e.id];});return i;});}-function yJ(e, t, n) {- e._lastSelectedRowId = null, _J(e, (r) => {- let i = t === void 0 ? !Fq(e, "getIsAllPageRowsSelected", SJ) : t;- if (n?.deselectAll && !i) return Cq();- let a = Object.assign(Cq(), r);+function _J(e, t, n) {+ e._lastSelectedRowId = null, hJ(e, (r) => {+ let i = t === void 0 ? !Nq(e, "getIsAllPageRowsSelected", bJ) : t;+ if (n?.deselectAll && !i) return xq();+ let a = Object.assign(xq(), r);return e.getRowModel().rows.forEach((t) => {- AJ(a, t.id, i, !0, e, !0);+ OJ(a, t.id, i, !0, e, !0);}), a;});}-function WSe(e) {+function KSe(e) {return e.getCoreRowModel();}-function GSe(e) {+function qSe(e) {let t = e.getCoreRowModel();- return Fq(e, "getIsSomeRowsSelected", CJ) ? PJ(t, e) : {+ return Nq(e, "getIsSomeRowsSelected", xJ) ? MJ(t, e) : {rows: [],flatRows: [],- rowsById: Cq()+ rowsById: xq()};}-function KSe(e) {+function JSe(e) {let t = e.getFilteredRowModel();- return Fq(e, "getIsSomeRowsSelected", CJ) ? PJ(t, e) : {+ return Nq(e, "getIsSomeRowsSelected", xJ) ? MJ(t, e) : {rows: [],flatRows: [],- rowsById: Cq()+ rowsById: xq()};}-function qSe(e) {+function YSe(e) {let t = e.getSortedRowModel();- return Fq(e, "getIsSomeRowsSelected", CJ) ? PJ(t, e) : {+ return Nq(e, "getIsSomeRowsSelected", xJ) ? MJ(t, e) : {rows: [],flatRows: [],- rowsById: Cq()+ rowsById: xq()};}-function bJ(e) {+function vJ(e) {return Object.keys(e.atoms.rowSelection?.get() ?? {});}-function xJ(e) {+function yJ(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) => !FJ(t, n) && jJ(t, e)) && (r = !1);+ t.some((t) => !NJ(t, n) && kJ(t, e)) && (r = !1);}return r;}-function SJ(e) {+function bJ(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 (FJ(a, n)) !i && jJ(a, r) && (i = !0);- else if (jJ(a, r)) return !1;+ if (NJ(a, n)) !i && kJ(a, r) && (i = !0);+ else if (kJ(a, r)) return !1;}return i;}-function CJ(e) {- return Fq(e, "getSelectedRowIds", bJ).length > 0;+function xJ(e) {+ return Nq(e, "getSelectedRowIds", vJ).length > 0;}-function JSe(e) {- return e.getPaginatedRowModel().flatRows.filter((e) => DJ(e)).some((e) => TJ(e) || Fq(e, "getIsSomeSelected", EJ));+function XSe(e) {+ return e.getPaginatedRowModel().flatRows.filter((e) => TJ(e)).some((e) => CJ(e) || Nq(e, "getIsSomeSelected", wJ));}-function YSe(e) {+function ZSe(e) {return (t) => {- vJ(e, t.target.checked);+ gJ(e, t.target.checked);};}-function XSe(e) {+function QSe(e) {return (t) => {- yJ(e, t.target.checked);+ _J(e, t.target.checked);};}-function wJ(e, t, n) {- let r = TJ(e);- _J(e.table, (i) => {+function SJ(e, t, n) {+ let r = CJ(e);+ hJ(e.table, (i) => {t = t === void 0 ? !r : t;- let a = Object.assign(Cq(), i);- return AJ(a, e.id, t, (n?.selectChildren ?? !0) && kJ(e), e.table), !t && n?.deselectParents && MJ(a, e), a;+ let a = Object.assign(xq(), i);+ return OJ(a, e.id, t, (n?.selectChildren ?? !0) && DJ(e), e.table), !t && n?.deselectParents && AJ(a, e), a;});}-function TJ(e) {- return FJ(e, e.table.atoms.rowSelection?.get() ?? {});+function CJ(e) {+ return NJ(e, e.table.atoms.rowSelection?.get() ?? {});}-function EJ(e) {- return IJ(e) === "some";+function wJ(e) {+ return PJ(e) === "some";}-function ZSe(e) {- return IJ(e) === "all";+function $Se(e) {+ return PJ(e) === "all";}-function DJ(e) {+function TJ(e) {let t = e.table.options;return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;}-function OJ(e) {+function EJ(e) {let t = e.table.options;return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;}-function kJ(e) {+function DJ(e) {let t = e.table.options;return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;}-function QSe(e, t) {- let n = DJ(e);+function eCe(e, t) {+ let n = TJ(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 && kJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && $Se(e, s, o, t) || wJ(e, o, t), a._lastSelectedRowId = e.id;+ a.options.enableRowRangeSelection !== !1 && s !== null && DJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && tCe(e, s, o, t) || SJ(e, o, t), a._lastSelectedRowId = e.id;};}-function $Se(e, t, n, r) {+function tCe(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 || !kJ(s) || !kJ(e)) return !1;+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !DJ(s) || !DJ(e)) return !1;let f = Math.min(c, l), p = Math.max(c, l);- return _J(a, (e) => {- let t = Object.assign(Cq(), e);+ return hJ(a, (e) => {+ let t = Object.assign(xq(), e);for (let e = f; e <= p; e++) {let s = o[e];- DJ(s) && kJ(s) && (AJ(t, s.id, n, i, a), !n && r?.deselectParents && MJ(t, s));+ TJ(s) && DJ(s) && (OJ(t, s.id, n, i, a), !n && r?.deselectParents && AJ(t, s));}return t;}), !0;}-function AJ(e, t, n, r, i, a) {+function OJ(e, t, n, r, i, a) {let o = i.getRow(t, !0);- n ? (kJ(o) || Object.keys(e).forEach((t) => delete e[t]), DJ(o) && (e[t] = !0)) : (!a || DJ(o)) && delete e[t], r && o.subRows.length && OJ(o) && o.subRows.forEach((t) => AJ(e, t.id, n, r, i, a));+ n ? (DJ(o) || Object.keys(e).forEach((t) => delete e[t]), TJ(o) && (e[t] = !0)) : (!a || TJ(o)) && delete e[t], r && o.subRows.length && EJ(o) && o.subRows.forEach((t) => OJ(e, t.id, n, r, i, a));}-function jJ(e, t) {- if (!DJ(e)) return !1;+function kJ(e, t) {+ if (!TJ(e)) return !1;let n = e.table;if (n.options.enableSubRowSelection === !0) return !0;let r = e.parentId;@@ -59895,7 +59895,7 @@ function jJ(e, t) {}o.push(c);let r = a[c] ?? n.getRow(c, !0);- if (!OJ(r)) {+ if (!EJ(r)) {s = !1;break;}@@ -59903,50 +59903,50 @@ function jJ(e, t) {}return o.forEach((e) => t.set(e, s)), s;}-function MJ(e, t) {+function AJ(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 NJ(e, t, n, r) {+function jJ(e, t, n, r) {let i = [];for (let a = 0; a < e.length; a++) {- let o = e[a], s = FJ(o, t);+ let o = e[a], s = NJ(o, t);if (s && (n.push(o), r[o.id] = o), o.subRows.length) {- let e = NJ(o.subRows, t, n, r);+ let e = jJ(o.subRows, t, n, r);if (s) {let t = Object.create(Object.getPrototypeOf(o));- Sq(t, o), t.subRows = e, i.push(t);+ bq(t, o), t.subRows = e, i.push(t);}} else s && i.push(o);}return i;}-function PJ(e, t) {- let n = [], r = Cq(), i = t.atoms.rowSelection?.get() ?? {};+function MJ(e, t) {+ let n = [], r = xq(), i = t.atoms.rowSelection?.get() ?? {};return {- rows: NJ(e.rows, i, n, r),+ rows: jJ(e.rows, i, n, r),flatRows: n,rowsById: r};}-function FJ(e, t) {- return !!(wq(t, e.id) && t[e.id]);+function NJ(e, t) {+ return !!(Sq(t, e.id) && t[e.id]);}-function IJ(e) {+function PJ(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 (DJ(o) && (i = !0, FJ(o, t) ? n = !0 : r = !1), o.subRows.length) {- let e = IJ(o);+ if (TJ(o) && (i = !0, NJ(o, t) ? n = !0 : r = !1), o.subRows.length) {+ let e = PJ(o);e === "all" ? (n = !0, i = !0) : e === "some" ? (n = !0, r = !1, i = !0) : r = !1;}}return i ? r ? "all" : n ? "some" : !1 : !1;}// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.js-var LJ = {+var FJ = {initTableInstanceData: (e) => {e._lastSelectedRowId = null;},@@ -59954,11 +59954,11 @@ var LJ = {e._lastSelectedRowId = null;},getInitialState: (e) => ({- rowSelection: HSe(),+ rowSelection: WSe(),...e}),getDefaultTableOptions: (e) => ({- onRowSelectionChange: Tq("rowSelection", e),+ onRowSelectionChange: Cq("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableRowRangeSelection: !0,@@ -59969,11 +59969,11 @@ var LJ = {}}),assignRowPrototype: (e, t) => {- Pq("rowSelectionFeature", e, t, {- row_toggleSelected: { fn: (e, t, n) => wJ(e, t, n) },- row_getIsSelected: { fn: (e) => TJ(e) },+ Mq("rowSelectionFeature", e, t, {+ row_toggleSelected: { fn: (e, t, n) => SJ(e, t, n) },+ row_getIsSelected: { fn: (e) => CJ(e) },row_getIsSomeSelected: {- fn: (e) => EJ(e),+ fn: (e) => wJ(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),@@ -59981,44 +59981,44 @@ var LJ = {]},row_getIsAllSubRowsSelected: {- fn: (e) => ZSe(e),+ fn: (e) => $Se(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),e.table.options.enableRowSelection]},- row_getCanSelect: { fn: (e) => DJ(e) },- row_getCanSelectSubRows: { fn: (e) => OJ(e) },- row_getCanMultiSelect: { fn: (e) => kJ(e) },- row_getToggleSelectedHandler: { fn: (e, t) => QSe(e, t) }+ row_getCanSelect: { fn: (e) => TJ(e) },+ row_getCanSelectSubRows: { fn: (e) => EJ(e) },+ row_getCanMultiSelect: { fn: (e) => DJ(e) },+ row_getToggleSelectedHandler: { fn: (e, t) => eCe(e, t) }});},constructTableAPIs: (e) => {- Nq("rowSelectionFeature", e, {- table_setRowSelection: { fn: (t) => _J(e, t) },- table_resetRowSelection: { fn: (t) => USe(e, t) },- table_toggleAllRowsSelected: { fn: (t, n) => vJ(e, t, n) },- table_toggleAllPageRowsSelected: { fn: (t, n) => yJ(e, t, n) },- table_getPreSelectedRowModel: { fn: () => WSe(e) },+ jq("rowSelectionFeature", e, {+ table_setRowSelection: { fn: (t) => hJ(e, t) },+ table_resetRowSelection: { fn: (t) => GSe(e, t) },+ table_toggleAllRowsSelected: { fn: (t, n) => gJ(e, t, n) },+ table_toggleAllPageRowsSelected: { fn: (t, n) => _J(e, t, n) },+ table_getPreSelectedRowModel: { fn: () => KSe(e) },table_getSelectedRowModel: {- fn: () => GSe(e),+ fn: () => qSe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]},table_getFilteredSelectedRowModel: {- fn: () => KSe(e),+ fn: () => JSe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]},table_getGroupedSelectedRowModel: {- fn: () => qSe(e),+ fn: () => YSe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]},table_getSelectedRowIds: {- fn: () => bJ(e),+ fn: () => vJ(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsAllRowsSelected: {- fn: () => xJ(e),+ fn: () => yJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getFilteredRowModel(),@@ -60027,7 +60027,7 @@ var LJ = {]},table_getIsAllPageRowsSelected: {- fn: () => SJ(e),+ fn: () => bJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),@@ -60036,48 +60036,48 @@ var LJ = {]},table_getIsSomeRowsSelected: {- fn: () => CJ(e),+ fn: () => xJ(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsSomePageRowsSelected: {- fn: () => JSe(e),+ fn: () => XSe(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),e.options.enableRowSelection]},- table_getToggleAllRowsSelectedHandler: { fn: () => YSe(e) },- table_getToggleAllPageRowsSelectedHandler: { fn: () => XSe(e) }+ table_getToggleAllRowsSelectedHandler: { fn: () => ZSe(e) },+ table_getToggleAllPageRowsSelectedHandler: { fn: () => QSe(e) }});}-}, eCe = /([0-9]+)/gm;+}, nCe = /([0-9]+)/gm;/* @__NO_SIDE_EFFECTS__ */-function tCe(e) {+function rCe(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 RJ = /* @__PURE__ */ tCe({ sort: (e, t) => nCe(e, t) });-function nCe(e, t) {+var IJ = /* @__PURE__ */ rCe({ sort: (e, t) => iCe(e, t) });+function iCe(e, t) {return e === t ? 0 : e > t ? 1 : -1;}// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js-function rCe() {+function aCe() {return [];}-function zJ(e, t) {- kq(e, "sorting", t);+function LJ(e, t) {+ Dq(e, "sorting", t);}-function BJ(e, t) {- zJ(e, t ? [] : xq(e.initialState.sorting ?? []));+function RJ(e, t) {+ LJ(e, t ? [] : yq(e.initialState.sorting ?? []));}-function iCe(e) {- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && BJ(e);+function oCe(e) {+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && RJ(e);}-function VJ(e) {+function zJ(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);@@ -60085,7 +60085,7 @@ function VJ(e) {r = "datetime";break;}- if (typeof a == "string" && (i = !0, a.split(eCe).length > 1)) {+ if (typeof a == "string" && (i = !0, a.split(nCe).length > 1)) {r = "alphanumeric";break;}@@ -60094,9 +60094,9 @@ function VJ(e) {let e = t?.[r];if (e || r === "alphanumeric" && (e = t?.text), e) return e;}- return RJ;+ return IJ;}-function HJ(e) {+function BJ(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);@@ -60104,14 +60104,14 @@ function HJ(e) {}return "desc";}-function UJ(e) {+function VJ(e) {let t = e.table._rowModelFns.sortFns;- return ixe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? VJ(e) : t?.[e.columnDef.sortFn] ?? RJ;+ return oxe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? zJ(e) : t?.[e.columnDef.sortFn] ?? IJ;}-function WJ(e, t, n) {- let r = KJ(e, n && JJ(e)), i = t !== void 0;- zJ(e.table, (a) => {- let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && JJ(e) && n);+function HJ(e, t, n) {+ let r = WJ(e, n && KJ(e)), i = t !== void 0;+ LJ(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 && KJ(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@@ -60127,40 +60127,40 @@ function WJ(e, t, n) {}], c;});}-function GJ(e) {- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? HJ(e) === "desc" ? "desc" : "asc";+function UJ(e) {+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? BJ(e) === "desc" ? "desc" : "asc";}-function KJ(e, t) {- let n = GJ(e), r = YJ(e);+function WJ(e, t) {+ let n = UJ(e), r = qJ(e);return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;}-function qJ(e) {+function GJ(e) {return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;}-function JJ(e) {+function KJ(e) {return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;}-function YJ(e) {+function qJ(e) {let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);return t ? t.desc ? "desc" : "asc" : !1;}-function aCe(e) {+function sCe(e) {return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;}-function oCe(e) {- zJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);+function cCe(e) {+ LJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);}-function sCe(e) {- let t = qJ(e);+function lCe(e) {+ let t = GJ(e);return (n) => {- t && WJ(e, void 0, JJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);+ t && HJ(e, void 0, KJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);};}// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js-var XJ = {+var JJ = {getInitialState(e) {return {- sorting: rCe(),+ sorting: aCe(),...e};},@@ -60173,58 +60173,58 @@ var XJ = {getDefaultTableOptions(e) {return {autoResetSorting: !1,- onSortingChange: Tq("sorting", e),+ onSortingChange: Cq("sorting", e),isMultiSortEvent: (e) => e.shiftKey};},assignColumnPrototype(e, t) {- Pq("rowSortingFeature", e, t, {- column_getAutoSortFn: { fn: (e) => VJ(e) },- column_getAutoSortDir: { fn: (e) => HJ(e) },- column_getSortFn: { fn: (e) => UJ(e) },- column_toggleSorting: { fn: (e, t, n) => WJ(e, t, n) },- column_getFirstSortDir: { fn: (e) => GJ(e) },- column_getNextSortingOrder: { fn: (e, t) => KJ(e, t) },- column_getCanSort: { fn: (e) => qJ(e) },- column_getCanMultiSort: { fn: (e) => JJ(e) },- column_getIsSorted: { fn: (e) => YJ(e) },- column_getSortIndex: { fn: (e) => aCe(e) },- column_clearSorting: { fn: (e) => oCe(e) },- column_getToggleSortingHandler: { fn: (e) => sCe(e) }+ Mq("rowSortingFeature", e, t, {+ column_getAutoSortFn: { fn: (e) => zJ(e) },+ column_getAutoSortDir: { fn: (e) => BJ(e) },+ column_getSortFn: { fn: (e) => VJ(e) },+ column_toggleSorting: { fn: (e, t, n) => HJ(e, t, n) },+ column_getFirstSortDir: { fn: (e) => UJ(e) },+ column_getNextSortingOrder: { fn: (e, t) => WJ(e, t) },+ column_getCanSort: { fn: (e) => GJ(e) },+ column_getCanMultiSort: { fn: (e) => KJ(e) },+ column_getIsSorted: { fn: (e) => qJ(e) },+ column_getSortIndex: { fn: (e) => sCe(e) },+ column_clearSorting: { fn: (e) => cCe(e) },+ column_getToggleSortingHandler: { fn: (e) => lCe(e) }});},constructTableAPIs(e) {- Nq("rowSortingFeature", e, {- table_autoResetSorting: { fn: () => iCe(e) },- table_setSorting: { fn: (t) => zJ(e, t) },- table_resetSorting: { fn: (t) => BJ(e, t) }+ jq("rowSortingFeature", e, {+ table_autoResetSorting: { fn: () => oCe(e) },+ table_setSorting: { fn: (t) => LJ(e, t) },+ table_resetSorting: { fn: (t) => RJ(e, t) }});}-}, cCe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;-function ZJ(e, t) {+}, uCe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;+function YJ(e, t) {let [{ table: n, rootSource: r }] = (0, F.useState)(() => {- let t = SSe({+ let t = wSe({...e,features: {- coreReactivityFeature: txe(),+ coreReactivityFeature: rxe(),...e.features}});- return t.Subscribe = ((e) => Zbe({+ return t.Subscribe = ((e) => $be({...e,source: e.source ?? t.store- })), t.FlexRender = Bbe, {+ })), t.FlexRender = Hbe, {table: t,- rootSource: exe(t.store, gq)+ rootSource: nxe(t.store, mq)};}), i = n;- Xq(i, (t) => ({+ Jq(i, (t) => ({...t,...e}), { syncExternalState: !1 });- let a = i.options.state, o = r.get(), s = yq(r, t, { compare: gq });- return cCe(() => {- r.markCommitted(o), Yq(i, a ?? null, gq);+ let a = i.options.state, o = r.get(), s = _q(r, t, { compare: mq });+ return uCe(() => {+ r.markCommitted(o), qq(i, a ?? null, mq);}), (0, F.useMemo)(() => ({...n,options: e,@@ -60236,7 +60236,7 @@ function ZJ(e, t) {]);}// src/react/boardui/components/base/table/table.tsx-function QJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {+function XJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, I.jsx)("div", {className: q("w-full overflow-x-auto", n),children: /* @__PURE__ */ (0, I.jsx)(zme, {@@ -60247,7 +60247,7 @@ function QJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i});}// src/react/catalog-grid/catalog-table-columns.ts-var $J = "peach.catalog-column-widths.v1", eY = "peach.catalog-column-visibility.v1", lCe = {+var ZJ = "peach.catalog-column-widths.v1", QJ = "peach.catalog-column-visibility.v1", dCe = {select: {width: 48,min: 48,@@ -60313,13 +60313,13 @@ var $J = "peach.catalog-column-widths.v1", eY = "peach.catalog-column-visibilitymin: 144,max: 560}-}, uCe = {+}, fCe = {code: !1,o: !1,new: !1,played: !1,release: !1-}, dCe = {+}, pCe = {select: "选择",name: "作品",dur: "时长",@@ -60333,7 +60333,7 @@ var $J = "peach.catalog-column-widths.v1", eY = "peach.catalog-column-visibilityrelease: "发行时间",code: "番号",tags: "标签"-}, tY = [+}, $J = ["select","name","tags",@@ -60349,13 +60349,13 @@ var $J = "peach.catalog-column-widths.v1", eY = "peach.catalog-column-visibility"release"].map((e) => ({id: e,- label: dCe[e],- ...lCe[e],+ label: pCe[e],+ ...dCe[e],flex: e === "name",required: e === "select" || e === "name",- visible: uCe[e] !== !1+ visible: fCe[e] !== !1}));-function nY(e) {+function eY(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -60363,9 +60363,9 @@ function nY(e) {return {};}}-function fCe() {- let e = nY($J), t = nY(eY);- return tY.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {+function mCe() {+ let e = eY(ZJ), t = eY(QJ);+ return $J.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {let n = e[t.id], r = typeof n == "number" && Number.isFinite(n) && !(t.flex && n === t.width);return {id: t.id,@@ -60376,37 +60376,37 @@ function fCe() {});}// src/react/library-processing/completion-row.ts-var rY = "peach.catalog.completion-row";-function iY() {+var tY = "peach.catalog.completion-row";+function nY() {try {- return localStorage.getItem(rY) === "1";+ return localStorage.getItem(tY) === "1";} catch {return !1;}}-function pCe(e) {+function hCe(e) {try {- e ? localStorage.setItem(rY, "1") : localStorage.removeItem(rY);+ e ? localStorage.setItem(tY, "1") : localStorage.removeItem(tY);} catch {}}-var mCe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";+var gCe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";// src/catalog-content-skeleton.ts-function aY(e) {+function rY(e) {return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><b class=\"skeleton-sheen\"></b><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";}-function hCe(e) {- let t = fCe(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${aY(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (iY() ? mCe : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;+function _Ce(e) {+ let t = mCe(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${rY(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (nY() ? gCe : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;}-function oY(e, t) {- return yG() === "list" ? hCe(e) : nc(e, {+function iY(e, t) {+ return _G() === "list" ? _Ce(e) : nc(e, {variant: "cards",className: "catalog-skeleton postercard-skeleton",cardRatio: t});}// src/react/components/data-table-frame.tsx-function sY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {+function aY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let i = (0, F.useRef)(null);return (0, F.useEffect)(() => {let e = i.current?.querySelector(".overflow-x-auto") ?? null;@@ -60420,7 +60420,7 @@ function sY({ 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 && fK(e, r) && n(r.dataset.key);+ r && uK(e, r) && n(r.dataset.key);} : void 0,children: r ? /* @__PURE__ */ (0, I.jsx)(Lme, {className: "relative min-w-0",@@ -60431,8 +60431,8 @@ function sY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {});}// src/react/components/select.tsx-function cY({ prefix: e, renderValue: t, size: n, ...r }) {- if (e == null) return /* @__PURE__ */ (0, I.jsx)(oW, {+function oY({ prefix: e, renderValue: t, size: n, ...r }) {+ if (e == null) return /* @__PURE__ */ (0, I.jsx)(aW, {...r,size: n,renderValue: t@@ -60442,14 +60442,14 @@ function cY({ prefix: e, renderValue: t, size: n, ...r }) {className: `shrink-0 text-text-tertiary ${i}`,children: e}), typeof t == "function" ? t(n) : t ?? n.defaultChildren] });- return /* @__PURE__ */ (0, I.jsx)(oW, {+ return /* @__PURE__ */ (0, I.jsx)(aW, {...r,size: n,renderValue: a});}// src/react/components/table-pagination.tsx-function lY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {+function sY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {return t <= 1 ? null : /* @__PURE__ */ (0, I.jsxs)("nav", {"aria-label": r,"data-pagination-layout": "",@@ -60488,11 +60488,11 @@ function lY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {});}// src/react/components/table-controls.tsx-function uY({ label: e, options: t, sorting: n, onChange: r }) {+function cY({ label: e, options: t, sorting: n, onChange: r }) {let i = n[0];return /* @__PURE__ */ (0, I.jsxs)("span", {className: "flex flex-none items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsxs)(cY, {+ children: [/* @__PURE__ */ (0, I.jsxs)(oY, {"aria-label": `${e}排序`,prefix: "排序",selectedKey: i?.id ?? "default",@@ -60502,10 +60502,10 @@ function uY({ label: e, options: t, sorting: n, onChange: r }) {desc: i?.desc ?? !1}]);},- children: [/* @__PURE__ */ (0, I.jsx)(sW, {+ children: [/* @__PURE__ */ (0, I.jsx)(oW, {id: "default",children: "默认顺序"- }), t.map((e) => /* @__PURE__ */ (0, I.jsx)(sW, {+ }), t.map((e) => /* @__PURE__ */ (0, I.jsx)(oW, {id: e.id,children: e.label}, e.id))]@@ -60513,7 +60513,7 @@ function uY({ label: e, options: t, sorting: n, onChange: r }) {variant: "secondary",iconOnly: !0,disabled: !i,- leadingIcon: CG,+ leadingIcon: xG,"data-icon-state": i?.desc ? "b" : "a","aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,onClick: () => {@@ -60525,7 +60525,7 @@ function uY({ label: e, options: t, sorting: n, onChange: r }) {})]});}-function dY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [+function lY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [10,20,50,@@ -60540,7 +60540,7 @@ function dY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记children: `${l.toLocaleString()}–${u.toLocaleString()} / ${t.toLocaleString()} ${i}`}), /* @__PURE__ */ (0, I.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, I.jsx)(cY, {+ children: [/* @__PURE__ */ (0, I.jsx)(oY, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(n.pageSize),@@ -60550,11 +60550,11 @@ function dY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记pageSize: Number(e)});},- children: o.map((e) => /* @__PURE__ */ (0, I.jsx)(sW, {+ children: o.map((e) => /* @__PURE__ */ (0, I.jsx)(oW, {id: String(e),children: `每页 ${e} ${a}`}, e))- }), /* @__PURE__ */ (0, I.jsx)(lY, {+ }), /* @__PURE__ */ (0, I.jsx)(sY, {label: `${e}分页`,page: c + 1,pages: s,@@ -60567,7 +60567,7 @@ function dY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记});}// src/react/components/table-column-preferences.ts-function fY(e) {+function uY(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -60575,17 +60575,17 @@ function fY(e) {return {};}}-function pY(e, t) {+function dY(e, t) {try {localStorage.setItem(e, JSON.stringify(t));} catch {}}-function gCe(e, t) {+function vCe(e, t) {let n = (e) => Object.fromEntries(Object.entries(t).map(([t, n]) => {let r = e[t];return [t, typeof r == "number" && Number.isFinite(r) ? Math.max(n.min, Math.min(n.max, r)) : n.flex ? "1fr" : n.width];})), [r, i] = (0, F.useState)(() => {- let r = fY(e);+ let r = uY(e);for (let [e, n] of Object.entries(t)) n.flex && r[e] === n.width && delete r[e];return n(r);});@@ -60602,7 +60602,7 @@ function gCe(e, t) {...r,...Object.fromEntries(t)});- i(a), pY(e, a);+ i(a), dY(e, a);},reset: () => {i(n({}));@@ -60612,26 +60612,26 @@ function gCe(e, t) {}};}-function _Ce(e, t, n, r = {}) {+function yCe(e, t, n, r = {}) {let i = (e) => ({...r,...Object.fromEntries(t.filter((t) => !n.includes(t) && typeof e[t] == "boolean").map((t) => [t, e[t] === !0]))- }), [a, o] = (0, F.useState)(() => i(fY(e)));+ }), [a, o] = (0, F.useState)(() => i(uY(e)));return {visibility: a,change: (t) => {let n = i(typeof t == "function" ? t(a) : t);- o(n), pY(e, n);+ o(n), dY(e, n);}};}-function mY(e, t, n) {+function fY(e, t, n) {let r = (0, F.useMemo)(() => Object.fromEntries(t.map((e) => [e.id, {width: e.width ?? 180,min: e.min ?? 96,max: e.max ?? (e.flex ? 2e3 : 800),flex: e.flex- }])), [t]), i = gCe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = _Ce(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 = vCe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = yCe(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,@@ -60650,15 +60650,15 @@ function mY(e, t, n) {};}// src/react/catalog-grid/catalog-column-widths.ts-function vCe() {- return mY("catalog", tY, {- widths: $J,- visibility: eY+function bCe() {+ return fY("catalog", $J, {+ widths: ZJ,+ visibility: QJ});}// src/react/components/rating-stars.tsx-var hY = OV("star");-function gY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {+var pY = DV("star");+function mY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {let i = Math.max(0, Math.min(5, e)), a = Math.round(i);return /* @__PURE__ */ (0, I.jsx)("span", {"data-rating-stars": "",@@ -60681,24 +60681,24 @@ function gY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {onClick: () => {n || t(e);},- children: n === e ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: zs("正在保存评分") } }) : /* @__PURE__ */ (0, I.jsx)(hY, {})+ children: n === e ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: zs("正在保存评分") } }) : /* @__PURE__ */ (0, I.jsx)(pY, {})}, e) : /* @__PURE__ */ (0, I.jsx)("span", {"data-rate": e,"data-on": String(i >= e),children: /* @__PURE__ */ (0, I.jsxs)("span", {"data-rating-icon": "",- children: [/* @__PURE__ */ (0, I.jsx)(hY, {}), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(pY, {}), /* @__PURE__ */ (0, I.jsx)("span", {"data-rating-fill": "",style: { width: `${Math.max(0, Math.min(1, i - e + 1)) * 100}%` },- children: /* @__PURE__ */ (0, I.jsx)(hY, {})+ children: /* @__PURE__ */ (0, I.jsx)(pY, {})})]})}, e))});}// src/react/catalog-grid/catalog-table-controls.tsx-function yCe({ item: e, actions: t }) {- let { rating: n } = e, r = AH(), i = (0, F.useRef)(0), a = EP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {+function xCe({ item: e, actions: t }) {+ let { rating: n } = e, r = kH(), i = (0, F.useRef)(0), a = EP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {CP(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {...e,rating: t@@ -60711,11 +60711,11 @@ function yCe({ item: e, actions: t }) {role: "group","aria-label": o,title: o,- children: [/* @__PURE__ */ (0, I.jsx)(gY, {+ children: [/* @__PURE__ */ (0, I.jsx)(mY, {value: a,onRate: c,busyStar: r.busy ? Number(r.busy) : void 0- }), r.error ? /* @__PURE__ */ (0, I.jsx)(TV, {+ }), r.error ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -60728,7 +60728,7 @@ function yCe({ item: e, actions: t }) {}) : null]});}-function _Y(e) {+function hY(e) {if (e == null || e === "") return "—";let t = String(e);if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;@@ -60743,7 +60743,7 @@ function _Y(e) {});}// src/react/components/selection-actions.tsx-function vY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {+function gY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-selection-actions": "","data-action-layout": t,@@ -60755,10 +60755,10 @@ function vY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {className: t === "inline" ? "shrink-0" : "w-full",onClick: e.onPress,children: e.label- }, e.label) : /* @__PURE__ */ (0, I.jsx)(kH, {+ }, e.label) : /* @__PURE__ */ (0, I.jsx)(OH, {size: "small",href: e.href,- trailingIcon: IB,+ trailingIcon: FB,className: t === "inline" ? "shrink-0" : "w-full",disabled: e.disabled,onClick: r,@@ -60767,15 +60767,15 @@ function vY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {});}// src/react/components/selection-popover.tsx-function yY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {- let c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), d = /* @__PURE__ */ (0, I.jsx)(vY, {+function _Y({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {+ let c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), d = /* @__PURE__ */ (0, I.jsx)(gY, {actions: a,layout: o,onNavigate: () => u(!1)}, "actions"), f = /* @__PURE__ */ (0, I.jsx)("div", {"data-selection-options": "",className: "flex min-w-0 flex-col gap-1",- children: r.length ? r.map((e) => /* @__PURE__ */ (0, I.jsx)(eH, {+ children: r.length ? r.map((e) => /* @__PURE__ */ (0, I.jsx)($V, {isSelected: e.selected,className: "min-w-0 [&>span:last-child]:min-w-0 [&>span:last-child]:wrap-anywhere",isDisabled: e.disabled,@@ -60801,8 +60801,8 @@ function yY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,onOpenChange: u,placement: "bottom end",offset: 4,- className: q(qV, "w-max overscroll-contain"),- children: ({ placement: t }) => /* @__PURE__ */ (0, I.jsx)(NH, {+ className: q(KV, "w-max overscroll-contain"),+ children: ({ placement: t }) => /* @__PURE__ */ (0, I.jsx)(MH, {"aria-label": e,"data-selection-placement": t ?? "bottom",className: "flex w-max max-w-full flex-col gap-2 outline-none",@@ -60811,13 +60811,13 @@ function yY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,})] });}// src/react/components/table-column-controls.tsx-function bY({ preferences: e, label: t = "表格" }) {+function vY({ preferences: e, label: t = "表格" }) {let n = e.columns.filter((e) => !e.required);return /* @__PURE__ */ (0, I.jsxs)("div", {role: "group","aria-label": `${t}列设置`,className: "flex flex-none gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(yY, {+ children: [/* @__PURE__ */ (0, I.jsx)(_Y, {label: `${t}显示列`,triggerLabel: "显示列",actionLayout: "fullWidth",@@ -60845,39 +60845,39 @@ function bY({ preferences: e, label: t = "表格" }) {})]});}-function xY({ preferences: e, id: t }) {+function yY({ preferences: e, id: t }) {let n = e.columns.find((e) => e.id === t);return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(Jme, { "aria-label": `调整${n.label}列宽` }) : null;}// src/react/components/table-selection-header.tsx-function SY(e, t) {+function bY(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 CY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {- let { all: i, some: a } = SY(e, n);- return /* @__PURE__ */ (0, I.jsx)(eH, {+function xY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {+ let { all: i, some: a } = bY(e, n);+ return /* @__PURE__ */ (0, I.jsx)($V, {slot: null,"aria-label": t,isDisabled: r,isSelected: i,isIndeterminate: a,onChange: () => {- let t = !SY(e, n).all;+ let t = !bY(e, n).all;n ? e.toggleAllPageRowsSelected(t) : e.toggleAllRowsSelected(t);}});}// src/react/catalog-grid/catalog-list-page.tsx-var bCe = Qq({- rowSortingFeature: XJ,- rowSelectionFeature: LJ,- rowPaginationFeature: gJ,- columnVisibilityFeature: oJ-}), xCe = [+var SCe = Xq({+ rowSortingFeature: JJ,+ rowSelectionFeature: FJ,+ rowPaginationFeature: mJ,+ columnVisibilityFeature: iJ+}), CCe = [{id: "name",label: "名称"@@ -60914,12 +60914,12 @@ var bCe = Qq({id: "played",label: "观看时间"}-], wY = /* @__PURE__ */ new Map();-function SCe(e) {- let t = vCe(), n = dK(), r = yP(e.filters || {}, !1), [i] = (0, F.useState)(() => {+], SY = /* @__PURE__ */ new Map();+function wCe(e) {+ let t = bCe(), n = lK(), r = yP(e.filters || {}, !1), [i] = (0, F.useState)(() => {let t = new URLSearchParams(r);return new URLSearchParams(location.search).has("seed") || t.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${t}`;- }), [a, o] = (0, F.useState)(() => wY.get(i) || {+ }), [a, o] = (0, F.useState)(() => SY.get(i) || {sorting: [],pagination: {pageIndex: 0,@@ -60927,7 +60927,7 @@ function SCe(e) {}}), { sorting: s, pagination: c } = a;(0, F.useEffect)(() => {- wY.set(i, a);+ SY.set(i, a);}, [i, a]);let l = c.pageIndex * c.pageSize, u = s[0], d = Pt({queryKey: [@@ -60953,9 +60953,9 @@ function SCe(e) {let i = new URLSearchParams(r);return i.set("offset", String(l)), i.set("limit", String(n.limit)), i.delete("count"), n.sort && i.set("sort", n.sort), n.dir && i.set("dir", n.dir), B(`/api/items?${i}`, t);}- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : nq(f, e.layout.javImage), [h] = (0, F.useState)(iY);+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : eq(f, e.layout.javImage), [h] = (0, F.useState)(nY);(0, F.useEffect)(() => {- d.data && !d.isPlaceholderData && pCe(m.length > 0);+ d.data && !d.isPlaceholderData && hCe(m.length > 0);}, [d.data,d.isPlaceholderData,@@ -60987,19 +60987,19 @@ function SCe(e) {p,c.pageIndex]);- let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = ZJ({- features: bCe,+ let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = YJ({+ features: SCe,columns: (0, F.useMemo)(() => {- let t = Zq();+ let t = Yq();return t.columns([t.display({id: "select",- header: ({ table: e }) => /* @__PURE__ */ (0, I.jsx)(CY, {+ header: ({ table: e }) => /* @__PURE__ */ (0, I.jsx)(xY, {table: e,label: "全选本页作品",disabled: d.isPlaceholderData}),- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(eH, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)($V, {slot: null,"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,isDisabled: d.isPlaceholderData,@@ -61011,7 +61011,7 @@ function SCe(e) {id: "name",header: "作品",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(CCe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(TCe, {item: t.original,props: e,disabled: d.isPlaceholderData@@ -61068,7 +61068,7 @@ function SCe(e) {id: "rating",header: "评分",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(yCe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(xCe, {item: t.original,actions: e.actions})@@ -61089,13 +61089,13 @@ function SCe(e) {id: "played",header: "观看时间",enableSorting: !0,- cell: ({ row: e }) => _Y(e.original.last_played)+ cell: ({ row: e }) => hY(e.original.last_played)}),t.accessor((e) => e.first_seen, {id: "new",header: "入库时间",enableSorting: !0,- cell: ({ row: e }) => _Y(e.original.first_seen)+ cell: ({ row: e }) => hY(e.original.first_seen)}),t.accessor((e) => e.release_date, {id: "release",@@ -61155,9 +61155,9 @@ function SCe(e) {"aria-label": "作品列表工具栏",children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, I.jsx)(bY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)(uY, {+ children: [/* @__PURE__ */ (0, I.jsx)(vY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)(cY, {label: "作品列表",- options: xCe,+ options: CCe,sorting: s,onChange: (e) => _.setSorting(e)})]@@ -61167,21 +61167,21 @@ function SCe(e) {"data-completion-skeleton": "","aria-hidden": "true",className: "skeleton-sheen"- }) : null : /* @__PURE__ */ (0, I.jsx)(rq, {+ }) : null : /* @__PURE__ */ (0, I.jsx)(tq, {className: "",assetIds: m}),- d.isError ? /* @__PURE__ */ (0, I.jsx)(ZG, {+ d.isError ? /* @__PURE__ */ (0, I.jsx)(YG, {message: bn(d.error),onRetry: () => void d.refetch()}) : null,- /* @__PURE__ */ (0, I.jsx)(sY, {+ /* @__PURE__ */ (0, I.jsx)(aY, {follow: !0,preferences: t,onRowClick: e.selectMode ? (t) => {d.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);} : void 0,- children: /* @__PURE__ */ (0, I.jsxs)(QJ, {+ children: /* @__PURE__ */ (0, I.jsxs)(XJ, {"aria-label": "作品列表",size: "sm",sortDescriptor: u ? {@@ -61199,12 +61199,12 @@ function SCe(e) {...t.columnProps(e.id),children: ({ sortDirection: n }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex items-center gap-0.5",- children: [iq(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, I.jsx)("span", {+ children: [nq(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, I.jsx)("span", {"data-sort-indicator": !0,"data-direction": n || void 0,- children: /* @__PURE__ */ (0, I.jsx)(WV, {})+ children: /* @__PURE__ */ (0, I.jsx)(UV, {})}) : null]- }), /* @__PURE__ */ (0, I.jsx)(xY, {+ }), /* @__PURE__ */ (0, I.jsx)(yY, {preferences: t,id: e.id})] })@@ -61220,7 +61220,7 @@ function SCe(e) {id: `skeleton-${t}`,"data-list-skeleton-row": "","aria-hidden": "true",- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(TB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: aY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(TB, { "data-table-space": "" })]+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(TB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: rY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(TB, { "data-table-space": "" })]}, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(CB, {id: e.id,"data-catalog-row": "",@@ -61228,12 +61228,12 @@ function SCe(e) {"data-guide-video": (!e.original.medium || e.original.medium === "video") && e.original.location !== "online" && !String(e.original.name || "").toLowerCase().endsWith(".iso") ? "" : void 0,"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(TB, { children: iq(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(TB, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(TB, { children: nq(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(TB, { "data-table-space": "" })]}, e.id))})]})}),- d.data ? /* @__PURE__ */ (0, I.jsx)(dY, {+ d.data ? /* @__PURE__ */ (0, I.jsx)(lY, {label: "作品列表",total: p,pagination: c,@@ -61244,10 +61244,10 @@ function SCe(e) {]});}-function CCe({ item: e, props: t, disabled: n }) {+function TCe({ item: e, props: t, disabled: n }) {let r = wo(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品";bL();- let { avatar: l, who: u } = bK(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = dK({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, I.jsx)("svg", {+ let { avatar: l, who: u } = vK(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = lK({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })@@ -61272,7 +61272,7 @@ function CCe({ item: e, props: t, disabled: n }) {children: /* @__PURE__ */ (0, I.jsxs)("span", {"data-list-picture": "",children: [- r.html ? /* @__PURE__ */ (0, I.jsx)(uW, {+ r.html ? /* @__PURE__ */ (0, I.jsx)(lW, {artwork: r,relayout: (e) => Cl(e, "small")}) : /* @__PURE__ */ (0, I.jsx)("span", { children: "无预览" }),@@ -61327,7 +61327,7 @@ function CCe({ item: e, props: t, disabled: n }) {children: [p?.name ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-list-library": "",title: `媒体库:${p.name}`,- children: [/* @__PURE__ */ (0, I.jsx)(bU, { mark: p.icon }), p.name]+ children: [/* @__PURE__ */ (0, I.jsx)(yU, { mark: p.icon }), p.name]}) : null, u]})]})@@ -61335,22 +61335,22 @@ function CCe({ item: e, props: t, disabled: n }) {});}// src/react/catalog-grid/catalog-grid-page.tsx-function TY(e) {- let t = bG();- if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(TCe, { ...e });+function CY(e) {+ let t = vG();+ if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(DCe, { ...e });let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${yP(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(SCe, { ...e }, n);+ if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(wCe, { ...e }, n);let r = e.mode === "entity" ? "entity" : `catalog:${!!e.wall}`;- return /* @__PURE__ */ (0, I.jsx)(ECe, { ...e }, r);+ return /* @__PURE__ */ (0, I.jsx)(OCe, { ...e }, r);}-function wCe({ name: e }) {+function ECe({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-function EY({ children: e, selectMode: t }) {+function wY({ children: e, selectMode: t }) {let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1);return (0, F.useLayoutEffect)(() => {let e = n.current;@@ -61366,8 +61366,8 @@ function EY({ children: e, selectMode: t }) {children: e});}-function TCe(e) {- let { actions: t } = e, n = (0, F.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, I.jsx)(SK, {+function DCe(e) {+ let { actions: t } = e, n = (0, F.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, I.jsx)(bK, {item: i,variant: r,layout: e.layout,@@ -61381,12 +61381,12 @@ function TCe(e) {return r === "next" ? /* @__PURE__ */ (0, I.jsx)("div", {"data-media-next-row": "",children: i- }) : /* @__PURE__ */ (0, I.jsx)(EY, {+ }) : /* @__PURE__ */ (0, I.jsx)(wY, {selectMode: e.selectMode,children: i});}-function ECe(e) {+function OCe(e) {let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? yue(e) : vue(e), [s] = (0, F.useState)(() => e.wall ? bP(o.queryKey) : void 0), c = JSON.stringify(o.queryKey), l = (0, F.useMemo)(() => e.restoreNavigation ? bP(o.queryKey) : void 0, [c, e.restoreNavigation]) || s || (i && e.initial ? {pages: [{...e.initial,@@ -61423,7 +61423,7 @@ function ECe(e) {e.mix,a,r.javImage- ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || Sbe(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && gbe(e.item) ? [e.item] : []), y = a ? [] : nq(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = DCe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);+ ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || wbe(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && vbe(e.item) ? [e.item] : []), y = a ? [] : eq(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = kCe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);(0, F.useLayoutEffect)(() => {if (!u.data || u.isPlaceholderData) return;let t = !0;@@ -61451,12 +61451,12 @@ function ECe(e) {let C = (0, F.useCallback)((e, t) => n.open(e, t), [n]), w = (0, F.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, F.useCallback)((e) => n.openShort(e), [n]), E = (0, F.useCallback)(async () => {let e = await u.fetchNextPage();if (e.isFetchNextPageError) throw e.error;- }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(kCe, {+ }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(jCe, {seed: i.seed,layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, I.jsx)(SK, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, I.jsx)(bK, {item: i.item,grouped: e.groupCollapse !== !1,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",@@ -61468,7 +61468,7 @@ function ECe(e) {actions: n,onOpen: a ? w : C}, i.item.id), O = () => {- if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(jbe, {+ if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(Nbe, {sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${yP(e.filters || {}, !!e.excludeVertical)}`,items: v,finite: g,@@ -61477,7 +61477,7 @@ function ECe(e) {loading: u.isPending || !u.data && u.isFetching,error: !u.data && !u.isPending ? bn(u.error) : "",retry: () => void u.refetch(),- emptyHtml: u.data && !v.length ? Pbe({+ emptyHtml: u.data && !v.length ? Ibe({libraryEmpty: !!u.data.pages[0]?.libraryEmpty,matches: h,hasMore: !!u.hasNextPage,@@ -61492,7 +61492,7 @@ function ECe(e) {javImage: r.javImage}, g ? "finite" : "explore");if (u.isPending) return null;- if (!u.data) return /* @__PURE__ */ (0, I.jsx)(ZG, {+ if (!u.data) return /* @__PURE__ */ (0, I.jsx)(YG, {message: bn(u.error),onRetry: () => void u.refetch()});@@ -61509,12 +61509,12 @@ function ECe(e) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("div", {"data-media-sections": "","data-select-mode": e.selectMode ? "" : void 0,- children: wue(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(EY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(OCe, {+ children: wue(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(wY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(ACe, {cut: t.strip,props: e,onOpen: T}) : null] }, t.start))- }), u.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(DY, {+ }), u.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(TY, {entity: i,load: E,enabled: () => !u.isPlaceholderData && e.canLoadMore?.() !== !1@@ -61524,14 +61524,14 @@ function ECe(e) {ref: b,"data-media-body": "","aria-busy": u.isFetching && !u.isFetchingNextPage,- children: [/* @__PURE__ */ (0, I.jsx)(rq, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)(QG, {+ children: [/* @__PURE__ */ (0, I.jsx)(tq, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)(XG, {pending: u.isPending,skeletonHtml: e.skeletonHtml,children: O()})]});}-function DY({ entity: e, load: t, enabled: n, children: r }) {+function TY({ entity: e, load: t, enabled: n, children: r }) {let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(!1), s = (0, F.useRef)(!1), [c, l] = (0, F.useState)({busy: !1,error: ""@@ -61573,7 +61573,7 @@ function DY({ entity: e, load: t, enabled: n, children: r }) {if (!e) return;let t = new IntersectionObserver((e) => {e.some((e) => e.isIntersecting) && d(!1);- }, { rootMargin: XG });+ }, { rootMargin: JG });return a.current = t, t.observe(e), () => {t.disconnect(), a.current = null;};@@ -61596,12 +61596,12 @@ function DY({ entity: e, load: t, enabled: n, children: r }) {hidden: !!c.error,onClick: () => void d(!0),dangerouslySetInnerHTML: { __html: Vs(Bs) }- }), c.error ? /* @__PURE__ */ (0, I.jsx)(ZG, {+ }), c.error ? /* @__PURE__ */ (0, I.jsx)(YG, {message: c.error,onRetry: () => void d(!0)}) : null] });}-function DCe(e, t, n, r, i) {+function kCe(e, t, n, r, i) {let a = ["catalog-short-layout", yP(e.filters || {}, !!e.excludeVertical)], o = `${a[1]}:${e.revision}`, s = () => {let t = e.restoreNavigation ? H.getQueryData(a) : void 0, n = {parts: /* @__PURE__ */ new Set(),@@ -61666,7 +61666,7 @@ function DCe(e, t, n, r, i) {});}, [d]), m;}-function OCe({ cut: e, props: t, onOpen: n }) {+function ACe({ cut: e, props: t, onOpen: n }) {let r = (0, F.useRef)(null), { wireDrag: i } = t;return (0, F.useEffect)(() => {r.current && i(r.current);@@ -61682,12 +61682,12 @@ function OCe({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, I.jsx)(wCe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, I.jsx)(ECe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]})] }), /* @__PURE__ */ (0, I.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, I.jsx)(SK, {+ children: e.items.map((e) => /* @__PURE__ */ (0, I.jsx)(bK, {item: e,variant: "short",layout: t.layout,@@ -61702,17 +61702,17 @@ function OCe({ cut: e, props: t, onOpen: n }) {})]});}-function OY(e, t, n) {+function EY(e, t, n) {return To(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function kCe({ seed: e, layout: t, helpers: n, actions: r }) {+function jCe({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, F.useRef)(/* @__PURE__ */ new Map()), a = (0, F.useRef)(t);a.current = t;let o = jo(e, n.tagLabel), s = (0, F.useCallback)(async () => {let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => SP(e, t.javImage)).slice(0, 9);- return i.current = new Map(n.map((e) => [String(e.id), OY(e, t, !0).html])), n.map((e) => String(e.id));- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = OY(e, t, !1);- return /* @__PURE__ */ (0, I.jsx)(EK, {+ return i.current = new Map(n.map((e) => [String(e.id), EY(e, t, !0).html])), n.map((e) => String(e.id));+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = EY(e, t, !1);+ return /* @__PURE__ */ (0, I.jsx)(wK, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -61722,12 +61722,12 @@ function kCe({ seed: e, layout: t, helpers: n, actions: r }) {wholeCard: !0,poster: null,artwork: l,- artworkIdentity: c === "small" ? l.html : OY(e, {+ artworkIdentity: c === "small" ? l.html : EY(e, {...t,size: "small"}, !1).html,relayoutArt: (e) => Cl(e, c),- ratio: yK(e, "grid", t),+ ratio: _K(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -61738,37 +61738,37 @@ function kCe({ seed: e, layout: t, helpers: n, actions: r }) {});}// src/react/media-sources.ts-async function kY(e) {+async function DY(e) {await H.fetchQuery({queryKey: vr,queryFn: () => yr(e)});}-var ACe = (e) => (e?.sources ?? []).filter((e) => _n.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), jCe = "/api/duplicates?limit=120", AY = ["duplicates"], jY = "/api/batch", MY = (e) => B(jCe, e), MCe = /[\s\-_.()[\]【】/\\]/;-function NCe(e) {+var MCe = (e) => (e?.sources ?? []).filter((e) => _n.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), NCe = "/api/duplicates?limit=120", OY = ["duplicates"], kY = "/api/batch", AY = (e) => B(NCe, e), PCe = /[\s\-_.()[\]【】/\\]/;+function FCe(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 && !MCe.test(n[r - 1]);) --r;+ for (; r > 0 && !PCe.test(n[r - 1]);) --r;return r >= 8 ? n.slice(0, r) : "";}-var PCe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;-async function FCe(e) {+var ICe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;+async function LCe(e) {await Promise.all([H.fetchQuery({- queryKey: AY,- queryFn: () => MY(e)- }), kY(e)]);+ queryKey: OY,+ queryFn: () => AY(e)+ }), DY(e)]);}-var ICe = {+var RCe = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, LCe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), NY = (e, t) => LCe(e, t).filter((t) => e.some((e) => e.location !== t)), RCe = (e, t) => t.filter((t) => e.some((e) => NY(e.files, [t]).length));-function zCe(e, t) {+}, zCe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), jY = (e, t) => zCe(e, t).filter((t) => e.some((e) => e.location !== t)), BCe = (e, t) => t.filter((t) => e.some((e) => jY(e.files, [t]).length));+function VCe(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -61787,19 +61787,19 @@ function zCe(e, t) {}return n;}-function BCe(e, t) {+function HCe(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 VCe(e, t) {- for (let n = 0; n < e.length; n += 200) await V(jY, {+async function UCe(e, t) {+ for (let n = 0; n < e.length; n += 200) await V(kY, {ids: e.slice(n, n + 200),operation: t,...t === "dispose" ? { disposal_reason: "duplicate" } : {}});}// src/react/media-repair/media-repair.ts-var PY = "/api/media-repair", FY = ["media-repair"], IY = ["media-repair", "libraries"], HCe = {+var MY = "/api/media-repair", NY = ["media-repair"], PY = ["media-repair", "libraries"], WCe = {status: "idle",library: "",stage: "",@@ -61811,39 +61811,39 @@ var PY = "/api/media-repair", FY = ["media-repair"], IY = ["media-repair", "librmissing_tool: 0,skipped: 0,message: ""-}, LY = (e) => B(PY, e), RY = async (e) => (await B("/api/libraries", e)).libraries || [];-async function UCe(e) {+}, FY = (e) => B(MY, e), IY = async (e) => (await B("/api/libraries", e)).libraries || [];+async function GCe(e) {await Promise.all([H.fetchQuery({- queryKey: FY,- queryFn: () => LY(e)+ queryKey: NY,+ queryFn: () => FY(e)}), H.fetchQuery({- queryKey: IY,- queryFn: () => RY(e)+ queryKey: PY,+ queryFn: () => IY(e)})]);}-var zY = (e) => Number(e).toLocaleString();-function WCe(e) {+var LY = (e) => Number(e).toLocaleString();+function KCe(e) {if (e.status === "running") {- let t = e.total ? `${zY(Math.min(e.checked || 0, e.total))} / ${zY(e.total)}` : "准备中";+ let t = e.total ? `${LY(Math.min(e.checked || 0, e.total))} / ${LY(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${zY(e.repaired)} 部,${zY(e.failed)} 部修不了` : `修好 ${zY(e.repaired)} 部` : "";+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${LY(e.repaired)} 部,${LY(e.failed)} 部修不了` : `修好 ${LY(e.repaired)} 部` : "";}-var GCe = (e) => `${zY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, KCe = "/api/quality-goals?limit=200", BY = ["quality-goals"], VY = (e) => B(KCe, e);-async function qCe(e) {+var qCe = (e) => `${LY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, JCe = "/api/quality-goals?limit=200", RY = ["quality-goals"], zY = (e) => B(JCe, e);+async function YCe(e) {await H.fetchQuery({- queryKey: BY,- queryFn: () => VY(e)+ queryKey: RY,+ queryFn: () => zY(e)});}-var JCe = (e) => e.has_cover ? co(e) : `/poster?id=${e.id}&c=4`;+var XCe = (e) => e.has_cover ? co(e) : `/poster?id=${e.id}&c=4`;// src/selection.ts-function HY(e, t, n, r, i, a = i || !e.has(r)) {+function BY(e, t, n, r, i, a = i || !e.has(r)) {let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;}// src/react/review/review.ts-var YCe = "/api/review", XCe = "/api/review/decision", ZCe = "/api/review/genre", UY = ["review"], WY = {+var ZCe = "/api/review", QCe = "/api/review/decision", $Ce = "/api/review/genre", VY = ["review"], HY = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -61853,40 +61853,40 @@ var YCe = "/api/review", XCe = "/api/review/decision", ZCe = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, QCe = Object.keys(WY), $Ce = "metadata_fields", GY = (e) => typeof e == "string" && Object.hasOwn(WY, e), ewe = {+}, ewe = Object.keys(HY), twe = "metadata_fields", UY = (e) => typeof e == "string" && Object.hasOwn(HY, e), nwe = {creator_tags: "creator",western_identity: "creator"-}, KY = [+}, WY = ["pending","later","ignored"-], qY = {+], GY = {pending: "待处理",later: "稍后处理",ignored: "已忽略"-}, twe = {+}, rwe = {approved: "已通过",rejected: "已忽略",skipped: "稍后处理"-}, JY = (e) => e === "later" || e === "ignored" ? e : "pending", YY = (e, t) => t === "pending" ? {+}, KY = (e) => e === "later" || e === "ignored" ? e : "pending", qY = (e, t) => t === "pending" ? {sections: e.sections,counts: e.counts} : e.queues[t];-function nwe(e, t) {+function iwe(e, t) {return {...e,- ...t(YY(e, "pending")),+ ...t(qY(e, "pending")),queues: {later: t(e.queues.later),ignored: t(e.queues.ignored)}};}-function rwe(e, t) {+function awe(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 XY(e, t) {+function JY(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -61903,10 +61903,10 @@ function XY(e, t) {}return [...n.values()];}-function iwe(e, t, n) {- return n && XY(e, t).find((e) => e.key === n)?.rows || e;+function owe(e, t, n) {+ return n && JY(e, t).find((e) => e.key === n)?.rows || e;}-function awe(e, t) {+function swe(e, t) {let n = hr(e.length, 20), r = gr(t, n);return {page: r,@@ -61914,32 +61914,32 @@ function awe(e, t) {rows: e.slice((r - 1) * 20, r * 20)};}-function owe(e) {+function cwe(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 swe(e, t, n, r, i, a) {- return HY(e, t, n, r, i, a);+function lwe(e, t, n, r, i, a) {+ return BY(e, t, n, r, i, a);}-function cwe(e, t) {+function uwe(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}-function ZY(e, t) {+function YY(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}-var QY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function lwe(e, t) {- let n = ZY(e, t), r = QY(e, t);+var XY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";+function dwe(e, t) {+ let n = YY(e, t), r = XY(e, t);return r ? `${n} · ${r}` : n;}-var uwe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", dwe = (e) => String(e.tags || "").split("|").filter(Boolean), fwe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function pwe(e) {+var fwe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", pwe = (e) => String(e.tags || "").split("|").filter(Boolean), mwe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function hwe(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function mwe(e, t, n, r) {+function gwe(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -61955,22 +61955,22 @@ function mwe(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var hwe = (e) => ({+var _we = (e) => ({approved: "已通过资料",rejected: "已忽略资料",skipped: "已移至稍后处理",restore: "已恢复待处理"})[e];-async function $Y(e) {- let t = await B(YCe, e);- for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${qY[e]}状态未取得,请刷新或更新写入端`);+async function ZY(e) {+ let t = await B(ZCe, e);+ for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${GY[e]}状态未取得,请刷新或更新写入端`);return t;}-async function gwe(e) {- let t = await V(XCe, e);+async function vwe(e) {+ let t = await V(QCe, e);if (t.ok && t.asset_revisions) {let e = t.asset_revisions;- H.setQueryData(UY, (t) => t && nwe(t, (t) => ({+ H.setQueryData(VY, (t) => t && iwe(t, (t) => ({...t,sections: {...t.sections,@@ -61986,33 +61986,33 @@ async function gwe(e) {}return t;}-function _we(e, t) {- let n = H.getQueryData(UY);- return n && KY.flatMap((t) => YY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;+function ywe(e, t) {+ let n = H.getQueryData(VY);+ return n && WY.flatMap((t) => qY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;}-var vwe = (e, t) => V(ZCe, {+var bwe = (e, t) => V($Ce, {genre: e,tag: t});-async function ywe(e) {+async function xwe(e) {await H.fetchQuery({- queryKey: UY,- queryFn: () => $Y(e)+ queryKey: VY,+ queryFn: () => ZY(e)});}-function bwe(e, t, n) {+function Swe(e, t, n) {let r = new Set(t);- r.size && H.setQueryData(UY, (t) => {+ r.size && H.setQueryData(VY, (t) => {if (!t) return t;- let i = KY.flatMap((n) => YY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));+ let i = WY.flatMap((n) => qY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));if (!i.length) return t;let a = {skipped: "later",rejected: "ignored",restore: "pending",approved: null- }[n], o = Object.fromEntries(KY.map((o) => {- let s = YY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({+ }[n], o = Object.fromEntries(WY.map((o) => {+ let s = qY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({...e,decision: n === "restore" ? "pending" : n,decision_note: ""@@ -62039,272 +62039,272 @@ function bwe(e, t, n) {};});}-var xwe = () => H.invalidateQueries({- queryKey: UY,+var Cwe = () => H.invalidateQueries({+ queryKey: VY,exact: !0});-function Swe(e, t) {+function wwe(e, t) {return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Sr(e.fetched_at)} 的缓存` : e?.error || t;}// src/react/data-cleanup/links.ts-var Cwe = "/api/links", eX = "/api/links/check", tX = "/api/links/prune", nX = ["links"], rX = ["links", "check"], iX = ["links", "prune"], wwe = {+var Twe = "/api/links", QY = "/api/links/check", $Y = "/api/links/prune", eX = ["links"], tX = ["links", "check"], nX = ["links", "prune"], Ewe = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",source_reference: "资料出处"};-async function aX(e) {+async function rX(e) {let t = await e;if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var oX = (e) => B(Cwe, e), sX = (e) => V(eX, { status_only: !0 }, "POST", e), Twe = ({ retry: e, checkId: t }) => aX(V(eX, e ? {+var iX = (e) => B(Twe, e), aX = (e) => V(QY, { status_only: !0 }, "POST", e), Dwe = ({ retry: e, checkId: t }) => rX(V(QY, e ? {retry: e,check_id: t-} : { restart: !0 })), cX = (e) => B(tX, e), Ewe = ({ checkId: e, ids: t }) => aX(V(tX, {+} : { restart: !0 })), oX = (e) => B($Y, e), Owe = ({ checkId: e, ids: t }) => rX(V($Y, {confirm: !0,check_id: e,background: !0,...t ? { ids: t } : {}-})), lX = (e) => Number(e || 0).toLocaleString(), Dwe = (e) => `已删除 ${lX(e.removed)} 条;${e.marked ? `已隐退女优的 ${lX(e.marked)} 条留作不可点的记录;` : ""}保留 ${lX(e.recovered)} 条未确认失效的链接。`;-function Owe(e) {+})), sX = (e) => Number(e || 0).toLocaleString(), kwe = (e) => `已删除 ${sX(e.removed)} 条;${e.marked ? `已隐退女优的 ${sX(e.marked)} 条留作不可点的记录;` : ""}保留 ${sX(e.recovered)} 条未确认失效的链接。`;+function Awe(e) {let t = e.scope === "retry";- return e.total ? `${t ? "已重验" : "已检查"} ${lX(e.checked)} / ${lX(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";+ return e.total ? `${t ? "已重验" : "已检查"} ${sX(e.checked)} / ${sX(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}// src/configuration-endpoints.ts-var uX = "/api/configuration", dX = "/api/pick-folder", fX = "/api/settings", pX = "/api/follow/schedule", mX = "/api/feeds/schedule", hX = "/api/thumbnail-jobs", gX = ["settings"], _X = ["follow-schedule"], vX = ["feed-schedule"], yX = ["thumbnail-jobs"], bX = "/api/media-processing", kwe = ["media-processing"], Awe = (e) => B(bX, e), xX = (e) => B(fX, e), jwe = (e) => B(pX, e), Mwe = (e) => B(mX, e), Nwe = (e) => B(hX, e);-function Pwe(e = H) {+var cX = "/api/configuration", lX = "/api/pick-folder", uX = "/api/settings", dX = "/api/follow/schedule", fX = "/api/feeds/schedule", pX = "/api/thumbnail-jobs", mX = ["settings"], hX = ["follow-schedule"], gX = ["feed-schedule"], _X = ["thumbnail-jobs"], vX = "/api/media-processing", jwe = ["media-processing"], Mwe = (e) => B(vX, e), yX = (e) => B(uX, e), Nwe = (e) => B(dX, e), Pwe = (e) => B(fX, e), Fwe = (e) => B(pX, e);+function Iwe(e = H) {return e.fetchQuery({- queryKey: gX,- queryFn: ({ signal: e }) => xX(e),+ queryKey: mX,+ queryFn: ({ signal: e }) => yX(e),staleTime: 0}).catch(() => null);}-function SX() {+function bX() {return Ft({- mutationFn: (e) => V(fX, e),- onSuccess: (e) => H.setQueryData(gX, e)+ mutationFn: (e) => V(uX, e),+ onSuccess: (e) => H.setQueryData(mX, e)});}-function Fwe() {+function Lwe() {return Ft({- mutationFn: (e) => V(pX, {+ mutationFn: (e) => V(dX, {enabled: e > 0,interval_minutes: e || 60}),- onSuccess: (e) => H.setQueryData(_X, e)+ onSuccess: (e) => H.setQueryData(hX, e)});}-var Iwe = {+var Rwe = {follow: {- url: `${pX}/run`,- key: _X+ url: `${dX}/run`,+ key: hX},feed: {- url: `${mX}/run`,- key: vX+ url: `${fX}/run`,+ key: gX}};-function Lwe(e) {- let { url: t, key: n } = Iwe[e];+function zwe(e) {+ let { url: t, key: n } = Rwe[e];return Ft({mutationFn: () => V(t, {}),onSuccess: (e) => H.setQueryData(n, e)});}-var Rwe = (e) => e?.running ? 3e3 : !1;-function zwe() {+var Bwe = (e) => e?.running ? 3e3 : !1;+function Vwe() {return Ft({- mutationFn: (e) => V(hX, { mode: e }),- onSuccess: (e) => H.setQueryData(yX, e)+ mutationFn: (e) => V(pX, { mode: e }),+ onSuccess: (e) => H.setQueryData(_X, e)});}// src/react/data-cleanup/organize.ts-var Bwe = "/api/organize", Vwe = "/api/organize/preview", Hwe = "/api/organize/apply", Uwe = "/api/organize/rollback", CX = ["organize"], Wwe = "/api/organize/example", Gwe = (e, t, n) => B(`${Wwe}?${new URLSearchParams({+var Hwe = "/api/organize", Uwe = "/api/organize/preview", Wwe = "/api/organize/apply", Gwe = "/api/organize/rollback", xX = ["organize"], Kwe = "/api/organize/example", qwe = (e, t, n) => B(`${Kwe}?${new URLSearchParams({file_template: e,dir_template: t-})}`, n), wX = (e) => B(Bwe, e);-async function Kwe(e) {+})}`, n), SX = (e) => B(Hwe, e);+async function Jwe(e) {await H.fetchQuery({- queryKey: CX,- queryFn: () => wX(e)+ queryKey: xX,+ queryFn: () => SX(e)});}-var qwe = (e) => V(Vwe, e), Jwe = (e) => V(dX, { initial: e }), Ywe = (e) => e.kind === "apply" ? V(Hwe, {+var Ywe = (e) => V(Uwe, e), Xwe = (e) => V(lX, { initial: e }), Zwe = (e) => e.kind === "apply" ? V(Wwe, {...e.request,confirm: !0-}) : V(Uwe, { confirm: !0 });-async function Xwe(e) {- H.setQueryData(CX, (t) => t && {+}) : V(Gwe, { confirm: !0 });+async function Qwe(e) {+ H.setQueryData(xX, (t) => t && {...t,templates: e});try {- await V(fX, { organizeTemplates: e });+ await V(uX, { organizeTemplates: e });} catch {}}-var Zwe = (e, t) => e && {+var $we = (e, t) => e && {...e,...t-}, Qwe = /目录模板|分隔符|盘符|`\.`/;-function $we(e) {+}, eTe = /目录模板|分隔符|盘符|`\.`/;+function tTe(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}-var TX = (e) => Number(e || 0).toLocaleString();-function eTe(e) {- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${TX(t)}`).join(" · ");- return Number(e.counts?.change || 0) ? `${TX(e.counts.change)} 个文件会改名或移动,${TX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;+var CX = (e) => Number(e || 0).toLocaleString();+function nTe(e) {+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${CX(t)}`).join(" · ");+ return Number(e.counts?.change || 0) ? `${CX(e.counts.change)} 个文件会改名或移动,${CX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;}-function tTe(e) {+function rTe(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {- text: t ? `已退回 ${TX(r)} 个文件${n ? `,${TX(n)} 行未能退回` : ""}。` : `已整理 ${TX(r)} 个文件${n ? `,${TX(n)} 行未能处理` : ""}。`,+ text: t ? `已退回 ${CX(r)} 个文件${n ? `,${CX(n)} 行未能退回` : ""}。` : `已整理 ${CX(r)} 个文件${n ? `,${CX(n)} 行未能处理` : ""}。`,failed: n,rollback: t};}// src/react/data-cleanup/orphan-records.ts-var nTe = "/api/orphan-records", rTe = "/api/orphan-records/attach", EX = ["orphan-records"], iTe = [+var iTe = "/api/orphan-records", aTe = "/api/orphan-records/attach", wX = ["orphan-records"], oTe = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], DX = (e) => B(nTe, e), aTe = (e, t) => V(rTe, {+], TX = (e) => B(iTe, e), sTe = (e, t) => V(aTe, {id: e,target: t-}), oTe = (e) => V(jY, {+}), cTe = (e) => V(kY, {ids: Array.isArray(e) ? e : [e],operation: "delete"-}), sTe = (e) => [+}), lTe = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], cTe = (e) => [...iTe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...sTe(e)].filter(Boolean).join(" · "), lTe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", uTe = (e) => [e.name, lTe(e.duration)].filter(Boolean).join(" · "), OX = "/api/resource-sync/scan", kX = "/api/resource-sync/apply", AX = ["resource-sync", "scan"], jX = ["resource-sync", "apply"], MX = (e) => V(OX, {+], uTe = (e) => [...oTe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...lTe(e)].filter(Boolean).join(" · "), dTe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", fTe = (e) => [e.name, dTe(e.duration)].filter(Boolean).join(" · "), EX = "/api/resource-sync/scan", DX = "/api/resource-sync/apply", OX = ["resource-sync", "scan"], kX = ["resource-sync", "apply"], AX = (e) => V(EX, {background: !0,status_only: !0-}, "POST", e), dTe = () => V(OX, {+}, "POST", e), pTe = () => V(EX, {background: !0,restart: !0-}), NX = (e) => B(kX, e), fTe = (e) => V(kX, {+}), jX = (e) => B(DX, e), mTe = (e) => V(DX, {confirm: !0,clean_cache: !0,scan_id: e,background: !0-}), PX = (e) => (e?.sources ?? []).some((e) => gn.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);-async function pTe(e) {- PX(H.getQueryData(vr)) && await Promise.all([H.fetchQuery({- queryKey: AX,- queryFn: () => MX(e)+}), MX = (e) => (e?.sources ?? []).some((e) => gn.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);+async function hTe(e) {+ MX(H.getQueryData(vr)) && await Promise.all([H.fetchQuery({+ queryKey: OX,+ queryFn: () => AX(e)}), H.fetchQuery({- queryKey: jX,- queryFn: () => NX(e)+ queryKey: kX,+ queryFn: () => jX(e)})]);}-var mTe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), FX = (e) => Number(e || 0).toLocaleString(), hTe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", IX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), LX = (e) => e.vanish ? `${FX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", RX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", gTe = (e) => `将永久删除文件已不在盘上的 ${FX(IX(e))} 条记录和 ${FX(e.empty)} 个空文件夹,并清理 ${FX(e.cache?.files)} 个闲置缓存。${RX(e)}${LX(e)}`, _Te = (e) => `将永久删除文件已不在盘上的 ${FX(IX(e))} 条记录(含回收站里的)、${FX(e.empty)} 个空文件夹,并清理 ${FX(e.cache?.files)} 个闲置缓存。来源根目录保留。${RX(e)}${LX(e)}`, vTe = (e) => e.online ? [- `找不到文件 · 共 ${FX(e.total)} 项`,- e.vanish ? `${FX(e.vanish)} 项带个人记录` : "",- e.empty ? `空文件夹 ${FX(e.empty)} 个` : ""-].filter(Boolean).join(" · ") : `馆藏中有 ${FX(e.total)} 项`;-function zX(e) {+var gTe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), NX = (e) => Number(e || 0).toLocaleString(), _Te = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", PX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), FX = (e) => e.vanish ? `${NX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", IX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", vTe = (e) => `将永久删除文件已不在盘上的 ${NX(PX(e))} 条记录和 ${NX(e.empty)} 个空文件夹,并清理 ${NX(e.cache?.files)} 个闲置缓存。${IX(e)}${FX(e)}`, yTe = (e) => `将永久删除文件已不在盘上的 ${NX(PX(e))} 条记录(含回收站里的)、${NX(e.empty)} 个空文件夹,并清理 ${NX(e.cache?.files)} 个闲置缓存。来源根目录保留。${IX(e)}${FX(e)}`, bTe = (e) => e.online ? [+ `找不到文件 · 共 ${NX(e.total)} 项`,+ e.vanish ? `${NX(e.vanish)} 项带个人记录` : "",+ e.empty ? `空文件夹 ${NX(e.empty)} 个` : ""+].filter(Boolean).join(" · ") : `馆藏中有 ${NX(e.total)} 项`;+function LX(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 ? `${FX(t.length)} 条记录没有删除(${o})` : "",- n ? `${FX(n)} 个文件夹没有删除` : "",- r.length ? `${FX(r.length)} 个缓存没有清理` : ""+ t.length ? `${NX(t.length)} 条记录没有删除(${o})` : "",+ n ? `${NX(n)} 个文件夹没有删除` : "",+ r.length ? `${NX(r.length)} 个缓存没有清理` : ""].filter(Boolean).join(",")};}-var yTe = (e, t) => {- let { rest: n } = zX(e), r = `已永久删除 ${FX(e.purged)} 条失效记录和 ${FX(e.dirs_removed)} 个空文件夹,清理 ${FX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${FX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${FX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");+var xTe = (e, t) => {+ let { rest: n } = LX(e), r = `已永久删除 ${NX(e.purged)} 条失效记录和 ${NX(e.dirs_removed)} 个空文件夹,清理 ${NX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${NX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${NX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, BX = ["performer-delete-candidates"], VX = (e) => B("/api/performer/delete-candidates", e), bTe = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), xTe = (e) => V("/api/performer/delete", {+}, RX = ["performer-delete-candidates"], zX = (e) => B("/api/performer/delete-candidates", e), STe = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), CTe = (e) => V("/api/performer/delete", {entity_ids: e.entity_ids,plan: e.plan-}), STe = "/api/review?counts=1", HX = ["review", "counts"], CTe = "/api/ads?limit=1", UX = ["junk-summary"], WX = "/api/items?state=trash&limit=1", GX = ["trash-summary"], wTe = [+}), wTe = "/api/review?counts=1", BX = ["review", "counts"], TTe = "/api/ads?limit=1", VX = ["junk-summary"], HX = "/api/items?state=trash&limit=1", UX = ["trash-summary"], ETe = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], KX = (e) => B(STe, e), qX = (e) => B(CTe, e), JX = (e) => {+], WX = (e) => B(wTe, e), GX = (e) => B(TTe, e), KX = (e) => {let t = sessionStorage.getItem("peach.library");- return B(t ? `${WX}&library=${encodeURIComponent(t)}` : WX, e);-}, YX = (e) => Number(e || 0).toLocaleString();-function TTe(e) {- let t = WY, 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 B(t ? `${HX}&library=${encodeURIComponent(t)}` : HX, e);+}, qX = (e) => Number(e || 0).toLocaleString();+function DTe(e) {+ let t = HY, 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 ETe(e) {+function OTe(e) {if (!e) return "";- let t = wTe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${YX(e.counts[t])}`);- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${YX(e.dismissed_total)}`), t.join(" · ");-}-var DTe = [- [HX, ({ signal: e }) => KX(e)],- [BY, ({ signal: e }) => VY(e)],- [GX, ({ signal: e }) => JX(e)],- [UX, ({ signal: e }) => qX(e)],- [AY, ({ signal: e }) => MY(e)]+ let t = ETe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${qX(e.counts[t])}`);+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${qX(e.dismissed_total)}`), t.join(" · ");+}+var kTe = [+ [BX, ({ signal: e }) => WX(e)],+ [RY, ({ signal: e }) => zY(e)],+ [UX, ({ signal: e }) => KX(e)],+ [VX, ({ signal: e }) => GX(e)],+ [OY, ({ signal: e }) => AY(e)]];-async function OTe(e) {- for (let [t, n] of DTe) H.prefetchQuery({+async function ATe(e) {+ for (let [t, n] of kTe) H.prefetchQuery({queryKey: t,queryFn: () => n({ signal: e })});- await SH(e);+ await xH(e);}-async function kTe(e, t) {+async function jTe(e, t) {switch (e) {case "organize":- await Kwe(t);+ await Jwe(t);break;case "media-repair":- await UCe(t);+ await GCe(t);break;case "resource-sync":- await kY(t), await pTe(t);+ await DY(t), await hTe(t);break;case "orphan-records":await H.prefetchQuery({- queryKey: EX,- queryFn: () => DX(t)+ queryKey: wX,+ queryFn: () => TX(t)});break;case "batch-delete":await H.prefetchQuery({- queryKey: BX,- queryFn: () => VX(t)+ queryKey: RX,+ queryFn: () => zX(t)});break;case "links": await Promise.all([H.prefetchQuery({- queryKey: nX,- queryFn: () => oX(t)+ queryKey: eX,+ queryFn: () => iX(t)}),H.prefetchQuery({- queryKey: rX,- queryFn: () => sX(t)+ queryKey: tX,+ queryFn: () => aX(t)}),H.prefetchQuery({- queryKey: iX,- queryFn: () => cX(t)+ queryKey: nX,+ queryFn: () => oX(t)})]);}}// src/react/feed-new/feed-new.ts-var XX = (e) => ["feed-new", e ?? "home"], ATe = 8, jTe = 1500;-function MTe(e, t, n) {+var JX = (e) => ["feed-new", e ?? "home"], MTe = 8, NTe = 1500;+function PTe(e, t, n) {let r = document.createElement("template");r.innerHTML = e;let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {@@ -62315,33 +62315,33 @@ function MTe(e, t, n) {setTimeout(e, n);})]);}-async function NTe(e, t, n) {+async function FTe(e, t, n) {let r = new URLSearchParams({ limit: String(mM().value.feedLimit) });e && r.set("entity", String(e));let i = await wn(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);- return n && o.length && await MTe(s, ATe, jTe), {+ return n && o.length && await PTe(s, MTe, NTe), {items: o,html: s,fetching: o.some((e) => e.cover_fetching && !e.has_cover)};}-var ZX = (e, t, n = !1) => ({- queryKey: XX(e),- queryFn: () => NTe(e, t, n),+var YX = (e, t, n = !1) => ({+ queryKey: JX(e),+ queryFn: () => FTe(e, t, n),staleTime: Infinity,refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1-}), QX = (e, t) => wn("/api/feeds/discovery", {+}), XX = (e, t) => wn("/api/feeds/discovery", {method: "POST",body: JSON.stringify({action: t,ids: [e]})}).then(() => void 0, () => void 0);-async function PTe(e) {- H.removeQueries({ queryKey: XX(null) }), await H.fetchQuery(ZX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));+async function ITe(e) {+ H.removeQueries({ queryKey: JX(null) }), await H.fetchQuery(YX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}// src/react/entity-page/entity-page.ts-var $X = [+var ZX = ["loc","creator","tag",@@ -62355,52 +62355,52 @@ var $X = ["browse","folder","folder_recursive"-], eZ = {+], QX = {media: "videos",set: 0-}, tZ = (e, t) => [+}, $X = (e, t) => ["entity",e,t-], FTe = (e, t, n, r) => [+], LTe = (e, t, n, r) => ["entity-items",e,t,n,r-], nZ = (e, t, n, r) => [+], eZ = (e, t, n, r) => ["entity-photos",e,t,n,r-], rZ = (e) => String(e || "").split(",").filter(Boolean), ITe = (e, t) => rZ(e).includes(t);-function iZ(e, t, n, r, i = 0) {+], tZ = (e) => String(e || "").split(",").filter(Boolean), RTe = (e, t) => tZ(e).includes(t);+function nZ(e, t, n, r, i = 0) {let a = new URLSearchParams();- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...rZ(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 $X) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...tZ(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");+ for (let t of ZX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);return r.jav && a.set("jav", "1"), a;}-async function aZ(e, t, n, r, i, a, o) {- let s = iZ(e, t, n, r, i);+async function rZ(e, t, n, r, i, a, o) {+ let s = nZ(e, t, n, r, i);return o && (s.set("limit", String(o.limit)), s.delete("count"), o.sort && s.set("sort", o.sort), o.dir && s.set("dir", o.dir)), await wn(`/api/items?${s}`, a ? { signal: a } : {});}-var oZ = (e) => {+var iZ = (e) => {let t = {jav: e.jav,seed: e.seed- }, n = iZ(e.kind, e.name, e.filters, t).toString();+ }, n = nZ(e.kind, e.name, e.filters, t).toString();return {- queryKey: FTe(e.kind, e.name, n, e.revision),- queryFn: ({ signal: n }) => aZ(e.kind, e.name, e.filters, t, 0, n),+ queryKey: LTe(e.kind, e.name, n, e.revision),+ queryFn: ({ signal: n }) => rZ(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};-}, sZ = (e, t) => ({- queryKey: tZ(e, t),+}, aZ = (e, t) => ({+ queryKey: $X(e, t),queryFn: ({ signal: n }) => wn(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});-function LTe(e, t, n, r, i, a) {+function zTe(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)}` : ""}`;@@ -62409,10 +62409,10 @@ function LTe(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 cZ = (e, t, n, r) => ({- queryKey: nZ(e, t, n, r),+var oZ = (e, t, n, r) => ({+ queryKey: eZ(e, t, n, r),queryFn: async ({ pageParam: i }) => {- let a = await wn(LTe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {+ let a = await wn(zTe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;return { error: String(e) };});@@ -62425,8 +62425,8 @@ var cZ = (e, t, n, r) => ({seed: t[0]?.seed || ""} : void 0,staleTime: Infinity-}), lZ = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];-async function RTe(e) {+}), sZ = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];+async function BTe(e) {let { kind: t, name: n } = e;if (!e.restoreNavigation) for (let e of ["entity",@@ -62437,25 +62437,25 @@ async function RTe(e) {t,n] });- e.resolvedEntity?.id && H.setQueryData(tZ(t, n), e.resolvedEntity), await Promise.all([- H.fetchQuery(sZ(t, n)).then((t) => !t || t.error || !t.id ? null : (e.restoreNavigation || H.removeQueries({ queryKey: XX(Number(t.id)) }), H.fetchQuery(ZX(Number(t.id), e.helpers.feedRowHtml, !0)))),- H.fetchQuery(oZ(e)),- H.fetchInfiniteQuery(cZ(t, n, 0, "")),- e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(cZ(t, n, e.media.set, "")) : null+ e.resolvedEntity?.id && H.setQueryData($X(t, n), e.resolvedEntity), await Promise.all([+ H.fetchQuery(aZ(t, n)).then((t) => !t || t.error || !t.id ? null : (e.restoreNavigation || H.removeQueries({ queryKey: JX(Number(t.id)) }), H.fetchQuery(YX(Number(t.id), e.helpers.feedRowHtml, !0)))),+ H.fetchQuery(iZ(e)),+ H.fetchInfiniteQuery(oZ(t, n, 0, "")),+ e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(oZ(t, n, e.media.set, "")) : null]);}// src/identity-filter.ts-var uZ = [+var cZ = [["all", "全部"],["japanese_av", "女优"],["amateur", "素人"],["western", "西方"],["blogger", "网黄博主"],["animation", "动画作者"]-], dZ = "mb-4 flex flex-wrap gap-2";-function zTe(e) {- let t = uZ.some(([t]) => t === e) ? e : "all";- return `<div class="peach-react"><div aria-label="身份分类" class="${dZ}">${uZ.map(([e, n]) => Ds({+], lZ = "mb-4 flex flex-wrap gap-2";+function VTe(e) {+ let t = cZ.some(([t]) => t === e) ? e : "all";+ return `<div class="peach-react"><div aria-label="身份分类" class="${lZ}">${cZ.map(([e, n]) => Ds({variant: e === t ? "primary" : "secondary",size: "small",label: n,@@ -62463,45 +62463,45 @@ function zTe(e) {})).join("")}</div></div>`;}// src/react/follow/online-vocab.ts-var BTe = "/api/follow/authors", VTe = "/api/follow/tags", HTe = (e) => [+var HTe = "/api/follow/authors", UTe = "/api/follow/tags", WTe = (e) => ["follow","authors",e-], UTe = (e, t) => [+], GTe = (e, t) => ["follow","tags",e,t];-function WTe(e, t, n) {+function KTe(e, t, n) {let r = new URLSearchParams({limit: String(t),offset: String(n)});- return e && r.set("q", e), `${BTe}?${r}`;+ return e && r.set("q", e), `${HTe}?${r}`;}-function GTe(e, t, n, r) {+function qTe(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), `${VTe}?${i}`;+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${UTe}?${i}`;}-var KTe = (e, t, n, r) => B(WTe(e, t, n), r), qTe = (e, t, n, r, i) => B(GTe(e, t, n, r), i), JTe = "/api/index", fZ = {+var JTe = (e, t, n, r) => B(KTe(e, t, n), r), YTe = (e, t, n, r, i) => B(qTe(e, t, n, r), i), XTe = "/api/index", uZ = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",series: "系列",tags: "标签"-}, YTe = {+}, ZTe = {performers: "performer",creators: "creator",studios: "studio",agencies: "agency",series: "series"-}, pZ = [+}, dZ = [["all", "全部"],["meta", "影片属性"],["relationship", "人物关系"],@@ -62511,31 +62511,31 @@ var KTe = (e, t, n, r) => B(WTe(e, t, n), r), qTe = (e, t, n, r, i) => B(GTe(e,["story", "故事剧情"],["position", "性交体位"],["general", "其他内容"]-], mZ = [+], fZ = [["all", "全部"],["general", "通用"],["artist", "创作者"],["character", "角色"],["copyright", "作品"],["metadata", "元数据"]-], hZ = {+], pZ = {people: 120,tags: 100-}, gZ = (e) => e !== "tags", _Z = (e) => e === "studios" || e === "agencies";-function vZ(e) {- if (e.kind === "creators" && e.category === "animation") return vZ({+}, mZ = (e) => e !== "tags", hZ = (e) => e === "studios" || e === "agencies";+function gZ(e) {+ if (e.kind === "creators" && e.category === "animation") return gZ({...e,kind: "performers",scope: "local"});- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? mZ : pZ : e.kind === "performers" && t === "local" ? uZ : []).some(([t]) => t === e.category);+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? fZ : dZ : e.kind === "performers" && t === "local" ? cZ : []).some(([t]) => t === e.category);return {...e,scope: t,category: n ? e.category : "all"};}-function yZ(e) {+function _Z(e) {let { kind: t, q: n, scope: r, category: i } = e;return t === "tags" ? r === "online" ? {what: "online-tags",@@ -62555,50 +62555,50 @@ function yZ(e) {...i && i !== "all" ? { category: i } : {}};}-var bZ = (e, t, n = "all") => [+var vZ = (e, t, n = "all") => ["index",e,t,...e === "tags" || n !== "all" ? [n] : []];-function xZ(e, t, n, r, i) {+function yZ(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), `${JTe}?${a}`;+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${XTe}?${a}`;}-function SZ(e, t = hZ.tags) {- let n = e.what === "people" || e.what === "online-authors" ? hZ.people : t, r = {+function bZ(e, t = pZ.tags) {+ let n = e.what === "people" || e.what === "online-authors" ? pZ.people : t, r = {initialPageParam: 0,getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0};switch (e.what) {case "people": return {...r,- queryKey: bZ(e.kind, e.q, e.category || "all"),- queryFn: ({ pageParam: t, signal: r }) => B(xZ(e.kind, e.q, e.category || "all", n, t), r)+ queryKey: vZ(e.kind, e.q, e.category || "all"),+ queryFn: ({ pageParam: t, signal: r }) => B(yZ(e.kind, e.q, e.category || "all", n, t), r)};case "tags": return {...r,- queryKey: bZ("tags", e.q, e.category),- queryFn: ({ pageParam: t, signal: r }) => B(xZ("tags", e.q, e.category, n, t), r)+ queryKey: vZ("tags", e.q, e.category),+ queryFn: ({ pageParam: t, signal: r }) => B(yZ("tags", e.q, e.category, n, t), r)};case "online-authors": return {...r,- queryKey: HTe(e.q),- queryFn: ({ pageParam: t, signal: r }) => KTe(e.q, n, t, r)+ queryKey: WTe(e.q),+ queryFn: ({ pageParam: t, signal: r }) => JTe(e.q, n, t, r)};case "online-tags": return {...r,- queryKey: UTe(e.q, e.category),- queryFn: ({ pageParam: t, signal: r }) => qTe(e.q, e.category, n, t, r)+ queryKey: GTe(e.q, e.category),+ queryFn: ({ pageParam: t, signal: r }) => YTe(e.q, e.category, n, t, r)};}}-async function XTe(e, t) {- let n = SZ(yZ(vZ(e)));+async function QTe(e, t) {+ let n = bZ(_Z(gZ(e)));await H.fetchInfiniteQuery({queryKey: n.queryKey,queryFn: ({ pageParam: e }) => n.queryFn({@@ -62610,20 +62610,20 @@ async function XTe(e, t) {staleTime: Infinity});}-var ZTe = (e) => e ? e.pages.flatMap((e) => e.items) : [], QTe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, CZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", $Te = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, eEe = {+var $Te = (e) => e ? e.pages.flatMap((e) => e.items) : [], eEe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, xZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", tEe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, nEe = {numeric: !0,sensitivity: "base"};-function wZ(e, t) {+function SZ(e, t) {let n = /* @__PURE__ */ new Map();- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", eEe))) {+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", nEe))) {let e = $n(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);a ? a.push(r) : n.set(i, [r]);}return [...n].sort(([e], [t]) => e.localeCompare(t, "zh-CN"));}// src/react/index/index-people.tsx-function TZ({ html: e, face: t, company: n, big: r }) {+function CZ({ html: e, face: t, company: n, big: r }) {let i = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");@@ -62635,18 +62635,18 @@ function TZ({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var tEe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", nEe = OV("rss");-function EZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {+var rEe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", iEe = DV("rss");+function wZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",...o,"data-index-cell": "",onClick: a,- className: HH({+ className: VH({radius: "plain",padding: "none",interactive: !0,- className: `${tEe} ${n ? "items-stretch text-left" : "items-center text-center"}`+ className: `${rEe} ${n ? "items-stretch text-left" : "items-center text-center"}`}),children: [r,@@ -62655,10 +62655,10 @@ function EZ({ name: e, readout: t, big: n, children: r, following: i, onPress: arole: "img","aria-label": "已订阅新作",className: "index-feed-mark absolute top-4 right-4 z-2 inline-flex",- children: /* @__PURE__ */ (0, I.jsx)(lW, {+ children: /* @__PURE__ */ (0, I.jsx)(cW, {variant: "caption",color: "soft",- children: /* @__PURE__ */ (0, I.jsx)(nEe, {})+ children: /* @__PURE__ */ (0, I.jsx)(iEe, {})})}) : null,/* @__PURE__ */ (0, I.jsx)("span", {@@ -62674,8 +62674,8 @@ function EZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a]});}-function DZ({ kind: e, items: t, layout: n, props: r }) {- let i = _Z(e) || e === "series";+function TZ({ kind: e, items: t, layout: n, props: r }) {+ let i = hZ(e) || e === "series";bL();let a = n === "big";return /* @__PURE__ */ (0, I.jsx)("div", {@@ -62684,16 +62684,16 @@ function DZ({ kind: e, items: t, layout: n, props: r }) {"data-cells": i ? "company" : "people",className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,children: t.map((t) => {- let n = t.entity_kind || YTe[e], o = r.personAvatar(t, n, a);- return /* @__PURE__ */ (0, I.jsx)(EZ, {+ let n = t.entity_kind || ZTe[e], o = r.personAvatar(t, n, a);+ return /* @__PURE__ */ (0, I.jsx)(wZ, {"data-k": t.k,"data-kind": n,name: tn(n, t.k, t.entity_id),- readout: `${$Te(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,+ readout: `${tEe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,big: a,following: t.following,onPress: () => r.openEntity(n, t.k),- children: /* @__PURE__ */ (0, I.jsx)(TZ, {+ children: /* @__PURE__ */ (0, I.jsx)(CZ, {html: o.html,face: o.face,company: i,@@ -62703,7 +62703,7 @@ function DZ({ kind: e, items: t, layout: n, props: r }) {})});}-function rEe({ items: e, layout: t, props: n }) {+function aEe({ items: e, layout: t, props: n }) {bL();let r = t === "big";return /* @__PURE__ */ (0, I.jsx)("div", {@@ -62711,7 +62711,7 @@ function rEe({ items: e, layout: t, props: n }) {"data-layout": t,"data-cells": "people",className: "index-grid-person gap-3",- children: e.map((e) => /* @__PURE__ */ (0, I.jsx)(EZ, {+ children: e.map((e) => /* @__PURE__ */ (0, I.jsx)(wZ, {"data-follow-author": e.key,"data-kind": "performer",name: tn("creator", e.k, e.entity_id),@@ -62720,7 +62720,7 @@ function rEe({ items: e, layout: t, props: n }) {onPress: () => {e.entity_id ? n.openEntity("creator", e.k) : e.held_by ? n.openEntity("creator", e.held_by) : n.openFollowAuthor(e.key);},- children: /* @__PURE__ */ (0, I.jsx)(TZ, {+ children: /* @__PURE__ */ (0, I.jsx)(CZ, {html: n.authorAvatar(e),company: !1,big: r@@ -62729,8 +62729,8 @@ function rEe({ items: e, layout: t, props: n }) {});}// src/board-tooltip.ts-var OZ = (e) => e.replace(/\s+/g, " ").trim();-function kZ(e) {+var EZ = (e) => e.replace(/\s+/g, " ").trim();+function DZ(e) {let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;for (; r = t.nextNode();) {let e = r.parentElement;@@ -62738,12 +62738,12 @@ function kZ(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 OZ(n);+ return EZ(n);}-function AZ(e) {+function OZ(e) {let t = e.getBoundingClientRect();if (t.width && t.height) {- if (e.matches("a") && kZ(e) && !jZ(e)) {+ if (e.matches("a") && DZ(e) && !kZ(e)) {let t = document.createRange();t.selectNodeContents(e);let n = t.getBoundingClientRect();@@ -62756,7 +62756,7 @@ function AZ(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 jZ(e) {+function kZ(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);@@ -62767,19 +62767,19 @@ function jZ(e) {}return !1;}-function iEe() {+function oEe() {let e = document.createElement("div");e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);let t = null, n = "", r = null, i, a, o = !1, s = () => e.hasAttribute("data-copy-key") && !!document.querySelector("[data-copy-bar]"), c = () => s() && (o || !!e.querySelector("[data-copy-inline],[contenteditable]") || !!document.querySelector("[data-copy-choice],[data-copy-bar][aria-busy=\"true\"]")), l = (t) => {- let n = AZ(t), r = e.getBoundingClientRect();+ let n = OZ(t), r = e.getBoundingClientRect();n && (e.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left + (n.width - r.width) / 2))}px`, e.style.top = `${n.top >= r.height + 16 ? n.top - r.height - 8 : Math.min(innerHeight - r.height - 8, n.bottom + 8)}px`);}, u = () => {clearTimeout(a), !c() && (clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, e.removeAttribute("data-copy-key"), t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null);}, d = (a, o) => {if (c() || !(a instanceof Element)) return;let d = a.closest("[title]");- (!t?.contains(a) || d && !d.contains(t)) && d && !d.closest(".vjs-control") && d.title.trim() && (u(), t = d, n = d.title, r = d.getAttribute("aria-describedby"), d.removeAttribute("title"), (kZ(d) !== OZ(n) || jZ(d)) && (i = setTimeout(() => {- if (t !== d || !d.isConnected || !AZ(d)) return;+ (!t?.contains(a) || d && !d.contains(t)) && d && !d.closest(".vjs-control") && d.title.trim() && (u(), t = d, n = d.title, r = d.getAttribute("aria-describedby"), d.removeAttribute("title"), (DZ(d) !== EZ(n) || kZ(d)) && (i = setTimeout(() => {+ if (t !== d || !d.isConnected || !OZ(d)) return;(d.closest("dialog[open]") ?? document.body).append(e), e.textContent = n;let i = d.getAttribute("data-tooltip-copy-key");i ? e.setAttribute("data-copy-key", i) : e.removeAttribute("data-copy-key"), e.style.pointerEvents = s() ? "auto" : "", e.hidden = !1, e.showPopover(), l(d), d.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" "));@@ -62804,32 +62804,32 @@ function iEe() {e.key === "Escape" && !c() && u();}), document.addEventListener("scroll", (n) => {if (!t || !us(n, t)) return;- let r = AZ(t);+ let r = OZ(t);t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && l(t) : u();}, !0), window.addEventListener("resize", u);}// src/board-controls.ts-function MZ(e) {+function AZ(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 NZ = /* @__PURE__ */ new WeakSet();-function aEe() {- if (NZ.has(document)) return;- NZ.add(document);+var jZ = /* @__PURE__ */ new WeakSet();+function sEe() {+ if (jZ.has(document)) return;+ jZ.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(MZ), sEe(e), oEe(e);+ e.querySelectorAll("input[type=range]").forEach(AZ), lEe(e), cEe(e);};e(document), new MutationObserver((t) => {- for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && MZ(t), e(t));+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && AZ(t), e(t));}).observe(document.body, {subtree: !0,childList: !0}), document.addEventListener("input", (e) => {- e.target instanceof HTMLInputElement && e.target.type === "range" && MZ(e.target);- }), iEe();+ e.target instanceof HTMLInputElement && e.target.type === "range" && AZ(e.target);+ }), oEe();}-function oEe(e) {+function cEe(e) {let t = ".ui-board-local-nav:not([data-section-nav])", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-tabs")) return;@@ -62853,15 +62853,15 @@ function oEe(e) {r.observe(e);});}-var PZ = /* @__PURE__ */ new Map();-function sEe(e) {+var MZ = /* @__PURE__ */ new Map();+function lEe(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 = PZ.get(n) ?? null, i = () => {+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = MZ.get(n) ?? null, i = () => {let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");if (!i || !i.offsetWidth) return;let a = {@@ -62870,7 +62870,7 @@ function sEe(e) {w: i.offsetWidth,h: i.offsetHeight};- Vc(t, r, a, "x"), r = a, PZ.set(n, a);+ Vc(t, r, a, "x"), r = a, MZ.set(n, a);};e.addEventListener("change", i);let a = new MutationObserver(i);@@ -62886,8 +62886,8 @@ function sEe(e) {});}// src/react/photo-lightbox/photo-lightbox.ts-var FZ = "/vendor/swiper/14.4.0/", IZ = null, cEe = () => IZ ??= Promise.all([new Promise((e, t) => {- let n = `${FZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);+var NZ = "/vendor/swiper/14.4.0/", PZ = null, uEe = () => PZ ??= Promise.all([new Promise((e, t) => {+ let n = `${NZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();return;@@ -62901,11 +62901,11 @@ var FZ = "/vendor/swiper/14.4.0/", IZ = null, cEe = () => IZ ??= Promise.all([nereturn;}let r = document.createElement("script");- r.src = `${FZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);+ r.src = `${NZ}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 IZ = null, e;+ throw PZ = null, e;});-function lEe(e, t, n) {+function dEe(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);@@ -62926,46 +62926,46 @@ function lEe(e, t, n) {}};}-var LZ = (e) => {+var FZ = (e) => {let t = Number(e) || 0;return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Yn(t)).replace(" ", "\xA0") : "大小未知";-}, uEe = (e) => e.asset?.name || e.name || "未命名图片";-function dEe(e, t) {+}, fEe = (e) => e.asset?.name || e.name || "未命名图片";+function pEe(e, t) {let n = e.asset;- if (n) return [tr[n.location ?? ""] || n.location || "来源未知", LZ(n.size)].join(" · ");+ if (n) return [tr[n.location ?? ""] || n.location || "来源未知", FZ(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";return [e.source || "在线图片",r,- e.size ? LZ(e.size) : ""+ e.size ? FZ(e.size) : ""].filter(Boolean).join(" · ");}// src/react/photo-lightbox/photo-lightbox-dialog.tsx-var RZ = null, zZ = null, fEe = 0;-function pEe() {- return zZ && RZ?.isConnected || (zZ?.unmount(), RZ = document.createElement("div"), RZ.className = "peach-react", RZ.dataset.photoLightboxHost = "", document.body.append(RZ), zZ = (0, Rt.createRoot)(RZ)), zZ;+var IZ = null, LZ = null, mEe = 0;+function hEe() {+ return LZ && IZ?.isConnected || (LZ?.unmount(), IZ = document.createElement("div"), IZ.className = "peach-react", IZ.dataset.photoLightboxHost = "", document.body.append(IZ), LZ = (0, Rt.createRoot)(IZ)), LZ;}-async function BZ(e, t, n) {+async function RZ(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {- r = await cEe();+ r = await uEe();} catch {window.open(t[e].src, "_blank", "noopener");return;}- let i = pEe();- (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(mEe, {+ let i = hEe();+ (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(gEe, {slides: t,index: e,Swiper: r,host: n ?? null- }, ++fEe)));+ }, ++mEe)));}-function VZ() {- zZ && (0, Lt.flushSync)(() => zZ.render(null));+function zZ() {+ LZ && (0, Lt.flushSync)(() => LZ.render(null));}-function mEe({ slides: e, index: t, Swiper: n, host: r }) {+function gEe({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, F.useId)(), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), [_, v] = (0, F.useState)(t), [y, b] = (0, F.useState)(100), [x, S] = (0, F.useState)({}), [C, w] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, F.useState)(!1), [k, A] = (0, F.useState)({at: t,text: ""@@ -63008,7 +63008,7 @@ function mEe({ slides: e, index: t, Swiper: n, host: r }) {v(this.activeIndex), i(this.activeIndex);} }});- i(t, 0), h.current = lEe(e, a, b);+ i(t, 0), h.current = dEe(e, a, b);let m = tl(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();};@@ -63025,13 +63025,13 @@ function mEe({ 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) : VZ());+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : zZ());};return document.addEventListener("keydown", x, !0), () => {document.removeEventListener("keydown", x, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");};}, []), (0, F.useLayoutEffect)(() => {- m.current && MZ(m.current);+ m.current && AZ(m.current);}, [y]);let j = e[_], M = j.asset ?? null, ee = async (e) => {if (!M || !r || e.getAttribute("aria-busy") === "true") return;@@ -63062,18 +63062,18 @@ function mEe({ slides: e, index: t, Swiper: n, host: r }) {"data-photo-lightbox": "","data-has-strip": i ? "" : void 0,onCancel: (e) => {- e.preventDefault(), VZ();+ e.preventDefault(), zZ();},onClick: (e) => {let t = e.target;- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && VZ();+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && zZ();},children: [/* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-photo-close": "","aria-label": "关闭",- onClick: VZ,+ onClick: zZ,dangerouslySetInnerHTML: { __html: R("x") }}),/* @__PURE__ */ (0, I.jsxs)("div", {@@ -63209,10 +63209,10 @@ function mEe({ slides: e, index: t, Swiper: n, host: r }) {id: `${a}-title`,"data-middle-truncate": "",tabIndex: -1,- children: uEe(j)+ children: fEe(j)}, _), /* @__PURE__ */ (0, I.jsx)("span", {"data-photo-detail-meta": "",- children: dEe(j, x[_])+ children: pEe(j, x[_])})]}),/* @__PURE__ */ (0, I.jsx)("button", {@@ -63250,41 +63250,41 @@ function mEe({ slides: e, index: t, Swiper: n, host: r }) {});}// src/react/entity-body/entity-body-page.tsx-function hEe(e) {- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(gEe, {+function _Ee(e) {+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(vEe, {roster: e.roster,props: e- }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(_Ee, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(bEe, {+ }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(yEe, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(SEe, {photos: e.photos,props: e}, e.photos.revision) : null;}-var HZ = hZ.people;-function gEe({ roster: e, props: t }) {+var BZ = pZ.people;+function vEe({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, F.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity- }), [n, r]), [a, o] = (0, F.useState)(HZ), s = (0, F.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, F.useCallback)(async () => {- o((e) => e + HZ);+ }), [n, r]), [a, o] = (0, F.useState)(BZ), s = (0, F.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, F.useCallback)(async () => {+ o((e) => e + BZ);}, []);- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(DZ, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(TZ, {kind: e.kind,items: s,layout: e.layout,props: i- }), a < e.people.length ? /* @__PURE__ */ (0, I.jsx)(DY, {+ }), a < e.people.length ? /* @__PURE__ */ (0, I.jsx)(TY, {entity: !0,load: c,enabled: () => !0}, a) : null] });}-function _Ee(e) {+function yEe(e) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-grid": "",- children: /* @__PURE__ */ (0, I.jsx)(QG, {+ children: /* @__PURE__ */ (0, I.jsx)(XG, {pending: !e.items,skeletonHtml: e.skeletonHtml,- children: e.items ? /* @__PURE__ */ (0, I.jsx)(TY, {+ children: e.items ? /* @__PURE__ */ (0, I.jsx)(CY, {mode: "entity",entityKey: e.listScope || `${e.kind}:${e.name}`,revision: e.revision,@@ -63306,33 +63306,33 @@ function _Ee(e) {})});}-var vEe = (e) => Array.from({ length: e.n }, (t, n) => ({+var bEe = (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 || "官方样张"-})), UZ = (e) => e.sample === !0, WZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, GZ = (e) => UZ(e) ? `/sample-thumb?${WZ(e)}` : `/photo-thumb?id=${e.id}`, yEe = (e) => UZ(e) ? {- src: `/sample-image?${WZ(e)}`,- thumb: GZ(e),+})), VZ = (e) => e.sample === !0, HZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, UZ = (e) => VZ(e) ? `/sample-thumb?${HZ(e)}` : `/photo-thumb?id=${e.id}`, xEe = (e) => VZ(e) ? {+ src: `/sample-image?${HZ(e)}`,+ thumb: UZ(e),name: e.name,asset: null,source: e.source} : {src: `/photo?id=${e.id}`,- thumb: GZ(e),+ thumb: UZ(e),name: e.name || "",asset: e};-function bEe({ photos: e, props: t }) {- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(vEe), ...e.items], [e]), [s, c] = (0, F.useState)(() => /* @__PURE__ */ new Set()), l = (0, F.useCallback)((e) => c((t) => {+function SEe({ photos: e, props: t }) {+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(bEe), ...e.items], [e]), [s, c] = (0, F.useState)(() => /* @__PURE__ */ new Set()), l = (0, F.useCallback)((e) => c((t) => {if (t.has(e)) return t;let n = new Set(t);return n.add(e), n;}), []), u = (0, F.useCallback)((e) => {- BZ(e, o.map(yEe), { revealSource: i.revealSource });- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(xEe, {+ RZ(e, o.map(xEe), { revealSource: i.revealSource });+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(CEe, {item: e,index: t,lost: s.has(t),@@ -63350,7 +63350,7 @@ function bEe({ photos: e, props: t }) {};}), h = p;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(KZ, {+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(WZ, {label: e.code,title: e.name,meta: [@@ -63362,7 +63362,7 @@ function bEe({ photos: e, props: t }) {...f,children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))})] }, e.code)),- m.length && e.total ? /* @__PURE__ */ (0, I.jsx)(KZ, {+ m.length && e.total ? /* @__PURE__ */ (0, I.jsx)(WZ, {label: "本地图片",meta: `${e.total.toLocaleString()} 张`}) : null,@@ -63371,14 +63371,14 @@ function bEe({ photos: e, props: t }) {"data-local-wall": "",children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))}),- e.hasMore ? /* @__PURE__ */ (0, I.jsx)(DY, {+ e.hasMore ? /* @__PURE__ */ (0, I.jsx)(TY, {entity: !0,load: i.loadMorePhotos,enabled: () => a?.() !== !1}, e.items.length) : null] });}-function KZ({ label: e, title: t, meta: n }) {+function WZ({ label: e, title: t, meta: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-photo-group": "",children: [@@ -63395,7 +63395,7 @@ function KZ({ label: e, title: t, meta: n }) {]});}-function xEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {+function CEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {let a = e.name ?? "";return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -63404,7 +63404,7 @@ function xEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {title: a,onClick: () => i(t),children: n ? null : /* @__PURE__ */ (0, I.jsx)("img", {- src: GZ(e),+ src: UZ(e),alt: a,loading: "lazy",decoding: "async",@@ -63414,9 +63414,9 @@ function xEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {});}// src/react/background-job.ts-var SEe = 2e3, CEe = (e) => e, wEe = (e, t) => t;-function qZ(e) {- let { queryKey: t, jobOf: n = CEe, withJob: r = wEe, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);+var wEe = 2e3, TEe = (e) => e, EEe = (e, t) => t;+function GZ(e) {+ let { queryKey: t, jobOf: n = TEe, withJob: r = EEe, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);(0, F.useEffect)(() => {l.current = e;});@@ -63425,7 +63425,7 @@ function qZ(e) {queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),refetchInterval: (e) => {let t = e.state.data;- return t !== void 0 && n(t)?.status === "running" ? SEe : i ?? !1;+ return t !== void 0 && n(t)?.status === "running" ? wEe : i ?? !1;}}), d = Ft({mutationFn: (e) => l.current.start(e),@@ -63449,13 +63449,13 @@ function qZ(e) {};}// src/react/follow-feed/follow-check.ts-var JZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);-function TEe(e, t) {- return t ? JZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];+var KZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);+function DEe(e, t) {+ return t ? KZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];}// src/react/follow-feed/follow-check-button.tsx-function EEe({ sources: e, report: t }) {- let n = JZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = qZ({+function OEe({ sources: e, report: t }) {+ let n = KZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = GZ({queryKey: Rr,queryFn: ({ signal: e }) => _i(e),start: (e) => bi(e),@@ -63469,20 +63469,20 @@ function EEe({ sources: e, report: t }) {children: [/* @__PURE__ */ (0, I.jsx)(J, {size: "small",disabled: !n.length,- ...AV(s),+ ...kV(s),onClick: () => {n.length && !s && (i(""), o.mutate(n));},children: "检查更新"- }), r ? /* @__PURE__ */ (0, I.jsx)(TV, {+ }), r ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",children: r}) : null]});}// src/react/follow-feed/follow-card.tsx-var DEe = (e) => Number(e) > 0;-function YZ({ name: e, actions: t, children: n, ...r }) {+var kEe = (e) => Number(e) > 0;+function qZ({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, I.jsx)("a", {...r,href: Nn("creator", e),@@ -63492,15 +63492,15 @@ function YZ({ name: e, actions: t, children: n, ...r }) {children: n});}-var XZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var JZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: DG(e) }+ dangerouslySetInnerHTML: { __html: TG(e) }});-function OEe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {+function AEe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {let [s, c] = (0, F.useState)(!1), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);return (0, F.useEffect)(() => {c(!1);- }, [o]), s ? /* @__PURE__ */ (0, I.jsx)(XZ, { provider: i }) : /* @__PURE__ */ (0, I.jsx)("img", {+ }, [o]), s ? /* @__PURE__ */ (0, I.jsx)(JZ, { provider: i }) : /* @__PURE__ */ (0, I.jsx)("img", {src: l ? t : e,alt: "",loading: "lazy",@@ -63519,8 +63519,8 @@ function OEe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a} : void 0});}-function kEe(e) {- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ha(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => hye(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? _a(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ya({+function jEe(e) {+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ha(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => _ye(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? _a(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ya({cover: p,coverFace: (f?.thumb_url ? f : u).face,stack: t.stack,@@ -63528,7 +63528,7 @@ function kEe(e) {limit: 9}), S = (0, F.useRef)(x.faces);S.current = x.faces;- let C = CK({+ let C = xK({load: async () => S.current,canFlip: () => S.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -63536,7 +63536,7 @@ function kEe(e) {w.current = C.onPointerLeave;let T = (0, F.useCallback)((e) => {e && (e._stopHover = () => w.current());- }, []), E = MG(u, n, i), D = OG(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = FG(u, i), j = PG(t, u), M = u.status === "saved", ee = (e) => {+ }, []), E = AG(u, n, i), D = EG(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = NG(u, i), j = MG(t, u), M = u.status === "saved", ee = (e) => {e.target.closest("[data-media-tag]") || (l.toggleSelection && (o || e.shiftKey || e.ctrlKey || e.metaKey) ? (e.preventDefault(), l.toggleSelection(u.id, e.shiftKey)) : l.openDetail(u.id));}, N = (e, t) => {e.stopPropagation(), t();@@ -63551,7 +63551,7 @@ function kEe(e) {"data-collection": x.isMix ? "" : void 0,"data-selected": a ? "" : void 0,onClick: ee,- onMouseDown: pK,+ onMouseDown: dK,onMouseEnter: C.onPointerEnter,onMouseLeave: C.onPointerLeave,children: [@@ -63565,7 +63565,7 @@ function kEe(e) {}), /* @__PURE__ */ (0, I.jsxs)("div", {"data-media-pic": "",children: [- p ? /* @__PURE__ */ (0, I.jsx)(OEe, {+ p ? /* @__PURE__ */ (0, I.jsx)(AEe, {src: p,fallback: m,width: _?.width,@@ -63573,7 +63573,7 @@ function kEe(e) {provider: O,onLearn: v,retryKey: e.retryKey- }, p) : /* @__PURE__ */ (0, I.jsx)(XZ, { provider: O }),+ }, p) : /* @__PURE__ */ (0, I.jsx)(JZ, { provider: O }),x.faces.length > 1 ? /* @__PURE__ */ (0, I.jsx)("div", {"data-mix-faces": "",hidden: !C.faces.length,@@ -63593,7 +63593,7 @@ function kEe(e) {"data-media-badge": "",title: u.provider_label || u.provider,"aria-label": `来源:${u.provider_label || u.provider}`,- dangerouslySetInnerHTML: { __html: DG(u.provider, u.provider_label) }+ dangerouslySetInnerHTML: { __html: TG(u.provider, u.provider_label) }}), j ? /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: j }@@ -63606,7 +63606,7 @@ function kEe(e) {},dangerouslySetInnerHTML: { __html: R("check") }}) : null,- DEe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {+ kEe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-duration": "",children: qn(u.duration)}) : null,@@ -63678,7 +63678,7 @@ function kEe(e) {/* @__PURE__ */ (0, I.jsxs)("div", {"data-media-meta": "",children: [- E.entityName ? /* @__PURE__ */ (0, I.jsx)(YZ, {+ E.entityName ? /* @__PURE__ */ (0, I.jsx)(qZ, {name: E.entityName,actions: l,"data-media-avatar": "",@@ -63697,12 +63697,12 @@ function kEe(e) {/* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-media-title": "",- dangerouslySetInnerHTML: { __html: NG(t, u) + z(D) }+ dangerouslySetInnerHTML: { __html: jG(t, u) + z(D) }}),/* @__PURE__ */ (0, I.jsxs)("div", {"data-follow-byline": "",children: [- E.entityName ? /* @__PURE__ */ (0, I.jsx)(YZ, {+ E.entityName ? /* @__PURE__ */ (0, I.jsx)(qZ, {name: E.entityName,actions: l,"data-follow-author": "",@@ -63715,8 +63715,8 @@ function kEe(e) {}),/* @__PURE__ */ (0, I.jsx)("time", {dateTime: u.published_at || "",- title: LG(u),- children: mye(u)+ title: FG(u),+ children: gye(u)}),E.credited ? /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-credit": "",@@ -63751,9 +63751,9 @@ function kEe(e) {]});}-var ZZ = (0, F.memo)(kEe);+var YZ = (0, F.memo)(jEe);// src/react/components/use-masonry-grid.ts-function AEe(e, t) {+function MEe(e, t) {let n = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {let t = n.current;@@ -63788,37 +63788,37 @@ function AEe(e, t) {}, [e, t]), n;}// src/react/follow-manage/manage-route.ts-var QZ = [+var XZ = [["list", "关注列表"],["add", "添加关注"],["tags", "标签管理"]-], $Z = QZ.map(([e]) => e);-function eQ(e) {+], ZZ = XZ.map(([e]) => e);+function QZ(e) {let t = new URLSearchParams(e), n = t.get("tab");return {- tab: $Z.find((e) => e === n) || "list",+ tab: ZZ.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 tQ(e) {+function $Z(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 nQ(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" : tQ({- tab: t || eQ(e).tab,+function eQ(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" : $Z({+ tab: t || QZ(e).tab,page: 1,sort: "",dir: ""});}// src/react/follow-feed/follow-feed-page.tsx-var rQ = () => /* @__PURE__ */ (0, I.jsx)("span", {+var tQ = () => /* @__PURE__ */ (0, I.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), jEe = OV("settings"), iQ = OV("chevron-down"), MEe = OV("history"), NEe = OV("arrow-up"), PEe = OV("arrow-down"), FEe = [[+}), NEe = DV("settings"), nQ = DV("chevron-down"), PEe = DV("history"), FEe = DV("arrow-up"), IEe = DV("arrow-down"), LEe = [["fixed","固定比例","layout-grid"@@ -63827,7 +63827,7 @@ var rQ = () => /* @__PURE__ */ (0, I.jsx)("span", {"瀑布流","columns-2"]];-function IEe(e, t, n) {+function REe(e, t, n) {return (0, F.useMemo)(() => {let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();a.forEach((e) => {@@ -63875,7 +63875,7 @@ function IEe(e, t, n) {n]);}-function LEe(e) {+function zEe(e) {let { view: t, seed: n, revision: r, actions: i } = e, a = It(na(t, r)), o = Pt({queryKey: ra,queryFn: ({ signal: e }) => ia(e)@@ -63883,7 +63883,7 @@ function LEe(e) {sources: s?.sources || [],aliases: s?.author_aliases || [],credentials: c- }), [s, c]), u = IEe(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;+ }), [s, c]), u = REe(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;(0, F.useEffect)(() => {lm(() => location.pathname === "/follow", document.querySelector("#stats [data-filter-frame]"), { pending: d });}, [@@ -63917,10 +63917,10 @@ function LEe(e) {p,i]);- let m = zEe(e, !!s);+ let m = VEe(e, !!s);if (!s) return a.isError ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-follow-feed": "",- children: [/* @__PURE__ */ (0, I.jsx)(aQ, {}), /* @__PURE__ */ (0, I.jsx)(ZG, {+ children: [/* @__PURE__ */ (0, I.jsx)(rQ, {}), /* @__PURE__ */ (0, I.jsx)(YG, {message: bn(a.error),onRetry: () => void a.refetch()})]@@ -63933,7 +63933,7 @@ function LEe(e) {author: u.author,provider: u.provider}, {- authors: new Map([...u.authorSources].map(([e, t]) => [e, kG(t, l)])),+ authors: new Map([...u.authorSources].map(([e, t]) => [e, DG(t, l)])),providers: u.providers,works: u.workNames}), _ = t.status ? u.counts[t.status] || 0 : u.allCount, v = u.sources.some((e) => e.can_backfill);@@ -63942,7 +63942,7 @@ function LEe(e) {ref: m.host,"data-follow-progress": ""}, m.generation),- !m.busy && m.report ? /* @__PURE__ */ (0, I.jsx)(TV, {+ !m.busy && m.report ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "neutral",title: "检查结果",children: m.report@@ -63951,7 +63951,7 @@ function LEe(e) {"data-follow-feed": "","data-select-mode": e.selectMode ? "" : void 0,children: [- /* @__PURE__ */ (0, I.jsx)(aQ, { children: u.sources.length ? /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(rQ, { children: u.sources.length ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "primary","data-follow-recheck": "","aria-label": "检查每个来源的更新",@@ -63962,20 +63962,20 @@ function LEe(e) {dangerouslySetInnerHTML: { __html: zs("检查中") }}) : "检查更新"}) : null }),- /* @__PURE__ */ (0, I.jsx)(BEe, {+ /* @__PURE__ */ (0, I.jsx)(HEe, {facets: u,pressed: u.author,context: l,props: e,onPick: (e) => h({ author: u.author === e ? "" : e })}),- /* @__PURE__ */ (0, I.jsx)(VEe, {+ /* @__PURE__ */ (0, I.jsx)(UEe, {rows: u.workRows,pressed: t.work,props: e,onPick: (e) => h({ work: t.work === e ? "" : e })}),- /* @__PURE__ */ (0, I.jsx)(HEe, {+ /* @__PURE__ */ (0, I.jsx)(WEe, {facets: u,view: t,total: _,@@ -63983,7 +63983,7 @@ function LEe(e) {props: e,route: h}),- /* @__PURE__ */ (0, I.jsx)(UEe, {+ /* @__PURE__ */ (0, I.jsx)(GEe, {conditions: g,onDrop: (e) => i.route(Ta(t, e)),onClear: () => h({@@ -63995,8 +63995,8 @@ function LEe(e) {durMax: 0})}),- u.broken.length ? /* @__PURE__ */ (0, I.jsx)(WEe, { count: u.broken.length }) : null,- /* @__PURE__ */ (0, I.jsx)(GEe, {+ u.broken.length ? /* @__PURE__ */ (0, I.jsx)(KEe, { count: u.broken.length }) : null,+ /* @__PURE__ */ (0, I.jsx)(qEe, {retryKey: a.dataUpdatedAt,pending: d,facets: u,@@ -64019,14 +64019,14 @@ function LEe(e) {"data-follow-pagination": "",children: [s.has_more ? /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-page-action": "",- children: s.groups.length < 500 ? /* @__PURE__ */ (0, I.jsxs)(DY, {+ children: s.groups.length < 500 ? /* @__PURE__ */ (0, I.jsxs)(TY, {entity: !0,enabled: () => !m.busyRef.current,load: async () => {await a.fetchNextPage({ throwOnError: !0 });},- children: [/* @__PURE__ */ (0, I.jsx)(iQ, { className: "size-(--icon-inline)" }), "加载更多"]- }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(REe, {+ children: [/* @__PURE__ */ (0, I.jsx)(nQ, { className: "size-(--icon-inline)" }), "加载更多"]+ }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(BEe, {busy: a.isFetchingNextPage,error: a.isFetchNextPageError ? bn(a.error) : "",load: () => {@@ -64037,7 +64037,7 @@ function LEe(e) {"data-follow-page-action": "",children: [/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- leadingIcon: m.olderBusy ? void 0 : MEe,+ leadingIcon: m.olderBusy ? void 0 : PEe,"data-follow-older": "","aria-busy": m.busy || void 0,onClick: () => void m.start(!0),@@ -64055,7 +64055,7 @@ function LEe(e) {})] });}-function aQ({ children: e }) {+function rQ({ children: e }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-follow-head": "",children: [/* @__PURE__ */ (0, I.jsx)("h2", {@@ -64065,28 +64065,28 @@ function aQ({ children: e }) {"data-follow-head-actions": "",children: [/* @__PURE__ */ (0, I.jsx)(FL, {variant: "secondary",- leadingIcon: jEe,+ leadingIcon: NEe,"data-follow-manage": "",- href: oQ(),+ href: iQ(),children: "管理关注"}), e]})]});}-function REe({ busy: e, error: t, load: n }) {+function BEe({ busy: e, error: t, load: n }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-entity-more": "","aria-busy": e || void 0,"aria-disabled": e || void 0,onClick: n,- children: [/* @__PURE__ */ (0, I.jsx)(iQ, { className: "size-(--icon-inline)" }), "加载更多"]- }), t ? /* @__PURE__ */ (0, I.jsx)(ZG, {+ children: [/* @__PURE__ */ (0, I.jsx)(nQ, { className: "size-(--icon-inline)" }), "加载更多"]+ }), t ? /* @__PURE__ */ (0, I.jsx)(YG, {message: t,onRetry: n}) : null] });}-function zEe(e, t) {+function VEe(e, t) {let { helpers: n, actions: r } = e, [i, a] = (0, F.useState)(0), [o, s] = (0, F.useState)(!1), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(""), [f, p] = (0, F.useState)(!1), m = (0, F.useRef)(!1), h = (0, F.useRef)(null), g = (0, F.useRef)({helpers: n,actions: r@@ -64148,12 +64148,12 @@ function zEe(e, t) {olderBusy: c === "older" || f && o};}-function BEe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {+function HEe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {let a = (0, F.useRef)(null);(0, F.useEffect)(() => {r.helpers.wireDrag(a.current);}, [r.helpers]);- let o = (t) => kG(e.authorSources.get(t) || [], n);+ let o = (t) => DG(e.authorSources.get(t) || [], n);return e.authorOrder.length ? /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-authors-bar": "",children: /* @__PURE__ */ (0, I.jsx)("div", {@@ -64161,14 +64161,14 @@ function BEe({ 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 = AG(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {+ let a = e.authorSources.get(n) || [], s = OG(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-follow-ring": "",- dangerouslySetInnerHTML: { __html: jG(a, o(n)) }+ dangerouslySetInnerHTML: { __html: kG(a, o(n)) }}), /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-name": "",children: o(n)})] });- return s ? /* @__PURE__ */ (0, I.jsx)(YZ, {+ return s ? /* @__PURE__ */ (0, I.jsx)(qZ, {name: s,actions: r.actions,"data-follow-author": n,@@ -64185,7 +64185,7 @@ function BEe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {})}) : null;}-function VEe({ rows: e, pressed: t, props: n, onPick: r }) {+function UEe({ rows: e, pressed: t, props: n, onPick: r }) {let i = (0, F.useRef)(null);return (0, F.useEffect)(() => {n.helpers.wireDrag(i.current);@@ -64206,7 +64206,7 @@ function VEe({ rows: e, pressed: t, props: n, onPick: r }) {}, e[0]))}) : null;}-function HEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {+function WEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {let { helpers: o, actions: s } = i, c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = NL(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = NL(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, F.useEffect)(() => {o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);@@ -64264,7 +64264,7 @@ function HEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {dangerouslySetInnerHTML: { __html: R(i) }}, e);})- }), /* @__PURE__ */ (0, I.jsx)(rQ, {})] }) : null, /* @__PURE__ */ (0, I.jsxs)("div", {+ }), /* @__PURE__ */ (0, I.jsx)(tQ, {})] }) : null, /* @__PURE__ */ (0, I.jsxs)("div", {ref: f,"data-entity-scroll": "",children: [/* @__PURE__ */ (0, I.jsxs)("div", {@@ -64284,7 +64284,7 @@ function HEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {t.status !== e && a({ status: e });},children: n- }, e)), v ? /* @__PURE__ */ (0, I.jsx)(rQ, {}) : null]+ }, e)), v ? /* @__PURE__ */ (0, I.jsx)(tQ, {}) : null]}), /* @__PURE__ */ (0, I.jsxs)("div", {ref: p,"data-entity-tags": "",@@ -64297,9 +64297,9 @@ function HEe({ 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: DG(t, n) }+ dangerouslySetInnerHTML: { __html: TG(t, n) }}, t)),- _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(rQ, {}) : null,+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(tQ, {}) : null,e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(kL, {"data-follow-tag": n,"data-entity-press": "",@@ -64323,18 +64323,18 @@ function HEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {busy: r})}),- /* @__PURE__ */ (0, I.jsx)(UV, {+ /* @__PURE__ */ (0, I.jsx)(HV, {currentHref: () => location.pathname + location.search,kind: "creator"}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, I.jsx)(GG, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(WG, {+ /* @__PURE__ */ (0, I.jsx)(UG, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(HG, {label: "图片布局",value: i.photoLayout,- options: FEe,+ options: LEe,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",@@ -64364,9 +64364,9 @@ function HEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {let n = xa(e, t.sort, t.dir);n && a(n);},- children: [n, r ? /* @__PURE__ */ (0, I.jsx)(SG, {- a: NEe,- b: PEe,+ children: [n, r ? /* @__PURE__ */ (0, I.jsx)(bG, {+ a: FEe,+ b: IEe,state: t.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]@@ -64377,7 +64377,7 @@ function HEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {] })});}-function UEe({ conditions: e, onDrop: t, onClear: n }) {+function GEe({ conditions: e, onDrop: t, onClear: n }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-combo": "","data-follow-combo": "",@@ -64402,21 +64402,21 @@ function UEe({ conditions: e, onDrop: t, onClear: n }) {})] }) : null});}-function WEe({ count: e }) {+function KEe({ count: e }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-broken": "",- dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(oQ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }+ dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(iQ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }});}-var oQ = () => nQ(window.location.search);-function GEe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {+var iQ = () => eQ(window.location.search);+function qEe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {let { view: s, helpers: c } = i, l = s.media === "images";return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-list-body": "",- children: /* @__PURE__ */ (0, I.jsx)(QG, {+ children: /* @__PURE__ */ (0, I.jsx)(XG, {pending: e,skeletonHtml: () => c.listSkeletonHtml(s.media),- children: e ? null : /* @__PURE__ */ (0, I.jsx)(KEe, {+ children: e ? null : /* @__PURE__ */ (0, I.jsx)(JEe, {facets: t,data: n,context: r,@@ -64428,29 +64428,29 @@ function GEe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a})});}-function KEe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {- let { view: s, actions: c } = r, l = cQ(r), u = i ? {+function JEe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {+ let { view: s, actions: c } = r, l = oQ(r), u = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)- } : {}, d = AEe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;+ } : {}, d = MEe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;return f = e.visible.length ? e.visible.map((t) => {let i = e.byId.get(t.primary?.source_id), o = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;- return /* @__PURE__ */ (0, I.jsx)(ZZ, {+ return /* @__PURE__ */ (0, I.jsx)(YZ, {group: t,authorSources: o,media: s.media,retryKey: a,context: n,- selected: r.selected.has(sQ(t, s)),+ selected: r.selected.has(aQ(t, s)),selectMode: r.selectMode,- busy: l.busy.get(sQ(t, s)) || "",- failure: l.failures.get(sQ(t, s)) || "",+ busy: l.busy.get(aQ(t, s)) || "",+ failure: l.failures.get(aQ(t, s)) || "",actions: c,onStatus: l.status,onSave: l.save}, `${u}:${s.media}`);- }) : /* @__PURE__ */ (0, I.jsx)(qEe, {+ }) : /* @__PURE__ */ (0, I.jsx)(YEe, {data: t,filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),checkAction: o,@@ -64473,16 +64473,16 @@ function KEe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,children: f});}-function sQ(e, t) {+function aQ(e, t) {return ha(e, t.media).id;}-function qEe({ data: e, filtered: t, clear: n, checkAction: r }) {+function YEe({ data: e, filtered: t, clear: n, checkAction: r }) {let i = !!e.groups.length || t, a = !!e.sources.length;return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, I.jsx)(EV, {- icon: OV(i ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, I.jsx)(TV, {+ icon: DV(i ? "search-x" : "rss"),title: i ? "当前筛选下没有更新" : a ? "还没有更新" : "还没有关注任何来源",actions: i ? /* @__PURE__ */ (0, I.jsx)(J, {size: "small",@@ -64497,12 +64497,12 @@ function qEe({ data: e, filtered: t, clear: n, checkAction: r }) {})});}-var JEe = {+var XEe = {new: "已恢复未看",seen: "已标记已看",ignored: "已忽略"};-function cQ(e) {+function oQ(e) {let { view: t, revision: n, actions: r } = e, [i, a] = (0, F.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, F.useState)(() => /* @__PURE__ */ new Map()), c = na(t, n).queryKey, l = (e, t, n) => n((n) => {let r = new Map(n);return t ? r.set(e, t) : r.delete(e), r;@@ -64525,7 +64525,7 @@ function cQ(e) {to: t}),onSuccess: (e, { id: t, to: n, was: i }) => {- u(t, n), d(), r.toast(JEe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ u(t, n), d(), r.toast(XEe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {await V(jr, {item: t,to: i@@ -64570,9 +64570,9 @@ function cQ(e) {};}// src/react/entity-body/entity-online.tsx-function YEe(e) {+function ZEe(e) {let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData;- return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(ZG, {+ return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(YG, {message: bn(t.error),onRetry: () => {t.refetch();@@ -64580,13 +64580,13 @@ function YEe(e) {}) : /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-list-body": "","data-entity-online": "",- children: /* @__PURE__ */ (0, I.jsxs)(QG, {+ children: /* @__PURE__ */ (0, I.jsxs)(XG, {pending: a,skeletonHtml: () => i.listSkeletonHtml(r),- children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(XEe, {+ children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(QEe, {...e,data: n- }), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(DY, {+ }), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(TY, {entity: !0,enabled: () => e.canLoadMore?.() !== !1,load: async () => {@@ -64596,8 +64596,8 @@ function YEe(e) {})});}-function XEe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {- let u = cQ({+function QEe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {+ let u = oQ({view: e,revision: 0,actions: c@@ -64615,7 +64615,7 @@ function XEe({ 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 = ha(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;- return /* @__PURE__ */ (0, I.jsx)(ZZ, {+ return /* @__PURE__ */ (0, I.jsx)(YZ, {group: e,authorSources: r && d.byAuthor.get(r) || [],media: t,@@ -64628,11 +64628,11 @@ function XEe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,onStatus: u.status,onSave: u.save}, `${e.primary.id}:${t}`);- }) : /* @__PURE__ */ (0, I.jsx)(ZEe, {+ }) : /* @__PURE__ */ (0, I.jsx)($Ee, {searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),clear: l,actions: c,- sources: TEe(n.sources || [], e.author)+ sources: DEe(n.sources || [], e.author)});return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-list": "",@@ -64641,18 +64641,18 @@ function XEe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,children: m});}-function ZEe({ searched: e, clear: t, actions: n, sources: r }) {+function $Ee({ searched: e, clear: t, actions: n, sources: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, I.jsx)(EV, {- icon: OV(e ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, I.jsx)(TV, {+ icon: DV(e ? "search-x" : "rss"),title: e ? "当前筛选下没有更新" : "还没有抓到更新",actions: e ? /* @__PURE__ */ (0, I.jsx)(J, {size: "small",onClick: t,children: "清除筛选"- }) : r.length ? /* @__PURE__ */ (0, I.jsx)(EEe, {+ }) : r.length ? /* @__PURE__ */ (0, I.jsx)(OEe, {sources: r,report: n.checkReport}) : /* @__PURE__ */ (0, I.jsx)(FL, {@@ -64664,7 +64664,7 @@ function ZEe({ searched: e, clear: t, actions: n, sources: r }) {})});}-function lQ(e) {+function sQ(e) {return {x0: 0,y0: 0,@@ -64672,7 +64672,7 @@ function lQ(e) {y1: e.height};}-function uQ(e) {+function cQ(e) {return {x0: Math.round(e.x0),y0: Math.round(e.y0),@@ -64680,40 +64680,40 @@ function uQ(e) {y1: Math.round(e.y1)};}-function dQ(e) {+function lQ(e) {return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;}-function fQ(e, t) {- if (!dQ(e)) return {+function uQ(e, t) {+ if (!lQ(e)) return {x0: 0,y0: 0,x1: 0,y1: 0};- if (t == null || !(t > 0)) return lQ(e);+ if (t == null || !(t > 0)) return sQ(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 uQ({+ return cQ({x0: i,y0: a,x1: i + n,y1: a + r});}-function QEe(e, t) {- if (!dQ(e) || !(t > 0)) return lQ(e);+function eDe(e, t) {+ if (!lQ(e) || !(t > 0)) return sQ(e);let n = Math.min(e.width, e.height * t);- return uQ({+ return cQ({x0: e.width - n,y0: 0,x1: e.width,y1: e.height});}-function $Ee(e, t, n) {- if (!dQ(t) || !(n > 0)) return lQ(t);- let r = pQ(e, t), i = fQ({+function tDe(e, t, n) {+ if (!lQ(t) || !(n > 0)) return sQ(t);+ let r = dQ(e, t), i = uQ({width: r.x1 - r.x0,height: r.y1 - r.y0}, n);@@ -64724,8 +64724,8 @@ function $Ee(e, t, n) {y1: r.y0 + i.y1};}-function pQ(e, t, n = null, r = "width") {- if (!dQ(t)) return {+function dQ(e, t, n = null, r = "width") {+ if (!lQ(t)) return {x0: 0,y0: 0,x1: 0,@@ -64734,43 +64734,43 @@ function pQ(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 uQ({+ return cQ({x0: s,y0: c,x1: s + a,y1: c + o});}-function mQ(e, t, n, r) {+function fQ(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 uQ({+ return cQ({x0: o,y0: s,x1: o + i,y1: s + a});}-function hQ(e, t, n, r = null) {- if (!dQ(n) || !(t > 0)) return e;+function pQ(e, t, n, r = null) {+ if (!lQ(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 pQ({+ return dQ({x0: i - o / 2,y0: a - s / 2,x1: i + o / 2,y1: a + s / 2}, n, r);}-function eDe(e, t, n, r, i = null) {+function nDe(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 pQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");+ return dQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}-function tDe(e, t) {- return dQ(t) ? {+function rDe(e, t) {+ return lQ(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,width: (e.x1 - e.x0) / t.width * 100,@@ -64782,8 +64782,8 @@ function tDe(e, t) {height: 0};}-function nDe(e, t) {- if (!dQ(t)) return {+function iDe(e, t) {+ if (!lQ(t)) return {size: "cover",position: "50% 50%"};@@ -64793,7 +64793,7 @@ function nDe(e, t) {position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`};}-function rDe(e, t) {+function aDe(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}%`,@@ -64802,15 +64802,15 @@ function rDe(e, t) {height: `${t.height / r * 100}%`};}-function gQ(e, t, n) {+function mQ(e, t, n) {return t > 0 ? e * n / t : 0;}-function iDe(e, t) {+function oDe(e, t) {return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;}// src/react/crop/crop-frame.tsx-var aDe = .02, _Q = 1.08;-function vQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {+var sDe = .02, hQ = 1.08;+function gQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, F.useRef)(null), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);(0, F.useEffect)(() => {u(!1);@@ -64829,8 +64829,8 @@ function vQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odx: 0,dy: 0} : {- dx: gQ(e, n.clientWidth, r.width),- dy: gQ(t, n.clientHeight, r.height)+ dx: mQ(e, n.clientWidth, r.width),+ dy: mQ(t, n.clientHeight, r.height)};}, [r]);function m(e) {@@ -64847,22 +64847,22 @@ function vQ({ 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(mQ(n.box, o.dx, o.dy, r)) : i(eDe(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(fQ(n.box, o.dx, o.dy, r)) : i(nDe(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) * aDe), o = {+ let a = Math.max(1, (n.x1 - n.x0) * sDe), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],ArrowDown: [0, a]};- o[e.key] ? (e.preventDefault(), i(mQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(hQ(n, e.key === "-" ? 1 / _Q : _Q, r, t)));+ o[e.key] ? (e.preventDefault(), i(fQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(pQ(n, e.key === "-" ? 1 / hQ : hQ, r, t)));}- let v = n && r ? tDe(pQ(n, r, t), r) : null, y = v ? iDe(v, d) : !1, b = v ? {+ let v = n && r ? rDe(dQ(n, r, t), r) : null, y = v ? oDe(v, d) : !1, b = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -64881,7 +64881,7 @@ function vQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odraggable: !1,onLoad: (e) => {let t = e.currentTarget;- dQ({+ lQ({width: t.naturalWidth,height: t.naturalHeight}) && a({@@ -64920,7 +64920,7 @@ function vQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oonPointerCancel: g,onKeyDown: _,onWheel: (e) => {- n && r && i(hQ(n, e.deltaY > 0 ? _Q : 1 / _Q, r, t));+ n && r && i(pQ(n, e.deltaY > 0 ? hQ : 1 / hQ, r, t));},className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",children: /* @__PURE__ */ (0, I.jsx)("span", {@@ -64942,13 +64942,13 @@ function vQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o});}// src/react/avatar-picker/avatar-picker.ts-var oDe = "/api/avatar-choices", yQ = "/api/avatar-pick", sDe = "/api/avatar-code-cover", bQ = "/api/avatar-frame", cDe = "/avatar-choice", xQ = (e, t) => [+var cDe = "/api/avatar-choices", _Q = "/api/avatar-pick", lDe = "/api/avatar-code-cover", vQ = "/api/avatar-frame", uDe = "/avatar-choice", yQ = (e, t) => ["avatar-choices",e,t-], SQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, CQ = (e, t, n, r = "") => `${cDe}${SQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), wQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", lDe = (e, t, n) => B(oDe + SQ(e, t), n), uDe = (e) => V(sDe, { code: e });-async function dDe(e, t, n) {- let r = await V(bQ, {+], bQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, xQ = (e, t, n, r = "") => `${uDe}${bQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), SQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", dDe = (e, t, n) => B(cDe + bQ(e, t), n), fDe = (e) => V(lDe, { code: e });+async function pDe(e, t, n) {+ let r = await V(vQ, {kind: e,id: t,ref: n.ref@@ -64961,12 +64961,12 @@ async function dDe(e, t, n) {bases: r.bases};}-var fDe = (e, t, n) => V(bQ, {+var mDe = (e, t, n) => V(vQ, {kind: e,id: t,url: n-}), pDe = (e, t, n) => TQ(`${bQ}${SQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);-async function TQ(e, t) {+}), hDe = (e, t, n) => CQ(`${vQ}${bQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);+async function CQ(e, t) {let n = await fetch(e, {method: "POST",credentials: "same-origin",@@ -64975,17 +64975,17 @@ async function TQ(e, t) {if (n.ok) return r;throw new or(r?.error || `请求失败(${n.status})`, n.status, r);}-function EQ(e, t, n) {+function wQ(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? $Ee(e.focus, t, n) : fQ(t, n);+ return e.focus && r ? tDe(e.focus, t, n) : uQ(t, n);}-var mDe = (e) => e.crop && dQ({+var gDe = (e) => e.crop && lQ({width: e.width,height: e.height});-async function hDe(e, t, n) {+async function _De(e, t, n) {if (!("file" in n)) {- await V(yQ, {+ await V(_Q, {kind: e,id: t,...n@@ -64998,19 +64998,19 @@ async function hDe(e, t, n) {i.x1,i.y1].join(",")}` : "";- await TQ(`${yQ}${SQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);+ await CQ(`${_Q}${bQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}-var DQ = 2;-function gDe(e, t) {+var TQ = 2;+function vDe(e, t) {if (!t) return e;let n = t.matched_names.filter((t) => t !== e);- return n.length ? `${e}:图库里按${`「${n.slice(0, DQ).join("」「")}」`}${n.length > DQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;+ return n.length ? `${e}:图库里按${`「${n.slice(0, TQ).join("」「")}」`}${n.length > TQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;}-var _De = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function vDe(e) {- return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${_De(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+var yDe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function bDe(e) {+ return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${yDe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var OQ = (e) => e.cast > 1, yDe = (e) => OQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, bDe = {+var EQ = (e) => e.cast > 1, xDe = (e) => EQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, SDe = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -65020,7 +65020,7 @@ var OQ = (e) => e.cast > 1, yDe = (e) => OQ(e) ? `${e.label}:${e.cast.toLocalesocial: "社媒头像",online: "在线作品"};-function xDe(e) {+function CDe(e) {if (e.startsWith("follow:")) {let t = e.split(":")[2];return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;@@ -65031,19 +65031,19 @@ function xDe(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var SDe = (e) => `${bDe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (OQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), CDe = 8, wDe = 3 / 4;-async function TDe(e, t, n) {+var wDe = (e) => `${SDe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (EQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), TDe = 8, EDe = 3 / 4;+async function DDe(e, t, n) {switch (n.via) {- case "choice": return { choice: await dDe(e, t, n.choice) };- case "code": return { choice: await uDe(n.code) };- case "url": return { choice: await fDe(e, t, n.url) };+ case "choice": return { choice: await pDe(e, t, n.choice) };+ case "code": return { choice: await fDe(n.code) };+ case "url": return { choice: await mDe(e, t, n.url) };case "file": return {- choice: await pDe(e, t, n.file),+ choice: await hDe(e, t, n.file),file: n.file};}}-function EDe({ kind: e, entityId: t, name: n, onPicked: r }) {+function ODe({ kind: e, entityId: t, name: n, onPicked: r }) {let [i, a] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "absolute right-1 bottom-1 z-10",@@ -65053,17 +65053,17 @@ function EDe({ kind: e, entityId: t, name: n, onPicked: r }) {"aria-label": `更换${n}的头像`,onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",- children: /* @__PURE__ */ (0, I.jsx)(Ehe, {+ children: /* @__PURE__ */ (0, I.jsx)(Dhe, {"aria-hidden": !0,className: "size-4"})})- }), /* @__PURE__ */ (0, I.jsx)(CV, {+ }), /* @__PURE__ */ (0, I.jsx)(SV, {isOpen: i,onOpenChange: a,width: "avatar-picker",label: "更换头像",- children: /* @__PURE__ */ (0, I.jsx)(DDe, {+ children: /* @__PURE__ */ (0, I.jsx)(kDe, {kind: e,entityId: t,name: n,@@ -65072,24 +65072,24 @@ function EDe({ kind: e, entityId: t, name: n, onPicked: r }) {})})] });}-function DDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, F.useRef)(null), o = tH(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = xQ(e, t), m = (0, F.useRef)(!1), h = Pt({+function kDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, F.useRef)(null), o = eH(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = yQ(e, t), m = (0, F.useRef)(!1), h = Pt({queryKey: p,- queryFn: ({ signal: n }) => lDe(e, t, n),+ queryFn: ({ signal: n }) => dDe(e, t, n),retryOnMount: !0,refetchOnMount: (e) => e.state.data?.index_stale ? "always" : !1,refetchInterval: (e) => e.state.data?.index_refreshing && !e.state.error ? 1e3 : !1});(0, F.useEffect)(() => () => {- m.current && H.removeQueries({ queryKey: xQ(e, t) });+ m.current && H.removeQueries({ queryKey: yQ(e, t) });}, [e, t]);let g = Ft({- mutationFn: (n) => hDe(e, t, n),+ mutationFn: (n) => _De(e, t, n),onSuccess: () => {m.current = !0, i(), r();}}), _ = Ft({- mutationFn: (n) => TDe(e, t, n),+ mutationFn: (n) => DDe(e, t, n),onMutate: () => {g.reset();},@@ -65110,11 +65110,11 @@ function DDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {crop: e.crop} : { file: n }) : g.mutate(e ?? { ref: t.ref });}- let x = h.data, S = x?.choices ?? [], C = (g.error ? cr(g.error) : "") || (!d && _.error ? cr(_.error) : "") || (h.error ? cr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : vDe(x), E = !!C && !!h.error && C === cr(h.error), D = h.isPending || S.length > 0;+ let x = h.data, S = x?.choices ?? [], C = (g.error ? cr(g.error) : "") || (!d && _.error ? cr(_.error) : "") || (h.error ? cr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : bDe(x), E = !!C && !!h.error && C === cr(h.error), D = h.isPending || S.length > 0;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, I.jsx)(wV, { children: /* @__PURE__ */ (0, I.jsx)(pV, { className: "size-6" }) }),+ /* @__PURE__ */ (0, I.jsx)(CV, { children: /* @__PURE__ */ (0, I.jsx)(fV, { className: "size-6" }) }),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [@@ -65124,25 +65124,25 @@ function DDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"- }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(lW, {+ }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(cW, {color: "soft",children: [S.length.toLocaleString(), " 张可选"]}) : null]}),/* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: d ? yDe(d.choice) : gDe(n, x)+ children: d ? xDe(d.choice) : vDe(n, x)}),- T ? /* @__PURE__ */ (0, I.jsx)(TV, {+ T ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "neutral",children: T}) : null,- C ? /* @__PURE__ */ (0, I.jsx)(TV, {+ C ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",action: E ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...AV(h.isFetching),+ ...kV(h.isFetching),onClick: () => {h.isFetching || h.refetch();},@@ -65153,13 +65153,13 @@ function DDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {]}),/* @__PURE__ */ (0, I.jsx)(CL, {- icon: VB,+ icon: BB,size: "small","aria-label": "关闭",onClick: i})]- }), d ? /* @__PURE__ */ (0, I.jsx)(kDe, {+ }), d ? /* @__PURE__ */ (0, I.jsx)(jDe, {kind: e,entityId: t,choice: d.choice,@@ -65179,7 +65179,7 @@ function DDe({ 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: CDe }, (e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {+ children: h.isPending ? Array.from({ length: TDe }, (e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {"aria-hidden": !0,"data-avatar-skeleton": !0,className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",@@ -65192,8 +65192,8 @@ function DDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {role: "option","data-avatar-choice": !0,"aria-selected": n.current,- title: SDe(n),- ...AV(w),+ title: wDe(n),+ ...kV(w),onClick: () => {w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({via: "choice",@@ -65202,8 +65202,8 @@ function DDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",children: [- /* @__PURE__ */ (0, I.jsx)(ODe, {- src: CQ(e, t, n.ref, wQ(n, n.ref)),+ /* @__PURE__ */ (0, I.jsx)(ADe, {+ src: xQ(e, t, n.ref, SQ(n, n.ref)),choice: n}),/* @__PURE__ */ (0, I.jsx)("span", {@@ -65212,15 +65212,15 @@ function DDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),n.current ? /* @__PURE__ */ (0, I.jsx)("span", {className: "absolute top-1 left-1",- children: /* @__PURE__ */ (0, I.jsx)(lW, {+ children: /* @__PURE__ */ (0, I.jsx)(cW, {variant: "caption",color: "gray",children: "在用"})}) : null,- OQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {+ EQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, I.jsxs)(lW, {+ children: /* @__PURE__ */ (0, I.jsxs)(cW, {variant: "caption",color: "gray",children: [n.cast.toLocaleString(), " 人"]@@ -65242,7 +65242,7 @@ function DDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},children: [/* @__PURE__ */ (0, I.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, I.jsx)(SV, {+ children: /* @__PURE__ */ (0, I.jsx)(xV, {"aria-label": "番号",placeholder: "番号,如 ABW-232",value: l,@@ -65252,7 +65252,7 @@ function DDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {type: "submit",variant: "secondary",disabled: !l.trim(),- ...AV(v("code")),+ ...kV(v("code")),children: "取封面来框"})]}), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -65261,7 +65261,7 @@ function DDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",onClick: () => a.current?.click(),- ...AV(v("file")),+ ...kV(v("file")),children: "从本机选图片"}),/* @__PURE__ */ (0, I.jsx)("input", {@@ -65281,7 +65281,7 @@ function DDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {className: "flex min-w-0 flex-1 basis-56 items-center gap-2",children: [/* @__PURE__ */ (0, I.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, I.jsx)(SV, {+ children: /* @__PURE__ */ (0, I.jsx)(xV, {type: "url","aria-label": "图片地址",placeholder: "https://…",@@ -65291,7 +65291,7 @@ function DDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}), /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",disabled: !s.trim(),- ...AV(v("url")),+ ...kV(v("url")),onClick: () => {w || _.mutate({via: "url",@@ -65305,7 +65305,7 @@ function DDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {})]})] })] });}-function ODe({ src: e, choice: t }) {+function ADe({ src: e, choice: t }) {let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)(!1);(0, F.useEffect)(() => {n.current?.complete && n.current.naturalWidth && i(!0);@@ -65313,7 +65313,7 @@ function ODe({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = mDe(t) ? rDe(EQ(t, s, wDe), s) : null, l = r || a ? !0 : void 0;+ }, c = gDe(t) ? aDe(wQ(t, s, EDe), s) : null, l = r || a ? !0 : void 0;return /* @__PURE__ */ (0, I.jsxs)("span", {"data-choice-lost": a || void 0,className: "relative block w-full aspect-avatar-choice overflow-hidden",@@ -65339,23 +65339,23 @@ function ODe({ src: e, choice: t }) {})]});}-function kDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = wQ(n, s), m = CQ(e, t, s, p), h = tH();+function jDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = SQ(n, s), m = xQ(e, t, s, p), h = eH();function g(e) {c(e), u(null), f(null);}- let _ = d && l ? nDe(d, l) : null;+ let _ = d && l ? iDe(d, l) : null;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {ref: h,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: [m ? /* @__PURE__ */ (0, I.jsx)(vQ, {+ children: [m ? /* @__PURE__ */ (0, I.jsx)(gQ, {src: m,aspect: 1,box: d,size: l,label: `${n.label} 的头像取景框`,onSize: (e) => {- u(e), dQ(e) && f(s === n.ref ? EQ(n, e, 1) : fQ(e, 1));+ u(e), lQ(e) && f(s === n.ref ? wQ(n, e, 1) : uQ(e, 1));},onBox: f}) : null, o.length > 1 ? /* @__PURE__ */ (0, I.jsx)("div", {@@ -65369,7 +65369,7 @@ function kDe({ 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: xDe(e)+ children: CDe(e)}, e))}) : null]}), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -65389,12 +65389,12 @@ function kDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",onClick: i,- ...AV(r),+ ...kV(r),children: "返回备选图片"}),n.crop ? null : /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...AV(r),+ ...kV(r),onClick: () => {r || a(null);},@@ -65402,7 +65402,7 @@ function kDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}),/* @__PURE__ */ (0, I.jsx)(J, {disabled: !d || !l,- ...AV(r),+ ...kV(r),onClick: () => {d && !r && a({ref: s,@@ -65417,9 +65417,9 @@ function kDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })})] });}// src/react/components/source-picture.tsx-var kQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;-function AQ({ item: e, image: t, thumbnail: n = !1 }) {- let [r, i] = (0, F.useState)(0), [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? kQ(e.code, t, r) : u ? co(e, !0) : e.cover_url || "";+var DQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;+function OQ({ item: e, image: t, thumbnail: n = !1 }) {+ let [r, i] = (0, F.useState)(0), [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? DQ(e.code, t, r) : u ? co(e, !0) : e.cover_url || "";if ((0, F.useLayoutEffect)(() => {let e = l.current;e?.complete && e.naturalWidth > 0 && o({@@ -65438,14 +65438,14 @@ function AQ({ item: e, image: t, thumbnail: n = !1 }) {})}) : n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, I.jsx)(TV, {+ children: /* @__PURE__ */ (0, I.jsx)(wV, {tone: "neutral",children: "封面未取得"})});if (s === p) return n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, I.jsx)(TV, {+ children: /* @__PURE__ */ (0, I.jsx)(wV, {tone: "neutral",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -65500,7 +65500,7 @@ function AQ({ item: e, image: t, thumbnail: n = !1 }) {] });}// src/react/components/source-avatar.tsx-function jQ({ code: e, person: t, detail: n = !1 }) {+function kQ({ code: e, person: t, detail: n = !1 }) {bL();let r = (0, F.useRef)(null), [i, a] = (0, F.useState)(n || typeof IntersectionObserver > "u");(0, F.useEffect)(() => {@@ -65515,7 +65515,7 @@ function jQ({ code: e, person: t, detail: n = !1 }) {"data-source-initial": "",children: $n(tn("performer", t.name))}), i && t.source_actor_id ? /* @__PURE__ */ (0, I.jsx)("img", {- src: kQ(e, `actor:${t.source_actor_id}`),+ src: DQ(e, `actor:${t.source_actor_id}`),alt: "","data-drop": "self"}) : null] });@@ -65525,8 +65525,8 @@ function jQ({ code: e, person: t, detail: n = !1 }) {}) : o;}// src/react/feed-new/feed-new-row.tsx-function MQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {- let a = (0, F.useContext)(lG), o = (0, F.useRef)(null), [s, c] = (0, F.useState)([]), l = e?.items.length ? e.html : "";+function AQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {+ let a = (0, F.useContext)(sG), o = (0, F.useRef)(null), [s, c] = (0, F.useState)([]), l = e?.items.length ? e.html : "";(0, F.useLayoutEffect)(() => {t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);}, [@@ -65558,7 +65558,7 @@ function MQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {u(e);},dangerouslySetInnerHTML: { __html: l }- }), s.map((e, t) => (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(jQ, {+ }), s.map((e, t) => (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(kQ, {code: e.dataset.code,person: {name: e.dataset.name,@@ -65567,7 +65567,7 @@ function MQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {}), e, `${l.length}:${t}`))] }) : null;}// src/react/entity-hero/glyph.tsx-function NQ({ name: e }) {+function jQ({ name: e }) {let { wide: t, viewBox: n } = Sn(e);return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: n,@@ -65577,20 +65577,20 @@ function NQ({ name: e }) {});}// src/react/entity-hero/hero-pop.tsx-function PQ(e, t) {+function MQ(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 FQ = (e) => !!e?.isConnected && e.matches(":popover-open");-function IQ(e, t, n, r) {+var NQ = (e) => !!e?.isConnected && e.matches(":popover-open");+function PQ(e, t, n, r) {let i = (0, F.useRef)(r);i.current = r, (0, F.useEffect)(() => {if (!e) return;let r = () => {- t.current && FQ(n.current) ? PQ(t.current, n.current) : i.current();+ t.current && NQ(n.current) ? MQ(t.current, n.current) : i.current();};return addEventListener("scroll", r, {capture: !0,@@ -65604,17 +65604,17 @@ function IQ(e, t, n, r) {n]);}-function LQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {+function FQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = (0, F.useRef)(!1), d = (0, F.useRef)(0), f = () => {- clearTimeout(d.current), u.current = !1, FQ(s.current) && s.current.hidePopover(), l(!1);+ clearTimeout(d.current), u.current = !1, NQ(s.current) && s.current.hidePopover(), l(!1);}, p = () => {- clearTimeout(d.current), s.current && o.current && !FQ(s.current) && (s.current.showPopover(), PQ(o.current, s.current), l(!0));+ clearTimeout(d.current), s.current && o.current && !NQ(s.current) && (s.current.showPopover(), MQ(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 IQ(c, o, s, f), (0, F.useEffect)(() => {+ return PQ(c, o, s, f), (0, F.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -65640,7 +65640,7 @@ function LQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {u.current ? f() : (p(), u.current = !0);},onKeyDown: (e) => {- e.key === "Escape" && FQ(s.current) && (e.preventDefault(), f());+ e.key === "Escape" && NQ(s.current) && (e.preventDefault(), f());},children: ["+", t]}), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -65658,16 +65658,16 @@ function LQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}), a]})] });}-function ADe({ following: e, busy: t, onToggle: n, tip: r }) {+function MDe({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), [s, c] = (0, F.useState)(!1), l = (0, F.useRef)(!1), u = () => {- FQ(o.current) && o.current.hidePopover(), c(!1);+ NQ(o.current) && o.current.hidePopover(), c(!1);}, d = () => {- !l.current && o.current && i.current && !FQ(o.current) && (o.current.showPopover(), PQ(i.current, o.current), c(!0));+ !l.current && o.current && i.current && !NQ(o.current) && (o.current.showPopover(), MQ(i.current, o.current), c(!0));}, f = () => {l.current = !1, u();};- return IQ(s, i, o, () => c(!1)), (0, F.useEffect)(() => {- i.current && FQ(o.current) && PQ(i.current, o.current);+ return PQ(s, i, o, () => c(!1)), (0, F.useEffect)(() => {+ i.current && NQ(o.current) && MQ(i.current, o.current);}, [r]), /* @__PURE__ */ (0, I.jsxs)("label", {ref: i,"data-entry-feed": "",@@ -65676,7 +65676,7 @@ function ADe({ following: e, busy: t, onToggle: n, tip: r }) {a.current?.matches(":focus-visible") || f();},children: [- /* @__PURE__ */ (0, I.jsx)(NQ, { name: "rss" }),+ /* @__PURE__ */ (0, I.jsx)(jQ, { name: "rss" }),/* @__PURE__ */ (0, I.jsx)("input", {ref: a,type: "checkbox",@@ -65710,7 +65710,7 @@ function ADe({ following: e, busy: t, onToggle: n, tip: r }) {});}// src/react/entity-hero/name-picker.tsx-function jDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {+function NDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, F.useState)(!1), o = (0, F.useRef)(null);return (0, F.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");@@ -65721,12 +65721,12 @@ function jDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",- children: /* @__PURE__ */ (0, I.jsx)(NQ, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, I.jsx)(jQ, { name: "chevron-down" })}), /* @__PURE__ */ (0, I.jsx)(Oz, {placement: "bottom start",offset: 8,containerPadding: 8,- className: qV,+ className: KV,"data-namepick-menu": "",children: /* @__PURE__ */ (0, I.jsxs)(Qpe, {"aria-label": "名字与别名",@@ -65744,7 +65744,7 @@ function jDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {id: e.value,textValue: e.label,"data-namepick-name": e.value,- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]+ children: [/* @__PURE__ */ (0, I.jsx)(jQ, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]}, e.value))}),/* @__PURE__ */ (0, I.jsx)(Npe, { "data-namepick-rule": "" }),@@ -65753,21 +65753,21 @@ function jDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {textValue: "添加别名","data-namepick-alias": "",onAction: r,- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]+ children: [/* @__PURE__ */ (0, I.jsx)(jQ, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]}) })]})})]});}-var MDe = (e) => e === "studio" || e === "agency", RQ = (e) => e === "performer" || e === "creator", NDe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function PDe(e, t = "zh-CN") {+var PDe = (e) => e === "studio" || e === "agency", IQ = (e) => e === "performer" || e === "creator", FDe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+function IDe(e, t = "zh-CN") {return e.name_display ? e.name_display.choices[t] : [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t).map((e) => ({value: e,label: e}));}-function zQ(e) {+function LQ(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0,@@ -65779,13 +65779,13 @@ function zQ(e) {linked: !1} : null;}-function BQ(e, t) {+function RQ(e, t) {let n = Gn(e, "performer"), r = Hn(t);return r && [e.label, n].map(Hn).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}-var VQ = (e) => ({ site: Rn(e) });-function FDe(e, t) {- let n = zQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+var zQ = (e) => ({ site: Rn(e) });+function LDe(e, t) {+ let n = LQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -65795,7 +65795,7 @@ function FDe(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${BQ(e, n)} · ${t}`+ title: `${RQ(e, n)} · ${t}`};}let r = e.url || "";@@ -65803,11 +65803,11 @@ function FDe(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if (RQ(t) && e.link_kind !== "social") return {+ if (IQ(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: BQ(e, n),- mark: VQ(e)+ title: RQ(e, n),+ mark: zQ(e)};if (e.link_kind === "social") {let t = Vn(r);@@ -65815,7 +65815,7 @@ function FDe(e, t) {type: "icon",url: r,title: e.label || "",- mark: t ? { brand: t } : VQ(e)+ mark: t ? { brand: t } : zQ(e)};}return {@@ -65823,12 +65823,12 @@ function FDe(e, t) {url: r,title: e.label || "",text: Gn(e, t, i),- mark: VQ(e)+ mark: zQ(e)};});- return [...r, ...IDe(a)];+ return [...r, ...RDe(a)];}-function IDe(e) {+function RDe(e) {let t = e.filter((e) => e.type === "private");return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {type: "private",@@ -65836,8 +65836,8 @@ function IDe(e) {sources: t.map((e) => e.label)}];}-var HQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function LDe(e) {+var BQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+function zDe(e) {return [["legal_name",@@ -65893,7 +65893,7 @@ function LDe(e) {}]}] : []);}-function RDe(e) {+function BDe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -65950,14 +65950,14 @@ function RDe(e) {tags: e.tags}), t;}-function UQ(e, t = 4) {+function VQ(e, t = 4) {let n = e.length > t + 1 ? t : e.length;return {shown: e.slice(0, n),rest: e.length - n};}-function zDe(e) {+function VDe(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 ? {@@ -65967,7 +65967,7 @@ function zDe(e) {} : null;}// src/react/entity-hero/entity-hero-page.tsx-function BDe(e) {+function HDe(e) {return ho({id: e.id,hasImage: e.has_image,@@ -65978,9 +65978,9 @@ function BDe(e) {standIn: e.avatar_stand_in});}-function VDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {+function UDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {bL();- let s = tn(e, n.canonical_name, Number(n.id)), c = nn(e, n.canonical_name, Number(n.id)), l = RQ(e), u = MDe(e), d = l ? RDe(n.profile) : u ? LDe(n.company_profile) : [], f = FDe(n, e), p = HQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);+ let s = tn(e, n.canonical_name, Number(n.id)), c = nn(e, n.canonical_name, Number(n.id)), l = IQ(e), u = PDe(e), d = l ? BDe(n.profile) : u ? zDe(n.company_profile) : [], f = LDe(n, e), p = BQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);return (0, F.useEffect)(() => {o.wireScroller(h.current);}, [o, f.length]), (0, F.useEffect)(() => {@@ -65993,7 +65993,7 @@ function VDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-entity-portrait-wrap": "",- children: [/* @__PURE__ */ (0, I.jsx)(HDe, {+ children: [/* @__PURE__ */ (0, I.jsx)(WDe, {kind: e,name: s,helpers: o,@@ -66001,7 +66001,7 @@ function VDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,company: u}), l && n.id ? /* @__PURE__ */ (0, I.jsx)("span", {"data-avatar-picker": "",- children: /* @__PURE__ */ (0, I.jsx)(EDe, {+ children: /* @__PURE__ */ (0, I.jsx)(ODe, {kind: e,entityId: Number(n.id),name: s || t,@@ -66020,13 +66020,13 @@ function VDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,title: c || void 0,children: s}),- e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(jDe, {+ e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(NDe, {current: n.canonical_name,- choices: PDe(n, Yt()),+ choices: IDe(n, Yt()),onChoose: a.chooseName,onAddAlias: a.addAlias}),- n.id ? /* @__PURE__ */ (0, I.jsx)(HV, { item: {+ n.id ? /* @__PURE__ */ (0, I.jsx)(VV, { item: {entity_id: Number(n.id),kind: e,name: n.canonical_name || t,@@ -66040,7 +66040,7 @@ function VDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,className: "text-caption-1-regular text-text-secondary",children: c}) : null,- /* @__PURE__ */ (0, I.jsx)(UDe, {+ /* @__PURE__ */ (0, I.jsx)(GDe, {kind: e,entity: n,actions: a@@ -66061,14 +66061,14 @@ function VDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,f.length ? /* @__PURE__ */ (0, I.jsx)("div", {ref: h,"data-entity-links": "",- children: f.map((e, t) => /* @__PURE__ */ (0, I.jsx)(YDe, { link: e }, t))+ children: f.map((e, t) => /* @__PURE__ */ (0, I.jsx)(ZDe, { link: e }, t))}) : null,- p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(XDe, {+ p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(QDe, {entity: n,actions: a,helpers: o}) : null,- n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)(KDe, {+ n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)(JDe, {follow: n.follow,displayName: s,actions: a@@ -66077,11 +66077,11 @@ function VDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),d.length ? /* @__PURE__ */ (0, I.jsx)("dl", {"data-entity-facts": "",- children: d.map((e) => /* @__PURE__ */ (0, I.jsx)(qDe, {+ children: d.map((e) => /* @__PURE__ */ (0, I.jsx)(YDe, {glyph: e.glyph,label: e.label,clip: e.clip,- children: e.tags ? /* @__PURE__ */ (0, I.jsx)(JDe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {+ children: e.tags ? /* @__PURE__ */ (0, I.jsx)(XDe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,children: [t ? " " : "", e.text]}, t))@@ -66100,7 +66100,7 @@ function VDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onClick: () => a.openEntity("performer", e.k),children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-hero-ring": "",- dangerouslySetInnerHTML: { __html: `<span>${z($n(tn("performer", e.k, e.id)))}</span>${BDe(e)}` }+ dangerouslySetInnerHTML: { __html: `<span>${z($n(tn("performer", e.k, e.id)))}</span>${HDe(e)}` }}), /* @__PURE__ */ (0, I.jsx)("span", {"data-hero-costar-name": "",children: tn("performer", e.k, e.id)@@ -66108,14 +66108,14 @@ function VDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}, e.k))})}) : null]- }), i ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(MQ, {+ }), i ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(AQ, {feedNew: r,host: i,wire: o.wireFeedRow,act: (e, t) => a.feedAction(e, t)}), i) : null] });}-function HDe({ kind: e, name: t, helpers: n, people: r, company: i }) {+function WDe({ kind: e, name: t, helpers: n, people: r, company: i }) {let a = (0, F.useRef)(null), [o] = (0, F.useState)(() => `${n.portraitImg()}<span data-portrait-initial="">${z($n(t))}</span>`);return (0, F.useLayoutEffect)(() => {let e = a.current?.querySelector("[data-portrait-initial]");@@ -66129,8 +66129,8 @@ function HDe({ kind: e, name: t, helpers: n, people: r, company: i }) {dangerouslySetInnerHTML: { __html: o }});}-function UDe({ kind: e, entity: t, actions: n }) {- let r = zQ(t), i = (e, t) => (r) => {+function GDe({ kind: e, entity: t, actions: n }) {+ let r = LQ(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, I.jsx)("a", {href: Nn("agency", r.name, r.id),@@ -66139,29 +66139,29 @@ function UDe({ kind: e, entity: t, actions: n }) {children: r.name}) : r.name : null, o = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });if (e === "performer" || e === "creator") {- let e = t.name_display?.groups[Yt()] ?? t.name_groups, r = zDe(e);+ let e = t.name_display?.groups[Yt()] ?? t.name_groups, r = VDe(e);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-entity-alias": "meta",children: [- /* @__PURE__ */ (0, I.jsx)(WQ, { entity: t }),+ /* @__PURE__ */ (0, I.jsx)(HQ, { entity: t }),/* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]+ children: [/* @__PURE__ */ (0, I.jsx)(jQ, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]}),- t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(GDe, {+ t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(qDe, {follow: t.follow,actions: n}) : null,a ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, I.jsx)(jQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]}) : null,r ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-meta-item": "names",children: [- /* @__PURE__ */ (0, I.jsx)(NQ, { name: "id-card" }),+ /* @__PURE__ */ (0, I.jsx)(jQ, { name: "id-card" }),/* @__PURE__ */ (0, I.jsx)("span", {"data-alias-names": "",title: "别名",@@ -66170,13 +66170,13 @@ function UDe({ kind: e, entity: t, actions: n }) {children: e}, t))}),- r.rest > 0 ? /* @__PURE__ */ (0, I.jsx)(LQ, {+ r.rest > 0 ? /* @__PURE__ */ (0, I.jsx)(FQ, {id: "entityAliasPop",hook: "alias",rest: r.rest,label: `另外 ${r.rest.toLocaleString()} 个别名`,heading: `${r.total.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, I.jsx)("dl", { children: (e?.groups || []).map((e, t) => /* @__PURE__ */ (0, I.jsx)(GQ, {+ children: /* @__PURE__ */ (0, I.jsx)("dl", { children: (e?.groups || []).map((e, t) => /* @__PURE__ */ (0, I.jsx)(UQ, {label: e.label,names: e.names}, t)) })@@ -66198,61 +66198,61 @@ function UDe({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-entity-alias": "meta",children: [- e === "creator" ? /* @__PURE__ */ (0, I.jsx)(WQ, { entity: t }) : null,+ e === "creator" ? /* @__PURE__ */ (0, I.jsx)(HQ, { entity: t }) : null,/* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "film" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [o, c] })]+ children: [/* @__PURE__ */ (0, I.jsx)(jQ, { name: "film" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [o, c] })]}),a ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, I.jsx)(jQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]}) : null,l ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "片商",- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "clapperboard" }), /* @__PURE__ */ (0, I.jsx)("a", {+ children: [/* @__PURE__ */ (0, I.jsx)(jQ, { name: "clapperboard" }), /* @__PURE__ */ (0, I.jsx)("a", {href: Nn("studio", l.name, l.id),"data-studio-link": l.name,onClick: i("studio", l.name),children: l.name})]}) : null,- s.length ? /* @__PURE__ */ (0, I.jsx)(WDe, { aliases: s }) : null+ s.length ? /* @__PURE__ */ (0, I.jsx)(KDe, { aliases: s }) : null]});}-function WDe({ aliases: e }) {- let { shown: t, rest: n } = UQ(e, 3);+function KDe({ aliases: e }) {+ let { shown: t, rest: n } = VQ(e, 3);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-meta-item": "names","data-company-names": "",children: [- /* @__PURE__ */ (0, I.jsx)(NQ, { name: "id-card" }),+ /* @__PURE__ */ (0, I.jsx)(jQ, { name: "id-card" }),/* @__PURE__ */ (0, I.jsx)("span", {"data-alias-names": "",title: "别名",children: t.map((e, t) => /* @__PURE__ */ (0, I.jsx)("span", { children: e }, t))}),- n ? /* @__PURE__ */ (0, I.jsx)(LQ, {+ n ? /* @__PURE__ */ (0, I.jsx)(FQ, {id: "entityAliasPop",hook: "alias",rest: n,label: `另外 ${n.toLocaleString()} 个别名`,heading: `${e.length.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, I.jsx)("dl", { children: /* @__PURE__ */ (0, I.jsx)(GQ, { names: e.map((e) => ({ name: e })) }) })+ children: /* @__PURE__ */ (0, I.jsx)("dl", { children: /* @__PURE__ */ (0, I.jsx)(UQ, { names: e.map((e) => ({ name: e })) }) })}) : null]});}-function GDe({ follow: e, actions: t }) {+function qDe({ follow: e, actions: t }) {let n = e.providers.join(" · ");return /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "","data-entity-follow": "",title: n ? `关注 · ${n}` : "关注",- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "rss" }), /* @__PURE__ */ (0, I.jsxs)("a", {+ children: [/* @__PURE__ */ (0, I.jsx)(jQ, { name: "rss" }), /* @__PURE__ */ (0, I.jsxs)("a", {href: "?media=online",onClick: (n) => {n.preventDefault(), t.openFollowAuthor(e.key);@@ -66261,7 +66261,7 @@ function GDe({ follow: e, actions: t }) {})]});}-function KDe({ follow: e, displayName: t, actions: n }) {+function JDe({ follow: e, displayName: t, actions: n }) {let [r, i] = (0, F.useState)(""), a = async (e, t) => {if (!r) {i(e);@@ -66275,12 +66275,12 @@ function KDe({ follow: e, displayName: t, actions: n }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-held": "",className: "flex flex-col gap-2",- children: e.held.map((e) => /* @__PURE__ */ (0, I.jsxs)(TV, {+ children: e.held.map((e) => /* @__PURE__ */ (0, I.jsxs)(wV, {tone: "info",title: `关注里有同名作者 ${e.name}`,action: /* @__PURE__ */ (0, I.jsx)(J, {size: "small",- ...AV(r === e.key),+ ...kV(r === e.key),onClick: () => {a(e.key, e.name);},@@ -66295,14 +66295,14 @@ function KDe({ follow: e, displayName: t, actions: n }) {}, e.key))});}-function WQ({ entity: e }) {+function HQ({ entity: e }) {return e.identity_labels?.length ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "classification","data-identity-classification": "",- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.identity_labels.join(" · ") })]+ children: [/* @__PURE__ */ (0, I.jsx)(jQ, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.identity_labels.join(" · ") })]}) : null;}-function GQ({ label: e, names: t }) {+function UQ({ label: e, names: t }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, I.jsx)("dd", {"data-wide": e ? void 0 : "",children: t.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {@@ -66312,20 +66312,20 @@ function GQ({ label: e, names: t }) {}, t))})] });}-function qDe({ glyph: e, label: t, clip: n, children: r }) {- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {+function YDe({ glyph: e, label: t, clip: n, children: r }) {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(jQ, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}-function JDe({ tags: e }) {- let { shown: t, rest: n } = UQ(e);+function XDe({ tags: e }) {+ let { shown: t, rest: n } = VQ(e);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, I.jsx)("span", {"data-fact-tag": "",title: e,children: e- }, e)), n ? /* @__PURE__ */ (0, I.jsx)(LQ, {+ }, e)), n ? /* @__PURE__ */ (0, I.jsx)(FQ, {id: "entityTagPop",hook: "fact",rest: n,@@ -66341,10 +66341,10 @@ function JDe({ tags: e }) {})}) : null] });}-function KQ({ mark: e }) {+function WQ({ mark: e }) {if ("brand" in e) return /* @__PURE__ */ (0, I.jsx)("span", {"data-link-icon": "brand",- children: /* @__PURE__ */ (0, I.jsx)(NQ, { name: e.brand })+ children: /* @__PURE__ */ (0, I.jsx)(jQ, { name: e.brand })});let t = R("globe") + ("site" in e ? `<img src="${z(e.site)}" alt="" width="20" height="20" loading="lazy" decoding="async" referrerpolicy="no-referrer" data-drop="self">` : "");return /* @__PURE__ */ (0, I.jsx)("span", {@@ -66352,7 +66352,7 @@ function KQ({ mark: e }) {dangerouslySetInnerHTML: { __html: t }});}-function YDe({ link: e }) {+function ZDe({ link: e }) {switch (e.type) {case "icon": return /* @__PURE__ */ (0, I.jsx)("a", {"data-link": "icon",@@ -66361,19 +66361,19 @@ function YDe({ link: e }) {rel: "noopener noreferrer",title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, I.jsx)(KQ, { mark: e.mark })+ children: /* @__PURE__ */ (0, I.jsx)(WQ, { mark: e.mark })});case "gone": return /* @__PURE__ */ (0, I.jsx)("span", {"data-link": "gone",tabIndex: 0,title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, I.jsx)(KQ, { mark: { globe: !0 } })+ children: /* @__PURE__ */ (0, I.jsx)(WQ, { mark: { globe: !0 } })});case "private": return /* @__PURE__ */ (0, I.jsxs)("span", {"data-link": "private",title: e.sources ? e.sources.join("\n") : e.label,- children: [/* @__PURE__ */ (0, I.jsx)(KQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(WQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, I.jsx)("span", {"data-link-label": "",children: e.sources ? e.label : `来源 · ${e.label}`})]@@ -66385,7 +66385,7 @@ function YDe({ link: e }) {rel: "noopener noreferrer",title: e.title,children: [- /* @__PURE__ */ (0, I.jsx)(KQ, { mark: e.mark }),+ /* @__PURE__ */ (0, I.jsx)(WQ, { mark: e.mark }),/* @__PURE__ */ (0, I.jsx)("span", {"data-link-label": "",children: e.text@@ -66400,7 +66400,7 @@ function YDe({ link: e }) {});}}-function XDe({ entity: e, actions: t, helpers: n }) {+function QDe({ entity: e, actions: t, helpers: n }) {let [r, i] = (0, F.useState)(!!e.feed?.following), [a, o] = (0, F.useState)(!1), s = (0, F.useRef)(!1), c = async (e) => {if (s.current) return !1;s.current = !0, o(!0);@@ -66418,33 +66418,33 @@ function XDe({ entity: e, actions: t, helpers: n }) {};return /* @__PURE__ */ (0, I.jsxs)("div", {"data-entry-marks": "",- children: [HQ(e).map((e, t) => /* @__PURE__ */ (0, I.jsxs)("a", {+ children: [BQ(e).map((e, t) => /* @__PURE__ */ (0, I.jsxs)("a", {"data-entry-mark": "",href: e.url,target: "_blank",rel: "noopener noreferrer",title: e.label,"aria-label": e.label,- children: [e.mark ? /* @__PURE__ */ (0, I.jsx)(NQ, { name: e.mark }) : /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [e.mark ? /* @__PURE__ */ (0, I.jsx)(jQ, { name: e.mark }) : /* @__PURE__ */ (0, I.jsxs)("span", {"data-missav-mark": "",children: [/* @__PURE__ */ (0, I.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "AV" })]}), e.ordinal ? /* @__PURE__ */ (0, I.jsx)("span", {"data-entry-ordinal": "",children: e.ordinal}) : null]- }, t)), e.feed ? /* @__PURE__ */ (0, I.jsx)(ADe, {+ }, t)), e.feed ? /* @__PURE__ */ (0, I.jsx)(MDe, {following: r,busy: a,onToggle: (e) => {l(e);},- tip: NDe(r)+ tip: FDe(r)}) : null]});}// src/react/entity-page/use-entity-online.ts-var ZDe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;-function QDe(e, t, n) {+var $De = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;+function eOe(e, t, n) {let [r, i] = (0, F.useState)(() => ga(e));r.author !== e && i(ga(e));let [a, o] = (0, F.useState)({@@ -66523,7 +66523,7 @@ function QDe(e, t, n) {onlineMedia: (e) => c(e),onlineShuffle: () => T({sort: $i,- seed: ZDe()+ seed: $De()}),onlineImagesOnly: (e) => n.setImagesOnly(e),onlineStatus: (e) => T({ status: e }),@@ -66553,8 +66553,8 @@ function QDe(e, t, n) {};}// src/react/entity-page/entity-page-view.tsx-function $De(e) {- let { kind: t, name: n } = e, r = Pt(sZ(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {+function tOe(e) {+ let { kind: t, name: n } = e, r = Pt(aZ(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;@@ -66572,17 +66572,17 @@ function $De(e) {s,o?.kind,o?.name- ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(ZG, {+ ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(YG, {message: cr(r.error),onRetry: () => {r.refetch();}- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(nOe, {+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(iOe, {...e,entity: r.data});}-function qQ(e) {+function GQ(e) {let [t, n] = (0, F.useState)({key: e,n: 1@@ -66594,22 +66594,22 @@ function qQ(e) {};return n(r), r.n;}-var eOe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);-function tOe(e, t) {+var nOe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);+function rOe(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}-function nOe(e) {- let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = It(cZ(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 || lZ(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {+function iOe(e) {+ let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = It(oZ(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 || sZ(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- } : eZ, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);+ } : QX, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);S !== x && (C(x), b("videos"));- let w = l && y === "people" && u.length ? "people" : v.media, T = QDe(g, w === "online", {+ let w = l && y === "people" && u.length ? "people" : v.media, T = eOe(g, w === "online", {photoLayout: e.photoLayout,photoLayouts: e.photoLayouts,imagesOnly: e.followImagesOnly,setImagesOnly: e.follow.actions.setImagesOnly- }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, F.useState)(0), k = oZ(e), A = Pt(k), j = qQ(JSON.stringify([k.queryKey, D])), [M] = (0, F.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));+ }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, F.useState)(0), k = iZ(e), A = Pt(k), j = GQ(JSON.stringify([k.queryKey, D])), [M] = (0, F.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));(0, F.useLayoutEffect)(() => {s.javContext(M);}, [s, M]);@@ -66619,26 +66619,26 @@ function nOe(e) {}, [e.layout, M]), N = {jav: e.jav,seed: e.seed- }, te = (0, F.useCallback)((e, r, a) => aZ(t, n, i, N, e, r, a), [j]), [P, ne] = (0, F.useState)({}), re = v.set, ie = P[re] || "", ae = It({- ...cZ(t, n, re, ie),+ }, te = (0, F.useCallback)((e, r, a) => rZ(t, n, i, N, e, r, a), [j]), [P, ne] = (0, F.useState)({}), re = v.set, ie = P[re] || "", ae = It({+ ...oZ(t, n, re, ie),enabled: w === "photos"- }), oe = ae.data?.pages[0], se = qQ(JSON.stringify(nZ(t, n, re, ie))), ce = (0, F.useMemo)(() => {+ }), oe = ae.data?.pages[0], se = GQ(JSON.stringify(eZ(t, n, re, ie))), ce = (0, F.useMemo)(() => {let e = ae.data?.pages;if (!e?.[0] || e[0].error) return null;let t = e[0];return {revision: se,- codeSets: t.id ? [] : lZ(t),+ codeSets: t.id ? [] : sZ(t),items: e.flatMap((e) => e.items || []),total: t.total || 0,hasMore: !!e[e.length - 1]?.has_more};}, [ae.data, se]), le = ae.refetch, ue = ae.fetchNextPage, de = Pt({- ...ZX(d, o.feedRowHtml),+ ...YX(d, o.feedRowHtml),enabled: !!d}), fe = (0, F.useRef)(e.feedRevision);(0, F.useEffect)(() => {- fe.current !== e.feedRevision && (fe.current = e.feedRevision, H.invalidateQueries({ queryKey: XX(d) }));+ fe.current !== e.feedRevision && (fe.current = e.feedRevision, H.invalidateQueries({ queryKey: JX(d) }));}, [d, e.feedRevision]);let pe = !!A.data;(0, F.useEffect)(() => {@@ -66672,7 +66672,7 @@ function nOe(e) {me.current = !1;}, []);let he = (0, F.useCallback)(async () => {- await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: tZ(t, n) }), await H.invalidateQueries({ queryKey: [+ await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: $X(t, n) }), await H.invalidateQueries({ queryKey: ["entity-items",t,n@@ -66706,7 +66706,7 @@ function nOe(e) {enabled: e})}),- onSuccess: (e, r) => H.setQueryData(tZ(t, n), (e) => e && {+ onSuccess: (e, r) => H.setQueryData($X(t, n), (e) => e && {...e,feed: {...e.feed,@@ -66760,10 +66760,10 @@ function nOe(e) {let e = await wn("/api/feeds/check").catch(() => null);if (!e || e.status !== "running") break;}- me.current && await H.invalidateQueries({ queryKey: XX(d) });+ me.current && await H.invalidateQueries({ queryKey: JX(d) });})();},- feedAction: QX,+ feedAction: XX,avatarPicked: () => {s.avatarChanged(), he().then(() => {me.current && O((e) => e + 1);@@ -66811,19 +66811,19 @@ function nOe(e) {(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {media: e,set: 0- } : eZ));+ } : QX));},setState: (e) => s.route({...i,state: e- }, eZ),+ }, QX),toggleTag: s.toggleTag,clearFilter: s.clearFilter,clearAll: s.clearAll,setSort: s.setSort,reshuffle: async () => {if (w !== "photos") {- let r = s.reshuffleVideos(), a = oZ({+ let r = s.reshuffleVideos(), a = iZ({kind: t,name: n,filters: {@@ -66837,7 +66837,7 @@ function nOe(e) {await H.fetchQuery(a).catch(() => null);return;}- let r = eOe(), a = await H.fetchInfiniteQuery(cZ(t, n, re, r)).catch(() => null);+ let r = nOe(), a = await H.fetchInfiniteQuery(oZ(t, n, re, r)).catch(() => null);me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({...e,[re]: r@@ -66872,7 +66872,7 @@ function nOe(e) {k: e.k,label: Pl(e.k),n: e.n,- selected: ITe(i.tag, e.k)+ selected: RTe(i.tag, e.k)})), Te = [u.length,!_,@@ -66907,14 +66907,14 @@ function nOe(e) {creator: "",studio: "",owner: ""- }, eZ), Ne = "", Pe = !1;+ }, QX), Ne = "", Pe = !1;if (w === "people") Ne = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;else if (w === "online") Pe = T.busy, Ne = `在线 · ${(T.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;else if (w === "videos") {Pe = !A.data;- let e = rZ(i.tag).length;+ let e = tZ(i.tag).length;Ne = `视频 · ${(A.data?.work_total ?? A.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;- } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : tOe(oe, lZ(oe).length) : Pe = ae.isPending;+ } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : rOe(oe, sZ(oe).length) : Pe = ae.isPending;let Fe = (0, F.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {@@ -66931,7 +66931,7 @@ function nOe(e) {u]);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(VDe, {+ /* @__PURE__ */ (0, I.jsx)(UDe, {kind: t,name: n,entity: r,@@ -66941,7 +66941,7 @@ function nOe(e) {actions: be,helpers: xe}, D),- (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(bye, {+ (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Sye, {kind: t,name: n,view: w,@@ -66958,9 +66958,9 @@ function nOe(e) {actions: Se,helpers: Ce}), c.filter),- (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(oye, {+ (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(cye, {enabled: w === "videos",- children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(YEe, {+ children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(ZEe, {view: T.view,media: T.media,result: T.result,@@ -66974,16 +66974,16 @@ function nOe(e) {actions: e.follow.actions,canLoadMore: e.canLoadMore,clearFilters: T.clearFilters- }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(ZG, {+ }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(YG, {message: cr(A.error),onRetry: () => {A.refetch();}- }) : je ? /* @__PURE__ */ (0, I.jsx)(rOe, {+ }) : je ? /* @__PURE__ */ (0, I.jsx)(aOe, {filtered: Ae,onShowAll: Me,onOnline: g ? () => Se.setView("online") : void 0- }) : /* @__PURE__ */ (0, I.jsx)(hEe, {+ }) : /* @__PURE__ */ (0, I.jsx)(_Ee, {kind: t,name: n,view: w,@@ -67016,9 +67016,9 @@ function nOe(e) {}), c.body)] });}-function rOe({ filtered: e, onShowAll: t, onOnline: n }) {- return e ? /* @__PURE__ */ (0, I.jsx)(EV, {- icon: OV("search"),+function aOe({ filtered: e, onShowAll: t, onOnline: n }) {+ return e ? /* @__PURE__ */ (0, I.jsx)(TV, {+ icon: DV("search"),title: "没有符合条件的视频",actions: /* @__PURE__ */ (0, I.jsx)(J, {size: "small",@@ -67026,8 +67026,8 @@ function rOe({ filtered: e, onShowAll: t, onOnline: n }) {children: "清除筛选"}),children: "清除筛选后查看名下全部视频。"- }) : /* @__PURE__ */ (0, I.jsx)(EV, {- icon: OV("film"),+ }) : /* @__PURE__ */ (0, I.jsx)(TV, {+ icon: DV("film"),title: "还没有视频",actions: n ? /* @__PURE__ */ (0, I.jsx)(J, {size: "small",@@ -67042,30 +67042,30 @@ function rOe({ filtered: e, onShowAll: t, onOnline: n }) {});}// src/react/diagnostics/diagnostics.ts-var JQ = ["diagnostics"], YQ = (e) => B("/api/diagnostics", e);-async function iOe(e) {+var KQ = ["diagnostics"], qQ = (e) => B("/api/diagnostics", e);+async function oOe(e) {await H.fetchQuery({- queryKey: JQ,- queryFn: () => YQ(e),+ queryKey: KQ,+ queryFn: () => qQ(e),staleTime: 1e4});}// src/react/feed-new/feed-new-page.tsx-function aOe({ host: e, revision: t, helpers: n, actions: r }) {- let i = Pt(ZX(null, n.feedRowHtml)), a = (0, F.useRef)(t);+function sOe({ host: e, revision: t, helpers: n, actions: r }) {+ let i = Pt(YX(null, n.feedRowHtml)), a = (0, F.useRef)(t);return (0, F.useEffect)(() => {- a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: XX(null) }));- }, [t]), (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(MQ, {+ a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: JX(null) }));+ }, [t]), (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(AQ, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,- act: QX,+ act: XX,settled: r.settled}), e);}// src/react/index/index-search.tsx-var oOe = OV("search");-function XQ({ label: e, value: t, onQuery: n }) {+var cOe = DV("search");+function JQ({ label: e, value: t, onQuery: n }) {let [r, i] = (0, F.useState)(t), a = (0, F.useRef)(!1), o = (0, F.useRef)(void 0);(0, F.useEffect)(() => {clearTimeout(o.current), i(t);@@ -67082,15 +67082,15 @@ function XQ({ label: e, value: t, onQuery: n }) {onCompositionEnd: (e) => {a.current = !1, s(e.target.value);},- children: /* @__PURE__ */ (0, I.jsx)(yV, {+ children: /* @__PURE__ */ (0, I.jsx)(vV, {"aria-label": e,value: r,onChange: (e) => {i(e), a.current || s(e);},- children: /* @__PURE__ */ (0, I.jsx)(xV, {+ children: /* @__PURE__ */ (0, I.jsx)(bV, {type: "search",- leadingIcon: oOe,+ leadingIcon: cOe,spellCheck: !1,autoComplete: "off",enterKeyHint: "search",@@ -67102,7 +67102,7 @@ function XQ({ label: e, value: t, onQuery: n }) {});}// src/react/index/tag-pagination.ts-function ZQ(e) {+function YQ(e) {let [t, n] = (0, F.useState)({filter: e,pageIndex: 0,@@ -67119,7 +67119,7 @@ function ZQ(e) {}), [e])};}-function QQ(e, t, n) {+function XQ(e, t, n) {let { pageIndex: r, pageSize: i } = t;(0, F.useEffect)(() => {if (e === void 0) return;@@ -67136,11 +67136,11 @@ function QQ(e, t, n) {]);}// src/react/index/index-tags.tsx-var $Q = () => /* @__PURE__ */ (0, I.jsx)("span", {+var ZQ = () => /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"-}), e$ = OV("pencil"), t$ = (e, t) => ({+}), QQ = DV("pencil"), $Q = (e, t) => ({kind: "tag",name: e.k,favorite: e.favorite,@@ -67149,7 +67149,7 @@ var $Q = () => /* @__PURE__ */ (0, I.jsx)("span", {tag_id: e.id || e.k} : { entity_id: e.entity_id }});-function sOe({ tag: e, actions: t }) {+function lOe({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 items-center gap-1",@@ -67158,13 +67158,13 @@ function sOe({ tag: e, actions: t }) {type: "button","data-alpha-tag": "","data-k": e.k,- "data-tag-cat": CZ(t.online, e.cat),+ "data-tag-cat": xZ(t.online, e.cat),"aria-pressed": n,title: e.label,onClick: () => t.press(e.k),className: "flex h-9 min-w-0 flex-1 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [- /* @__PURE__ */ (0, I.jsx)($Q, {}),+ /* @__PURE__ */ (0, I.jsx)(ZQ, {}),/* @__PURE__ */ (0, I.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -67175,32 +67175,32 @@ function sOe({ tag: e, actions: t }) {})]}),- t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(HV, { item: t$(e, t.online) }),- t.edit ? /* @__PURE__ */ (0, I.jsx)(VV, {+ t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(VV, { item: $Q(e, t.online) }),+ t.edit ? /* @__PURE__ */ (0, I.jsx)(BV, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, I.jsx)(e$, {})+ children: /* @__PURE__ */ (0, I.jsx)(QQ, {})}) : null]});}-function n$({ groups: e, actions: t }) {+function e$({ groups: e, actions: t }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",children: e.map(([e, n], r) => /* @__PURE__ */ (0, I.jsxs)("section", {"data-alpha-group": r,- className: HH({+ className: VH({radius: "plain",padding: "none",className: "px-5 pt-4 pb-3"}),children: [/* @__PURE__ */ (0, I.jsxs)("h3", {className: "mb-2 flex items-center text-title-2-medium text-text-primary",- children: [e, /* @__PURE__ */ (0, I.jsx)(FW, { value: n.length })]+ children: [e, /* @__PURE__ */ (0, I.jsx)(NW, { value: n.length })]}), /* @__PURE__ */ (0, I.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",- children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(sOe, {+ children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(lOe, {tag: e,actions: t}, e.k))@@ -67208,26 +67208,26 @@ function n$({ groups: e, actions: t }) {}, e))});}-var cOe = "\xA0";-function r$({ tags: e, actions: t }) {+var uOe = "\xA0";+function t$({ tags: e, actions: t }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-tag-cloud": "",className: "flex flex-wrap gap-1.75",children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("span", {"data-tag-token": "",- "data-tag-cat": CZ(t.online, e.cat),+ "data-tag-cat": xZ(t.online, e.cat),className: "inline-flex max-w-full min-w-0 items-center gap-1 rounded-lg border p-1",children: [/* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-tag-chip": "","data-k": e.k,- "data-tag-cat": CZ(t.online, e.cat),+ "data-tag-cat": xZ(t.online, e.cat),"aria-pressed": t.picked.has(e.k),onClick: () => t.press(e.k),className: "inline-flex max-w-full min-w-0 cursor-pointer items-center rounded-lg px-2 py-0.5 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "min-w-0 truncate",- children: e.label + cOe+ children: e.label + uOe}), /* @__PURE__ */ (0, I.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",@@ -67236,16 +67236,16 @@ function r$({ tags: e, actions: t }) {}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-tag-actions": "",className: "inline-flex flex-none items-center gap-1",- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(HV, { item: t$(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(VV, {+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(VV, { item: $Q(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(BV, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, I.jsx)(e$, {})+ children: /* @__PURE__ */ (0, I.jsx)(QQ, {})}) : null]}) : null]}, e.k))});}-var lOe = [[+var dOe = [["cloud","标签云","tags"@@ -67254,7 +67254,7 @@ var lOe = [["字母表","text-aa"]];-function i$({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {+function n$({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {let d = EL();return /* @__PURE__ */ (0, I.jsx)(OL, {label: "标签筛选",@@ -67278,10 +67278,10 @@ function i$({ categories: e, category: t, online: n, readout: r, letters: i, vie}) : null]}) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(kL, {"data-tag-pill": "",- "data-tag-cat": e === "all" ? "all" : CZ(n, e),+ "data-tag-cat": e === "all" ? "all" : xZ(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, I.jsx)($Q, {}), r]+ children: [/* @__PURE__ */ (0, I.jsx)(ZQ, {}), r]}, e))] }),bottom: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {@@ -67307,14 +67307,14 @@ function i$({ categories: e, category: t, online: n, readout: r, letters: i, vieorientation: "horizontal",value: a,onChange: (e) => c(e),- className: `ml-auto ${BU}`,- children: lOe.map(([e, t, n]) => {- let r = OV(n);+ className: `ml-auto ${zU}`,+ children: dOe.map(([e, t, n]) => {+ let r = DV(n);return /* @__PURE__ */ (0, I.jsx)(Yz, {value: e,"aria-label": t,"data-glass-segment": "",- className: VU,+ className: BU,children: /* @__PURE__ */ (0, I.jsx)("span", {title: t,className: "contents",@@ -67326,13 +67326,13 @@ function i$({ categories: e, category: t, online: n, readout: r, letters: i, vie] })});}-function uOe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {- return /* @__PURE__ */ (0, I.jsxs)(Mj, {+function fOe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+ return /* @__PURE__ */ (0, I.jsxs)(Pj, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,children: [- /* @__PURE__ */ (0, I.jsx)(eH, {+ /* @__PURE__ */ (0, I.jsx)($V, {isSelected: t === "any",onChange: (e) => n(e ? "any" : "all"),children: /* @__PURE__ */ (0, I.jsxs)("span", {@@ -67363,29 +67363,29 @@ function uOe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {});}// src/react/toaster.tsx-var a$ = (e, t) => /* @__PURE__ */ (0, I.jsx)("span", {+var r$ = (e, t) => /* @__PURE__ */ (0, I.jsx)("span", {"data-toast-glyph": t ? "draw" : "still","aria-hidden": "true",dangerouslySetInnerHTML: { __html: e }-}), o$ = null, s$ = { "--floating-radius": "var(--radius-2xl)" };-function c$() {- let e = o$;- o$ = null, e?.root.unmount();-}-var l$ = (e, t) => {- if (o$?.host === e) return;- c$();+}), i$ = null, a$ = { "--floating-radius": "var(--radius-2xl)" };+function o$() {+ let e = i$;+ i$ = null, e?.root.unmount();+}+var s$ = (e, t) => {+ if (i$?.host === e) return;+ o$();let n = (0, Rt.createRoot)(e);- o$ = {+ i$ = {host: e,root: n- }, n.render(/* @__PURE__ */ (0, I.jsxs)(rH, { children: [/* @__PURE__ */ (0, I.jsx)(dH, {+ }, n.render(/* @__PURE__ */ (0, I.jsxs)(nH, { children: [/* @__PURE__ */ (0, I.jsx)(uH, {id: "receipts",position: "bottom-right",closeButton: !0,gap: 8,style: {- ...s$,+ ...a$,"--width": "min(560px, calc(100vw - 48px))"},offset: {@@ -67400,16 +67400,16 @@ var l$ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭提示" },containerAriaLabel: "通知",icons: {- success: a$(t.success, !0),- error: a$(t.error, !1)+ success: r$(t.success, !0),+ error: r$(t.error, !1)}- }), /* @__PURE__ */ (0, I.jsx)(dH, {+ }), /* @__PURE__ */ (0, I.jsx)(uH, {id: "processing",position: "bottom-right",gap: 8,expand: !0,style: {- ...s$,+ ...a$,"--width": "min(400px, calc(100vw - 32px))"},offset: {@@ -67424,13 +67424,13 @@ var l$ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭任务提示" },containerAriaLabel: "后台任务"})] }));-}, dOe = 6e3, u$ = (e, t) => {+}, pOe = 6e3, c$ = (e, t) => {if (!String(t.html ?? "").trim()) return;- let n = t.alert ? oH.error : oH.success, r = t.action;+ let n = t.alert ? aH.error : aH.success, r = t.action;n(/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,toasterId: "receipts",- duration: t.timeout > 0 ? t.timeout : dOe,+ duration: t.timeout > 0 ? t.timeout : pOe,action: r ? {label: r.label,onClick: (e) => {@@ -67438,7 +67438,7 @@ var l$ = (e, t) => {}} : void 0});-}, d$ = (e) => e.id ?? e.entity_id, f$ = {+}, l$ = (e) => e.id ?? e.entity_id, u$ = {rename: "重命名标签",merge: "合并标签",hide: "隐藏标签",@@ -67446,26 +67446,26 @@ var l$ = (e, t) => {repair: "整理重复标签",block: "屏蔽内容",unblock: "恢复内容"-}, p$ = (e, t) => V("/api/tag-management/preview", e, "POST", t);-async function m$(e, t, n) {+}, d$ = (e, t) => V("/api/tag-management/preview", e, "POST", t);+async function f$(e, t, n) {if (n?.aborted) return !1;let r = t.tags.map((e) => `「${e.k}」`).join("、"), i = e.operation === "merge" || e.operation === "repair" ? `合并 ${t.tags.length} 个标签,涉及 ${t.assets} 个资源,重叠关联 ${t.overlap} 个。旧名称保留为别名。此操作无法直接撤销。` : e.operation === "rename" ? `${r}将更名为「${t.name || e.name}」,涉及 ${t.assets} 个资源。旧名称保留为别名。` : e.operation === "block" ? `屏蔽带有${r}任一标签的内容及其其它版本,涉及 ${t.assets} 个资源。可在「已屏蔽内容」中恢复。` : e.operation === "unblock" ? `解除${r}的内容屏蔽,涉及 ${t.assets} 个资源。` : `${e.operation === "hide" ? "隐藏" : "恢复"} ${t.tags.length} 个标签,涉及 ${t.assets} 个资源。${e.operation === "hide" ? "可在“已隐藏”中恢复。" : ""}`;return !(await ol({- title: f$[e.operation],+ title: u$[e.operation],body: i,- confirmLabel: f$[e.operation],+ confirmLabel: u$[e.operation],onConfirm: () => V("/api/tag-management", {...e,token: t.token}, "POST", n)- })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), u$(`tag-management-${Date.now()}`, {- html: `已${f$[e.operation]}`,+ })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), c$(`tag-management-${Date.now()}`, {+ html: `已${u$[e.operation]}`,alert: !1,timeout: 6e3,action: null}), !0);}-function h$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {+function p$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {let a = (0, F.useRef)({operation: e,selected: t,@@ -67474,24 +67474,24 @@ function h$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }scope: i}), o = (0, F.useRef)({name: t[0]?.k || "",- target_id: t[0] ? d$(t[0]) : 0+ target_id: t[0] ? l$(t[0]) : 0}), [s, c] = (0, F.useState)(null);return (0, F.useEffect)(() => {let e = new AbortController(), t = a.current, n = il({- title: f$[t.operation],+ title: u$[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(d$),+ ids: t.selected.map(l$),...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 p$(n, e.signal)+ plan: await d$(n, e.signal)};}});@@ -67502,14 +67502,14 @@ function h$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }if (!e.signal.aborted) {if (n.confirmed) {let r = n.result;- await m$(r.command, r.plan, e.signal) && t.done();+ await f$(r.command, r.plan, e.signal) && t.done();}e.signal.aborted || t.close();}}), () => {e.abort(), n.close();};- }, []), s ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(fOe, {+ }, []), s ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(mOe, {operation: a.current.operation,selected: a.current.selected,dialog: s.dialog,@@ -67518,8 +67518,8 @@ function h$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }}}), s.host) : null;}-function fOe({ operation: e, selected: t, dialog: n, update: r }) {- let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? d$(t[0]) : 0);+function mOe({ operation: e, selected: t, dialog: n, update: r }) {+ let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? l$(t[0]) : 0);return (0, F.useEffect)(() => {r({name: i,@@ -67532,28 +67532,28 @@ function fOe({ operation: e, selected: t, dialog: n, update: r }) {e,t,r- ]), e === "rename" ? /* @__PURE__ */ (0, I.jsx)(SV, {+ ]), e === "rename" ? /* @__PURE__ */ (0, I.jsx)(xV, {autoFocus: !0,"aria-label": "标签名称",value: i,onChange: a,maxLength: 80- }) : /* @__PURE__ */ (0, I.jsx)(cY, {+ }) : /* @__PURE__ */ (0, I.jsx)(oY, {"aria-label": "保留的标签",prefix: "保留",selectedKey: String(o),onSelectionChange: (e) => {- let n = t.find((t) => String(d$(t)) === String(e));- n && s(d$(n));+ let n = t.find((t) => String(l$(t)) === String(e));+ n && s(l$(n));},- children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(sW, {- id: String(d$(e)),+ children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(oW, {+ id: String(l$(e)),children: e.k- }, d$(e)))+ }, l$(e)))});}// src/react/index/tag-manager.tsx-function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {+function m$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {let s = o === "online", c = (0, F.useRef)(null), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(t), [p, m] = (0, F.useState)(n), h = r ? t : d, g = i ? n : p, _ = e ?? l, [v, y] = (0, F.useState)(!1), [b, x] = (0, F.useState)(!1), S = JSON.stringify([o,_,@@ -67561,7 +67561,7 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,g,v,b- ]), { pagination: C, onChange: w } = ZQ(S), T = new URLSearchParams({+ ]), { pagination: C, onChange: w } = YQ(S), T = new URLSearchParams({limit: String(C.pageSize),offset: String(C.pageIndex * C.pageSize),q: _,@@ -67578,25 +67578,25 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,],queryFn: ({ signal: e }) => B(`/api/tag-management?${T}`, e)});- QQ(E.data?.total, C, w);+ XQ(E.data?.total, C, w);let [D, O] = (0, F.useState)(/* @__PURE__ */ new Map());(0, F.useEffect)(() => {O(/* @__PURE__ */ new Map());}, [S]);- let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = AH(), ee = E.data?.items || [], N = ee, te = (s ? mZ : pZ).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({+ let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = kH(), ee = E.data?.items || [], N = ee, te = (s ? fZ : dZ).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({...e,label: e.k- })), ne = g === "alphabet" ? wZ(P, (e) => e) : [], re = [...D.values()], ie = (e) => {+ })), ne = g === "alphabet" ? SZ(P, (e) => e) : [], re = [...D.values()], ie = (e) => {M.run(e.operation, async (t) => {let n = s ? {...e,scope: o} : e;- return m$(n, await p$(n, t), t);+ return f$(n, await d$(n, t), t);}, (e) => {e && O(/* @__PURE__ */ new Map());});- }, ae = re.map(d$), oe = {+ }, ae = re.map(l$), oe = {online: s,favorites: s,picked: k,@@ -67617,13 +67617,13 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,children: [e === void 0 ? /* @__PURE__ */ (0, I.jsx)("div", {className: "mb-4 flex",- children: /* @__PURE__ */ (0, I.jsx)(XQ, {+ children: /* @__PURE__ */ (0, I.jsx)(JQ, {label: "过滤标签",value: l,onQuery: u})}) : null,- /* @__PURE__ */ (0, I.jsx)(i$, {+ /* @__PURE__ */ (0, I.jsx)(n$, {categories: te,category: h,online: s,@@ -67672,7 +67672,7 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,E.isPending ? /* @__PURE__ */ (0, I.jsx)("div", { dangerouslySetInnerHTML: { __html: ec({mode: g,pageSize: C.pageSize- }) } }) : E.isError ? /* @__PURE__ */ (0, I.jsx)(TV, {+ }) } }) : E.isError ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -67680,19 +67680,19 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,children: "立即重试"}),children: "无法读取标签"- }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(n$, {+ }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(e$, {groups: ne,actions: oe- }) : /* @__PURE__ */ (0, I.jsx)(r$, {+ }) : /* @__PURE__ */ (0, I.jsx)(t$, {tags: P,actions: oe- }) : /* @__PURE__ */ (0, I.jsx)(TV, {+ }) : /* @__PURE__ */ (0, I.jsx)(wV, {tone: "neutral",children: "没有符合条件的标签。"}),E.data ? /* @__PURE__ */ (0, I.jsx)("div", {className: "mt-5",- children: /* @__PURE__ */ (0, I.jsx)(dY, {+ children: /* @__PURE__ */ (0, I.jsx)(lY, {label: "标签管理",total: E.data.total,pagination: C,@@ -67702,11 +67702,11 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,pageSizes: $s})}) : null,- M.error ? /* @__PURE__ */ (0, I.jsx)(TV, {+ M.error ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",children: M.error}) : null,- /* @__PURE__ */ (0, I.jsxs)(Mj, {+ /* @__PURE__ */ (0, I.jsxs)(Pj, {label: "标签管理操作",count: `已选 ${k.size} 个标签`,visible: k.size > 0,@@ -67728,7 +67728,7 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...AV(!!M.busy),+ ...kV(!!M.busy),onClick: () => ie({operation: v ? "restore" : "hide",ids: ae@@ -67738,7 +67738,7 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,s ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...AV(!!M.busy),+ ...kV(!!M.busy),onClick: () => ie({operation: b ? "unblock" : "block",ids: ae@@ -67747,7 +67747,7 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,}) : null]}),- A ? /* @__PURE__ */ (0, I.jsx)(h$, {+ A ? /* @__PURE__ */ (0, I.jsx)(p$, {operation: A,selected: re,scope: o,@@ -67758,7 +67758,7 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,});}// src/react/index/index-page.tsx-var pOe = [+var hOe = [{value: "studios",label: "厂牌",@@ -67774,7 +67774,7 @@ var pOe = [label: "系列",symbol: "list"}-], mOe = [{+], gOe = [{value: "local",label: "本地",symbol: "hard-drive"@@ -67782,7 +67782,7 @@ var pOe = [value: "online",label: "在线",symbol: "rss"-}], hOe = [+}], _Oe = [{value: "performers",label: "艺人",@@ -67798,7 +67798,7 @@ var pOe = [label: "在线",symbol: "rss"}-], gOe = {+], vOe = {people: [["big","大图 · 竖幅头像",@@ -67827,20 +67827,20 @@ var pOe = ["layout-grid"]]};-function _Oe({ kind: e, layout: t, onChange: n }) {- return /* @__PURE__ */ (0, I.jsx)(LU, {- "aria-label": `${fZ[e]}索引版式`,+function yOe({ kind: e, layout: t, onChange: n }) {+ return /* @__PURE__ */ (0, I.jsx)(IU, {+ "aria-label": `${uZ[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",- className: `flex-none ${RU}`,- children: gOe[e === "series" ? "series" : _Z(e) ? "company" : "people"].map(([e, t, n]) => {- let r = OV(n);+ className: `flex-none ${LU}`,+ children: vOe[e === "series" ? "series" : hZ(e) ? "company" : "people"].map(([e, t, n]) => {+ let r = DV(n);return /* @__PURE__ */ (0, I.jsx)(Yz, {value: e,"aria-label": t,- className: vve,+ className: yve,children: /* @__PURE__ */ (0, I.jsx)("span", {title: t,className: "contents",@@ -67850,8 +67850,8 @@ function _Oe({ kind: e, layout: t, onChange: n }) {})});}-function vOe(e) {- let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => vZ({+function bOe(e) {+ let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => gZ({kind: e.kind,q: e.q,scope: e.scope,@@ -67864,8 +67864,8 @@ function vOe(e) {e.view,e.category]), [o, s] = (0, F.useState)(a);- a !== o && (s(a), i(vZ(e)));- let [c, l] = (0, F.useState)(e.layout), [u, d] = (0, F.useState)(/* @__PURE__ */ new Set()), [f, p] = (0, F.useState)("any"), m = (0, F.useRef)(null), { kind: h, q: g, scope: _, view: v, category: y } = r, b = fZ[h], x = h === "tags" && _ === "online", S = h === "performers" && _ === "online";+ a !== o && (s(a), i(gZ(e)));+ let [c, l] = (0, F.useState)(e.layout), [u, d] = (0, F.useState)(/* @__PURE__ */ new Set()), [f, p] = (0, F.useState)("any"), m = (0, F.useRef)(null), { kind: h, q: g, scope: _, view: v, category: y } = r, b = uZ[h], x = h === "tags" && _ === "online", S = h === "performers" && _ === "online";(0, F.useEffect)(() => {if (r.kind === e.kind && r.scope === e.scope && r.category === e.category) return;let t = !0;@@ -67884,7 +67884,7 @@ function vOe(e) {...t};i(o), e.route(o, { replace: a });- }, { pagination: w, onChange: T } = ZQ(JSON.stringify(r)), E = SZ(yZ(r), w.pageSize), D = It({+ }, { pagination: w, onChange: T } = YQ(JSON.stringify(r)), E = bZ(_Z(r), w.pageSize), D = It({queryKey: h === "tags" && (w.pageIndex || w.pageSize !== 100) ? [...E.queryKey,"page",@@ -67899,7 +67899,7 @@ function vOe(e) {getNextPageParam: h === "tags" ? () => void 0 : E.getNextPageParam,enabled: !(t && h === "tags"),placeholderData: ke- }), O = ZTe(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;+ }), O = $Te(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;(0, F.useEffect)(() => {lm(() => window.location.pathname === `/${h}` && !!m.current?.isConnected, m.current?.querySelector("[data-index-body]"), { pending: k });}, [@@ -67907,8 +67907,8 @@ function vOe(e) {D.isPending,D.isPlaceholderData,r- ]), QQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);- let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : QTe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;+ ]), XQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);+ let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : eEe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;te && !D.isPlaceholderData && (N.current = {key: ee,counts: te@@ -67924,15 +67924,15 @@ function vOe(e) {O,h,x- ]), ae = (0, F.useMemo)(() => h === "tags" && v === "alphabet" ? wZ(ie, (t) => x ? t : e.tagLabel(t)) : [], [+ ]), ae = (0, F.useMemo)(() => h === "tags" && v === "alphabet" ? SZ(ie, (t) => x ? t : e.tagLabel(t)) : [], [ie,v,h,x]), oe = (t) => {l(t), e.savePreference({ layout: t });- }, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(LW, {- tabs: mOe,+ }, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(FW, {+ tabs: gOe,value: _,label: "词表",onChange: (e) => {@@ -67942,8 +67942,8 @@ function vOe(e) {view: e === "online" ? "alphabet" : v});}- }) : _Z(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(LW, {- tabs: pOe,+ }) : hZ(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(FW, {+ tabs: hOe,value: h,label: "资料类型",onChange: (e) => C({ kind: e })@@ -67952,7 +67952,7 @@ function vOe(e) {let n = new Set(e);return n.delete(t) || n.add(t), n;}) : ie.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");- }, le = (x ? mZ : pZ).filter(re);+ }, le = (x ? fZ : dZ).filter(re);return /* @__PURE__ */ (0, I.jsxs)("div", {ref: m,"data-index-page": h,@@ -67967,7 +67967,7 @@ function vOe(e) {className: "flex flex-none items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",children: b}),- gZ(h) ? /* @__PURE__ */ (0, I.jsx)("span", {+ mZ(h) ? /* @__PURE__ */ (0, I.jsx)("span", {"data-index-count": "",className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums max-board-narrow:order-1 max-board-narrow:basis-full",children: /* @__PURE__ */ (0, I.jsx)(xL, {@@ -67979,18 +67979,18 @@ function vOe(e) {})})}) : null,- gZ(h) ? /* @__PURE__ */ (0, I.jsx)(_Oe, {+ mZ(h) ? /* @__PURE__ */ (0, I.jsx)(yOe, {kind: h,layout: c,onChange: oe}) : null,- /* @__PURE__ */ (0, I.jsx)(UV, { kind: h === "tags" ? "tag" : h === "series" ? "series" : h === "studios" ? "studio" : h === "agencies" ? "agency" : h === "creators" ? "creator" : "performer" }),+ /* @__PURE__ */ (0, I.jsx)(HV, { kind: h === "tags" ? "tag" : h === "series" ? "series" : h === "studios" ? "studio" : h === "agencies" ? "agency" : h === "creators" ? "creator" : "performer" }),h === "tags" ? /* @__PURE__ */ (0, I.jsx)(J, {variant: t ? "primary" : "ghost",iconOnly: !0,className: "flex-none","data-tag-mode": "",- leadingIcon: OV("pencil"),+ leadingIcon: DV("pencil"),"aria-label": t ? "返回标签浏览" : "管理标签",title: t ? "返回标签浏览" : "管理标签","aria-pressed": t,@@ -67998,7 +67998,7 @@ function vOe(e) {e.exitSelectMode(), d(/* @__PURE__ */ new Set()), n(!t);}}) : null,- /* @__PURE__ */ (0, I.jsx)(XQ, {+ /* @__PURE__ */ (0, I.jsx)(JQ, {label: `过滤${b}`,value: g,onQuery: (e) => {@@ -68007,8 +68007,8 @@ function vOe(e) {})]}),- h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(LW, {- tabs: hOe,+ h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(FW, {+ tabs: _Oe,value: S ? "online" : h,label: "人物名册",onChange: (t) => {@@ -68020,7 +68020,7 @@ function vOe(e) {}}) : null,se,- t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(g$, {+ t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(m$, {scope: _,search: g,category: y,@@ -68034,8 +68034,8 @@ function vOe(e) {}, _) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [h === "performers" && _ === "local" ? /* @__PURE__ */ (0, I.jsx)("div", {"aria-label": "身份分类",- className: dZ,- children: uZ.filter((e) => e[0] === y || re(e)).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(J, {+ className: lZ,+ children: cZ.filter((e) => e[0] === y || re(e)).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(J, {variant: y === e ? "primary" : "secondary",size: "small","aria-pressed": y === e,@@ -68043,7 +68043,7 @@ function vOe(e) {children: t}, e))}) : null,- h === "tags" ? /* @__PURE__ */ (0, I.jsx)(i$, {+ h === "tags" ? /* @__PURE__ */ (0, I.jsx)(n$, {categories: le,category: y,online: x,@@ -68059,7 +68059,7 @@ function vOe(e) {}) : null,/* @__PURE__ */ (0, I.jsx)("div", {"data-index-body": "",- children: /* @__PURE__ */ (0, I.jsx)(QG, {+ children: /* @__PURE__ */ (0, I.jsx)(XG, {pending: k,skeletonHtml: () => h === "tags" ? ec({mode: v,@@ -68071,8 +68071,8 @@ function vOe(e) {}),children: (() => {if (k) return null;- if (D.isError) return /* @__PURE__ */ (0, I.jsx)(EV, {- icon: OV("alert"),+ if (D.isError) return /* @__PURE__ */ (0, I.jsx)(TV, {+ icon: DV("alert"),title: `没能读取${b}`,actions: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -68081,7 +68081,7 @@ function vOe(e) {}),children: bn(D.error)});- if (!O.length) return /* @__PURE__ */ (0, I.jsx)(bOe, {+ if (!O.length) return /* @__PURE__ */ (0, I.jsx)(SOe, {kind: h,filtered: !!g || y !== "all",online: x || S,@@ -68090,12 +68090,12 @@ function vOe(e) {category: "all"})});- if (S) return /* @__PURE__ */ (0, I.jsx)(rEe, {+ if (S) return /* @__PURE__ */ (0, I.jsx)(aEe, {items: O,layout: c,props: e});- if (gZ(h)) return /* @__PURE__ */ (0, I.jsx)(DZ, {+ if (mZ(h)) return /* @__PURE__ */ (0, I.jsx)(TZ, {kind: h,items: O,layout: c,@@ -68106,10 +68106,10 @@ function vOe(e) {picked: u,press: ce};- return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(n$, {+ return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(e$, {groups: ae,actions: t- }) : /* @__PURE__ */ (0, I.jsx)(r$, {+ }) : /* @__PURE__ */ (0, I.jsx)(t$, {tags: ie,actions: t});@@ -68118,7 +68118,7 @@ function vOe(e) {}),h === "tags" && !k && !D.isError ? /* @__PURE__ */ (0, I.jsx)("div", {className: "mt-5",- children: /* @__PURE__ */ (0, I.jsx)(dY, {+ children: /* @__PURE__ */ (0, I.jsx)(lY, {label: "标签",total: j ?? O.length,pagination: w,@@ -68143,7 +68143,7 @@ function vOe(e) {}) : null, "载入更多"]})}) : null,- h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(uOe, {+ h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(fOe, {count: u.size,match: f,onMatch: p,@@ -68157,7 +68157,7 @@ function vOe(e) {]});}-var yOe = {+var xOe = {tags: "标签",performers: "艺人",creators: "卖家",@@ -68165,9 +68165,9 @@ var yOe = {agencies: "事务所",series: "系列"};-function bOe({ kind: e, filtered: t, online: n, onClear: r }) {- if (t) return /* @__PURE__ */ (0, I.jsx)(EV, {- icon: OV("search"),+function SOe({ kind: e, filtered: t, online: n, onClear: r }) {+ if (t) return /* @__PURE__ */ (0, I.jsx)(TV, {+ icon: DV("search"),title: "没有符合条件的内容",actions: /* @__PURE__ */ (0, I.jsx)(J, {size: "small",@@ -68176,14 +68176,14 @@ function bOe({ kind: e, filtered: t, online: n, onClear: r }) {}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : yOe[e], a = /* @__PURE__ */ (0, I.jsx)(FL, {+ let i = n && e === "performers" ? "创作者" : xOe[e], a = /* @__PURE__ */ (0, I.jsx)(FL, {size: "small",variant: n ? "primary" : "secondary",href: "/subscriptions?tab=add",children: "添加关注"});- return /* @__PURE__ */ (0, I.jsx)(EV, {- icon: OV(e === "tags" ? "tags" : "user-round"),+ return /* @__PURE__ */ (0, I.jsx)(TV, {+ icon: DV(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(FL, {size: "small",@@ -68193,15 +68193,15 @@ function bOe({ kind: e, filtered: t, online: n, onClear: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var _$ = {+var h$ = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, xOe = (e) => _$[e.junk_kind || "other"] || _$.other;-function SOe(e) {+}, COe = (e) => h$[e.junk_kind || "other"] || h$.other;+function wOe(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -68212,40 +68212,40 @@ function SOe(e) {glyph: "check"};}-var v$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), COe = (e, t) => [+var g$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), TOe = (e, t) => ["junk-queue",e.view,e.kind,t];-function wOe({ kind: e, view: t }) {+function EOe({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function TOe(e, t) {- let n = await B(`/api/ads?${wOe(e)}`, t);+async function DOe(e, t) {+ let n = await B(`/api/ads?${EOe(e)}`, t);return {...n,items: n.items || []};}// src/react/junk-queue/junk-card.tsx-function y$({ name: e }) {+function _$({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-var b$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function EOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {- let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = xOe(e), m = String(e.name || ""), h = SOe(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]") || b$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));+var v$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;+function OOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {+ let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = COe(e), m = String(e.name || ""), h = wOe(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]") || v$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {- t.stopPropagation(), b$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);+ t.stopPropagation(), v$(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) => {@@ -68276,7 +68276,7 @@ function EOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-junk-kind": d,"data-selected": n ? "" : void 0,onClick: v,- onMouseDown: pK,+ onMouseDown: dK,children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-media-pic": "",@@ -68284,7 +68284,7 @@ function EOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, I.jsx)(y$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]+ children: [/* @__PURE__ */ (0, I.jsx)(_$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]}),g ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-art": "thumb",@@ -68296,7 +68296,7 @@ function EOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}),/* @__PURE__ */ (0, I.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, I.jsx)(y$, { name: "check" })+ children: /* @__PURE__ */ (0, I.jsx)(_$, { name: "check" })})]}),@@ -68333,7 +68333,7 @@ function EOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [s === "reveal" ? /* @__PURE__ */ (0, I.jsx)("span", {"data-junk-spinner": "",dangerouslySetInnerHTML: { __html: zs("正在定位") }- }) : /* @__PURE__ */ (0, I.jsx)(y$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {+ }) : /* @__PURE__ */ (0, I.jsx)(_$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {"data-junk-label": "",children: "打开位置"})]@@ -68345,7 +68345,7 @@ function EOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": h.label,...S(h.operation),onClick: x(h.operation),- children: [/* @__PURE__ */ (0, I.jsx)(y$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(_$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {"data-junk-label": "",children: h.label})]@@ -68357,7 +68357,7 @@ function EOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": "移入回收站",...S("dispose"),onClick: x("dispose"),- children: [/* @__PURE__ */ (0, I.jsx)(y$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(_$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {"data-junk-label": "",children: "移入回收站"})]@@ -68372,9 +68372,9 @@ function EOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var DOe = (0, F.memo)(EOe);+var kOe = (0, F.memo)(OOe);// src/react/components/collection-summary.tsx-function x$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {+function y$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-collection-summary": "",className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5@@ -68400,31 +68400,31 @@ function x$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !});}// src/react/junk-queue/junk-count.tsx-function S$({ name: e }) {+function b$({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-function C$({ scope: e, count: t }) {+function x$({ scope: e, count: t }) {return t ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [" ", /* @__PURE__ */ (0, I.jsx)("span", {"data-count-badge": `junk:${e}`,children: t.toLocaleString()})] }) : null;}-function OOe({ route: e, page: t, failed: n, onNavigate: r }) {- let i = tH(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = NL(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? $U.map(([e]) => v$(t, e)).join(",") : ""}`), l = nW(s), u = (e) => {+function AOe({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = eH(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = NL(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? QU.map(([e]) => g$(t, e)).join(",") : ""}`), l = tW(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") || tW()));+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || eW()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";return /* @__PURE__ */ (0, I.jsxs)("div", {"data-junk-count": "",children: [/* @__PURE__ */ (0, I.jsx)("div", {"data-junk-summary": "","aria-live": "polite",- children: /* @__PURE__ */ (0, I.jsx)(x$, {- label: rW(s),+ children: /* @__PURE__ */ (0, I.jsx)(y$, {+ label: nW(s),figure: d,pending: !t && !n,flush: !0@@ -68444,17 +68444,17 @@ function OOe({ route: e, page: t, failed: n, onNavigate: r }) {onClick: u,onPointerLeave: c.leave,children: [- $U.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {- href: tW(e, s),+ QU.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {+ href: eW(e, s),"data-junk-kind-link": e,"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,children: [- /* @__PURE__ */ (0, I.jsx)(S$, { name: r }),+ /* @__PURE__ */ (0, I.jsx)(b$, { name: r }),n,- /* @__PURE__ */ (0, I.jsx)(C$, {+ /* @__PURE__ */ (0, I.jsx)(x$, {scope: e,- count: t ? v$(t, e) : 0+ count: t ? g$(t, e) : 0})]}, e || "all")),@@ -68468,9 +68468,9 @@ function OOe({ route: e, page: t, failed: n, onNavigate: r }) {"aria-current": s === "dismissed" ? "page" : void 0,onPointerEnter: s === "dismissed" ? void 0 : c.hover,children: [- /* @__PURE__ */ (0, I.jsx)(S$, { name: l.glyph }),+ /* @__PURE__ */ (0, I.jsx)(b$, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, I.jsx)(C$, {+ /* @__PURE__ */ (0, I.jsx)(x$, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -68482,33 +68482,33 @@ function OOe({ route: e, page: t, failed: n, onNavigate: r }) {});}// src/react/junk-queue/junk-queue-page.tsx-var kOe = OV("check"), AOe = (e, t) => e[1] === t.view && e[2] === t.kind;-function jOe(e) {+var jOe = DV("check"), MOe = (e, t) => e[1] === t.view && e[2] === t.kind;+function NOe(e) {let t = {kind: e.kind,view: e.view}, n = Pt({- queryKey: COe(t, e.revision),- queryFn: ({ signal: e }) => TOe(t, e),- placeholderData: (e, n) => n && AOe(n.queryKey, t) ? e : void 0+ queryKey: TOe(t, e.revision),+ queryFn: ({ signal: e }) => DOe(t, e),+ placeholderData: (e, n) => n && MOe(n.queryKey, t) ? e : void 0});(0, F.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = MOe(e.countRow), i = n.isPending;+ let r = POe(e.countRow), i = n.isPending;(0, F.useLayoutEffect)(() => {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, F.useLayoutEffect)(() => {r && n.data && Zs(r, "junk");}, [r, n.data]);- let { navigate: a } = e.actions, o = r ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(OOe, {+ let { navigate: a } = e.actions, o = r ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(AOe, {route: t,page: n.data,failed: n.isError && !n.data,onNavigate: a}), r) : null;- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(NOe, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(FOe, {props: e,data: n.data,pending: i,@@ -68516,7 +68516,7 @@ function jOe(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function MOe(e) {+function POe(e) {let [t, n] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {if (!e) return;@@ -68526,8 +68526,8 @@ function MOe(e) {};}, [e]), t;}-function NOe({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = Bye(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {+function FOe({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = Hye(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, I.jsxs)("div", {@@ -68535,14 +68535,14 @@ function NOe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-grid-reveal": a.fading ? "" : void 0,children: [a.layer, (() => {if (n) return null;- if (!t) return /* @__PURE__ */ (0, I.jsx)(ZG, {+ if (!t) return /* @__PURE__ */ (0, I.jsx)(YG, {message: bn(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";- return /* @__PURE__ */ (0, I.jsx)(EV, {- icon: kOe,+ return /* @__PURE__ */ (0, I.jsx)(TV, {+ icon: jOe,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",actions: t ? /* @__PURE__ */ (0, I.jsx)(FL, {size: "small",@@ -68557,7 +68557,7 @@ function NOe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-media-grid": "","data-junk-grid": "","data-select-mode": e.selectMode ? "" : void 0,- children: u.map((t) => /* @__PURE__ */ (0, I.jsx)(DOe, {+ children: u.map((t) => /* @__PURE__ */ (0, I.jsx)(kOe, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -68566,7 +68566,7 @@ function NOe({ props: e, data: t, pending: n, error: r, retry: i }) {actions: e.actions}, t.id))}),- u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(POe, { onMore: f }, s) : null,+ u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(IOe, { onMore: f }, s) : null,u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, I.jsx)("p", {"data-junk-truncated": "",className: "py-6 text-center text-caption-1-regular text-text-secondary",@@ -68576,14 +68576,14 @@ function NOe({ props: e, data: t, pending: n, error: r, retry: i }) {})()]});}-function POe({ onMore: e }) {+function IOe({ onMore: e }) {let t = (0, F.useRef)(null);return (0, F.useEffect)(() => {let n = t.current;if (!n || typeof IntersectionObserver > "u") return;let r = new IntersectionObserver((t) => {t.some((e) => e.isIntersecting) && e();- }, { rootMargin: XG });+ }, { rootMargin: JG });return r.observe(n), () => r.disconnect();}, [e]), /* @__PURE__ */ (0, I.jsx)("div", {ref: t,@@ -68593,22 +68593,22 @@ function POe({ onMore: e }) {});}// src/react/components/fieldset-layout.ts-var FOe = HH({+var LOe = VH({padding: "none",className: "overflow-hidden"-}), w$ = {+}), S$ = {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"-}, T$ = {+}, C$ = {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 E$(e) {- return `${FOe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;+function w$(e) {+ return `${LOe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;}// src/react/data-cleanup/cleanup-entry.ts-var D$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", O$ = {- face: HH({+var T$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", E$ = {+ face: VH({padding: "none",radius: "plain",interactive: !0,@@ -68620,34 +68620,34 @@ var D$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", Osummary: "text-body-2-regular tabular-nums text-text-secondary wrap-anywhere",detail: "text-caption-1-regular text-text-tertiary wrap-anywhere",arrow: "size-4 shrink-0 self-center text-foreground-icon-tertiary"-}, IOe = [+}, ROe = ["text-chart-6","text-chart-5","text-chart-7","text-chart-8"-], LOe = [+], zOe = ["bg-chart-6/10","bg-chart-5/10","bg-chart-7/10","bg-chart-8/10"];-function ROe(e = {}) {- return `${HH({+function BOe(e = {}) {+ return `${VH({...e,padding: "none"})} flex flex-col overflow-hidden pt-4 text-left`;}-var zOe = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", BOe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";-function k$({ interactive: e = !1 } = {}) {- return HH({+var VOe = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", HOe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";+function D$({ interactive: e = !1 } = {}) {+ return VH({padding: "none",radius: "plain",interactive: e,className: "flex min-h-33 flex-col gap-2 p-4 text-left"});}-var A$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";-function VOe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {+var O$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";+function UOe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",@@ -68680,13 +68680,13 @@ function VOe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMet})] });}-function HOe({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {+function WOe({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",children: [t ? /* @__PURE__ */ (0, I.jsx)("i", {"aria-hidden": !0,- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${IOe[n % 4]} ${LOe[n % 4]}`,+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${ROe[n % 4]} ${zOe[n % 4]}`,children: /* @__PURE__ */ (0, I.jsx)(t, {"aria-hidden": !0,className: "size-4"@@ -68707,109 +68707,122 @@ function HOe({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {] });}// src/management.ts-var j$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", M$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", N$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", P$ = "disabled data-skeleton-action", UOe = "aria-disabled=\"true\"", F$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, I$ = (e, t, n) => `<div class="${w$[n]}"><div class="flex flex-col gap-2">+var k$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", A$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", j$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", M$ = "disabled data-skeleton-action", GOe = "aria-disabled=\"true\"", N$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, P$ = (e, t, n) => `<div class="${S$[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 WOe() {- return F$(`<section aria-label="扫描与采集" class="${E$("stack")}" data-cleanup-task data-cleanup-processing>- ${I$("扫描与采集", j$, "stack")}- <footer class="${T$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${ws("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Ds({+function KOe() {+ return N$(`<section aria-label="扫描与采集" class="${w$("stack")}" data-cleanup-task data-cleanup-processing>+ ${P$("扫描与采集", k$, "stack")}+ <footer class="${C$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${ws("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Ds({label: "同步新增文件",- attrs: P$+ attrs: M$})}${Ds({glyph: "chevron-down",- attrs: `${P$} aria-label="更多同步方式"`+ attrs: `${M$} aria-label="更多同步方式"`})}</span></footer></section>`);}-function GOe() {- return F$(`<section aria-label="媒体修复" class="${E$("split")}" data-cleanup-task data-cleanup-processing>- ${I$("媒体修复", M$, "split")}- <footer class="${T$.split}">${ks(N$, {+function qOe() {+ return N$(`<section aria-label="媒体修复" class="${w$("split")}" data-cleanup-task data-cleanup-processing>+ ${P$("媒体修复", A$, "split")}+ <footer class="${C$.split}">${ks(j$, {className: "w-48",- attrs: UOe+ attrs: GOe})}${Ds({label: "开始修复",- attrs: P$+ attrs: M$})}</footer></section>`);}-function KOe() {- let e = (e, t, n, r = "") => `<div class="${O$.face}"><span class="${O$.icon}">${ws(t, "size-5")}</span><span class="${O$.body}"><span class="${O$.title}">${e}</span><span class="${O$.summary}">${n}</span>${r ? `<span class="${O$.detail}">${r}</span>` : ""}</span>${ws("chevron-right", O$.arrow)}</div>`, t = (e, t) => `<div class="${k$()}"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${ws(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${N$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${N$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => qf.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");+function JOe() {+ let e = (e, t, n, r = "") => `<div class="${E$.face}"><span class="${E$.icon}">${ws(t, "size-5")}</span><span class="${E$.body}"><span class="${E$.title}">${e}</span><span class="${E$.summary}">${n}</span>${r ? `<span class="${E$.detail}">${r}</span>` : ""}</span>${ws("chevron-right", E$.arrow)}</div>`, t = (e, t) => `<div class="${D$()}"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${ws(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${j$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${j$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => qf.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">- <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${A$}">${[+ <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${O$}">${[["人工复核", "square-check-big"],["重复文件", "file-stack"],["垃圾文件", "file-archive"],["高清版", "sparkles"],["回收站", "trash"]].map(([e, n]) => t(e, n)).join("")}</div></section>- <div id="libraryProcessing" class="scroll-mt-20">${WOe()}</div>- <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${D$}">${r(!1)}</div></section>- <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${D$}">${r(!0)}</div></section>+ <div id="libraryProcessing" class="scroll-mt-20">${KOe()}</div>+ <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${T$}">${r(!1)}</div></section>+ <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${T$}">${r(!0)}</div></section></div></div>`;}// src/react/components/fieldset.tsx-var qOe = HH({+var YOe = VH({padding: "none",radius: "surface",className: "overflow-hidden"-}), JOe = "border-t border-border-button-default p-4 first:border-t-0";-function YOe({ id: e, children: t }) {+}), XOe = "border-t border-border-button-default p-4 first:border-t-0";+function ZOe({ id: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)("h2", {id: e,className: "text-title-2-medium! m-0! text-text-primary",children: t});}-function L$({ id: e, gap: t = "none", children: n }) {+function F$({ id: e, gap: t = "none", children: n }) {return /* @__PURE__ */ (0, I.jsx)("h3", {id: e,className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,children: n});}-function R$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {+function I$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {return /* @__PURE__ */ (0, I.jsxs)("section", {id: r,"aria-label": t,"aria-labelledby": n,...o,- className: E$(e),+ className: w$(e),children: [/* @__PURE__ */ (0, I.jsx)("div", {- className: w$[e],+ className: S$[e],children: a}), i ? /* @__PURE__ */ (0, I.jsx)("footer", {- className: T$[e],+ className: C$[e],children: i}) : null]});}// src/react/components/name-link.tsx-function z$({ className: e, ...t }) {+function L$({ className: e, ...t }) {return /* @__PURE__ */ (0, I.jsx)("a", {...t,className: q("text-body-2-medium underline-offset-4 hover:underline", e)});}+// src/react/components/issue-row.tsx+function R$({ title: e, href: t, children: n }) {+ return /* @__PURE__ */ (0, I.jsxs)("li", {+ className: "flex min-w-0 flex-col gap-1 border-b border-current/15 py-2 pr-6 wrap-anywhere first:pt-0 last:border-b-0 last:pb-0",+ children: [t ? /* @__PURE__ */ (0, I.jsx)(L$, {+ href: t,+ children: e+ }) : /* @__PURE__ */ (0, I.jsx)("span", {+ className: "text-body-2-medium",+ children: e+ }), n]+ });+}// src/react/components/status-label.tsx-var XOe = {+var QOe = {success: "lime",progress: "blue",warning: "yellow",error: "rose",neutral: "neutral"};-function B$({ tone: e = "neutral", ...t }) {- return /* @__PURE__ */ (0, I.jsx)(lW, {+function z$({ tone: e = "neutral", ...t }) {+ return /* @__PURE__ */ (0, I.jsx)(cW, {"data-status-tone": e,variant: "caption",- color: XOe[e],+ color: QOe[e],...t});}// src/react/components/path-line.tsx-function ZOe({ className: e }) {+function $Oe({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -68822,8 +68835,8 @@ function ZOe({ className: e }) {children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-folder-open" })});}-var QOe = "打开文件管理器失败,请重试";-function V$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {+var eke = "打开文件管理器失败,请重试";+function B$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {let [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(!0);(0, F.useEffect)(() => () => {l.current = !1;@@ -68834,7 +68847,7 @@ function V$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {try {await V("/api/reveal", { path: e }), i?.("已在资源管理器中显示");} catch (e) {- l.current && c(e instanceof or ? e.message : QOe);+ l.current && c(e instanceof or ? e.message : eke);} finally {l.current && o(!1);}@@ -68850,11 +68863,11 @@ function V$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-center gap-2",children: [/* @__PURE__ */ (0, I.jsx)(CL, {- icon: ZOe,+ icon: $Oe,size: "small","aria-label": "在资源管理器中显示",onClick: () => void u(),- ...AV(a)+ ...kV(a)}), r]})]}), s ? /* @__PURE__ */ (0, I.jsx)("p", {@@ -68864,7 +68877,7 @@ function V$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {});}// src/react/library-processing/issue-export.ts-async function $Oe(e, t) {+async function tke(e, t) {if (!e.job_id) throw Error("请先选择有问题记录的任务");let n = [], r = 1, i = "";for (let a = 0; a < r; a += 200) {@@ -68887,69 +68900,69 @@ async function $Oe(e, t) {rows: n}, null, 2);}-function eke(e, t) {+function nke(e, t) {let n = URL.createObjectURL(new Blob([t], { type: "application/json;charset=utf-8" })), r = document.createElement("a");r.href = n, r.download = `peach-issues-${e}.json`, r.click(), URL.revokeObjectURL(n);}// src/react/library-processing/library-processing-card.tsx-var tke = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", nke = (e) => {+var rke = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", ike = (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} 部视频预览。` : "") + nke(e);-function ike({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = g_e(e), o = AH(), s = AH(), [c, l] = (0, F.useState)(""), u = gH(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = p_e(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && _H(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = mH(e), y = tH(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => V(fH, {+}, ake = (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} 部视频预览。` : "") + ike(e);+function oke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+ let a = __e(e), o = kH(), s = kH(), [c, l] = (0, F.useState)(""), u = hH(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = m_e(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && gH(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = pH(e), y = eH(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => V(dH, {action: t ? "archive" : "unarchive",job_id: e.job_id}, "POST", n), (n) => {- H.setQueryData(pH, n), l(t ? e.job_id : "");+ H.setQueryData(fH, n), l(t ? e.job_id : "");}), x = e.issue_count && !u ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...AV(!!o.busy),- onClick: () => void o.run("export", (t) => $Oe(e, t), (t) => {- eke(e.job_id, t), i("已导出问题清单");+ ...kV(!!o.busy),+ onClick: () => void o.run("export", (t) => tke(e, t), (t) => {+ nke(e.job_id, t), i("已导出问题清单");}),children: "导出完整问题清单"}) : null, S = p ? [t || e.error || "处理未完成,请重试",- m ? vH : "",+ m ? _H : "",f].filter(Boolean).join("\n") : f || `这一趟有 ${(e.issue_count || 0).toLocaleString()} 项问题。`;return /* @__PURE__ */ (0, I.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",children: [- v ? /* @__PURE__ */ (0, I.jsx)(y_e, {+ v ? /* @__PURE__ */ (0, I.jsx)(b_e, {state: e,slow: v- }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(TV, {+ }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "warning",title: "处理较慢",- children: tke+ children: rke}) : null,- n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(TV, {+ n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "success",title: "处理完成",- children: rke(n)+ children: ake(n)}) : null,- (n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(TV, {+ (n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "neutral",title: "已取消上次任务",children: "已取得的资料和预览已保留,这一轮不会自动继续,需要时重新同步。"}) : null,- h ? /* @__PURE__ */ (0, I.jsx)(TV, {+ h ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: p ? m ? "warning" : "error" : "neutral",className: "gap-0 p-3",title: p ? m ? "处理已结束,部分项目需处理" : "处理未完成" : void 0,action: /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- m ? /* @__PURE__ */ (0, I.jsx)(kH, {- href: yH,+ m ? /* @__PURE__ */ (0, I.jsx)(OH, {+ href: vH,size: "small",- trailingIcon: IB,+ trailingIcon: FB,children: "查看全部内容"}) : null,d ? /* @__PURE__ */ (0, I.jsx)(J, {@@ -68963,7 +68976,7 @@ function ike({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {variant: "secondary",size: "small","aria-label": "归档提示",- ...AV(!!s.busy),+ ...kV(!!s.busy),onClick: () => b(!0),children: "归档"}) : null@@ -68971,7 +68984,7 @@ function ike({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}),extra: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [a ? /* @__PURE__ */ (0, I.jsx)("div", {className: "-mx-3 mt-3 border-t border-current/20 px-3 pt-3",- children: /* @__PURE__ */ (0, I.jsx)(yU, {+ children: /* @__PURE__ */ (0, I.jsx)(vU, {summary: a.label,contentClassName: "gap-0",children: /* @__PURE__ */ (0, I.jsx)("div", {@@ -68979,32 +68992,23 @@ function ike({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {children: /* @__PURE__ */ (0, I.jsx)("ul", {ref: y,className: "max-h-96 overflow-y-auto",- children: a.items.map((e) => /* @__PURE__ */ (0, I.jsxs)("li", {- className: "flex flex-col gap-1 border-b border-current/15 py-2 pr-6 wrap-anywhere first:pt-0 last:border-b-0 last:pb-0",- children: [- e.href ? /* @__PURE__ */ (0, I.jsx)(z$, {- href: e.href,- children: e.label- }) : /* @__PURE__ */ (0, I.jsx)("span", {- className: "text-body-2-medium",- children: e.label- }),- /* @__PURE__ */ (0, I.jsx)("span", {- className: "text-caption-1-regular",- children: e.note- }),- e.hint ? /* @__PURE__ */ (0, I.jsx)("code", {- className: "text-caption-1-regular break-all",- children: e.hint- }) : null- ]+ children: a.items.map((e) => /* @__PURE__ */ (0, I.jsxs)(R$, {+ title: e.label,+ href: e.href,+ children: [/* @__PURE__ */ (0, I.jsx)("span", {+ className: "text-caption-1-regular",+ children: e.note+ }), e.hint ? /* @__PURE__ */ (0, I.jsx)("code", {+ className: "text-caption-1-regular break-all",+ children: e.hint+ }) : null]}, e.key))})})})}) : null, _ ? /* @__PURE__ */ (0, I.jsx)("div", {className: "-mx-3 mt-3 border-t border-current/20 px-3 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, I.jsx)(V$, {+ children: /* @__PURE__ */ (0, I.jsx)(B$, {path: _,prefix: "完整记录:",className: "text-caption-1-regular",@@ -69017,70 +69021,70 @@ function ike({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null] }),children: S}) : null,- e.archived && c === e.job_id && !t ? /* @__PURE__ */ (0, I.jsx)(TV, {+ e.archived && c === e.job_id && !t ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "neutral",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...AV(!!s.busy),+ ...kV(!!s.busy),onClick: () => b(!1),children: "撤销"}),children: "已归档上一趟的问题提示,完整记录仍保留。"}) : null,- o.error || s.error ? /* @__PURE__ */ (0, I.jsx)(TV, {+ o.error || s.error ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "warning",children: o.error || s.error}) : null]});}-function H$(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = VH(e), o = Ft({- mutationFn: (e) => V(fH, e),+function V$(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = BH(e), o = Ft({+ mutationFn: (e) => V(dH, e),onSuccess: (e) => {- a(), H.setQueryData(pH, e), H.invalidateQueries({ queryKey: pH });+ a(), H.setQueryData(fH, e), H.invalidateQueries({ queryKey: fH });}});(0, F.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = FU(c), u = o.error ? cr(o.error) : r.isError ? r.data ? CH : cr(r.error) : "", d = o.isPending || gH(s), f = async (e) => {+ let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = PU(c), u = o.error ? cr(o.error) : r.isError ? r.data ? SH : cr(r.error) : "", d = o.isPending || hH(s), f = async (e) => {d || (o.reset(), await o.mutateAsync(e));};return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, I.jsx)(R$, {+ children: [/* @__PURE__ */ (0, I.jsx)(I$, {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(kH, {+ /* @__PURE__ */ (0, I.jsx)(OH, {href: "/sources",size: "small",- trailingIcon: IB,+ trailingIcon: FB,children: "来源和凭证"}),- /* @__PURE__ */ (0, I.jsx)(kH, {+ /* @__PURE__ */ (0, I.jsx)(OH, {href: "/settings/diagnostics",size: "small",- trailingIcon: IB,+ trailingIcon: FB,children: "诊断与日志"}),- s.candidates ? /* @__PURE__ */ (0, I.jsx)(kH, {+ s.candidates ? /* @__PURE__ */ (0, I.jsx)(OH, {href: "/review",size: "small",- trailingIcon: IB,+ trailingIcon: FB,children: "复核资料"}) : null,- /* @__PURE__ */ (0, I.jsx)(tq, {+ /* @__PURE__ */ (0, I.jsx)($K, {scan: !0,busy: o.isPending,- occupied: gH(s),+ occupied: hH(s),metadataOnly: s?.metadata_only,speedMode: s.speed_mode,pendingCount: s.new_asset_count,onRun: f,- onOccupied: () => t(d_e(s))+ onOccupied: () => t(f_e(s))})] }),children: /* @__PURE__ */ (0, I.jsxs)("div", {@@ -69090,7 +69094,7 @@ function H$(e) {className: "flex flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(L$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(lW, {+ children: [/* @__PURE__ */ (0, I.jsx)(F$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(cW, {variant: "caption",color: "blue",children: /* @__PURE__ */ (0, I.jsxs)("span", {@@ -69098,31 +69102,31 @@ function H$(e) {children: [s.new_asset_count.toLocaleString(), " 部待补全"]})}) : null]- }), l && (gH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, I.jsx)(J, {+ }), l && (hH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- onClick: () => PU(c, !0),+ onClick: () => NU(c, !0),children: "显示进度浮窗"}) : null]}),/* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: j$+ children: k$}),s.status === "paused" && !s.total ? /* @__PURE__ */ (0, I.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, I.jsx)(B$, { children: "已暂停" })- }) : gH(s) ? /* @__PURE__ */ (0, I.jsx)(P_e, { state: s }) : null,- gH(s) ? /* @__PURE__ */ (0, I.jsx)("p", {+ children: /* @__PURE__ */ (0, I.jsx)(z$, { children: "已暂停" })+ }) : hH(s) ? /* @__PURE__ */ (0, I.jsx)(F_e, { state: s }) : null,+ hH(s) ? /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular text-text-secondary tabular-nums","data-processing-eta": "",- children: bH(s)+ children: yH(s)}) : null,- gH(s) ? /* @__PURE__ */ (0, I.jsx)(DU, { traffic: s.traffic }) : null,- gH(s) ? /* @__PURE__ */ (0, I.jsx)(BH, { state: s }) : null+ hH(s) ? /* @__PURE__ */ (0, I.jsx)(EU, { traffic: s.traffic }) : null,+ hH(s) ? /* @__PURE__ */ (0, I.jsx)(zH, { state: s }) : null]})- }), /* @__PURE__ */ (0, I.jsx)(ike, {+ }), /* @__PURE__ */ (0, I.jsx)(oke, {state: s,problem: u,settled: i,@@ -69137,32 +69141,32 @@ function H$(e) {});}// src/react/playlists/playlists.ts-var ake = "/api/playlists", U$ = "/api/playlist", W$ = ["playlists"], G$ = (e) => B(ake, e);-async function oke(e) {+var ske = "/api/playlists", H$ = "/api/playlist", U$ = ["playlists"], W$ = (e) => B(ske, e);+async function cke(e) {await H.fetchQuery({- queryKey: W$,- queryFn: () => G$(e),+ queryKey: U$,+ queryFn: () => W$(e),staleTime: 0});}-var ske = () => H.invalidateQueries({- queryKey: W$,+var lke = () => H.invalidateQueries({+ queryKey: U$,exact: !0-}), cke = (e) => e.current_asset_id || e.preview_asset_id || null, lke = (e) => `/poster?id=${e}&c=4`, uke = (e) => V(U$, {+}), uke = (e) => e.current_asset_id || e.preview_asset_id || null, dke = (e) => `/poster?id=${e}&c=4`, fke = (e) => V(H$, {action: "create",name: e,asset_ids: []-}), dke = (e, t) => V(U$, {+}), pke = (e, t) => V(H$, {action: "rename",id: e,name: t-}), fke = (e) => V(U$, {+}), mke = (e) => V(H$, {action: "delete",id: e-}), pke = (e) => B(`${U$}?id=${e}`).catch(() => null);-function mke(e) {+}), hke = (e) => B(`${H$}?id=${e}`).catch(() => null);+function gke(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;- return V(U$, {+ return V(H$, {action: "create",name: e.name,asset_ids: t,@@ -69171,9 +69175,13 @@ function mke(e) {});}// src/react/scraping/custom-source-data.ts-var K$ = "/api/custom-metadata", q$ = ["custom-metadata"], J$ = (e) => B(K$, e), hke = "/api/scraping", gke = "/api/scraping/settings", _ke = "/api/scraping/check", Y$ = "/api/scraping/cover", vke = "/api/scraping/amane-bridge", yke = "/api/scraping/amane-bridge/check", bke = "/api/scraping/amane-bridge/rebuild", X$ = ["scraping"], Z$ = ["scraping", "cover"], Q$ = ["scraping", "amane-bridge"], xke = 262144, $$ = (e) => B(hke, e), e1 = (e) => B(Y$, e), t1 = (e) => B(vke, e);-async function Ske(e) {+var G$ = "/api/custom-metadata", K$ = ["custom-metadata"], q$ = (e) => B(G$, e), _ke = "/api/scraping", vke = "/api/scraping/settings", yke = "/api/scraping/check", J$ = "/api/scraping/cover", bke = "/api/scraping/amane-bridge", xke = "/api/scraping/amane-bridge/check", Ske = "/api/scraping/amane-bridge/rebuild", Y$ = ["scraping"], X$ = ["scraping", "cover"], Z$ = ["scraping", "amane-bridge"], Cke = 262144, Q$ = (e) => B(_ke, e), $$ = (e) => B(J$, e), e1 = (e) => B(bke, e);+async function wke(e) {await Promise.all([+ H.fetchQuery({+ queryKey: Y$,+ queryFn: () => Q$(e)+ }),H.fetchQuery({queryKey: X$,queryFn: () => $$(e)@@ -69183,40 +69191,36 @@ async function Ske(e) {queryFn: () => e1(e)}),H.fetchQuery({- queryKey: Q$,- queryFn: () => t1(e)- }),- H.fetchQuery({- queryKey: q$,- queryFn: () => J$(e)+ queryKey: K$,+ queryFn: () => q$(e)})]);}-function Cke(e, t) {+function Tke(e, t) {return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");}// src/react/search/search.ts-var n1 = /* @__PURE__ */ new Set([+var t1 = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), r1 = /* @__PURE__ */ new Set([+]), n1 = /* @__PURE__ */ new Set(["asset","jav","post","photo","release"-]), i1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();-function wke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {+]), r1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+function Eke({ 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 || i1(t).includes(i1(e)));+ }, d = t.filter((t) => !e || r1(t).includes(r1(e)));if (!e) {if (s.length) {let e = s.map((e) => ({@@ -69237,8 +69241,8 @@ function wke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: avalue: e}))} : null,- left: e.filter((e) => !r1.has(e.kind)),- right: e.filter((e) => r1.has(e.kind)),+ left: e.filter((e) => !n1.has(e.kind)),+ right: e.filter((e) => n1.has(e.kind)),empty: !1,options: l};@@ -69288,7 +69292,7 @@ function wke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: n,more: r};- }, g = m.filter((e) => !r1.has(e.kind)).map(h), _ = m.filter((e) => r1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);+ }, g = m.filter((e) => !n1.has(e.kind)).map(h), _ = m.filter((e) => n1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);return {tabs: f && a.length > 1 ? [...a] : null,recent: p,@@ -69298,16 +69302,16 @@ function wke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: l};}-function Tke(e, t, n = Math.random) {+function Dke(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) => i1(t) === i1(e))).slice(0, 5);+ return r.filter((e) => !t.some((t) => r1(t) === r1(e))).slice(0, 5);}// src/react/search/search-page.tsx-var Eke = () => ({+var Oke = () => ({dismissed: !1,history: [],pool: [],@@ -69326,7 +69330,7 @@ var Eke = () => ({active: -1,reveal: !1,rewind: !1-}), a1 = (e) => wke({+}), i1 = (e) => Eke({query: e.query,history: e.history,picks: e.picks,@@ -69335,18 +69339,18 @@ var Eke = () => ({tabs: e.tabs,kind: e.kind,recommendations: e.recommendations-}), Dke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), o1 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {+}), kke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), a1 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});-function Oke(e) {+function Ake(e) {let t = (0, F.useRef)(e);t.current = e;let n = (0, F.useRef)(null);- n.current ??= Eke();+ n.current ??= Oke();let r = n.current, i = (0, F.useRef)(null), [, a] = (0, F.useReducer)((e) => e + 1, 0), o = (0, F.useRef)(null);- o.current ??= kke(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);+ o.current ??= jke(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);let s = o.current;(0, F.useLayoutEffect)(() => {let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus(), c = () => {@@ -69361,7 +69365,7 @@ function Oke(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 = a1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(jke, {+ let c = i1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(Nke, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -69374,7 +69378,7 @@ function Oke(e) {children: [/* @__PURE__ */ (0, I.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, I.jsx)("a", {href: e.href,- onMouseDown: s1,+ onMouseDown: o1,onClick: (t) => {t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));},@@ -69393,7 +69397,7 @@ function Oke(e) {"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,"data-history-limit": l,children: [- c.tabs ? /* @__PURE__ */ (0, I.jsx)(Ake, {+ c.tabs ? /* @__PURE__ */ (0, I.jsx)(Mke, {tabs: c.tabs,kind: r.kind,onPick: s.pickKind,@@ -69420,7 +69424,7 @@ function Oke(e) {]});}-function kke(e, t, n, r) {+function jke(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 () => {@@ -69431,7 +69435,7 @@ function kke(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) => i1(e) !== i1(t))]), V("/api/search-history", { query: t }).catch(() => null));+ t && e().historyLimit && (s([t, ...o().filter((e) => r1(e) !== r1(t))]), V("/api/search-history", { query: t }).catch(() => null));}, u = async () => {let n = ++t.poolRequest;t.pool = [];@@ -69478,9 +69482,9 @@ function kke(e, t, n, r) {i && e().helpers.dismiss(i), t.active = -1, r();}, h = () => {if (t.dismissed) return;- t.query = i().value.trim(), t.picks = t.query ? [] : Tke(t.pool, o()), t.active = -1;+ t.query = i().value.trim(), t.picks = t.query ? [] : Dke(t.pool, o()), t.active = -1;let a = n();- a && (Dke(a1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (kke(i1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, g = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -69492,7 +69496,7 @@ function kke(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() ? a1(t).options : [], y = (e) => {+ }, v = () => p() ? i1(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) => {@@ -69501,7 +69505,7 @@ function kke(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" && n1.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" && t1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));}, C = (t) => {m(), i().blur(), e().actions.openPath?.(t);};@@ -69547,13 +69551,13 @@ function kke(e, t, n, r) {await V("/api/search-history", {operation: "remove",query: e- }).catch(() => null), s(o().filter((t) => i1(t) !== i1(e))), t.active = -1, r();+ }).catch(() => null), s(o().filter((t) => r1(t) !== r1(e))), t.active = -1, r();},pickKind: _,openPath: C};}-function Ake({ tabs: e, kind: t, onPick: n, wire: r }) {+function Mke({ tabs: e, kind: t, onPick: n, wire: r }) {let i = (0, F.useRef)(null);(0, F.useLayoutEffect)(() => {r(i.current);@@ -69567,7 +69571,7 @@ function Ake({ tabs: e, kind: t, onPick: n, wire: r }) {"data-pill-variant": "gray",onMouseDown: (e) => e.preventDefault(),onClick: () => n(e),- children: [r, i ? /* @__PURE__ */ (0, I.jsx)(FW, { value: i }) : null]+ children: [r, i ? /* @__PURE__ */ (0, I.jsx)(NW, { value: i }) : null]}, e || "all");return /* @__PURE__ */ (0, I.jsxs)(QI, {ref: i,@@ -69578,8 +69582,8 @@ function Ake({ tabs: e, kind: t, onPick: n, wire: r }) {children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]});}-var s1 = (e) => e.preventDefault();-function jke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {+var o1 = (e) => e.preventDefault();+function Nke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {bL();let o = {"data-search-value": e.value,@@ -69592,33 +69596,33 @@ function jke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-search-option": "more",...o,- onMouseDown: s1,+ onMouseDown: o1,children: ["查看全部 ",e.total.toLocaleString()," 个视频",- /* @__PURE__ */ (0, I.jsx)(o1, { name: "chevron-right" })+ /* @__PURE__ */ (0, I.jsx)(a1, { name: "chevron-right" })]});if (e.type !== "suggest") return /* @__PURE__ */ (0, I.jsxs)("div", {"data-search-option": "",...o,children: [- /* @__PURE__ */ (0, I.jsx)(o1, { name: e.type === "history" ? "history" : "sparkles" }),+ /* @__PURE__ */ (0, I.jsx)(a1, { name: e.type === "history" ? "history" : "sparkles" }),/* @__PURE__ */ (0, I.jsx)("span", { children: e.value }),e.type === "history" ? /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-remove-history": e.value,"aria-label": `删除历史 ${e.value}`,- onMouseDown: s1,+ onMouseDown: o1,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, I.jsx)(o1, { name: "x" })+ children: /* @__PURE__ */ (0, I.jsx)(a1, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = n1.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = t1.has(c) ? c : void 0;if (["asset","jav",@@ -69632,8 +69636,8 @@ function jke({ 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: s1,- children: [/* @__PURE__ */ (0, I.jsx)(c1, {+ onMouseDown: o1,+ children: [/* @__PURE__ */ (0, I.jsx)(s1, {card: s.card,helpers: n}), /* @__PURE__ */ (0, I.jsxs)("span", {@@ -69658,9 +69662,9 @@ function jke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "person","data-open-entity": l,...o,- onMouseDown: s1,+ onMouseDown: o1,children: [- /* @__PURE__ */ (0, I.jsx)(l1, {+ /* @__PURE__ */ (0, I.jsx)(c1, {item: s,kind: c}),@@ -69683,11 +69687,11 @@ function jke({ 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: s1,+ onMouseDown: o1,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, I.jsx)(c1, {+ children: /* @__PURE__ */ (0, I.jsx)(s1, {card: e,helpers: n})@@ -69701,7 +69705,7 @@ function jke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)(l1, {+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)(c1, {item: s,kind: c}) : null,@@ -69714,13 +69718,13 @@ function jke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function c1({ card: e, helpers: t }) {+function s1({ card: e, helpers: t }) {return /* @__PURE__ */ (0, I.jsx)("span", {"data-search-pic": "",dangerouslySetInnerHTML: { __html: t.coverHtml(e) }});}-function l1({ item: e, kind: t }) {+function c1({ item: e, kind: t }) {if (e.avatarHtml) return /* @__PURE__ */ (0, I.jsx)("span", {"data-search-face": "",dangerouslySetInnerHTML: { __html: e.avatarHtml }@@ -69739,24 +69743,24 @@ function l1({ item: e, kind: t }) {});}// src/react/settings/configuration.ts-var u1 = ["configuration"], d1 = (e) => B(uX, e);-async function Mke(e) {+var l1 = ["configuration"], u1 = (e) => B(cX, e);+async function Pke(e) {await H.fetchQuery({- queryKey: u1,- queryFn: () => d1(e)+ queryKey: l1,+ queryFn: () => u1(e)});}// src/react/settings-panel/legacy-controls.tsx-var f1 = (e) => e.map(([e, t, n]) => n ? [+var d1 = (e) => e.map(([e, t, n]) => n ? [e,t,n] : [e, t]);-function p1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {+function f1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {let u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(l);return f.current = l, (0, F.useLayoutEffect)(() => {let e = u.current;- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Xc(t, n, f1(r), i, {+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Xc(t, n, d1(r), i, {attr: a,className: o,text: s@@ -69774,13 +69778,13 @@ function p1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:ref: u});}-function m1({ 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 p1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {let d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(-1), m = (0, F.useRef)(l);return m.current = l, (0, F.useLayoutEffect)(() => {let e = d.current;if (!e) return;if (p.current !== c || !f.current) {- e.innerHTML = ps(f1(n), r, { label: t });+ e.innerHTML = ps(d1(n), r, { label: t });let i = ms(e.firstElementChild);i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;}@@ -69793,7 +69797,7 @@ function m1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a ="aria-describedby": s});}-function Nke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {+function Fke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {let s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)({onStep: a,onSettle: o@@ -69827,7 +69831,7 @@ function Nke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet});}// src/react/settings-panel/glow-settings.tsx-var Pke = [+var Ike = [["strength","强度",@@ -69854,8 +69858,8 @@ var Pke = [100]];-function Fke({ host: e, spot: t, index: n, glow: r }) {- let i = qce[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = tH(), [l, u] = (0, F.useState)("all");+function Lke({ host: e, spot: t, index: n, glow: r }) {+ let i = qce[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = eH(), [l, u] = (0, F.useState)("all");(0, F.useLayoutEffect)(() => {let [e, t, n] = [a.current,@@ -69936,7 +69940,7 @@ function Fke({ host: e, spot: t, index: n, glow: r }) {})]});}-function Ike({ host: e }) {+function Rke({ host: e }) {let t = e.store.value.homeGlow, n = $j(t.preset);return /* @__PURE__ */ (0, I.jsxs)("section", {"data-glow-setting": "",@@ -69970,7 +69974,7 @@ function Ike({ host: e }) {}),/* @__PURE__ */ (0, I.jsx)("div", {"data-glow-fields": "",- children: Pke.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(Nke, {+ children: Ike.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(Fke, {field: r,label: i,max: a,@@ -70010,7 +70014,7 @@ function Ike({ host: e }) {"data-glow-colour-card": "",children: /* @__PURE__ */ (0, I.jsx)("div", {"data-glow-stops": "",- children: Xj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(Fke, {+ children: Xj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(Lke, {host: e,spot: n,index: r,@@ -70022,7 +70026,7 @@ function Ike({ host: e }) {});}// src/react/settings-panel/number-setting.tsx-var Lke = {+var zke = {batchSizeSetting: {min: 1,max: 200,@@ -70069,22 +70073,22 @@ var Lke = {optional: !0,fallback: 60}-}, h1 = (e) => `peach.number.${e}`;-function g1(e, t) {+}, m1 = (e) => `peach.number.${e}`;+function h1(e, t) {if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";let n = e / 1440;return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}-function _1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = Lke[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);- d.current ||= Rj(Number(localStorage.getItem(h1(e))), o, s, n && n > 0 ? n : l);+function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {+ let a = zke[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);+ d.current ||= zj(Number(localStorage.getItem(m1(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, F.useState)(n ?? 0), [m, h] = (0, F.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, F.useState)(""), v = (0, F.useRef)(null), y = (0, F.useRef)(i);y.current = i, (0, F.useLayoutEffect)(() => {n !== null && (p(n), n > 0 && h(String(n)));}, [n]);let b = () => {let t = v.current;- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(h1(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(m1(e), String(d.current)), y.current(d.current)));}, x = (0, F.useRef)(b);x.current = b, (0, F.useEffect)(() => {let e = v.current;@@ -70094,7 +70098,7 @@ function _1({ 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(h1(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(m1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));}, w = r || n === null;return /* @__PURE__ */ (0, I.jsxs)("div", {"data-number-setting": "",@@ -70131,7 +70135,7 @@ function _1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}}), /* @__PURE__ */ (0, I.jsxs)("span", {"aria-hidden": "true",- children: [c, g1(Number(m), c) ? ` · ${g1(Number(m), c)}` : ""]+ children: [c, h1(Number(m), c) ? ` · ${h1(Number(m), c)}` : ""]})]}), /* @__PURE__ */ (0, I.jsx)("small", {id: `${e}-error`,@@ -70144,13 +70148,13 @@ function _1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {});}// src/react/sidebar/sidebar-order.ts-function v1(e) {- let { mutate: t } = SX();+function _1(e) {+ let { mutate: t } = bX();return (0, F.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);}-function y1(e, t, n, r) {+function v1(e, t, n, r) {if (t === n) return null;let i = [...e], a = i.indexOf(t);if (a < 0) return null;@@ -70159,17 +70163,17 @@ function y1(e, t, n, r) {return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);}// src/react/settings-panel/sidebar-order.tsx-var Rke = "__home__", b1 = (e) => e === "" ? Rke : e;-function zke({ host: e }) {- let t = v1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {- let a = y1(n, e, r, i);+var Bke = "__home__", y1 = (e) => e === "" ? Bke : e;+function Vke({ host: e }) {+ let t = _1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {+ let a = v1(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]) => b1(e) === o) ?? a[0], y = () => {+ }, v = a.find(([e]) => y1(e) === o) ?? a[0], y = () => {h.current && cs(h.current), l(!1);}, b = () => {let e = h.current;@@ -70190,7 +70194,7 @@ function zke({ host: e }) {}, C = (e) => ({draggable: !0,onDragStart: (t) => {- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", b1(e));+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", y1(e));},onDragOver: (t) => {if (u === null || u === e) return;@@ -70264,7 +70268,7 @@ function zke({ host: e }) {})]})]- }, b1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {+ }, y1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {"data-sidebar-add-row": "",children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-sidebar-add-picker": "",@@ -70297,15 +70301,15 @@ function zke({ host: e }) {children: a.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",role: "option",- "data-sidebar-add-option": b1(e),+ "data-sidebar-add-option": y1(e),"aria-selected": v?.[0] === e,tabIndex: v?.[0] === e ? 0 : -1,onKeyDown: x,onClick: () => {- s(b1(e)), y(), m.current?.focus();+ s(y1(e)), y(), m.current?.focus();},children: [/* @__PURE__ */ (0, I.jsx)($F, { name: n ?? "" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]- }, b1(e)))+ }, y1(e)))}) : null]}), /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -70321,13 +70325,13 @@ function zke({ host: e }) {});}// src/react/settings-panel/settings-panel.tsx-var x1 = [+var b1 = [["外观与导航", "ri-palette-line"],["浏览与播放", "ri-play-circle-line"],["JAV 与新作", "jav"],["搜索与推荐", "ri-search-line"],["内容显示", "ri-shield-check-line"]-], Bke = [+], Hke = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -70336,7 +70340,7 @@ var x1 = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], Vke = [["desc", "降序"], ["asc", "升序"]], Hke = [[+], Uke = [["desc", "降序"], ["asc", "升序"]], Wke = [["cover","官方封面",""@@ -70344,7 +70348,7 @@ var x1 = ["thumbnail","预览图",""-]], Uke = [+]], Gke = [["feedHideGroupSetting","feedHideGroupCompilations",@@ -70363,88 +70367,88 @@ var x1 = ["切片","隐藏切片"]-], Wke = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", S1 = null, C1 = {+], Kke = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", x1 = null, S1 = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null-}, w1 = 0, T1 = null, E1 = /* @__PURE__ */ new Set();-function Gke(e) {- return E1.add(e), () => {- E1.delete(e);+}, C1 = 0, w1 = null, T1 = /* @__PURE__ */ new Set();+function qke(e) {+ return T1.add(e), () => {+ T1.delete(e);};}-function Kke() {- for (let e of [...E1]) e();+function Jke() {+ for (let e of [...T1]) e();}-function D1(e) {- C1 = {- ...C1,+function E1(e) {+ S1 = {+ ...S1,...e- }, (0, Lt.flushSync)(Kke);+ }, (0, Lt.flushSync)(Jke);}-async function qke(e) {- let t = C1.epoch, n = await e.configurable();- C1.open && C1.epoch === t && D1({ configurable: n });+async function Yke(e) {+ let t = S1.epoch, n = await e.configurable();+ S1.open && S1.epoch === t && E1({ configurable: n });}-function Jke(e = "") {- let t = S1;+function Xke(e = "") {+ let t = x1;if (!t) return;- let n = x1.findIndex(([t]) => t === e);- if (C1.open && !C1.closing) {- n >= 0 && n !== C1.tab && D1({ tab: n });+ let n = b1.findIndex(([t]) => t === e);+ if (S1.open && !S1.closing) {+ n >= 0 && n !== S1.tab && E1({ tab: n });return;}- as(), w1 += 1, T1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");- let r = Pwe();- D1({+ as(), C1 += 1, w1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ let r = Iwe();+ E1({open: !0,closing: !1,configurable: null,- epoch: C1.epoch + 1,- tab: n >= 0 ? n : C1.tab+ epoch: S1.epoch + 1,+ tab: n >= 0 ? n : S1.tab}), r.then((e) => {e && t.syncRemote(e);- }), qke(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+ }), Yke(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}-function O1(e = !0) {- if (!C1.open || C1.closing) return;- let t = ++w1;- e && S1?.closed?.(), D1({ closing: !0 });+function D1(e = !0) {+ if (!S1.open || S1.closing) return;+ let t = ++C1;+ e && x1?.closed?.(), E1({ closing: !0 });let n = () => {- t === w1 && C1.closing && (D1({+ t === C1 && S1.closing && (E1({open: !1,closing: !1- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), T1 instanceof HTMLElement && document.contains(T1) && T1.focus(), T1 = null);+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), w1 instanceof HTMLElement && document.contains(w1) && w1.focus(), w1 = null);};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}-var Yke = {- open: Jke,- close: O1,- isOpen: () => C1.open,+var Zke = {+ open: Xke,+ close: D1,+ isOpen: () => S1.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function Xke(e) {- return S1 = e, Yke;+function Qke(e) {+ return x1 = e, Zke;}-function Zke() {- let e = (0, F.useSyncExternalStore)(Gke, () => C1);- return S1 ? /* @__PURE__ */ (0, I.jsx)(eAe, {- host: S1,+function $ke() {+ let e = (0, F.useSyncExternalStore)(qke, () => S1);+ return x1 ? /* @__PURE__ */ (0, I.jsx)(nAe, {+ host: x1,view: e}) : null;}-function Qke(e) {+function eAe(e) {if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(Wke)].filter((e) => e.getClientRects().length > 0);+ let t = [...e.currentTarget.querySelectorAll(Kke)].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 k1 = (e) => `settings-tab-${e}`, A1 = (e) => `settings-group-${e}`;-function $ke({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {+var O1 = (e) => `settings-tab-${e}`, k1 = (e) => `settings-group-${e}`;+function tAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(e), l = (0, F.useRef)([]), u = (e, t) => {let n = o.current;if (!n) return;@@ -70472,7 +70476,7 @@ function $ke({ 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 = x1.length, r = t;+ let n = b1.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;@@ -70501,11 +70505,11 @@ function $ke({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectrole: "presentation",children: "设置"}),- x1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {+ b1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",role: "tab",- id: k1(r),- "aria-controls": A1(r),+ id: O1(r),+ "aria-controls": k1(r),"aria-selected": r === e,tabIndex: r === e ? 0 : -1,ref: (e) => {@@ -70536,17 +70540,17 @@ function $ke({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect]});}-function j1({ index: e, tab: t, children: n, cards: r = !1 }) {+function A1({ index: e, tab: t, children: n, cards: r = !1 }) {return /* @__PURE__ */ (0, I.jsxs)("section", {"data-setting-group": "","data-setting-layout": r ? "cards" : void 0,- id: A1(e),+ id: k1(e),role: "tabpanel",- "aria-labelledby": k1(e),+ "aria-labelledby": O1(e),hidden: e !== t,children: [- /* @__PURE__ */ (0, I.jsx)("h3", { children: x1[e][0] }),- /* @__PURE__ */ (0, I.jsx)(hU, { chapter: [+ /* @__PURE__ */ (0, I.jsx)("h3", { children: b1[e][0] }),+ /* @__PURE__ */ (0, I.jsx)(mU, { chapter: ["appearance","playback","jav-settings",@@ -70557,7 +70561,7 @@ function j1({ index: e, tab: t, children: n, cards: r = !1 }) {]});}-function M1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {+function j1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {return /* @__PURE__ */ (0, I.jsxs)("label", {"data-setting-row": "",children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, I.jsx)("small", {@@ -70574,7 +70578,7 @@ function M1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se})]});}-function N1({ title: e, description: t, kind: n, children: r }) {+function M1({ title: e, description: t, kind: n, children: r }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-setting-row": "","data-setting-sort": n === "sort" ? "" : void 0,@@ -70582,7 +70586,7 @@ function N1({ title: e, description: t, kind: n, children: r }) {children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, I.jsx)("small", { children: t }) : t] }), r]});}-function eAe({ host: e, view: t }) {+function nAe({ host: e, view: t }) {(0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);let n = e.store.value, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(t.tab), l = () => {let [e, t] = [i.current, o.current];@@ -70603,7 +70607,7 @@ function eAe({ host: e, view: t }) {s.current?.();});let d = t.epoch, f = (t) => {- t !== C1.tab && (D1({ tab: t }), e.selectSection?.(x1[t][0]));+ t !== S1.tab && (E1({ tab: t }), e.selectSection?.(b1[t][0]));}, p = () => e.store.save();return /* @__PURE__ */ (0, I.jsx)("section", {"data-settings-panel": "",@@ -70614,9 +70618,9 @@ function eAe({ host: e, view: t }) {"aria-labelledby": "settingsTitle","data-closing": t.closing ? "" : void 0,ref: r,- onKeyDown: Qke,+ onKeyDown: eAe,onClick: (e) => {- e.target === e.currentTarget && O1();+ e.target === e.currentTarget && D1();},children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-settings-card": "",@@ -70627,27 +70631,27 @@ function eAe({ host: e, view: t }) {ref: a,children: [/* @__PURE__ */ (0, I.jsx)("h2", {id: "settingsTitle",- children: x1[t.tab][0]- }), /* @__PURE__ */ (0, I.jsx)(kV, {+ children: b1[t.tab][0]+ }), /* @__PURE__ */ (0, I.jsx)(OV, {id: "settingsClose",label: "关闭设置",- onPress: () => O1()+ onPress: () => D1()})]}),- /* @__PURE__ */ (0, I.jsx)($ke, {+ /* @__PURE__ */ (0, I.jsx)(tAe, {tab: t.tab,epoch: d,configurable: t.configurable,onSelect: f,openConfiguration: () => {- O1(!1), e.openConfiguration();+ D1(!1), e.openConfiguration();}}),/* @__PURE__ */ (0, I.jsxs)("div", {"data-settings-scroll": "",ref: o,children: [- /* @__PURE__ */ (0, I.jsxs)(j1, {+ /* @__PURE__ */ (0, I.jsxs)(A1, {index: 0,tab: t.tab,cards: !0,@@ -70655,9 +70659,9 @@ function eAe({ host: e, view: t }) {/* @__PURE__ */ (0, I.jsxs)("div", {"data-setting-card": "",children: [- /* @__PURE__ */ (0, I.jsx)(N1, {+ /* @__PURE__ */ (0, I.jsx)(M1, {title: "主题",- children: /* @__PURE__ */ (0, I.jsx)(p1, {+ children: /* @__PURE__ */ (0, I.jsx)(f1, {id: "themeSetting",name: "theme",legend: "主题",@@ -70685,7 +70689,7 @@ function eAe({ host: e, view: t }) {onChange: (t) => e.setHighContrast(t.target.checked)})]}),- /* @__PURE__ */ (0, I.jsx)(M1, {+ /* @__PURE__ */ (0, I.jsx)(j1, {id: "uiSoundsSetting",title: "界面音效",checked: n.uiSounds,@@ -70693,7 +70697,7 @@ function eAe({ host: e, view: t }) {n.uiSounds = t, p(), e.changed("uiSounds");}}),- /* @__PURE__ */ (0, I.jsx)(M1, {+ /* @__PURE__ */ (0, I.jsx)(j1, {id: "homeGlowSetting",title: "侧栏光晕",checked: n.homeGlow.on,@@ -70703,7 +70707,7 @@ function eAe({ host: e, view: t }) {})]}),- /* @__PURE__ */ (0, I.jsx)(Ike, { host: e }),+ /* @__PURE__ */ (0, I.jsx)(Rke, { host: e }),/* @__PURE__ */ (0, I.jsxs)("section", {"data-setting-block": "","aria-labelledby": "sidebarOrderTitle",@@ -70715,35 +70719,35 @@ function eAe({ host: e, view: t }) {"data-setting-card": "",children: /* @__PURE__ */ (0, I.jsx)("section", {"data-sidebar-setting": "",- children: /* @__PURE__ */ (0, I.jsx)(zke, { host: e })+ children: /* @__PURE__ */ (0, I.jsx)(Vke, { host: e })})})]})]}),- /* @__PURE__ */ (0, I.jsx)(nAe, {+ /* @__PURE__ */ (0, I.jsx)(iAe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, I.jsx)(rAe, {+ /* @__PURE__ */ (0, I.jsx)(aAe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, I.jsxs)(j1, {+ /* @__PURE__ */ (0, I.jsxs)(A1, {index: 3,tab: t.tab,children: [- /* @__PURE__ */ (0, I.jsx)(sAe, {+ /* @__PURE__ */ (0, I.jsx)(lAe, {host: e,epoch: d}),- /* @__PURE__ */ (0, I.jsx)(N1, {+ /* @__PURE__ */ (0, I.jsx)(M1, {title: "相关推荐数量",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, I.jsx)(_1, {+ children: /* @__PURE__ */ (0, I.jsx)(g1, {id: "relatedLimitSetting",label: "相关推荐数量",value: n.relatedLimit,@@ -70753,24 +70757,24 @@ function eAe({ host: e, view: t }) {}, d)})}),- /* @__PURE__ */ (0, I.jsx)(N1, {+ /* @__PURE__ */ (0, I.jsx)(M1, {title: "口味与记录",children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-react",children: /* @__PURE__ */ (0, I.jsx)(FL, {variant: "secondary",href: "/taste",- onClick: () => O1(!1),+ onClick: () => D1(!1),children: "打开口味与记录"})})})]}),- /* @__PURE__ */ (0, I.jsx)(j1, {+ /* @__PURE__ */ (0, I.jsx)(A1, {index: 4,tab: t.tab,- children: /* @__PURE__ */ (0, I.jsx)(M1, {+ children: /* @__PURE__ */ (0, I.jsx)(j1, {id: "censorSetting",title: "SFW 模式",describedBy: "sfwDescription",@@ -70785,7 +70789,7 @@ function eAe({ host: e, view: t }) {})});}-function tAe(e, t) {+function rAe(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;n.querySelector("[data-icon-swap]") || (n.innerHTML = Gs("arrow-up", "arrow-down", "a", {@@ -70795,9 +70799,9 @@ function tAe(e, t) {let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}-function nAe({ host: e, tab: t, epoch: n }) {+function iAe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";- return /* @__PURE__ */ (0, I.jsxs)(j1, {+ return /* @__PURE__ */ (0, I.jsxs)(A1, {index: 1,tab: t,children: [@@ -70805,11 +70809,11 @@ function nAe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品列表"}),- /* @__PURE__ */ (0, I.jsx)(N1, {+ /* @__PURE__ */ (0, I.jsx)(M1, {title: "每批加载作品",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "batchSizeSetting",- children: /* @__PURE__ */ (0, I.jsx)(_1, {+ children: /* @__PURE__ */ (0, I.jsx)(g1, {id: "batchSizeSetting",label: "每批作品",value: r.batchSize,@@ -70819,24 +70823,24 @@ function nAe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, I.jsx)(N1, {+ /* @__PURE__ */ (0, I.jsx)(M1, {title: "默认排序",kind: "sort",children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-setting-sort-controls": "",- children: [/* @__PURE__ */ (0, I.jsx)(m1, {+ children: [/* @__PURE__ */ (0, I.jsx)(p1, {id: "defaultSortSetting",label: "默认排序",- options: Bke,+ options: Hke,value: r.defaultSort,epoch: n,onPick: (t) => {r.defaultSort = t, i(), e.changed("defaultSort");}- }), /* @__PURE__ */ (0, I.jsx)(m1, {+ }), /* @__PURE__ */ (0, I.jsx)(p1, {id: "defaultSortDirectionSetting",label: "默认排序方向",- options: Vke,+ options: Uke,value: o ? "asc" : "desc",hidden: a,disabled: a,@@ -70844,13 +70848,13 @@ function nAe({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSortDirection = t, i(), e.changed("sortDirection");},- decorate: (e) => tAe(e, o)+ decorate: (e) => rAe(e, o)})]})}),- /* @__PURE__ */ (0, I.jsx)(N1, {+ /* @__PURE__ */ (0, I.jsx)(M1, {title: "视频卡片大小",- children: /* @__PURE__ */ (0, I.jsx)(p1, {+ children: /* @__PURE__ */ (0, I.jsx)(f1, {id: "javSizeSetting",name: "video-size",legend: "视频卡片大小",@@ -70876,16 +70880,16 @@ function nAe({ host: e, tab: t, epoch: n }) {}})]}),- /* @__PURE__ */ (0, I.jsx)(N1, {+ /* @__PURE__ */ (0, I.jsx)(M1, {title: "悬停预览延迟",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, I.jsx)(_1, {+ children: /* @__PURE__ */ (0, I.jsx)(g1, {id: "hoverDelaySetting",label: "悬停预览延迟",value: r.hoverDelaySeconds,onApply: (t) => {- r.hoverDelaySeconds = Rj(t, 0, 60, 5), i(), e.changed("hoverDelay");+ r.hoverDelaySeconds = zj(t, 0, 60, 5), i(), e.changed("hoverDelay");}}, n)})@@ -70894,16 +70898,16 @@ function nAe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "播放"}),- /* @__PURE__ */ (0, I.jsx)(oAe, {+ /* @__PURE__ */ (0, I.jsx)(cAe, {host: e,epoch: n})]});}-function rAe({ host: e, tab: t, epoch: n }) {+function aAe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();- return /* @__PURE__ */ (0, I.jsxs)(j1, {+ return /* @__PURE__ */ (0, I.jsxs)(A1, {index: 2,tab: t,children: [@@ -70911,17 +70915,17 @@ function rAe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品显示"}),- /* @__PURE__ */ (0, I.jsx)(iAe, {+ /* @__PURE__ */ (0, I.jsx)(oAe, {host: e,epoch: n}),- /* @__PURE__ */ (0, I.jsx)(N1, {+ /* @__PURE__ */ (0, I.jsx)(M1, {title: "默认图片",- children: /* @__PURE__ */ (0, I.jsx)(p1, {+ children: /* @__PURE__ */ (0, I.jsx)(f1, {id: "javImageSetting",name: "jav-image",legend: "默认图片",- options: Hke,+ options: Wke,value: r.javImage,attr: "data-jav-image-choice",variant: "javimageswitch",@@ -70936,21 +70940,21 @@ function rAe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "新作显示"}),- /* @__PURE__ */ (0, I.jsx)(N1, {+ /* @__PURE__ */ (0, I.jsx)(M1, {title: "显示数量",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "feedLimitSetting",- children: /* @__PURE__ */ (0, I.jsx)(_1, {+ children: /* @__PURE__ */ (0, I.jsx)(g1, {id: "feedLimitSetting",label: "新作显示数量",value: r.feedLimit,onApply: (t) => {- r.feedLimit = Rj(t, 1, 100, 12), i(), e.changed("feedLimit");+ r.feedLimit = zj(t, 1, 100, 12), i(), e.changed("feedLimit");}}, n)})}),- /* @__PURE__ */ (0, I.jsx)(M1, {+ /* @__PURE__ */ (0, I.jsx)(j1, {id: "feedAutoScrollSetting",title: "自动滚动",checked: r.feedAutoScroll,@@ -70958,7 +70962,7 @@ function rAe({ host: e, tab: t, epoch: n }) {r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}}),- Uke.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(aAe, {+ Gke.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(sAe, {host: e,id: t,settingKey: n,@@ -70968,19 +70972,19 @@ function rAe({ host: e, tab: t, epoch: n }) {]});}-function iAe({ host: e, epoch: t }) {+function oAe({ host: e, epoch: t }) {let n = Pt({- queryKey: gX,- queryFn: ({ signal: e }) => xX(e),+ queryKey: mX,+ queryFn: ({ signal: e }) => yX(e),staleTime: 0- }), r = SX(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(N1, {+ }), r = bX(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(M1, {title: "女优名称",description: /* @__PURE__ */ (0, I.jsx)("small", {"data-copy-key": "performer-name-language-help",children: "名称与别名只显示所选语言的写法;缺少对应时保留当前名称。偏好保存在数据库,其他设备读取同一份设置。"}),- children: /* @__PURE__ */ (0, I.jsx)(m1, {+ children: /* @__PURE__ */ (0, I.jsx)(p1, {id: "performerNameLanguageSetting",label: "女优名称",epoch: t,@@ -70998,13 +71002,13 @@ function iAe({ host: e, epoch: t }) {}));}})- }), n.isError ? /* @__PURE__ */ (0, I.jsx)(TV, {+ }), n.isError ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",children: "未取得数据库中的名称偏好,请重新打开设置。"}) : null] });}-function aAe({ host: e, id: t, settingKey: n, label: r, title: i }) {- let a = SX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {+function sAe({ host: e, id: t, settingKey: n, label: r, title: i }) {+ let a = bX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {s(t), qc(c.current), a.mutate({ [n]: t }, {onSuccess: (i) => {l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);@@ -71028,10 +71032,10 @@ function aAe({ host: e, id: t, settingKey: n, label: r, title: i }) {})]});}-function oAe({ host: e, epoch: t }) {+function cAe({ host: e, epoch: t }) {let n = e.store.value, r = () => e.store.save();return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(M1, {+ /* @__PURE__ */ (0, I.jsx)(j1, {id: "detailAutoplaySetting",title: "打开详情自动播放",checked: n.detailAutoplay,@@ -71039,7 +71043,7 @@ function oAe({ host: e, epoch: t }) {n.detailAutoplay = e, r();}}),- /* @__PURE__ */ (0, I.jsx)(M1, {+ /* @__PURE__ */ (0, I.jsx)(j1, {id: "miniplayerSetting",title: "离开详情后小窗播放",checked: n.miniplayer,@@ -71047,11 +71051,11 @@ function oAe({ host: e, epoch: t }) {n.miniplayer = t, r(), e.changed("miniplayer");}}),- /* @__PURE__ */ (0, I.jsx)(N1, {+ /* @__PURE__ */ (0, I.jsx)(M1, {title: "快进 / 快退步长",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, I.jsx)(_1, {+ children: /* @__PURE__ */ (0, I.jsx)(g1, {id: "seekSecondsSetting",label: "快进 / 快退",value: n.seekSeconds,@@ -71063,25 +71067,25 @@ function oAe({ host: e, epoch: t }) {})] });}-function sAe({ host: e, epoch: t }) {- let n = e.store.value, r = SX();- return /* @__PURE__ */ (0, I.jsx)(N1, {+function lAe({ host: e, epoch: t }) {+ let n = e.store.value, r = bX();+ return /* @__PURE__ */ (0, I.jsx)(M1, {title: "搜索记录数量",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, I.jsx)(_1, {+ children: /* @__PURE__ */ (0, I.jsx)(g1, {id: "searchHistoryLimitSetting",label: "搜索记录",value: n.searchHistoryLimit,onApply: (t) => {- n.searchHistoryLimit = Rj(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });+ n.searchHistoryLimit = zj(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });}}, t)})});}// src/react/sidebar/use-sidebar-reorder.ts-function cAe(e, t, n, r) {+function uAe(e, t, n, r) {let [i, a] = (0, F.useState)(null), [o, s] = (0, F.useState)(""), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(!1), d = (0, F.useRef)({order: t,commit: n,@@ -71116,7 +71120,7 @@ function cAe(e, t, n, r) {let m = (t) => {let n = c.current;if (!n || (c.current = null, !n.started)) return;- let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : y1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);+ let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : v1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);p(), e.current.style.minHeight = n.minHeight, document.body.style.cursor = n.cursor, n.node.style.removeProperty("--sidebar-drag-x"), n.node.style.removeProperty("--sidebar-drag-y"), u.current = !0, (0, Lt.flushSync)(() => {a(null), l && d.current.commit(l), s(l ? `${n.node.ariaLabel},已移动到第 ${o + 1} 项` : t && o === r.origin ? "顺序未变" : "已取消排序");}), d.current.settled();@@ -71178,7 +71182,7 @@ function cAe(e, t, n, r) {e.preventDefault();let a = f().map((e) => e.dataset.nav), o = a.indexOf(i), c = e.key === "ArrowDown", l = a[o + (c ? 1 : -1)];if (l === void 0) return;- let u = y1(t, i, l, c);+ let u = v1(t, i, l, c);u && (p(), (0, Lt.flushSync)(() => n(u)), s(`${e.currentTarget.ariaLabel},已移动到第 ${o + (c ? 2 : 0)} 项`), r());}, v = i ? f().filter((e) => e.dataset.nav !== i.key) : [], y = !!i && i.slot !== null && i.slot !== i.origin;return {@@ -71217,68 +71221,68 @@ function cAe(e, t, n, r) {};}// src/react/sidebar/sidebar-island.tsx-var P1 = "__home__", lAe = {+var N1 = "__home__", dAe = {creator: 26,tag: 30,tech: 16-}, F1 = 180, I1 = null, L1 = {+}, P1 = 180, F1 = null, I1 = {props: {content: null,filters: {},latest: null},epoch: 0-}, R1 = /* @__PURE__ */ new Set();-function uAe(e) {- return R1.add(e), () => {- R1.delete(e);+}, L1 = /* @__PURE__ */ new Set();+function fAe(e) {+ return L1.add(e), () => {+ L1.delete(e);};}-function z1() {- for (let e of [...R1]) e();+function R1() {+ for (let e of [...L1]) e();}-var dAe = {+var pAe = {render(e) {- L1 = {- ...L1,+ I1 = {+ ...I1,props: e- }, (0, Lt.flushSync)(z1);+ }, (0, Lt.flushSync)(R1);},navChanged() {- L1 = {- ...L1,- epoch: L1.epoch + 1- }, (0, Lt.flushSync)(z1);+ I1 = {+ ...I1,+ epoch: I1.epoch + 1+ }, (0, Lt.flushSync)(R1);}};-function fAe(e) {- return I1 = e, L1 = {- ...L1,+function mAe(e) {+ return F1 = e, I1 = {+ ...I1,props: {content: null,filters: {},latest: null}- }, dAe;+ }, pAe;}-function pAe() {- let e = (0, F.useSyncExternalStore)(uAe, () => L1);- return I1 ? /* @__PURE__ */ (0, I.jsx)(mAe, {- host: I1,+function hAe() {+ let e = (0, F.useSyncExternalStore)(fAe, () => I1);+ return F1 ? /* @__PURE__ */ (0, I.jsx)(gAe, {+ host: F1,props: e.props,epoch: e.epoch}) : null;}-function mAe({ host: e, props: t, epoch: n }) {+function gAe({ host: e, props: t, epoch: n }) {let r = (0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("div", { "data-sidebar-head": "" }),- /* @__PURE__ */ (0, I.jsx)(hAe, {+ /* @__PURE__ */ (0, I.jsx)(_Ae, {host: e,epoch: n,version: r}),- t.content ? /* @__PURE__ */ (0, I.jsx)(_Ae, {+ t.content ? /* @__PURE__ */ (0, I.jsx)(yAe, {host: e,content: t.content,filters: t.filters,@@ -71286,8 +71290,8 @@ function mAe({ host: e, props: t, epoch: n }) {}) : null] });}-function hAe({ host: e, epoch: t, version: n }) {- let r = v1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = NL(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || P1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;+function _Ae({ host: e, epoch: t, version: n }) {+ let r = _1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = NL(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || N1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, F.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());[@@ -71306,7 +71310,7 @@ function hAe({ host: e, epoch: t, version: n }) {i.disconnect(), cancelAnimationFrame(a), document.removeEventListener("board:sidebar", o);};}, [e, d]);- let f = cAe(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;+ let f = uAe(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-sidebar-nav": "",ref: c,@@ -71343,7 +71347,7 @@ function hAe({ host: e, epoch: t, version: n }) {decoding: "async",draggable: !1}) : /* @__PURE__ */ (0, I.jsx)($F, { name: r }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]- }, t || P1);+ }, t || N1);}),f.hint ? /* @__PURE__ */ (0, I.jsx)("span", {"data-sidebar-drop-line": "",@@ -71364,8 +71368,8 @@ function hAe({ host: e, epoch: t, version: n }) {ref: l}), p) : null] });}-var B1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);-function gAe(e) {+var z1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);+function vAe(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [["loc", e.locations],@@ -71379,7 +71383,7 @@ function gAe(e) {for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);return t;}-function _Ae({ host: e, content: t, filters: n, latest: r }) {+function yAe({ host: e, content: t, filters: n, latest: r }) {let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;(0, F.useLayoutEffect)(() => {t.kind === "catalog" && Zs(e.scroll, "drawer");@@ -71388,8 +71392,8 @@ function _Ae({ host: e, content: t, filters: n, latest: r }) {i,t.kind]);- let a = t.kind === "catalog" ? vAe(e, t.facets, n, r, i) : yAe(e, t, n), o = 0;- return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(bAe, {+ let a = t.kind === "catalog" ? bAe(e, t.facets, n, r, i) : xAe(e, t, n), o = 0;+ return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(SAe, {title: e.title,kind: e.kind,active: e.active,@@ -71398,11 +71402,11 @@ function _Ae({ host: e, content: t, filters: n, latest: r }) {children: e.body}, e.title));}-function vAe(e, t, n, r, i) {- let a = gAe(r), o = (t, r, i) => {+function bAe(e, t, n, r, i) {+ let a = vAe(r), o = (t, r, i) => {if (!t.length) return null;- let o = B1(n, r);- return /* @__PURE__ */ (0, I.jsx)(U1, {+ let o = z1(n, r);+ return /* @__PURE__ */ (0, I.jsx)(H1, {rows: t,filterKey: r,multi: i,@@ -71412,7 +71416,7 @@ function vAe(e, t, n, r, i) {});}, s = (t, s, c, l, u, d) => {if (!c.length) return null;- let f = B1(n, l), p = c.some((e) => f.includes(e.value));+ let f = z1(n, l), p = c.some((e) => f.includes(e.value));if (!d) return {title: t,kind: s,@@ -71424,12 +71428,12 @@ function vAe(e, t, n, r, i) {title: t,kind: s,active: p,- body: /* @__PURE__ */ (0, I.jsx)(SAe, {+ body: /* @__PURE__ */ (0, I.jsx)(wAe, {epoch: i,title: t,rows: c,latest: m ?? null,- limit: lAe[d],+ limit: dAe[d],filterKey: l,selected: f,counts: a,@@ -71444,7 +71448,7 @@ function vAe(e, t, n, r, i) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, I.jsx)(K1, {+ body: /* @__PURE__ */ (0, I.jsx)(G1, {host: e,filters: n})@@ -71459,7 +71463,7 @@ function vAe(e, t, n, r, i) {title: "关注标签",kind: "online",active: !1,- body: /* @__PURE__ */ (0, I.jsx)(W1, {+ body: /* @__PURE__ */ (0, I.jsx)(U1, {rows: t.followTags,host: e,selected: null,@@ -71468,14 +71472,14 @@ function vAe(e, t, n, r, i) {} : null];}-function yAe(e, t, n) {- let r = t.providers || [], i = B1(n, "provider"), a = new Set(t.selected);+function xAe(e, t, n) {+ let r = t.providers || [], i = z1(n, "provider"), a = new Set(t.selected);return [r.length ? {title: "来源",kind: "src",active: r.some((e) => i.includes(e.value)),- body: /* @__PURE__ */ (0, I.jsx)(U1, {+ body: /* @__PURE__ */ (0, I.jsx)(H1, {rows: r,filterKey: "provider",multi: !1,@@ -71489,7 +71493,7 @@ function yAe(e, t, n) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, I.jsx)(K1, {+ body: /* @__PURE__ */ (0, I.jsx)(G1, {host: e,filters: n,commit: e.setFollowDuration@@ -71499,7 +71503,7 @@ function yAe(e, t, n) {title: "内容标签",kind: "online",active: t.tags.some((e) => a.has(e.value)),- body: /* @__PURE__ */ (0, I.jsx)(W1, {+ body: /* @__PURE__ */ (0, I.jsx)(U1, {rows: t.tags,host: e,selected: a,@@ -71508,19 +71512,19 @@ function yAe(e, t, n) {} : null];}-function V1(e, t) {+function B1(e, t) {let n = null;try {n = sessionStorage.getItem(`peach.sidebar.group.${e}`);} catch {}return n === null ? t : n === "open";}-function bAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {- let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => V1(e, n)), u = (0, F.useRef)(!1);+function SAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {+ let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => B1(e, n)), u = (0, F.useRef)(!1);(0, F.useLayoutEffect)(() => {let t = o.current, r = s.current;if (!t || !r) return;- let i = u.current ? V1(e, n) : c;+ let i = u.current ? B1(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) => {@@ -71552,7 +71556,7 @@ function bAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })children: /* @__PURE__ */ (0, I.jsx)("div", {"data-sidebar-body": "",id: `sidebar-group-${encodeURIComponent(e)}`,- children: /* @__PURE__ */ (0, I.jsx)(H1.Provider, {+ children: /* @__PURE__ */ (0, I.jsx)(V1.Provider, {value: d,children: a})@@ -71561,15 +71565,15 @@ function bAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })})]});}-var H1 = (0, F.createContext)(() => {});-function xAe({ dot: e }) {+var V1 = (0, F.createContext)(() => {});+function CAe({ dot: e }) {return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, I.jsx)($F, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, I.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""}) : /* @__PURE__ */ (0, I.jsx)("i", { "data-sidebar-cost": e.cost }) : null;}-function U1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {+function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => {@@ -71586,7 +71590,7 @@ function U1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,title: e.offline || e.label,onClick: () => o(t, e.value, n),children: [- /* @__PURE__ */ (0, I.jsx)(xAe, { dot: e.dot }),+ /* @__PURE__ */ (0, I.jsx)(CAe, { dot: e.dot }),/* @__PURE__ */ (0, I.jsx)("span", {"data-sidebar-chip-label": "",children: e.label@@ -71601,8 +71605,8 @@ function U1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,})});}-function SAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {- let u = (0, F.useContext)(H1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);+function wAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {+ let u = (0, F.useContext)(V1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);p !== e && (m(e), f(null));let h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;return (0, F.useLayoutEffect)(() => {@@ -71617,7 +71621,7 @@ function SAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, se.body.classList.add("ui-fcollapse"), Uo(e.body, e.before, () => !!t?.open && !e.body.inert);}t(), requestAnimationFrame(t);- }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(U1, {+ }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(H1, {rows: _ ? v : v.slice(0, i),filterKey: a,multi: !1,@@ -71645,7 +71649,7 @@ function SAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, schildren: /* @__PURE__ */ (0, I.jsx)($F, { name: "chevron-down" })}) : null] });}-function W1({ rows: e, host: t, selected: n, badges: r }) {+function U1({ rows: e, host: t, selected: n, badges: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("button", {@@ -71667,10 +71671,10 @@ function W1({ rows: e, host: t, selected: n, badges: r }) {}, e.value))});}-var G1 = (e, t) => e ? Math.min(F1, Number(e) / 60) : t;-function K1({ host: e, filters: t, commit: n = e.setDuration }) {- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [G1(t.dur_min, 0), G1(t.dur_max, F1)]), [c, l] = (0, F.useState)("max");- i !== r && (a(r), s([G1(t.dur_min, 0), G1(t.dur_max, F1)]));+var W1 = (e, t) => e ? Math.min(P1, Number(e) / 60) : t;+function G1({ host: e, filters: t, commit: n = e.setDuration }) {+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [W1(t.dur_min, 0), W1(t.dur_max, P1)]), [c, l] = (0, F.useState)("max");+ i !== r && (a(r), s([W1(t.dur_min, 0), W1(t.dur_max, P1)]));let [u, d] = o, f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(o);h.current = o;let g = (e, t) => {@@ -71683,11 +71687,11 @@ function K1({ host: e, filters: t, commit: n = e.setDuration }) {}, [n]), (0, F.useLayoutEffect)(() => {let e = f.current;if (!e) return;- e.style.setProperty("--lo", `${u / F1 * 100}%`), e.style.setProperty("--hi", `${d / F1 * 100}%`);+ e.style.setProperty("--lo", `${u / P1 * 100}%`), e.style.setProperty("--hi", `${d / P1 * 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 / F1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");+ e.style.left = `${n / P1 * 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`);});@@ -71697,7 +71701,7 @@ function K1({ 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 >= F1 ? "不限" : `${t} 分钟`+ children: e === "max" && t >= P1 ? "不限" : `${t} 分钟`});return /* @__PURE__ */ (0, I.jsx)("div", {"data-sidebar-duration": "",@@ -71712,7 +71716,7 @@ function K1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMin",type: "range",min: "0",- max: F1,+ max: P1,step: "5",value: u,"aria-label": "最短时长(分钟)",@@ -71723,7 +71727,7 @@ function K1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMax",type: "range",min: "0",- max: F1,+ max: P1,step: "5",value: d,"aria-label": "最长时长(分钟)",@@ -71737,7 +71741,7 @@ function K1({ host: e, filters: t, commit: n = e.setDuration }) {});}// src/diagnostics-skeleton.ts-function q1() {+function K1() {let e = (e) => Ds({label: e,variant: "secondary",@@ -71751,11 +71755,11 @@ function q1() {</div></div>`;}// src/react/settings/library-policy-copy.ts-var J1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", CAe = [+var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", TAe = ["自动补全","仅使用本地资料","自定义"-], wAe = [+], EAe = [["读本地 NFO 和图片","✓",@@ -71786,7 +71790,7 @@ var J1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式"—","可选"]-], TAe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", Y1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", X1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Z1 = "只填域名,留空用默认地址", EAe = [+], DAe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", J1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", Y1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", X1 = "只填域名,留空用默认地址", OAe = [{provider: "coomer",label: "Coomer",@@ -71876,8 +71880,8 @@ var J1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式label: "SubscribeStar",requirement: "none"}-], Q1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", DAe = "peach.configuration.shape.v1";-function $1() {+], Z1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", kAe = "peach.configuration.shape.v1";+function Q1() {try {let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");return e && typeof e == "object" ? e : {};@@ -71885,28 +71889,28 @@ function $1() {return {};}}-function OAe(e, t) {+function AAe(e, t) {try {- let n = $1();+ let n = Q1();if (JSON.stringify(n[e]) === JSON.stringify(t)) return;- localStorage.setItem(DAe, JSON.stringify({+ localStorage.setItem(kAe, JSON.stringify({...n,[e]: t}));} catch {}}-var e0 = (e) => $1()[e], t0 = (e) => e === !0, n0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, r0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], i0 = "disabled data-skeleton-action", a0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, o0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, s0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, c0 = (e = "3em") => s0(e, "24px"), l0 = () => s0("var(--icon-inline)", "var(--icon-inline)"), u0 = (e, t = "primary", n = "medium") => Ds({+var $1 = (e) => Q1()[e], e0 = (e) => e === !0, t0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, n0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], r0 = "disabled data-skeleton-action", i0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, a0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, o0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, s0 = (e = "3em") => o0(e, "24px"), c0 = () => o0("var(--icon-inline)", "var(--icon-inline)"), l0 = (e, t = "primary", n = "medium") => Ds({label: e,variant: t,size: n,- attrs: i0-}), d0 = (e, t = "") => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, f0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, kAe = (e, t, n) => {- let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${l0()}${e}</span>` : e}</p>`;+ attrs: r0+}), u0 = (e, t = "") => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, d0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, jAe = (e, t, n) => {+ let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${c0()}${e}</span>` : e}</p>`;return t ? `<div class="flex w-full flex-wrap items-center justify-between gap-2"><div class="min-w-40 flex-1">${r}</div><div class="flex min-w-0 max-w-full">${t}</div></div>` : r;-}, p0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${kAe(e, r, a)}${lU(e) ? `<div aria-hidden="true" class="flex items-center gap-1 text-body-2-medium text-text-secondary">${ws("chevron-right", "size-(--icon-inline) shrink-0")}设置说明</div>` : ""}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? d0(n, i) : ""}</div></section>`, m0 = (e, t, n) => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, h0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => m0(e, t, `<span class="skeleton ${n}"></span>`), g0 = (e, t = "4em") => m0(e, "", a0(t)), _0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, v0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, y0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${o0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, b0 = (e) => `<div class="flex flex-col gap-1">${v0(e)}${ks(a0("8em"))}</div>`, x0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${s0("16px", "16px")}${e}</span>`, S0 = (e) => `<span class="inline-flex items-center gap-1">${l0()}${e}</span>`, C0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${ws("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, AAe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), w0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${AAe.has(e) ? a0("100%") + a0("80%") + a0("6em") : a0("6em")}</dd></div>`).join("")}</dl>`, jAe = EAe;-function MAe(e = e0("credentials")) {- let t = new Set(r0(e?.done, 64, String));- return jAe.map((e) => {+}, f0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${jAe(e, r, a)}${cU(e) ? `<div aria-hidden="true" class="flex items-center gap-1 text-body-2-medium text-text-secondary">${ws("chevron-right", "size-(--icon-inline) shrink-0")}设置说明</div>` : ""}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? u0(n, i) : ""}</div></section>`, p0 = (e, t, n) => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, m0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => p0(e, t, `<span class="skeleton ${n}"></span>`), h0 = (e, t = "4em") => p0(e, "", i0(t)), g0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, _0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, v0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${a0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, y0 = (e) => `<div class="flex flex-col gap-1">${_0(e)}${ks(i0("8em"))}</div>`, b0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${o0("16px", "16px")}${e}</span>`, x0 = (e) => `<span class="inline-flex items-center gap-1">${c0()}${e}</span>`, S0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${ws("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, MAe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), C0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${MAe.has(e) ? i0("100%") + i0("80%") + i0("6em") : i0("6em")}</dd></div>`).join("")}</dl>`, NAe = OAe;+function PAe(e = $1("credentials")) {+ let t = new Set(n0(e?.done, 64, String));+ return NAe.map((e) => {let n = t.has(e.provider);return {...e,@@ -71915,134 +71919,134 @@ function MAe(e = e0("credentials")) {};});}-function NAe(e) {- let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = c0() + (n && !e.done ? t.map(() => c0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${s0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${z(e.label)}</b>${r}</span>`;- if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? _0(z(e.why)) : ""}</div>`;- let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + _0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? _0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => y0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${u0("保存配置")}</div>${C0("凭据文件")}</div></div>` : "";- return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${C0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;+function FAe(e) {+ let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = s0() + (n && !e.done ? t.map(() => s0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${o0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${z(e.label)}</b>${r}</span>`;+ if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? g0(z(e.why)) : ""}</div>`;+ let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + g0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? g0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => v0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${l0("保存配置")}</div>${S0("凭据文件")}</div></div>` : "";+ return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${S0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;}-function T0() {- let e = MAe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;- return p0("来源凭据", f0(`<div class="flex flex-col gap-4">${[+function w0() {+ let e = PAe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;+ return f0("来源凭据", d0(`<div class="flex flex-col gap-4">${[["可配置凭据", e.filter((e) => e.requirement !== "none" && e.requirement !== "blocked")],["不需要凭据", e.filter((e) => e.requirement === "none")],["暂不支持", e.filter((e) => e.requirement === "blocked")]- ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(NAe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? a0("5em") : "" });+ ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(FAe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? i0("5em") : "" });}-function E0() {- let e = r0(e0("indexers")?.open, 20, t0).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${ws("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${a0("6em")}${a0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${y0("名称")}${y0("Torznab 地址")}${y0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${x0("启用")}${u0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");- return p0("资源搜索", f0(`<div class="flex min-w-0 flex-col gap-4">${C0("索引器连接帮助")}${e}</div>`), u0("添加索引器", "secondary") + u0("保存配置"));+function T0() {+ let e = n0($1("indexers")?.open, 20, e0).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${ws("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${i0("6em")}${i0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${v0("名称")}${v0("Torznab 地址")}${v0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${b0("启用")}${l0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");+ return f0("资源搜索", d0(`<div class="flex min-w-0 flex-col gap-4">${S0("索引器连接帮助")}${e}</div>`), l0("添加索引器", "secondary") + l0("保存配置"));}-function D0() {- let e = e0("javBrowser"), t = t0(e?.enabled);- return p0("浏览器添加 JAV", f0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${a0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${c0()}</div><p class="text-caption-1-regular text-text-secondary">${a0("70%")}</p><div class="flex flex-wrap items-center gap-2">${u0("重新检测", "secondary")}</div></div>`}${b0("浏览器添加的下载渠道")}${t0(e?.ready) ? "" : _0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${y0("Peach 地址")}</div>`), (t ? u0("关闭浏览器添加", "secondary") : "") + u0(t ? "更新渠道与令牌" : "启用并生成令牌"));+function E0() {+ let e = $1("javBrowser"), t = e0(e?.enabled);+ return f0("浏览器添加 JAV", d0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${i0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${s0()}</div><p class="text-caption-1-regular text-text-secondary">${i0("70%")}</p><div class="flex flex-wrap items-center gap-2">${l0("重新检测", "secondary")}</div></div>`}${y0("浏览器添加的下载渠道")}${e0(e?.ready) ? "" : g0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${v0("Peach 地址")}</div>`), (t ? l0("关闭浏览器添加", "secondary") : "") + l0(t ? "更新渠道与令牌" : "启用并生成令牌"));}-var O0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${v0(e)}${ks(a0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${y0(`${e}地址`)}</div><div class="w-full sm:w-28">${y0(`${e}端口`)}</div></div>${C0("代理认证")}` : "") + "</div>";-function k0() {- let e = e0("cloudProxy"), t = r0(e?.accounts, 12, (e) => Array.isArray(e) ? [t0(e[0]), t0(e[1])] : [!1, !1]), n = n0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${v0(S0(a0("6em")))}${_0(a0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${v0(S0(a0("8em")))}${_0(a0("50%"))}${O0("数据代理", e)}${O0("API 代理", t)}<div class="flex justify-end">${u0("保存配置")}</div></div>`).join("") : _0(a0("60%"));- return p0("CloudDrive 代理", f0(`${_0(Q1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), u0("重新读取", "secondary"));+var D0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${_0(e)}${ks(i0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${v0(`${e}地址`)}</div><div class="w-full sm:w-28">${v0(`${e}端口`)}</div></div>${S0("代理认证")}` : "") + "</div>";+function O0() {+ let e = $1("cloudProxy"), t = n0(e?.accounts, 12, (e) => Array.isArray(e) ? [e0(e[0]), e0(e[1])] : [!1, !1]), n = t0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${_0(x0(i0("6em")))}${g0(i0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${_0(x0(i0("8em")))}${g0(i0("50%"))}${D0("数据代理", e)}${D0("API 代理", t)}<div class="flex justify-end">${l0("保存配置")}</div></div>`).join("") : g0(i0("60%"));+ return f0("CloudDrive 代理", d0(`${g0(Z1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), l0("重新读取", "secondary"));}-var A0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, PAe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">- <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${o0()}</span>${Ds({+var k0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, IAe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">+ <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${Ds({glyph: "folder-search",variant: "secondary",- attrs: i0+ attrs: r0})}</div>- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${A0("来源", ks(a0("6em")), "w-full @lg:w-60")}${A0("读取策略", ks(a0("4em")), "w-full @lg:w-32")}${e > 1 ? A0("移到媒体库", ks(a0("4em")), "w-full @lg:w-48") : ""}</div></div>- </div>`, FAe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">+ <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${k0("来源", ks(i0("6em")), "w-full @lg:w-60")}${k0("读取策略", ks(i0("4em")), "w-full @lg:w-32")}${e > 1 ? k0("移到媒体库", ks(i0("4em")), "w-full @lg:w-48") : ""}</div></div>+ </div>`, LAe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2"><div data-library-head>${Ds({label: "自动识别",variant: "secondary",- attrs: i0-})}${o0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${ks(a0("4em"), { prefix: "处理方式" })}</div>- <div data-library-folders>${PAe(t).repeat(e)}<div class="flex">${Ds({+ attrs: r0+})}${a0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${ks(i0("4em"), { prefix: "处理方式" })}</div>+ <div data-library-folders>${IAe(t).repeat(e)}<div class="flex">${Ds({label: "添加文件夹",variant: "secondary",- attrs: i0-})}</div></div></div>`, IAe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${J1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, LAe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";-function RAe(e = e0("media")) {- let t = r0(e?.folders, 12, (e) => n0(e, 50)).filter(Boolean);+ attrs: r0+})}</div></div></div>`, RAe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${q1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, zAe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";+function BAe(e = $1("media")) {+ let t = n0(e?.folders, 12, (e) => t0(e, 50)).filter(Boolean);return t.length ? {folders: t,- cloud: t0(e?.cloud)+ cloud: e0(e?.cloud)} : {folders: [1],cloud: !1};}-function zAe() {- let e = e0("discovery"), t = t0(e?.enabled), n = t && t0(e?.cloud), r = n && t0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${o0()}</span>${ks(a0("4em"), { prefix: "对应目录" })}${Ds({+function VAe() {+ let e = $1("discovery"), t = e0(e?.enabled), n = t && e0(e?.cloud), r = n && e0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${ks(i0("4em"), { prefix: "对应目录" })}${Ds({glyph: "trash",variant: "secondary",- attrs: i0+ attrs: r0})}</div>`;- return p0("自动发现新文件", f0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${c0()}</div>`) + h0("发现新文件后自动入库", t ? a0("10em") : "") + h0("监视本机文件夹", t && t0(e?.watchLocal) ? a0("12em") : "") + h0("接收 CloudDrive2 通知") + (n ? m0("Webhook 配置", a0("20em"), "") : "") + (r ? f0(C0("查看配置"), !0) : "") + (n ? f0(`<div class="flex flex-col gap-3">${v0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(n0(e?.prefixes, 20))}</div><div>${u0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? u0("更换密钥", "secondary") : "") + u0("保存配置"));-}-var BAe = () => {- let e = RAe();- return p0("媒体库与目录", f0(`${IAe}<div class="flex flex-col gap-4">${e.folders.map((t) => FAe(t, e.folders.length)).join("")}</div>- <div class="self-start">${u0("添加媒体库", "secondary")}</div>- <p class="text-body-2-regular text-text-secondary">${Y1}</p>- ${e.cloud ? LAe : ""}<span class="text-body-medium text-text-primary">${a0("15em")}</span>`), u0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? k0() : "") + zAe() + p0("番号识别规则", f0(`${a0("90%")}${a0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), u0("保存配置")) + p0("视频预览", h0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + h0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + h0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));-}, VAe = () => `<div>${u0("采集来源与登录状态", "secondary")}</div>` + T0() + p0("关注采集", m0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + g0("订阅源拉取") + h0("首次采集范围", "", "ui-configuration-skeleton-select") + g0("头像刷新") + g0("favicon 刷新")) + E0() + p0("作品资料站点", f0(`<p class="text-body-2-regular text-text-secondary">${X1}</p>${y0(S0("JavDB 地址"), Z1)}${y0(S0("MISSAV 地址"), Z1)}`), u0("保存配置")), HAe = () => {- let e = e0("downloads"), t = t0(e?.pikpak), n = t0(e?.pikpakRoots) ? b0(S0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${v0(S0("PikPak 根目录对应的媒体目录"))}${_0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = t0(e?.cloud) ? p0("云下载", f0(y0("CloudDrive2 地址") + y0("CloudDrive2 API 令牌", "需要离线任务权限。") + (t0(e?.has115) ? y0(S0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? y0(S0("PikPak 目标目录"), "目录要已经存在。") + n : "") + y0("等待上限(小时)", a0("14em"))), u0("检查连接", "secondary") + u0("保存配置")) : "", i = t0(e?.pikpakLoggedIn);- return r + (t ? p0("PikPak 账号", i ? w0(["账号", a0("4em")]) : f0(y0("账号") + y0("密码") + x0("保存密码,登录过期时自动重新登录")), i ? u0("登出", "secondary") : (t0(e?.browserLogin) ? u0("用浏览器登录", "secondary") : "") + u0("登录"), {- aside: c0(),+ return f0("自动发现新文件", d0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${s0()}</div>`) + m0("发现新文件后自动入库", t ? i0("10em") : "") + m0("监视本机文件夹", t && e0(e?.watchLocal) ? i0("12em") : "") + m0("接收 CloudDrive2 通知") + (n ? p0("Webhook 配置", i0("20em"), "") : "") + (r ? d0(S0("查看配置"), !0) : "") + (n ? d0(`<div class="flex flex-col gap-3">${_0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(t0(e?.prefixes, 20))}</div><div>${l0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? l0("更换密钥", "secondary") : "") + l0("保存配置"));+}+var HAe = () => {+ let e = BAe();+ return f0("媒体库与目录", d0(`${RAe}<div class="flex flex-col gap-4">${e.folders.map((t) => LAe(t, e.folders.length)).join("")}</div>+ <div class="self-start">${l0("添加媒体库", "secondary")}</div>+ <p class="text-body-2-regular text-text-secondary">${J1}</p>+ ${e.cloud ? zAe : ""}<span class="text-body-medium text-text-primary">${i0("15em")}</span>`), l0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? O0() : "") + VAe() + f0("番号识别规则", d0(`${i0("90%")}${i0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), l0("保存配置")) + f0("视频预览", m0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + m0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + m0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));+}, UAe = () => `<div>${l0("采集来源与登录状态", "secondary")}</div>` + w0() + f0("关注采集", p0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + h0("订阅源拉取") + m0("首次采集范围", "", "ui-configuration-skeleton-select") + h0("头像刷新") + h0("favicon 刷新")) + T0() + f0("作品资料站点", d0(`<p class="text-body-2-regular text-text-secondary">${Y1}</p>${v0(x0("JavDB 地址"), X1)}${v0(x0("MISSAV 地址"), X1)}`), l0("保存配置")), WAe = () => {+ let e = $1("downloads"), t = e0(e?.pikpak), n = e0(e?.pikpakRoots) ? y0(x0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${_0(x0("PikPak 根目录对应的媒体目录"))}${g0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = e0(e?.cloud) ? f0("云下载", d0(v0("CloudDrive2 地址") + v0("CloudDrive2 API 令牌", "需要离线任务权限。") + (e0(e?.has115) ? v0(x0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? v0(x0("PikPak 目标目录"), "目录要已经存在。") + n : "") + v0("等待上限(小时)", i0("14em"))), l0("检查连接", "secondary") + l0("保存配置")) : "", i = e0(e?.pikpakLoggedIn);+ return r + (t ? f0("PikPak 账号", i ? C0(["账号", i0("4em")]) : d0(v0("账号") + v0("密码") + b0("保存密码,登录过期时自动重新登录")), i ? l0("登出", "secondary") : (e0(e?.browserLogin) ? l0("用浏览器登录", "secondary") : "") + l0("登录"), {+ aside: s0(),mark: !0- }) : "") + D0();-}, j0 = {+ }) : "") + E0();+}, A0 = {legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"-}, M0 = {+}, j0 = {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};-function UAe(e) {- let t = e === "locked" ? "" : y0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + y0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");- return (j0[e] ? _0(j0[e]) : "") + (e === "open" ? s0("100%", "64px") : "") + (e === "password" || e === "legacy" ? x0("关闭访问密码") : "") + (e === "password" ? y0("当前访问密码 *") : "") + t;+function GAe(e) {+ let t = e === "locked" ? "" : v0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + v0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");+ return (A0[e] ? g0(A0[e]) : "") + (e === "open" ? o0("100%", "64px") : "") + (e === "password" || e === "legacy" ? b0("关闭访问密码") : "") + (e === "password" ? v0("当前访问密码 *") : "") + t;}-var WAe = () => {- let e = e0("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = t0(e?.tunnelNamed), r = (n && t0(e?.tunnelNamedMode) ? _0(M0.named) + y0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + y0("隧道令牌", a0("16em")) : _0(M0.quick)) + (t0(e?.tunnelNote) ? s0("100%", "64px") : ""), i = n0(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${y0([+var KAe = () => {+ let e = $1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = e0(e?.tunnelNamed), r = (n && e0(e?.tunnelNamedMode) ? g0(j0.named) + v0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + v0("隧道令牌", i0("16em")) : g0(j0.quick)) + (e0(e?.tunnelNote) ? o0("100%", "64px") : ""), i = t0(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${v0(["本机地址","手机连接地址","备用 IP 地址"- ][t])}</div>${u0("复制地址", "secondary")}</div>`).join("");- return (i || t0(e?.port) ? p0("访问地址", f0(a + (i ? s0("100%", "40px") : "") + (t0(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${v0("谁可以访问")}${s0("min(100%, 20em)", "36px")}</div>` + (t0(e?.lan) ? y0("局域网访问地址") : "") : "") + (t0(e?.port) ? y0("端口") : "")), t0(e?.port) ? u0("保存配置") : "", t0(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + p0("访问密码", f0(UAe(t)), t === "locked" ? "" : u0("保存配置")) + p0("Cloudflare 公网入口", f0((n ? s0("10.5em", "36px") : "") + r), u0("启动公网入口", n ? "secondary" : "primary") + (n ? u0("保存配置") : ""), { aside: c0() }) + p0("Peach 代理", h0("连接方式", "", "ui-configuration-skeleton-select") + (t0(e?.proxyAddress) ? f0(y0("代理地址"), !0) : ""), u0("保存配置"));-}, GAe = [+ ][t])}</div>${l0("复制地址", "secondary")}</div>`).join("");+ return (i || e0(e?.port) ? f0("访问地址", d0(a + (i ? o0("100%", "40px") : "") + (e0(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${_0("谁可以访问")}${o0("min(100%, 20em)", "36px")}</div>` + (e0(e?.lan) ? v0("局域网访问地址") : "") : "") + (e0(e?.port) ? v0("端口") : "")), e0(e?.port) ? l0("保存配置") : "", e0(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + f0("访问密码", d0(GAe(t)), t === "locked" ? "" : l0("保存配置")) + f0("Cloudflare 公网入口", d0((n ? o0("10.5em", "36px") : "") + r), l0("启动公网入口", n ? "secondary" : "primary") + (n ? l0("保存配置") : ""), { aside: s0() }) + f0("Peach 代理", m0("连接方式", "", "ui-configuration-skeleton-select") + (e0(e?.proxyAddress) ? d0(v0("代理地址"), !0) : ""), l0("保存配置"));+}, qAe = ["版本","操作系统","数据目录","设置文件","日志目录"-], KAe = () => {- let e = e0("maintenance"), t = [+], JAe = () => {+ let e = $1("maintenance"), t = ["当前版本","安装方式","更新通道","最新版本","下载内容"- ].slice(0, Math.max(4, n0(e?.releaseFacts, 5))), n = n0(e?.releaseNotes, 4), r = n0(e?.storageRows, 12), i = n0(e?.storageNotes, 3), a = r0(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${c0("6em")}</span>`, s = (t) => !e || t0(t), c = s(e?.reporting) ? h0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (t0(e?.reportingIdle) ? f0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${h0("上传馆藏与口味明细", t0(e?.sharingNotice) ? a0("12em") : "")}${t0(e?.sharingIdle) ? f0(o, !0) : ""}${d0(u0("预览上传内容", "secondary"))}</div>` : "";- return p0("检查更新", w0(t) + (n ? f0(_0(a0("50%")).repeat(n), !0) : ""), u0("检查更新"), {- aside: c0("4em"),- status: a0("5em")- }) + p0("自动更新", h0("自动检查新版本") + h0("自动下载更新") + h0("检查频率", t0(e?.autoUpdateHelp) ? a0("12em") : "", "ui-configuration-skeleton-select"), u0("保存配置")) + p0("开机自启", h0("开机后启动 Peach") + h0("只启动托盘,不打开网页") + h0("在桌面创建快捷方式", t0(e?.desktopNote) ? a0("12em") : "") + (t0(e?.startupNote) ? f0(_0(a0("60%")), !0) : ""), u0("保存配置")) + p0("视频播放", h0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + p0("存储空间", w0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => m0(a0("6em"), "", a0("4em"))).join("") : f0(_0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? f0(_0(a0("80%")).repeat(i), !0) : ""), u0("更改位置", "secondary") + u0(r ? "重新统计" : "统计占用")) + (c || l ? p0("数据上传", c + l) : "") + p0("运行信息", w0(a.length ? a : GAe)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${m0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", u0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? p0("卸载 Peach", (t0(e?.uninstallHelp) ? f0(_0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + h0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + f0(C0("数据目录"), !0), u0("卸载 Peach"), { status: a0("16em") }) : "");+ ].slice(0, Math.max(4, t0(e?.releaseFacts, 5))), n = t0(e?.releaseNotes, 4), r = t0(e?.storageRows, 12), i = t0(e?.storageNotes, 3), a = n0(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${s0("6em")}</span>`, s = (t) => !e || e0(t), c = s(e?.reporting) ? m0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (e0(e?.reportingIdle) ? d0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${m0("上传馆藏与口味明细", e0(e?.sharingNotice) ? i0("12em") : "")}${e0(e?.sharingIdle) ? d0(o, !0) : ""}${u0(l0("预览上传内容", "secondary"))}</div>` : "";+ return f0("检查更新", C0(t) + (n ? d0(g0(i0("50%")).repeat(n), !0) : ""), l0("检查更新"), {+ aside: s0("4em"),+ status: i0("5em")+ }) + f0("自动更新", m0("自动检查新版本") + m0("自动下载更新") + m0("检查频率", e0(e?.autoUpdateHelp) ? i0("12em") : "", "ui-configuration-skeleton-select"), l0("保存配置")) + f0("开机自启", m0("开机后启动 Peach") + m0("只启动托盘,不打开网页") + m0("在桌面创建快捷方式", e0(e?.desktopNote) ? i0("12em") : "") + (e0(e?.startupNote) ? d0(g0(i0("60%")), !0) : ""), l0("保存配置")) + f0("视频播放", m0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + f0("存储空间", C0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => p0(i0("6em"), "", i0("4em"))).join("") : d0(g0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? d0(g0(i0("80%")).repeat(i), !0) : ""), l0("更改位置", "secondary") + l0(r ? "重新统计" : "统计占用")) + (c || l ? f0("数据上传", c + l) : "") + f0("运行信息", C0(a.length ? a : qAe)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${p0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", l0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? f0("卸载 Peach", (e0(e?.uninstallHelp) ? d0(g0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + m0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + d0(S0("数据目录"), !0), l0("卸载 Peach"), { status: i0("16em") }) : "");};-function qAe(e) {+function YAe(e) {switch (e) {- case "系统诊断": return q1();- case "来源与订阅": return VAe();- case "下载渠道": return HAe();- case "网络与访问": return WAe();- case "应用与维护": return KAe();- default: return BAe();+ case "系统诊断": return K1();+ case "来源与订阅": return UAe();+ case "下载渠道": return WAe();+ case "网络与访问": return KAe();+ case "应用与维护": return JAe();+ default: return HAe();}}-function JAe(e = "媒体库与入库") {- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(Df).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">${qAe(e)}</div></div></div>`;+function XAe(e = "媒体库与入库") {+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(Df).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">${YAe(e)}</div></div></div>`;}// src/react/jav/discovery-sorts.ts-var N0 = [+var M0 = [["taste","口味",@@ -72069,10 +72073,10 @@ var N0 = ["按番号排序"]];-function YAe(e) {+function ZAe(e) {return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";}-function XAe(e) {+function QAe(e) {if (typeof e != "number" || !Number.isFinite(e)) return {score: "—",label: "资料未取得",@@ -72097,8 +72101,8 @@ function XAe(e) {};}// src/jav-skeleton.ts-var P0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, ZAe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, F0 = "w-full min-w-0";-function I0() {+var N0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, $Ae = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, P0 = "w-full min-w-0";+function F0() {return ["w-20","w-16",@@ -72108,8 +72112,8 @@ function I0() {"w-24"].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-8 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");}-function L0(e, t = TM()) {- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${P0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${ZAe("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">${P0("80%")}${P0("60%")}${P0("40%")}</div></div>`).join("")}</div>`;+function I0(e, t = TM()) {+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${N0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${$Ae("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${N0("80%")}${N0("60%")}${N0("40%")}</div></div>`).join("")}</div>`;let n = NM({...MM({active: !0,@@ -72118,16 +72122,16 @@ function L0(e, t = TM()) {}),size: t});- return `<div data-media-grid class="${F0}" 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="${P0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3"><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>${P0("85%")}${P0("65%")}</div><div data-media-byline>${P0("55%")}</div>+ <div data-media-title>${N0("85%")}${N0("65%")}</div><div data-media-byline>${N0("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 QAe(e) {+function eje(e) {let t = e === "wants" ? "筛选想要" : "筛选推荐";return `<div class="peach-react"><div class="flex w-full flex-col gap-6"><div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${Ds({@@ -72135,28 +72139,28 @@ function QAe(e) {label: "查找资源",attrs: "disabled data-skeleton-action"})}</div>- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${QH.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">${ZH.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div><form aria-label="${t}">${Es("筛选番号、女优或标题", "", t)}</form>- ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${P0("100%")}</div>${L0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${$Ae()}${L0(e)}</section>`}</div></div>`;+ ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${N0("100%")}</div>${I0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${tje()}${I0(e)}</section>`}</div></div>`;}-function $Ae() {+function tje() {let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${TM() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${ws(t, "size-4")}</span>`;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>${I0()}</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>${F0()}</div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2"><span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ts()}<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${ws("refresh-cw", "size-4")}</button><span data-entity-layout class="inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg">${t("big", "maximize")}${t("small", "layout-grid")}</span>- ${N0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? ws("arrow-down", "size-3.5") : ""}</button>`).join("")}+ ${M0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? ws("arrow-down", "size-3.5") : ""}</button>`).join("")}</span></div></div>`;}// src/management-skeletons.ts-var R0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", z0 = (e = "60%") => `<span class="${R0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, B0 = "disabled data-skeleton-action", V0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";-function eje() {+var L0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", R0 = (e = "60%") => `<span class="${L0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, z0 = "disabled data-skeleton-action", B0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";+function nje() {let e = ["馆藏视频","看过",@@ -72164,27 +72168,27 @@ function eje() {"使用空间"].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="${R0} size-7 max-sm:size-6"></i>${e}</span>- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${z0("4em")}</b>- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${z0("6em")}</small>- </div>`).join(""), t = (e) => `<section class="${V0}" data-stats-chart>- <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${z0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${L0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${R0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>+ </div>`).join(""), t = (e) => `<section class="${B0}" data-stats-chart>+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${R0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header><svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[76,54,32].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>- <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${z0()}</span><b class="text-title-2-medium">${z0("3em")}</b><small class="text-caption-1-regular">${z0()}</small></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${R0()}</span><b class="text-title-2-medium">${R0("3em")}</b><small class="text-caption-1-regular">${R0()}</small></div>`).join("")}</div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">- <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${z0("12em")}</p>+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${R0("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="${V0}"><h3 class="text-title-2-medium">${e}</h3><div class="${R0} h-64"></div></section>`).join("")}</div>+ ].map((e) => `<section class="${B0}"><h3 class="text-title-2-medium">${e}</h3><div class="${L0} h-64"></div></section>`).join("")}</div></div></div><section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">@@ -72193,11 +72197,11 @@ function eje() {"最近看过","标签来源"].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="${R0} 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="${L0} h-7"></div>`).join("")}</div></section></div></div>`;}-function tje() {+function rje() {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 = ["浏览记录","口味维度",@@ -72205,20 +72209,20 @@ function tje() {"私有导出"].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="${R0} size-7 max-sm:size-6"></i>${e}</span>- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${z0("4em")}</b>- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${z0("6em")}</small>- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${R0} h-6"></div>`).join(""), r = (e) => `<section class="${V0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${R0} 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="${L0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${R0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${L0} h-6"></div>`).join(""), r = (e) => `<section class="${B0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${L0} h-40"></div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8"><div class="flex flex-col gap-5"><div class="flex flex-wrap items-center justify-between gap-3">${e(["浏览器记录", "Peach 内部"])}<div class="flex flex-wrap items-center gap-2">${ks("全部时间")}<span data-button-group data-split-button data-variant="primary">${Ds({glyph: "compass",label: "读取浏览器历史",- attrs: B0+ attrs: z0})}${Ds({glyph: "chevron-down",- attrs: B0+ attrs: z0})}</span></div></div><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-taste-metrics>${t}</div>@@ -72236,11 +72240,11 @@ function tje() {4,5].map((t) => `${(100 + e * Math.sin(t * Math.PI / 3)).toFixed(1)},${(100 - e * Math.cos(t * Math.PI / 3)).toFixed(1)}`).join(" ")}"/>`).join("")}</svg>- <small class="text-caption-1-regular">${z0("8em")}</small></div>+ <small class="text-caption-1-regular">${R0("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="${V0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${R0} h-72 max-sm:h-48"></div></section>+ <section class="${B0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${L0} h-72 max-sm:h-48"></div></section><section class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col"><div class="px-4 pt-3">${e(["标签",@@ -72248,20 +72252,20 @@ function tje() {"常访问网站","浏览线索"])}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${R0} 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="${L0} h-7"></div>`).join("")}</div></section></div></div></div>`;}-function nje() {+function ije() {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="${R0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>- <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${z0("70%")}</span>- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${z0("3em")}</span>`).join("")}- <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${z0("75%")}</span>+ <span class="${L0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${R0("70%")}</span>+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${R0("3em")}</span>`).join("")}+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${R0("75%")}</span></div>`, t = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group><div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">- <b class="text-title-2-medium">${z0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${z0("8em")}</span>+ <b class="text-title-2-medium">${R0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${R0("8em")}</span><span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${["留最大","留最长",@@ -72270,27 +72274,27 @@ function nje() {variant: "secondary",size: "small",label: e,- attrs: B0+ attrs: z0})).join("")}</span></div>${e.repeat(2)}</section>`;return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5"><div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">- <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${z0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${z0("12em")}</p>+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${R0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${R0("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 ${B0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${z0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>${t.repeat(2)}</div></div>`;}-function rje() {+function aje() {let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 p-3">- <div class="flex min-w-0 gap-4"><span class="${R0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>- <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${z0("80%")}</h3><p class="text-body-2-regular">${z0("60%")}</p></div>+ <div class="flex min-w-0 gap-4"><span class="${L0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>+ <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${R0("80%")}</h3><p class="text-body-2-regular">${R0("60%")}</p></div></div><footer class="flex justify-end">${Ds({variant: "secondary",size: "small",label: "查看版本",- attrs: B0+ attrs: z0})}</footer></li>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">@@ -72299,20 +72303,20 @@ function rje() {</div></div>`;}// src/board-skeleton.ts-var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, ije = () => `${H0("80%")}${H0("48%")}`, U0 = (e, t) => e.repeat(t), W0 = "disabled data-skeleton-action", G0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, K0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, aje = "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", q0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[+var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, oje = () => `${V0("80%")}${V0("48%")}`, H0 = (e, t) => e.repeat(t), U0 = "disabled data-skeleton-action", W0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, G0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, sje = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", K0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${["关注创作者","启用来源","检查失败","未看更新","JAV 订阅","未看新作"-].map((e) => `<div class="${aje}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${G0("3em")}</b></div>`).join("")}</div>`, oje = (e = "") => QZ.some(([t]) => t === e) ? e : "list", J0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${QZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, Y0 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, sje = ({ table: e, sort: t, dir: n }) => {+].map((e) => `<div class="${sje}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${W0("3em")}</b></div>`).join("")}</div>`, cje = (e = "") => XZ.some(([t]) => t === e) ? e : "list", q0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${XZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, J0 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, lje = ({ table: e, sort: t, dir: n }) => {let r = lr.find(([e]) => e === t)[1];- return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${G0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Ds({+ return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${W0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Ds({glyph: "refresh-cw",label: "检查全部",compact: !0,- attrs: W0+ attrs: U0})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${Ds({variant: "ghost",glyph: "layout-grid",@@ -72329,42 +72333,42 @@ var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, ijeglyph: "chevron-up",label: "全部收起",compact: !0,- attrs: W0+ attrs: U0})}</span></div></div>`;-}, X0 = () => `<span class="flex shrink-0 items-center gap-1">${Ds({+}, Y0 = () => `<span class="flex shrink-0 items-center gap-1">${Ds({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: W0+ attrs: U0})}${Ds({variant: "secondary",size: "small",glyph: "trash",- attrs: W0-})}</span>`, cje = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${Y0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${G0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${K0(14, 14)}</span>${K0(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">${G0("113px")}</span>${X0()}</span></div>`, Z0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${K0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${G0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Ds({+ attrs: U0+})}</span>`, uje = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${J0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${W0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${G0(14, 14)}</span>${G0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${W0("113px")}</span>${Y0()}</span></div>`, X0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${G0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${W0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Ds({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: W0-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${K0(14, 14)}${K0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Ds({+ attrs: U0+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${G0(14, 14)}${G0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Ds({variant: "secondary",size: "small",glyph: "check-check",label: "全选",- attrs: W0+ attrs: U0})}${Ds({variant: "secondary",size: "small",glyph: "chevron-up",label: "收起",- attrs: W0-})}</span></span></div><div data-source-divider>${U0(cje(), e)}</div></section>`, lje = () => {+ attrs: U0+})}</span></span></div><div data-source-divider>${H0(uje(), e)}</div></section>`, dje = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {return 20;}-}, uje = [+}, fje = [["select", ""],["author", "创作者"],["source", "来源"],@@ -72372,90 +72376,90 @@ var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, ije["status", "状态"],["checked", "上次检查"],["actions", ""]-], dje = {+], pje = {name: "author",source: "source",provider: "provider",status: "status",checked: "checked"-}, Q0 = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", fje = (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>${uje.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${dje[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${Q0}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${U0(`<tr>${[- Y0(),- `<span class="flex min-w-0 items-center gap-2">${K0(32, 32, !0)}${G0("5em")}</span>`,- G0("10em"),- `<span class="flex items-center gap-1.5">${K0(14, 14)}${G0("4em")}</span>`,- K0(48, 24),- G0("113px"),- X0()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, pje = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${G0("111px")}</span><div data-toolbar-actions>${ks(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${K0(204, 32)}</div></div>`, mje = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${G0("120px")}</h3>${[+}, Z0 = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", mje = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${fje.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${pje[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${Z0}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${H0(`<tr>${[+ J0(),+ `<span class="flex min-w-0 items-center gap-2">${G0(32, 32, !0)}${W0("5em")}</span>`,+ W0("10em"),+ `<span class="flex items-center gap-1.5">${G0(14, 14)}${W0("4em")}</span>`,+ G0(48, 24),+ W0("113px"),+ Y0()+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, hje = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${W0("111px")}</span><div data-toolbar-actions>${ks(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${G0(204, 32)}</div></div>`, gje = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${W0("120px")}</h3>${["72%","56%","64%","40%"-].map((e) => `<span class="text-body-medium">${G0(e)}</span>`).join("")}</div>`, hje = (e) => {- let t = oje(e.followTab);- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${J0(t)}<div class="flex flex-col gap-4">${mje()}</div></div></div></div>`;- let n = e.followLayout === "table", r = pr(e.followSort, e.followDir), i = e.followPageSize || lje(), a = n ? fje(i, r) : `${Y0("全选本页")}<div class="flex flex-col gap-3">${Z0(3)}${Z0(4)}${Z0(3)}</div>`;- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${J0(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${sje({+].map((e) => `<span class="text-body-medium">${W0(e)}</span>`).join("")}</div>`, _je = (e) => {+ let t = cje(e.followTab);+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${q0(t)}<div class="flex flex-col gap-4">${gje()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = pr(e.followSort, e.followDir), i = e.followPageSize || dje(), a = n ? mje(i, r) : `${J0("全选本页")}<div class="flex flex-col gap-3">${X0(3)}${X0(4)}${X0(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${q0(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${lje({table: n,...r- })}${a}${pje(n, i)}</div></div></div></div></div>`;+ })}${a}${hje(n, i)}</div></div></div></div></div>`;};-function gje() {- 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">${H0("85%")}${H0("65%")}${U0(ije(), 4)}</div></aside></div>`;+function vje() {+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${V0("85%")}${V0("65%")}${H0(oje(), 4)}</div></aside></div>`;}-function _je(e, t = {}) {+function yje(e, t = {}) {let n = "";- if (e === "/stats") n = eje();- else if (e === "/jav") n = QAe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");- else if (e === "/taste") n = tje();- else if (e === "/subscriptions") n = hje(t);- else if (e.startsWith("/settings/") && e.split("/")[2] in Df) n = JAe(Df[e.split("/")[2]]);+ if (e === "/stats") n = nje();+ else if (e === "/jav") n = eje(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");+ else if (e === "/taste") n = rje();+ else if (e === "/subscriptions") n = _je(t);+ else if (e.startsWith("/settings/") && e.split("/")[2] in Df) n = XAe(Df[e.split("/")[2]]);else if (e === "/tasks") n = `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${["正在进行","本次未执行","最近完成"- ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${G0("8em")}</span><span class="text-caption-1-regular">${G0("14em")}</span>${G0("60%")}${G0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${G0("6em")}</div></div></section>`).join("")}</div></div>`;- else if (e === "/duplicates") n = nje();- else if (e === "/quality-goals") n = rje();+ ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${W0("8em")}</span><span class="text-caption-1-regular">${W0("14em")}</span>${W0("60%")}${W0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${W0("6em")}</div></div></section>`).join("")}</div></div>`;+ else if (e === "/duplicates") n = ije();+ else if (e === "/quality-goals") n = aje();else if (e === "/playlists") n = `<div class="peach-react"><section class="w-full pt-1 pb-10.5"><header class="mb-4 flex items-start justify-between gap-4.5 max-board-narrow:flex-col max-board-narrow:items-stretch"><div><h2 class="mb-1 text-display-4-medium! text-text-primary">播放列表</h2><p class="text-body-2-regular text-text-secondary">保存 Mix,按自己的顺序继续播放。</p></div><div class="flex flex-wrap items-end gap-2"><div class="min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none"><span class="text-body-medium">新播放列表</span><span class="skeleton ui-configuration-skeleton-input mt-1.5"></span></div>${Ds({label: "新建",- attrs: W0- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${U0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;+ attrs: U0+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${H0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;else return "";return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;}// src/react/components/overlay-host.ts-function vje(e) {+function bje(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 $0(e) {+function Q0(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return vje(n ?? t.body);+ return bje(n ?? t.body);}-var e2 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";-function yje(e) {+var $0 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";+function xje(e) {let t = e.querySelector(":scope > [data-react-overlays]");for (let e = t?.lastElementChild; e; e = e.previousElementSibling) {- let t = e.matches(e2) ? e : e.querySelector(e2);+ let t = e.matches($0) ? e : e.querySelector($0);if (t) return t;}return null;}-function t2(e) {+function e2(e) {let t = document.getElementById("toasts"), n = e?.open ? e : document.body;t && t.parentElement !== n && n.append(t);}// src/react/follow-detail/follow-detail.ts-var n2 = (e) => ["follow-item", e], bje = (e) => `/api/follow?item=${encodeURIComponent(e)}`, xje = "/api/follow/save", Sje = "/api/follow/media/hide", r2 = class extends Error {+var t2 = (e) => ["follow-item", e], Sje = (e) => `/api/follow?item=${encodeURIComponent(e)}`, Cje = "/api/follow/save", wje = "/api/follow/media/hide", n2 = class extends Error {constructor() {super("这条关注内容已不存在");}};-async function i2(e, t) {- let n = await B(bje(e), t);+async function r2(e, t) {+ let n = await B(Sje(e), t);for (let t of n.groups || []) {let r = ca(t).find((t) => t.id === e);if (r) return {@@ -72465,9 +72469,9 @@ async function i2(e, t) {aliases: n.author_aliases || []};}- throw new r2();+ throw new n2();}-function Cje(e) {+function Tje(e) {for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {if (!t?.group) continue;let n = ca(t.group).find((t) => t.id === e);@@ -72478,20 +72482,20 @@ function Cje(e) {}return null;}-async function a2(e, t) {- let n = n2(e.id), r = la(e.id), i = H.getQueryData(ra) ? null : H.fetchQuery({+async function i2(e, t) {+ let n = t2(e.id), r = la(e.id), i = H.getQueryData(ra) ? null : H.fetchQuery({queryKey: ra,queryFn: () => ia(t)}), a = r ? {...r,item: r.item- } : H.getQueryData(n) ?? Cje(e.id);+ } : H.getQueryData(n) ?? Tje(e.id);a ? H.setQueryData(n, a) : await H.fetchQuery({queryKey: n,- queryFn: () => i2(e.id, t)+ queryFn: () => r2(e.id, t)}), await i;}-function wje(e, t, n, r) {+function Eje(e, t, n, r) {let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && _a(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);return {embedded: i,@@ -72506,32 +72510,32 @@ function wje(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var Tje = (e) => ca(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), Eje = {+var Dje = (e) => ca(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), Oje = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA","mega.io": "MEGA","mediafire.com": "MediaFire","drive.google.com": "Google Drive"-}, Dje = {+}, kje = {gofile: "Gofile",pixeldrain: "Pixeldrain",mega: "MEGA",mediafire: "MediaFire",google_drive: "Google Drive"};-function Oje(e) {+function Aje(e) {try {let t = new URL(e).hostname.replace(/^www\./, "");- return Eje[t] || t;+ return Oje[t] || t;} catch {return "外部文件页";}}-function o2(e, t) {- return Dje[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";+function a2(e, t) {+ return kje[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}-function kje(e, t, n = "") {+function jje(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;@@ -72540,54 +72544,54 @@ function kje(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var Aje = (e) => String(e.name || "").trim(), s2 = (e, t) => e.tag_types?.[t] || "unknown", jje = /* @__PURE__ */ new Set([+var Mje = (e) => String(e.name || "").trim(), o2 = (e, t) => e.tag_types?.[t] || "unknown", Nje = /* @__PURE__ */ new Set(["artist","character","copyright","metadata","unknown"]);-function Mje(e, t) {- let n = s2(e, t);- return `r34-${jje.has(n) ? n : "general"}`;+function Pje(e, t) {+ let n = o2(e, t);+ return `r34-${Nje.has(n) ? n : "general"}`;}-var c2 = [+var s2 = ["copyright","character","artist","general","metadata"];-function Nje(e, t) {+function Fje(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = c2.indexOf(s2(e, t));- return n < 0 ? c2.length : n;+ let n = s2.indexOf(o2(e, t));+ return n < 0 ? s2.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function l2(e, t) {+function c2(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 Pje = (e, t) => ({+var Ije = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), u2 = (e) => e?.size ? { size: e.size } : {};-function Fje(e, t) {+}), l2 = (e) => e?.size ? { size: e.size } : {};+function Lje(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: o2(t, e),- ...u2(t)+ source: a2(t, e),+ ...l2(t)})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: o2(a, e),- ...u2(a)+ source: a2(a, e),+ ...l2(a)}] : e.thumb_url ? [{src: e.thumb_url,thumb: e.thumb_url,@@ -72595,7 +72599,7 @@ function Fje(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var Ije = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", f2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", p2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", m2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", h2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", g2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", _2 = "disabled data-skeleton-action", v2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, y2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, b2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, x2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}​</span></div></div></div></div>`, Lje = [+var Rje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", u2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", d2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", f2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", p2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", m2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", h2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", g2 = "disabled data-skeleton-action", _2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, v2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, y2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, b2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}​</span></div></div></div></div>`, zje = ["3em","5em","5em",@@ -72605,7 +72609,7 @@ var Ije = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2"8em","8em","10em"-], Rje = [+], Bje = ["5.8em","6.4em","7em",@@ -72615,70 +72619,70 @@ var Ije = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2"5.8em","9em","9em"-], S2 = (e, t) => Ds({+], x2 = (e, t) => Ds({variant: e,size: "small",- label: v2(t)+ label: _2(t)});-function zje() {- return `<section class="${E$("stack")}">- <div class="${w$.stack}">${b2("整理", "mb-3")}- <p class="text-body-regular text-text-secondary">${d2}</p>+function Vje() {+ return `<section class="${w$("stack")}">+ <div class="${S$.stack}">${y2("整理", "mb-3")}+ <p class="text-body-regular text-text-secondary">${u2}</p><div class="mt-3 flex flex-col gap-3">- <div class="flex min-w-0 flex-wrap items-start gap-2">${ks(v2("3em"), {+ <div class="flex min-w-0 flex-wrap items-start gap-2">${ks(_2("3em"), {prefix: "来源",className: "w-fit min-w-25",attrs: "aria-disabled=\"true\""})}- <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${x2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs size-9">${ws("folder-search", "size-5 shrink-0")}</button></div>+ <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${b2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs size-9">${ws("folder-search", "size-5 shrink-0")}</button></div></div>- <p class="text-caption-1-regular text-text-secondary">${f2}</p>- ${x2(v2("12em"), { label: "文件名模板" })}${x2(v2("8em"), { label: "目录模板" })}- <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${Lje.map((e) => S2("secondary", e)).join("")}</div></div>- <p class="text-caption-1-regular text-text-secondary">路径示例:${v2("16em")}</p>- <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${Rje.map((e) => S2("ghost", e)).join("")}</div></div>- <p class="text-caption-1-regular leading-4.5 text-text-secondary">${p2}</p>+ <p class="text-caption-1-regular text-text-secondary">${d2}</p>+ ${b2(_2("12em"), { label: "文件名模板" })}${b2(_2("8em"), { label: "目录模板" })}+ <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${zje.map((e) => x2("secondary", e)).join("")}</div></div>+ <p class="text-caption-1-regular text-text-secondary">路径示例:${_2("16em")}</p>+ <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${Bje.map((e) => x2("ghost", e)).join("")}</div></div>+ <p class="text-caption-1-regular leading-4.5 text-text-secondary">${f2}</p></div></div>- <footer class="${T$.stack}">${Ds({+ <footer class="${C$.stack}">${Ds({label: "预览",- attrs: _2+ attrs: g2})}</footer></section>`;}-var Bje = () => `<section class="flex scroll-mt-20 flex-col gap-4">- <section class="${E$("split")}"><div class="${w$.split}">${b2("资源同步", "mb-2")}- <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${m2}</p></div>- <footer class="${T$.split}">${Ds({+var Hje = () => `<section class="flex scroll-mt-20 flex-col gap-4">+ <section class="${w$("split")}"><div class="${S$.split}">${y2("资源同步", "mb-2")}+ <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${p2}</p></div>+ <footer class="${C$.split}">${Ds({glyph: "git-compare",label: "检查文件",- attrs: _2+ attrs: g2})}</footer></section>-</section>`, C2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${v2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${v2("14em")}</small>` : ""}</div>`, Vje = () => `<section class="flex scroll-mt-20 flex-col gap-4">- <section class="${E$("stack")}"><div class="${w$.stack}">${b2("链接管理", "mb-2")}- <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${C2("链接总数", !0)}${[+</section>`, S2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${_2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${_2("14em")}</small>` : ""}</div>`, Uje = () => `<section class="flex scroll-mt-20 flex-col gap-4">+ <section class="${w$("stack")}"><div class="${S$.stack}">${y2("链接管理", "mb-2")}+ <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${S2("链接总数", !0)}${[0,1,2-].map(() => C2(v2("5em"))).join("")}</div>+].map(() => S2(_2("5em"))).join("")}</div><div class="mt-4 flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span><div class="flex min-w-0 flex-wrap gap-x-5 gap-y-2">${["7em","10em","8em"-].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${y2(16, 16)}${v2(e)}${y2(28, 24)}</span>`).join("")}</div></div></div>- <footer class="${T$.stack}">${Ds({+].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${v2(16, 16)}${_2(e)}${v2(28, 24)}</span>`).join("")}</div></div></div>+ <footer class="${C$.stack}">${Ds({glyph: "link",label: "检查死链",- attrs: _2+ attrs: g2})}</footer></section></section>`;-function w2({ title: e, description: t, search: n = "", columns: r, rows: i }) {- let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${Y0()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${Q0}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${Y0()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Es("", "", n)}</div>` : "";- return `<div data-data-table-panel class="${HH({+function C2({ title: e, description: t, search: n = "", columns: r, rows: i }) {+ let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${J0()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${Z0}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${J0()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Es("", "", n)}</div>` : "";+ return `<div data-data-table-panel class="${VH({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"})}">- <div data-responsive-toolbar><div data-toolbar-heading>${b2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${v2("4em")}</span></div>+ <div data-responsive-toolbar><div data-toolbar-heading>${y2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${_2("4em")}</span></div><div data-toolbar-actions>${c}<div class="flex flex-none gap-2">${Ds({variant: "secondary",label: "显示列"@@ -72689,38 +72693,38 @@ function w2({ title: e, description: t, search: n = "", columns: r, rows: i }) {<span class="flex flex-none items-center gap-2">${ks("默认顺序", { prefix: "排序" })}${Ds({variant: "secondary",glyph: "arrow-up",- attrs: _2+ attrs: g2})}</span></div></div><p class="text-body-2-regular text-text-secondary">${t}</p><div data-board-data-table data-resizable-table data-follow-table><div class="relative min-w-0"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="min-width:${a}px"><thead><tr>${o}</tr></thead><tbody>${s.repeat(i)}</tbody></table></div></div></div>- <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${v2("8em")}</span><div data-toolbar-actions>${ks("每页 20 条", { size: "sm" })}</div></div>+ <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${_2("8em")}</span><div data-toolbar-actions>${ks("每页 20 条", { size: "sm" })}</div></div></div>`;}-var Hje = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${v2(e)}</span><small class="text-caption-1-regular">${v2(t)}</small></span>`, Uje = {+var Wje = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${_2(e)}</span><small class="text-caption-1-regular">${_2(t)}</small></span>`, Gje = {organize: {label: "正在读取整理配置",- body: zje+ body: Vje},"resource-sync": {label: "正在读取资源同步状态",- body: Bje+ body: Hje},"orphan-records": {label: "正在读取文件已丢失的记录",- body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${w2({+ body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${C2({title: "文件已丢失的记录",- description: h2,+ description: m2,rows: 4,columns: [{label: "作品",width: 480,- cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${Hje("70%", "40%")}</span>`+ cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${Wje("70%", "40%")}</span>`},{label: "个人记录",width: 176,- cell: v2("6em")+ cell: _2("6em")},{label: "操作",@@ -72729,7 +72733,7 @@ var Hje = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span clvariant: "secondary",size: "small",label: "删除记录",- attrs: _2+ attrs: g2})}]@@ -72737,50 +72741,50 @@ var Hje = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl},"media-repair": {label: "正在读取媒体修复状态",- body: GOe+ body: qOe},links: {label: "正在读取链接统计",- body: Vje+ body: Uje},"batch-delete": {label: "正在读取女优列表",- body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${w2({+ body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${C2({title: "批量删除",- description: g2,+ description: h2,search: "搜索女优姓名或别名",rows: 12,columns: [{label: "女优",width: 280,- cell: `<span class="flex min-w-0 items-center gap-3">${y2(32, 32, !0)}${v2("5em")}</span>`+ cell: `<span class="flex min-w-0 items-center gap-3">${v2(32, 32, !0)}${_2("5em")}</span>`},{label: "影片",width: 104,- cell: v2("3em")+ cell: _2("3em")},{label: "文件",width: 104,- cell: v2("3em")+ cell: _2("3em")},{label: "登记大小",width: 136,- cell: v2("4em")+ cell: _2("4em")}]})}</section>`}};-function T2(e) {- let { label: t, body: n } = Uje[e];+function w2(e) {+ let { label: t, body: n } = Gje[e];return `<div class="peach-react" data-skeleton="cleanup/${e}" aria-busy="true" role="status" aria-label="${t}"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">${n()}</div></div>`;}// src/management-placeholder.ts-var E2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => nc(e, {+var T2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => nc(e, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -72788,7 +72792,7 @@ var E2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill...i ? { count: i } : {},...a === void 0 ? {} : { fill: a },...o ? { cardRatio: o } : {}-}), Wje = [+}), Kje = ["元数据字段","创作者标签","厂牌 Logo",@@ -72798,39 +72802,39 @@ var E2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill"FC2 评论标记","FC2 跨号相似","片尾/出处证据"-], Gje = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">+], qje = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}"><div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>- <div class="reviewtabs" data-section-items>${Wje.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>+ <div class="reviewtabs" data-section-items>${Kje.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div><div class="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>`, Kje = {- "/data-cleanup": () => KOe(),- ...Object.fromEntries(qf.map((e) => [e.path, () => T2(e.key)])),- "/resource-sync": () => T2("resource-sync"),- "/review": () => Gje(),+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, Jje = {+ "/data-cleanup": () => JOe(),+ ...Object.fromEntries(qf.map((e) => [e.path, () => w2(e.key)])),+ "/resource-sync": () => w2("resource-sync"),+ "/review": () => qje(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>- ${E2("正在读取采集来源", {+ ${T2("正在读取采集来源", {cards: !0,count: 4,fill: !1,className: "cleanup-skeleton"})}</div>`};-function D2(e, { followLayout: t, followSort: n, followDir: r }) {- return _je(e, {+function E2(e, { followLayout: t, followSort: n, followDir: r }) {+ return yje(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (Kje[e] ?? (() => E2("正在读取页面")))();+ }) || (Jje[e] ?? (() => T2("正在读取页面")))();}-var O2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";-function k2(e, t) {- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = O2(t);+var D2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";+function O2(e, t) {+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = D2(t);r && r === n || (e.innerHTML = t, uc(e));}// src/react/components/related-section.tsx-function A2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {+function k2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {let c = (0, F.useCallback)((e) => {e && (uc(e), t(e));}, [t]);@@ -72843,15 +72847,15 @@ function A2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,children: "接着看"}), i ? /* @__PURE__ */ (0, I.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, I.jsx)(ZG, {+ children: /* @__PURE__ */ (0, I.jsx)(YG, {message: i,onRetry: a || (() => {})})}) : r && !n ? /* @__PURE__ */ (0, I.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, I.jsx)(EV, {+ children: /* @__PURE__ */ (0, I.jsx)(TV, {size: "compact",- icon: mV,+ icon: pV,title: "暂无接着看的内容",actions: /* @__PURE__ */ (0, I.jsx)(FL, {size: "small",@@ -72869,7 +72873,7 @@ function A2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,});}// src/react/components/detail-continuation.tsx-function j2({ queue: e, children: t, queueCards: n }) {+function A2({ queue: e, children: t, queueCards: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-detail-continuation": "","data-queue-cards": n == null ? void 0 : Math.min(3, n),@@ -72877,7 +72881,7 @@ function j2({ queue: e, children: t, queueCards: n }) {});}// src/react/components/media-carousel.tsx-function M2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {+function j2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {let a = (0, F.useRef)(null), o = e.some((e) => e.video), s = !!i;if ((0, F.useLayoutEffect)(() => {let e = a.current?.querySelector("[data-media-thumbnails]");@@ -72957,7 +72961,7 @@ function M2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"data-media-thumbnails": "",role: "group","aria-label": "媒体缩略图",- children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(qje, {+ children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(Yje, {item: e,selected: r === t,onSelect: n,@@ -72976,7 +72980,7 @@ function M2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]});}-function qje({ item: e, selected: t, onSelect: n, render: r }) {+function Yje({ item: e, selected: t, onSelect: n, render: r }) {let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(typeof IntersectionObserver > "u");return (0, F.useEffect)(() => {if (!i.current || a) return;@@ -73002,14 +73006,14 @@ function qje({ item: e, selected: t, onSelect: n, render: r }) {});}// src/react/follow-detail/follow-related.ts-var Jje = (e, t, n) => [+var Xje = (e, t, n) => ["follow-feed","related",e,t,n];-function N2(e, t, n, r) {+function M2(e, t, n, r) {let i = new Set((t.group ? ca(t.group) : [t.item]).map((e) => e.id)), a = /* @__PURE__ */ new Set(), o = new Set(t.item.tags || []), s = t.sources.find((e) => e.id === t.item.source_id)?.author_key, c = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e]));return e.flatMap((e) => e.groups || []).filter((e) => {let t = ca(e);@@ -73024,7 +73028,7 @@ function N2(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 Yje(e, t, n, r) {+async function Zje(e, t, n, r) {let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {...ga(i),status: "new",@@ -73038,22 +73042,22 @@ async function Yje(e, t, n, r) {}, t), r);return o.push(n), n;}, c = await s(i, 0);- return N2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && N2(o, e, t, n).length < n && await s("", 0), {+ return M2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && M2(o, e, t, n).length < n && await s("", 0), {pages: o,pageParams: o.map((e) => e.offset || 0)};}// src/react/components/detail-tags.tsx-var P2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var N2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }});-function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {+function P2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {let [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(!1), m = Pt({queryKey: ["tag-management", n],queryFn: ({ signal: e }) => B(`/api/tag-management${n === "online" ? "?scope=online" : ""}`, e),enabled: f && (n === "online" || !t.length)- }), h = m.data?.items?.filter((e) => !e.hidden && !e.blocked && (n === "online" || e.cat !== "meta")) || t, g = AH(), _ = (e) => {+ }), h = m.data?.items?.filter((e) => !e.hidden && !e.blocked && (n === "online" || e.cat !== "meta")) || t, g = kH(), _ = (e) => {g.run("rename", async (t) => {let r = (await H.fetchQuery({queryKey: ["tag-management", n],@@ -73085,9 +73089,9 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe"data-edit-tag": e.k,title: "修改标签名称","aria-label": `修改标签 ${a(e.k)}`,- ...AV(!!g.busy),+ ...kV(!!g.busy),onClick: () => _(e),- children: /* @__PURE__ */ (0, I.jsx)(P2, { name: "pencil" })+ children: /* @__PURE__ */ (0, I.jsx)(N2, { name: "pencil" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -73096,10 +73100,10 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe"aria-label": `删除标签 ${a(e.k)}`,...l(e.k),onClick: () => c(e),- children: /* @__PURE__ */ (0, I.jsx)(P2, { name: "x" })+ children: /* @__PURE__ */ (0, I.jsx)(N2, { name: "x" })})]- }, e.k)), /* @__PURE__ */ (0, I.jsx)(Xje, {+ }, e.k)), /* @__PURE__ */ (0, I.jsx)(Qje, {tags: e,candidates: h,label: a,@@ -73110,11 +73114,11 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labeloading: m.isFetching})]}),- g.error ? /* @__PURE__ */ (0, I.jsx)(TV, {+ g.error ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",children: g.error}) : null,- m.isError ? /* @__PURE__ */ (0, I.jsx)(TV, {+ m.isError ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -73123,7 +73127,7 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe}),children: "无法读取标签候选"}) : null,- u ? /* @__PURE__ */ (0, I.jsx)(h$, {+ u ? /* @__PURE__ */ (0, I.jsx)(p$, {operation: "rename",selected: [u],scope: n,@@ -73132,8 +73136,8 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe}) : null] });}-function Xje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {- let c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = tH(), d = (0, F.useRef)(null), f = (0, F.useRef)(!1), [p, m] = (0, F.useState)(!1), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), [y, b] = (0, F.useState)(-1), x = (0, F.useRef)({+function Qje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {+ let c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = eH(), d = (0, F.useRef)(null), f = (0, F.useRef)(!1), [p, m] = (0, F.useState)(!1), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), [y, b] = (0, F.useState)(-1), x = (0, F.useRef)({adding: i,query: h,tags: e,@@ -73221,7 +73225,7 @@ function Xje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,"aria-pressed": i,onClick: () => E(t, i),children: [- /* @__PURE__ */ (0, I.jsx)(P2, { name: i ? "check" : "tags" }),+ /* @__PURE__ */ (0, I.jsx)(N2, { name: i ? "check" : "tags" }),/* @__PURE__ */ (0, I.jsx)("span", {"data-pick-name": "",children: n(t.k)@@ -73241,8 +73245,8 @@ function Xje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,title: "添加标签","aria-label": "添加标签","aria-expanded": p,- ...AV(!!i),- children: /* @__PURE__ */ (0, I.jsx)(P2, { name: "plus" })+ ...kV(!!i),+ children: /* @__PURE__ */ (0, I.jsx)(N2, { name: "plus" })}), /* @__PURE__ */ (0, I.jsxs)("div", {ref: l,id: "tagPicker",@@ -73255,7 +73259,7 @@ function Xje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,children: [s ? /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: zs("正在读取标签") }- }) : /* @__PURE__ */ (0, I.jsx)(P2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {+ }) : /* @__PURE__ */ (0, I.jsx)(N2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {ref: d,id: "tagPickSearch",maxLength: 80,@@ -73299,7 +73303,7 @@ function Xje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,onClick: () => {C(), r(w.create);},- children: [/* @__PURE__ */ (0, I.jsx)(P2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(N2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {"data-pick-name": "",children: ["新建“",@@ -73316,8 +73320,8 @@ function Xje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,})] });}// src/react/follow-detail/follow-tags.tsx-function Zje({ item: e, label: t, actions: n }) {- let r = AH(), i = () => H.invalidateQueries({ predicate: (e) => [+function $je({ item: e, label: t, actions: n }) {+ let r = kH(), i = () => H.invalidateQueries({ predicate: (e) => ["follow-feed","follow","tag-management"@@ -73356,10 +73360,10 @@ function Zje({ item: e, label: t, actions: n }) {"aria-label": "内容标签","data-follow-tag-editor": "","data-follow-detail-tags": "",- children: [/* @__PURE__ */ (0, I.jsx)(F2, {- tags: Nje(e, t).map((t) => ({+ children: [/* @__PURE__ */ (0, I.jsx)(P2, {+ tags: Fje(e, t).map((t) => ({k: t,- cat: Mje(e, t)+ cat: Pje(e, t)})),scope: "online",adding: !!r.busy,@@ -73368,30 +73372,30 @@ function Zje({ item: e, label: t, actions: n }) {onOpen: n.openTag,onAdd: (e) => o("add", e),onRemove: (e) => o("remove", e.k),- busyAttrs: () => AV(!!r.busy)- }), r.error ? /* @__PURE__ */ (0, I.jsx)(TV, {+ busyAttrs: () => kV(!!r.busy)+ }), r.error ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",children: r.error}) : null]});}// src/react/follow-detail/follow-detail-page.tsx-var I2 = (e) => Number(e) > 0, Qje = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var F2 = (e) => Number(e) > 0, eMe = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), L2 = R("external-link", "ui-externalmark");-function $je(e) {+}), I2 = R("external-link", "ui-externalmark");+function tMe(e) {let { id: t, actions: n } = e, r = Pt({- queryKey: n2(t),- queryFn: ({ signal: e }) => i2(t, e)+ queryKey: t2(t),+ queryFn: ({ signal: e }) => r2(t, e)}), i = Pt({queryKey: ra,queryFn: ({ signal: e }) => ia(e)}), a = (0, F.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, F.useState)(e.mediaIndex);- return r.data ? /* @__PURE__ */ (0, I.jsx)(nMe, {+ return r.data ? /* @__PURE__ */ (0, I.jsx)(iMe, {...e,data: r.data,- context: Pje(r.data, a),+ context: Ije(r.data, a),mediaIndex: o,onMedia: s}) : /* @__PURE__ */ (0, I.jsx)("div", {@@ -73400,9 +73404,9 @@ function $je(e) {children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, I.jsx)(R2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {+ children: [/* @__PURE__ */ (0, I.jsx)(L2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? eMe(r.error) ? /* @__PURE__ */ (0, I.jsx)(tMe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(ZG, {+ children: r.isError ? nMe(r.error) ? /* @__PURE__ */ (0, I.jsx)(rMe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(YG, {message: bn(r.error),onRetry: () => void r.refetch()}) : null@@ -73410,8 +73414,8 @@ function $je(e) {})});}-var eMe = (e) => e instanceof r2 || e instanceof or && e.status === 404;-function tMe({ onBack: e }) {+var nMe = (e) => e instanceof n2 || e instanceof or && e.status === 404;+function rMe({ onBack: e }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-detail-gone": "",onClick: (t) => {@@ -73420,7 +73424,7 @@ function tMe({ onBack: e }) {dangerouslySetInnerHTML: { __html: Rs("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }});}-var R2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {+var L2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -73429,8 +73433,8 @@ var R2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function nMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {- let { item: c, group: l } = e, u = wje(c, l, n, i), d = cMe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({+function iMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {+ let { item: c, group: l } = e, u = Eje(c, l, n, i), d = uMe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({key: "",kind: ""}), h = {@@ -73450,20 +73454,20 @@ function nMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? Tje(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(H2, {+ let g = !u.embedded.length && u.collection ? Dje(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(V2, {item: c,current: u.selected.index,helpers: o,actions: s,onMedia: r- }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(H2, {+ }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(V2, {item: g,current: null,helpers: o,actions: s,onMedia: r,currentId: c.id- }) : /* @__PURE__ */ (0, I.jsx)(aMe, {+ }) : /* @__PURE__ */ (0, I.jsx)(sMe, {group: u.collection,itemId: c.id,helpers: o,@@ -73473,14 +73477,14 @@ function nMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel"data-stage-grid": "","data-with-queue": _ ? "" : void 0,"data-follow-detail": "",- children: [/* @__PURE__ */ (0, I.jsx)(iMe, {+ children: [/* @__PURE__ */ (0, I.jsx)(oMe, {item: c,media: u,helpers: o,actions: s,onMedia: r,issues: h- }, f), /* @__PURE__ */ (0, I.jsx)(oMe, {+ }, f), /* @__PURE__ */ (0, I.jsx)(cMe, {item: c,data: e,context: t,@@ -73490,9 +73494,9 @@ function nMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relhelpers: o,actions: s})]- }), /* @__PURE__ */ (0, I.jsx)(j2, {+ }), /* @__PURE__ */ (0, I.jsx)(A2, {queue: _,- children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(rMe, {+ children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(aMe, {data: e,media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,limit: a,@@ -73502,23 +73506,23 @@ function nMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel}) : null})] });}-function rMe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {+function aMe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {let o = Pt({- queryKey: Jje(e.item.id, t, n),- queryFn: ({ signal: r }) => Yje(e, t, n, r)- }), [s] = (0, F.useState)(() => E2("正在读取推荐", {+ queryKey: Xje(e.item.id, t, n),+ queryFn: ({ signal: r }) => Zje(e, t, n, r)+ }), [s] = (0, F.useState)(() => T2("正在读取推荐", {cards: !0,className: "related-skeleton"})), c = (0, F.useMemo)(() => ({openDetail: a.openItem,openAuthor: a.openAuthor,canFlip: () => !1- }), [a]), l = N2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {+ }), [a]), l = M2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {...r,sources: u,aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases};- return /* @__PURE__ */ (0, I.jsx)(A2, {+ return /* @__PURE__ */ (0, I.jsx)(k2, {online: !0,"data-follow-related": "",wireDrag: i.wireDrag,@@ -73528,11 +73532,11 @@ function rMe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }onRetry: () => {o.refetch();},- children: o.data ? l.map((e) => /* @__PURE__ */ (0, I.jsx)(ZZ, {+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, I.jsx)(YZ, {variant: "next",group: e,media: t,- authorSources: l2(e.primary, u),+ authorSources: c2(e.primary, u),context: d,selected: !1,selectMode: !1,@@ -73545,8 +73549,8 @@ function rMe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }})});}-function iMe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, F.useRef)(null), p = Fje(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, F.useState)(g), b = (0, F.useRef)({+function oMe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, F.useRef)(null), p = Lje(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, F.useState)(g), b = (0, F.useRef)({item: e,selected: o}), x = (0, F.useRef)(i.failed);@@ -73560,14 +73564,14 @@ function iMe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-framed": d ? "" : void 0,style: { "--follow-frame-ratio": d ? d.toFixed(4) : void 0 },children: [- /* @__PURE__ */ (0, I.jsx)(R2, { onClose: n.close }),+ /* @__PURE__ */ (0, I.jsx)(L2, { onClose: n.close }),h ? null : g ? /* @__PURE__ */ (0, I.jsx)("img", {"data-follow-detail-poster": "","data-zoomable": p.length ? "" : void 0,src: v,alt: e.title,referrerPolicy: "no-referrer",- onClick: p.length ? () => void BZ(Math.max(0, l), p) : void 0,+ onClick: p.length ? () => void RZ(Math.max(0, l), p) : void 0,onError: () => {_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();}@@ -73575,10 +73579,10 @@ function iMe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-follow-detail-placeholder": "",children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: EG(e.resource_provider || e.provider) }+ dangerouslySetInnerHTML: { __html: wG(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, I.jsx)("span", { children: "没有可用预览" })]}),- u ? /* @__PURE__ */ (0, I.jsx)(M2, {+ u ? /* @__PURE__ */ (0, I.jsx)(j2, {items: c,position: l,onSelect: r,@@ -73595,11 +73599,11 @@ function iMe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var z2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var R2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }});-function B2({ src: e }) {+function z2({ src: e }) {let [t, n] = (0, F.useState)(!1);return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {src: e,@@ -73609,27 +73613,27 @@ function B2({ src: e }) {onError: () => n(!0)});}-function V2(e) {+function B2(e) {return (0, F.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}-function aMe({ group: e, itemId: t, helpers: n, actions: r }) {- let i = _a(e), a = V2(n);- return /* @__PURE__ */ (0, I.jsx)(GK, {+function sMe({ group: e, itemId: t, helpers: n, actions: r }) {+ let i = _a(e), a = B2(n);+ return /* @__PURE__ */ (0, I.jsx)(UK, {kind: "collection","data-follow-queue": "",title: "视频合集",onClose: r.close,listRef: a,- summary: `${OG(e.primary)} · ${i.length} 个视频`,+ summary: `${EG(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = kje(e, n, i ? n.provider_label : ""), o = i ? EG(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, I.jsxs)(KK, {+ let i = e.duplicates.includes(n), a = jje(e, n, i ? n.provider_label : ""), o = i ? wG(n.provider, n.provider_label) : "";+ return /* @__PURE__ */ (0, I.jsxs)(WK, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(B2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(z2, { kind: "video" }), I2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(z2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(R2, { kind: "video" }), F2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {className: "mono","data-mix-item-duration": "",children: qn(n.duration)@@ -73647,15 +73651,15 @@ function aMe({ group: e, itemId: t, helpers: n, actions: r }) {children: a.label}), /* @__PURE__ */ (0, I.jsx)("time", {dateTime: n.published_at || "",- children: LG(n)+ children: FG(n)})]})]}, n.id);})});}-function H2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = V2(r), c = [];+function V2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {+ let o = e.media_items || [], s = B2(r), c = [];o.forEach((e) => {let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);n || (n = {@@ -73665,26 +73669,26 @@ function H2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, c.push(n)), n.items.push(e);});let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);- return /* @__PURE__ */ (0, I.jsx)(GK, {+ return /* @__PURE__ */ (0, I.jsx)(UK, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,- summary: `${OG(e)} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(Obe, {+ summary: `${EG(e)} · ${o.length} 个媒体`,+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(Abe, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(KK, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(WK, {current: n.index === t,"data-follow-media-owner": e.id,"data-follow-media-item": n.index,"data-media-kind": n.media_kind || "",onClick: () => l(n),- pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(B2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(z2, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(z2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(R2, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, I.jsx)("b", {"data-middle-truncate": "",- children: Aje(n)+ children: Mje(n)}), /* @__PURE__ */ (0, I.jsx)("span", {"data-truncate-end": "",children: n.media_kind === "image" ? "图片" : "视频"@@ -73692,13 +73696,13 @@ function H2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, n.index))])});}-function oMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {+function cMe({ 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 = PG(d, e), p = MG(e, l2(e, t.sources), n), m = p.credited ? "" : e.author && Hn(e.author) !== Hn(p.author) ? e.author : "", h = FG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {+ }, f = MG(d, e), p = AG(e, c2(e, t.sources), n), m = p.credited ? "" : e.author && Hn(e.author) !== Hn(p.author) ? e.author : "", h = NG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -73714,7 +73718,7 @@ function oMe({ 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: NG(d, e) + z(OG(e)) }+ dangerouslySetInnerHTML: { __html: jG(d, e) + z(EG(e)) }}), e.url ? /* @__PURE__ */ (0, I.jsx)("a", {"data-follow-origin": "",href: e.url,@@ -73722,7 +73726,7 @@ function oMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: L2 }+ dangerouslySetInnerHTML: { __html: I2 }}) : null]}),/* @__PURE__ */ (0, I.jsxs)("div", {@@ -73730,8 +73734,8 @@ function oMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-meta": "","data-reveal-line": "",children: [- /* @__PURE__ */ (0, I.jsx)("span", { children: LG(e) }),- I2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: qn(e.duration) }) : null,+ /* @__PURE__ */ (0, I.jsx)("span", { children: FG(e) }),+ F2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: qn(e.duration) }) : null,f ? /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }@@ -73748,7 +73752,7 @@ function oMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: "创作者"}), /* @__PURE__ */ (0, I.jsx)("div", {"data-id-row": "",- children: p.entityName ? /* @__PURE__ */ (0, I.jsxs)(YZ, {+ children: p.entityName ? /* @__PURE__ */ (0, I.jsxs)(qZ, {name: p.entityName,actions: s,"data-id-cell": "creator",@@ -73780,7 +73784,7 @@ function oMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: [m ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]}) : null]}),- e.summary ? /* @__PURE__ */ (0, I.jsx)(sMe, { text: e.summary }, e.id) : null,+ e.summary ? /* @__PURE__ */ (0, I.jsx)(lMe, { text: e.summary }, e.id) : null,h ? /* @__PURE__ */ (0, I.jsx)("p", {"data-follow-media-issue": "",children: h@@ -73803,9 +73807,9 @@ function oMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpehref: e,target: "_blank",rel: "noreferrer noopener",- children: [Oje(e), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [Aje(e), /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: L2 }+ dangerouslySetInnerHTML: { __html: I2 }})]}, e))}) : null,@@ -73905,7 +73909,7 @@ function oMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-label": `恢复显示 ${e.name || ""}`,...v(`restore:${e.index}`),onClick: () => i.restore(e.index),- children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(B2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(Qje, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(z2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(eMe, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]}, e.index))})]}) : null,@@ -73914,7 +73918,7 @@ function oMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-live": "polite",children: i.failure}),- /* @__PURE__ */ (0, I.jsx)(Zje, {+ /* @__PURE__ */ (0, I.jsx)($je, {item: e,label: o.tagLabel,actions: s@@ -73923,7 +73927,7 @@ function oMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe})});}-function sMe({ text: e }) {+function lMe({ text: e }) {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);return (0, F.useLayoutEffect)(() => {let e = t.current;@@ -73948,8 +73952,8 @@ function sMe({ text: e }) {children: n ? "收起" : "展开"}) : null] });}-function cMe(e, t, n) {- let r = e.id, i = n2(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {+function uMe(e, t, n) {+ let r = e.id, i = t2(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), u = (e) => {@@ -73968,7 +73972,7 @@ function cMe(e, t, n) {to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && OW(), t.toast(Ije(n), { undo: i === "saved" ? void 0 : async () => {+ u(n), c(""), n === "ignored" && EW(), t.toast(Rje(n), { undo: i === "saved" ? void 0 : async () => {await V(jr, {item: r,to: i@@ -73978,7 +73982,7 @@ function cMe(e, t, n) {onError: d,onSettled: (e, t, { to: n }) => l(n, !1)}), p = Ft({- mutationFn: () => V(xje, { item: r }),+ mutationFn: () => V(Cje, { item: r }),onSuccess: () => {u("saved"), c(""), t.toast("已保存到数据库");},@@ -73986,7 +73990,7 @@ function cMe(e, t, n) {onSettled: () => l("save", !1)}), m = Ft({mutationFn: async ({ index: e, hidden: t }) => {- await V(Sje, {+ await V(wje, {item: r,media: e,hidden: t@@ -74002,12 +74006,12 @@ function cMe(e, t, n) {onError: d,onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)}), h = Pt({- queryKey: Jve(r),- queryFn: ({ signal: e }) => wW(r, e)+ queryKey: Yve(r),+ queryFn: ({ signal: e }) => SW(r, e)}).data?.want ?? null, g = Ft({- mutationFn: async (e) => (e ? await EW([e.id]) : await TW({ follow: r }), !e),+ mutationFn: async (e) => (e ? await wW([e.id]) : await CW({ follow: r }), !e),onSuccess: (e) => {- c(""), t.toast(e ? "已加入想要" : "已取消想要"), OW();+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), EW();},onError: d,onSettled: () => l("want", !1)@@ -74046,7 +74050,7 @@ function cMe(e, t, n) {};}// src/react/components/identity-cell.tsx-function U2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {+function H2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {bL();let o = tn(e, t.name, t.id), s = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, I.jsx)("span", {"data-id-face": "",@@ -74093,7 +74097,7 @@ function U2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })children: c});}-function W2({ people: e, onOpen: t }) {+function U2({ people: e, onOpen: t }) {if (!e.length) return null;let n = (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "contents",@@ -74126,7 +74130,7 @@ function W2({ people: e, onOpen: t }) {});}// src/react/components/folded-title.ts-function G2(e) {+function W2(e) {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);return (0, F.useLayoutEffect)(() => {let e = t.current;@@ -74143,9 +74147,9 @@ function G2(e) {};}// src/react/item-detail/catalog-picture.tsx-function K2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {+function G2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {let [i, a] = (0, F.useState)(""), [o, s] = (0, F.useState)(0);- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(AQ, {+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(OQ, {item: {code: e.code,has_cover: !1,@@ -74159,7 +74163,7 @@ function K2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {src: c,alt: "",onError: () => a(c)- }) : i === c ? /* @__PURE__ */ (0, I.jsx)(TV, {+ }) : i === c ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "neutral",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -74177,34 +74181,34 @@ function K2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {}, o);}// src/react/jav-detail/jav-detail.ts-var q2 = (e) => ["jav-detail", e], J2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), lMe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), Y2 = (e, t) => H.ensureQueryData({- queryKey: q2(e.code),- queryFn: () => J2(e.code, t),+var K2 = (e) => ["jav-detail", e], q2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), dMe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), J2 = (e, t) => H.ensureQueryData({+ queryKey: K2(e.code),+ queryFn: () => q2(e.code, t),staleTime: 216e5,revalidateIfStale: !0});-function uMe(e, t) {+function fMe(e, t) {if (!e.ok || !e.more) return;let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;}// src/react/item-detail/external-playback.tsx-var X2 = "peach.playback-target.v1", Z2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];-function dMe() {+var Y2 = "peach.playback-target.v1", X2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];+function pMe() {try {- return localStorage.getItem(X2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;+ return localStorage.getItem(Y2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;} catch {return "local:default";}}-function Q2({ id: e, onOpened: t }) {- let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(dMe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = AH();+function Z2({ id: e, onOpened: t }) {+ let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(pMe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = kH();(0, F.useEffect)(() => {let e = new AbortController();return B("/api/local-players", e.signal).then((t) => {- e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || Z2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));+ e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || X2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));}).catch((t) => {- e.signal.aborted || (r([]), a((e) => Z2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));+ e.signal.aborted || (r([]), a((e) => X2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));}), () => e.abort();}, [u]);let p = () => void f.run("open", async (t) => {@@ -74228,29 +74232,29 @@ function Q2({ id: e, onOpened: t }) {children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-local-playback-row": "",- children: [/* @__PURE__ */ (0, I.jsx)(m1, {+ children: [/* @__PURE__ */ (0, I.jsx)(p1, {id: `external-player-${e}`,label: "外部播放器",- options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...Z2],+ options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...X2],value: i,disabled: n === null || !!f.busy,epoch: u * 2 + Number(n !== null),onPick: (e) => {a(e), s(null), f.setError("");try {- localStorage.setItem(X2, e);+ localStorage.setItem(Y2, e);} catch {}}}), /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary","aria-label": "使用外部播放器打开",disabled: n === null,- ...AV(f.busy === "open"),+ ...kV(f.busy === "open"),onClick: p,children: "打开"})]}),- f.error || c ? /* @__PURE__ */ (0, I.jsx)(_U, { children: f.error || c }) : null,+ f.error || c ? /* @__PURE__ */ (0, I.jsx)(gU, { children: f.error || c }) : null,c ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",disabled: !!f.busy,@@ -74259,16 +74263,16 @@ function Q2({ id: e, onOpened: t }) {},children: "重新检测播放器"}) : null,- o ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(SV, {+ o ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(xV, {label: "网络播放地址",value: o.url,isReadOnly: !0- }), /* @__PURE__ */ (0, I.jsx)(gU, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null+ }), /* @__PURE__ */ (0, I.jsx)(hU, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null]});}// src/react/boardui/components/base/switch/switch.tsx-var fMe = XI({+var mMe = XI({sm: {track: "h-4 w-7",trackRadius: {@@ -74330,8 +74334,8 @@ var fMe = XI({}}});-function pMe({ state: e, size: t = "md", shape: n = "pill" }) {- let r = fMe[t];+function hMe({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = mMe[t];return /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,className: q("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? q("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),@@ -74341,12 +74345,12 @@ function pMe({ state: e, size: t = "md", shape: n = "pill" }) {})});}-function $2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+function Q2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {return /* @__PURE__ */ (0, I.jsx)(xme, {ref: i,...a,className: (t) => q("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(pMe, {+ children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(hMe, {state: e,size: n,shape: r@@ -74357,12 +74361,12 @@ function $2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:});}// src/react/cover-crop/cover-crop.ts-var mMe = "/api/cover-crop", hMe = (e, t) => V(mMe, {+var gMe = "/api/cover-crop", _Me = (e, t) => V(gMe, {code: e,box: t});// src/react/cover-crop/cover-crop-page.tsx-function e4({ className: e }) {+function $2({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -74375,7 +74379,7 @@ function e4({ className: e }) {children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-crop" })});}-function gMe({ code: e, coverUrl: t, box: n, onSaved: r }) {+function vMe({ code: e, coverUrl: t, box: n, onSaved: r }) {let [i, a] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -74385,13 +74389,13 @@ function gMe({ code: e, coverUrl: t, box: n, onSaved: r }) {title: "裁剪封面:框出正封那一块",onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, I.jsx)(e4, { className: "size-3.75" })- }), /* @__PURE__ */ (0, I.jsx)(CV, {+ children: /* @__PURE__ */ (0, I.jsx)($2, { className: "size-3.75" })+ }), /* @__PURE__ */ (0, I.jsx)(SV, {isOpen: i,onOpenChange: a,width: "cover-crop",label: "裁剪封面",- children: /* @__PURE__ */ (0, I.jsx)(_Me, {+ children: /* @__PURE__ */ (0, I.jsx)(yMe, {code: e,coverUrl: t,box: n,@@ -74400,9 +74404,9 @@ function gMe({ code: e, coverUrl: t, box: n, onSaved: r }) {})})] });}-function _Me({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(null), [l, u] = (0, F.useState)(!0), d = tH(), f = Ft({- mutationFn: (t) => hMe(e, t),+function yMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+ let [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(null), [l, u] = (0, F.useState)(!0), d = eH(), f = Ft({+ mutationFn: (t) => _Me(e, t),onSuccess: (e) => {i(), r(e.poster_box);}@@ -74414,15 +74418,15 @@ function _Me({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : QEe(e, to);- c(pQ(t, e, null));+ } : eDe(e, to);+ c(dQ(t, e, null));}let m = f.isPending;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, I.jsx)(wV, { children: /* @__PURE__ */ (0, I.jsx)(e4, { className: "size-6" }) }),+ /* @__PURE__ */ (0, I.jsx)(CV, { children: /* @__PURE__ */ (0, I.jsx)($2, { className: "size-6" }) }),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [@@ -74435,14 +74439,14 @@ function _Me({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "text-body-2-regular text-text-secondary",children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]}),- f.error ? /* @__PURE__ */ (0, I.jsx)(TV, {+ f.error ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",children: cr(f.error)}) : null]}),/* @__PURE__ */ (0, I.jsx)(CL, {- icon: VB,+ icon: BB,size: "small","aria-label": "关闭",onClick: i@@ -74452,24 +74456,24 @@ function _Me({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, I.jsx)("div", {ref: d,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: /* @__PURE__ */ (0, I.jsx)(vQ, {+ children: /* @__PURE__ */ (0, I.jsx)(gQ, {src: t,aspect: l ? to : null,box: s,size: a,label: `${e} 的正封取景框`,onSize: (e) => {- dQ(e) && p(e);+ lQ(e) && p(e);},onBox: c})}),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, I.jsx)($2, {+ children: [/* @__PURE__ */ (0, I.jsx)(Q2, {isSelected: l,onChange: (e) => {- u(e), e && s && a && c(pQ(s, a, to));+ u(e), e && s && a && c(dQ(s, a, to));},children: /* @__PURE__ */ (0, I.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -74479,14 +74483,14 @@ function _Me({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "flex flex-1 flex-wrap items-center justify-end gap-3",children: [/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...AV(m),+ ...kV(m),onClick: () => {m || f.mutate(null);},children: "恢复默认"}), /* @__PURE__ */ (0, I.jsx)(J, {disabled: !s || !a,- ...AV(m),+ ...kV(m),onClick: () => {s && !m && f.mutate(s);},@@ -74497,14 +74501,14 @@ function _Me({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {] });}// src/react/item-detail/item-detail-page.tsx-var t4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var e4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), n4 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+}), t4 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }-}), r4 = (e) => Number(e) > 0 ? Yn(Number(e)) : "大小未知";-function vMe(e) {+}), n4 = (e) => Number(e) > 0 ? Yn(Number(e)) : "大小未知";+function bMe(e) {let { queue: t, actions: n } = e, r = Pt({queryKey: t ? kP(t) : ["item-queue", "none"],queryFn: ({ signal: n }) => RP(t, e.helpers, n),@@ -74522,9 +74526,9 @@ function vMe(e) {children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, I.jsx)(i4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {+ children: [/* @__PURE__ */ (0, I.jsx)(r4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, I.jsx)(ZG, {+ children: e ? /* @__PURE__ */ (0, I.jsx)(YG, {message: bn(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();@@ -74534,13 +74538,13 @@ function vMe(e) {})});}- return /* @__PURE__ */ (0, I.jsx)(yMe, {+ return /* @__PURE__ */ (0, I.jsx)(xMe, {...e,item: kue(o.data, i),queue: i}, o.data.id);}-var i4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {+var r4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -74549,8 +74553,8 @@ var i4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function yMe(e) {- let { item: t, queue: n, actions: r, helpers: i } = e, a = PMe(t, r, i.tagLabel), o = (0, F.useRef)(t);+function xMe(e) {+ let { item: t, queue: n, actions: r, helpers: i } = e, a = IMe(t, r, i.tagLabel), o = (0, F.useRef)(t);(0, F.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, F.useEffect)(() => {@@ -74565,7 +74569,7 @@ function yMe(e) {"data-stage-grid": "","data-with-queue": n ? "" : void 0,"data-item-detail": "",- children: [/* @__PURE__ */ (0, I.jsx)(bMe, {+ children: [/* @__PURE__ */ (0, I.jsx)(SMe, {item: t,gate: s,helpers: i,@@ -74578,22 +74582,22 @@ function yMe(e) {autoplay: !0}, c.id);}- }), /* @__PURE__ */ (0, I.jsx)(TMe, {+ }), /* @__PURE__ */ (0, I.jsx)(DMe, {item: t,queue: n,write: a,helpers: i,actions: r})]- }), /* @__PURE__ */ (0, I.jsx)(j2, {+ }), /* @__PURE__ */ (0, I.jsx)(A2, {queueCards: n?.kind === "parts" || n?.kind === "editions" ? n.items.length : void 0,- queue: n ? /* @__PURE__ */ (0, I.jsx)(SMe, {+ queue: n ? /* @__PURE__ */ (0, I.jsx)(wMe, {queue: n,itemId: t.id,helpers: i,actions: r}) : null,- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)(NMe, {+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)(FMe, {...e,item: n ? {...t,@@ -74602,12 +74606,12 @@ function yMe(e) {}) : null})] });}-function bMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {+function SMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {let [o, s] = (0, F.useState)(t ? "" : "auto"), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(-2), d = (0, F.useRef)(!1), f = Pt({- queryKey: q2(e.code || ""),+ queryKey: K2(e.code || ""),queryFn: ({ signal: t }) => {let n = d.current;- return d.current = !1, J2(e.code, t, n);+ return d.current = !1, q2(e.code, t, n);},staleTime: 216e5,enabled: !!e.is_jav && !!e.code && !e.sample_images?.length@@ -74652,7 +74656,7 @@ function bMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a"data-item-gallery": h ? "" : void 0,"data-item-picture": l === -2 ? void 0 : "",children: [- /* @__PURE__ */ (0, I.jsx)(i4, { onClose: r.close }),+ /* @__PURE__ */ (0, I.jsx)(r4, { onClose: r.close }),/* @__PURE__ */ (0, I.jsxs)("div", {"data-player-toolbar": "",children: [@@ -74662,21 +74666,21 @@ function bMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a"data-jav-preview-toggle": "","aria-pressed": l !== -2,onClick: () => g(l === -2 ? m[0].index : -2),- children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]+ children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]}) : null,/* @__PURE__ */ (0, I.jsx)("span", { "data-player-net-slot": "" })]}),- h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(K2, {+ h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(G2, {item: e,image: l,source: p.find((e) => e.index === l)?.source- }, e.id), /* @__PURE__ */ (0, I.jsx)(M2, {+ }, e.id), /* @__PURE__ */ (0, I.jsx)(j2, {items: m,position: Math.max(0, m.findIndex((e) => e.index === l)),onSelect: g,below: !0,- renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(K2, {+ renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(G2, {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,@@ -74692,7 +74696,7 @@ function bMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aclassName: "relative block h-12 w-20 skeleton-sheen"}) : /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...AV(f.isFetching),+ ...kV(f.isFetching),title: f.data?.message || bn(f.error),"aria-label": "立即重试样图",onClick: () => {@@ -74701,7 +74705,7 @@ function bMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: "立即重试"})}) : null,- t === "offline" ? /* @__PURE__ */ (0, I.jsx)(xMe, {+ t === "offline" ? /* @__PURE__ */ (0, I.jsx)(CMe, {item: e,badge: y,helpers: n,@@ -74712,7 +74716,7 @@ function bMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: [/* @__PURE__ */ (0, I.jsx)("b", { children: "ISO 原盘" }),/* @__PURE__ */ (0, I.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),- /* @__PURE__ */ (0, I.jsx)(Q2, {+ /* @__PURE__ */ (0, I.jsx)(Z2, {id: e.id,onOpened: () => r.toast("已请求打开本地播放器")}, e.id)@@ -74722,7 +74726,7 @@ function bMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: arole: "status","data-item-gate": "online",children: [- /* @__PURE__ */ (0, I.jsx)(n4, { html: y }),+ /* @__PURE__ */ (0, I.jsx)(t4, { html: y }),/* @__PURE__ */ (0, I.jsx)("b", { children: "在线作品" }),/* @__PURE__ */ (0, I.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),/* @__PURE__ */ (0, I.jsx)("button", {@@ -74737,12 +74741,12 @@ function bMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aid: "gate","data-item-gate": "metered",onClick: () => s("clicked"),- children: [/* @__PURE__ */ (0, I.jsx)(n4, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", r4(e.size)] })]+ children: [/* @__PURE__ */ (0, I.jsx)(t4, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", n4(e.size)] })]}) : null]});}-function xMe({ item: e, badge: t, helpers: n, actions: r }) {+function CMe({ item: e, badge: t, helpers: n, actions: r }) {let [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = async () => {a(!0);let t = await r.checkSource(e.location || "").catch(() => !1);@@ -74753,7 +74757,7 @@ function xMe({ item: e, badge: t, helpers: n, actions: r }) {role: "status","data-item-gate": "offline",children: [- /* @__PURE__ */ (0, I.jsx)(n4, { html: t }),+ /* @__PURE__ */ (0, I.jsx)(t4, { html: t }),/* @__PURE__ */ (0, I.jsx)("b", { children: "媒体目录无法访问" }),/* @__PURE__ */ (0, I.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),/* @__PURE__ */ (0, I.jsx)("button", {@@ -74767,8 +74771,8 @@ function xMe({ item: e, badge: t, helpers: n, actions: r }) {]});}-function SMe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = Fue(e), a = (0, F.useRef)(null), o = wMe(e, t, r), s = (0, F.useRef)(o);+function wMe({ queue: e, itemId: t, helpers: n, actions: r }) {+ let i = Fue(e), a = (0, F.useRef)(null), o = EMe(e, t, r), s = (0, F.useRef)(o);s.current = o;let c = (0, F.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -74776,7 +74780,7 @@ function SMe({ queue: e, itemId: t, helpers: n, actions: r }) {attribute: "data-queue-row",onMove: (e, t, n) => s.current.move(+e, +t, n)}));- }, [n, e.kind]), l = CMe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {+ }, [n, e.kind]), l = TMe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-save-mix": "",title: "保存为播放列表",@@ -74795,7 +74799,7 @@ function SMe({ queue: e, itemId: t, helpers: n, actions: r }) {seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, I.jsx)(GK, {+ return /* @__PURE__ */ (0, I.jsx)(UK, {kind: e.kind,title: i.title,summary: i.summary,@@ -74808,7 +74812,7 @@ function SMe({ queue: e, itemId: t, helpers: n, actions: r }) {"data-queue-edition": "",children: i.edition_label}) : null, s = e.kind === "playlist" && BP(i);- return /* @__PURE__ */ (0, I.jsxs)(KK, {+ return /* @__PURE__ */ (0, I.jsxs)(WK, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -74818,25 +74822,25 @@ function SMe({ queue: e, itemId: t, helpers: n, actions: r }) {onClick: () => {s || r.openQueueItem(d, i.id);},- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(n4, { html: Do(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(t4, { html: Do(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {className: "mono","data-mix-item-duration": "",children: qn(i.duration)})] }),- lead: /* @__PURE__ */ (0, I.jsx)(n4, { html: Ao(i) }),+ lead: /* @__PURE__ */ (0, I.jsx)(t4, { html: Ao(i) }),after: e.kind === "playlist" ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-queue-edit": "",children: [/* @__PURE__ */ (0, I.jsx)("i", {"data-queue-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "grip-vertical" })}), /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-queue-remove": i.id,title: "移出播放列表","aria-label": "移出播放列表",onClick: () => o.remove(i.id),- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "x" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "x" })})]}) : null,children: [/* @__PURE__ */ (0, I.jsxs)("span", {@@ -74853,7 +74857,7 @@ function SMe({ queue: e, itemId: t, helpers: n, actions: r }) {})});}-function CMe(e, t) {+function TMe(e, t) {let n = Ft({ mutationFn: (t) => V(AP, {action: "create",name: t,@@ -74867,7 +74871,7 @@ function CMe(e, t) {save: (e) => n.mutateAsync(e)});}-function wMe(e, t, n) {+function EMe(e, t, n) {let r = kP({kind: "playlist",playlistId: e.playlistId@@ -74930,7 +74934,7 @@ function wMe(e, t, n) {}};}-function TMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {+function DMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("div", {"data-stage-side": "",@@ -74938,7 +74942,7 @@ function TMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-side-content": "",children: [- /* @__PURE__ */ (0, I.jsx)(EMe, {+ /* @__PURE__ */ (0, I.jsx)(OMe, {item: e,queue: t,helpers: r,@@ -74950,7 +74954,7 @@ function TMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-live": "polite",children: n.sourceState}),- /* @__PURE__ */ (0, I.jsx)(OMe, {+ /* @__PURE__ */ (0, I.jsx)(AMe, {item: e,write: n}),@@ -74961,7 +74965,7 @@ function TMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: [e.width && e.height ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [+ children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.width,"×",e.height@@ -74969,11 +74973,11 @@ function TMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null,/* @__PURE__ */ (0, I.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: r4(e.size) })]+ children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: n4(e.size) })]}),e.release_date ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]+ children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]}) : null,e.region_label ? /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",@@ -74981,32 +74985,32 @@ function TMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"data-open-region": e.region || "",title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",onClick: () => i.openRegion(e.region || ""),- children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]+ children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]}) : null]}),- (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(Q2, {+ (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(Z2, {id: e.id,onOpened: () => i.toast("已请求打开本地播放器")}, e.id) : null,- /* @__PURE__ */ (0, I.jsx)(kMe, {+ /* @__PURE__ */ (0, I.jsx)(jMe, {item: e,helpers: r,actions: i}),- /* @__PURE__ */ (0, I.jsx)(AMe, {+ /* @__PURE__ */ (0, I.jsx)(MMe, {item: e,write: n,helpers: r,actions: i}),- /* @__PURE__ */ (0, I.jsx)(rq, {- assetIds: nq([e], r.javImage()),+ /* @__PURE__ */ (0, I.jsx)(tq, {+ assetIds: eq([e], r.javImage()),onComplete: () => {H.invalidateQueries({ queryKey: OP(e.id) });}}),- /* @__PURE__ */ (0, I.jsx)(jMe, { item: e }),+ /* @__PURE__ */ (0, I.jsx)(NMe, { item: e }),/* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-actions": "","data-item-feedback": "",@@ -75020,7 +75024,7 @@ function TMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.liked,...o("like"),onClick: () => n.preference({ liked: !e.liked }),- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "thumbs-up" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "thumbs-up" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75032,7 +75036,7 @@ function TMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-controls": "preferencePanel","data-has-reason": String(!!e.like_reason),onClick: () => c((e) => !e),- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "notebook-pen" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "notebook-pen" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75043,7 +75047,7 @@ function TMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "dislike",...o("dislike"),onClick: () => n.feedback("dislike"),- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "thumbs-down" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "thumbs-down" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75054,7 +75058,7 @@ function TMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "seen",...o("seen"),onClick: () => n.feedback("seen"),- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "eye" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "eye" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75065,7 +75069,7 @@ function TMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.watch_later,...o("later"),onClick: n.later,- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: e.watch_later ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: e.watch_later ? "check" : "bookmark-plus" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75074,7 +75078,7 @@ function TMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-label": "加入播放列表",title: "加入播放列表",onClick: () => i.addToPlaylist(e),- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "playlist" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "playlist" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75085,7 +75089,7 @@ function TMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.better_version,...o("quality"),onClick: n.quality,- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "sparkles" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "sparkles" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75096,11 +75100,11 @@ function TMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.disposal === "trash",...o("dispose"),onClick: () => n.feedback("dispose"),- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "trash" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "trash" })})]}),- /* @__PURE__ */ (0, I.jsx)(MMe, {+ /* @__PURE__ */ (0, I.jsx)(PMe, {item: e,open: s,write: n@@ -75111,7 +75115,7 @@ function TMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {...o("o"),onClick: () => n.feedback("o"),children: [- /* @__PURE__ */ (0, I.jsx)(t4, { name: "sperm" }),+ /* @__PURE__ */ (0, I.jsx)(e4, { name: "sperm" }),/* @__PURE__ */ (0, I.jsx)("span", { children: "记一次高潮" }),/* @__PURE__ */ (0, I.jsx)("b", {className: "mono",@@ -75124,8 +75128,8 @@ function TMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {})});}-function EMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {- let { text: a, expanded: o, foldable: s, toggle: c } = G2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Iue(e, t);+function OMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {+ let { text: a, expanded: o, foldable: s, toggle: c } = W2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Iue(e, t);return /* @__PURE__ */ (0, I.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, I.jsxs)("div", {@@ -75152,11 +75156,11 @@ function EMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {"aria-label": o ? "收起标题" : "展开标题",title: o ? "收起标题" : "展开完整标题",onClick: c,- children: /* @__PURE__ */ (0, I.jsx)(YH, {})+ children: /* @__PURE__ */ (0, I.jsx)(JH, {})}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, I.jsx)("span", {"data-cover-crop-host": "",- children: /* @__PURE__ */ (0, I.jsx)(gMe, {+ children: /* @__PURE__ */ (0, I.jsx)(vMe, {code: e.cover_key || e.code || "",coverUrl: co(e),box: e.poster_box || null,@@ -75168,7 +75172,7 @@ function EMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {}})}) : null,- e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(DMe, {+ e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(kMe, {id: e.id,actions: r,onStatus: i@@ -75178,7 +75182,7 @@ function EMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {})});}-function DMe({ id: e, actions: t, onStatus: n }) {+function kMe({ id: e, actions: t, onStatus: n }) {let [r, i] = (0, F.useState)(""), a = async () => {r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));}, o = async () => {@@ -75208,10 +75212,10 @@ function DMe({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void o(),- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "folder-sync" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "folder-sync" })})] });}-function OMe({ item: e, write: t }) {+function AMe({ item: e, write: t }) {let n = EP(e.rating);return /* @__PURE__ */ (0, I.jsxs)("div", {id: "detailRating",@@ -75219,7 +75223,7 @@ function OMe({ item: e, write: t }) {"data-item-rating": "","aria-label": "评分","data-value": TP(e.rating),- children: [/* @__PURE__ */ (0, I.jsx)(gY, {+ children: [/* @__PURE__ */ (0, I.jsx)(mY, {value: n,onRate: (e) => t.rate(e),busyStar: [@@ -75237,10 +75241,10 @@ function OMe({ item: e, write: t }) {})]});}-function kMe({ item: e, actions: t }) {+function jMe({ item: e, actions: t }) {let n = (0, F.useMemo)(() => Aue(e), [e]), [r, i] = (0, F.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r;- return /* @__PURE__ */ (0, I.jsx)(U2, {+ return /* @__PURE__ */ (0, I.jsx)(H2, {kind: e,person: n,onOpen: t.openEntity,@@ -75272,7 +75276,7 @@ function kMe({ item: e, actions: t }) {onClick: t.openUnowned,children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-id-face": "",- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "user-round" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "user-round" })}), /* @__PURE__ */ (0, I.jsx)("span", {"data-id-name": "",children: "未归属"@@ -75284,7 +75288,7 @@ function kMe({ item: e, actions: t }) {size: "small",id: "castMore","data-cast-more": "",- trailingIcon: FB,+ trailingIcon: PB,"aria-expanded": !1,onClick: () => i(!0),children: [@@ -75303,16 +75307,16 @@ function kMe({ item: e, actions: t }) {children: [c.length ? /* @__PURE__ */ (0, I.jsx)("div", {"data-identity-primary": "",children: c- }) : null, /* @__PURE__ */ (0, I.jsx)(W2, {+ }) : null, /* @__PURE__ */ (0, I.jsx)(U2, {people: n.series,onOpen: t.openEntity})]});}-function AMe({ item: e, write: t, helpers: n, actions: r }) {+function MMe({ item: e, write: t, helpers: n, actions: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-item-tags": "",- children: /* @__PURE__ */ (0, I.jsx)(F2, {+ children: /* @__PURE__ */ (0, I.jsx)(P2, {id: "detailTags",tags: jue(e, n),candidates: n.tagCandidates(),@@ -75325,7 +75329,7 @@ function AMe({ item: e, write: t, helpers: n, actions: r }) {})});}-function jMe({ item: e }) {+function NMe({ item: e }) {let t = Bue(e);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-item-trace": "",@@ -75360,7 +75364,7 @@ function jMe({ item: e }) {})]});}-function MMe({ item: e, open: t, write: n }) {+function PMe({ item: e, open: t, write: n }) {let [r, i] = (0, F.useState)(e.like_reason || ""), a = (0, F.useRef)(null);(0, F.useEffect)(() => {t && a.current?.focus();@@ -75399,12 +75403,12 @@ function MMe({ item: e, open: t, write: n }) {})]});}-function NMe(e) {+function FMe(e) {let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Pt({queryKey: Eue(t.id, n),queryFn: async ({ signal: e }) => (await B(Oue(t.id, n), e)).items || []}), [o] = (0, F.useState)(() => r.relatedSkeletonHtml());- return /* @__PURE__ */ (0, I.jsx)(A2, {+ return /* @__PURE__ */ (0, I.jsx)(k2, {wireDrag: r.wireDrag,busy: a.isPending,empty: a.data?.length === 0,@@ -75412,7 +75416,7 @@ function NMe(e) {onRetry: () => {a.refetch();},- children: a.data ? /* @__PURE__ */ (0, I.jsx)(TY, {+ children: a.data ? /* @__PURE__ */ (0, I.jsx)(CY, {mode: "items",variant: "next",items: a.data,@@ -75425,10 +75429,10 @@ function NMe(e) {revision: 0,wireDrag: r.wireDrag,skeletonHtml: () => ""- }) : /* @__PURE__ */ (0, I.jsx)(n4, { html: o })+ }) : /* @__PURE__ */ (0, I.jsx)(t4, { html: o })});}-function PMe(e, t, n) {+function IMe(e, t, n) {let r = e.id, i = OP(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;@@ -75569,11 +75573,11 @@ function PMe(e, t, n) {};}// src/react/publication-cache.ts-var a4 = 864e5, o4 = (e) => {+var i4 = 864e5, a4 = (e) => {let t = new Date(e);return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());};-function s4(e) {+function o4(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));@@ -75581,25 +75585,25 @@ function s4(e) {let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();return Date.UTC(n, r + 1, Math.min(i, o));}-function FMe(e, t = Date.now()) {- let n = s4(e);- return n !== void 0 && o4(t) > n ? Infinity : a4;+function LMe(e, t = Date.now()) {+ let n = o4(e);+ return n !== void 0 && a4(t) > n ? Infinity : i4;}-function c4(e, t, n = Date.now()) {- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : FMe(t, n) === Infinity ? o4(e) > s4(t) : n - e < a4;+function s4(e, t, n = Date.now()) {+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : LMe(t, n) === Infinity ? a4(e) > o4(t) : n - e < i4;}// src/react/wants/resource-cache.ts-var l4 = "peach.want-resources.v2";-function u4(e) {+var c4 = "peach.want-resources.v2";+function l4(e) {return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);}-function d4(e, t, n) {- return !!e && !e.cache_stale && (e.state === "error" || !u4(e) ? Date.now() - t < 6e4 : c4(t, n));+function u4(e, t, n) {+ return !!e && !e.cache_stale && (e.state === "error" || !l4(e) ? Date.now() - t < 6e4 : s4(t, n));}-function f4() {+function d4() {try {- let e = JSON.parse(localStorage.getItem(l4) || "[]");- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && u4(e.result) && e.result.items.every((e) => e && [+ let e = JSON.parse(localStorage.getItem(c4) || "[]");+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && l4(e.result) && e.result.items.every((e) => e && ["magnet","ed2k","url"@@ -75608,23 +75612,23 @@ function f4() {return [];}}-function IMe(e, t) {- let n = f4().find((t) => t.code === e);- return n && c4(n.saved, t) ? n : void 0;+function RMe(e, t) {+ let n = d4().find((t) => t.code === e);+ return n && s4(n.saved, t) ? n : void 0;}-function LMe(e) {- let t = new Map(f4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();+function zMe(e) {+ let t = new Map(d4().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 && c4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));+ e && s4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));}return n;}-function RMe(e, t) {- if (t.state === "ready" && u4(t)) try {- let n = f4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");- localStorage.setItem(l4, JSON.stringify([{+function BMe(e, t) {+ if (t.state === "ready" && l4(t)) try {+ let n = d4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");+ localStorage.setItem(c4, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -75632,15 +75636,15 @@ function RMe(e, t) {} catch {}}// src/react/wants/resource-display.ts-function zMe(e) {+function VMe(e) {let t = /^([\d,]+)\s*B$/i.exec(e.trim());return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? Yn(Number(t[1].replaceAll(",", ""))) : e || "大小未知";}-function BMe(e) {+function HMe(e) {return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;}// src/react/wants/want-magnets.tsx-function p4({ icon: e, children: t, title: n }) {+function f4({ icon: e, children: t, title: n }) {return /* @__PURE__ */ (0, I.jsxs)("span", {title: n,className: "inline-flex items-center gap-1",@@ -75650,8 +75654,8 @@ function p4({ icon: e, children: t, title: n }) {}), t]});}-function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {- let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = AH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => IMe(h, e.release_date), [h, e.release_date]);+function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {+ let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = kH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => RMe(h, e.release_date), [h, e.release_date]);(0, F.useEffect)(() => {if (!s.current || c) return;let e = new IntersectionObserver((t) => {@@ -75671,22 +75675,22 @@ function m4({ 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 B(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);- return m.current = n && i.state === "busy", RMe(h, i), i;+ return m.current = n && i.state === "busy", BMe(h, i), i;},initialData: g?.result,initialDataUpdatedAt: g?.saved,enabled: c,retry: !1,- staleTime: (t) => d4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,+ staleTime: (t) => u4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,gcTime: 864e5,- refetchOnMount: (t) => !d4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",+ refetchOnMount: (t) => !u4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",refetchOnWindowFocus: !1,refetchInterval: (e) => e.state.data?.state === "busy" && 3e3});(0, F.useEffect)(() => {_.data?.source_url && a?.(_.data.source_url);}, [_.data?.source_url, a]), (0, F.useEffect)(() => {- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && CW(e.id, _.data.items.some((e) => e.protocol === "magnet"));+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && xW(e.id, _.data.items.some((e) => e.protocol === "magnet"));}, [_.data,o,@@ -75694,7 +75698,7 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc]);let v = n?.providers.find((e) => e.key === r && e.configured), y = (r) => {!t && n?.available && v && r.protocol === "magnet" && f.run(r.id, async (t) => {- let n = await V(dW, {+ let n = await V(uW, {magnet: r.uri,provider: v.key,target: v.target,@@ -75705,7 +75709,7 @@ function m4({ 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: fW });+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: dW });});}, b = (e) => {f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));@@ -75723,39 +75727,39 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}), /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: aV,- ...AV(x),+ leadingIcon: iV,+ ...kV(x),onClick: () => {x || (m.current = !0, _.refetch());},children: "重新查询"})]}),- x ? /* @__PURE__ */ (0, I.jsx)(UH, { label: "正在查找资源链接" }) : null,- S ? /* @__PURE__ */ (0, I.jsx)(TV, {+ x ? /* @__PURE__ */ (0, I.jsx)(HH, { label: "正在查找资源链接" }) : null,+ S ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",title: "资源链接未取得",children: S}) : null,- _.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(TV, {+ _.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(wV, {tone: "neutral",- children: BMe(e)+ children: HMe(e)}, e)),_.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(FL, {variant: "secondary",size: "small",className: "self-start",- trailingIcon: GB,+ trailingIcon: WB,href: _.data.source_url,target: "_blank",rel: "noopener noreferrer",children: "查看来源页"}) : null,- _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, I.jsx)(TV, {+ _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "neutral",children: "暂未找到资源链接。"}) : null,- f.error ? /* @__PURE__ */ (0, I.jsx)(TV, {+ f.error ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",title: "操作未完成",children: f.error@@ -75770,7 +75774,7 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcclassName: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(lW, {+ children: [/* @__PURE__ */ (0, I.jsx)(cW, {variant: "caption",color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"@@ -75784,26 +75788,26 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-facts": "",className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",children: [- /* @__PURE__ */ (0, I.jsx)(p4, {- icon: tge,+ /* @__PURE__ */ (0, I.jsx)(f4, {+ icon: nge,children: e.source}),- /* @__PURE__ */ (0, I.jsx)(p4, {- icon: QB,+ /* @__PURE__ */ (0, I.jsx)(f4, {+ icon: ZB,title: `来源大小:${e.size}`,- children: zMe(e.size)+ children: VMe(e.size)}),- e.files ? /* @__PURE__ */ (0, I.jsx)(p4, {- icon: Uhe,+ e.files ? /* @__PURE__ */ (0, I.jsx)(f4, {+ icon: Whe,children: e.files.replaceAll("個", "个")}) : null,- /* @__PURE__ */ (0, I.jsx)(p4, {- icon: jhe,+ /* @__PURE__ */ (0, I.jsx)(f4, {+ icon: Mhe,title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",children: e.date ? e.date.slice(0, 10) : "日期未知"}),- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(p4, {- icon: iV,+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(f4, {+ icon: rV,children: e}, e))]@@ -75816,7 +75820,7 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: GB,+ trailingIcon: WB,href: e.source_url,target: "_blank",rel: "noopener noreferrer",@@ -75825,18 +75829,18 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: Vhe,- ...AV(f.busy === `copy:${e.id}`),+ leadingIcon: Hhe,+ ...kV(f.busy === `copy:${e.id}`),onClick: () => b(e),children: "复制链接"}),e.protocol === "magnet" ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "primary",size: "small",- leadingIcon: v ? SU(v.key) : Ihe,+ leadingIcon: v ? xU(v.key) : Lhe,title: v ? `下载到 ${v.label}` : void 0,disabled: t || !n?.available || !v || r,- ...AV(f.busy === e.id),+ ...kV(f.busy === e.id),onClick: () => y(e),children: r ? "已添加" : "添加下载"}) : null@@ -75847,7 +75851,7 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcreturn /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: e.slice(0, 3)- }), e.length > 3 ? /* @__PURE__ */ (0, I.jsx)(yU, {+ }), e.length > 3 ? /* @__PURE__ */ (0, I.jsx)(vU, {summary: `更多资源(${e.length - 3} 条)`,children: /* @__PURE__ */ (0, I.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",@@ -75859,10 +75863,10 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc});}// src/react/jav-detail/review-cache.ts-var h4 = "peach.jav-reviews.v2";-function g4() {+var m4 = "peach.jav-reviews.v2";+function h4() {try {- let e = localStorage.getItem(h4) || "[]";+ let e = localStorage.getItem(m4) || "[]";if (e.length > 2e6) return [];let t = JSON.parse(e);return Array.isArray(t) ? t.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.ok === !0 && !e.result.cache_stale && Number.isInteger(e.result.page) && e.result.page >= 1 && e.result.page <= 8 && Array.isArray(e.result.items) && e.result.items.length <= 10 && e.result.items.every((e) => typeof e?.id == "string" && typeof e.content == "string" && typeof e.username == "string" && typeof e.created_at == "string")) : [];@@ -75870,21 +75874,21 @@ function g4() {return [];}}-function VMe(e, t) {+function UMe(e, t) {if (t.ok && !t.cache_stale) try {let n = Date.parse(t.checked_at || ""), r = [{code: e,saved: Number.isFinite(n) ? n : Date.now(),result: t- }, ...g4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);- i.length <= 2e6 && localStorage.setItem(h4, i);+ }, ...h4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);+ i.length <= 2e6 && localStorage.setItem(m4, i);} catch {}}-function HMe(e, t) {- let n = g4(), r = [], i = Infinity;+function WMe(e, t) {+ let n = h4(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);- if (!o || !c4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;+ if (!o || !s4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;}return r.length ? {pages: r,@@ -75892,16 +75896,16 @@ function HMe(e, t) {saved: i} : void 0;}-function UMe(e, t, n) {- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && c4(Date.parse(e.checked_at || "") || t, n));+function GMe(e, t, n) {+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && s4(Date.parse(e.checked_at || "") || t, n));}// src/react/jav-detail/jav-detail-page.tsx-function WMe(e) {+function KMe(e) {let t = (0, F.useRef)(!1), n = Pt({- queryKey: q2(e.code),+ queryKey: K2(e.code),queryFn: ({ signal: n }) => {let r = t.current;- return t.current = !1, J2(e.code, n, r);+ return t.current = !1, q2(e.code, n, r);},staleTime: 216e5}), r = () => {@@ -75911,21 +75915,21 @@ function WMe(e) {"data-jav-detail": "","data-item-detail": "","data-stage-grid": "",- children: n.data ? /* @__PURE__ */ (0, I.jsx)(GMe, {+ children: n.data ? /* @__PURE__ */ (0, I.jsx)(qMe, {...e,item: n.data,retry: r,retrying: n.isFetching}, e.code) : /* @__PURE__ */ (0, I.jsxs)("div", {"data-jav-failure": "",- children: [/* @__PURE__ */ (0, I.jsx)(_4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(ZG, {+ children: [/* @__PURE__ */ (0, I.jsx)(g4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(YG, {message: cr(n.error),onRetry: r}) : null]})});}-var _4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {+var g4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -75934,7 +75938,7 @@ var _4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function GMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {+function qMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {(0, F.useEffect)(() => {n.canonicalCode?.(t.code);}, [n, t.code]), (0, F.useEffect)(() => {@@ -75954,13 +75958,13 @@ function GMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: alabel: "视频预览",video: !0}] : []- ], [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(t.want_id), p = AH(), m = () => {- p.run("want", async (e) => d ? (await EW([d], e), null) : (await TW({ code: t.code }, e)).want.id, (t) => {- f(t), H.setQueryData(q2(e), (e) => e && {+ ], [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(t.want_id), p = kH(), m = () => {+ p.run("want", async (e) => d ? (await wW([d], e), null) : (await CW({ code: t.code }, e)).want.id, (t) => {+ f(t), H.setQueryData(K2(e), (e) => e && {...e,wanted: !!t,want_id: t- }), n.receipt(t ? "已加入想要" : "已取消想要"), OW(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });+ }), n.receipt(t ? "已加入想要" : "已取消想要"), EW(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });});};return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [@@ -75969,24 +75973,24 @@ function GMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-art": "","data-jav-playing": o === -2 ? "" : void 0,children: [- /* @__PURE__ */ (0, I.jsx)(_4, { close: n.close }),+ /* @__PURE__ */ (0, I.jsx)(g4, { close: n.close }),t.preview_video_url ? /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": o === -2,onClick: () => s(o === -2 ? -1 : -2),- children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]+ children: [/* @__PURE__ */ (0, I.jsx)(_4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(JMe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(AQ, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(XMe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(OQ, {item: t,image: o === -1 ? "cover" : String(o)}, t.code),- /* @__PURE__ */ (0, I.jsx)(M2, {+ /* @__PURE__ */ (0, I.jsx)(j2, {items: c,position: Math.max(0, c.findIndex((e) => e.index === o)),onSelect: s,below: !0,- renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(AQ, {+ renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(OQ, {item: t,image: e.index < 0 ? "cover" : String(e.index),thumbnail: !0@@ -76000,33 +76004,33 @@ function GMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-stage-side-content": "","data-jav-info": "",children: [- /* @__PURE__ */ (0, I.jsx)(KMe, { item: t }),- Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(b4, { score: Number(t.score) }) : null,+ /* @__PURE__ */ (0, I.jsx)(JMe, { item: t }),+ Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(y4, { score: Number(t.score) }) : null,/* @__PURE__ */ (0, I.jsxs)("div", {className: "mono","data-stage-meta": "","data-reveal-line": "",- children: [/* @__PURE__ */ (0, I.jsx)(y4, {+ children: [/* @__PURE__ */ (0, I.jsx)(v4, {glyph: "calendar",label: "发行日期",value: t.release_date- }), /* @__PURE__ */ (0, I.jsx)(y4, {+ }), /* @__PURE__ */ (0, I.jsx)(v4, {glyph: "clock",label: "时长",value: t.duration ? `${t.duration} 分钟` : void 0})]}),- /* @__PURE__ */ (0, I.jsx)(qMe, {+ /* @__PURE__ */ (0, I.jsx)(YMe, {item: t,navigate: n.navigate}),/* @__PURE__ */ (0, I.jsxs)("div", {"data-jav-facts": "",- children: [/* @__PURE__ */ (0, I.jsx)(y4, {+ children: [/* @__PURE__ */ (0, I.jsx)(v4, {glyph: "briefcase",label: "发行商",value: t.publisher- }), /* @__PURE__ */ (0, I.jsx)(y4, {+ }), /* @__PURE__ */ (0, I.jsx)(v4, {glyph: "clapperboard",label: "导演",value: t.director@@ -76058,11 +76062,11 @@ function GMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: alang: nL(t.summary),children: t.summary}) : null,- t.message ? /* @__PURE__ */ (0, I.jsx)(TV, {+ t.message ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "neutral",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...AV(a),+ ...kV(a),onClick: i,children: "立即重试"}),@@ -76074,7 +76078,7 @@ function GMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: at.source_url ? /* @__PURE__ */ (0, I.jsx)(FL, {"data-button-link": "",variant: "secondary",- trailingIcon: GB,+ trailingIcon: WB,href: t.source_url,target: "_blank",rel: "noopener noreferrer",@@ -76084,7 +76088,7 @@ function GMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: avariant: "secondary",disabled: r,"aria-pressed": !!d,- ...AV(!!p.busy),+ ...kV(!!p.busy),onClick: m,children: d ? "取消想要" : "想要"}),@@ -76102,16 +76106,16 @@ function GMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a})]}),- p.error ? /* @__PURE__ */ (0, I.jsx)(TV, {+ p.error ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "error",children: p.error}) : null,- /* @__PURE__ */ (0, I.jsx)(YMe, {+ /* @__PURE__ */ (0, I.jsx)(ZMe, {code: t.code,count: t.comments_count,released: t.release_date}),- /* @__PURE__ */ (0, I.jsx)(XMe, {+ /* @__PURE__ */ (0, I.jsx)(QMe, {item: t,actions: n,readOnly: r@@ -76119,24 +76123,24 @@ function GMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a]})}),- /* @__PURE__ */ (0, I.jsx)(vW, {+ /* @__PURE__ */ (0, I.jsx)(_W, {prefill: l,close: () => u(null),receipt: n.receipt})] });}-var v4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var _4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents","aria-hidden": "true",dangerouslySetInnerHTML: { __html: R(e) }-}), y4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {+}), v4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-spec-item": "",title: t,- children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, I.jsx)(_4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]}) : null;-function KMe({ item: e }) {- let { text: t, expanded: n, foldable: r, toggle: i } = G2(e.title), a = e.title === e.code ? "" : e.title;+function JMe({ item: e }) {+ let { text: t, expanded: n, foldable: r, toggle: i } = W2(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, I.jsxs)("div", {"data-item-title": "",children: [/* @__PURE__ */ (0, I.jsx)("h1", {@@ -76166,25 +76170,25 @@ function KMe({ item: e }) {"aria-label": n ? "收起标题" : "展开标题",title: n ? "收起标题" : "展开完整标题",onClick: i,- children: /* @__PURE__ */ (0, I.jsx)(YH, {})+ children: /* @__PURE__ */ (0, I.jsx)(JH, {})})})]});}-function b4({ score: e, review: t = !1 }) {+function y4({ score: e, review: t = !1 }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-item-rating": "","data-jav-rating": "","data-review-rating": t ? "" : void 0,role: "img","aria-label": `${t ? "评论" : "JavDB"}评分 ${e} / 5`,- children: [/* @__PURE__ */ (0, I.jsx)(gY, { value: e }), /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(mY, { value: e }), /* @__PURE__ */ (0, I.jsxs)("span", {"data-rating-value": "",children: [e.toFixed(1), " / 5"]})]});}-function qMe({ item: e, navigate: t }) {+function YMe({ item: e, navigate: t }) {let n = (e, n) => t(Nn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, I.jsxs)("section", {"data-id-group": t,"data-id-gender": a,@@ -76193,14 +76197,14 @@ function qMe({ item: e, navigate: t }) {children: r}), /* @__PURE__ */ (0, I.jsx)("div", {"data-id-row": "",- children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(U2, {+ children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(H2, {kind: t,person: {...r,id: r.id ?? null},onOpen: n,- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, I.jsx)(jQ, {+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, I.jsx)(kQ, {code: e.code,person: r,detail: !0@@ -76217,7 +76221,7 @@ function qMe({ item: e, navigate: t }) {r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),r("studio", "厂牌", e.studio_refs)]- }), /* @__PURE__ */ (0, I.jsx)(W2, {+ }), /* @__PURE__ */ (0, I.jsx)(U2, {people: e.series_refs.map((e) => ({...e,id: e.id ?? null@@ -76226,7 +76230,7 @@ function qMe({ item: e, navigate: t }) {})]});}-function JMe({ src: e }) {+function XMe({ src: e }) {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(0);return (0, F.useLayoutEffect)(() => {let n = t.current, i = document.createElement("video");@@ -76237,7 +76241,7 @@ function JMe({ src: e }) {}, [e, i]), /* @__PURE__ */ (0, I.jsx)("div", {ref: t,"data-jav-video": "",- children: n ? /* @__PURE__ */ (0, I.jsx)(TV, {+ children: n ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "neutral",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -76250,8 +76254,8 @@ function JMe({ src: e }) {}) : null});}-function YMe({ code: e, count: t, released: n }) {- let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => HMe(e, n), [e, n]), s = (0, F.useRef)(!1), c = It({+function ZMe({ code: e, count: t, released: n }) {+ let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => WMe(e, n), [e, n]), s = (0, F.useRef)(!1), c = It({queryKey: ["jav-reviews", e],enabled: i,initialPageParam: 1,@@ -76260,12 +76264,12 @@ function YMe({ code: e, count: t, released: n }) {pageParams: o.pageParams} : void 0,initialDataUpdatedAt: o?.saved,- staleTime: (e) => UMe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,+ staleTime: (e) => GMe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,gcTime: 864e5,refetchOnWindowFocus: !1,queryFn: async ({ signal: t, pageParam: n }) => {- let i = await lMe(e, n, t, s.current);- if (VMe(e, i), !i.ok || i.cache_stale) {+ let i = await dMe(e, n, t, s.current);+ if (UMe(e, i), !i.ok || i.cache_stale) {let t = r.getQueryData(["jav-reviews", e])?.pages.find((e) => e.page === n);if (t?.ok) return {...t,@@ -76275,7 +76279,7 @@ function YMe({ code: e, count: t, released: n }) {}return i;},- getNextPageParam: uMe+ getNextPageParam: fMe});(0, F.useEffect)(() => {c.isFetching || (s.current = !1);@@ -76283,10 +76287,10 @@ function YMe({ 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 ? cr(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;return /* @__PURE__ */ (0, I.jsx)("section", {"data-jav-reviews": "",- children: /* @__PURE__ */ (0, I.jsxs)(yU, {+ children: /* @__PURE__ */ (0, I.jsxs)(vU, {trailing: !0,summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(Mhe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, I.jsx)(Nhe, { "aria-hidden": !0 }),"评论",t > 0 ? ` · ${t}` : ""] }),@@ -76323,7 +76327,7 @@ function YMe({ code: e, count: t, released: n }) {"data-jav-review-meta": "",children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e.username }),- Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(b4, {+ Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(y4, {score: Number(e.score),review: !0}) : null,@@ -76339,24 +76343,24 @@ function YMe({ code: e, count: t, released: n }) {children: e.content})]}, e.id)),- d ? /* @__PURE__ */ (0, I.jsx)(TV, {+ d ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "neutral",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...AV(c.isFetching),+ ...kV(c.isFetching),onClick: () => {s.current = !0, c.refetch();},children: "立即重试"}),children: d- }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, I.jsx)(TV, {+ }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, I.jsx)(wV, {tone: "neutral",children: "暂无评论"}) : null,!d && l.length ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...AV(c.isFetching),+ ...kV(c.isFetching),onClick: () => {s.current = !0, c.refetch();},@@ -76364,13 +76368,13 @@ function YMe({ code: e, count: t, released: n }) {}) : null,c.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...AV(c.isFetchingNextPage),+ ...kV(c.isFetchingNextPage),onClick: () => {c.isFetchingNextPage || c.fetchNextPage();},children: "更多评论"}) : null,- !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, I.jsxs)(TV, {+ !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, I.jsxs)(wV, {tone: "neutral",children: ["已显示 ",@@ -76382,21 +76386,21 @@ function YMe({ code: e, count: t, released: n }) {})});}-function XMe({ item: e, actions: t, readOnly: n }) {+function QMe({ item: e, actions: t, readOnly: n }) {let [r, i] = (0, F.useState)(!1), a = Pt({- queryKey: fW,+ queryKey: dW,enabled: r,- queryFn: ({ signal: e }) => B(`${dW}?limit=50`, e)+ queryFn: ({ signal: e }) => B(`${uW}?limit=50`, e)}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("section", {"data-jav-resources": "",- children: /* @__PURE__ */ (0, I.jsx)(yU, {+ children: /* @__PURE__ */ (0, I.jsx)(vU, {trailing: !0,- summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: "link" }), "资源"] }),+ summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(_4, { name: "link" }), "资源"] }),onOpenChange: (e) => {i(e), e && c(!0);},- children: s ? /* @__PURE__ */ (0, I.jsx)(m4, {+ children: s ? /* @__PURE__ */ (0, I.jsx)(p4, {want: {id: 0,code: e.code,@@ -76413,31 +76417,31 @@ function XMe({ item: e, actions: t, readOnly: n }) {});}// src/react/stage/stage-player.ts-var x4 = null, S4 = null, C4 = null, w4 = null, T4 = null, E4 = !1, D4 = 0, O4 = null, k4 = () => !1, A4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;-function ZMe(e, t) {- x4 = e, k4 = () => t.isOpen(), O4 = () => t.requestClose(), Ole({+var b4 = null, x4 = null, S4 = null, C4 = null, w4 = null, T4 = !1, E4 = 0, D4 = null, O4 = () => !1, k4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;+function $Me(e, t) {+ b4 = e, O4 = () => t.isOpen(), D4 = () => t.requestClose(), Ole({...e.player,stage: () => document.getElementById("stage")}), kle({- inMiniplayer: (e) => S4?.player === e,- kind: (e) => S4?.player === e ? S4.kind : C4?.kind ?? w4?.kind ?? "item",- expand: () => X4(),- toMiniplayer: () => Z4()- }), j4 || (j4 = !0, addEventListener("pagehide", () => rP()));-}-var j4 = !1;-function M4() {- if (!x4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");- return x4;-}-function N4(e) {- w4 = e;-}-var QMe = () => w4;-function P4(e, t) {- let { kind: n, item: r, media: i = null } = t, a = A4(n, r.id, i?.index ?? null);- if (S4 && S4.key === a) return eNe(e, S4);- S4 && Y4();+ inMiniplayer: (e) => x4?.player === e,+ kind: (e) => x4?.player === e ? x4.kind : S4?.kind ?? C4?.kind ?? "item",+ expand: () => Y4(),+ toMiniplayer: () => X4()+ }), A4 || (A4 = !0, addEventListener("pagehide", () => rP()));+}+var A4 = !1;+function j4() {+ if (!b4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");+ return b4;+}+function M4(e) {+ C4 = e;+}+var eNe = () => C4;+function N4(e, t) {+ let { kind: n, item: r, media: i = null } = t, a = k4(n, r.id, i?.index ?? null);+ if (x4 && x4.key === a) return nNe(e, x4);+ x4 && J4();let o = {player: null,kind: n,@@ -76445,7 +76449,7 @@ function P4(e, t) {mediaIndex: i?.index ?? null,key: a};- C4 = o;+ S4 = 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 = gP(s, {@@ -76455,42 +76459,42 @@ function P4(e, t) {autoplay: t.autoplay,resume: t.resume ?? null,onPlayer: (e) => {- C4 === o && (o.player = e);+ S4 === o && (o.player = e);},- handedOff: (e) => S4?.player === e+ handedOff: (e) => x4?.player === e});return () => {- let e = !!o.player && S4?.player === o.player;- C4 === o && (C4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), rP());+ let e = !!o.player && x4?.player === o.player;+ S4 === o && (S4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), rP());};}-async function $Me(e, t, n) {+async function tNe(e, t, n) {let r = await wn(`/api/item?id=${e.id}`, { signal: n });if (n.throwIfAborted(), !r || r.error) throw Error(r?.error || "作品未取得");if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");if (r.location === "online") throw Error("请打开详情播放在线作品");if (r.cost === "metered") throw Error("请打开详情确认计费来源");- let i = await M4().player.loadSourceStatus();- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(M4().player.offlineReason(String(r.root_id || r.location || "")));+ let i = await j4().player.loadSourceStatus();+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(j4().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 || "未归属")};- N4(a);- let o = P4(t, {+ M4(a);+ let o = N4(t, {kind: "item",item: r,autoplay: !0}), s = !1;return (e = !1) => {- s || (s = !0, e && w4 === a && I4(!0), o(), w4 === a && N4(null));+ s || (s = !0, e && C4 === a && F4(!0), o(), C4 === a && M4(null));};}-function eNe(e, t) {+function nNe(e, t) {let { player: n } = t;- q4(t), S4 = null, J4(), n.el().classList.remove("vjs-peach-mini"), mP(e), e.append(n.el()), oN(n);+ K4(t), x4 = null, q4(), n.el().classList.remove("vjs-peach-mini"), mP(e), e.append(n.el()), oN(n);let r = {player: n,kind: t.kind,@@ -76498,23 +76502,23 @@ function eNe(e, t) {mediaIndex: t.mediaIndex,key: t.key};- C4 = r;+ S4 = r;let i = hP(n, e);return sN(n), () => {- C4 === r && (C4 = null), i(), S4?.player !== n && (aN() === n && oN(null), JN(n), rP());+ S4 === r && (S4 = null), i(), x4?.player !== n && (aN() === n && oN(null), JN(n), rP());};}-var F4 = () => {- let e = C4?.player;+var P4 = () => {+ let e = S4?.player;return e && !e.isDisposed() ? e : null;};-function I4(e) {- let t = E4;- E4 = !1, S4?.pending && Y4();- let n = C4, r = n?.player, i = w4;- if (!n || !r || r.isDisposed() || !i || !T4) return;- let a = M4().player.settings();- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && iNe({+function F4(e) {+ let t = T4;+ T4 = !1, x4?.pending && J4();+ let n = S4, r = n?.player, i = C4;+ if (!n || !r || r.isDisposed() || !i || !w4) return;+ let a = j4().player.settings();+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && oNe({player: r,kind: n.kind,item: n.item,@@ -76522,46 +76526,46 @@ function I4(e) {key: n.key}, i);}-function L4(e, t) {- E4 = !1, S4 && (S4.kind === e && S4.item.id === t ? (S4.pending = !0, J4()) : Y4());+function I4(e, t) {+ T4 = !1, x4 && (x4.kind === e && x4.item.id === t ? (x4.pending = !0, q4()) : J4());}-function R4(e) {- T4 = e, T4 && G4();+function L4(e) {+ w4 = e, w4 && W4();}-var z4 = () => !!S4 && !S4.pending && !S4.player.isDisposed();-function tNe() {- return z4() ? T4?.frame.querySelector("video") ?? null : null;+var R4 = () => !!x4 && !x4.pending && !x4.player.isDisposed();+function rNe() {+ return R4() ? w4?.frame.querySelector("video") ?? null : null;}-function nNe() {- return k4() ? document.getElementById("stage")?.querySelector("video") ?? null : F4()?.el().querySelector("video") ?? tNe();+function iNe() {+ return O4() ? document.getElementById("stage")?.querySelector("video") ?? null : P4()?.el().querySelector("video") ?? rNe();}-function B4(e) {- T4 && (T4.title.textContent = e.title || "", T4.sub.textContent = e.sub || "", T4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));+function z4(e) {+ w4 && (w4.title.textContent = e.title || "", w4.sub.textContent = e.sub || "", w4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));}-function V4(e = S4?.item) {- if (!T4) return;- let t = T4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;- T4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);+function B4(e = x4?.item) {+ if (!w4) return;+ let t = w4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;+ w4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);}-function H4() {- let e = S4?.player;- if (!e || e.isDisposed() || !T4) return;+function V4() {+ let e = x4?.player;+ if (!e || e.isDisposed() || !w4) return;let t = e.paused();- T4.play.setAttribute("aria-label", t ? "播放" : "暂停"), T4.play.querySelector("[data-icon-swap]") || (T4.play.innerHTML = Gs("player-pause", "player-play", t ? "b" : "a")), Ks(T4.play, t ? "b" : "a");-}-function U4() {- let e = S4?.player;- if (!e || e.isDisposed() || !T4) return;- let t = Kn(S4?.item.duration) || Kn(e.duration());- T4.time.textContent = `${Jn(e.currentTime())} / ${t ? Jn(t) : "0:00"}`;+ w4.play.setAttribute("aria-label", t ? "播放" : "暂停"), w4.play.querySelector("[data-icon-swap]") || (w4.play.innerHTML = Gs("player-pause", "player-play", t ? "b" : "a")), Ks(w4.play, t ? "b" : "a");}-var W4 = () => Math.max(1, Number(M4().player.settings().seekSeconds) || 10);-function G4() {- if (!T4 || !x4) return;- let e = W4();- for (let [t, n] of [[T4.back, `后退 ${e} 秒`], [T4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;-}-function K4(e) {+function H4() {+ let e = x4?.player;+ if (!e || e.isDisposed() || !w4) return;+ let t = Kn(x4?.item.duration) || Kn(e.duration());+ w4.time.textContent = `${Jn(e.currentTime())} / ${t ? Jn(t) : "0:00"}`;+}+var U4 = () => Math.max(1, Number(j4().player.settings().seekSeconds) || 10);+function W4() {+ if (!w4 || !b4) return;+ let e = U4();+ for (let [t, n] of [[w4.back, `后退 ${e} 秒`], [w4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+}+function G4(e) {let t = (t, n) => {e.player.on(t, n), e.off.push(() => {try {@@ -76573,17 +76577,17 @@ function K4(e) {"play","pause","ended"- ], H4), t([+ ], V4), t(["timeupdate","durationchange","loadedmetadata"- ], U4), t("loadedmetadata", () => V4()), H4(), U4(), V4(), G4();+ ], H4), t("loadedmetadata", () => B4()), V4(), H4(), B4(), W4();}-function q4(e) {+function K4(e) {e.off.forEach((e) => e()), e.off = [];}-function rNe() {- let e = T4?.root;+function aNe() {+ let e = w4?.root;if (!e) return;let t = e.hidden;if (e.hidden = !1, !t) return;@@ -76591,8 +76595,8 @@ function rNe() {let n = () => e.removeAttribute("data-miniplayer-enter");e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);}-function J4() {- let e = T4?.root;+function q4() {+ let e = w4?.root;if (e) {e.hidden = !0;for (let t of [@@ -76603,73 +76607,73 @@ function J4() {e.style.transform = "";}}-function iNe(e, t) {- if (!T4) return;+function oNe(e, t) {+ if (!w4) return;let n = {...e,meta: t,off: [],pending: !1};- S4 = n, D4++, e.player.el().classList.add("vjs-peach-mini"), T4.frame.prepend(e.player.el()), B4(t), K4(n), rNe(), sN(e.player);+ x4 = n, E4++, e.player.el().classList.add("vjs-peach-mini"), w4.frame.prepend(e.player.el()), z4(t), G4(n), aNe(), sN(e.player);}-function Y4() {- let e = S4;- e && q4(e), S4 = null, D4++;+function J4() {+ let e = x4;+ e && K4(e), x4 = null, E4++;let t = e?.player ?? null;- t && aN() === t && oN(null), JN(t), t && rP(), T4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), rN(), J4();+ t && aN() === t && oN(null), JN(t), t && rP(), w4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), rN(), q4();}-function X4() {- if (!z4() || !S4) return;- let { kind: e, item: t, mediaIndex: n } = S4;- M4().expand(e, t.id, n);+function Y4() {+ if (!R4() || !x4) return;+ let { kind: e, item: t, mediaIndex: n } = x4;+ j4().expand(e, t.id, n);}-function Z4() {- z4() && !k4() ? X4() : k4() && F4() && O4 && (E4 = !0, O4());+function X4() {+ R4() && !O4() ? Y4() : O4() && P4() && D4 && (T4 = !0, D4());}-function aNe() {- let e = S4?.player;+function sNe() {+ let e = x4?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}-function Q4(e) {- let t = S4?.player;+function Z4(e) {+ let t = x4?.player;if (!t || t.isDisposed()) return;- let n = Kn(t.duration()) || Kn(S4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + W4() * e);+ let n = Kn(t.duration()) || Kn(x4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + U4() * e);t.currentTime(n ? Math.min(n, r) : r);}-function $4(e) {- return !(!z4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || M4().sourceOffline(String(e.root_id || e.location || "")));-}-async function oNe(e) {- if (!z4() || !S4 || !T4) return;- let t = ++D4, n = await wn(`/api/item?id=${e}`).catch(() => null);- if (t !== D4 || !z4() || !S4 || !T4 || !n || n.error) return;- if (!$4(n)) {- M4().openItem(e);+function Q4(e) {+ return !(!R4() || !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 || j4().sourceOffline(String(e.root_id || e.location || "")));+}+async function cNe(e) {+ if (!R4() || !x4 || !w4) return;+ let t = ++E4, n = await wn(`/api/item?id=${e}`).catch(() => null);+ if (t !== E4 || !R4() || !x4 || !w4 || !n || n.error) return;+ if (!Q4(n)) {+ j4().openItem(e);return;}- let r = S4;- q4(r), aN() === r.player && oN(null), JN(r.player), rP(), T4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ let r = x4;+ K4(r), aN() === r.player && oN(null), JN(r.player), rP(), w4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", T4.frame.prepend(i);+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", w4.frame.prepend(i);let a = {kind: "item",item: n,title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- B4(a), gP(i, {+ z4(a), gP(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {- if (t !== D4) {+ if (t !== E4) {r && aN() === r && oN(null), JN(r);return;}if (!r) {- Y4(), M4().openItem(e);+ J4(), j4().openItem(e);return;}r.el().classList.add("vjs-peach-mini");@@ -76678,25 +76682,25 @@ async function oNe(e) {kind: "item",item: n,mediaIndex: null,- key: A4("item", n.id, null),+ key: k4("item", n.id, null),meta: a,off: [],pending: !1};- S4 = i, K4(i);+ x4 = i, G4(i);}- }), V4(n);+ }), B4(n);}// src/react/stage/miniplayer.tsx-var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {+var $4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })-}), sNe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, t3 = (e) => (t) => {+}), lNe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, e3 = (e) => (t) => {t.stopPropagation(), e();-}, cNe = (0, F.memo)(function() {+}, uNe = (0, F.memo)(function() {let e = (0, F.useRef)(null), t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null);- return (0, F.useLayoutEffect)(() => (R4({+ return (0, F.useLayoutEffect)(() => (L4({root: e.current,frame: n.current,play: r.current,@@ -76706,7 +76710,7 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => R4(null)), []), (0, F.useEffect)(() => uNe(e.current, t.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {+ }), () => L4(null)), []), (0, F.useEffect)(() => fNe(e.current, t.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -76730,24 +76734,24 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {id: "miniplayerExpand","aria-label": "展开到详情","aria-keyshortcuts": "i",- onClick: t3(X4),- children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "maximize-2" })+ onClick: e3(Y4),+ children: /* @__PURE__ */ (0, I.jsx)($4, { name: "maximize-2" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-miniplayer-button": "close",id: "miniplayerClose","aria-label": "关闭小窗",- onClick: t3(Y4),- children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "x" })+ onClick: e3(J4),+ children: /* @__PURE__ */ (0, I.jsx)($4, { name: "x" })}),/* @__PURE__ */ (0, I.jsx)("button", {ref: a,type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: t3(() => Q4(-1)),- children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "rotate-ccw" })+ onClick: e3(() => Z4(-1)),+ children: /* @__PURE__ */ (0, I.jsx)($4, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, I.jsx)("button", {ref: r,@@ -76756,16 +76760,16 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: t3(aNe),- dangerouslySetInnerHTML: sNe+ onClick: e3(sNe),+ dangerouslySetInnerHTML: lNe}),/* @__PURE__ */ (0, I.jsx)("button", {ref: o,type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: t3(() => Q4(1)),- children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "rotate-cw" })+ onClick: e3(() => Z4(1)),+ children: /* @__PURE__ */ (0, I.jsx)($4, { name: "rotate-cw" })}),/* @__PURE__ */ (0, I.jsx)("span", {ref: i,@@ -76782,7 +76786,7 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {"data-miniplayer-info": "",id: "miniplayerInfo","aria-label": "展开到详情",- onClick: () => X4(),+ onClick: () => Y4(),children: [/* @__PURE__ */ (0, I.jsx)("span", {ref: s,"data-miniplayer-title": "",@@ -76796,7 +76800,7 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {})});});-function lNe(e, t, n) {+function dNe(e, t, n) {let r = e.getBoundingClientRect(), i = (r.top + r.height / 2 < innerHeight / 2 ? "t" : "b") + (r.left + r.width / 2 < innerWidth / 2 ? "l" : "r"), a = parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 56, o = {left: r.left - t,top: r.top - n@@ -76818,7 +76822,7 @@ function lNe(e, t, n) {};e.addEventListener("transitionend", u), setTimeout(u, 600);}-function uNe(e, t) {+function fNe(e, t) {let n = null, r = (e) => {if (!(e.button !== 0 || e.target.closest("[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek],.vjs-control-bar"))) {n = {@@ -76844,7 +76848,7 @@ function uNe(e, t) {} catch {}i.moved && (e.dataset.dragged = "1", setTimeout(() => {delete e.dataset.dragged;- }, 0), lNe(e, i.dx, i.dy));+ }, 0), dNe(e, i.dx, i.dy));}, o = (t) => {e.dataset.dragged && (t.stopPropagation(), t.preventDefault());}, s = (e) => {@@ -76855,57 +76859,57 @@ function uNe(e, t) {};}// src/react/stage/stage.tsx-var n3 = null, r3 = null, i3 = null, a3 = /* @__PURE__ */ new Set(), o3 = 0, s3 = null, c3 = !1, l3 = !1, u3 = () => {+var t3 = null, n3 = null, r3 = null, i3 = /* @__PURE__ */ new Set(), a3 = 0, o3 = null, s3 = !1, c3 = !1, l3 = () => {let e = document.getElementById("stage");return e instanceof HTMLDialogElement ? e : null;};-function d3() {- if (!n3) throw Error("舞台还没有接上宿主(configureStage)");- return n3;+function u3() {+ if (!t3) throw Error("舞台还没有接上宿主(configureStage)");+ return t3;}-function dNe(e) {- return a3.add(e), () => {- a3.delete(e);+function pNe(e) {+ return i3.add(e), () => {+ i3.delete(e);};}-function fNe() {- for (let e of [...a3]) e();+function mNe() {+ for (let e of [...i3]) e();}-function f3() {- (0, Lt.flushSync)(fNe);+function d3() {+ (0, Lt.flushSync)(mNe);}-function pNe({ view: e }) {- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(mNe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(cNe, {})] });+function hNe({ view: e }) {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(gNe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(uNe, {})] });}-var p3 = () => /* @__PURE__ */ (0, I.jsx)("div", {+var f3 = () => /* @__PURE__ */ (0, I.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",- dangerouslySetInnerHTML: { __html: gje() }+ dangerouslySetInnerHTML: { __html: vje() }});-function m3(e) {+function p3(e) {let t = e.currentTarget;if (e.target !== t) return !1;let n = t.getBoundingClientRect();return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;}-function h3() {- let e = u3(), t = e && yje(e);+function m3() {+ let e = l3(), t = e && xje(e);t ? (t.focus({ preventScroll: !0 }), t.dispatchEvent(new KeyboardEvent("keydown", {key: "Escape",bubbles: !0,cancelable: !0- }))) : g3();+ }))) : h3();}-function mNe({ view: e }) {+function gNe({ view: e }) {let t = (0, F.useRef)(null);(0, F.useLayoutEffect)(() => {let e = t.current, n = (t) => {- t.target === e && (t.preventDefault(), h3());+ t.target === e && (t.preventDefault(), m3());};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(vMe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(WMe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)($je, { ...r.props }, r.props.id);+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(bMe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(KMe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(tMe, { ...r.props }, r.props.id);return /* @__PURE__ */ (0, I.jsxs)("dialog", {ref: t,id: "stage",@@ -76913,27 +76917,27 @@ function mNe({ view: e }) {"data-stage-kind": r.kind,"aria-label": "作品详情",onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), h3());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), m3());},onPointerDown: (e) => {- l3 = m3(e);+ c3 = p3(e);},onClick: (e) => {- l3 && m3(e) && g3();+ c3 && p3(e) && h3();},children: [- n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(p3, {}, "skeleton") : null,+ n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(f3, {}, "skeleton") : null,n === "reveal" ? /* @__PURE__ */ (0, I.jsx)("div", {"data-stage-fade": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(p3, {})+ children: /* @__PURE__ */ (0, I.jsx)(f3, {})}, "fade") : null,n === "skeleton" ? null : /* @__PURE__ */ (0, I.jsx)("div", {"data-stage-scroll": "",children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, I.jsx)(MD, {- getContainer: () => $0(t.current),+ children: /* @__PURE__ */ (0, I.jsx)(PD, {+ getContainer: () => Q0(t.current),children: i})})@@ -76941,14 +76945,14 @@ function mNe({ view: e }) {]});}-function g3() {- r3 && !c3 && (c3 = !0, r3.request.actions.close());+function h3() {+ n3 && !s3 && (s3 = !0, n3.request.actions.close());}-function _3(e, t) {- let n = u3();+function g3(e, t) {+ let n = l3();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}-function v3(e) {+function _3(e) {if (e.kind === "jav") return {kind: "jav",props: {@@ -76956,30 +76960,30 @@ function v3(e) {readOnly: e.readOnly,actions: {...e.actions,- close: g3+ close: h3}}};let t = e.resume ?? null, n = (n) => {let r = t && (e.id == null || e.id === n) ? t : null;return t = null, r;- }, r = () => d3().player.settings(), i = () => r3?.request === e;+ }, r = () => u3().player.settings(), i = () => n3?.request === e;if (e.kind === "item") {let { kind: t, resume: a, actions: o, ...s } = e, c = {...o,- close: g3,+ close: h3,present: (e, t) => {let n = e.performers;- N4({+ M4({kind: "item",item: e,title: String(e.title || e.name || ""),sub: String(n?.[0] || e.creator || "未归属")- }), _3(r().ambientMode, r().theaterMode), queueMicrotask(() => {+ }), g3(r().ambientMode, r().theaterMode), queueMicrotask(() => {i() && o.present(e, t);});},- mountPlayer: (e, t, r, i) => P4(e, {+ mountPlayer: (e, t, r, i) => N4(e, {kind: "item",item: t,autoplay: i?.autoplay,@@ -76997,18 +77001,18 @@ function v3(e) {}let { kind: a, resume: o, actions: s, ...c } = e, l = {...s,- close: g3,+ close: h3,present: (e, t) => {- N4({+ M4({kind: "follow",item: e,title: e.title || "",sub: e.author || e.source_label || ""- }), _3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {+ }), g3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {i() && s.present(e, t);});},- mountPlayer: (e, t, r, i) => P4(e, {+ mountPlayer: (e, t, r, i) => N4(e, {kind: "follow",item: t,media: r,@@ -77025,106 +77029,106 @@ function v3(e) {}};}-function hNe(e, t) {+function _Ne(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"), r3?.generation === t && r3.phase === "reveal" && (r3 = {- ...r3,+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), n3?.generation === t && n3.phase === "reveal" && (n3 = {+ ...n3,phase: "content"- }, f3());+ }, d3());}, a = (e) => {e.target === n && i();};n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);}-function y3(e) {- let t = u3();- return !r3 || r3.content.kind !== e || c3 || !t?.open || t.hasAttribute("data-closing") ? null : t;+function v3(e) {+ let t = l3();+ return !n3 || n3.content.kind !== e || s3 || !t?.open || t.hasAttribute("data-closing") ? null : t;}-async function gNe(e) {- !i3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (i3 = {+async function vNe(e) {+ !r3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (r3 = {left: window.scrollX,top: window.scrollY,anchor: document.activeElement});- let t = y3(e.kind);+ let t = v3(e.kind);if (t) {- await vNe(e, t);+ await bNe(e, t);return;}- r3 && b3({ miniplayer: !1 });- let n = ++o3, r = new AbortController();- s3 = r, c3 = !1, l3 = !1, e.kind === "jav" ? Y4() : L4(e.kind, e.id ?? NaN);- let i = v3(e);- r3 = {+ n3 && y3({ miniplayer: !1 });+ let n = ++a3, r = new AbortController();+ o3 = r, s3 = !1, c3 = !1, e.kind === "jav" ? J4() : I4(e.kind, e.id ?? NaN);+ let i = _3(e);+ n3 = {generation: n,request: e,content: i,phase: "skeleton"};- let a = i.kind === "item" ? UP(i.props, r.signal) : i.kind === "jav" ? Y2(i.props, r.signal) : a2(i.props, r.signal);- if (n !== o3 || r3?.request !== e) {+ let a = i.kind === "item" ? UP(i.props, r.signal) : i.kind === "jav" ? J2(i.props, r.signal) : i2(i.props, r.signal);+ if (n !== a3 || n3?.request !== e) {await a.catch(() => {});return;}- let o = _Ne(i);- r3 = {- ...r3,+ let o = yNe(i);+ n3 = {+ ...n3,phase: o ? "content" : "skeleton"- }, f3();- let s = u3();+ }, d3();+ let s = l3();if (!s) {await a.catch(() => {});return;}- o || uc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), t2(s);+ o || uc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), e2(s);try {await a;} catch {if (r.signal.aborted) return;}- if (n !== o3 || !r3 || o) return;+ if (n !== a3 || !n3 || o) return;let c = !!s.querySelector(".skeleton-awaiting");- r3 = {- ...r3,+ n3 = {+ ...n3,phase: c ? "content" : "reveal"- }, f3(), c || hNe(s, n), Qs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, d3(), c || _Ne(s, n), Qs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");let l = document.activeElement;l !== s && s.contains(l) || s.querySelector("#closeStage")?.focus();}-function _Ne(e) {- if (e.kind === "jav") return !!H.getQueryData(q2(e.props.code));- if (e.kind === "follow") return !!H.getQueryData(n2(e.props.id));+function yNe(e) {+ if (e.kind === "jav") return !!H.getQueryData(K2(e.props.code));+ if (e.kind === "follow") return !!H.getQueryData(t2(e.props.id));let { queue: t, id: n } = e.props, r = t ? H.getQueryData(kP(t)) : null;if (t && !r) return !1;let i = r ? VP(r, n) : n;return i != null && !!H.getQueryData(OP(i));}-async function vNe(e, t) {- let n = ++o3;- s3?.abort();+async function bNe(e, t) {+ let n = ++a3;+ o3?.abort();let r = new AbortController();- s3 = r, l3 = !1;- let i = v3(e);+ o3 = r, c3 = !1;+ let i = _3(e);try {- i.kind === "item" ? await UP(i.props, r.signal) : i.kind === "jav" ? await Y2(i.props, r.signal) : await a2(i.props, r.signal);+ i.kind === "item" ? await UP(i.props, r.signal) : i.kind === "jav" ? await J2(i.props, r.signal) : await i2(i.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== o3 || !r3 || y3(e.kind) !== t) return;- e.kind === "jav" ? Y4() : L4(e.kind, e.id ?? NaN), Al(t), rN(), r3 = {- ...r3,+ if (n !== a3 || !n3 || v3(e.kind) !== t) return;+ e.kind === "jav" ? J4() : I4(e.kind, e.id ?? NaN), Al(t), rN(), n3 = {+ ...n3,request: e,content: i,phase: "content"- }, f3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Qs(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, d3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Qs(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 yNe() {- t2(null);- let e = u3();+function xNe() {+ e2(null);+ let e = l3();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();@@ -77134,14 +77138,14 @@ function yNe() {e.addEventListener("animationend", i), n = window.setTimeout(r, 380);}));}-function b3({ miniplayer: e = !0 } = {}) {- if (o3++, s3?.abort(), s3 = null, I4(e), !r3) return;- let t = u3();- t && Al(t), rN(), t2(null), t?.open && t.close(), r3 = null, c3 = !1, l3 = !1, f3(), N4(null), document.body.removeAttribute("data-detail-open");- let n = i3;- i3 = null;+function y3({ miniplayer: e = !0 } = {}) {+ if (a3++, o3?.abort(), o3 = null, F4(e), !n3) return;+ let t = l3();+ t && Al(t), rN(), e2(null), t?.open && t.close(), n3 = null, s3 = !1, c3 = !1, d3(), M4(null), document.body.removeAttribute("data-detail-open");+ let n = r3;+ r3 = null;let r = () => {- !r3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({+ !n3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({left: n.left,top: n.top,behavior: "instant"@@ -77149,80 +77153,80 @@ function b3({ miniplayer: e = !0 } = {}) {};r(), requestAnimationFrame(r);}-function bNe(e) {- r3 && (r3 = {- ...r3,- content: r3.content.kind === "item" ? {+function SNe(e) {+ n3 && (n3 = {+ ...n3,+ content: n3.content.kind === "item" ? {kind: "item",props: {- ...r3.content.props,+ ...n3.content.props,...e}- } : r3.content.kind === "jav" ? r3.content : {+ } : n3.content.kind === "jav" ? n3.content : {kind: "follow",props: {- ...r3.content.props,+ ...n3.content.props,...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }}}- }, f3());+ }, d3());}-function xNe() {- let e = QMe(), t = e?.kind === "item" ? e.item : null, n = t ? Oo(t, d3().player.settings().javImage) : "";+function CNe() {+ let e = eNe(), t = e?.kind === "item" ? e.item : null, n = t ? Oo(t, u3().player.settings().javImage) : "";if (!n) return;- let r = F4();+ let r = P4();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}-var SNe = {- open: gNe,- update: bNe,- exit: yNe,- dispose: b3,- requestClose: g3,- requestEscape: h3,- repaintPoster: xNe,- isOpen: () => !!r3,- showing: () => r3 && y3(r3.content.kind) ? r3.content.kind : null,- activeVideo: () => nNe(),- mountWallPlayer: $Me,+var wNe = {+ open: vNe,+ update: SNe,+ exit: xNe,+ dispose: y3,+ requestClose: h3,+ requestEscape: m3,+ repaintPoster: CNe,+ isOpen: () => !!n3,+ showing: () => n3 && v3(n3.content.kind) ? n3.content.kind : null,+ activeVideo: () => iNe(),+ mountWallPlayer: tNe,toggleTheater: () => {- r3 && FN(!d3().player.settings().theaterMode);+ n3 && FN(!u3().player.settings().theaterMode);},- toggleMiniplayer: () => Z4(),- closeMiniplayer: () => Y4(),- miniplayerActive: () => z4(),- miniplayerTakesCard: (e) => $4(e),+ toggleMiniplayer: () => X4(),+ closeMiniplayer: () => J4(),+ miniplayerActive: () => R4(),+ miniplayerTakesCard: (e) => Q4(e),miniplayerPlay: (e) => {- oNe(e);+ cNe(e);}};-function CNe(e) {- return n3 = e, ZMe(e, {- isOpen: () => !!r3,- requestClose: g3- }), SNe;+function TNe(e) {+ return t3 = e, $Me(e, {+ isOpen: () => !!n3,+ requestClose: h3+ }), wNe;}-function wNe() {- let e = (0, F.useSyncExternalStore)(dNe, () => r3);- return n3 ? /* @__PURE__ */ (0, I.jsx)(pNe, { view: e }) : null;+function ENe() {+ let e = (0, F.useSyncExternalStore)(pNe, () => n3);+ return t3 ? /* @__PURE__ */ (0, I.jsx)(hNe, { view: e }) : null;}// src/react/stats/stats.ts-var TNe = "/api/stats", x3 = ["stats"], S3 = (e) => B(TNe, e);-async function ENe(e) {+var DNe = "/api/stats", b3 = ["stats"], x3 = (e) => B(DNe, e);+async function ONe(e) {await H.fetchQuery({- queryKey: x3,- queryFn: () => S3(e)+ queryKey: b3,+ queryFn: () => x3(e)});}-var C3 = (e) => e != null && Number.isFinite(e), DNe = (e) => C3(e) ? e.toLocaleString() : "未取得", ONe = (e, t) => C3(e) && C3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, kNe = (e, t) => {- let n = ONe(e, t);- return !n && C3(e) && e > 0 && C3(t) && t > 0 ? "<1%" : `${n}%`;-}, w3 = (e) => {- if (!C3(e)) return "未取得";+var S3 = (e) => e != null && Number.isFinite(e), kNe = (e) => S3(e) ? e.toLocaleString() : "未取得", ANe = (e, t) => S3(e) && S3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, jNe = (e, t) => {+ let n = ANe(e, t);+ return !n && S3(e) && e > 0 && S3(t) && t > 0 ? "<1%" : `${n}%`;+}, C3 = (e) => {+ if (!S3(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)} 分钟`;-}, T3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, E3 = (e) => (e.max_reached || 0) * 100, ANe = (e) => e.kind === "online" ? "在线直接观看" : T3(e) < E3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", jNe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;-function MNe(e, t = 6) {+}, w3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, T3 = (e) => (e.max_reached || 0) * 100, MNe = (e) => e.kind === "online" ? "在线直接观看" : w3(e) < T3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", NNe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;+function PNe(e, t = 6) {let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);if (n.length <= t) return n;let r = [...n].sort((e, t) => t.value - e.value), i = r.slice(t - 1);@@ -77232,7 +77236,7 @@ function MNe(e, t = 6) {bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)}];}-var NNe = (e) => Math.max(1, ...e) * 1.1, PNe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, FNe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), INe = {+var FNe = (e) => Math.max(1, ...e) * 1.1, INe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, LNe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), RNe = {video: "视频",image: "图片",illustration: "插画",@@ -77240,18 +77244,18 @@ var NNe = (e) => Math.max(1, ...e) * 1.1, PNe = (e, t) => e > 0 ? Math.max(e, taudio: "音频",account: "账号",other: "其它文件"-}, LNe = (e) => e.map((e) => ({- name: INe[e.k] ?? e.k,+}, zNe = (e) => e.map((e) => ({+ name: RNe[e.k] ?? e.k,value: e.n-})).sort((e, t) => t.value - e.value), RNe = {+})).sort((e, t) => t.value - e.value), BNe = {速食: "<5 分钟",短: "5–15 分钟",中: "15–40 分钟",长: ">40 分钟"-}, D3 = (e, t = {}) => e.map((e) => ({+}, E3 = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), zNe = (e) => D3(e, RNe), BNe = [+})), VNe = (e) => E3(e, BNe), HNe = [[1,1,@@ -77287,12 +77291,12 @@ var NNe = (e) => Math.max(1, ...e) * 1.1, PNe = (e, t) => e > 0 ? Math.max(e, tInfinity,"≥10"]-], VNe = (e) => BNe.map(([t, n, r]) => ({+], UNe = (e) => HNe.map(([t, n, r]) => ({name: r,value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)}));// node_modules/d3-array/src/max.js-function O3(e, t) {+function D3(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 {@@ -77302,7 +77306,7 @@ function O3(e, t) {return n;}// node_modules/d3-array/src/min.js-function k3(e, t) {+function O3(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 {@@ -77312,7 +77316,7 @@ function k3(e, t) {return n;}// node_modules/d3-array/src/sum.js-function A3(e, t) {+function k3(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -77322,64 +77326,64 @@ function A3(e, t) {return n;}// node_modules/d3-sankey/src/align.js-function HNe(e, t) {+function WNe(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}// node_modules/d3-sankey/src/constant.js-function j3(e) {+function A3(e) {return function() {return e;};}// node_modules/d3-sankey/src/sankey.js+function j3(e, t) {+ return N3(e.source, t.source) || e.index - t.index;+}function M3(e, t) {- return P3(e.source, t.source) || e.index - t.index;+ return N3(e.target, t.target) || e.index - t.index;}function N3(e, t) {- return P3(e.target, t.target) || e.index - t.index;-}-function P3(e, t) {return e.y0 - t.y0;}-function F3(e) {+function P3(e) {return e.value;}-function UNe(e) {+function GNe(e) {return e.index;}-function WNe(e) {+function KNe(e) {return e.nodes;}-function GNe(e) {+function qNe(e) {return e.links;}-function I3(e, t) {+function F3(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function L3({ nodes: e }) {+function I3({ nodes: e }) {for (let t of e) {let e = t.y0, n = e;for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;}}-function KNe() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = UNe, c = HNe, l, u, d = WNe, f = GNe, p = 6;+function JNe() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = GNe, c = WNe, l, u, d = KNe, f = qNe, p = 6;function m() {let e = {nodes: d.apply(null, arguments),links: f.apply(null, arguments)};- return h(e), g(e), _(e), v(e), x(e), L3(e), e;+ return h(e), g(e), _(e), v(e), x(e), I3(e), e;}m.update = function(e) {- return L3(e), e;+ return I3(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : j3(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : A3(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : j3(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : A3(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -77387,9 +77391,9 @@ function KNe() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : j3(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : A3(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : j3(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : A3(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -77405,12 +77409,12 @@ function KNe() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = I3(n, t)), typeof i != "object" && (i = r.target = I3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = F3(n, t)), typeof i != "object" && (i = r.target = F3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);}if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);}function g({ nodes: e }) {- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(A3(t.sourceLinks, F3), A3(t.targetLinks, F3)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(k3(t.sourceLinks, P3), k3(t.targetLinks, P3)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -77435,7 +77439,7 @@ function KNe() {}}function y({ nodes: t }) {- let r = O3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = D3(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];@@ -77444,7 +77448,7 @@ function KNe() {return o;}function b(e) {- let n = k3(e, (e) => (r - t - (e.length - 1) * o) / A3(e, F3));+ let n = O3(e, (e) => (r - t - (e.length - 1) * o) / k3(e, P3));for (let i of e) {let e = t;for (let t of i) {@@ -77461,7 +77465,7 @@ function KNe() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (O3(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (D3(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);@@ -77480,7 +77484,7 @@ function KNe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(P3), w(i, n);+ l === void 0 && i.sort(N3), w(i, n);}}function C(e, t, n) {@@ -77496,7 +77500,7 @@ function KNe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(P3), w(i, n);+ l === void 0 && i.sort(N3), w(i, n);}}function w(e, n) {@@ -77517,12 +77521,12 @@ function KNe() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(N3);- for (let { target: { targetLinks: t } } of e) t.sort(M3);+ for (let { source: { sourceLinks: e } } of t) e.sort(M3);+ for (let { target: { targetLinks: t } } of e) t.sort(j3);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(N3), n.sort(M3);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(M3), n.sort(j3);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -77551,15 +77555,15 @@ function KNe() {return m;}// node_modules/d3-path/src/path.js-var R3 = Math.PI, z3 = 2 * R3, B3 = 1e-6, qNe = z3 - B3;-function V3() {+var L3 = Math.PI, R3 = 2 * L3, z3 = 1e-6, YNe = R3 - z3;+function B3() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function H3() {- return new V3();+function V3() {+ return new B3();}-V3.prototype = H3.prototype = {- constructor: V3,+B3.prototype = V3.prototype = {+ constructor: B3,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -77580,11 +77584,11 @@ V3.prototype = H3.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 > B3) {- if (!(Math.abs(u * s - c * l) > B3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);+ else if (d > z3) {+ if (!(Math.abs(u * s - c * l) > z3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);else {- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((R3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > B3 && (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((L3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > z3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);}}},@@ -77592,7 +77596,7 @@ V3.prototype = H3.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) > B3 || Math.abs(this._y1 - l) > B3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % z3 + z3), d > qNe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > B3 && (this._ += "A" + n + "," + n + ",0," + +(d >= R3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > z3 || Math.abs(this._y1 - l) > z3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % R3 + R3), d > YNe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > z3 && (this._ += "A" + n + "," + n + ",0," + +(d >= L3) + "," + 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";@@ -77602,93 +77606,93 @@ V3.prototype = H3.prototype = {}};// node_modules/d3-shape/src/constant.js-function U3(e) {+function H3(e) {return function() {return e;};}// node_modules/d3-shape/src/point.js-function JNe(e) {+function XNe(e) {return e[0];}-function YNe(e) {+function ZNe(e) {return e[1];}// node_modules/d3-shape/src/array.js-var XNe = Array.prototype.slice;+var QNe = Array.prototype.slice;// node_modules/d3-shape/src/link/index.js-function ZNe(e) {+function $Ne(e) {return e.source;}-function QNe(e) {+function ePe(e) {return e.target;}-function $Ne(e) {- var t = ZNe, n = QNe, r = JNe, i = YNe, a = null;+function tPe(e) {+ var t = $Ne, n = ePe, r = XNe, i = ZNe, a = null;function o() {- var o, s = XNe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = H3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;+ var o, s = QNe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = V3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;}return o.source = function(e) {return arguments.length ? (t = e, o) : t;}, o.target = function(e) {return arguments.length ? (n = e, o) : n;}, o.x = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : U3(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : H3(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : U3(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : H3(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function ePe(e, t, n, r, i) {+function nPe(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function tPe() {- return $Ne(ePe);+function rPe() {+ return tPe(nPe);}// node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function nPe(e) {+function iPe(e) {return [e.source.x1, e.y0];}-function rPe(e) {+function aPe(e) {return [e.target.x0, e.y1];}-function iPe() {- return tPe().source(nPe).target(rPe);+function oPe() {+ return rPe().source(iPe).target(aPe);}// src/react/taste/taste.ts-var aPe = "/api/taste", W3 = "/api/taste/refresh", oPe = "/api/taste/import", G3 = "/api/taste/source", K3 = (e) => ["taste", e], sPe = ["taste", "refresh"], cPe = [+var sPe = "/api/taste", U3 = "/api/taste/refresh", cPe = "/api/taste/import", W3 = "/api/taste/source", G3 = (e) => ["taste", e], lPe = ["taste", "refresh"], uPe = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], lPe = 2e3, uPe = (e) => e?.stale && !e.error ? lPe : !1, dPe = (e) => e ? new Date(e).toLocaleString("zh-CN", {+], dPe = 2e3, fPe = (e) => e?.stale && !e.error ? dPe : !1, pPe = (e) => e ? new Date(e).toLocaleString("zh-CN", {month: "numeric",day: "numeric",hour: "2-digit",minute: "2-digit"-}) : "—", fPe = (e, t) => V(G3, {+}) : "—", mPe = (e, t) => V(W3, {...e,window: t-}), q3 = (e, t, n = !1) => B(`${aPe}?window=${e}${n ? "&retry=1" : ""}`, t), pPe = (e) => B(W3, e);-async function mPe(e, t) {+}), K3 = (e, t, n = !1) => B(`${sPe}?window=${e}${n ? "&retry=1" : ""}`, t), hPe = (e) => B(U3, e);+async function gPe(e, t) {await H.fetchQuery({- queryKey: K3(e),- queryFn: () => q3(e, t)+ queryKey: G3(e),+ queryFn: () => K3(e, t)});}-var hPe = (e) => V(W3, {+var _Pe = (e) => V(U3, {window: e,background: !0-}), gPe = (e, t) => V(G3, {+}), vPe = (e, t) => V(W3, {operation: "remove",source_key: e,window: t});-async function _Pe(e) {- let t = await fetch(oPe, {+async function yPe(e) {+ let t = await fetch(cPe, {method: "POST",credentials: "same-origin",headers: {@@ -77706,52 +77710,52 @@ async function _Pe(e) {}return n;}-var vPe = 1e4, J3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";-function yPe(e) {+var bPe = 1e4, q3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+function xPe(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"- }) : J3(e);+ }) : q3(e);return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;}-var bPe = w3, xPe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), SPe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function CPe(e) {+var SPe = C3, CPe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), wPe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function TPe(e) {if (e.web_visits == null && !e.web_bookmarks) return Number(e.score || e.visits || 0).toLocaleString();let t = [], n = Number(e.web_bookmarks || 0), r = Number(e.web_visits ?? e.visits ?? 0) - n;return r > 0 && t.push(`浏览 ${r.toLocaleString()}`), n && t.push(`书签 ${n.toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");}-function wPe(e) {- let t = e.map(SPe), n = Math.max(1, ...t);+function EPe(e) {+ let t = e.map(wPe), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var Y3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({+var J3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({name: e.name,value: Number(e.score)})).sort((e, t) => t.value - e.value).slice(0, t);-function TPe(e) {- let t = Y3(e, 6);+function DPe(e) {+ let t = J3(e, 6);return t.length < 3 ? [] : t;}-var X3 = {+var Y3 = {width: 720,height: 435-}, EPe = {+}, OPe = {source: 145,target: 545-}, Z3 = 30, DPe = 240;-function Q3(e, t, n) {+}, X3 = 30, kPe = 240;+function Z3(e, t, n) {let r = /* @__PURE__ */ new Map();for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);if (r.size <= 12) return (e) => e;let i = [...r].sort((e, t) => t[1] - e[1]).map(([e]) => e), a = new Set(i.slice(0, 11)), o = n(i.length - a.size);return (e) => a.has(e) ? e : o;}-function OPe(e = []) {+function APe(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;- let n = Q3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = Q3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();+ let n = Z3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = Z3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();for (let e of t) {let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);s ? s.value += e.value : i.set(o, {@@ -77760,7 +77764,7 @@ function OPe(e = []) {value: e.value});}- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * Z3 + DPe), u = KNe().nodeId((e) => e.id).nodeWidth(10).nodePadding(Z3).extent([[155, 16], [535, l]])({+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * X3 + kPe), u = JNe().nodeId((e) => e.id).nodeWidth(10).nodePadding(X3).extent([[155, 16], [535, l]])({nodes: [...o.map((e) => ({id: `source:${e}`,name: e,@@ -77775,7 +77779,7 @@ function OPe(e = []) {target: `target:${e.target}`,value: e.value}))- }), d = a.reduce((e, t) => e + t.value, 0), f = iPe();+ }), d = a.reduce((e, t) => e + t.value, 0), f = oPe();return {nodes: u.nodes.map((e) => ({id: e.id,@@ -77803,17 +77807,17 @@ function OPe(e = []) {};}),total: d,- height: l + X3.height - 404+ height: l + Y3.height - 404};}-var kPe = (e) => er(e, 17), $3 = {+var jPe = (e) => er(e, 17), Q3 = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",series: "系列",tags: "标签"-}, APe = [[+}, MPe = [["big","大图 · 竖幅头像","maximize"@@ -77821,7 +77825,7 @@ var kPe = (e) => er(e, 17), $3 = {"compact","紧凑 · 圆形头像","layout-grid"-]], jPe = [[+]], NPe = [["big","大图 · 完整标识","maximize"@@ -77829,7 +77833,7 @@ var kPe = (e) => er(e, 17), $3 = {"compact","紧凑 · 圆形标识","layout-grid"-]], MPe = [[+]], PPe = [["big","大图 · 系列图片","maximize"@@ -77837,7 +77841,7 @@ var kPe = (e) => er(e, 17), $3 = {"compact","紧凑 · 系列图片","layout-grid"-]], NPe = [+]], FPe = [["studios","厂牌",@@ -77853,7 +77857,7 @@ var kPe = (e) => er(e, 17), $3 = {"系列","file-stack"]-], PPe = [[+], IPe = [["local","本地","hard-drive"@@ -77861,7 +77865,7 @@ var kPe = (e) => er(e, 17), $3 = {"online","在线","rss"-]], FPe = [+]], LPe = [["performers","艺人",@@ -77877,7 +77881,7 @@ var kPe = (e) => er(e, 17), $3 = {"在线","rss"]-], IPe = [[+], RPe = [["cloud","标签云","tags"@@ -77885,8 +77889,8 @@ var kPe = (e) => er(e, 17), $3 = {"alphabet","字母表","text-aa"-]], e6 = (e) => e === "compact" ? "compact" : "big";-function t6(e, t) {+]], $3 = (e) => e === "compact" ? "compact" : "big";+function e6(e, t) {let n = new URLSearchParams(t);return {kind: e,@@ -77896,7 +77900,7 @@ function t6(e, t) {category: n.get("category") || "all"};}-var n6 = (e, t, n) => Hs(e.map(([e, t, n]) => ({+var t6 = (e, t, n) => Hs(e.map(([e, t, n]) => ({value: e,label: t,symbol: n@@ -77904,12 +77908,12 @@ var n6 = (e, t, n) => Hs(e.map(([e, t, n]) => ({active: t,label: n,className: "indextabs"-}), LPe = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col">+}), zPe = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col"><div class="flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2" data-filter-row="top" data-skeleton-tier="filter-pill" aria-label="标签类型"></div><div class="flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2" data-filter-row="bottom"><span class="countskeleton"></span>- <span class="ml-auto">${Xc("tag-view", "标签视图", IPe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;-function RPe({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = $3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Xc("people-layout", o + "索引版式", e === "series" ? MPe : c ? jPe : APe, a) : "";+ <span class="ml-auto">${Xc("tag-view", "标签视图", RPe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;+function BPe({ kind: e, q: t, scope: n, view: r, category: i }, a) {+ let o = Q3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Xc("people-layout", o + "索引版式", e === "series" ? PPe : c ? NPe : MPe, 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}@@ -77921,24 +77925,24 @@ function RPe({ 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">${Es("", t, "过滤" + o)}</div></div>- ${e === "tags" ? n6(PPe, n, "词表") : e === "performers" || e === "creators" ? n6(FPe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? n6(NPe, e, "资料类型") : ""}- ${e === "tags" ? LPe(r) : ""}- ${e === "performers" && n !== "online" ? zTe(i) : ""}+ ${e === "tags" ? t6(IPe, n, "词表") : e === "performers" || e === "creators" ? t6(LPe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? t6(FPe, e, "资料类型") : ""}+ ${e === "tags" ? zPe(r) : ""}+ ${e === "performers" && n !== "online" ? VTe(i) : ""}${rc({kind: e,layout: a,mode: r})}`;}-var zPe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";-function r6(e, t, n) {- let r = RPe(t, n);- e.querySelector("[data-skeleton]")?.dataset.skeleton !== zPe(r) && (e.innerHTML = r, uc(e));+var VPe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";+function n6(e, t, n) {+ let r = BPe(t, n);+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== VPe(r) && (e.innerHTML = r, uc(e));}// src/react/router/pages/index-entity.tsx-var BPe = () => uu, VPe = () => Yl, i6 = () => document.getElementById("index");-function a6(e, t, n = {}) {- let r = (0, F.useSyncExternalStore)(xu, BPe);+var HPe = () => uu, UPe = () => Yl, r6 = () => document.getElementById("index");+function i6(e, t, n = {}) {+ let r = (0, F.useSyncExternalStore)(xu, HPe);Qd();let i = Rf(W.navigation.location.pathname), a = (0, F.useRef)({mounted: !0,@@ -77986,11 +77990,11 @@ function a6(e, t, n = {}) {i]);}-async function HPe(e, t, n, r) {- let i = i6();+async function WPe(e, t, n, r) {+ let i = r6();if (!i) return;- let a = `/${t}`, o = t6(t, n), s = e6(mM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;- c || (e.surfaceChanged("index", a), r6(i, o, s), lm(r, i, { pending: !0 })), await fp(a, {+ let a = `/${t}`, o = e6(t, n), s = $3(mM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;+ c || (e.surfaceChanged("index", a), n6(i, o, s), lm(r, i, { pending: !0 })), await fp(a, {...o,layout: s,selectMode: Yl,@@ -78001,23 +78005,23 @@ async function HPe(e, t, n, r) {reuse: c}) && r() && (e.surfaceShown?.("index", a), lm(r, i));}-function UPe(e) {- let t = i6(), n = t ? sp(t) : null;+function GPe(e) {+ let t = r6(), n = t ? sp(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}-function WPe({ epoch: e }) {- let t = (0, F.useContext)(lG), n = Qd(), r = n.pathname.split("/").filter(Boolean)[0];- return a6(e, (e, i) => {- t && HPe(t, r, n.search, i);- }, { shown: () => UPe(`/${r}`) }), null;+function KPe({ epoch: e }) {+ let t = (0, F.useContext)(sG), n = Qd(), r = n.pathname.split("/").filter(Boolean)[0];+ return i6(e, (e, i) => {+ t && WPe(t, r, n.search, i);+ }, { shown: () => GPe(`/${r}`) }), null;}-function GPe() {- let e = cG(), t = (0, F.useSyncExternalStore)(xu, VPe), n = (0, F.useRef)(t);+function qPe() {+ let e = oG(), t = (0, F.useSyncExternalStore)(xu, UPe), n = (0, F.useRef)(t);return (0, F.useEffect)(() => {- n.current !== t && (n.current = t, window.location.pathname === "/tags" && mp(i6(), { selectMode: t }));- }, [t]), /* @__PURE__ */ (0, I.jsx)(WPe, { epoch: e }, e);+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && mp(r6(), { selectMode: t }));+ }, [t]), /* @__PURE__ */ (0, I.jsx)(KPe, { epoch: e }, e);}-function KPe(e) {+function JPe(e) {let t;try {t = decodeURIComponent(e);@@ -78031,9 +78035,9 @@ function KPe(e) {name: a} : null;}-var o6 = /* @__PURE__ */ new WeakMap();-function qPe(e) {- let t = o6.get(e);+var a6 = /* @__PURE__ */ new WeakMap();+function YPe(e) {+ let t = a6.get(e);return t || (t = {helpers: {...e.grid.helpers,@@ -78043,14 +78047,14 @@ function qPe(e) {...e.grid.actions,revealSource: e.revealSource}- }, o6.set(e, t)), t;+ }, a6.set(e, t)), t;}-function s6() {- let e = i6(), t = e ? sp(e) : null;+function o6() {+ let e = r6(), t = e ? sp(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}-async function JPe(e, t, n, r, i, a, o) {- let s = i6();+async function XPe(e, t, n, r, i, a, o) {+ let s = r6();if (!s) return;let { segment: c, kind: l, name: u } = n;if (!a()) return;@@ -78073,7 +78077,7 @@ async function JPe(e, t, n, r, i, a, o) {let g = {...h,hosts: m,- card: qPe(e),+ card: YPe(e),resolvedEntity: o,restoreNavigation: sm(),actions: {@@ -78088,16 +78092,16 @@ async function JPe(e, t, n, r, i, a, o) {isCurrent: a,beforePlace: () => e.surfaceChanged("entity", r),place: (e) => (e.replaceChildren(...f), p.firstElementChild)- }) && a() && s6() && (e.surfaceShown?.("entity", r), lm(a, m.filter));+ }) && a() && o6() && (e.surfaceShown?.("entity", r), lm(a, m.filter));}-function YPe({ target: e }) {- let t = (0, F.useContext)(lG), n = cG(), r = Qd();- return a6(n, (n, i) => {+function ZPe({ target: e }) {+ let t = (0, F.useContext)(sG), n = oG(), r = Qd();+ return i6(n, (n, i) => {let a = t?.entity;t && a && (async () => {- if (n || !s6()) {+ if (n || !o6()) {if (t.surfaceChanged("entity", r.pathname), await a.loading(e.kind, e.name, i), !i()) return;- lm(i, i6(), { pending: !0 });+ lm(i, r6(), { pending: !0 });}let o = new URLSearchParams({ kind: e.kind });o.set(/^[0-9]+$/.test(e.name) ? "id" : "name", e.name);@@ -78123,7 +78127,7 @@ function YPe({ target: e }) {return;}let c = String(s.canonical_name || e.name), l = Nn(e.kind, c, Number(s.id));- l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? lm(i, i6()?.querySelector("[data-entity-filter]")) : JPe(t, a, {+ l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? lm(i, r6()?.querySelector("[data-entity-filter]")) : XPe(t, a, {...e,name: c}, r.pathname, r.search, i, s) : Ep(l + r.search + r.hash, {@@ -78131,16 +78135,16 @@ function YPe({ target: e }) {state: W.navigation.location.state});})();- }, { shown: () => s6() && !i6()?.hidden }), null;+ }, { shown: () => o6() && !r6()?.hidden }), null;}-function XPe() {- let e = KPe(Qd().pathname);- return e ? /* @__PURE__ */ (0, I.jsx)(YPe, { target: e }, JSON.stringify([e.kind, e.name])) : null;+function QPe() {+ let e = JPe(Qd().pathname);+ return e ? /* @__PURE__ */ (0, I.jsx)(ZPe, { target: e }, JSON.stringify([e.kind, e.name])) : null;}// src/react/router/pages/follow.tsx-var c6 = () => document.getElementById("stats"), ZPe = () => gu;-async function QPe(e, t) {- let n = c6(), r = e.follow;+var s6 = () => document.getElementById("stats"), $Pe = () => gu;+async function eFe(e, t) {+ let n = s6(), r = e.follow;if (!n || !r) return;let i = om("follow"), a = r.refresh(i), o = r.props();if (am("follow", {@@ -78149,34 +78153,34 @@ async function QPe(e, t) {revision: o.revision}), a) return;let s = H.getQueryData(na(o.view, o.revision).queryKey) !== void 0;- s || (e.surfaceChanged("follow", "/follow"), k2(n, r.skeleton()), lm(t, n, { pending: !0 })), await fp("/follow", o, {+ s || (e.surfaceChanged("follow", "/follow"), O2(n, r.skeleton()), lm(t, n, { pending: !0 })), await fp("/follow", o, {container: n,isCurrent: t,beforePlace: s ? () => e.surfaceChanged("follow", "/follow") : void 0}), t() && lm(t, n.querySelector("[data-filter-frame]"));}-function $Pe() {- let e = c6(), t = e ? sp(e) : null;+function tFe() {+ let e = s6(), t = e ? sp(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}-function eFe() {- let e = (0, F.useContext)(lG);- return a6(cG(), (t, n) => {- e && QPe(e, n);+function nFe() {+ let e = (0, F.useContext)(sG);+ return i6(oG(), (t, n) => {+ e && eFe(e, n);}, {- shown: $Pe,+ shown: tFe,onCovered: () => {W.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();}}), null;}-function l6(e) {+function c6(e) {let t = e ? sp(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}-async function tFe(e, t) {- let n = c6();- n && (e.surfaceChanged("playlists", "/playlists"), k2(n, D2("/playlists", {+async function rFe(e, t) {+ let n = s6();+ n && (e.surfaceChanged("playlists", "/playlists"), O2(n, E2("/playlists", {followLayout: "",followSort: "",followDir: ""@@ -78185,54 +78189,54 @@ async function tFe(e, t) {isCurrent: t}), t() && lm(t));}-function nFe() {- let e = (0, F.useContext)(lG), t = (0, F.useSyncExternalStore)(xu, ZPe), n = (0, F.useRef)(t);+function iFe() {+ let e = (0, F.useContext)(sG), t = (0, F.useSyncExternalStore)(xu, $Pe), n = (0, F.useRef)(t);return (0, F.useEffect)(() => {if (n.current === t) return;n.current = t;- let e = c6();- l6(e) && mp(e, { revision: t });- }, [t]), a6(cG(), (t, n) => {- e && tFe(e, n);+ let e = s6();+ c6(e) && mp(e, { revision: t });+ }, [t]), i6(oG(), (t, n) => {+ e && rFe(e, n);}, { shown: () => {- let e = c6();- return l6(e) && !e.hidden;+ let e = s6();+ return c6(e) && !e.hidden;} }), null;}// src/react/router/pages/immerse.tsx-function rFe() {+function aFe() {let e = new URLSearchParams(W.navigation.location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function iFe() {- let e = (0, F.useContext)(lG);- return nG(() => {- e?.openImmerse(rFe());+function oFe() {+ let e = (0, F.useContext)(sG);+ return eG(() => {+ e?.openImmerse(aFe());}, !0), null;}-function aFe() {- return /* @__PURE__ */ (0, I.jsx)(iFe, {}, cG());+function sFe() {+ return /* @__PURE__ */ (0, I.jsx)(oFe, {}, oG());}// src/react/router/pages/managed.tsx-var oFe = () => uu > 0, u6 = () => (0, F.useSyncExternalStore)(xu, oFe), d6 = () => mM().value.followLayout === "table" ? "table" : "default", f6 = () => new URLSearchParams(window.location.search);-function p6(e) {+var cFe = () => uu > 0, l6 = () => (0, F.useSyncExternalStore)(xu, cFe), u6 = () => mM().value.followLayout === "table" ? "table" : "default", d6 = () => new URLSearchParams(window.location.search);+function f6(e) {return wn("/healthz", { signal: e.controller.signal }).catch((e) => {if (Tn(e)) return null;throw e;});}-function m6(e, t) {+function p6(e, t) {return {readOnly: !!e?.ledger_read_only,readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""};}-async function sFe(e, t) {+async function lFe(e, t) {if (e === "/jav") {- let e = await p6(t);+ let e = await f6(t);return t.live ? {- tab: $H(f6().get("tab")),+ tab: QH(d6().get("tab")),readOnly: !!e?.ledger_read_only} : null;}@@ -78243,50 +78247,50 @@ async function sFe(e, t) {}if (e.startsWith("/settings/")) {window.location.hash === "#peachProxy" && yu({ configurationRequestedSection: "网络与访问" });- let t = f6().get("section") || su || Of(e);+ let t = d6().get("section") || su || Of(e);return t ? { section: t } : {};}if (e === "/review") {- let e = f6().get("category") || "", n = await p6(t);+ let e = d6().get("category") || "", n = await f6(t);return t.live ? {- category: GY(e) ? e : "",- queue: JY(f6().get("queue")),- ...m6(n, "/review")+ category: UY(e) ? e : "",+ queue: KY(d6().get("queue")),+ ...p6(n, "/review")} : null;}if (e === "/subscriptions") {- let e = eQ("?" + f6().toString()), n = await p6(t);+ let e = QZ("?" + d6().toString()), n = await f6(t);if (!t.live) return null;let r = mM().value;return {...e,pageSize: Number(r.followPageSize) || 20,- layout: d6(),- ...m6(n, "/subscriptions")+ layout: u6(),+ ...p6(n, "/subscriptions")};}return {};}-async function cFe(e, t, n) {+async function uFe(e, t, n) {let r = W.navigation.seq, i = () => n.live && W.navigation.seq === r;- if (e === "/jav" && $H(f6().get("tab")) === "library") {- W.replace(I_e(window.location.search));+ if (e === "/jav" && QH(d6().get("tab")) === "library") {+ W.replace(L_e(window.location.search));return;}- if (e === "/subscriptions" && f6().get("tab") === "wants") {+ if (e === "/subscriptions" && d6().get("tab") === "wants") {Ep("/jav?tab=wants", { replace: !0 });return;}- if (e === "/subscriptions" && f6().get("tab") === "source") {+ if (e === "/subscriptions" && d6().get("tab") === "source") {Ep("/settings/subscriptions", { replace: !0 });return;}let a = document.getElementById("stats");if (!a) return;- t.surfaceChanged("management", e), k2(a, D2(e, {- followLayout: d6(),- followSort: f6().get("sort") || "",- followDir: f6().get("dir") || ""+ t.surfaceChanged("management", e), O2(a, E2(e, {+ followLayout: u6(),+ followSort: d6().get("sort") || "",+ followDir: d6().get("dir") || ""})), lm(i, a, { pending: !0 }), e === "/taste" && (yu({ state: {...U,creator: "",@@ -78302,7 +78306,7 @@ async function cFe(e, t, n) {q: "",jav: ""} }), t.clearSearch());- let o = await sFe(e, n);+ let o = await lFe(e, n);if (!o) return;let s = await fp(e, o, {container: a,@@ -78318,19 +78322,19 @@ async function cFe(e, t, n) {}) : lm(i);}}-function h6({ path: e }) {- let t = cG();+function m6({ path: e }) {+ let t = oG();Qd();let n = Rf(W.navigation.location.pathname), r = (0, F.useRef)(n ? null : t), i = (0, F.useRef)(n);n || i.current && r.current !== null || (r.current = t), i.current = n;let a = e.startsWith("/settings/") ? "/settings/configuration" : e;- return /* @__PURE__ */ (0, I.jsx)(lFe, {+ return /* @__PURE__ */ (0, I.jsx)(dFe, {path: e,covered: r.current === null}, `${a} ${r.current ?? "covered"}`);}-function lFe({ path: e, covered: t }) {- let n = (0, F.useContext)(lG), r = u6(), i = (0, F.useRef)(null);+function dFe({ path: e, covered: t }) {+ let n = (0, F.useContext)(sG), r = l6(), i = (0, F.useRef)(null);return (0, F.useEffect)(() => {e.startsWith("/settings/") && mp(document.getElementById("stats"), { section: Of(e) });}, [e]), (0, F.useEffect)(() => {@@ -78341,15 +78345,15 @@ function lFe({ path: e, covered: t }) {controller: new AbortController()};i.current = a, queueMicrotask(() => {- a.live && cFe(e, n, a);+ a.live && uFe(e, n, a);});}, [r]), (0, F.useEffect)(() => () => {let e = i.current;e && (e.live = !1, e.controller.abort());}, []), null;}-function uFe() {- let e = u6(), t = (0, F.useRef)(!1);+function fFe() {+ let e = l6(), t = (0, F.useRef)(!1);return (0, F.useEffect)(() => {if (!e || t.current || Rf(W.navigation.location.pathname)) return;t.current = !0;@@ -78362,24 +78366,24 @@ function uFe() {}, [e]), null;}// src/react/router/route-chunk.ts-var g6 = [], _6 = "peach.chunkReloadAt", dFe = 3e4;-async function fFe() {+var h6 = [], g6 = "peach.chunkReloadAt", pFe = 3e4;+async function mFe() {try {- let e = Number(sessionStorage.getItem(_6) || 0);- if (Date.now() - e < dFe || !(await fetch("/healthz", {+ let e = Number(sessionStorage.getItem(g6) || 0);+ if (Date.now() - e < pFe || !(await fetch("/healthz", {cache: "no-store",credentials: "same-origin"})).ok) return;- sessionStorage.setItem(_6, String(Date.now())), location.reload();+ sessionStorage.setItem(g6, String(Date.now())), location.reload();} catch {}}-function v6(e) {+function _6(e) {let t = null, n = null, r = () => n ??= e().then((e) => (t = { module: e }, e), (e) => {throw n = null, e;});- return g6.push(r), {+ return h6.push(r), {preload: () => r().catch(async (e) => {- throw await fFe(), e;+ throw await mFe(), e;}),get: () => {if (!t) throw Error("页面代码还没装载");@@ -78387,10 +78391,10 @@ function v6(e) {}};}-function pFe() {+function hFe() {let e = globalThis.requestIdleCallback;if (typeof e != "function") return;- let t = [...g6], n = () => {+ let t = [...h6], n = () => {let r = t.shift();r && e(() => {r().catch(() => {}).finally(n);@@ -78399,31 +78403,31 @@ function pFe() {document.readyState === "complete" ? n() : window.addEventListener("load", n, { once: !0 });}// src/react/router/managed-routes.tsx-async function y6(e, t) {+async function v6(e, t) {let [n, r] = await Promise.allSettled([e.preload(), t]);if (r.status === "rejected") throw r.reason;if (n.status === "rejected") throw n.reason;}-var b6 = v6(() => import("./peach-app.jav-page-C2bS144a.js")), x6 = v6(() => import("./peach-app.stats-page-DhNggTPt.js")), S6 = v6(() => import("./peach-app.taste-page-O5P41pRb.js")), C6 = v6(() => import("./peach-app.review-page-kd1HFP2A.js")), w6 = v6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), T6 = v6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), E6 = v6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), D6 = v6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), O6 = v6(async () => {+var y6 = _6(() => import("./peach-app.jav-page-C2bS144a.js")), b6 = _6(() => import("./peach-app.stats-page-DhNggTPt.js")), x6 = _6(() => import("./peach-app.taste-page-O5P41pRb.js")), S6 = _6(() => import("./peach-app.review-page-kd1HFP2A.js")), C6 = _6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), w6 = _6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), T6 = _6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), E6 = _6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), D6 = _6(async () => {let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-BzA2e_yA.js"), import("./peach-app.diagnostics-page-yTNOV5os.js")]);return {ConfigurationPage: e,DiagnosticsPage: t};-}), k6 = v6(() => import("./peach-app.activity-page-jwNyYMn1.js")), A6 = v6(() => import("./peach-app.follow-manage-page-Bvnaf0EO.js")), j6 = v6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));-function mFe(e, t, n) {+}), O6 = _6(() => import("./peach-app.activity-page-CDOzqSMm.js")), k6 = _6(() => import("./peach-app.follow-manage-page-Bvnaf0EO.js")), A6 = _6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));+function gFe(e, t, n) {if (e === "duplicates") {n("/duplicates");return;}let r = t.managePath(e);- P6(r) ? n(r) : t.openManage(e);+ N6(r) ? n(r) : t.openManage(e);}-var M6 = (e) => ({- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: e }),- prefetch: (t, n) => y6(O6, Promise.all([Mke(n), ...e === "/settings/diagnostics" ? [iOe(n)] : []]).then(() => {})),+var j6 = (e) => ({+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: e }),+ prefetch: (t, n) => v6(D6, Promise.all([Pke(n), ...e === "/settings/diagnostics" ? [oOe(n)] : []]).then(() => {})),page: (t, n) => {- let { ConfigurationPage: r, DiagnosticsPage: i } = O6.get();+ let { ConfigurationPage: r, DiagnosticsPage: i } = D6.get();return /* @__PURE__ */ (0, I.jsx)(r, {receipt: (e) => n.receipt(e),reopenTutorial: n.reopenTutorial,@@ -78434,12 +78438,12 @@ var M6 = (e) => ({})});}-}), N6 = {+}), M6 = {...qf.reduce((e, t) => (e[t.path] = {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: t.path }),- prefetch: (e, n) => y6(w6, kTe(t.key, n)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: t.path }),+ prefetch: (e, n) => v6(C6, jTe(t.key, n)),page: (e, n) => {- let { DataCleanupToolPage: r } = w6.get();+ let { DataCleanupToolPage: r } = C6.get();return /* @__PURE__ */ (0, I.jsx)(r, {tool: t.key,failure: n.failure,@@ -78448,10 +78452,10 @@ var M6 = (e) => ({}}, e), {}),"/jav": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/jav" }),- prefetch: (e, t) => y6(b6, PW(e.tab, t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/jav" }),+ prefetch: (e, t) => v6(y6, MW(e.tab, t)),page: (e, t) => {- let { JavPage: n } = b6.get();+ let { JavPage: n } = y6.get();return /* @__PURE__ */ (0, I.jsx)(n, {...e,navigate: t.navigate,@@ -78460,10 +78464,10 @@ var M6 = (e) => ({}},"/stats": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/stats" }),- prefetch: (e, t) => y6(x6, ENe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/stats" }),+ prefetch: (e, t) => v6(b6, ONe(t)),page: (e, t) => {- let { StatsPage: n } = x6.get();+ let { StatsPage: n } = b6.get();return /* @__PURE__ */ (0, I.jsx)(n, {tagLabel: Pl,onTag: t.openTag@@ -78471,10 +78475,10 @@ var M6 = (e) => ({}},"/taste": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/taste" }),- prefetch: (e, t) => y6(S6, mPe("all", t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/taste" }),+ prefetch: (e, t) => v6(x6, gPe("all", t)),page: (e, t, n) => {- let { TastePage: r } = S6.get();+ let { TastePage: r } = x6.get();return /* @__PURE__ */ (0, I.jsx)(r, {onSignal: t.openTasteSignal,navigate: n,@@ -78484,10 +78488,10 @@ var M6 = (e) => ({}},"/review": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/review" }),- prefetch: (e, t) => y6(C6, ywe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/review" }),+ prefetch: (e, t) => v6(S6, xwe(t)),page: (e, t) => {- let { ReviewPage: n } = C6.get();+ let { ReviewPage: n } = S6.get();return /* @__PURE__ */ (0, I.jsx)(n, {...e,route: t.routeReview,@@ -78499,23 +78503,23 @@ var M6 = (e) => ({}},"/data-cleanup": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/data-cleanup" }),- prefetch: (e, t) => y6(w6, OTe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/data-cleanup" }),+ prefetch: (e, t) => v6(C6, ATe(t)),page: (e, t, n) => {- let { DataCleanupPage: r } = w6.get();+ let { DataCleanupPage: r } = C6.get();return /* @__PURE__ */ (0, I.jsx)(r, {navigate: n,failure: t.failure,- open: (e) => mFe(e, t, n),+ open: (e) => gFe(e, t, n),toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)});}},"/duplicates": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/duplicates" }),- prefetch: (e, t) => y6(T6, FCe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/duplicates" }),+ prefetch: (e, t) => v6(w6, LCe(t)),page: (e, t) => {- let { DuplicatesPage: n } = T6.get();+ let { DuplicatesPage: n } = w6.get();return /* @__PURE__ */ (0, I.jsx)(n, {openItem: t.openItem,failure: t.failure,@@ -78524,10 +78528,10 @@ var M6 = (e) => ({}},"/quality-goals": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/quality-goals" }),- prefetch: (e, t) => y6(E6, qCe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/quality-goals" }),+ prefetch: (e, t) => v6(T6, YCe(t)),page: (e, t) => {- let { QualityGoalsPage: n } = E6.get();+ let { QualityGoalsPage: n } = T6.get();return /* @__PURE__ */ (0, I.jsx)(n, {openItem: t.openItem,javTitleHtml: aL,@@ -78538,32 +78542,32 @@ var M6 = (e) => ({}},"/sources": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/sources" }),- prefetch: (e, t) => y6(D6, Ske(t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/sources" }),+ prefetch: (e, t) => v6(E6, wke(t)),page: (e, t) => {- let { ScrapingPage: n } = D6.get();+ let { ScrapingPage: n } = E6.get();return /* @__PURE__ */ (0, I.jsx)(n, { toast: (e) => t.toast(e) });}},- "/settings/library": M6("/settings/library"),- "/settings/subscriptions": M6("/settings/subscriptions"),- "/settings/downloads": M6("/settings/downloads"),- "/settings/network": M6("/settings/network"),- "/settings/maintenance": M6("/settings/maintenance"),- "/settings/diagnostics": M6("/settings/diagnostics"),+ "/settings/library": j6("/settings/library"),+ "/settings/subscriptions": j6("/settings/subscriptions"),+ "/settings/downloads": j6("/settings/downloads"),+ "/settings/network": j6("/settings/network"),+ "/settings/maintenance": j6("/settings/maintenance"),+ "/settings/diagnostics": j6("/settings/diagnostics"),"/tasks": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/tasks" }),- prefetch: (e, t) => y6(k6, zfe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/tasks" }),+ prefetch: (e, t) => v6(O6, zfe(t)),page: () => {- let { ActivityPage: e } = k6.get();+ let { ActivityPage: e } = O6.get();return /* @__PURE__ */ (0, I.jsx)(e, {});}},"/subscriptions": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/subscriptions" }),- prefetch: (e, t) => y6(A6, Li(t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/subscriptions" }),+ prefetch: (e, t) => v6(k6, Li(t)),page: (e, t) => {- let { FollowManagePage: n } = A6.get();+ let { FollowManagePage: n } = k6.get();return /* @__PURE__ */ (0, I.jsx)(n, {...e,route: t.routeFollowManage,@@ -78573,12 +78577,12 @@ var M6 = (e) => ({});}}-}, P6 = (e) => Object.hasOwn(N6, e), hFe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(uFe, {}) } }, gFe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(aFe, {}) } }, F6 = {+}, N6 = (e) => Object.hasOwn(M6, e), _Fe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(fFe, {}) } }, vFe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(sFe, {}) } }, P6 = {"/playlists": {- element: /* @__PURE__ */ (0, I.jsx)(nFe, {}),- prefetch: (e, t) => y6(j6, oke(t)),+ element: /* @__PURE__ */ (0, I.jsx)(iFe, {}),+ prefetch: (e, t) => v6(A6, cke(t)),page: (e, t) => {- let { PlaylistsPage: n } = j6.get();+ let { PlaylistsPage: n } = A6.get();return /* @__PURE__ */ (0, I.jsx)(n, {revision: e.revision,openPlaylist: t.openPlaylist,@@ -78589,14 +78593,14 @@ var M6 = (e) => ({}},"/follow": {- element: /* @__PURE__ */ (0, I.jsx)(eFe, {}),+ element: /* @__PURE__ */ (0, I.jsx)(nFe, {}),prefetch: (e, t) => aa(e, t),- page: (e) => /* @__PURE__ */ (0, I.jsx)(LEe, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(zEe, { ...e })}-}, I6 = (e) => Object.hasOwn(F6, e), L6 = {- element: /* @__PURE__ */ (0, I.jsx)(GPe, {}),- prefetch: (e, t) => XTe(e, t),- page: (e, t) => /* @__PURE__ */ (0, I.jsx)(vOe, {+}, F6 = (e) => Object.hasOwn(P6, e), I6 = {+ element: /* @__PURE__ */ (0, I.jsx)(qPe, {}),+ prefetch: (e, t) => QTe(e, t),+ page: (e, t) => /* @__PURE__ */ (0, I.jsx)(bOe, {...e,route: t.routeIndex,savePreference: t.savePeopleLayout,@@ -78609,56 +78613,56 @@ var M6 = (e) => ({openFollowAuthor: t.openFollowAuthor,openFollowTag: t.openFollowTag})+}, L6 = {+ "/performers": I6,+ "/creators": I6,+ "/studios": I6,+ "/agencies": I6,+ "/tags": I6,+ "/series": I6}, R6 = {- "/performers": L6,- "/creators": L6,- "/studios": L6,- "/agencies": L6,- "/tags": L6,- "/series": L6+ element: /* @__PURE__ */ (0, I.jsx)(QPe, {}),+ prefetch: (e) => BTe(e),+ page: (e) => /* @__PURE__ */ (0, I.jsx)(tOe, { ...e })}, z6 = {- element: /* @__PURE__ */ (0, I.jsx)(XPe, {}),- prefetch: (e) => RTe(e),- page: (e) => /* @__PURE__ */ (0, I.jsx)($De, { ...e })+ "/performers/*": R6,+ "/studios/*": R6,+ "/creators/*": R6,+ "/series/*": R6,+ "/agencies/*": R6,+ "/tags/*": R6}, B6 = {- "/performers/*": z6,- "/studios/*": z6,- "/creators/*": z6,- "/series/*": z6,- "/agencies/*": z6,- "/tags/*": z6-}, V6 = {"/": {- element: /* @__PURE__ */ (0, I.jsx)(ZW, {}),+ element: /* @__PURE__ */ (0, I.jsx)(YW, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, I.jsx)(TY, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(CY, { ...e })},"/junk-files": {- element: /* @__PURE__ */ (0, I.jsx)(ZW, {}),+ element: /* @__PURE__ */ (0, I.jsx)(YW, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, I.jsx)(jOe, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(NOe, { ...e })}-}, H6 = (e) => Object.hasOwn(V6, e), _Fe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(lve, { ...e }) : /* @__PURE__ */ (0, I.jsx)(H$, { ...e }), U6 = {+}, V6 = (e) => Object.hasOwn(B6, e), yFe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(uve, { ...e }) : /* @__PURE__ */ (0, I.jsx)(V$, { ...e }), H6 = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, I.jsx)(Mye, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(Pye, { ...e })},"feed-new": {- prefetch: (e) => PTe(e),- page: (e) => /* @__PURE__ */ (0, I.jsx)(aOe, { ...e })+ prefetch: (e) => ITe(e),+ page: (e) => /* @__PURE__ */ (0, I.jsx)(sOe, { ...e })},"library-processing": {- prefetch: (e, t) => SH(t),- page: (e) => /* @__PURE__ */ (0, I.jsx)(_Fe, { ...e })+ prefetch: (e, t) => xH(t),+ page: (e) => /* @__PURE__ */ (0, I.jsx)(yFe, { ...e })},search: {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, I.jsx)(Oke, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(Ake, { ...e })}-}, W6 = (e) => Object.hasOwn(U6, e), G6 = {+}, U6 = (e) => Object.hasOwn(H6, e), W6 = {"batch-dock": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(Kce, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(Wce, {})},"glow-picker": {prefetch: async () => {},@@ -78674,17 +78678,17 @@ var M6 = (e) => ({},"settings-panel": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(Zke, {})+ page: () => /* @__PURE__ */ (0, I.jsx)($ke, {})},sidebar: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(pAe, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(hAe, {})},stage: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(wNe, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(ENe, {})}-}, K6 = (e) => Object.hasOwn(G6, e), q6 = [+}, G6 = (e) => Object.hasOwn(W6, e), K6 = ["/","/wall","/unseen",@@ -78694,99 +78698,99 @@ var M6 = (e) => ({"/junk-files"];[- ...Object.keys(N6),- ...Object.keys(F6),- ...Object.keys(R6),- ...Object.keys(B6),- ...q6+ ...Object.keys(M6),+ ...Object.keys(P6),+ ...Object.keys(L6),+ ...Object.keys(z6),+ ...K6];-var J6 = (e) => P6(e) || I6(e) || Object.hasOwn(R6, e) || Object.hasOwn(B6, e) || H6(e) || W6(e) || K6(e);-function Y6(e) {- return P6(e) ? N6[e] : I6(e) ? F6[e] : H6(e) ? V6[e] : W6(e) ? U6[e] : K6(e) ? G6[e] : Object.hasOwn(R6, e) ? R6[e] : B6[e];+var q6 = (e) => N6(e) || F6(e) || Object.hasOwn(L6, e) || Object.hasOwn(z6, e) || V6(e) || U6(e) || G6(e);+function J6(e) {+ return N6(e) ? M6[e] : F6(e) ? P6[e] : V6(e) ? B6[e] : U6(e) ? H6[e] : G6(e) ? W6[e] : Object.hasOwn(L6, e) ? L6[e] : z6[e];}-function vFe(e, t, n) {- return J6(e) ? Y6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));+function bFe(e, t, n) {+ return q6(e) ? J6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}-function yFe(e, t, n, r) {- return Y6(e).page(t, n, r);+function xFe(e, t, n, r) {+ return J6(e).page(t, n, r);}// src/react/application-residents.ts-var X6 = null, Z6 = null, Q6 = 0, $6 = /* @__PURE__ */ new Set();-function bFe(e) {- return X6 = e, Z6 && e(Z6), () => {- X6 === e && (X6 = null);+var Y6 = null, X6 = null, Z6 = 0, Q6 = /* @__PURE__ */ new Set();+function SFe(e) {+ return Y6 = e, X6 && e(X6), () => {+ Y6 === e && (Y6 = null);};}-function xFe(e) {- return X6 && (Z6 = e, X6(e), op(Promise.resolve(vFe)), pFe()), Promise.resolve();+function CFe(e) {+ return Y6 && (X6 = e, Y6(e), op(Promise.resolve(bFe)), hFe()), Promise.resolve();}-async function e8(e, t, n = (e) => e) {- let r = Q6;- if (t.isConnected || $6.add(t), !await fp(e, {}, {+async function $6(e, t, n = (e) => e) {+ let r = Z6;+ if (t.isConnected || Q6.add(t), !await fp(e, {}, {container: t,resident: !0,- isCurrent: () => !!X6 && r === Q6,+ isCurrent: () => !!Y6 && r === Z6,place: () => n(t)- }) || r !== Q6 || !X6) throw new DOMException("应用已卸载", "AbortError");-}-function SFe() {- Q6 += 1, X6 = null, Z6 = null, t8 = null, n8 = null, a8 = null, o8 = null, c8 = null, l8 = null, d8 = null, f8 = null, m8 = null, h8 = null, _8 = null, v8 = null, b8 = null;- for (let e of $6) e.remove();- $6.clear(), c$();-}-var t8 = null, n8 = null;-function r8(e) {- return t8 ??= (async () => {- let t = CNe(e), n = document.createElement("div");- return n.dataset.stageHost = "", await e8("stage", n, (e) => (document.body.append(e), e)), n8 = t, t;- })(), t8;+ }) || r !== Z6 || !Y6) throw new DOMException("应用已卸载", "AbortError");}-var i8 = () => n8, a8 = null, o8 = null;-function CFe(e) {- return a8 ??= (async () => {- let t = yde(e), n = document.createElement("div");- return n.dataset.immerseHost = "", await e8("immerse", n, (e) => (document.body.append(e), e)), o8 = t, t;- })(), a8;+function wFe() {+ Z6 += 1, Y6 = null, X6 = null, e8 = null, t8 = null, i8 = null, a8 = null, s8 = null, c8 = null, u8 = null, d8 = null, p8 = null, m8 = null, g8 = null, _8 = null, y8 = null;+ for (let e of Q6) e.remove();+ Q6.clear(), o$();}-var s8 = () => o8, c8 = null, l8 = null;-function wFe(e) {- return c8 ??= (async () => {- let t = Xke(e), n = document.createElement("div");- return n.dataset.settingsHost = "", await e8("settings-panel", n, (e) => (document.body.append(e), e)), l8 = t, t;- })(), c8;+var e8 = null, t8 = null;+function n8(e) {+ return e8 ??= (async () => {+ let t = TNe(e), n = document.createElement("div");+ return n.dataset.stageHost = "", await $6("stage", n, (e) => (document.body.append(e), e)), t8 = t, t;+ })(), e8;}-var u8 = () => l8, d8 = null, f8 = null;+var r8 = () => t8, i8 = null, a8 = null;function TFe(e) {- return d8 ??= (async () => {- let t = fAe(e);- return await e8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), f8 = t, t;- })(), d8;+ return i8 ??= (async () => {+ let t = yde(e), n = document.createElement("div");+ return n.dataset.immerseHost = "", await $6("immerse", n, (e) => (document.body.append(e), e)), a8 = t, t;+ })(), i8;}-var p8 = () => f8, m8 = null, h8 = null;+var o8 = () => a8, s8 = null, c8 = null;function EFe(e) {- return m8 ??= (async () => {- let t = _fe(e);- return await e8("manage-header", e.root, (e) => (e.replaceChildren(), e)), h8 = t, t;- })(), m8;+ return s8 ??= (async () => {+ let t = Qke(e), n = document.createElement("div");+ return n.dataset.settingsHost = "", await $6("settings-panel", n, (e) => (document.body.append(e), e)), c8 = t, t;+ })(), s8;}-var g8 = () => h8, _8 = null, v8 = null;+var l8 = () => c8, u8 = null, d8 = null;function DFe(e) {- return _8 ??= (async () => {- let t = Gce(e);- return await e8("batch-dock", e.root), v8 = t, t;- })(), _8;+ return u8 ??= (async () => {+ let t = mAe(e);+ return await $6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), d8 = t, t;+ })(), u8;}-var y8 = () => v8, b8 = null;+var f8 = () => d8, p8 = null, m8 = null;function OFe(e) {- return b8 ??= (async () => {- Tle(e), await e8("glow-picker", e.root);- })(), b8;+ return p8 ??= (async () => {+ let t = _fe(e);+ return await $6("manage-header", e.root, (e) => (e.replaceChildren(), e)), m8 = t, t;+ })(), p8;+}+var h8 = () => m8, g8 = null, _8 = null;+function kFe(e) {+ return g8 ??= (async () => {+ let t = Uce(e);+ return await $6("batch-dock", e.root), _8 = t, t;+ })(), g8;}-function x8(e, t, n, r) {- l$(e, t), u$(n, r);+var v8 = () => _8, y8 = null;+function AFe(e) {+ return y8 ??= (async () => {+ Tle(e), await $6("glow-picker", e.root);+ })(), y8;+}+function b8(e, t, n, r) {+ s$(e, t), c$(n, r);}// src/application/receipts.js-var S8 = {+var x8 = {toastBody: void 0,toastSeq: void 0,toast: void 0,@@ -78795,13 +78799,13 @@ var S8 = {rollSeed: void 0,seededSample: void 0};-function kFe() {- l$(L("#toasts"), {+function jFe() {+ s$(L("#toasts"), {success: R("check"),error: R("circle-alert")- }), S8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), S8.toastSeq = 0, S8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {- let a = `toast-${++S8.toastSeq}`, o = (e, t, n, r) => {- Zo(i || (t ? "error" : "success")), x8(L("#toasts"), {+ }), x8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), x8.toastSeq = 0, x8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {+ let a = `toast-${++x8.toastSeq}`, o = (e, t, n, r) => {+ Zo(i || (t ? "error" : "success")), b8(L("#toasts"), {success: R("check"),error: R("circle-alert")}, a, {@@ -78816,10 +78820,10 @@ function kFe() {} : null});};- return o(S8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(S8.toastBody(e), t, n, null) };- }, S8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {+ return o(x8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(x8.toastBody(e), t, n, null) };+ }, x8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {let r = null;- return r = S8.toast({ text: e }, {+ return r = x8.toast({ text: e }, {timeout: n,action: t ? {label: "撤销",@@ -78832,14 +78836,14 @@ function kFe() {}} : null}), r;- }, S8.actionFailure = (e, t) => S8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), S8.rollSeed = () => rr(), S8.seededSample = (e, t, n, r = (e) => e.k) => {+ }, x8.actionFailure = (e, t) => x8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), x8.rollSeed = () => rr(), x8.seededSample = (e, t, n, r = (e) => e.k) => {if (e.length <= t) return e;let i = new Set([...e].sort((e, t) => nr(n, r(e)) - nr(n, r(t))).slice(0, t).map(r));return e.filter((e) => i.has(r(e)));};}// src/react/catalog-grid/catalog-state.ts-var AFe = [+var MFe = ["loc","creator","studio",@@ -78860,10 +78864,10 @@ var AFe = ["folder","folder_recursive"];-function C8(e, t, n, r = n.defaultSort) {+function S8(e, t, n, r = n.defaultSort) {return Yj(e, t, n.defaultSort, n.defaultSortDirection, r);}-function jFe(e, t, n) {+function NFe(e, t, n) {let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = An(r) || r === "/trash", o = (e) => a ? i.get(e) : null;return {loc: i.get("loc") ?? "local,115",@@ -78879,7 +78883,7 @@ function jFe(e, t, n) {region: o("region") || "",year: o("year") || "",state: On[r] || o("state") || "",- ...C8(o("sort"), o("dir"), t),+ ...S8(o("sort"), o("dir"), t),seed: o("seed") || n(),q: o("q") || "",jav: o("jav") || "",@@ -78889,18 +78893,18 @@ function jFe(e, t, n) {folder_recursive: o("folder_recursive") === "0" ? "0" : ""};}-function MFe(e, t) {+function PFe(e, t) {return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;}-function NFe(e) {+function FFe(e) {let t = Dn[e.state ?? ""] || "/", n = new URLSearchParams();- for (let t of AFe) {+ for (let t of MFe) {let r = e[t];!r || t === "tag_match" && r === "all" || t === "dir" && r === Kj(e.sort ?? "") || n.set(t, r);}return !Dn[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}-function PFe(e, t, n) {+function IFe(e, t, n) {return {loc: e.loc ?? "",creator: "",@@ -78926,7 +78930,7 @@ function PFe(e, t, n) {folder_recursive: ""};}-function w8(e) {+function C8(e) {return {state: e,barsContext: {@@ -78937,7 +78941,7 @@ function w8(e) {};}// src/react/catalog-grid/catalog-controller.ts-var FFe = class {+var LFe = class {currentRevision = 0;currentPage = "";painting = null;@@ -78982,44 +78986,44 @@ var FFe = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, T8 = Infinity, E8 = 0, IFe = (e, t = E8) => [+}, w8 = Infinity, T8 = 0, RFe = (e, t = T8) => ["facets",e,t-], LFe = (e, t, n = E8) => [+], zFe = (e, t, n = T8) => ["tops",e,t,n-], RFe = (e, t = E8) => [+], BFe = (e, t = T8) => ["tops",e,t];-async function D8(e) {+async function E8(e) {let t = String(e), n = await wn(`/api/tops?${t}`), r = new URLSearchParams(t);return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await wn(`/api/tops?${r}`));}-function zFe(e, t) {+function VFe(e, t) {return Promise.all([H.fetchQuery({- queryKey: IFe(e),+ queryKey: RFe(e),queryFn: () => wn(`/api/facets${e ? `?${e}` : ""}`),- staleTime: T8+ staleTime: w8}), H.fetchQuery({- queryKey: LFe(t, e),- queryFn: () => D8(t),- staleTime: T8+ queryKey: zFe(t, e),+ queryFn: () => E8(t),+ staleTime: w8})]);}-function BFe(e) {+function HFe(e) {return H.fetchQuery({- queryKey: RFe(e),- queryFn: () => D8(e),- staleTime: T8+ queryKey: BFe(e),+ queryFn: () => E8(e),+ staleTime: w8});}-function O8() {- E8 += 1;+function D8() {+ T8 += 1;let e = (e) => e.state.fetchStatus === "idle";H.removeQueries({queryKey: ["facets"],@@ -79030,7 +79034,7 @@ function O8() {});}// src/application/navigation-items.ts-var k8 = [+var O8 = [["","首页",@@ -79081,7 +79085,7 @@ var k8 = ["管理","wrench"]-], A8 = [+], k8 = [["stats","统计",@@ -79127,18 +79131,18 @@ var k8 = ["Peach 配置","folder-cog"]-], j8 = [+], A8 = ["stats","taste","cleanup","follow","activity","configuration"-], VFe = (e) => A8.filter(([t]) => j8.includes(t) && (t !== "configuration" || e)), M8 = A8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], UFe = (e) => k8.filter(([t]) => A8.includes(t) && (t !== "configuration" || e)), j8 = k8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,t,n-]]), HFe = [...k8, ...M8], UFe = {+]]), WFe = [...O8, ...j8], GFe = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -79146,18 +79150,18 @@ var k8 = ["follow-manage": "follow",quality: "quality",activity: "activity"-}, N8 = [+}, M8 = [["0", "不限时间"],["7", "最近 7 天"],["30", "最近 30 天"],["90", "最近 90 天"]];// src/react/index/index-controller.ts-function P8({ kind: e, q: t, scope: n, view: r, category: i }) {+function N8({ 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 F8(e, t, n) {+function P8(e, t, n) {let r = e.entity_id || e.id, i = t === "studio" || t === "agency";return {html: go(e.k, r ? {@@ -79170,20 +79174,20 @@ function F8(e, t, n) {face: vo(e.avatar_focus)};}-function I8(e) {+function F8(e) {let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${z(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${Ba({ fallbacks: [e.avatar_fallback || ""] })}>` : "";return `<span class="ini">${z(n)}</span>${r}`;}-function WFe(e) {+function KFe(e) {let t = (t) => {e.adoptFollowView(t), e.hideIndex(), e.openPage(Oa(t));};return {route(t, { replace: n = !1 } = {}) {- e.route(P8(t), n);+ e.route(N8(t), n);},- personAvatar: F8,- authorAvatar: I8,+ personAvatar: P8,+ authorAvatar: F8,openFollowAuthor(n) {t(ka(e.followView(), n));},@@ -79193,7 +79197,7 @@ function WFe(e) {};}// src/application/effects.ts-var L8 = class {+var I8 = class {cleanups = /* @__PURE__ */ new Set();active = !0;disposed = !1;@@ -79274,12 +79278,12 @@ var L8 = class {}if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}-}, R8 = new L8();-function GFe() {- return R8.dispose(), R8 = new L8(), R8;+}, L8 = new I8();+function qFe() {+ return L8.dispose(), L8 = new I8(), L8;}// src/application/source-action.ts-function KFe(e) {+function JFe(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";@@ -79294,36 +79298,36 @@ function KFe(e) {};}// src/react/entity-page/entity-route.ts-var z8 = () => Object.fromEntries($X.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));-function B8(e, t) {- let n = new URLSearchParams(e), r = z8();- for (let e of $X) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");+var R8 = () => Object.fromEntries(ZX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));+function z8(e, t) {+ let n = new URLSearchParams(e), r = R8();+ for (let e of ZX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,...Yj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}-function V8(e) {+function B8(e) {let t = new URLSearchParams();- for (let n of $X) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Kj(e.sort || "") || t.set(n, e[n]);+ for (let n of ZX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Kj(e.sort || "") || t.set(n, e[n]);return t.toString();}-function H8(e) {+function V8(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 U8(e, t) {- let n = new URLSearchParams(V8(e));+function H8(e, t) {+ let n = new URLSearchParams(B8(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 qFe(e, t, n, r) {- let i = U8(n, r);+function YFe(e, t, n, r) {+ let i = H8(n, r);return Nn(e, t) + (i ? `?${i}` : "");}-function JFe() {+function XFe() {let e = "";return {fresh(t, n) {@@ -79332,22 +79336,22 @@ function JFe() {read(t, n, r, i) {let a = e === Nn(t, n) && !r;e = "";- let o = a ? z8() : { ...B8(r, i) };+ let o = a ? R8() : { ...z8(r, i) };return t === "creator" && (o.creator = ""), {filters: o,media: a ? {media: "videos",set: 0- } : H8(r)+ } : V8(r)};}};}// src/react/entity-page/photo-surface.ts-function YFe(e, t) {+function ZFe(e, t) {return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();}-function XFe(e) {+function QFe(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);@@ -79369,12 +79373,12 @@ function XFe(e) {};}// src/react/entity-page/entity-controller.ts-function ZFe(e, t, n) {+function $Fe(e, t, n) {let r = (t, n, r, i = {media: "videos",set: 0}, { push: a = !0 } = {}) => {- if (a && e.route(qFe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;+ if (a && e.route(YFe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;e.releaseBodyPreviews();let o = e.state();return e.push({@@ -79388,7 +79392,7 @@ function ZFe(e, t, n) {if (s) return s;let c = () => {let n = e.context();- return n?.kind === t && n.name === a ? n.filters : z8();+ return n?.kind === t && n.name === a ? n.filters : R8();}, l = {...n,route: (e, n) => {@@ -79452,7 +79456,7 @@ function ZFe(e, t, n) {};}// src/react/entity-page/entity-loading.ts-function QFe(e) {+function eIe(e) {return async (t, n, r) => {e.paintSkeleton(t, n), e.resetView(), e.shapesReady(t, n) || e.waitShapes().then(() => {r() && e.syncParts(t, n);@@ -79462,7 +79466,7 @@ function QFe(e) {};}// src/react/entity-page/entity-portrait.ts-function $Fe(e, t) {+function tIe(e, t) {let n = e === "studio" || e === "agency", r = t.id ? ho({kind: e,id: t.id,@@ -79484,11 +79488,11 @@ function $Fe(e, t) {return r || (i?.avatar ? `<img src="${z(i.avatar)}" alt="${z(t.canonical_name)}" referrerpolicy="no-referrer" ${Ba({ fallbacks: [i.avatar_fallback || ""] })}>` : "");}// src/react/entity-page/entity-application.ts-function eIe(e) {- let t = JFe(), n = {+function nIe(e) {+ let t = XFe(), n = {...e.helpers,- portraitImg: $Fe- }, r = ZFe(e.controller, n, e.actions);+ portraitImg: tIe+ }, r = $Fe(e.controller, n, e.actions);return {...r,helpers: n,@@ -79497,12 +79501,12 @@ function eIe(e) {let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());return r.props(n, i, o, s);},- loading: QFe(e.loading),- photos: XFe(e.photos)+ loading: eIe(e.loading),+ photos: QFe(e.photos)};}// src/card-art/feed-identity.ts-function tIe(e) {+function rIe(e) {let t = e.performer_refs || [], n = [...new Set((e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean))], r = t.length ? t : n.map((e) => ({ name: e })), i = r.slice(0, 3).map((t) => {let n = e.code && t.source_actor_id && t.source_avatar && !t.has_image && !t.has_avatar, r = n ? ` data-feed-source-avatar data-code="${z(e.code)}" data-actor="${z(t.source_actor_id)}" data-name="${z(t.name)}"` : "", i = n ? "" : go(t.name, t, null);return "id" in t && t.id ? `<a class="mav"${r} href="${z(Nn("performer", t.name, t.id))}" aria-label="打开女优页:${z(t.name)}">${i}</a>` : `<span class="mav"${r} title="${z(t.name)}">${i}</span>`;@@ -79510,7 +79514,7 @@ function tIe(e) {return r.length > 1 ? `<div class="mavstack">${i}</div>` : i;}// src/application/feed.js-var W8 = {+var U8 = {FEED_SKELETON_CARDS: void 0,feedNewSkeletonHtml: void 0,entityShapes: void 0,@@ -79526,11 +79530,11 @@ var W8 = {feedNewActions: void 0,HERO_WIDE_PX: void 0};-function G8(e) {+function W8(e) {return e.has_cover ? xo(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Vs("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : xo(e, "big").replace(/ src="[^"]*"/, ` src="${z(uo(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");}-function nIe(e) {- let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = G8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? aL({+function iIe(e) {+ let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = W8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? aL({is_jav: !0,code: e.code,name: e.code,@@ -79542,40 +79546,40 @@ function nIe(e) {<button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${z(r)}">${R("star")}</button><button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${z(r)}">${R("x")}</button><button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${z(r)}">${R("check")}</button></div></div>- <div class="meta">${tIe(e)}<div class="mtext"><span class="t">${i}</span>+ <div class="meta">${rIe(e)}<div class="mtext"><span class="t">${i}</span><div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;}-function rIe() {+function aIe() {let e = document.getElementById("peach-entity-shape");if (e) try {let t = JSON.parse(e.textContent || "null");if (!t?.id || typeof t.kind != "string" || !Array.isArray(t.names) || !Array.isArray(t.parts)) return;- W8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Hn(e)}`, t.parts]));+ U8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Hn(e)}`, t.parts]));} catch {}}-async function K8() {- let e = R8, t = await wn("/api/entity/shapes", { signal: e.signal }).catch(() => null);- return e.isActive && t && !t.error && (W8.entityShapesComplete = !0, W8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Hn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && J8(t.home.feed), Q8(location.pathname) && Y8(L("#feedNew"))), W8.entityShapes;+async function G8() {+ let e = L8, t = await wn("/api/entity/shapes", { signal: e.signal }).catch(() => null);+ return e.isActive && t && !t.error && (U8.entityShapesComplete = !0, U8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Hn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && q8(t.home.feed), Z8(location.pathname) && J8(L("#feedNew"))), U8.entityShapes;}-var q8 = "peach.home-feed.v1";-function J8(e) {+var K8 = "peach.home-feed.v1";+function q8(e) {X.homeHasFeed = e;try {- localStorage.setItem(q8, e ? "1" : "0");+ localStorage.setItem(K8, e ? "1" : "0");} catch {}}-function iIe() {+function oIe() {try {- let e = localStorage.getItem(q8);+ let e = localStorage.getItem(K8);return e === "1" || e !== "0" && null;} catch {return null;}}-function Y8(e) {- !e || cp(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = W8.feedNewSkeletonHtml())));+function J8(e) {+ !e || cp(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = U8.feedNewSkeletonHtml())));}-function aIe(e, t) {+function sIe(e, t) {return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : Rs(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",@@ -79583,55 +79587,55 @@ function aIe(e, t) {actionHref: "/sources"});}-function X8(e) {+function Y8(e) {let t = e && !e.error && e.items || [];- return aIe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(nIe).join("")}</div>`;+ return sIe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(iIe).join("")}</div>`;}-function Z8(e) {+function X8(e) {e && (r9(e), Z.appSettings.feedAutoScroll && Lc(e));}-function Q8(e) {+function Z8(e) {return An(e) && e !== "/junk-files";}-function oIe() {+function cIe() {let e = L("#feedNew");- cp(e) ? e.hidden = X.homeHasFeed !== !0 : (Y8(e), fp("feed-new", {+ cp(e) ? e.hidden = X.homeHasFeed !== !0 : (J8(e), fp("feed-new", {host: e,- revision: W8.feedRevision,- helpers: W8.feedNewHelpers,- actions: W8.feedNewActions+ revision: U8.feedRevision,+ helpers: U8.feedNewHelpers,+ actions: U8.feedNewActions}, {container: e,- isCurrent: () => Q8(location.pathname)+ isCurrent: () => Z8(location.pathname)}));}-function $8() {+function Q8() {let e = L("#feedNew");e.querySelectorAll(".feednewrow").forEach(Rc), e.hidden = !0;}-function e5() {- W8.feedRevision += 1, mp(L("#feedNew"), { revision: W8.feedRevision }), s5({ feedRevision: W8.feedRevision });+function $8() {+ U8.feedRevision += 1, mp(L("#feedNew"), { revision: U8.feedRevision }), o5({ feedRevision: U8.feedRevision });}-function sIe() {+function lIe() {document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Lc(e) : Rc(e));}-var t5 = 0;-function cIe([e]) {- let t = e.contentRect.width >= W8.HERO_WIDE_PX;- cancelAnimationFrame(t5), t5 = requestAnimationFrame(() => {- t5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);+var e5 = 0;+function uIe([e]) {+ let t = e.contentRect.width >= U8.HERO_WIDE_PX;+ cancelAnimationFrame(e5), e5 = requestAnimationFrame(() => {+ e5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);});}-function lIe() {- W8.FEED_SKELETON_CARDS = 8, W8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${CM}"></div>+function dIe() {+ U8.FEED_SKELETON_CARDS = 8, U8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${CM}"></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(W8.FEED_SKELETON_CARDS)}</div>`, W8.entityShapes = null, W8.entityShapesComplete = !1, W8.hasEntityShape = (e, t) => W8.entityShapesComplete || !!W8.entityShapes?.has(`${e}/${Hn(t)}`), W8.hasEntityPart = (e, t, n) => !!t && !!W8.entityShapes?.get(`${e}/${Hn(t)}`)?.includes(n), W8.feedNewSkeletonSection = () => `<section class="feednew">${W8.feedNewSkeletonHtml()}</section>`, W8.COSTAR_SKELETON_PEOPLE = 12, W8.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(W8.COSTAR_SKELETON_PEOPLE)}</div></div>`, W8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, W8.feedRevision = 0, W8.feedNewHelpers = {- feedRowHtml: X8,- wireFeedRow: (e) => Z8(e)- }, W8.feedNewActions = { settled: (e) => J8(e) }, W8.HERO_WIDE_PX = 900, R8.resize(cIe).observe(L("#index"));+ <div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(U8.FEED_SKELETON_CARDS)}</div>`, U8.entityShapes = null, U8.entityShapesComplete = !1, U8.hasEntityShape = (e, t) => U8.entityShapesComplete || !!U8.entityShapes?.has(`${e}/${Hn(t)}`), U8.hasEntityPart = (e, t, n) => !!t && !!U8.entityShapes?.get(`${e}/${Hn(t)}`)?.includes(n), U8.feedNewSkeletonSection = () => `<section class="feednew">${U8.feedNewSkeletonHtml()}</section>`, U8.COSTAR_SKELETON_PEOPLE = 12, U8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>​</span></button>".repeat(U8.COSTAR_SKELETON_PEOPLE)}</div></div>`, U8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, U8.feedRevision = 0, U8.feedNewHelpers = {+ feedRowHtml: Y8,+ wireFeedRow: (e) => X8(e)+ }, U8.feedNewActions = { settled: (e) => q8(e) }, U8.HERO_WIDE_PX = 900, L8.resize(uIe).observe(L("#index"));}// src/entity-skeleton.ts-function uIe(e, t, n, r = "") {+function fIe(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">@@ -79645,10 +79649,10 @@ function uIe(e, t, n, r = "") {<div class="entitysection">${o}</div></div></section>`;}// src/filter-controls-skeleton.ts-var n5 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : ws(e, "size-4 shrink-0"), r5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", i5 = (e, t, n) => `<span data-entity-layout="" class="${BU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${VU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${r5}>${n5(r)}</span>`).join("")}</span>`;-function a5(e, t) {- let n = yG(), r = new URLSearchParams(location.search), i = t && n === "cards" ? i5(t.label, t.value, t.options) : "";- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${r5}>${n5("shuffle")}</button>${i}${i5("馆藏显示方式", n, [[+var t5 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : ws(e, "size-4 shrink-0"), n5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", r5 = (e, t, n) => `<span data-entity-layout="" class="${zU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${BU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${n5}>${t5(r)}</span>`).join("")}</span>`;+function i5(e, t) {+ let n = _G(), r = new URLSearchParams(location.search), i = t && n === "cards" ? r5(t.label, t.value, t.options) : "";+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${n5}>${t5("shuffle")}</button>${i}${r5("馆藏显示方式", n, [["cards","卡片","ri-layout-grid-line"@@ -79656,7 +79660,7 @@ function a5(e, t) {"list","列表","ri-list-unordered"- ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${r5}>${n5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${r5}>${z(e.label)}${e.dir ? n5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;+ ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${n5}>${t5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${n5}>${z(e.label)}${e.dir ? t5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;}// src/application/entity.jsvar Y = {@@ -79684,16 +79688,16 @@ var Y = {sourceToolButtons: void 0,application: void 0};-function o5() {+function a5() {let e = sp(L("#index"));return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;}-function s5(e) {+function o5(e) {Y.entityPageCurrent() && mp(L("#index"), e);}-function c5() {+function s5() {if (Gl.type === "item") return Gl;- let e = o5();+ let e = a5();if (e) {let { kind: t, name: n, filters: r } = e.props;return {@@ -79705,8 +79709,8 @@ function c5() {}return Gl;}-function l5(e, t, n = r7()) {- return rLe(n).map(([n, r]) => {+function c5(e, t, n = n7()) {+ return aLe(n).map(([n, r]) => {let i = e === n, a = qj(n, e, t);return {key: n,@@ -79717,11 +79721,11 @@ function l5(e, t, n = r7()) {};});}-function u5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {+function l5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {return Y.application.route(e, t, n, r, i);}-function d5() {- return YFe({+function u5() {+ return ZFe({entityWall: Y.entityPageWall,entityCurrent: Y.entityPageCurrent(),indexVisible: !L("#index").hidden,@@ -79730,37 +79734,37 @@ function d5() {statsVisible: !L("#stats").hidden}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));}-function f5() {+function d5() {Y.photos.sync();}-function p5() {- d5() ? vle(kM()) : HM();+function f5() {+ u5() ? vle(kM()) : HM();}-function dIe(e) {+function pIe(e) {Y.photos.setSize(e);}-var m5 = KFe({+var p5 = JFe({request: (e) => wn("/api/reveal", {method: "POST",body: JSON.stringify({ id: e })}),- success: () => S8.toast({ text: "已在资源管理器中显示" }),+ success: () => x8.toast({ text: "已在资源管理器中显示" }),failureText: (e) => Y.sourceHint(e instanceof Error ? e.message : String(e))});-async function h5(e) {+async function m5(e) {let t = { textContent: "" };- return await m5(e, t), t.textContent;+ return await p5(e, t), t.textContent;}-async function fIe(e) {+async function mIe(e) {let t = { textContent: "" }, n = [];- return await g5(e, t, (e) => {+ return await h5(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));}), {text: t.textContent,removed: n};}-async function g5(e, t, n) {+async function h5(e, t, n) {t.textContent = "正在核对目录…";try {let r = await wn("/api/purge-missing", {@@ -79773,7 +79777,7 @@ async function g5(e, t, n) {}if (t.textContent = r.removed ? `${Y.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {let e = (r.items || []).filter((e) => e.disposal !== "reattached").map((e) => e.id);- n && n(r), S8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {+ n && n(r), x8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {await wn("/api/batch", {method: "POST",body: JSON.stringify({@@ -79785,22 +79789,22 @@ async function g5(e, t, n) {restored: e.length});} : null });- } else S8.actionReceipt("目录核对完成,无需改动");+ } else x8.actionReceipt("目录核对完成,无需改动");} catch (e) {- t.textContent = Y.sourceHint(e.message), S8.actionFailure("核对目录", e);+ t.textContent = Y.sourceHint(e.message), x8.actionFailure("核对目录", e);}}-function pIe(e) {+function hIe(e) {return `<div class="srctools">${Y.sourceToolButtons(e)}<span class="srcstate" aria-live="polite"></span></div>`;}-function mIe(e, t) {+function gIe(e, t) {let n = e.querySelector(".srcstate");if (!n) return;let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");- r && R8.handler(r, "onclick", () => m5(Number(r.dataset.reveal), n, { button: r })), i && R8.handler(i, "onclick", () => g5(Number(i.dataset.sync), n, t));+ r && L8.handler(r, "onclick", () => p5(Number(r.dataset.reveal), n, { button: r })), i && L8.handler(i, "onclick", () => h5(Number(i.dataset.sync), n, t));}-async function hIe(e, t) {+async function _Ie(e, t) {let n = il({title: "添加别名",description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",@@ -79812,9 +79816,9 @@ async function hIe(e, t) {confirmDisabled: !0,onConfirm: () => t({ alias: r.value.trim() })}), r = n.dialog.querySelector("[name=alias]");- R8.handler(r, "oninput", () => {+ L8.handler(r, "oninput", () => {n.confirmButton.disabled = !r.value.trim();- }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => R8.handler(e, "onclick", async () => {+ }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => L8.handler(e, "onclick", async () => {let r = e.dataset.aliasDrop;n.close();try {@@ -79823,53 +79827,53 @@ async function hIe(e, t) {remove: !0});} catch (e) {- S8.actionFailure("撤销别名", e);+ x8.actionFailure("撤销别名", e);return;}- S8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {+ x8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {await t({ alias: r });} });}));let { confirmed: i, result: a } = await n.done;- i && (a?.added ? S8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {+ i && (a?.added ? x8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {await t({alias: a.alias,remove: !0});- } }) : S8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));+ } }) : x8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));}-function _5(e, t) {- let n = ["performer", "studio"].includes(e) && W8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${Ts()}${e === "agency" ? "" : a5(l5(U.sort, U.dir, n), n ? {+function g5(e, t) {+ let n = ["performer", "studio"].includes(e) && U8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${Ts()}${e === "agency" ? "" : i5(c5(U.sort, U.dir, n), n ? {name: "jav-layout",label: "JAV 卡片版式",value: TM(),options: bM- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${r5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${r5}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${r5}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = uIe(e, r, e === "agency" ? rc({+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${n5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${n5}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${n5}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = fIe(e, r, e === "agency" ? rc({kind: "performers",- layout: N5.peopleIndexLayout()- }) : oY("正在读取作品", NM(MM({+ layout: M5.peopleIndexLayout()+ }) : iY("正在读取作品", NM(MM({active: n,home: !1,portrait: !1}))), i);- L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? v5(e, t) : (L("#index").innerHTML = a, v5(e, t), uc(L("#index")));+ L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? _5(e, t) : (L("#index").innerHTML = a, _5(e, t), uc(L("#index")));}-function v5(e, t) {+function _5(e, t) {let n = L("#index").firstElementChild;if (n?.dataset.skeleton !== `entity/${e}`) return;let r = (e, t, n) => {t && !e ? n() : !t && e && e.remove();};- r(n.querySelector(".entityfoot"), e !== "agency" && W8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", W8.costarSkeletonFoot())), r(n.querySelector(".feednew"), W8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", W8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && W8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", W8.factsSkeleton()));+ r(n.querySelector(".entityfoot"), e !== "agency" && U8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", U8.costarSkeletonFoot())), r(n.querySelector(".feednew"), U8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", U8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && U8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", U8.factsSkeleton()));}-function y5(e) {- let t = jn[e] || e, n = $3[t] || "条目", r = $3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";+function v5(e) {+ let t = jn[e] || e, n = Q3[t] || "条目", r = Q3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });}-function b5(e, t) {+function y5(e, t) {x9(Y.application.fresh(e, t));}-function gIe() {+function vIe() {Y.ENTITY_FILTER_KEYS = ["loc","creator",@@ -79881,40 +79885,40 @@ function gIe() {"year","sort","dir"- ], Y.emptyEntityFilters = z8, Y.parseEntityFilters = (e) => B8(e, {+ ], Y.emptyEntityFilters = R8, Y.parseEntityFilters = (e) => z8(e, {sort: Z.appSettings.defaultSort,dir: Z.appSettings.defaultSortDirection- }), Y.entityFilterSearch = V8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {+ }), Y.entityFilterSearch = B8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {...e,filters: { ...e.filters }} : e, Y.activeFilterState = () => {- let e = c5();+ let e = s5();return e.type === "home" ? U : e.filters;}, L("#q").value = U.q, X.rememberSearchValue();}-function _Ie() {- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!o5(), Y.entityPageLive = (e, t) => {- let n = o5();+function yIe() {+ Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!a5(), Y.entityPageLive = (e, t) => {+ let n = a5();return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;}, Y.EMPTY_ENTITY_MEDIA = {media: "videos",set: 0- }, Y.parseMediaView = H8, Y.entityViewSearch = U8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => Y7(), Y.entityPageHelpers = {+ }, Y.parseMediaView = V8, Y.entityViewSearch = H8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => Y7(), Y.entityPageHelpers = {wireDrag: (e) => {e && r9(e);},wireScroller: (e) => {e && Dc(e);},- wireFeedRow: (e) => Z8(e),- feedRowHtml: X8,- receipt: (e, t) => S8.actionReceipt(e, t),- failure: (e, t) => S8.actionFailure(e, t),- aliasForm: (e, t) => hIe(e, t),- sourceToolsHtml: (e) => pIe(e),- wireSourceTools: (e, t) => mIe(e, t),+ wireFeedRow: (e) => X8(e),+ feedRowHtml: Y8,+ receipt: (e, t) => x8.actionReceipt(e, t),+ failure: (e, t) => x8.actionFailure(e, t),+ aliasForm: (e, t) => _Ie(e, t),+ sourceToolsHtml: (e) => hIe(e),+ wireSourceTools: (e, t) => gIe(e, t),comboItems: (e) => R7(e),- sortKeys: (e, t, n) => l5(e, t, n)+ sortKeys: (e, t, n) => c5(e, t, n)}, Y.entityFollowActions = {...$.followFeedActions,route: () => {},@@ -79937,11 +79941,11 @@ function _Ie() {<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"aria-label="同步删除">${R("folder-sync")}</button>`;}-function vIe() {- Y.application = eIe({+function bIe() {+ Y.application = nIe({controller: {context: () => {- let e = c5();+ let e = s5();return e.type === "entity" ? e : null;},live: (e, t) => Y.entityPageLive(e, t),@@ -79953,14 +79957,14 @@ function vIe() {filters: U} }),releaseBodyPreviews: () => Al(L("#index [data-entity-body]")),- push: s5,+ push: o5,state: () => ({seed: String(U.seed || ""),jav: U.jav === "1"}),preferences: () => ({revision: Y.entityPageRevision,- feedRevision: W8.feedRevision,+ feedRevision: U8.feedRevision,photoSize: kM(),photoLayout: AM(),photoLayouts: SM,@@ -79968,7 +79972,7 @@ function vIe() {javLayout: TM(),javLayouts: bM,states: X.VIEW_PILLS,- peopleLayout: N5.peopleIndexLayout(),+ peopleLayout: M5.peopleIndexLayout(),layout: J7(),selectMode: Yl,selected: new Set(ql),@@ -79983,34 +79987,34 @@ function vIe() {}}),changeFilter: T7,- rollSeed: () => S8.rollSeed(),+ rollSeed: () => x8.rollSeed(),writeSeed: (e) => {U.seed = e, bu();},setJavLayout: o7,javLayout: TM,setPhotoLayout: FM,- syncPhotoWalls: f5,- openEntity: b5,- photoViewActive: d5,+ syncPhotoWalls: d5,+ openEntity: y5,+ photoViewActive: u5,recordPainted: (e, t) => {Y.entityPageView = e, Y.entityPageWall = t;},- syncDensity: p5,+ syncDensity: f5,scheduleSticky: p7,releasePage: () => hp(L("#index")),- showMissing: y5,- dropBars: O8+ showMissing: v5,+ dropBars: D8},loading: {- shapesReady: (e, t) => W8.hasEntityShape(e, t),- waitShapes: B5,- paintSkeleton: _5,+ shapesReady: (e, t) => U8.hasEntityShape(e, t),+ waitShapes: z5,+ paintSkeleton: g5,resetView: () => {yu({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;},- loadShapes: K8,- syncParts: v5+ loadShapes: G8,+ syncParts: _5},photos: {preferences: () => ({@@ -80019,15 +80023,15 @@ function vIe() {imagesOnly: !!Z.appSettings.followImagesOnly}),walls: () => document.querySelectorAll(".followphotowall"),- pushEntity: s5,+ pushEntity: o5,pushFollow: E9,- syncDensity: p5,+ syncDensity: f5,storeSize: gle},helpers: Y.entityPageHelpers,actions: {toggleTag: L7,- openFollowAuthor: I5,+ openFollowAuthor: F5,javContext: (e) => yu({ entityJavLayout: !!e })},sortPreference: () => ({@@ -80037,8 +80041,8 @@ function vIe() {}), Y.photos = Y.application.photos, Y.entityPageHelpers = Y.application.helpers;}// src/application/playlists.js-var x5 = { playlistWrite: void 0 };-function yIe(e, t) {+var b5 = { playlistWrite: void 0 };+function xIe(e, t) {e === "tag" ? (yu({ state: {...U,tag: t,@@ -80048,17 +80052,17 @@ function yIe(e, t) {q: "",state: "",orient: ""- } }), X.clearSearchField(), Q.route(v7()), G5(), F7()) : b5(e, t);+ } }), X.clearSearchField(), Q.route(v7()), W5(), F7()) : y5(e, t);}-function S5(e = "") {+function x5(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;}-async function bIe({ title: e, count: t, save: n }) {+async function SIe({ title: e, count: t, save: n }) {let r = il({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,- body: S5(e),+ body: x5(e),confirmLabel: "保存为播放列表",onConfirm: () => {let e = r.dialog.querySelector("[name=\"name\"]").value.trim();@@ -80068,28 +80072,28 @@ async function bIe({ title: e, count: t, save: n }) {});r.dialog.querySelector("[name=\"name\"]").select();let { confirmed: i, result: a } = await r.done;- i && (await l9(a.id, a.current_asset_id, !0), S8.actionReceipt("已保存为播放列表", { undo: async () => {- await x5.playlistWrite({+ i && (await l9(a.id, a.current_asset_id, !0), x8.actionReceipt("已保存为播放列表", { undo: async () => {+ await b5.playlistWrite({action: "delete",id: a.id}), x9("/playlists");} }));}-async function xIe(e) {+async function CIe(e) {let t = ((await wn("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Ws(`data-pick-playlist="${e.id}"`)}<span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = il({title: "加入播放列表",description: "勾选要加入的列表,或者填个名称新建一份。",- body: S5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Rs("还没有播放列表,填个名称就能新建一份。", { size: "small" })),+ body: x5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Rs("还没有播放列表,填个名称就能新建一份。", { size: "small" })),confirmLabel: "保存",confirmDisabled: !0,onConfirm: async () => {- let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await x5.playlistWrite({+ let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await b5.playlistWrite({action: "create",name: t,asset_ids: [e.id]})).playlist : null;- for (let t of r) await x5.playlistWrite({+ for (let t of r) await b5.playlistWrite({action: "add",id: t,asset_ids: [e.id]@@ -80103,46 +80107,46 @@ async function xIe(e) {let e = n.dialog.querySelector("[name=\"name\"]").value.trim();n.confirmButton.disabled = !e && !n.dialog.querySelector("[data-pick-playlist]:checked");};- R8.listen(n.dialog, "input", r), R8.listen(n.dialog, "change", r);+ L8.listen(n.dialog, "input", r), L8.listen(n.dialog, "change", r);let { confirmed: i, result: a } = await n.done;if (!i) return;let o = +!!a.created + a.added.length;- S8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {- for (let t of a.added) await x5.playlistWrite({+ x8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {+ for (let t of a.added) await b5.playlistWrite({action: "remove",id: t,asset_id: e.id});- a.created && await x5.playlistWrite({+ a.created && await b5.playlistWrite({action: "delete",id: a.created.id});} });}-function C5() {- Al(), s9(!1), W5();+function S5() {+ Al(), s9(!1), U5();let e = sp(L("#stats"));- e?.path !== "/playlists" || !e.host.isConnected ? yu({ pageOpens: uu + 1 }) : (U5({ manage: !1 }), yu({ playlistsRevision: gu + 1 }));+ e?.path !== "/playlists" || !e.host.isConnected ? yu({ pageOpens: uu + 1 }) : (H5({ manage: !1 }), yu({ playlistsRevision: gu + 1 }));}-function SIe(e) {+function wIe(e) {let t = new URLSearchParams(location.search);for (let n of ["category", "queue"]) e[n] ? t.set(n, e[n]) : t.delete(n);Q.route("/review" + (t.size ? "?" + t : ""));}-function w5(e) {+function C5(e) {yu({ configurationRequestedSection: e }), Q.navigatePath(Mf(e));}-function CIe() {- x5.playlistWrite = (e) => wn("/api/playlist", {+function TIe() {+ b5.playlistWrite = (e) => wn("/api/playlist", {method: "POST",body: JSON.stringify(e)});}// src/react/catalog-grid/selection-controller.ts-function T5(e) {+function w5(e) {return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";}-function E5(e, t, n, r, i = !1) {+function T5(e, t, n, r, i = !1) {return i && (e.selected.clear(), e.followSelected.clear()), {selectMode: r,selectSurface: r ? t.selectMode ? t.selectSurface : n : "",@@ -80150,23 +80154,23 @@ function E5(e, t, n, r, i = !1) {followLastSelectedId: i ? null : t.followLastSelectedId};}-function D5(e, t, n, r, i, a = !1) {- let o = n === "follow", s = HY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);+function E5(e, t, n, r, i, a = !1) {+ let o = n === "follow", s = BY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);return {- ...E5(e, t, n, !0),+ ...T5(e, t, n, !0),...o ? { followLastSelectedId: s } : { lastSelectedId: s }};}-function wIe(e, t, n, r) {- let i = T5(t);+function EIe(e, t, n, r) {+ let i = w5(t);return {count: (i === "follow" ? e.followSelected : e.selected).size,context: i === "catalog" && r === "trash" ? "trash" : i,- junkDismissed: eW(n).view === "dismissed"+ junkDismissed: $U(n).view === "dismissed"};}// src/application/selection.js-var O5 = {+var D5 = {batchDockProps: void 0,trashCount: void 0,currentSelectSurface: void 0,@@ -80174,43 +80178,43 @@ var O5 = {BATCH_RUNNERS: void 0,coverRecheck: void 0};-function k5() {+function O5() {K7({selected: new Set(ql),selectMode: Yl- }), s5({+ }), o5({selected: new Set(ql),selectMode: Yl}), E9({selected: new Set(Jl),selectMode: Yl- }), O5.batchDockProps = PIe(), y8() && (y8().render(O5.batchDockProps), Z.syncGlassOptics());+ }), D5.batchDockProps = IIe(), v8() && (v8().render(D5.batchDockProps), Z.syncGlassOptics());}-function A5(e, t = !1) {- yu(E5({+function k5(e, t = !1) {+ yu(T5({selected: ql,followSelected: Jl- }, M5(), T5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Yl), Yl && Al(), L("#selectMode").setAttribute("aria-pressed", String(Yl)), k5();+ }, j5(), w5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Yl), Yl && Al(), L("#selectMode").setAttribute("aria-pressed", String(Yl)), O5();}-function TIe() {- return [...L5.gridCards()].map((e) => +e.dataset.id);+function DIe() {+ return [...I5.gridCards()].map((e) => +e.dataset.id);}-function j5(e, t = !1) {- yu(D5({+function A5(e, t = !1) {+ yu(E5({selected: ql,followSelected: Jl- }, M5(), T5(location.pathname), TIe(), e, t)), A5(!0);+ }, j5(), w5(location.pathname), DIe(), e, t)), k5(!0);}-function EIe() {+function OIe() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function DIe(e, t = !1) {- yu(D5({+function kIe(e, t = !1) {+ yu(E5({selected: ql,followSelected: Jl- }, M5(), "follow", EIe(), e, t)), A5(!0);+ }, j5(), "follow", OIe(), e, t)), k5(!0);}-async function OIe(e, t) {+async function AIe(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -80242,9 +80246,9 @@ async function OIe(e, t) {})});if (t.blocked && t.blocked.length) throw Error(`已永久删除 ${t.purged} 项;${t.blocked.length} 项未能删除,仍在回收站:\n` + t.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));- A5(!1, !0), await c7();+ k5(!1, !0), await c7();let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;- S8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {+ x8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {if (r === "dispose" && t.restored_reasons) for (let e of [null,"manual",@@ -80274,18 +80278,18 @@ async function OIe(e, t) {} catch (e) {throw qc(t, !1), e;} finally {- qc(t, !1), k5();+ qc(t, !1), O5();}}});}-async function kIe() {+async function jIe() {let e = [...ql];if (!e.length) return;let t = il({title: "判定产地",description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,- body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + O5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">+ body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + D5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}"><span class="chip-label">${t}</span></button>`).join("") + "</div>",confirmLabel: "判定产地",confirmDisabled: !0,@@ -80305,13 +80309,13 @@ async function kIe() {};}});- t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => R8.handler(e, "onclick", () => {+ t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => L8.handler(e, "onclick", () => {t.dialog.querySelectorAll("[data-region-pick]").forEach((t) => t.setAttribute("aria-pressed", String(t === e))), t.confirmButton.disabled = !1;}));let { confirmed: n, result: r } = await t.done;- n && (A5(!1, !0), await c7(), S8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));+ n && (k5(!1, !0), await c7(), x8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function AIe(e, t) {+async function MIe(e, t) {let n = [...Jl];if (!n.length) return;let r = {@@ -80337,16 +80341,16 @@ async function AIe(e, t) {items: n,to: e})- }), A5(!1, !0), location.pathname === "/follow" && yu({ pageOpens: uu + 1 }), S8.actionReceipt(`已${r[e]} ${n.length} 项`);+ }), k5(!1, !0), location.pathname === "/follow" && yu({ pageOpens: uu + 1 }), x8.actionReceipt(`已${r[e]} ${n.length} 项`);} catch (e) {throw qc(t, !1), e;} finally {- qc(t, !1), k5();+ qc(t, !1), O5();}}});}-async function jIe(e, t) {+async function NIe(e, t) {let n = [...ql];if (!n.length) return;let r = {@@ -80373,9 +80377,9 @@ async function jIe(e, t) {operation: e,...e === "dispose" ? { disposal_reason: "junk" } : {}})- }), A5(!1, !0), await B7();+ }), k5(!1, !0), await B7();let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;- S8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {+ x8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {await wn("/api/batch", {method: "POST",body: JSON.stringify({@@ -80387,54 +80391,54 @@ async function jIe(e, t) {} catch (e) {throw qc(t, !1), e;} finally {- qc(t, !1), k5();+ qc(t, !1), O5();}}});}-function MIe() {- DFe({+function PIe() {+ kFe({root: L("[data-batch-dock]"),run: (e, t, n) => {- O5.BATCH_RUNNERS[e]?.(t, n);+ D5.BATCH_RUNNERS[e]?.(t, n);}}).then((e) => {- e.render(O5.batchDockProps), Z.syncGlassOptics();+ e.render(D5.batchDockProps), Z.syncGlassOptics();}).catch(() => {});}-function NIe() {- O5.batchDockProps = {+function FIe() {+ D5.batchDockProps = {count: 0,context: "catalog",junkDismissed: !1- }, O5.trashCount = null, O5.currentSelectSurface = () => T5(location.pathname), R8.handler(L("#selectMode"), "onclick", () => A5(!Yl, !!Yl)), O5.REGION_CHOICES = [+ }, D5.trashCount = null, D5.currentSelectSurface = () => w5(location.pathname), L8.handler(L("#selectMode"), "onclick", () => k5(!Yl, !!Yl)), D5.REGION_CHOICES = [["jp", "日本"],["kr", "韩国"],["cn", "国产"],["west", "欧美"],["other", "其他"],["none", "撤回判定"]- ], O5.BATCH_RUNNERS = {- batch: OIe,- region: kIe,- follow: AIe,- junk: jIe,- clear: () => A5(!1, !0)- }, R8.handler(L("#density"), "onclick", () => {- d5() ? dIe(kM() === "big" ? "small" : "big") : _le();+ ], D5.BATCH_RUNNERS = {+ batch: AIe,+ region: jIe,+ follow: MIe,+ junk: NIe,+ clear: () => k5(!1, !0)+ }, L8.handler(L("#density"), "onclick", () => {+ u5() ? pIe(kM() === "big" ? "small" : "big") : _le();}), HM(), Ol({selecting: () => Yl,censored: () => t9(),delaySeconds: () => Z.appSettings.hoverDelaySeconds- }), R8.listen(window, "pagehide", () => Al()), R8.listen(document, "visibilitychange", () => {+ }), L8.listen(window, "pagehide", () => Al()), L8.listen(document, "visibilitychange", () => {document.hidden && Al();- }), Tl(), O5.coverRecheck = 0, R8.listen(window, "resize", () => {- Sl(L("#index")), clearTimeout(O5.coverRecheck), O5.coverRecheck = R8.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {+ }), Tl(), D5.coverRecheck = 0, L8.listen(window, "resize", () => {+ Sl(L("#index")), clearTimeout(D5.coverRecheck), D5.coverRecheck = L8.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {e.complete && pl(e);}), 200);}, { passive: !0 });}-function M5() {+function j5() {return {selectMode: Yl,selectSurface: Ql,@@ -80442,62 +80446,62 @@ function M5() {followLastSelectedId: Zl};}-function PIe() {- return wIe({+function IIe() {+ return EIe({selected: ql,followSelected: Jl}, location.pathname, location.search, U.state);}// src/application/index.js-var N5 = {+var M5 = {peopleIndexLayout: void 0,personAvatar: void 0};-function FIe() {+function LIe() {return Z.appSettings.followLayout === "table" ? "table" : "default";}-function IIe() {- return eQ(location.search);+function RIe() {+ return QZ(location.search);}-function LIe(e) {- return tQ(e);+function zIe(e) {+ return $Z(e);}-function RIe(e) {- Q.route(LIe(e));+function BIe(e) {+ Q.route(zIe(e));}-function zIe(e = "") {- return nQ(location.search, e);+function VIe(e = "") {+ return eQ(location.search, e);}-function BIe(e) {- return I8(e);+function HIe(e) {+ return F8(e);}-function P5(e) {- return P8(e);+function N5(e) {+ return N8(e);}-function F5() {+function P5() {L("#stats").hidden = !0, L("#index").hidden = !1, H7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;}-function VIe(e, t) {+function UIe(e, t) {yu({ state: {...U,state: "",tag: e.join(","),tag_match: t- } }), A5(!1, !1), Q.route(v7()), G5(), _9(), F7();+ } }), k5(!1, !1), Q.route(v7()), W5(), _9(), F7();}-function I5(e) {- N5.controller.openFollowAuthor(e);+function F5(e) {+ M5.controller.openFollowAuthor(e);}-function HIe(e) {- N5.controller.openFollowTag(e);+function WIe(e) {+ M5.controller.openFollowTag(e);}-function UIe() {- $.FOLLOW_MANAGE_TABS = $Z, R8.listen(document, "click", (e) => {- e.target.closest?.("[data-empty-settings]") && w5("媒体库与入库");- }), N5.peopleIndexLayout = () => e6(Z.appSettings.peopleLayout), N5.personAvatar = F8;+function GIe() {+ $.FOLLOW_MANAGE_TABS = ZZ, L8.listen(document, "click", (e) => {+ e.target.closest?.("[data-empty-settings]") && C5("媒体库与入库");+ }), M5.peopleIndexLayout = () => $3(Z.appSettings.peopleLayout), M5.personAvatar = P8;}-function WIe() {- N5.controller = WFe({+function KIe() {+ M5.controller = KFe({route: Q.route,followView: C9,adoptFollowView: w9,@@ -80508,7 +80512,7 @@ function WIe() {});}// src/application/loading.js-var L5 = {+var I5 = {setGridCards: void 0,gridCards: void 0,managementPlaceholder: void 0,@@ -80517,54 +80521,54 @@ var L5 = {ENTITY_SHAPES_WAIT: void 0,syncPageTitle: void 0};-function R5(e = "正在读取作品") {+function L5(e = "正在读取作品") {if (location.pathname === "/wall") {L("#loadSentinel").hidden = !0;return;}let t = L("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = Nve(eW(location.search)), uc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && D7({+ 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 = Pve($U(location.search)), uc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && D7({count: null,...A7()})), L("#loadSentinel").hidden = !0, G7()) return;let r = L("#grid"), i = Y7(e), a = r.querySelector(".catalog-skeleton");- (a?.dataset.skeleton !== O2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== X7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : L5.setGridCards(i), uc(L("#grid")));+ (a?.dataset.skeleton !== D2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== X7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : I5.setGridCards(i), uc(L("#grid")));}-function z5() {+function R5() {L("#catalogFilter").style.display = "none", E7();}-function B5() {+function z5() {let e = new Promise((e) => {- let t = L5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {+ let t = I5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {let i = performance.now();- t -= Math.min(i - n, 50), n = i, t > 0 ? R8.delay(r, Math.min(t, 50)) : e();+ t -= Math.min(i - n, 50), n = i, t > 0 ? L8.delay(r, Math.min(t, 50)) : e();};- R8.delay(r, 50);+ L8.delay(r, 50);});- return Promise.race([L5.entityShapesReady ||= K8(), e]);+ return Promise.race([I5.entityShapesReady ||= G8(), e]);}-function GIe() {+function qIe() {let e = decodeURIComponent(location.pathname);- if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), z5();- else if (/^\/assets\/\d+$/.test(e)) z5();- else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) z5();- else if (e === "/junk-files") R5("正在读取垃圾文件");- else if (e === "/jav" && $H(new URLSearchParams(location.search).get("tab")) === "library") R5("正在读取馆藏");+ if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), R5();+ else if (/^\/assets\/\d+$/.test(e)) R5();+ else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) R5();+ else if (e === "/junk-files") L5("正在读取垃圾文件");+ else if (e === "/jav" && QH(new URLSearchParams(location.search).get("tab")) === "library") L5("正在读取馆藏");else if (Q.managedPagePath(e)) {- z5();+ R5();let t = L("#stats");- t.hidden = !1, H7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : L5.managementPlaceholder(e), uc(t);- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) z5(), F5(), r6(L("#index"), t6(e.slice(1), location.search), N5.peopleIndexLayout());+ t.hidden = !1, H7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : I5.managementPlaceholder(e), uc(t);+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) R5(), P5(), n6(L("#index"), e6(e.slice(1), location.search), M5.peopleIndexLayout());else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {- z5(), L("#index").hidden = !1, H7();+ R5(), L("#index").hidden = !1, H7();let t = Mn[e.split("/")[1]], n = e.split("/").slice(2).join("/");- (W8.hasEntityShape(t, n) ? Promise.resolve() : B5()).then(() => {- L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (_5(t, n), uc(L("#index")));+ (U8.hasEntityShape(t, n) ? Promise.resolve() : z5()).then(() => {+ L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (g5(t, n), uc(L("#index")));});- } else Q.routeMeta(e) ? R5() : (H7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);+ } else Q.routeMeta(e) ? L5() : (H7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);}-function KIe() {- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => E2(t, {+function JIe() {+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => T2(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",@@ -80576,37 +80580,37 @@ function KIe() {<div class="board-filter-frame" data-filter-frame><div class="tagbar followfilters" data-filter-row="top" data-skeleton-tier="pill"></div><div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>- ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Vs(Bs), L5.setGridCards = (e) => tc(L("#grid"), () => {+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Vs(Bs), I5.setGridCards = (e) => tc(L("#grid"), () => {L("#grid").innerHTML = `<div class="grid">${e}</div>`;- }), L5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), L5.managementPlaceholder = (e) => D2(e, {- followLayout: FIe(),+ }), I5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), I5.managementPlaceholder = (e) => E2(e, {+ followLayout: LIe(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(IIe())- }), L5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", L5.entityShapesReady = null, L5.ENTITY_SHAPES_WAIT = 400, L5.syncPageTitle = (e) => {+ }))(RIe())+ }), I5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", I5.entityShapesReady = null, I5.ENTITY_SHAPES_WAIT = 400, I5.syncPageTitle = (e) => {let t = new URL(e, location.origin), n = Qf(decodeURIComponent(t.pathname))?.title;document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, h9();};}// src/sidebar-skeleton.ts-var V5 = (e) => e.replace(/[&<>"']/g, (e) => ({+var B5 = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"})[e]);-function qIe(e, t, n) {+function YIe(e, t, n) {let r = new Map(t.map((e) => [e[0], e]));return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {- let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${V5(r)}"/></svg>`;- return `<button type="button" data-nav="${V5(e)}" aria-pressed="${n(e)}" aria-label="${V5(t)}">${i}<span>${V5(t)}</span></button>`;+ let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${B5(r)}"/></svg>`;+ return `<button type="button" data-nav="${B5(e)}" aria-pressed="${n(e)}" aria-label="${B5(t)}">${i}<span>${B5(t)}</span></button>`;}).join("")}</div>`;}// src/application/filter-scroll.js-function JIe(e, t, n, r = !1) {+function XIe(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -80624,7 +80628,7 @@ function JIe(e, t, n, r = !1) {};}// src/application/layout.js-var H5 = {+var V5 = {sidebarProps: void 0,sidebarSurface: void 0,sidebarCatalog: void 0,@@ -80646,19 +80650,19 @@ var H5 = {mobileFilterHost: void 0,mobileFilterPath: void 0};-function U5({ manage: e = !0, placeholder: t = "" } = {}) {- L("#stats").hidden = !1, L("#index").hidden = !0, H7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? $5() : (e7(""), _9()), t && k2(L("#stats"), t);+function H5({ manage: e = !0, placeholder: t = "" } = {}) {+ L("#stats").hidden = !1, L("#index").hidden = !0, H7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? Q5() : ($5(""), _9()), t && O2(L("#stats"), t);}-function W5() {- L("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), z5(), document.body.classList.remove("entity-open", "index-open");+function U5() {+ L("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), R5(), document.body.classList.remove("entity-open", "index-open");}-function G5() {- L("#javLibraryHeader").hidden = !An(location.pathname) || !r7(), document.body.classList.remove("entity-open", "index-open"), hp(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, Q8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", E7(), $5(), t7();+function W5() {+ L("#javLibraryHeader").hidden = !An(location.pathname) || !n7(), document.body.classList.remove("entity-open", "index-open"), hp(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, Z8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", E7(), Q5(), e7();}-function YIe() {- Q.route("/"), G5();+function ZIe() {+ Q.route("/"), W5();}-function K5({ tags: e = [], providers: t = [], duration: n = !1 }) {+function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {g9({content: e.length || t.length || n ? {kind: "follow",@@ -80682,28 +80686,28 @@ function K5({ tags: e = [], providers: t = [], duration: n = !1 }) {filters: $.followSidebarFilters()});}-function q5(e) {- ZLe({+function K5(e) {+ QLe({...C9(),...e}), g9({ filters: $.followSidebarFilters() });}-function J5() {+function q5() {return matchMedia("(max-width:760px)").matches;}-function Y5(e) {+function J5(e) {let t = L("#drawer"), n = !e && t.contains(document.activeElement);- t.inert = !e && J5(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");+ t.inert = !e && q5(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");}-function X5() {- J5() && Y5(!1);+function Y5() {+ q5() && J5(!1);}-function XIe() {+function QIe() {cu === null && (yu({ runtimeConfigurable: !1 }), wn("/healthz").then((e) => {- yu({ runtimeConfigurable: !!e.configurable }), cu && Q5() && $5();+ yu({ runtimeConfigurable: !!e.configurable }), cu && Z5() && Q5();}).catch(() => {}));}-function Z5(e = "", t = !1) {+function X5(e = "", t = !1) {if (!t && !Af(location.pathname)) {let t = W.navigation;W.push(Mf(e), { settingsBackground: {@@ -80716,20 +80720,20 @@ function Z5(e = "", t = !1) {replace: !0,state: W.navigation.location.state});- return e ||= jf(location.pathname), wFe(H5.settingsHost()).then((t) => (t.open(e), t));+ return e ||= jf(location.pathname), EFe(V5.settingsHost()).then((t) => (t.open(e), t));}-function ZIe() {+function $Ie() {Af(location.pathname) && (Nf(W.navigation.location.state) ? W.go(-1) : Q.navigatePath("/", !0));}-function QIe() {+function eLe() {return {scroll: L("#drawerScroll"),store: Z.settingsStore,- navCatalog: H5.NAV_CATALOG,+ navCatalog: V5.NAV_CATALOG,navOn: u7,navTo: d7,navToTop: () => {- X5(), cm();+ Y5(), cm();},toggleChip: (e, t, n) => T7((r) => {if (n) {@@ -80741,13 +80745,13 @@ function QIe() {n.len = "", n.dur_min = e ? String(e * 60) : "", n.dur_max = t < 180 ? String(t * 60) : "";}),openFollowTag: (e) => {- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), Y5(!1), x9(S9());+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), J5(!1), x9(S9());},selectFollowTag: (e) => {- $.followTags = /* @__PURE__ */ new Set([e]), Y5(!1), x9(S9());+ $.followTags = /* @__PURE__ */ new Set([e]), J5(!1), x9(S9());},- selectFollowProvider: (e) => q5({ provider: $.followProviders.has(e) ? "" : e }),- setFollowDuration: (e, t) => q5({+ selectFollowProvider: (e) => K5({ provider: $.followProviders.has(e) ? "" : e }),+ setFollowDuration: (e, t) => K5({durMin: e ? e * 60 : 0,durMax: t < 180 ? t * 60 : 0}),@@ -80756,16 +80760,16 @@ function QIe() {}};}-function $Ie() {+function tLe() {let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];- e.innerHTML = qIe(Z.appSettings.sidebarOrder, H5.NAV_CATALOG, u7), e.querySelector("[data-sidebar-head]").append(...t), R8.listen(e, "click", (e) => {- if (p8()) return;+ e.innerHTML = YIe(Z.appSettings.sidebarOrder, V5.NAV_CATALOG, u7), e.querySelector("[data-sidebar-head]").append(...t), L8.listen(e, "click", (e) => {+ if (f8()) return;let t = e.target.closest?.("[data-nav]");t && d7(t.dataset.nav);- }), TFe(QIe()).then((e) => e.render(H5.sidebarProps)).catch(() => {});+ }), DFe(eLe()).then((e) => e.render(V5.sidebarProps)).catch(() => {});}-async function eLe() {- let e = R8, t = null;+async function nLe() {+ let e = L8, t = null;try {t = await wn("/api/settings", { signal: e.signal });} catch {@@ -80773,75 +80777,75 @@ async function eLe() {}e.isActive && hM(t, (e) => Z.settingsEffects[e]?.());}-function Q5() {+function Z5() {return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");}-function $5() {- let e = Q5();- XIe(), e && z5(), L("#count").classList.toggle("no-tagbar", !!e), _9(), e !== "trash" && (O5.trashCount = null), e7(e);+function Q5() {+ let e = Z5();+ QIe(), e && R5(), L("#count").classList.toggle("no-tagbar", !!e), _9(), e !== "trash" && (D5.trashCount = null), $5(e);}-function tLe(e) {+function rLe(e) {return {section: e,path: decodeURIComponent(location.pathname),- sections: H5.MANAGE_SECTIONS,- menu: e ? H5.manageMenuSections() : [],- trash: O5.trashCount+ sections: V5.MANAGE_SECTIONS,+ menu: e ? V5.manageMenuSections() : [],+ trash: D5.trashCount};}-function e7(e = Q5()) {- t7();- let t = tLe(e), n = g8();+function $5(e = Z5()) {+ e7();+ let t = rLe(e), n = h8();if (n) n.render(t);else {let e = wde(t);- e !== H5.manageHeaderSkeleton && (H5.manageHeaderSkeleton = e, H5.manageHeaderRoot().innerHTML = e);+ e !== V5.manageHeaderSkeleton && (V5.manageHeaderSkeleton = e, V5.manageHeaderRoot().innerHTML = e);}let r = YF(t)?.title || "";- r !== H5.lastManagePageLabel && (H5.lastManagePageLabel = r, r && Qs(H5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));+ r !== V5.lastManagePageLabel && (V5.lastManagePageLabel = r, r && Qs(V5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function nLe() {- let e = H5.manageHeaderRoot();- R8.listen(e, "click", (e) => {- if (g8()) return;+function iLe() {+ let e = V5.manageHeaderRoot();+ L8.listen(e, "click", (e) => {+ if (h8()) return;let t = e.target.closest?.("[data-manage]");- if (t) n7(t.dataset.manage);+ if (t) t7(t.dataset.manage);else if (e.target.closest?.("[data-manage-crumb] a[href]")) {if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button) return;e.preventDefault(), Q.navigatePath("/data-cleanup");} else e.target.closest?.("[data-empty-trash]") && I7();- }), EFe({+ }), OFe({root: e,- openManage: n7,+ openManage: t7,openDataCleanup: () => Q.navigatePath("/data-cleanup"),emptyTrash: I7- }).then(() => e7()).catch(() => {});+ }).then(() => $5()).catch(() => {});}-function t7() {+function e7() {let e = L("#listTitle");if (!e) return;- let t = decodeURIComponent(location.pathname), n = !Q5() && An(t) && kn[U.state] || "";- e.hidden = !n, n && (e.textContent = n), L("#catalogPageHeading").hidden = !!Q5() || !An(t) || !!n || U.jav === "1";+ let t = decodeURIComponent(location.pathname), n = !Z5() && An(t) && kn[U.state] || "";+ e.hidden = !n, n && (e.textContent = n), L("#catalogPageHeading").hidden = !!Z5() || !An(t) || !!n || U.jav === "1";}-function n7(e = "stats") {+function t7(e = "stats") {let t = Q.routePathOf("section", e);- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", bu(), Q.route(tW()), G5(), _9(), F7());+ t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", bu(), Q.route(eW()), W5(), _9(), F7());}-function r7() {+function n7() {let e = decodeURIComponent(location.pathname);return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || fu : !1;}-function rLe(e = r7()) {+function aLe(e = n7()) {let t = Bj.filter(([e]) => e !== "seed");return e ? [Vj, ...t] : t;}-function i7() {+function r7() {return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";}-function a7() {- return EM(i7());+function i7() {+ return EM(r7());}-function iLe(e) {+function a7(e) {mle(e), s7(), L("#grid").hidden || Z7();}function o7(e) {@@ -80849,18 +80853,18 @@ function o7(e) {}function s7() {document.querySelectorAll("[data-video-layout]").forEach((e) => {- e.checked = e.value === a7();+ e.checked = e.value === i7();}), X.catalogFilterProps && D7({ layout: k7() });}-function aLe(e) {+function oLe(e) {hle(e), s7(), Z7();}async function c7() {- O8(), X.mixRelatedCache.clear(), await Promise.all([l7(), F7()]);+ D8(), X.mixRelatedCache.clear(), await Promise.all([l7(), F7()]);}async function l7() {if (Y.entityPageCurrent() && !L("#index").hidden) {- s5({ revision: ++Y.entityPageRevision });+ o5({ revision: ++Y.entityPageRevision });return;}let e = decodeURIComponent(location.pathname);@@ -80872,27 +80876,27 @@ async function l7() {t?.route.reload ? await t.route.reload() : await B7();}function u7(e) {- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = H5.DIRECT_MANAGE_NAV[e];- if (r) return Q5() === r;+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = V5.DIRECT_MANAGE_NAV[e];+ if (r) return Z5() === r;if (e === "manage") {- let e = Q5();- return !!e && !Z.appSettings.sidebarOrder.some((t) => H5.DIRECT_MANAGE_NAV[t] === e);+ let e = Z5();+ return !!e && !Z.appSettings.sidebarOrder.some((t) => V5.DIRECT_MANAGE_NAV[t] === e);}- return e === "jav" ? t === "/jav" || r7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !Q5() && !U.state && !r7() && U.orient !== "竖屏" : Dn[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";+ return e === "jav" ? t === "/jav" || n7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !Z5() && !U.state && !n7() && U.orient !== "竖屏" : Dn[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";}function d7(e) {let t = nm(e);if (t === location.pathname + location.search + location.hash) return;- if (X5(), t) {+ if (Y5(), t) {Q.navigatePath(t);return;}- if (H5.DIRECT_MANAGE_NAV[e]) {- n7(H5.DIRECT_MANAGE_NAV[e]);+ if (V5.DIRECT_MANAGE_NAV[e]) {+ t7(V5.DIRECT_MANAGE_NAV[e]);return;}if (e === "manage") {- n7();+ t7();return;}if (e === "jav") {@@ -80908,17 +80912,17 @@ function d7(e) {}function f7() {let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);- Yl && Ql !== O5.currentSelectSurface() && A5(!1, !0);+ Yl && Ql !== D5.currentSelectSurface() && k5(!1, !0);let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Mn, t[0]), r = An(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";- L("#selectMode").hidden = !i, L("#density").hidden = !a, f5(), !i && Yl && A5(!1, !0);+ L("#selectMode").hidden = !i, L("#density").hidden = !a, d5(), !i && Yl && k5(!1, !0);}-function oLe() {+function sLe() {let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);- (t !== H5.mobileFilterHost || location.pathname !== H5.mobileFilterPath) && (H5.mobileFilterScroll = null), H5.mobileFilterHost = t, H5.mobileFilterPath = location.pathname;+ (t !== V5.mobileFilterHost || location.pathname !== V5.mobileFilterPath) && (V5.mobileFilterScroll = null), V5.mobileFilterHost = t, V5.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\"]");- H5.mobileFilterScroll = JIe(H5.mobileFilterScroll, n, innerWidth <= 760, r);+ V5.mobileFilterScroll = XIe(V5.mobileFilterScroll, n, innerWidth <= 760, r);for (let n of e) {- let e = n === t && H5.mobileFilterScroll.free;+ let e = n === t && V5.mobileFilterScroll.free;if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;let r = n.getBoundingClientRect().top;n.getAnimations().forEach((e) => e.id === "filter-slide" && e.cancel()), n.toggleAttribute("data-filter-free", e);@@ -80930,52 +80934,52 @@ function oLe() {});}}-function sLe() {- oLe(), [".board-filter-frame", "#count"].forEach((e) => {+function cLe() {+ sLe(), [".board-filter-frame", "#count"].forEach((e) => {let t = L(e), n = t && getComputedStyle(t), r = n ? parseFloat(n.top) : NaN, i = !!t && n.position === "sticky" && t.offsetParent !== null && window.scrollY > 0 && Number.isFinite(r) && t.getBoundingClientRect().top - (parseFloat(n.translate.split(" ")[1]) || 0) <= r + 1;t && t.classList.toggle("is-stuck", i), t?.matches(".board-filter-frame") && t.classList.toggle("board-is-stuck", i);});}function p7() {- H5.stickyFrame ||= R8.frame(() => {- H5.stickyFrame = 0, sLe();+ V5.stickyFrame ||= L8.frame(() => {+ V5.stickyFrame = 0, cLe();});}-function cLe() {+function lLe() {$.followSidebarFilters = () => ({provider: [...$.followProviders][0] || "",dur_min: $.followDurMin || "",dur_max: $.followDurMax || ""- }), R8.handler(L("#filterBtn"), "onclick", () => Y5(!L("#drawer").classList.contains("open"))), H5.SIDEBAR_ITEMS = k8, H5.MANAGE_SECTIONS = A8, H5.MANAGE_MENU_SECTIONS = j8, H5.manageMenuSections = () => VFe(cu === !0), H5.OPTIONAL_SIDEBAR_ITEMS = M8, H5.NAV_CATALOG = HFe, H5.DIRECT_MANAGE_NAV = UFe, H5.settingsHost = () => ({+ }), L8.handler(L("#filterBtn"), "onclick", () => J5(!L("#drawer").classList.contains("open"))), V5.SIDEBAR_ITEMS = O8, V5.MANAGE_SECTIONS = k8, V5.MANAGE_MENU_SECTIONS = A8, V5.manageMenuSections = () => UFe(cu === !0), V5.OPTIONAL_SIDEBAR_ITEMS = j8, V5.NAV_CATALOG = WFe, V5.DIRECT_MANAGE_NAV = GFe, V5.settingsHost = () => ({selectSection: (e) => Ep(Mf(e), {replace: !0,state: W.navigation.location.state}),- closed: ZIe,+ closed: $Ie,store: Z.settingsStore,changed: (e) => Z.settingsEffects[e]?.(),sound: (e) => Zo(e),- navCatalog: H5.NAV_CATALOG,+ navCatalog: V5.NAV_CATALOG,themeOptions: lle,videoLayouts: bM,- followInitialRanges: N8,- videoLayout: () => a7(),- setVideoLayout: aLe,+ followInitialRanges: M8,+ videoLayout: () => i7(),+ setVideoLayout: oLe,censored: t9,- setCensored: ALe,+ setCensored: jLe,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),- setHighContrast: jLe,- receipt: (e) => S8.actionReceipt(e),- failure: S8.actionFailure,+ setHighContrast: MLe,+ receipt: (e) => x8.actionReceipt(e),+ failure: x8.actionFailure,syncRemote: (e) => hM(e, (e) => Z.settingsEffects[e]?.()),openConfiguration: () => Q.navigatePath("/settings/library"),attached: () => Z.syncGlassOptics(),configurable: () => wn("/healthz").then((e) => (yu({ runtimeConfigurable: !!e.configurable }), cu)).catch(() => null)- }), R8.handler(L("#settingsBtn"), "onclick", () => void Z5()), H5.lastManagePageLabel = "", H5.manageHeaderSkeleton = "", H5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, H5.scrollT = null, H5.stickyFrame = 0, H5.mobileFilterScroll = null, H5.mobileFilterHost = null, H5.mobileFilterPath = "", R8.listen(document, "focusin", p7), R8.listen(document, "focusout", p7), R8.listen(window, "scroll", () => {- p7(), location.pathname === "/follow" && T9() && yu({ followScrollY: scrollY }), window.__scrolling = !0, Al(), clearTimeout(H5.scrollT), H5.scrollT = R8.delay(() => {+ }), L8.handler(L("#settingsBtn"), "onclick", () => void X5()), V5.lastManagePageLabel = "", V5.manageHeaderSkeleton = "", V5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, V5.scrollT = null, V5.stickyFrame = 0, V5.mobileFilterScroll = null, V5.mobileFilterHost = null, V5.mobileFilterPath = "", L8.listen(document, "focusin", p7), L8.listen(document, "focusout", p7), L8.listen(window, "scroll", () => {+ p7(), location.pathname === "/follow" && T9() && yu({ followScrollY: scrollY }), window.__scrolling = !0, Al(), clearTimeout(V5.scrollT), V5.scrollT = L8.delay(() => {window.__scrolling = !1;}, 180);- }, { passive: !0 }), R8.listen(window, "resize", p7, { passive: !0 }), R8.handler(L("#scrim"), "onclick", () => Y5(!1));+ }, { passive: !0 }), L8.listen(window, "resize", p7, { passive: !0 }), L8.handler(L("#scrim"), "onclick", () => J5(!1));}// src/catalog-filter-skeleton.tsvar m7 = 64, h7 = (e) => e.replace(/[&<>"]/g, (e) => ({@@ -80984,9 +80988,9 @@ var m7 = 64, h7 = (e) => e.replace(/[&<>"]/g, (e) => ({">": ">","\"": """})[e]), g7 = (e) => e.repeat(m7);-function lLe(e, t, n) {- let r = e.map((e) => `<a href="${h7(e.href)}" data-catalog-view="${h7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${h7(e.label)}</a>`).join(""), i = qG();- return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? "<div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + g7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + g7("<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(m7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ts()}</span>` + (n ? a5(n.sorts, n.layout) : "") + "</div></div></div></div>";+function uLe(e, t, n) {+ let r = e.map((e) => `<a href="${h7(e.href)}" data-catalog-view="${h7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${h7(e.label)}</a>`).join(""), i = GG();+ return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? "<div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + g7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + g7("<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(m7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ts()}</span>` + (n ? i5(n.sorts, n.layout) : "") + "</div></div></div></div>";}// src/application/catalog.jsvar X = {@@ -81025,43 +81029,43 @@ var X = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function uLe() {+function dLe() {X.initialParams.has("loc") || (U.loc = _7(U.loc), bu());}function _7(e) {- return MFe(e, Z.sourceOnline);+ return PFe(e, Z.sourceOnline);}function v7(e = U) {- return NFe(e);+ return FFe(e);}-function dLe() {- yu(w8(PFe(U, Z.appSettings, S8.rollSeed)));+function fLe() {+ yu(C8(IFe(U, Z.appSettings, x8.rollSeed)));}function y7(e = null) {- dLe(), e && (Object.assign(U, e), bu()), Q.route(e ? v7() : "/"), X.clearSearchField(), s9(!1), _9(), F7();+ fLe(), e && (Object.assign(U, e), bu()), Q.route(e ? v7() : "/"), X.clearSearchField(), s9(!1), _9(), F7();}-function fLe(e, t = null) {+function pLe(e, t = null) {let n = e.id;- !e.medium || e.medium === "video" ? d9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : j5(n);+ !e.medium || e.medium === "video" ? d9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : A5(n);}function b7(e) {return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, wn("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {throw X.mixRelatedCache.delete(e), t;})), X.mixRelatedCache.get(e);}-function pLe(e, t) {- i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : x7(e, t);+function mLe(e, t) {+ r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : x7(e, t);}function x7(e, t) {- e.edition_group ? RLe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? zLe(e.part_group.seed_id, e.id, !0, t) : d9(e.id, !0, null, t);+ e.edition_group ? zLe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? BLe(e.part_group.seed_id, e.id, !0, t) : d9(e.id, !0, null, t);}-async function mLe(e, t) {+async function hLe(e, t) {try {let n = await wn("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })});- e.watch_later = n.watch_later, t(!!n.watch_later), S8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {+ e.watch_later = n.watch_later, t(!!n.watch_later), x8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {let n = await wn("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })@@ -81069,10 +81073,10 @@ async function mLe(e, t) {e.watch_later = n.watch_later, t(!!n.watch_later);} });} catch (e) {- S8.actionFailure("更新稍后看", e);+ x8.actionFailure("更新稍后看", e);}}-async function hLe(e, t) {+async function gLe(e, t) {try {await wn("/api/batch", {method: "POST",@@ -81082,7 +81086,7 @@ async function hLe(e, t) {})}), await B7();let n = t === "restore" ? "dispose" : "restore";- S8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {+ x8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {await wn("/api/batch", {method: "POST",body: JSON.stringify({@@ -81093,10 +81097,10 @@ async function hLe(e, t) {}), await B7();} });} catch (e) {- throw S8.actionFailure("操作", e), e;+ throw x8.actionFailure("操作", e), e;}}-async function gLe(e, t, n, r) {+async function _Le(e, t, n, r) {let i = Number(e.rating) || 0, a = DP(i, t), o = async (t, r) => {let i = (await wn("/api/feedback", {method: "POST",@@ -81111,14 +81115,14 @@ async function gLe(e, t, n, r) {};try {let e = await o(a, r);- S8.actionReceipt(e ? `已评 ${EP(e)} 星` : "已取消评分", { undo: () => o(i) });+ x8.actionReceipt(e ? `已评 ${EP(e)} 星` : "已取消评分", { undo: () => o(i) });} catch (e) {- throw r?.aborted || S8.actionFailure("评分", e), e;+ throw r?.aborted || x8.actionFailure("评分", e), e;}}async function S7(e) {let t = new URLSearchParams();- if (r7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && U.state && t.set("state", U.state), e.type !== "item") {+ if (n7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && U.state && t.set("state", U.state), e.type !== "item") {let e = Y.activeFilterState();["loc",@@ -81140,33 +81144,33 @@ async function S7(e) {e[n] && t.set(n, e[n]);});}- return zFe(t.toString(), X.topsQueryParams(e).toString());+ return VFe(t.toString(), X.topsQueryParams(e).toString());}function C7(e) {- c5().type !== "entity" && D7({ tags: j7(e) }), g9({ filters: { ...e } }), z7();+ s5().type !== "entity" && D7({ tags: j7(e) }), g9({ filters: { ...e } }), z7();}async function w7(e) {let t = ++X.facetCountsSeq, [n] = await S7(e);t === X.facetCountsSeq && (e.type === "home" && (i9.facets = n), g9({ latest: e9(n, e) }));}function T7(e) {- let t = c5();+ let t = s5();if (t.type === "entity") {let n = { ...t.filters };- e(n), u5(t.kind, t.name, n), C7(n), w7(c5());+ e(n), l5(t.kind, t.name, n), C7(n), w7(s5());} else if (t.type === "item") {let t = Y.cloneBarsContext(Kl);if (s9(!1), yu({ detailReturnBarsContext: null }), t && t.type === "entity") {- e(t.filters), u5(t.kind, t.name, t.filters) ? F7() : yu({ pageOpens: uu + 1 });+ e(t.filters), l5(t.kind, t.name, t.filters) ? F7() : yu({ pageOpens: uu + 1 });return;}e(U), yu({ barsContext: {type: "home",filters: U- } }), Q.route(v7()), G5(), F7();+ } }), Q.route(v7()), W5(), F7();} else e(U), bu(), Q.route(v7()), C7(U), w7(Gl);}-function _Le() {+function vLe() {return {tiers: null,tiersPending: !1,@@ -81202,9 +81206,9 @@ function D7(e) {...e,offscreen: n}, X.catalogFilterProps = {- ...X.catalogFilterProps || _Le(),+ ...X.catalogFilterProps || vLe(),...e- }, !X.catalogFilterMounting && (cp(t) ? mp(t, e) : (!t.firstChild && !n && (t.innerHTML = lLe(X.catalogViews(), X.catalogFilterProps.state, A7()), uc(t)), X.catalogFilterMounting = fp("catalog-filter", X.catalogFilterProps, {+ }, !X.catalogFilterMounting && (cp(t) ? mp(t, e) : (!t.firstChild && !n && (t.innerHTML = uLe(X.catalogViews(), X.catalogFilterProps.state, A7()), uc(t)), X.catalogFilterMounting = fp("catalog-filter", X.catalogFilterProps, {container: t,isCurrent: () => !0}).then(() => mp(t, X.catalogFilterProps)).finally(() => {@@ -81217,7 +81221,7 @@ function O7() {let e = new URL(v7(), location.origin);return e.searchParams.set("loc", U.loc || ""), e.searchParams.set("thumb", U.thumb || "0"), e.searchParams.set("sort", U.sort || ""), e.searchParams.set("dir", U.dir || ""), e.pathname + e.search;},- openEntity: (e, t) => b5(e, t),+ openEntity: (e, t) => y5(e, t),setView: (e) => {U.state = e, bu(), D7({ state: e }), Q.route(v7()), F7();},@@ -81232,34 +81236,34 @@ function O7() {let t = qj(e, U.sort, U.dir);t && (U.sort = t.sort, U.dir = t.dir, bu(), $7());},- reshuffle: () => kLe(),+ reshuffle: () => ALe(),setLayout: (e) => {- r7() ? o7(e) : iLe(e);+ n7() ? o7(e) : a7(e);},moreTops: async (e) => {let t = X.catalogTopsPages;if (!t) return [];- let n = (await BFe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];+ let n = (await HFe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];return e === "performers" ? n.map(M7) : n.map(N7);}};}function k7() {- return r7() ? {+ return n7() ? {name: "jav-layout",label: "JAV 卡片版式",value: TM(),options: bM- } : i7() ? {+ } : r7() ? {name: "home-layout",label: "首页卡片版式",- value: a7(),+ value: i7(),options: bM} : null;}function A7() {return {- sorts: l5(U.sort, U.dir),+ sorts: c5(U.sort, U.dir),layout: k7(),state: U.state || "",trash: U.state === "trash"@@ -81292,7 +81296,7 @@ function N7(e) {logo: e.has_logo ? fo(e.k, "icon", e.logo_version) : ""};}-function vLe(e, t) {+function yLe(e, t) {X.barsPendingSeq = t, X.catalogFilterProps?.tiers ? D7({tiersPending: !0,state: e.state || ""@@ -81308,14 +81312,14 @@ function P7(e) {async function F7() {let e = ++X.barsRequestSeq;if (g9(), !Hl(location.pathname) || Gl.type === "item") return;- let t = c5(), n = Y.activeFilterState(), r = JSON.stringify([+ let t = s5(), n = Y.activeFilterState(), r = JSON.stringify([t,n,U.state || "",U.seed || "",- r7()+ n7()]);- vLe(n, e);+ yLe(n, e);let i;try {i = await S7(t);@@ -81329,8 +81333,8 @@ async function F7() {}let s = r + "\n" + JSON.stringify([a, o]);if (s === X.barsRendered) {- X.barsPendingSeq = 0, D7({ tiersPending: !1 }), H5.sidebarCatalog && g9({- content: H5.sidebarCatalog,+ X.barsPendingSeq = 0, D7({ tiersPending: !1 }), V5.sidebarCatalog && g9({+ content: V5.sidebarCatalog,filters: { ...n }});return;@@ -81338,13 +81342,13 @@ async function F7() {X.barsRendered = s, t.type === "home" && (i9.facets = a);let c = a.tags || [];Ya(o.performers), Ya(o.studios);- let l = t.type === "home" && !r7() && !U.state && !U.q && !a.locations.some((e) => e.n > 0);+ let l = t.type === "home" && !n7() && !U.state && !U.q && !a.locations.some((e) => e.n > 0);X.catalogTopsPages = {context: t,performers: 0,studios: 0};- let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = S8.seededSample(p, X.TAGS_FIRST, `tags:${U.seed || ""}`), h = new Set(m.map((e) => e.k));+ let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = x8.seededSample(p, X.TAGS_FIRST, `tags:${U.seed || ""}`), h = new Set(m.map((e) => e.k));X.catalogTagRows = f.concat(m, p.filter((e) => !h.has(e.k))).map((e) => ({k: e.k,label: Pl(e.k),@@ -81361,21 +81365,21 @@ async function F7() {tagFirst: f.length + m.length,views: X.catalogViews(),state: n.state || ""- }), z7(), H5.sidebarCatalog = {+ }), z7(), V5.sidebarCatalog = {kind: "catalog",- key: String(++H5.sidebarContentSeq),+ key: String(++V5.sidebarContentSeq),facets: e9(a, t)}, g9({- content: H5.sidebarCatalog,+ content: V5.sidebarCatalog,filters: { ...n },latest: null});}-function yLe(e, t) {- i9.total = e, U.state === "trash" && (O5.trashCount = {+function bLe(e, t) {+ i9.total = e, U.state === "trash" && (D5.trashCount = {total: i9.total,shown: t- }), $5(), D7({ count: {+ }), Q5(), D7({ count: {total: i9.total,shown: t} });@@ -81390,7 +81394,7 @@ function I7() {try {let e = await wn("/api/trash/empty", { method: "POST" });if (e.blocked && e.blocked.length) throw Error(`已永久删除 ${e.purged} 项;${e.blocked.length} 项未能删除,仍在回收站:\n` + e.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));- S8.actionReceipt(`已永久删除 ${e.purged} 项`);+ x8.actionReceipt(`已永久删除 ${e.purged} 项`);} finally {await B7();}@@ -81440,13 +81444,13 @@ async function B7() {filters: U},detailReturnBarsContext: null- }), s9(!1), U.state === "ads") return SLe(e);- X.controller.page === "/junk-files" && H7(), R5(), G5();+ }), s9(!1), U.state === "ads") return CLe(e);+ X.controller.page === "/junk-files" && H7(), L5(), W5();let t = U7(e);- if (Q8(location.pathname) && U.browse !== "folders") {- if (await L5.entityShapesReady, !Q.surfaceCurrent(e)) return;- oIe();- } else $8();+ if (Z8(location.pathname) && U.browse !== "folders") {+ if (await I5.entityShapesReady, !Q.surfaceCurrent(e)) return;+ cIe();+ } else Q8();return z7(), L("#count").classList.remove("manage-static", "junkcount"), t;}function V7(e) {@@ -81457,10 +81461,10 @@ function H7() {Al(e), hp(e), X.controller.clear(), e.innerHTML = "";}function U7(e) {- return q7("/", xLe, e, { place: $Le });+ return q7("/", SLe, e, { place: eRe });}-function bLe(e) {- return q7("/junk-files", wLe, e);+function xLe(e) {+ return q7("/junk-files", TLe, e);}function W7() {return !!sp(L("#grid"));@@ -81487,15 +81491,15 @@ function q7(e, t, n, r = {}) {}), a.settled;}function J7() {- let e = i7();+ let e = r7();return MM({- active: r7() || e,+ active: n7() || e,home: e,portrait: U.orient === "竖屏"});}function Y7(e = "正在读取作品") {- return oY(e, X7());+ return iY(e, X7());}function X7() {return U ? NM(J7()) : 16 / 9;@@ -81504,12 +81508,12 @@ function Z7() {G7() && (Al(L("#grid")), K7({layout: J7(),seekSeconds: Z.appSettings.seekSeconds- })), Y.entityPageCurrent() && (Al(L("#index [data-entity-hero]")), s5({+ })), Y.entityPageCurrent() && (Al(L("#index [data-entity-hero]")), o5({layout: J7(),seekSeconds: Z.appSettings.seekSeconds}));}-function xLe() {+function SLe() {let e = decodeURIComponent(location.pathname), t = An(e), n = U.state === "trash";return {mode: "catalog",@@ -81530,23 +81534,23 @@ function xLe() {groupCollapse: Z.appSettings.groupCollapse,excludeVertical: t && e !== "/wall" && !U.q && !U.orient && U.browse !== "folders" || U.jav === "1",mix: t && e !== "/wall" && !n && U.browse !== "folders",- shorts: t && e !== "/wall" && !r7() && U.orient !== "竖屏" && !n && U.browse !== "folders",+ shorts: t && e !== "/wall" && !n7() && U.orient !== "竖屏" && !n && U.browse !== "folders",countRow: L("#count"),- onCount: yLe,+ onCount: bLe,onCountFailed: () => D7({ count: !1 }),- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : QK({- jav: r7() && !t,+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : XK({+ jav: n7() && !t,configurable: cu,filtered: !t}),canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function SLe(e) {+function CLe(e) {let t = L("#count");- return X.controller.page === "/junk-files" && W7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (H7(), R5("正在读取垃圾文件")), G5(), z7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), bLe(e);+ return X.controller.page === "/junk-files" && W7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (H7(), L5("正在读取垃圾文件")), W5(), z7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), xLe(e);}-async function CLe(e, t) {+async function wLe(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {await wn("/api/batch", {@@ -81558,7 +81562,7 @@ async function CLe(e, t) {})}), await B7();let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";- S8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {+ x8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {await wn("/api/batch", {method: "POST",body: JSON.stringify({@@ -81568,12 +81572,12 @@ async function CLe(e, t) {}), await B7();} });} catch (e) {- throw S8.actionFailure("操作", e), e;+ throw x8.actionFailure("操作", e), e;}}-function wLe() {+function TLe() {return {- ...eW(location.search),+ ...$U(location.search),helpers: X.junkQueueHelpers,actions: X.junkQueueActions,batchSize: Z.appSettings.batchSize,@@ -81582,15 +81586,15 @@ function wLe() {selected: new Set(ql),countRow: L("#count"),settled: V7,- skeletonHtml: () => E2("正在读取垃圾文件", {+ skeletonHtml: () => T2("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"}),canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function TLe() {- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => C8(e, t, Z.appSettings, n), yu(w8(jFe(location, Z.appSettings, S8.rollSeed))), X.searchValueSnapshot = {+function ELe() {+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => S8(e, t, Z.appSettings, n), yu(C8(NFe(location, Z.appSettings, x8.rollSeed))), X.searchValueSnapshot = {text: "",scrollLeft: 0}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {@@ -81611,14 +81615,14 @@ function TLe() {};};}-function ELe() {- R8.handler(L("#wallBtn"), "onclick", () => {- A5(!1, !0);- let e = c5(), t = {+function DLe() {+ L8.handler(L("#wallBtn"), "onclick", () => {+ k5(!1, !0);+ let e = s5(), t = {...Y.activeFilterState(),- jav: r7() ? "1" : ""+ jav: n7() ? "1" : ""};- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(Abe(void 0, t));+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(Mbe(void 0, t));}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = U.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {let n = X.tagList(e), r = n.indexOf(t);return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");@@ -81629,26 +81633,26 @@ function ELe() {tagLabel: (e) => Pl(e)}, X.gridActions = {wallPlayer: async (e, t, n) => {- let r = await r8(i9.stageHost);+ let r = await n8(i9.stageHost);return n.throwIfAborted(), r.mountWallPlayer(e, t, n);},wallDetails: x7,- open: (e, t) => pLe(e, t),- openResource: (e, t) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : fLe(e, t),- openShort: (e) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : m9(e.id),+ open: (e, t) => mLe(e, t),+ openResource: (e, t) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : pLe(e, t),+ openShort: (e) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : m9(e.id),openShorts: () => m9(),- openMix: (e, t) => LLe(e, e, !0, t),- openEntity: (e, t) => b5(e, t),+ openMix: (e, t) => RLe(e, e, !0, t),+ openEntity: (e, t) => y5(e, t),openUnowned: () => y7({ owner: "none" }),toggleTag: (e) => {T7((t) => {t.tag = X.tagPressed(t.tag, e) ? "" : e;});},- toggleSelection: (e, t) => j5(e, t),- watchLater: (e, t) => mLe(e, t),- rate: (e, t, n, r) => gLe(e, t, n, r),- resourceOperation: (e, t) => hLe(e, t),+ toggleSelection: (e, t) => A5(e, t),+ watchLater: (e, t) => hLe(e, t),+ rate: (e, t, n, r) => _Le(e, t, n, r),+ resourceOperation: (e, t) => gLe(e, t),mixRelated: (e) => b7(e),canFlip: () => !Yl && !t9() && !window.__scrolling && !X.reduceMotion()}, X.topsQueryParams = (e, t = 0) => {@@ -81656,7 +81660,7 @@ function ELe() {n: "60",seed: U.seed || ""});- return t && n.set("page", String(t)), r7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), e.type === "home" && U.folder && (n.set("folder", U.folder), U.folder_recursive && n.set("folder_recursive", U.folder_recursive)), n;+ return t && n.set("page", String(t)), n7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), e.type === "home" && U.folder && (n.set("folder", U.folder), U.folder_recursive && n.set("folder_recursive", U.folder_recursive)), n;}, X.facetCountsSeq = 0, X.VIEW_PILLS = [{k: "",@@ -81677,7 +81681,7 @@ function ELe() {], X.catalogViews = () => X.VIEW_PILLS.map((e) => ({...e,href: e.k ? Dn[e.k] : "/"- })), X.TAGS_FIRST = 26, R8.listen(L("#catalogFilter"), "click", (e) => {+ })), X.TAGS_FIRST = 26, L8.listen(L("#catalogFilter"), "click", (e) => {let t = e.target.closest?.("[data-catalog-view]");t && !e.defaultPrevented && (e.preventDefault(), O7().setView(t.dataset.catalogView));}), X.catalogOnScreen = () => L("#index").hidden && L("#stats").hidden, X.COMBO_LABELS = {@@ -81688,27 +81692,27 @@ function ELe() {X.catalogFilterProps && D7({ comboHidden: !0 });};}-function DLe() {+function OLe() {X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {navigate: (e) => {- Yl && A5(!1, !0), Q.route(e);+ Yl && k5(!1, !0), Q.route(e);},- toggleSelection: (e, t) => j5(e, t),+ toggleSelection: (e, t) => A5(e, t),open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : d9(e.id, !0, null, t),reveal: async (e) => {try {return await wn("/api/reveal", {method: "POST",body: JSON.stringify({ id: e.id })- }), S8.toast({ text: "已在资源管理器中显示" }), "";+ }), x8.toast({ text: "已在资源管理器中显示" }), "";} catch (e) {return Y.sourceHint(e.message);}},- operate: (e, t) => CLe(e, t)+ operate: (e, t) => wLe(e, t)};}-X.controller = new FFe();+X.controller = new LFe();// src/application/preferences.jsvar Z = {sourceOnline: void 0,@@ -81732,7 +81736,7 @@ var Z = {CENSOR_KEY: void 0};async function Q7() {- let e = R8;+ let e = L8;try {let t = await xr(e.signal);if (!e.isActive) return Z.sourceOnline;@@ -81742,7 +81746,7 @@ async function Q7() {if (!e.isActive) return Z.sourceOnline;Z.sourceOnline = {}, Z.sourceProblems = {};}- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), uLe(), Z.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), dLe(), Z.sourceOnline;}function $7() {let e = Q.surfacePath();@@ -81753,7 +81757,7 @@ function $7() {state: W.navigation.location.state}), t;}-function OLe(e) {+function kLe(e) {if (e === "local") return {kind: "glyph",name: "hard-drive"@@ -81785,7 +81789,7 @@ function e9(e, t) {value: e.k,label: tr[e.k] || e.k,n: e.n ?? null,- dot: OLe(e.k),+ dot: kLe(e.k),...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}})),regions: n(e.regions),@@ -81798,19 +81802,19 @@ function e9(e, t) {duration: !!e.stats?.duration};}-async function kLe(e = !1) {+async function ALe(e = !1) {if (e && (document.hidden || !An(decodeURIComponent(location.pathname)) || i9.stageOpen() || i9.immerseOpen() || Yl || ql.size || document.activeElement === L("#q"))) return !1;if (!L("#stats").hidden) {let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;if (t === "skip") return;if (e === "/playlists") {- C5();+ S5();return;}let n = t === "reopen" ? e : "/stats";rm(), n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, W.navigation.location.state) : Q.navigatePath(n);} else if (L("#index").hidden) {- U.sort = "seed", U.dir = "", U.seed = S8.rollSeed(), bu(), O8(), D7({ refreshing: !0 });+ U.sort = "seed", U.dir = "", U.seed = x8.rollSeed(), bu(), D8(), D7({ refreshing: !0 });try {rm();let e = $7();@@ -81830,30 +81834,30 @@ function t9() {function n9(e) {document.body.classList.toggle("censor", e), Z.settingsStore.notify();}-function ALe(e) {+function jLe(e) {localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), n9(e), e && Al();}-function jLe(e) {+function MLe(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();}function r9(e) {return Dc(e, { drag: !0 });}-function MLe() {+function NLe() {["#nrow", "#count"].forEach((e) => r9(L(e))), document.querySelectorAll(".tier,.srow").forEach(r9);}-function NLe() {+function PLe() {let e = new URLSearchParams(location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function PLe() {+function FLe() {Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "媒体目录无法访问,请检查目录、读取权限和网盘挂载状态", Z.OFFLINE_REASON = {local: "无法读取媒体目录,请检查目录是否存在及读取权限。",115: "无法读取 115 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。",pikpak: "无法读取 PikPak 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。"}, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = mM(), Z.appSettings = Z.settingsStore.value, Xt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Xo(Z.appSettings.uiSounds), ns(), vM(), fle(), UM(), KM(), qM(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {performerNameLanguage: () => {- Xt(Z.appSettings.performerNameLanguage), L5.syncPageTitle(location.href), X.barsRendered = "", F7();+ Xt(Z.appSettings.performerNameLanguage), I5.syncPageTitle(location.href), X.barsRendered = "", F7();},theme: () => vM(),uiSounds: () => {@@ -81879,14 +81883,14 @@ function PLe() {},seekSeconds: () => Z7(),groupCollapse: () => l7(),- feedAutoScroll: () => sIe(),- feedLimit: () => e5(),- feedCompilations: () => e5(),+ feedAutoScroll: () => lIe(),+ feedLimit: () => $8(),+ feedCompilations: () => $8(),miniplayer: () => {- Z.appSettings.miniplayer || i8()?.closeMiniplayer();+ Z.appSettings.miniplayer || r8()?.closeMiniplayer();},javImage: () => {- io(document, Z.appSettings.javImage), Z7(), document.querySelectorAll("img[data-jav-image].cover").forEach(ll), ILe();+ io(document, Z.appSettings.javImage), Z7(), document.querySelectorAll("img[data-jav-image].cover").forEach(ll), LLe();},searchHistoryLimit: () => mp(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {@@ -81897,7 +81901,7 @@ function PLe() {return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";}, Z.emptyState = Us;}-function FLe() {+function ILe() {Z.CENSOR_KEY = "peach-censor", n9(localStorage.getItem(Z.CENSOR_KEY) === "1");}// src/application/media.js@@ -81920,10 +81924,10 @@ function a9() {} : null;}function o9() {- return i8()?.exit() || Promise.resolve();+ return r8()?.exit() || Promise.resolve();}function s9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {- Q.queueOpenRequest !== r && v9(), i8()?.dispose({ miniplayer: n }), yu({+ Q.queueOpenRequest !== r && v9(), r8()?.dispose({ miniplayer: n }), yu({activeQueue: null,pendingQueueRoute: null,presentedItem: null@@ -81933,8 +81937,8 @@ function s9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = nulldetailReturnNeedsRestore: !1}), p7(), e && Q.route($l || "/");}-function ILe() {- i8()?.repaintPoster();+function LLe() {+ r8()?.repaintPoster();}function c9(e, t, n, r, i = null, a = {}) {t = +t;@@ -81958,13 +81962,13 @@ function c9(e, t, n, r, i = null, a = {}) {Q.requestedQueue = () => d9(n == null ? null : +n, !1, s, i, !0, e), yu({ queueOpens: du + 1 });} else return d9(n == null ? null : +n, !1, s, i, r);}-function LLe(e, t = e, n = !0, r = null) {+function RLe(e, t = e, n = !0, r = null) {return c9("mix", e, t, n, r);}-function RLe(e, t = e, n = !0, r = null) {+function zLe(e, t = e, n = !0, r = null) {return c9("editions", e, t, n, r);}-function zLe(e, t = e, n = !0, r = null) {+function BLe(e, t = e, n = !0, r = null) {return c9("parts", e, t, n, r);}function l9(e, t = null, n = !0) {@@ -81980,8 +81984,8 @@ async function d9(e, t = !0, n = null, r = null, i = !1, a = null) {return;}Al(), e = e == null ? null : +e;- let o = r?.isConnected ? r : eu?.isConnected ? eu : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : tu, c = u9(), l = nu || !t && !c, u = Gl.type === "item" ? Kl : Y.cloneBarsContext(c5());- t ? yu({ detailReturnPath: location.pathname + location.search }) : i || yu({ detailReturnPath: Gf() || $l }), t && Hf(), i8()?.showing() !== "item" && s9(!1, !0, {+ let o = r?.isConnected ? r : eu?.isConnected ? eu : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : tu, c = u9(), l = nu || !t && !c, u = Gl.type === "item" ? Kl : Y.cloneBarsContext(s5());+ t ? yu({ detailReturnPath: location.pathname + location.search }) : i || yu({ detailReturnPath: Gf() || $l }), t && Hf(), r8()?.showing() !== "item" && s9(!1, !0, {miniplayer: !1,preserveQueueRequest: a}), yu({@@ -81993,7 +81997,7 @@ async function d9(e, t = !0, n = null, r = null, i = !1, a = null) {seedId: n.seedId,playlistId: n.playlistId} }), yu({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, Kf("item"));- let d = await r8(i9.stageHost);+ let d = await n8(i9.stageHost);if (a?.cancelled) return;let f = a ? {...i9.itemDetailActions,@@ -82027,20 +82031,20 @@ async function f9() {await o9(), s9(!1, !1, { miniplayer: !1 }), yu({ detailReturnBarsContext: null }), Uf(), yu({ barsContext: e || {type: "home",filters: U- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? yu({ pageOpens: uu + 1 }) : (F7(), location.pathname === "/playlists" && C5()));+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? yu({ pageOpens: uu + 1 }) : (F7(), location.pathname === "/playlists" && S5()));}async function p9(e, t = !0) {if (t) {yu({ detailReturnPath: location.pathname + location.search }), y9("/works/" + encodeURIComponent(e), "jav", () => p9(e, !1));return;}- let n = W.navigation.seq, r = Y.cloneBarsContext(c5()), i = !u9(), a = Gf() || (i ? "/jav?tab=discover" : $l) || "/jav?tab=discover";- i8()?.showing() !== "jav" && s9(!1, !0, { miniplayer: !1 }), yu({+ let n = W.navigation.seq, r = Y.cloneBarsContext(s5()), i = !u9(), a = Gf() || (i ? "/jav?tab=discover" : $l) || "/jav?tab=discover";+ r8()?.showing() !== "jav" && s9(!1, !0, { miniplayer: !1 }), yu({detailReturnPath: a,detailReturnBarsContext: r,detailReturnNeedsRestore: i}), Al();- let [o, s] = await Promise.all([r8(i9.stageHost), B("/healthz")]);+ let [o, s] = await Promise.all([n8(i9.stageHost), B("/healthz")]);W.navigation.seq === n && (await o.open({kind: "jav",code: e,@@ -82057,19 +82061,19 @@ async function p9(e, t = !0) {openTag: (e) => T7((t) => {t.tag = e;}),- receipt: (e) => S8.toast({ text: e })+ receipt: (e) => x8.toast({ text: e })}}), p7());}async function m9(e = null, t = !0) {- t ? (i9.requestedImmerseId = e, Q.route("/immerse")) : (i8()?.closeMiniplayer(), await (await CFe(i9.immerseHost)).open(e));+ t ? (i9.requestedImmerseId = e, Q.route("/immerse")) : (r8()?.closeMiniplayer(), await (await TFe(i9.immerseHost)).open(e));}-function BLe() {+function VLe() {i9.total = 0, i9.facets = null, i9.stageHost = {player: {settings: () => Z.appSettings,saveSettings: () => Z.saveSettings(),- toast: (e, t) => S8.toast({ text: e }, t),+ toast: (e, t) => x8.toast({ text: e }, t),loadSourceStatus: () => Q7(),offlineReason: (e) => Z.offlineReason(e)},@@ -82078,9 +82082,9 @@ function BLe() {e === "follow" ? O9(t, !0, n) : d9(t, !0);},openItem: (e) => void d9(e)- }, i9.stageOpen = () => !!i8()?.isOpen();+ }, i9.stageOpen = () => !!r8()?.isOpen();}-function VLe() {+function HLe() {i9.itemDetailHelpers = {badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),titleHtml: (e) => aL(e),@@ -82091,7 +82095,7 @@ function VLe() {tagCandidates: () => i9.facets && i9.facets.tags || [],sourceOffline: (e) => Z.sourceOffline(e),offlineReason: (e) => Z.offlineReason(e),- relatedSkeletonHtml: () => E2("正在读取推荐", {+ relatedSkeletonHtml: () => T2("正在读取推荐", {cards: !0,className: "related-skeleton"}),@@ -82114,7 +82118,7 @@ function VLe() {e.kind === "follow" ? (Q.queueOpenRequest = null, yu({pendingQueueRoute: null,followDetailReturnPath: $l || "/"- }), Q.route(`/posts/${e.id}`, !t, Kf("follow")), O9(e.id, !1, null, !0)) : e.kind === "item" ? d9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? x9("/playlists") : C5() : s9(!1);+ }), Q.route(`/posts/${e.id}`, !t, Kf("follow")), O9(e.id, !1, null, !0)) : e.kind === "item" ? d9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? x9("/playlists") : S5() : s9(!1);},openQueueItem: (e, t, n = !0) => void c9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),reopen: () => {@@ -82127,23 +82131,23 @@ function VLe() {openSavedFollow: () => {$.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", x9(S9());},- openEntity: (e, t) => b5(e, t),+ openEntity: (e, t) => y5(e, t),openUnowned: () => y7({ owner: "none" }),openRegion: (e) => y7({ region: e || "none" }),openTag: (e) => T7((t) => {t.tag = e;}),- addToPlaylist: (e) => xIe(e),- saveMix: (e) => bIe(e),+ addToPlaylist: (e) => CIe(e),+ saveMix: (e) => SIe(e),editPlaylist: () => x9("/playlists"),openPlaylists: () => x9("/playlists"),- reveal: (e) => h5(e),- sync: (e) => fIe(e),+ reveal: (e) => m5(e),+ sync: (e) => mIe(e),trashChanged: async (e, t) => {U.state === "ads" && (t || e === "trash") && (t || (Uf(), s9(!0, !1, { miniplayer: !1 })), await B7());},- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- failure: (e, t) => S8.actionFailure(e, t)+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),+ failure: (e, t) => x8.actionFailure(e, t)}, i9.immerseHost = {filters: () => U,seekSeconds: () => Z.appSettings.seekSeconds,@@ -82152,12 +82156,12 @@ function VLe() {route: (e) => Q.route("/immerse?id=" + e, !0),closed: () => y7(),openItem: (e) => void d9(e),- openEntity: (e, t) => b5(e, t),+ openEntity: (e, t) => y5(e, t),openUnowned: () => y7({ owner: "none" }),- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- warn: (e) => S8.toast({ text: e }, { sound: "warning" }),- failure: (e, t) => S8.actionFailure(e, t)- }, i9.immerseOpen = () => !!s8()?.isOpen(), R8.handler(L("#immerseBtn"), "onclick", () => m9());+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),+ warn: (e) => x8.toast({ text: e }, { sound: "warning" }),+ failure: (e, t) => x8.actionFailure(e, t)+ }, i9.immerseOpen = () => !!o8()?.isOpen(), L8.handler(L("#immerseBtn"), "onclick", () => m9());}// src/application/navigation.jsvar Q = {@@ -82180,19 +82184,19 @@ var Q = {initialOverlayOpened: void 0};function h9() {- let e = p8();+ let e = f8();e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(u7(e.dataset.nav))));}function g9(e = {}) {let t = Q.surfacePath();- t !== H5.sidebarSurface && (H5.sidebarSurface = t, H5.sidebarProps = {- ...H5.sidebarProps,+ t !== V5.sidebarSurface && (V5.sidebarSurface = t, V5.sidebarProps = {+ ...V5.sidebarProps,content: null,latest: null- }), H5.sidebarProps = {- ...H5.sidebarProps,+ }), V5.sidebarProps = {+ ...V5.sidebarProps,...e- }, p8()?.render(H5.sidebarProps);+ }, f8()?.render(V5.sidebarProps);}function _9() {g9(), h9(), f7();@@ -82207,12 +82211,12 @@ function y9(e, t, n) {}, Q.route(e, !1, Kf(t));}function b9() {- Q.surfaceEpoch++, X.barsRequestSeq++, L5.syncPageTitle(location.href), g9(), Uf();+ Q.surfaceEpoch++, X.barsRequestSeq++, I5.syncPageTitle(location.href), g9(), Uf();}function x9(e) {Q.route(e), yu({ pageOpens: uu + 1 });}-function HLe() {+function ULe() {Q.routeMeta = (e) => {let t = Qf(e);return t ? { route: t } : null;@@ -82220,7 +82224,7 @@ function HLe() {let t = Qf(e);return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !Rf(e) && e !== "/immerse";}, Q.openRoutePath = (e) => {- e === "/immerse" ? m9(NLe()) : e === "/follow" ? D9() : e === "/playlists" || Q.catalogPage(e) ? x9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? zIe() : e) : (A5(!1, !0), x9(P5({+ e === "/immerse" ? m9(PLe()) : e === "/follow" ? D9() : e === "/playlists" || Q.catalogPage(e) ? x9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? VIe() : e) : (k5(!1, !0), x9(N5({kind: e.slice(1),q: "",scope: "local",@@ -82229,34 +82233,34 @@ function HLe() {})));};}-function ULe() {+function WLe() {Q.surfaceEpoch = 0, Q.surfacePath = () => decodeURIComponent(location.pathname), Q.surfaceRequests = null, Q.surfaceToken = (e) => ({epoch: Q.surfaceEpoch,path: e,signal: Q.surfaceRequests?.signal- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Q8(e) || $8(), hp(L("#stats"), L("#index")), !An(e) && e !== "/trash" && H7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Z8(e) || Q8(), hp(L("#stats"), L("#index")), !An(e) && e !== "/trash" && H7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {Q.surfaceEpoch++, X.barsRequestSeq++, Ep(e, {replace: t,state: n- }), L5.syncPageTitle(e), queueMicrotask(() => {- f7(), t7(), g9();+ }), I5.syncPageTitle(e), queueMicrotask(() => {+ f7(), e7(), g9();});}, Q.navigatePath = (e, t = !1, n) => {t ? W.replace(e, n) : W.push(e, n), queueMicrotask(() => {- f7(), t7();+ f7(), e7();});}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;}// src/jobs.ts-function WLe(e, t, n) {+function GLe(e, t, n) {if (!Number.isFinite(n) || n <= 0) return "";let r = Math.max(0, Math.min(n, Number.isFinite(t) ? t : 0)), i = r / n * 100;return `<div class="ui-board-job-progress" role="progressbar" aria-label="${z(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${z(e)}<small>${Math.round(i)}%</small></span></div>`;}-function GLe(e, t = 0, n = 0) {- return n > 0 ? WLe(e, t, n) : Vs(e);+function KLe(e, t = 0, n = 0) {+ return n > 0 ? GLe(e, t, n) : Vs(e);}-async function KLe(e) {+async function qLe(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -82271,14 +82275,14 @@ async function KLe(e) {await t(2e3);}}-function qLe(e) {+function JLe(e) {let t = e.note || ((e) => Rs(e, {label: "任务状态",variant: "error"- })), n = e.loading || Vs, r = e.progress || ((e, t, n) => GLe(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 || Vs, r = e.progress || ((e, t, n) => KLe(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;- KLe({+ qLe({read: e.read,active: () => !c && e.active() && a.isConnected,keepWatching: e.watchIdle !== !1,@@ -82327,9 +82331,9 @@ var $ = {FOLLOW_MANAGE_TABS: void 0,followSidebarFilters: void 0};-function JLe(e) {+function YLe(e) {let t = (e.results || []).filter((e) => !e.ok).length;- S8.toast({ text: Vi(e) }, {+ x8.toast({ text: Vi(e) }, {warn: !!t,timeout: t ? 8e3 : 6e3,sound: t ? "warning" : "success",@@ -82342,7 +82346,7 @@ function JLe(e) {function S9() {return Oa(C9());}-function YLe() {+function XLe() {return $.controller.read();}function C9() {@@ -82363,17 +82367,17 @@ function C9() {function w9(e) {$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;}-function XLe() {+function ZLe() {let e = sp(L("#stats"));return e && e.path === "/follow" && e.host.isConnected ? e : null;}function T9() {- return !!XLe();+ return !!ZLe();}function E9(e) {T9() && mp(L("#stats"), e);}-function ZLe(e, t = {}) {+function QLe(e, t = {}) {return $.controller.route(e, t);}function D9(e = !1) {@@ -82386,7 +82390,7 @@ async function O9(e, t = !0, n = null, r = !1) {}Al(), e = +e;let i = !location.pathname.startsWith("/posts/");- t && i && !r && yu({ followDetailReturnPath: location.pathname + location.search }), !t && !r && yu({ followDetailReturnPath: Gf() || "/follow" }), t && Hf(), i8()?.showing() !== "follow" && s9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, Kf("follow")), await (await r8(i9.stageHost)).open({+ t && i && !r && yu({ followDetailReturnPath: location.pathname + location.search }), !t && !r && yu({ followDetailReturnPath: Gf() || "/follow" }), t && Hf(), r8()?.showing() !== "follow" && s9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, Kf("follow")), await (await n8(i9.stageHost)).open({kind: "follow",id: e,mediaIndex: n,@@ -82397,16 +82401,16 @@ async function O9(e, t = !0, n = null, r = !1) {resume: t ? null : a9()}), p7();}-async function QLe() {- await o9(), s9(!1, !1, { miniplayer: !1 }), Uf(), Q.route(ou || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && T9() ? (YLe(), E9({ view: C9() })) : yu({ pageOpens: uu + 1 }));+async function $Le() {+ await o9(), s9(!1, !1, { miniplayer: !1 }), Uf(), Q.route(ou || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && T9() ? (XLe(), E9({ view: C9() })) : yu({ pageOpens: uu + 1 }));}-function $Le(e) {+function eRe(e) {let t = document.createElement("div");return t.className = "peach-react", tc(e, () => {e.textContent = "", e.append(t);}), t;}-function eRe() {+function tRe() {$.followFeedHelpers = Il({wireDrag: (e) => {e && r9(e);@@ -82415,41 +82419,41 @@ function eRe() {e && Dc(e);},listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),- jobProgress: qLe+ jobProgress: JLe}), $.followFeedActions = {- loaded: (e) => K5(e),+ loaded: (e) => G5(e),openDetail: (e) => O9(e),openAuthor: (e) => Q.navigatePath(Nn("creator", e)),- toggleSelection: (e, t) => DIe(e, t),+ toggleSelection: (e, t) => kIe(e, t),setImagesOnly: (e) => {- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), f5();+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), d5();},setPhotoLayout: (e) => {- FM(e), f5();+ FM(e), d5();},canFlip: () => !Yl && !t9() && !window.__scrolling && !X.reduceMotion(),- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- failure: (e, t) => S8.actionFailure(e, t),- checkReport: (e) => JLe(e)+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),+ failure: (e, t) => x8.actionFailure(e, t),+ checkReport: (e) => YLe(e)}, $.followFeedShell = {skeleton: () => $.followSkeletonHtml("正在读取关注内容"),ground: () => {- i8()?.showing() !== "follow" && (Al(), s9(!1), W5(), !T9() && (Q.claimSurface(Q.surfacePath()), U5({ manage: !1 }), L("#stats").querySelector(".peach-react") && hp(L("#stats")), L("#stats").replaceChildren()));+ r8()?.showing() !== "follow" && (Al(), s9(!1), U5(), !T9() && (Q.claimSurface(Q.surfacePath()), H5({ manage: !1 }), L("#stats").querySelector(".peach-react") && hp(L("#stats")), L("#stats").replaceChildren()));}}, $.followDetailActions = Wl({view: C9,adoptView: w9,rememberReturn: (e) => yu({ followDetailReturnPath: e }),- close: () => void QLe(),+ close: () => void $Le(),open: (e, t, n) => void O9(e, !0, t, n),- drawer: K5,+ drawer: G5,openAuthor: (e) => Q.navigatePath(Nn("creator", e))}, {- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- failure: S8.actionFailure+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),+ failure: x8.actionFailure});}-function tRe() {+function nRe() {$.controller = ja({location: () => location,view: C9,@@ -82481,36 +82485,36 @@ function tRe() {});},openPage: x9,- rollSeed: () => Number(S8.rollSeed()),+ rollSeed: () => Number(x8.rollSeed()),enterSeed: () => Math.floor(Math.random() * 4294967295),revealFeed: () => {- Al(), W5(), U5({ manage: !1 });+ Al(), U5(), H5({ manage: !1 });},- syncPhotoWalls: f5,+ syncPhotoWalls: d5,scrollTop: () => {lm(() => location.pathname === "/follow", L("#stats").querySelector("[data-filter-frame]"));}}, $.followFeedHelpers, $.followFeedActions), $.followFeedActions = $.controller.actions, $.followFeedProps = $.controller.props, $.followFeedShell.refresh = $.controller.refresh, $.followFeedShell.props = $.controller.props;}// src/application/lifecycle.js-function nRe() {- aEe(), Yc(document), Lo(document.documentElement, { variant: "page" }), Lo(L("#drawerScroll")), R8.own(Kc()), Ua(document.body), X.homeHasFeed = iIe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, H5.sidebarProps = {+function rRe() {+ sEe(), Yc(document), Lo(document.documentElement, { variant: "page" }), Lo(L("#drawerScroll")), L8.own(Kc()), Ua(document.body), X.homeHasFeed = oIe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, V5.sidebarProps = {content: null,filters: {},latest: null- }, H5.sidebarSurface = "", H5.sidebarCatalog = null, H5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [+ }, V5.sidebarSurface = "", V5.sidebarCatalog = null, V5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [["new", "更新时间"],["hot", "热度"],["dur", "时长"]], $.FOLLOW_RANDOM_SORT = "rand", $.followSort = "new", $.followDir = "desc", $.followSeed = 0, $.followDurMin = 0, $.followDurMax = 0;}// src/application/tutorial.js-async function rRe() {- pU({ reopen: !0 });+async function iRe() {+ fU({ reopen: !0 });}-function iRe() {+function aRe() {let e = new URL(location.href), t = e.searchParams.get("onboarding") === "1";- yu({ cameFromSetup: t }), R8.handler(document.getElementById("tutorialBtn"), "onclick", () => pU()), pU({ invitation: !0 }), t && e.searchParams.delete("onboarding");+ yu({ cameFromSetup: t }), L8.handler(document.getElementById("tutorialBtn"), "onclick", () => fU()), fU({ invitation: !0 }), t && e.searchParams.delete("onboarding");let n = e.searchParams.get("agentation");try {localStorage.removeItem("peach.agentation");@@ -82521,7 +82525,7 @@ function iRe() {}), n === "on" && import("/dev/agentation.js").catch(() => {});}// src/react/search/recommendations.ts-async function aRe(e) {+async function oRe(e) {let t = (await Promise.allSettled([e("/api/items?sort=rand&limit=5"),e("/api/jav/discoveries?scope=library&limit=5"),@@ -82545,9 +82549,9 @@ async function aRe(e) {let t = ma(e);for (let n of ["videos", "images"]) {if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;- let r = ha(e, n), i = l.sources.find((e) => e.id === r.source_id), a = MG(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 = ha(e, n), i = l.sources.find((e) => e.id === r.source_id), a = AG(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: OG(r),+ value: EG(r),id: r.id,who: a.author,href: `/posts/${r.id}`,@@ -82563,7 +82567,7 @@ async function aRe(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: jG(l.sources.filter((t) => t.author_key === e.key), e.k),+ avatarHtml: kG(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, {@@ -82633,7 +82637,7 @@ async function aRe(e) {];}// src/application/search-morph.js-function oRe(e, t, n, r, i, a, o) {+function sRe(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);@@ -82658,7 +82662,7 @@ var k9 = {function A9() {k9.searchControl?.close();}-function sRe(e) {+function cRe(e) {let t = e ? eo({...e,is_jav: !!e.code@@ -82677,36 +82681,36 @@ function M9(e) {if (t.classList.toggle("open", e), L("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = Bc();t.classList.add("search-morphing");- let h = t.animate(oRe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {+ let h = t.animate(sRe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {duration: m.duration,easing: "linear",fill: "both"});- k9.searchMorph = h, R8.handler(h, "onfinish", () => {+ k9.searchMorph = h, L8.handler(h, "onfinish", () => {k9.searchMorph === h && j9();});}-function cRe() {- return i9.immerseOpen() ? s8().activeVideo() : i8()?.activeVideo() || null;+function lRe() {+ return i9.immerseOpen() ? o8().activeVideo() : r8()?.activeVideo() || null;}-function lRe(e) {+function uRe(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);}-function uRe() {+function dRe() {k9.searchControl = null, k9.searchActions = {search: (e) => {X.rememberSearchValue(), s9(!1), U.q = e, bu(), Q.route(U.jav === "1" ? v7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);},openItem: (e) => d9(e),- openEntity: (e, t) => b5(e, t),+ openEntity: (e, t) => y5(e, t),openPath: (e) => Q.route(e, !1),openFollow: (e, t, n) => {$.followMediaView = t, O9(e, !0, n);}}, k9.searchHelpers = {- pool: () => Nbe(U, wn),- recommendations: () => aRe(wn),- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? G8(e) : sRe(e)}</span>`,+ pool: () => Fbe(U, wn),+ recommendations: () => oRe(wn),+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? W8(e) : cRe(e)}</span>`,present: (e) => ss(e),dismiss: (e) => cs(e),wireScroller: (e) => Dc(e),@@ -82732,30 +82736,30 @@ function uRe() {}, {container: L("#searchMenu"),isCurrent: () => !0- }), R8.listen(L("#q"), "beforeinput", (e) => {+ }), L8.listen(L("#q"), "beforeinput", (e) => {e.isComposing || X.rememberSearchValue(e.currentTarget);- }), R8.listen(L("#q"), "scroll", (e) => {+ }), L8.listen(L("#q"), "scroll", (e) => {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);- }), R8.listen(L("#q"), "pointerdown", (e) => {+ }), L8.listen(L("#q"), "pointerdown", (e) => {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);});}-function dRe() {- k9.searchMorph = null, k9.searchMorphViewport = innerWidth, R8.listen.bind(R8, window)("resize", () => {+function fRe() {+ k9.searchMorph = null, k9.searchMorphViewport = innerWidth, L8.listen.bind(L8, window)("resize", () => {innerWidth !== k9.searchMorphViewport && (k9.searchMorphViewport = innerWidth, j9());- }, { passive: !0 }), R8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", j9), R8.handler(L("#searchBtn"), "onclick", () => {+ }, { passive: !0 }), L8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", j9), L8.handler(L("#searchBtn"), "onclick", () => {M9(!0), L("#q").focus({ preventScroll: !0 });- }), R8.handler(L("#searchBack"), "onclick", () => {+ }), L8.handler(L("#searchBack"), "onclick", () => {M9(!1), A9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });});let e = (e) => {e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (L("#q").value || M9(!1), A9());};- R8.listen(document, "pointerdown", e, !0), R8.listen(document, "focusin", e), R8.handler(L("#brandHome"), "onclick", (e) => {+ L8.listen(document, "pointerdown", e, !0), L8.listen(document, "focusin", e), L8.handler(L("#brandHome"), "onclick", (e) => {e.preventDefault(), y7();- }), R8.listen(document, "keydown", (e) => {+ }), L8.listen(document, "keydown", (e) => {if (e.key === "Escape") {- let t = u8();+ let t = l8();if (t?.isOpen()) {t.close();return;@@ -82765,24 +82769,24 @@ function dRe() {return;}if (i9.immerseOpen()) {- s8().close();+ o8().close();return;}if (i9.stageOpen()) {- e.defaultPrevented || (e.preventDefault(), i8().requestEscape());+ e.defaultPrevented || (e.preventDefault(), r8().requestEscape());return;}if (L("#drawer").classList.contains("open")) {- Y5(!1);+ J5(!1);return;}if (Yl || ql.size || Jl.size) {- A5(!1, !0);+ k5(!1, !0);return;}return;}- if (lRe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;+ if (uRe(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) {@@ -82790,10 +82794,10 @@ function dRe() {return;}}- let t = cRe();+ let t = lRe();if (t) {if (e.key === "t" || e.key === "T") {- e.preventDefault(), i8()?.toggleTheater();+ e.preventDefault(), r8()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {@@ -82813,14 +82817,14 @@ function dRe() {return;}if (e.key === "i" || e.key === "I") {- e.preventDefault(), i8()?.toggleMiniplayer();+ e.preventDefault(), r8()?.toggleMiniplayer();return;}}});}// src/history/links.ts-function fRe(e) {+function pRe(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;@@ -82843,23 +82847,23 @@ var N9 = {shellActions: void 0,routing: void 0};-function pRe() {- let e = R8, t = (e) => {+function mRe() {+ let e = L8, t = (e) => {e.kind === "item" ? d9(e.id, !1) : e.kind === "jav" ? p9(e.code, !1) : e.kind === "follow" ? O9(e.id, !1) : c9(e.queue, e.key, e.item, !1);};- if (rIe(), L5.entityShapesReady = K8(), GIe(), location.pathname === "/") {+ if (aIe(), I5.entityShapesReady = G8(), qIe(), location.pathname === "/") {let e = new URLSearchParams(location.search);!e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1);}- Q8(decodeURIComponent(location.pathname)) && Y8(L("#feedNew")), $Ie(), N9.shellActions = {- openSettings: (e) => Z5(e, !0),- closeSettings: () => u8()?.close(!1),+ Z8(decodeURIComponent(location.pathname)) && J8(L("#feedNew")), tLe(), N9.shellActions = {+ openSettings: (e) => X5(e, !0),+ closeSettings: () => l8()?.close(!1),openItem: (e) => void d9(e),- openEntity: (e, t) => void b5(e, t),+ openEntity: (e, t) => void y5(e, t),openTag: (e) => {- YIe(), L7(e);+ ZIe(), L7(e);},- openTasteSignal: yIe,+ openTasteSignal: xIe,navigate: (e) => {let n = new URL(e, location.href), r = Lf(n.pathname, n.search);if (r) {@@ -82871,37 +82875,37 @@ function pRe() {Ap(n.hash, () => W.navigation.seq === t);} else Q.navigatePath(e);},- openManage: n7,+ openManage: t7,managePath: (e) => Q.routePathOf("section", e) || "",openFollow: () => D9(),- receipt: (e, t) => S8.actionReceipt(e, t),- toast: (e, t) => S8.toast(e, t),- failure: S8.actionFailure,- revealSource: h5,- reopenTutorial: rRe,- routeReview: SIe,- routeFollowManage: RIe,+ receipt: (e, t) => x8.actionReceipt(e, t),+ toast: (e, t) => x8.toast(e, t),+ failure: x8.actionFailure,+ revealSource: m5,+ reopenTutorial: iRe,+ routeReview: wIe,+ routeFollowManage: BIe,saveFollowPreference: (e) => {e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();},srcBadge: (e, t) => Z.srcBadge(e, t),- routeIndex: (e, { replace: t = !1 } = {}) => Q.route(P5(e), t),+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(N5(e), t),savePeopleLayout: ({ layout: e }) => {Z.appSettings.peopleLayout = e, Z.saveSettings();},- exitSelectMode: () => A5(!1, !1),- personAvatar: (e, t, n) => N5.personAvatar(e, t, n),- authorAvatar: (e) => BIe(e),- showIndexTags: VIe,- openFollowAuthor: I5,- openFollowTag: HIe,+ exitSelectMode: () => k5(!1, !1),+ personAvatar: (e, t, n) => M5.personAvatar(e, t, n),+ authorAvatar: (e) => HIe(e),+ showIndexTags: UIe,+ openFollowAuthor: F5,+ openFollowTag: WIe,openPlaylist: (e, t) => void l9(e, t, !0),canFlip: () => !Yl && !t9() && !window.__scrolling && !X.reduceMotion(),surfaceChanged: (e, t) => {e === "entity" ? (Al(), yu({ barsContext: {type: "home",filters: U- } }), G5(), document.body.classList.add("entity-open"), E7(), F5()) : e === "index" ? (Al(), document.body.classList.remove("entity-open"), Q.claimSurface(t), G5(), document.body.classList.add("index-open"), E7(), F5()) : (Al(), Q.claimSurface(t), e === "catalog" ? G5() : (W5(), U5({ manage: e === "management" })));+ } }), W5(), document.body.classList.add("entity-open"), E7(), P5()) : e === "index" ? (Al(), document.body.classList.remove("entity-open"), Q.claimSurface(t), W5(), document.body.classList.add("index-open"), E7(), P5()) : (Al(), Q.claimSurface(t), e === "catalog" ? W5() : (U5(), H5({ manage: e === "management" })));},clearSearch: () => X.clearSearchField(),openImmerse: (e) => {@@ -82929,21 +82933,21 @@ function pRe() {},entity: {missing: (e) => {- N9.shellActions.surfaceChanged("entity", location.pathname), y5(e);+ N9.shellActions.surfaceChanged("entity", location.pathname), v5(e);},loading: (e, t, n) => Y.application.loading(e, t, n),props: (e, t, n) => Y.application.addressProps(e, t, n),refresh: (e, t, n) => {let r = Y.parseEntityFilters(n);e === "creator" && (r.creator = "");- let i = c5();- return i.type !== "entity" || i.kind !== e || i.name !== t || !u5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (C7(r), w7(c5()), !0);+ let i = s5();+ return i.type !== "entity" || i.kind !== e || i.name !== t || !l5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (C7(r), w7(s5()), !0);}},follow: $.followFeedShell,catalog: {defaultLoc: () => _7("local,115"),- open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (b9(), f7(), t7()), t && O8(), e === "/trash" ? X.clearSearchField() : (L("#q").value = U.q, X.rememberSearchValue()), _9(), F7(), Z.handOff(B7())),+ open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (b9(), f7(), e7()), t && D8(), e === "/trash" ? X.clearSearchField() : (L("#q").value = U.q, X.rememberSearchValue()), _9(), F7(), Z.handOff(B7())),load: () => Z.handOff(B7()),fill: () => {if (G7() || !Dp() && !L("#grid").querySelector(".catalog-skeleton")) return;@@ -82951,27 +82955,27 @@ function pRe() {e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), U7(Q.surfaceToken(Q.surfacePath()));},release: () => {- H7(), $8();+ H7(), Q8();}}}, N9.routing = !1, e.listen(document, "click", (e) => {- let t = fRe(e);+ let t = pRe(e);t && (e.preventDefault(), N9.shellActions.navigate(t));- }), R8.own(W.listen((e) => {+ }), L8.own(W.listen((e) => {Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !Rf(e.location.pathname) && s9(!1), N9.routing && !e.claimed && b9();- })), xFe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), nLe(), MIe(), $5(), Promise.all([+ })), CFe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), iLe(), PIe(), Q5(), Promise.all([Q7(),- eLe(),- L5.entityShapesReady+ nLe(),+ I5.entityShapesReady]).then(() => {- e.isActive && (L5.wantsDiscoveryBars() && F7().catch((e) => console.error("首页横条装载失败", e)), _9(), MLe(), N9.routing = !0, yu({ pageOpens: 1 }), b9(), p7());+ e.isActive && (I5.wantsDiscoveryBars() && F7().catch((e) => console.error("首页横条装载失败", e)), _9(), NLe(), N9.routing = !0, yu({ pageOpens: 1 }), b9(), p7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});}// src/theme-transition.tsvar P9 = !1;-async function mRe(e, t) {+async function hRe(e, t) {if (P9) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();@@ -82993,9 +82997,9 @@ async function mRe(e, t) {}}// src/application/chrome.js-function hRe() {+function gRe() {(() => {- let e = R8, t = [+ let e = L8, t = ["#brandHome","#filterBtn","#settingsBtn"@@ -83055,7 +83059,7 @@ function hRe() {e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());}), wn("/api/libraries", { signal: e.signal }).then((t) => {if (!e.isActive) return;- nK(t.libraries);+ eK(t.libraries);let n = [["","全部媒体库",@@ -83076,7 +83080,7 @@ function hRe() {s.className = "mark", s.setAttribute("aria-hidden", "true"), s.innerHTML = o(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(s), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${z(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${o(n)}</span><span>${z(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {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), Y5(!1), w5("媒体库与入库");+ u.setOpen(!1), J5(!1), C5("媒体库与入库");});let d = l.querySelector(".board-library-rows");e.listen(d, "pointerover", (e) => {@@ -83093,18 +83097,18 @@ function hRe() {(document.querySelector(".top") || m.closest("header")).prepend(h), e.own(() => h.remove());let g = document.createElement("div");g.className = "board-sidebar-foot", e.own(() => g.remove()), g.innerHTML = `<div class="board-theme-toggle" role="group" aria-label="明暗主题"><span class="board-theme-thumb" aria-hidden="true"></span><button type="button" data-board-theme="light" aria-label="浅色主题">${R("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${R("moon")}</button></div>`, g.insertAdjacentHTML("beforeend", "<div class=\"board-foot-actions\"><button type=\"button\" class=\"board-glow-toggle\" id=\"boardGlowBtn\" aria-label=\"光晕配色\" aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"boardGlowMenu\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#ri-palette-line\"/></svg><span class=\"board-glow-mark\" aria-hidden=\"true\"><span class=\"board-glow-mark-glow\"></span><span class=\"board-glow-mark-accent\"></span></span></button></div>"), g.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(g), g.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {- t.getAttribute("aria-pressed") !== "true" && mRe(t, () => {+ t.getAttribute("aria-pressed") !== "true" && hRe(t, () => {Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), vM();});})), vM();let _ = document.createElement("div");_.className = "popmenu board-glow-menu", _.id = "boardGlowMenu", _.hidden = !0, _.setAttribute("popover", "manual"), _.setAttribute("role", "dialog"), _.setAttribute("aria-label", "配色"), document.body.append(_), e.own(() => _.remove());let v = g.querySelector("#boardGlowBtn"), y = ds(g, v, _);- e.own(y.dispose), e.own(wle(v)), OFe({+ e.own(y.dispose), e.own(wle(v)), AFe({root: _,store: Z.settingsStore,openDetails: () => {- e.isActive && (y.setOpen(!1), Y5(!1), Z5("外观与导航").then((t) => {+ e.isActive && (y.setOpen(!1), J5(!1), X5("外观与导航").then((t) => {e.isActive && t.reveal("#homeGlowControls");}));}@@ -83116,17 +83120,17 @@ function hRe() {let t = document.querySelector("#drawerScroll > [data-sidebar-head]"), n = document.querySelector("#drawer");if (!t) return;c.setAttribute("aria-label", "选择媒体库"), c.parentElement !== t && t.prepend(c);- let r = n.classList.contains("open"), i = !J5();+ let r = n.classList.contains("open"), i = !q5();i || r ? m.parentElement !== t && t.append(m) : m.parentElement !== h.parentElement && h.after(m), n.inert = !i && !r;}- Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(R8, window)("resize", b);+ Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(L8, window)("resize", b);let x = !1;function S() {x = !1, document.body.classList.toggle("board-scrolled", scrollY > 8);}- if (e.listen.bind(R8, window)("scroll", () => {+ if (e.listen.bind(L8, window)("scroll", () => {x || (x = !0, e.frame(S));- }, { passive: !0 }), e.listen.bind(R8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {+ }, { passive: !0 }), e.listen.bind(L8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {let t = "http://www.w3.org/2000/svg", n = document.createElementNS(t, "svg");n.setAttribute("width", "0"), n.setAttribute("height", "0"), n.setAttribute("aria-hidden", "true"), n.style.position = "fixed", n.style.pointerEvents = "none";let r = document.createElementNS(t, "defs");@@ -83240,15 +83244,15 @@ function hRe() {subtree: !0}), y();}- })(), Y5(!J5() && sessionStorage.getItem("board.sidebar") !== "closed");+ })(), J5(!q5() && sessionStorage.getItem("board.sidebar") !== "closed");}// src/application/initialize.js-function gRe() {- nRe(), HLe(), KIe(), ULe(), PLe(), kFe(), TLe(), iRe(), gIe(), BLe(), NIe(), ELe(), lIe(), CIe(), eRe(), UIe(), _Ie(), tRe(), WIe(), vIe(), cLe(), DLe(), uRe(), VLe(), dRe(), FLe(), pRe(), hRe(), R8.own(H7), R8.own(v9);+function _Re() {+ rRe(), ULe(), JIe(), WLe(), FLe(), jFe(), ELe(), aRe(), vIe(), VLe(), FIe(), DLe(), dIe(), TIe(), tRe(), GIe(), yIe(), nRe(), KIe(), bIe(), lLe(), OLe(), dRe(), HLe(), fRe(), ILe(), mRe(), gRe(), L8.own(H7), L8.own(v9);}// src/ui-kit/middle-truncate.tsvar F9 = "…", I9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, L9 = /* @__PURE__ */ new WeakMap(), R9 = /* @__PURE__ */ new WeakSet(), z9 = null, B9 = null, V9 = /* @__PURE__ */ new Set(), H9 = (e) => I9 ? [...I9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));-function _Re(e, t) {+function vRe(e, t) {let n = H9(e);if (!n.length || t(e)) return String(e ?? "");let r = 0, i = Math.max(0, n.length - 1), a = F9;@@ -83266,7 +83270,7 @@ var U9 = Object.assign((e, t) => {Number.isFinite(a) && (i += Math.max(0, H9(t).length - 1) * a);let o = parseFloat(n.wordSpacing);return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;-}, { canvas: null }), vRe = (e) => {+}, { canvas: null }), yRe = (e) => {if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;let t = e.parentElement;if (!t) return e.clientWidth;@@ -83276,17 +83280,17 @@ var U9 = Object.assign((e, t) => {n === e ? a++ : t > 0 && (i += t, a++);}return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);-}, yRe = (e) => {+}, bRe = (e) => {let t = L9.get(e);if (!t || !e.isConnected) return;- let n = vRe(e), r = n > 0 ? _Re(t.full, (t) => U9(e, t) <= n) : t.full;+ let n = yRe(e), r = n > 0 ? vRe(t.full, (t) => U9(e, t) <= n) : t.full;t.rendered = r, e.textContent !== r && (e.textContent = r);let i = r !== t.full;e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), e.hasAttribute("title") && e.dataset.middleTitle !== "true" || (e.title = t.full, e.dataset.middleTitle = "true");}, W9 = (e) => {let t = L9.get(e);t && !t.raf && (t.raf = requestAnimationFrame(() => {- t.raf = 0, yRe(e);+ t.raf = 0, bRe(e);}));}, G9 = (e) => {e instanceof HTMLElement && (L9.has(e) || L9.set(e, {@@ -83299,7 +83303,7 @@ var U9 = Object.assign((e, t) => {let t = e;t.matches("[data-middle-truncate]") && G9(t), t.querySelectorAll("[data-middle-truncate]").forEach(G9);};-function bRe(e = document) {+function xRe(e = document) {B9?.(), R9 = /* @__PURE__ */ new WeakSet(), V9 = /* @__PURE__ */ new Set();let t = V9, n = !0;z9 = new ResizeObserver((e) => e.forEach((e) => {@@ -83373,7 +83377,7 @@ var q9 = ["jav-detail","wants","index"-], xRe = {+], SRe = {catalog: [...q9,...J9,@@ -83394,10 +83398,10 @@ var q9 = ["avatar-choices"]};-function SRe() {+function CRe() {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 xRe[t] || []) e.add(n);+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of SRe[t] || []) e.add(n);return !t && e.size && (t = (async () => {for (; e.size;) {let t = new Set(e);@@ -83410,12 +83414,12 @@ function SRe() {})), t || Promise.resolve();};}-function CRe() {+function wRe() {let e = Pt({queryKey: sL,queryFn: ({ signal: e }) => lL(e),refetchInterval: (e) => cL(e.state.data)- }), t = (0, F.useRef)(void 0), [n] = (0, F.useState)(SRe), r = e.data?.result_versions;+ }), t = (0, F.useRef)(void 0), [n] = (0, F.useState)(CRe), r = e.data?.result_versions;return (0, F.useEffect)(() => {r && (t.current && n(t.current, r), t.current = r);}, [r, n]), null;@@ -83425,52 +83429,52 @@ var X9 = null;function Z9(e) {X9 !== e || e.owners || (X9 = null, e.effects.dispose());}-function wRe() {+function TRe() {if (!X9) {- let e = GFe();+ let e = qFe();X9 = {effects: e,owners: 0- }, e.own(bRe(document)), e.own(() => {+ }, e.own(xRe(document)), e.own(() => {Al(), H.cancelQueries();- }), e.own(SFe), e.own(gp), e.own(as);+ }), e.own(wFe), e.own(gp), e.own(as);}return X9.owners += 1, X9.effects.resume(), X9;}-function TRe() {+function ERe() {let [e, t] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {- let e = X9 === null, n = wRe(), r = bFe(t);+ let e = X9 === null, n = TRe(), r = SFe(t);if (e) try {- gRe();+ _Re();} catch (e) {throw r(), n.effects.dispose(), X9 = null, e;}return () => {r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Z9(n)));};- }, []), /* @__PURE__ */ (0, I.jsx)(tye, {+ }, []), /* @__PURE__ */ (0, I.jsx)(rye, {actions: e,processing: !0,- background: e ? /* @__PURE__ */ (0, I.jsx)(CRe, {}) : null+ background: e ? /* @__PURE__ */ (0, I.jsx)(wRe, {}) : null});}var Q9 = /* @__PURE__ */ new WeakMap();-function ERe(e) {+function DRe(e) {let t = Q9.get(e);if (t) return t;- let n = (0, Rt.createRoot)(e, nye);+ let n = (0, Rt.createRoot)(e, iye);Q9.set(e, n);let r = n.unmount.bind(n);return n.unmount = () => {Q9.get(e) === n && (Q9.delete(e), r(), X9 && Z9(X9));- }, (0, Lt.flushSync)(() => n.render(/* @__PURE__ */ (0, I.jsx)(TRe, {}))), n;+ }, (0, Lt.flushSync)(() => n.render(/* @__PURE__ */ (0, I.jsx)(ERe, {}))), n;}// src/react/bootstrap.tsxO();var $9 = document.getElementById("appRoot");if (!$9) throw Error("主界面宿主缺失");-ERe($9);-export { rR as $2ec61d1d4f780267$export$a8a3e93435678ff9, dR as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, Oz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, MD as $72abaeab4d80592f$export$78efe591171d7d45, bB as $76d00c5a4edb230a$export$76ccd210b9029917, _B as $76d00c5a4edb230a$export$816b5d811295e6bc, CB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, TB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, gB as $76d00c5a4edb230a$export$f850895b287ef28e, uhe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, lhe as $b4f18e3395fe64d7$export$3e41faf802a29e71, ohe as $b4f18e3395fe64d7$export$b2539bed5023c21c, kB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, phe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, yE as $ea3928288112382f$export$439d29a4e110a164, Vz as $f2ff30fde7b014be$export$3ddf2d174ce01153, Jz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Yz as $fe21c36db05242bb$export$d7b12c4107be0d61, Khe as $l, nM as ACCENTS, yke as AMANE_BRIDGE_CHECK_URL, Q$ as AMANE_BRIDGE_KEY, bke as AMANE_BRIDGE_REBUILD_URL, or as ApiError, uW as ArtSlot, g2 as BATCH_DELETE_TEXT, J as Button, FL as ButtonLink, oV as Bx, O$ as CLEANUP_ENTRY, D$ as CLEANUP_ENTRY_GRID, Yf as CLEANUP_HASH_REDIRECTS, qf as CLEANUP_TOOLS, _n as CLOUD_LOCATIONS, Q1 as CLOUD_PROXY_HELP, Gr as COLUMN_SORT, u1 as CONFIGURATION_KEY, uX as CONFIGURATION_URL, xke as COOKIE_TEXT_LIMIT, Z$ as COVER_JOB_KEY, Ji as CREDENTIAL_STATE, q$ as CUSTOM_SOURCES_KEY, K$ as CUSTOM_SOURCES_URL, eH as Checkbox, $V as CheckboxGlyph, WV as ChevronSortDown, lW as Chip, vW as CloudDownloadDialog, YH as CollapseChevron, JH as CollapseRegion, x$ as CollectionSummary, $Ce as DEFAULT_CATEGORY, ur as DEFAULT_SORT, JQ as DIAGNOSTICS_KEY, Qwe as DIRECTORY_TEMPLATE_ERROR, N0 as DISCOVERY_SORTS, fW as DOWNLOADS_KEY, dW as DOWNLOADS_URL, AY as DUPLICATES_KEY, dY as DataTableFooter, sY as DataTableFrame, uY as DataTableSort, yU as Disclosure, Bve as DownloadsPanel, Lhe as E3, ewe as ENTITY_REVIEW_KINDS, X1 as ENTRY_LINKS_HELP, Z1 as ENTRY_LINKS_HINT, Zhe as Ea, vge as EmptyFocusButton, EV as EmptyState, _U as ErrorText, $_e as ExternalLink, Br as FEEDS_KEY, vX as FEED_SCHEDULE_KEY, T$ as FIELDSET_FOOT, EPe as FLOW_LABEL_X, X3 as FLOW_VIEWBOX, Rr as FOLLOW_CHECK_KEY, Lr as FOLLOW_CREDENTIALS_KEY, N8 as FOLLOW_INITIAL_RANGE_OPTIONS, Ir as FOLLOW_MANAGE_KEY, QZ as FOLLOW_MANAGE_NAV, zr as FOLLOW_RESOLVE_KEY, _X as FOLLOW_SCHEDULE_KEY, nve as Fact, tve as FactList, vU as FieldLabel, R$ as Fieldset, L$ as FieldsetTitle, spe as FilterGlass, OL as FilterGlassRows, DL as FilterIconButton, kL as FilterPill, Q_e as Footer, rV as Gg, AL as GlassPill, uV as HN, gU as Help, _V as HintText, vPe as IDLE_POLL_MS, HCe as IDLE_REPAIR, CL as IconButton, XQ as IndexSearch, SV as Input, xV as InputBase, bM as JAV_LAYOUTS, F0 as JAV_RECOMMENDATION_GRID, UX as JUNK_KEY, RW as JavHeader, ICe as KEEP_LABELS, Hr as LAYOUTS, Y1 as LIBRARY_FOLDER_HELP, pH as LIBRARY_PROCESSING_KEY, nX as LINKS_KEY, rX as LINK_CHECK_KEY, wwe as LINK_KINDS, iX as LINK_PRUNE_KEY, tr as LOC, gV as Label, H$ as LibraryProcessingCard, UV as LibraryShortcuts, kH as LinkButton, Jhe as Lo, UH as LoadingDots, Rhe as M6, kwe as MEDIA_PROCESSING_KEY, bX as MEDIA_PROCESSING_URL, FY as MEDIA_REPAIR_KEY, PY as MEDIA_REPAIR_URL, vr as MEDIA_SOURCES_KEY, gs as MEDIA_SOURCE_ICONS, hn as MEDIA_SOURCE_OPTIONS, JV as MENU_ITEM, YV as MENU_ITEM_INTERACTIVE, qV as MENU_POPOVER_SURFACE, Xhe as Ma, NH as MenuDialog, EK as MixCard, CV as ModalFrame, Ex as MotionConfigContext, mV as NR, z$ as NameLink, TV as Note, mge as OA, CX as ORGANIZE_KEY, p2 as ORGANIZE_PARAMETER_HINT, f2 as ORGANIZE_SCOPE_HINT, d2 as ORGANIZE_TEXT, EX as ORPHAN_RECORDS_KEY, h2 as ORPHAN_RECORDS_TEXT, tV as OV, VB as P7, BX as PERFORMER_DELETE_KEY, xW as PHASES, dX as PICK_FOLDER_URL, A$ as PLAIN_STAT_STRIP, W$ as PLAYLISTS_KEY, CAe as POLICY_COLUMNS, TAe as POLICY_COVER_NOTE, wAe as POLICY_MATRIX, J1 as POLICY_SUMMARY, lY as Pagination, V$ as PathLine, fV as Pf, QI as PillTabList, VOe as PlainStat, GH as Progress, BY as QUALITY_GOALS_KEY, dV as RB, M$ as REPAIR_CARD_TEXT, IY as REPAIR_LIBRARIES_KEY, jX as RESOURCE_APPLY_KEY, AX as RESOURCE_SCAN_KEY, m2 as RESOURCE_SYNC_TEXT, qOe as RESULT_PANEL, JOe as RESULT_SECTION, QCe as REVIEW_CATEGORIES, HX as REVIEW_COUNTS_KEY, twe as REVIEW_DECISION_LABELS, UY as REVIEW_KEY, WY as REVIEW_LABELS, KY as REVIEW_QUEUES, qY as REVIEW_QUEUE_LABELS, ZG as RetryNote, pge as Rf, hV as Rk, Y_e as Rows, _ke as SCRAPING_CHECK_URL, Y$ as SCRAPING_COVER_URL, X$ as SCRAPING_KEY, gke as SCRAPING_SETTINGS_URL, zU as SEGMENT, RU as SEGMENTED_TRACK, gX as SETTINGS_KEY, fX as SETTINGS_URL, dr as SORT_DEFAULT_DIR, lr as SORT_OPTIONS, vn as SOURCE_LABELS, x3 as STATS_KEY, zOe as STAT_STRIP, BOe as STAT_STRIP_SIX, J_e as Section, YOe as SectionHeading, Z_e as SectionSkeleton, LU as SegmentedRadioGroup, _ve as SegmentedTabList, WG as Segments, cY as Select, oW as Select$1, m1 as SelectField, sW as SelectItem, vY as SelectionActions, Mj as SelectionDock, yY as SelectionPopover, XH as SettingsCard, F_e as SettingsRow, ZH as SettingsSectionLabel, ove as SiteLabel, CG as SortDirectionIcon, KG as SortKeys, jQ as SourceAvatar, CU as SourceLabel, bU as SourceMark, X_e as Stack, HOe as StatCard, B$ as StatusLabel, uge as Su, $2 as Switch, sL as TASKS_KEY, sPe as TASTE_REFRESH_KEY, cPe as TASTE_WINDOWS, yX as THUMBNAIL_JOBS_KEY, GX as TRASH_KEY, Bfe as TRIGGER_LABELS, QJ as Table, bY as TableColumnControls, xY as TableColumnResizer, CY as TableSelectionHeader, g$ as TagManager, eve as TaskCenterLink, KH as TaskProgress, yV as TextField, vV as TextFieldContext, $B as Un, bW as WANTS_KEY, m4 as WantMagnets, Gg as WithPromise, GB as Wt, QB as Xc, pV as Xf, qB as Xl, KB as Xt, UB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, fge as aB, Ti as addAlias, wi as addSource, TW as addWant, hS as animate, B as apiGet, V as apiSend, mM as appSettingsStore, _Te as applyConfirmText, zX as applyLeftovers, gTe as applyPlanText, yTe as applyText, vM as applyTheme, yy as asNumber, aTe as attachOrphan, si as authorAvatar, li as authorGroups, oi as authorInitial, ai as authorName, Bq as autoResetPageIndex, go as avatarInner, D3 as bandRows, $we as baseName, VCe as batchOperate, lue as beginPlayerGuidePreview, Rj as boundedPreference, RCe as bulkCloudPreferences, AV as busyProps, dge as cB, LMe as cachedMagnetStates, zg as calcGeneratorVelocity, cwe as canApprove, mg as cancelFrame, uTe as candidateText, HH as cardClass, NM as cardRatio, ZB as cc, Wi as checkEvidenceGap, Ui as checkFailures, Pi as checkFeeds, Owe as checkLine, Vi as checkReceipt, Hi as checkSummary, Cke as checkText, Gi as checkedText, fK as clickedBlank, X5 as closeDrawerAfterNav, ACe as cloudLocations, k0 as cloudProxySkeleton, QC as clsx, ege as cn, cv as collectMotionValues, oJ as columnVisibilityFeature, qJ as column_getCanSort, UJ as column_getSortFn, owe as commonReviewSources, Of as configurationSection, fPe as configureTasteBrowser, ol as confirmModal, Rfe as controlTask, Sq as copyInstancePropertiesWithoutMemos, co as coverUrl, Zq as createColumnHelper, uke as createPlaylist, Yi as credentialDone, T0 as credentialsSkeleton, _we as currentReviewRow, q as cx, aV as dZ, mwe as decisionPayload, hwe as decisionReceipt, pwe as defaultChoice, xTe as deletePerformerVideos, fke as deletePlaylist, x as diagnosticHeaders, q1 as diagnosticsSkeleton, NW as discoveryArtwork, jW as discoveryKey, YAe as discoveryScore, s9 as disposeStage, PCe as distinctName, zi as dropSources, lge as du, zCe as duplicateVictims, mL as elapsedText, tn as entityDisplayName, ho as entityFaceImg, Nn as entityPath, ei as errorHeadline, cr as errorMessage, z as esc, zq as expandRowModel, FB as f1, $r as feedIntervalText, t1 as fetchAmaneBridge, _i as fetchCheckJob, d1 as fetchConfiguration, e1 as fetchCoverJob, gi as fetchCredentials, J$ as fetchCustomSources, VX as fetchDeletePerformers, bTe as fetchDeletePlan, YQ as fetchDiagnostics, MW as fetchDiscoveries, MY as fetchDuplicates, Pfe as fetchEarlier, Mwe as fetchFeedSchedule, ji as fetchFeeds, hi as fetchFollow, jwe as fetchFollowSchedule, qX as fetchJunkSummary, xH as fetchLibraryProcessing, sX as fetchLinkCheck, cX as fetchLinkPrune, oX as fetchLinkStats, Awe as fetchMediaProcessing, LY as fetchMediaRepair, yr as fetchMediaSources, wX as fetchOrganize, Gwe as fetchOrganizeExample, DX as fetchOrphanRecords, Ai as fetchPending, G$ as fetchPlaylists, VY as fetchQualityGoals, RY as fetchRepairLibraries, vi as fetchResolveJob, NX as fetchResourceApply, MX as fetchResourceScan, $Y as fetchReview, KX as fetchReviewCounts, xX as fetchSettings, $$ as fetchSources, S3 as fetchStats, yi as fetchSuggestions, lL as fetchTasks, q3 as fetchTaste, pPe as fetchTasteJob, Nwe as fetchThumbnailJobs, JX as fetchTrashSummary, SW as fetchWants, iwe as filterReviewRows, $n as firstGrapheme, iq as flexRender, OPe as flowGraph, kPe as flowLabel, DNe as fmtCount, qn as fmtDur, Yn as fmtSize, Nfe as foldByKind, Xfe as foldRoutine, Ii as followFeedByName, Vr as followSuggestKey, Qfe as followupDetail, Mfe as followupTally, pg as frame, zB as g4, lJ as getDefaultPaginationState, MM as gridLayout, ci as groupByAuthor, Yfe as groupFollowups, XY as groupReviewRows, mTe as hasChanges, PX as hasResourceRoots, dL as hasResultProblems, yPe as historySpan, IB as i2, _Pe as importTasteExport, E0 as indexersSkeleton, Fg as interpolate, OW as invalidateWants, pL as isActive, Qr as isBroken, Kr as isLayout, yv as isMotionValue, GY as isReviewCategory, Zfe as isRoutine, D0 as javBrowserSkeleton, L0 as javContentSkeleton, TM as javLayout, I0 as javTagSkeleton, ETe as junkBreakdown, pke as keepPlaylist, ke as keepPreviousData, fi as keepSelected, C3 as known, Nhe as l7, Jfe as latestOfKind, zNe as lengthRows, Sr as localTime, Fi as lookupFeedActor, BB as m7, iV as mM, En as mapLimit, ki as markItem, O3 as max, LNe as mediumRows, Ffe as mergeFinished, k3 as min, Swe as mirrorText, GCe as missingToolText, NY as mixedCloudPreferences, vL as momentText, gS as motion, uv as motionValue, nn as nameFallback, He as notifyManager, zhe as oe, tTe as organizeOutcome, $0 as overlayHost, qr as pageSizeOf, di as pageWindow, mr as paginationRange, Ri as patchSource, W as peachHistory, W as peachHistory$1, fwe as pendingGenres, kNe as percentText, Jwe as pickOrganizeFolder, k$ as plainStatClass, eTe as planSummary, w3 as playedFor, jNe as playedItemUrl, cL as pollInterval, Js as popCount, lke as posterUrl, Kye as previewLibraryColor, qwe as previewOrganize, JCe as previewUrl, Kfe as problemDestination, gH as processingActive, hL as progressText, SU as providerIcon, Dwe as pruneText, IX as purgeCount, oTe as purgeOrphan, sV as pv, cge as qE, H as queryClient, LB as r2, TPe as radarRows, PNe as radialArc, FNe as radialBarSize, NNe as radialCeiling, MNe as radialSlices, YN as randomId, CPe as rankDetail, wPe as rankShares, E3 as reachedShare, gL as readableErrorHeadline, XAe as recommendationScore, vwe as recordGenre, cTe as recordsText, mke as recreatePlaylist, ske as refreshPlaylists, Cl as relayoutCovers, Bi as reloadFollowManage, xwe as reloadReview, OAe as rememberShape, Xwe as rememberTemplates, Ei as removeAlias, Ni as removeFeed, Ci as removeSource, gPe as removeTasteSource, EW as removeWants, Di as renameAliasGroup, dke as renamePlaylist, Se as replaceEqualDeep, VNe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, vq as require_with_selector, DW as resetWants, pr as resolveFollowSort, Hg as resolveStartTime, u_e as restartEffectText, cke as resumeAssetId, rwe as reviewGroupingOptions, YY as reviewQueueData, JY as reviewQueueOf, TTe as reviewSummary, awe as reviewWindow, uwe as rowEvidence, QY as rowFieldName, gJ as rowPaginationFeature, LJ as rowSelectionFeature, XJ as rowSortingFeature, ZY as rowSubject, dwe as rowTags, lwe as rowTitle, Ahe as s5, Oi as saveCredential, hTe as scanLine, Rwe as schedulePollInterval, AW as searchNote, swe as selectReviewRange, pi as selectionState, Mi as setFeedEnabled, Si as setSourceEnabled, Mf as settingsPath, bwe as settleReviewRows, NCe as sharedNamePrefix, Ep as shellNavigate, x8 as showToast, zn as siteMarkUrl, Aq as skipFirstRun, XI as sortCx, Yr as sortLabel, yn as sourceDefaultCost, qi as sourceIconUrl, vTe as sourceMeta, zs as spinnerHtml, Ng as spring, OV as spriteGlyph, bi as startCheck, Twe as startLinkCheck, Ewe as startLinkPrune, Ywe as startOrganize, xi as startResolve, fTe as startResourceApply, dTe as startResourceScan, hPe as startTasteRefresh, ROe as statCardClass, Hfe as statusLabel, WCe as statusLine, Zr as statusText, PM as storeJavLayout, gwe as submitDecision, yL as summaryItems, Qq as tableFeatures, jq as tableMemo, ui as tableRows, Gfe as taskIssues, qfe as taskSubject, J3 as tasteDate, xPe as tasteDimensions, bPe as tasteHours, K3 as tasteKey, uPe as tasteRefetchInterval, dPe as tasteTime, nL as textLang, $m as time, Whe as tl, mi as toggleGroup, Y3 as topScores, nge as um, Yhe as uo, AH as useAction, qZ as useBackgroundJob, QU as useClientUpdates, dm as useConstant, bL as useEntityNames, EL as useHorizontalScroller, fm as useIsomorphicLayoutEffect, dK as useLibraryTints, Ft as useMutation, tH as useOverlayScrollbar, Pt as useQuery, ae as useQueryClient, iS as useReducedMotion, Lwe as useRunSchedule, Fwe as useSaveFollowSchedule, SX as useSaveSettings, zwe as useSaveThumbnailMode, ZJ as useTable, mY as useTablePreferences, NL as useViewGlide, BCe as victimBytes, Ghe as vl, kW as wantName, ANe as watchNote, T3 as watchedShare, Dc as wireHorizontalScroller, Zwe as withOrganizeJob };+DRe($9);+export { rR as $2ec61d1d4f780267$export$a8a3e93435678ff9, dR as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, Oz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, PD as $72abaeab4d80592f$export$78efe591171d7d45, bB as $76d00c5a4edb230a$export$76ccd210b9029917, _B as $76d00c5a4edb230a$export$816b5d811295e6bc, CB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, TB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, gB as $76d00c5a4edb230a$export$f850895b287ef28e, uhe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, lhe as $b4f18e3395fe64d7$export$3e41faf802a29e71, ohe as $b4f18e3395fe64d7$export$b2539bed5023c21c, kB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, phe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, xE as $ea3928288112382f$export$439d29a4e110a164, Vz as $f2ff30fde7b014be$export$3ddf2d174ce01153, Jz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Yz as $fe21c36db05242bb$export$d7b12c4107be0d61, qhe as $l, nM as ACCENTS, xke as AMANE_BRIDGE_CHECK_URL, Z$ as AMANE_BRIDGE_KEY, Ske as AMANE_BRIDGE_REBUILD_URL, or as ApiError, lW as ArtSlot, h2 as BATCH_DELETE_TEXT, J as Button, FL as ButtonLink, aV as Bx, E$ as CLEANUP_ENTRY, T$ as CLEANUP_ENTRY_GRID, Yf as CLEANUP_HASH_REDIRECTS, qf as CLEANUP_TOOLS, _n as CLOUD_LOCATIONS, Z1 as CLOUD_PROXY_HELP, Gr as COLUMN_SORT, l1 as CONFIGURATION_KEY, cX as CONFIGURATION_URL, Cke as COOKIE_TEXT_LIMIT, X$ as COVER_JOB_KEY, Ji as CREDENTIAL_STATE, K$ as CUSTOM_SOURCES_KEY, G$ as CUSTOM_SOURCES_URL, $V as Checkbox, QV as CheckboxGlyph, UV as ChevronSortDown, cW as Chip, _W as CloudDownloadDialog, JH as CollapseChevron, qH as CollapseRegion, y$ as CollectionSummary, twe as DEFAULT_CATEGORY, ur as DEFAULT_SORT, KQ as DIAGNOSTICS_KEY, eTe as DIRECTORY_TEMPLATE_ERROR, M0 as DISCOVERY_SORTS, dW as DOWNLOADS_KEY, uW as DOWNLOADS_URL, OY as DUPLICATES_KEY, lY as DataTableFooter, aY as DataTableFrame, cY as DataTableSort, vU as Disclosure, Vve as DownloadsPanel, Rhe as E3, nwe as ENTITY_REVIEW_KINDS, Y1 as ENTRY_LINKS_HELP, X1 as ENTRY_LINKS_HINT, Qhe as Ea, yge as EmptyFocusButton, TV as EmptyState, gU as ErrorText, eve as ExternalLink, Br as FEEDS_KEY, gX as FEED_SCHEDULE_KEY, C$ as FIELDSET_FOOT, OPe as FLOW_LABEL_X, Y3 as FLOW_VIEWBOX, Rr as FOLLOW_CHECK_KEY, Lr as FOLLOW_CREDENTIALS_KEY, M8 as FOLLOW_INITIAL_RANGE_OPTIONS, Ir as FOLLOW_MANAGE_KEY, XZ as FOLLOW_MANAGE_NAV, zr as FOLLOW_RESOLVE_KEY, hX as FOLLOW_SCHEDULE_KEY, rve as Fact, nve as FactList, _U as FieldLabel, I$ as Fieldset, F$ as FieldsetTitle, spe as FilterGlass, OL as FilterGlassRows, DL as FilterIconButton, kL as FilterPill, $_e as Footer, nV as Gg, AL as GlassPill, lV as HN, hU as Help, gV as HintText, bPe as IDLE_POLL_MS, WCe as IDLE_REPAIR, CL as IconButton, JQ as IndexSearch, xV as Input, bV as InputBase, R$ as IssueRow, bM as JAV_LAYOUTS, P0 as JAV_RECOMMENDATION_GRID, VX as JUNK_KEY, IW as JavHeader, RCe as KEEP_LABELS, Hr as LAYOUTS, J1 as LIBRARY_FOLDER_HELP, fH as LIBRARY_PROCESSING_KEY, eX as LINKS_KEY, tX as LINK_CHECK_KEY, Ewe as LINK_KINDS, nX as LINK_PRUNE_KEY, tr as LOC, hV as Label, V$ as LibraryProcessingCard, HV as LibraryShortcuts, OH as LinkButton, Yhe as Lo, HH as LoadingDots, zhe as M6, jwe as MEDIA_PROCESSING_KEY, vX as MEDIA_PROCESSING_URL, NY as MEDIA_REPAIR_KEY, MY as MEDIA_REPAIR_URL, vr as MEDIA_SOURCES_KEY, gs as MEDIA_SOURCE_ICONS, hn as MEDIA_SOURCE_OPTIONS, qV as MENU_ITEM, JV as MENU_ITEM_INTERACTIVE, KV as MENU_POPOVER_SURFACE, Zhe as Ma, MH as MenuDialog, wK as MixCard, SV as ModalFrame, Dx as MotionConfigContext, pV as NR, L$ as NameLink, wV as Note, hge as OA, xX as ORGANIZE_KEY, f2 as ORGANIZE_PARAMETER_HINT, d2 as ORGANIZE_SCOPE_HINT, u2 as ORGANIZE_TEXT, wX as ORPHAN_RECORDS_KEY, m2 as ORPHAN_RECORDS_TEXT, eV as OV, BB as P7, RX as PERFORMER_DELETE_KEY, Xve as PHASES, lX as PICK_FOLDER_URL, O$ as PLAIN_STAT_STRIP, U$ as PLAYLISTS_KEY, TAe as POLICY_COLUMNS, DAe as POLICY_COVER_NOTE, EAe as POLICY_MATRIX, q1 as POLICY_SUMMARY, sY as Pagination, B$ as PathLine, dV as Pf, QI as PillTabList, UOe as PlainStat, WH as Progress, RY as QUALITY_GOALS_KEY, uV as RB, A$ as REPAIR_CARD_TEXT, PY as REPAIR_LIBRARIES_KEY, kX as RESOURCE_APPLY_KEY, OX as RESOURCE_SCAN_KEY, p2 as RESOURCE_SYNC_TEXT, YOe as RESULT_PANEL, XOe as RESULT_SECTION, ewe as REVIEW_CATEGORIES, BX as REVIEW_COUNTS_KEY, rwe as REVIEW_DECISION_LABELS, VY as REVIEW_KEY, HY as REVIEW_LABELS, WY as REVIEW_QUEUES, GY as REVIEW_QUEUE_LABELS, YG as RetryNote, mge as Rf, mV as Rk, X_e as Rows, yke as SCRAPING_CHECK_URL, J$ as SCRAPING_COVER_URL, Y$ as SCRAPING_KEY, vke as SCRAPING_SETTINGS_URL, RU as SEGMENT, LU as SEGMENTED_TRACK, mX as SETTINGS_KEY, uX as SETTINGS_URL, dr as SORT_DEFAULT_DIR, lr as SORT_OPTIONS, vn as SOURCE_LABELS, b3 as STATS_KEY, VOe as STAT_STRIP, HOe as STAT_STRIP_SIX, Y_e as Section, ZOe as SectionHeading, Q_e as SectionSkeleton, IU as SegmentedRadioGroup, vve as SegmentedTabList, HG as Segments, oY as Select, aW as Select$1, p1 as SelectField, oW as SelectItem, gY as SelectionActions, Pj as SelectionDock, _Y as SelectionPopover, YH as SettingsCard, I_e as SettingsRow, XH as SettingsSectionLabel, sve as SiteLabel, xG as SortDirectionIcon, WG as SortKeys, kQ as SourceAvatar, SU as SourceLabel, yU as SourceMark, Z_e as Stack, WOe as StatCard, z$ as StatusLabel, dge as Su, Q2 as Switch, sL as TASKS_KEY, lPe as TASTE_REFRESH_KEY, uPe as TASTE_WINDOWS, _X as THUMBNAIL_JOBS_KEY, UX as TRASH_KEY, Bfe as TRIGGER_LABELS, XJ as Table, vY as TableColumnControls, yY as TableColumnResizer, xY as TableSelectionHeader, m$ as TagManager, tve as TaskCenterLink, GH as TaskProgress, vV as TextField, _V as TextFieldContext, QB as Un, yW as WANTS_KEY, p4 as WantMagnets, Wg as WithPromise, WB as Wt, ZB as Xc, fV as Xf, KB as Xl, GB as Xt, HB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, pge as aB, Ti as addAlias, wi as addSource, CW as addWant, gS as animate, B as apiGet, V as apiSend, mM as appSettingsStore, yTe as applyConfirmText, LX as applyLeftovers, vTe as applyPlanText, xTe as applyText, vM as applyTheme, vy as asNumber, sTe as attachOrphan, si as authorAvatar, li as authorGroups, oi as authorInitial, ai as authorName, Rq as autoResetPageIndex, go as avatarInner, E3 as bandRows, tTe as baseName, UCe as batchOperate, lue as beginPlayerGuidePreview, zj as boundedPreference, BCe as bulkCloudPreferences, kV as busyProps, fge as cB, zMe as cachedMagnetStates, Rg as calcGeneratorVelocity, uwe as canApprove, pg as cancelFrame, fTe as candidateText, VH as cardClass, NM as cardRatio, XB as cc, Wi as checkEvidenceGap, Ui as checkFailures, Pi as checkFeeds, Awe as checkLine, Vi as checkReceipt, Hi as checkSummary, Tke as checkText, Gi as checkedText, uK as clickedBlank, Y5 as closeDrawerAfterNav, MCe as cloudLocations, O0 as cloudProxySkeleton, ew as clsx, tge as cn, sv as collectMotionValues, iJ as columnVisibilityFeature, GJ as column_getCanSort, VJ as column_getSortFn, cwe as commonReviewSources, Of as configurationSection, mPe as configureTasteBrowser, ol as confirmModal, Rfe as controlTask, bq as copyInstancePropertiesWithoutMemos, co as coverUrl, Yq as createColumnHelper, fke as createPlaylist, Yi as credentialDone, w0 as credentialsSkeleton, ywe as currentReviewRow, q as cx, iV as dZ, gwe as decisionPayload, _we as decisionReceipt, hwe as defaultChoice, CTe as deletePerformerVideos, mke as deletePlaylist, x as diagnosticHeaders, K1 as diagnosticsSkeleton, jW as discoveryArtwork, kW as discoveryKey, ZAe as discoveryScore, s9 as disposeStage, ICe as distinctName, zi as dropSources, uge as du, VCe as duplicateVictims, mL as elapsedText, tn as entityDisplayName, ho as entityFaceImg, Nn as entityPath, ei as errorHeadline, cr as errorMessage, z as esc, Lq as expandRowModel, PB as f1, $r as feedIntervalText, e1 as fetchAmaneBridge, _i as fetchCheckJob, u1 as fetchConfiguration, $$ as fetchCoverJob, gi as fetchCredentials, q$ as fetchCustomSources, zX as fetchDeletePerformers, STe as fetchDeletePlan, qQ as fetchDiagnostics, AW as fetchDiscoveries, AY as fetchDuplicates, Pfe as fetchEarlier, Pwe as fetchFeedSchedule, ji as fetchFeeds, hi as fetchFollow, Nwe as fetchFollowSchedule, GX as fetchJunkSummary, bH as fetchLibraryProcessing, aX as fetchLinkCheck, oX as fetchLinkPrune, iX as fetchLinkStats, Mwe as fetchMediaProcessing, FY as fetchMediaRepair, yr as fetchMediaSources, SX as fetchOrganize, qwe as fetchOrganizeExample, TX as fetchOrphanRecords, Ai as fetchPending, W$ as fetchPlaylists, zY as fetchQualityGoals, IY as fetchRepairLibraries, vi as fetchResolveJob, jX as fetchResourceApply, AX as fetchResourceScan, ZY as fetchReview, WX as fetchReviewCounts, yX as fetchSettings, Q$ as fetchSources, x3 as fetchStats, yi as fetchSuggestions, lL as fetchTasks, K3 as fetchTaste, hPe as fetchTasteJob, Fwe as fetchThumbnailJobs, KX as fetchTrashSummary, bW as fetchWants, owe as filterReviewRows, $n as firstGrapheme, nq as flexRender, APe as flowGraph, jPe as flowLabel, kNe as fmtCount, qn as fmtDur, Yn as fmtSize, Nfe as foldByKind, Xfe as foldRoutine, Ii as followFeedByName, Vr as followSuggestKey, Qfe as followupDetail, Mfe as followupTally, fg as frame, RB as g4, sJ as getDefaultPaginationState, MM as gridLayout, ci as groupByAuthor, Yfe as groupFollowups, JY as groupReviewRows, gTe as hasChanges, MX as hasResourceRoots, dL as hasResultProblems, xPe as historySpan, FB as i2, yPe as importTasteExport, T0 as indexersSkeleton, Pg as interpolate, EW as invalidateWants, pL as isActive, Qr as isBroken, Kr as isLayout, vv as isMotionValue, UY as isReviewCategory, Zfe as isRoutine, E0 as javBrowserSkeleton, I0 as javContentSkeleton, TM as javLayout, F0 as javTagSkeleton, OTe as junkBreakdown, hke as keepPlaylist, ke as keepPreviousData, fi as keepSelected, S3 as known, Phe as l7, Jfe as latestOfKind, VNe as lengthRows, Sr as localTime, Fi as lookupFeedActor, zB as m7, rV as mM, En as mapLimit, ki as markItem, D3 as max, zNe as mediumRows, Ffe as mergeFinished, O3 as min, wwe as mirrorText, qCe as missingToolText, jY as mixedCloudPreferences, vL as momentText, _S as motion, lv as motionValue, nn as nameFallback, He as notifyManager, Bhe as oe, rTe as organizeOutcome, Q0 as overlayHost, qr as pageSizeOf, di as pageWindow, mr as paginationRange, Ri as patchSource, W as peachHistory, W as peachHistory$1, mwe as pendingGenres, jNe as percentText, Xwe as pickOrganizeFolder, D$ as plainStatClass, nTe as planSummary, C3 as playedFor, NNe as playedItemUrl, cL as pollInterval, Js as popCount, dke as posterUrl, Jye as previewLibraryColor, Ywe as previewOrganize, XCe as previewUrl, Kfe as problemDestination, hH as processingActive, hL as progressText, xU as providerIcon, kwe as pruneText, PX as purgeCount, cTe as purgeOrphan, oV as pv, lge as qE, H as queryClient, IB as r2, DPe as radarRows, INe as radialArc, LNe as radialBarSize, FNe as radialCeiling, PNe as radialSlices, YN as randomId, TPe as rankDetail, EPe as rankShares, T3 as reachedShare, gL as readableErrorHeadline, QAe as recommendationScore, bwe as recordGenre, uTe as recordsText, gke as recreatePlaylist, lke as refreshPlaylists, Cl as relayoutCovers, Bi as reloadFollowManage, Cwe as reloadReview, AAe as rememberShape, Qwe as rememberTemplates, Ei as removeAlias, Ni as removeFeed, Ci as removeSource, vPe as removeTasteSource, wW as removeWants, Di as renameAliasGroup, pke as renamePlaylist, Se as replaceEqualDeep, UNe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, gq as require_with_selector, TW as resetWants, pr as resolveFollowSort, Vg as resolveStartTime, d_e as restartEffectText, uke as resumeAssetId, awe as reviewGroupingOptions, qY as reviewQueueData, KY as reviewQueueOf, DTe as reviewSummary, swe as reviewWindow, fwe as rowEvidence, XY as rowFieldName, mJ as rowPaginationFeature, FJ as rowSelectionFeature, JJ as rowSortingFeature, YY as rowSubject, pwe as rowTags, dwe as rowTitle, jhe as s5, Oi as saveCredential, _Te as scanLine, Bwe as schedulePollInterval, OW as searchNote, lwe as selectReviewRange, pi as selectionState, Mi as setFeedEnabled, Si as setSourceEnabled, Mf as settingsPath, Swe as settleReviewRows, FCe as sharedNamePrefix, Ep as shellNavigate, b8 as showToast, zn as siteMarkUrl, Oq as skipFirstRun, XI as sortCx, Yr as sortLabel, yn as sourceDefaultCost, qi as sourceIconUrl, bTe as sourceMeta, zs as spinnerHtml, Mg as spring, DV as spriteGlyph, bi as startCheck, Dwe as startLinkCheck, Owe as startLinkPrune, Zwe as startOrganize, xi as startResolve, mTe as startResourceApply, pTe as startResourceScan, _Pe as startTasteRefresh, BOe as statCardClass, Hfe as statusLabel, KCe as statusLine, Zr as statusText, PM as storeJavLayout, vwe as submitDecision, yL as summaryItems, Xq as tableFeatures, kq as tableMemo, ui as tableRows, Gfe as taskIssues, qfe as taskSubject, q3 as tasteDate, CPe as tasteDimensions, SPe as tasteHours, G3 as tasteKey, fPe as tasteRefetchInterval, pPe as tasteTime, nL as textLang, $m as time, Ghe as tl, mi as toggleGroup, J3 as topScores, rge as um, Xhe as uo, kH as useAction, GZ as useBackgroundJob, ZU as useClientUpdates, dm as useConstant, bL as useEntityNames, EL as useHorizontalScroller, fm as useIsomorphicLayoutEffect, lK as useLibraryTints, Ft as useMutation, eH as useOverlayScrollbar, Pt as useQuery, ae as useQueryClient, aS as useReducedMotion, zwe as useRunSchedule, Lwe as useSaveFollowSchedule, bX as useSaveSettings, Vwe as useSaveThumbnailMode, YJ as useTable, fY as useTablePreferences, NL as useViewGlide, HCe as victimBytes, Khe as vl, DW as wantName, MNe as watchNote, w3 as watchedShare, Dc as wireHorizontalScroller, $we as withOrganizeJob };-//# debugId=95d2ae41-204e-437f-9596-f82778eeacc8\ No newline at end of file+//# debugId=781fb135-574d-4bd1-a1ed-cf345417afa1\ No newline at end of file